weave-typescript 0.51.2 → 0.52.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/google/protobuf/duration.pb.d.ts +99 -0
- package/dist/google/protobuf/duration.pb.js +93 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -1
- package/dist/weave/authz/v1/index.d.ts +1 -0
- package/dist/weave/authz/v1/index.js +38 -0
- package/dist/weave/authz/v1/options.pb.d.ts +52 -0
- package/dist/weave/authz/v1/options.pb.js +403 -0
- package/dist/weave/filter/v1/index.d.ts +1 -0
- package/dist/weave/filter/v1/index.js +38 -0
- package/dist/{weaveapi/atc/v1/message.pb.d.ts → weave/filter/v1/options.pb.d.ts} +33 -21
- package/dist/weave/filter/v1/options.pb.js +417 -0
- package/dist/weave/index.d.ts +2 -0
- package/dist/weave/index.js +39 -0
- package/dist/weaveapi/agent/v1/agent.pb.d.ts +137 -188
- package/dist/weaveapi/agent/v1/agent.pb.js +891 -2151
- package/dist/weaveapi/agent/v1/index.d.ts +1 -1
- package/dist/weaveapi/agent/v1/index.js +2 -2
- package/dist/weaveapi/agent/v1/run.pb.d.ts +289 -0
- package/dist/weaveapi/agent/v1/run.pb.js +2763 -0
- package/dist/weaveapi/auth/v1/auth.pb.d.ts +67 -14
- package/dist/weaveapi/auth/v1/auth.pb.js +829 -89
- package/dist/weaveapi/auth/v1/index.d.ts +4 -1
- package/dist/weaveapi/auth/v1/index.js +5 -2
- package/dist/weaveapi/auth/v1/{service.pb.d.ts → organization_admin.pb.d.ts} +39 -530
- package/dist/weaveapi/auth/v1/{service.pb.js → organization_admin.pb.js} +2978 -5812
- package/dist/weaveapi/auth/v1/personal_access_token.pb.d.ts +114 -0
- package/dist/weaveapi/auth/v1/personal_access_token.pb.js +750 -0
- package/dist/weaveapi/auth/v1/profile.pb.d.ts +161 -0
- package/dist/weaveapi/auth/v1/profile.pb.js +1007 -0
- package/dist/weaveapi/auth/v1/session.pb.d.ts +460 -0
- package/dist/weaveapi/auth/v1/session.pb.js +3544 -0
- package/dist/weaveapi/chat/v1/chat.pb.d.ts +377 -149
- package/dist/weaveapi/chat/v1/chat.pb.js +3492 -1614
- package/dist/weaveapi/chat/v1/index.d.ts +0 -1
- package/dist/weaveapi/chat/v1/index.js +1 -2
- package/dist/weaveapi/consolidation/v1/consolidation.pb.d.ts +95 -0
- package/dist/weaveapi/consolidation/v1/consolidation.pb.js +770 -1
- package/dist/weaveapi/consolidation/v1/index.d.ts +0 -1
- package/dist/weaveapi/consolidation/v1/index.js +1 -2
- package/dist/weaveapi/content/v1/content.pb.d.ts +63 -0
- package/dist/weaveapi/content/v1/content.pb.js +470 -0
- package/dist/weaveapi/content/v1/index.d.ts +1 -0
- package/dist/weaveapi/content/v1/index.js +38 -0
- package/dist/weaveapi/gateway/v1/gateway.pb.d.ts +247 -523
- package/dist/weaveapi/gateway/v1/gateway.pb.js +1648 -5783
- package/dist/weaveapi/gateway/v1/index.d.ts +0 -1
- package/dist/weaveapi/gateway/v1/index.js +1 -2
- package/dist/weaveapi/index.d.ts +5 -5
- package/dist/weaveapi/index.js +6 -6
- package/dist/weaveapi/inference/v1/generate.pb.d.ts +120 -0
- package/dist/weaveapi/inference/v1/generate.pb.js +1159 -0
- package/dist/weaveapi/inference/v1/index.d.ts +4 -0
- package/dist/weaveapi/{provider → inference}/v1/index.js +4 -2
- package/dist/weaveapi/{model → inference}/v1/model.pb.d.ts +52 -15
- package/dist/weaveapi/{model → inference}/v1/model.pb.js +529 -116
- package/dist/weaveapi/{model/v1/service.pb.d.ts → inference/v1/model_route.pb.d.ts} +182 -110
- package/dist/weaveapi/{model/v1/service.pb.js → inference/v1/model_route.pb.js} +2197 -1061
- package/dist/weaveapi/inference/v1/provider.pb.d.ts +264 -0
- package/dist/weaveapi/inference/v1/provider.pb.js +2590 -0
- package/dist/weaveapi/ingestion/v1/index.d.ts +0 -2
- package/dist/weaveapi/ingestion/v1/index.js +1 -3
- package/dist/weaveapi/ingestion/v1/ingestion.pb.d.ts +543 -0
- package/dist/weaveapi/ingestion/v1/ingestion.pb.js +5550 -16
- package/dist/weaveapi/initialization/v1/index.d.ts +1 -0
- package/dist/weaveapi/initialization/v1/index.js +38 -0
- package/dist/weaveapi/initialization/v1/initialization.pb.d.ts +99 -0
- package/dist/weaveapi/initialization/v1/initialization.pb.js +510 -0
- package/dist/weaveapi/organization/v1/index.d.ts +0 -1
- package/dist/weaveapi/organization/v1/index.js +1 -2
- package/dist/weaveapi/organization/v1/organization.pb.d.ts +241 -0
- package/dist/weaveapi/organization/v1/organization.pb.js +1838 -1
- package/dist/weaveapi/reporting/index.d.ts +1 -0
- package/dist/weaveapi/reporting/index.js +38 -0
- package/dist/weaveapi/{task → reporting}/v1/index.d.ts +1 -1
- package/dist/weaveapi/{model → reporting}/v1/index.js +2 -2
- package/dist/weaveapi/reporting/v1/service.pb.d.ts +38 -0
- package/dist/weaveapi/reporting/v1/service.pb.js +167 -0
- package/dist/weaveapi/reporting/v1/usage.pb.d.ts +150 -0
- package/dist/weaveapi/reporting/v1/usage.pb.js +1837 -0
- package/dist/weaveapi/retrieval/v1/index.d.ts +0 -1
- package/dist/weaveapi/retrieval/v1/index.js +1 -2
- package/dist/weaveapi/retrieval/v1/retrieval.pb.d.ts +96 -2
- package/dist/weaveapi/retrieval/v1/retrieval.pb.js +690 -10
- package/dist/weaveapi/tool/index.d.ts +1 -0
- package/dist/weaveapi/tool/index.js +38 -0
- package/dist/weaveapi/tool/v1/index.d.ts +1 -0
- package/dist/weaveapi/tool/v1/index.js +38 -0
- package/dist/weaveapi/tool/v1/tool.pb.d.ts +370 -0
- package/dist/weaveapi/tool/v1/tool.pb.js +2717 -0
- package/dist/weaveapi/workflow/v1/index.d.ts +1 -1
- package/dist/weaveapi/workflow/v1/index.js +2 -2
- package/dist/weaveapi/workflow/v1/run.pb.d.ts +244 -0
- package/dist/weaveapi/workflow/v1/run.pb.js +2084 -0
- package/dist/weaveapi/workflow/v1/workflow.pb.d.ts +122 -275
- package/dist/weaveapi/workflow/v1/workflow.pb.js +790 -3261
- package/dist/weavesql/weavedb/agent_sql.d.ts +173 -477
- package/dist/weavesql/weavedb/agent_sql.js +281 -758
- package/dist/weavesql/weavedb/authorization_outbox_sql.d.ts +261 -0
- package/dist/weavesql/weavedb/authorization_outbox_sql.js +445 -0
- package/dist/weavesql/weavedb/chat_sql.d.ts +103 -345
- package/dist/weavesql/weavedb/chat_sql.js +312 -597
- package/dist/weavesql/weavedb/document_consolidation_sql.d.ts +217 -0
- package/dist/weavesql/weavedb/document_consolidation_sql.js +486 -0
- package/dist/weavesql/weavedb/document_ingestion_sql.d.ts +1433 -0
- package/dist/weavesql/weavedb/document_ingestion_sql.js +3488 -0
- package/dist/weavesql/weavedb/document_retrieval_sql.d.ts +314 -0
- package/dist/weavesql/weavedb/document_retrieval_sql.js +965 -0
- package/dist/weavesql/weavedb/document_table_sql.d.ts +6 -6
- package/dist/weavesql/weavedb/document_table_sql.js +12 -12
- package/dist/weavesql/weavedb/identity_sql.d.ts +1014 -0
- package/dist/weavesql/weavedb/identity_sql.js +1811 -0
- package/dist/weavesql/weavedb/inference_model_route_sql.d.ts +161 -0
- package/dist/weavesql/weavedb/inference_model_route_sql.js +408 -0
- package/dist/weavesql/weavedb/inference_provider_sql.d.ts +125 -0
- package/dist/weavesql/weavedb/inference_provider_sql.js +228 -0
- package/dist/weavesql/weavedb/initialization_sql.d.ts +15 -0
- package/dist/weavesql/weavedb/initialization_sql.js +33 -0
- package/dist/weavesql/weavedb/model_catalog_sql.d.ts +6 -6
- package/dist/weavesql/weavedb/model_catalog_sql.js +6 -6
- package/dist/weavesql/weavedb/organization_sql.d.ts +22 -102
- package/dist/weavesql/weavedb/organization_sql.js +54 -262
- package/dist/weavesql/weavedb/tool_sql.d.ts +209 -0
- package/dist/weavesql/weavedb/tool_sql.js +407 -0
- package/dist/weavesql/weavedb/usage_sql.d.ts +356 -0
- package/dist/weavesql/weavedb/usage_sql.js +568 -0
- package/dist/weavesql/weavedb/workflow_sql.d.ts +159 -546
- package/dist/weavesql/weavedb/workflow_sql.js +281 -909
- package/package.json +2 -2
- package/dist/weaveapi/agent/v1/service.pb.d.ts +0 -397
- package/dist/weaveapi/agent/v1/service.pb.js +0 -3152
- package/dist/weaveapi/atc/v1/event.pb.d.ts +0 -134
- package/dist/weaveapi/atc/v1/event.pb.js +0 -1124
- package/dist/weaveapi/atc/v1/index.d.ts +0 -5
- package/dist/weaveapi/atc/v1/index.js +0 -42
- package/dist/weaveapi/atc/v1/message.pb.js +0 -287
- package/dist/weaveapi/atc/v1/process.pb.d.ts +0 -91
- package/dist/weaveapi/atc/v1/process.pb.js +0 -658
- package/dist/weaveapi/atc/v1/run.pb.d.ts +0 -71
- package/dist/weaveapi/atc/v1/run.pb.js +0 -525
- package/dist/weaveapi/atc/v1/service.pb.d.ts +0 -472
- package/dist/weaveapi/atc/v1/service.pb.js +0 -3093
- package/dist/weaveapi/chat/v1/service.pb.d.ts +0 -345
- package/dist/weaveapi/chat/v1/service.pb.js +0 -2545
- package/dist/weaveapi/consolidation/v1/service.pb.d.ts +0 -93
- package/dist/weaveapi/consolidation/v1/service.pb.js +0 -427
- package/dist/weaveapi/gateway/v1/service.pb.d.ts +0 -235
- package/dist/weaveapi/gateway/v1/service.pb.js +0 -651
- package/dist/weaveapi/ingestion/v1/service.pb.d.ts +0 -420
- package/dist/weaveapi/ingestion/v1/service.pb.js +0 -2311
- package/dist/weaveapi/ingestion/v1/table.pb.d.ts +0 -121
- package/dist/weaveapi/ingestion/v1/table.pb.js +0 -1478
- package/dist/weaveapi/model/v1/index.d.ts +0 -2
- package/dist/weaveapi/organization/v1/service.pb.d.ts +0 -261
- package/dist/weaveapi/organization/v1/service.pb.js +0 -1561
- package/dist/weaveapi/project/v1/index.d.ts +0 -2
- package/dist/weaveapi/project/v1/index.js +0 -39
- package/dist/weaveapi/project/v1/project.pb.d.ts +0 -105
- package/dist/weaveapi/project/v1/project.pb.js +0 -1004
- package/dist/weaveapi/project/v1/service.pb.d.ts +0 -247
- package/dist/weaveapi/project/v1/service.pb.js +0 -1994
- package/dist/weaveapi/provider/v1/index.d.ts +0 -2
- package/dist/weaveapi/provider/v1/provider.pb.d.ts +0 -137
- package/dist/weaveapi/provider/v1/provider.pb.js +0 -1000
- package/dist/weaveapi/provider/v1/service.pb.d.ts +0 -223
- package/dist/weaveapi/provider/v1/service.pb.js +0 -1888
- package/dist/weaveapi/retrieval/v1/service.pb.d.ts +0 -93
- package/dist/weaveapi/retrieval/v1/service.pb.js +0 -385
- package/dist/weaveapi/task/v1/index.js +0 -39
- package/dist/weaveapi/task/v1/service.pb.d.ts +0 -172
- package/dist/weaveapi/task/v1/service.pb.js +0 -1436
- package/dist/weaveapi/task/v1/task.pb.d.ts +0 -85
- package/dist/weaveapi/task/v1/task.pb.js +0 -802
- package/dist/weaveapi/workflow/v1/service.pb.d.ts +0 -392
- package/dist/weaveapi/workflow/v1/service.pb.js +0 -3146
- /package/dist/{weaveapi/atc → weave/authz}/index.d.ts +0 -0
- /package/dist/{weaveapi/atc → weave/authz}/index.js +0 -0
- /package/dist/{weaveapi/model → weave/filter}/index.d.ts +0 -0
- /package/dist/{weaveapi/model → weave/filter}/index.js +0 -0
- /package/dist/weaveapi/{project → content}/index.d.ts +0 -0
- /package/dist/weaveapi/{project → content}/index.js +0 -0
- /package/dist/weaveapi/{provider → inference}/index.d.ts +0 -0
- /package/dist/weaveapi/{provider → inference}/index.js +0 -0
- /package/dist/weaveapi/{task → initialization}/index.d.ts +0 -0
- /package/dist/weaveapi/{task → initialization}/index.js +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * as
|
|
1
|
+
export * as run from './run.pb';
|
|
2
2
|
export * as workflow from './workflow.pb';
|
|
@@ -34,6 +34,6 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.workflow = exports.
|
|
38
|
-
exports.
|
|
37
|
+
exports.workflow = exports.run = void 0;
|
|
38
|
+
exports.run = __importStar(require("./run.pb"));
|
|
39
39
|
exports.workflow = __importStar(require("./workflow.pb"));
|
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
+
export declare const protobufPackage = "weaveapi.workflow.v1";
|
|
3
|
+
export declare enum WorkflowRunStatus {
|
|
4
|
+
WORKFLOW_RUN_STATUS_UNSPECIFIED = 0,
|
|
5
|
+
WORKFLOW_RUN_STATUS_PENDING = 1,
|
|
6
|
+
WORKFLOW_RUN_STATUS_RUNNING = 2,
|
|
7
|
+
WORKFLOW_RUN_STATUS_WAITING = 3,
|
|
8
|
+
WORKFLOW_RUN_STATUS_COMPLETED = 4,
|
|
9
|
+
WORKFLOW_RUN_STATUS_FAILED = 5,
|
|
10
|
+
WORKFLOW_RUN_STATUS_CANCELED = 6,
|
|
11
|
+
UNRECOGNIZED = -1
|
|
12
|
+
}
|
|
13
|
+
export declare function workflowRunStatusFromJSON(object: any): WorkflowRunStatus;
|
|
14
|
+
export declare function workflowRunStatusToJSON(object: WorkflowRunStatus): string;
|
|
15
|
+
export declare enum WorkflowRunStepKind {
|
|
16
|
+
WORKFLOW_RUN_STEP_KIND_UNSPECIFIED = 0,
|
|
17
|
+
WORKFLOW_RUN_STEP_KIND_AGENT = 1,
|
|
18
|
+
WORKFLOW_RUN_STEP_KIND_WORKFLOW = 2,
|
|
19
|
+
WORKFLOW_RUN_STEP_KIND_TOOL = 3,
|
|
20
|
+
UNRECOGNIZED = -1
|
|
21
|
+
}
|
|
22
|
+
export declare function workflowRunStepKindFromJSON(object: any): WorkflowRunStepKind;
|
|
23
|
+
export declare function workflowRunStepKindToJSON(object: WorkflowRunStepKind): string;
|
|
24
|
+
export declare enum WorkflowRunStepStatus {
|
|
25
|
+
WORKFLOW_RUN_STEP_STATUS_UNSPECIFIED = 0,
|
|
26
|
+
WORKFLOW_RUN_STEP_STATUS_PENDING = 1,
|
|
27
|
+
WORKFLOW_RUN_STEP_STATUS_RUNNING = 2,
|
|
28
|
+
WORKFLOW_RUN_STEP_STATUS_WAITING = 3,
|
|
29
|
+
WORKFLOW_RUN_STEP_STATUS_COMPLETED = 4,
|
|
30
|
+
WORKFLOW_RUN_STEP_STATUS_FAILED = 5,
|
|
31
|
+
WORKFLOW_RUN_STEP_STATUS_SKIPPED = 6,
|
|
32
|
+
WORKFLOW_RUN_STEP_STATUS_CANCELED = 7,
|
|
33
|
+
UNRECOGNIZED = -1
|
|
34
|
+
}
|
|
35
|
+
export declare function workflowRunStepStatusFromJSON(object: any): WorkflowRunStepStatus;
|
|
36
|
+
export declare function workflowRunStepStatusToJSON(object: WorkflowRunStepStatus): string;
|
|
37
|
+
export interface CreateWorkflowRunRequest {
|
|
38
|
+
workflowId: string;
|
|
39
|
+
chatSessionId: string;
|
|
40
|
+
input: {
|
|
41
|
+
[key: string]: any;
|
|
42
|
+
} | undefined;
|
|
43
|
+
}
|
|
44
|
+
export interface CreateWorkflowRunResponse {
|
|
45
|
+
workflowRun: WorkflowRun | undefined;
|
|
46
|
+
}
|
|
47
|
+
export interface GetWorkflowRunRequest {
|
|
48
|
+
workflowRunId: string;
|
|
49
|
+
}
|
|
50
|
+
export interface GetWorkflowRunResponse {
|
|
51
|
+
workflowRun: WorkflowRun | undefined;
|
|
52
|
+
steps: WorkflowRunStep[];
|
|
53
|
+
}
|
|
54
|
+
export interface CancelWorkflowRunRequest {
|
|
55
|
+
workflowRunId: string;
|
|
56
|
+
}
|
|
57
|
+
export interface CancelWorkflowRunResponse {
|
|
58
|
+
workflowRun: WorkflowRun | undefined;
|
|
59
|
+
}
|
|
60
|
+
export interface ListWorkflowRunsRequest {
|
|
61
|
+
workflowId: string;
|
|
62
|
+
status: WorkflowRunStatus;
|
|
63
|
+
pageSize: number;
|
|
64
|
+
pageOffset: number;
|
|
65
|
+
}
|
|
66
|
+
export interface ListWorkflowRunsResponse {
|
|
67
|
+
workflowRuns: WorkflowRun[];
|
|
68
|
+
}
|
|
69
|
+
export interface ListWorkflowRunStepsRequest {
|
|
70
|
+
workflowRunId: string;
|
|
71
|
+
}
|
|
72
|
+
export interface ListWorkflowRunStepsResponse {
|
|
73
|
+
steps: WorkflowRunStep[];
|
|
74
|
+
}
|
|
75
|
+
export interface WorkflowRun {
|
|
76
|
+
id: string;
|
|
77
|
+
orgId: string;
|
|
78
|
+
workflowId: string;
|
|
79
|
+
startedByUserId: string;
|
|
80
|
+
chatSessionId: string;
|
|
81
|
+
status: WorkflowRunStatus;
|
|
82
|
+
input: {
|
|
83
|
+
[key: string]: any;
|
|
84
|
+
} | undefined;
|
|
85
|
+
output: {
|
|
86
|
+
[key: string]: any;
|
|
87
|
+
} | undefined;
|
|
88
|
+
definitionSnapshot: {
|
|
89
|
+
[key: string]: any;
|
|
90
|
+
} | undefined;
|
|
91
|
+
errorCode: string;
|
|
92
|
+
errorMessage: string;
|
|
93
|
+
startedAt: Date | undefined;
|
|
94
|
+
completedAt: Date | undefined;
|
|
95
|
+
}
|
|
96
|
+
export interface WorkflowRunStep {
|
|
97
|
+
id: string;
|
|
98
|
+
orgId: string;
|
|
99
|
+
workflowRunId: string;
|
|
100
|
+
stepKey: string;
|
|
101
|
+
kind: WorkflowRunStepKind;
|
|
102
|
+
status: WorkflowRunStepStatus;
|
|
103
|
+
agentId: string;
|
|
104
|
+
agentRunId: string;
|
|
105
|
+
toolId: string;
|
|
106
|
+
input: {
|
|
107
|
+
[key: string]: any;
|
|
108
|
+
} | undefined;
|
|
109
|
+
output: {
|
|
110
|
+
[key: string]: any;
|
|
111
|
+
} | undefined;
|
|
112
|
+
errorCode: string;
|
|
113
|
+
errorMessage: string;
|
|
114
|
+
startedAt: Date | undefined;
|
|
115
|
+
completedAt: Date | undefined;
|
|
116
|
+
workflowId: string;
|
|
117
|
+
childWorkflowRunId: string;
|
|
118
|
+
}
|
|
119
|
+
export declare const CreateWorkflowRunRequest: MessageFns<CreateWorkflowRunRequest>;
|
|
120
|
+
export declare const CreateWorkflowRunResponse: MessageFns<CreateWorkflowRunResponse>;
|
|
121
|
+
export declare const GetWorkflowRunRequest: MessageFns<GetWorkflowRunRequest>;
|
|
122
|
+
export declare const GetWorkflowRunResponse: MessageFns<GetWorkflowRunResponse>;
|
|
123
|
+
export declare const CancelWorkflowRunRequest: MessageFns<CancelWorkflowRunRequest>;
|
|
124
|
+
export declare const CancelWorkflowRunResponse: MessageFns<CancelWorkflowRunResponse>;
|
|
125
|
+
export declare const ListWorkflowRunsRequest: MessageFns<ListWorkflowRunsRequest>;
|
|
126
|
+
export declare const ListWorkflowRunsResponse: MessageFns<ListWorkflowRunsResponse>;
|
|
127
|
+
export declare const ListWorkflowRunStepsRequest: MessageFns<ListWorkflowRunStepsRequest>;
|
|
128
|
+
export declare const ListWorkflowRunStepsResponse: MessageFns<ListWorkflowRunStepsResponse>;
|
|
129
|
+
export declare const WorkflowRun: MessageFns<WorkflowRun>;
|
|
130
|
+
export declare const WorkflowRunStep: MessageFns<WorkflowRunStep>;
|
|
131
|
+
export interface WorkflowRunService {
|
|
132
|
+
CreateWorkflowRun(request: CreateWorkflowRunRequest): Promise<CreateWorkflowRunResponse>;
|
|
133
|
+
GetWorkflowRun(request: GetWorkflowRunRequest): Promise<GetWorkflowRunResponse>;
|
|
134
|
+
CancelWorkflowRun(request: CancelWorkflowRunRequest): Promise<CancelWorkflowRunResponse>;
|
|
135
|
+
ListWorkflowRuns(request: ListWorkflowRunsRequest): Promise<ListWorkflowRunsResponse>;
|
|
136
|
+
ListWorkflowRunSteps(request: ListWorkflowRunStepsRequest): Promise<ListWorkflowRunStepsResponse>;
|
|
137
|
+
}
|
|
138
|
+
export declare const WorkflowRunServiceServiceName = "weaveapi.workflow.v1.WorkflowRunService";
|
|
139
|
+
export declare class WorkflowRunServiceClientImpl implements WorkflowRunService {
|
|
140
|
+
private readonly rpc;
|
|
141
|
+
private readonly service;
|
|
142
|
+
constructor(rpc: Rpc, opts?: {
|
|
143
|
+
service?: string;
|
|
144
|
+
});
|
|
145
|
+
CreateWorkflowRun(request: CreateWorkflowRunRequest): Promise<CreateWorkflowRunResponse>;
|
|
146
|
+
GetWorkflowRun(request: GetWorkflowRunRequest): Promise<GetWorkflowRunResponse>;
|
|
147
|
+
CancelWorkflowRun(request: CancelWorkflowRunRequest): Promise<CancelWorkflowRunResponse>;
|
|
148
|
+
ListWorkflowRuns(request: ListWorkflowRunsRequest): Promise<ListWorkflowRunsResponse>;
|
|
149
|
+
ListWorkflowRunSteps(request: ListWorkflowRunStepsRequest): Promise<ListWorkflowRunStepsResponse>;
|
|
150
|
+
}
|
|
151
|
+
export type WorkflowRunServiceDefinition = typeof WorkflowRunServiceDefinition;
|
|
152
|
+
export declare const WorkflowRunServiceDefinition: {
|
|
153
|
+
readonly name: "WorkflowRunService";
|
|
154
|
+
readonly fullName: "weaveapi.workflow.v1.WorkflowRunService";
|
|
155
|
+
readonly methods: {
|
|
156
|
+
readonly createWorkflowRun: {
|
|
157
|
+
readonly name: "CreateWorkflowRun";
|
|
158
|
+
readonly requestType: typeof CreateWorkflowRunRequest;
|
|
159
|
+
readonly requestStream: false;
|
|
160
|
+
readonly responseType: typeof CreateWorkflowRunResponse;
|
|
161
|
+
readonly responseStream: false;
|
|
162
|
+
readonly options: {
|
|
163
|
+
readonly _unknownFields: {
|
|
164
|
+
readonly 408002: readonly [Uint8Array];
|
|
165
|
+
readonly 578365826: readonly [Uint8Array];
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
readonly getWorkflowRun: {
|
|
170
|
+
readonly name: "GetWorkflowRun";
|
|
171
|
+
readonly requestType: typeof GetWorkflowRunRequest;
|
|
172
|
+
readonly requestStream: false;
|
|
173
|
+
readonly responseType: typeof GetWorkflowRunResponse;
|
|
174
|
+
readonly responseStream: false;
|
|
175
|
+
readonly options: {
|
|
176
|
+
readonly _unknownFields: {
|
|
177
|
+
readonly 408002: readonly [Uint8Array];
|
|
178
|
+
readonly 578365826: readonly [Uint8Array];
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
readonly cancelWorkflowRun: {
|
|
183
|
+
readonly name: "CancelWorkflowRun";
|
|
184
|
+
readonly requestType: typeof CancelWorkflowRunRequest;
|
|
185
|
+
readonly requestStream: false;
|
|
186
|
+
readonly responseType: typeof CancelWorkflowRunResponse;
|
|
187
|
+
readonly responseStream: false;
|
|
188
|
+
readonly options: {
|
|
189
|
+
readonly _unknownFields: {
|
|
190
|
+
readonly 408002: readonly [Uint8Array];
|
|
191
|
+
readonly 578365826: readonly [Uint8Array];
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
readonly listWorkflowRuns: {
|
|
196
|
+
readonly name: "ListWorkflowRuns";
|
|
197
|
+
readonly requestType: typeof ListWorkflowRunsRequest;
|
|
198
|
+
readonly requestStream: false;
|
|
199
|
+
readonly responseType: typeof ListWorkflowRunsResponse;
|
|
200
|
+
readonly responseStream: false;
|
|
201
|
+
readonly options: {
|
|
202
|
+
readonly _unknownFields: {
|
|
203
|
+
readonly 408002: readonly [Uint8Array];
|
|
204
|
+
readonly 578365826: readonly [Uint8Array];
|
|
205
|
+
};
|
|
206
|
+
};
|
|
207
|
+
};
|
|
208
|
+
readonly listWorkflowRunSteps: {
|
|
209
|
+
readonly name: "ListWorkflowRunSteps";
|
|
210
|
+
readonly requestType: typeof ListWorkflowRunStepsRequest;
|
|
211
|
+
readonly requestStream: false;
|
|
212
|
+
readonly responseType: typeof ListWorkflowRunStepsResponse;
|
|
213
|
+
readonly responseStream: false;
|
|
214
|
+
readonly options: {
|
|
215
|
+
readonly _unknownFields: {
|
|
216
|
+
readonly 408002: readonly [Uint8Array];
|
|
217
|
+
readonly 578365826: readonly [Uint8Array];
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
interface Rpc {
|
|
224
|
+
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
225
|
+
}
|
|
226
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
227
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
228
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
229
|
+
} : Partial<T>;
|
|
230
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
231
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
232
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
233
|
+
} & {
|
|
234
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
235
|
+
};
|
|
236
|
+
export interface MessageFns<T> {
|
|
237
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
238
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
239
|
+
fromJSON(object: any): T;
|
|
240
|
+
toJSON(message: T): unknown;
|
|
241
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
242
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
243
|
+
}
|
|
244
|
+
export {};
|