weave-typescript 0.11.20 → 0.13.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/api/annotations.pb.js +1 -1
- package/dist/google/api/http.pb.js +1 -1
- package/dist/google/protobuf/descriptor.pb.d.ts +8 -1
- package/dist/google/protobuf/descriptor.pb.js +8 -1
- package/dist/google/protobuf/struct.pb.js +1 -1
- package/dist/google/protobuf/timestamp.pb.d.ts +7 -6
- package/dist/google/protobuf/timestamp.pb.js +1 -1
- package/dist/weaveapi/atc/v1/event.pb.d.ts +33 -0
- package/dist/weaveapi/atc/v1/event.pb.js +263 -0
- package/dist/weaveapi/atc/v1/message.pb.d.ts +44 -0
- package/dist/weaveapi/atc/v1/message.pb.js +287 -0
- package/dist/weaveapi/atc/v1/process.pb.d.ts +91 -0
- package/dist/weaveapi/atc/v1/process.pb.js +658 -0
- package/dist/weaveapi/atc/v1/run.pb.d.ts +71 -0
- package/dist/weaveapi/atc/v1/run.pb.js +525 -0
- package/dist/weaveapi/atc/v1/service.pb.d.ts +339 -0
- package/dist/weaveapi/atc/v1/service.pb.js +1922 -0
- package/dist/weaveapi/auth/v1/service.pb.d.ts +66 -66
- package/dist/weaveapi/auth/v1/service.pb.js +86 -5
- package/dist/weaveapi/auth/v1/session.pb.js +1 -1
- package/dist/weaveapi/auth/v1/usage.pb.js +1 -1
- package/dist/weaveapi/auth/v1/user.pb.js +1 -1
- package/dist/weaveapi/data/v1/data.pb.js +1 -1
- package/dist/weaveapi/data/v1/service.pb.d.ts +27 -27
- package/dist/weaveapi/data/v1/service.pb.js +1 -1
- package/dist/weaveapi/generate/v1/configuration.pb.js +1 -1
- package/dist/weaveapi/generate/v1/generate.pb.js +1 -1
- package/dist/weaveapi/generate/v1/service.pb.d.ts +15 -15
- package/dist/weaveapi/generate/v1/service.pb.js +1 -1
- package/dist/weaveapi/input/v1/input.pb.js +1 -1
- package/dist/weaveapi/input/v1/service.pb.d.ts +39 -39
- package/dist/weaveapi/input/v1/service.pb.js +1 -1
- package/dist/weaveapi/integration/v1/integration.pb.js +1 -1
- package/dist/weaveapi/integration/v1/service.pb.d.ts +30 -30
- package/dist/weaveapi/integration/v1/service.pb.js +1 -1
- package/dist/weaveapi/llmx/v1/architecture.pb.js +1 -1
- package/dist/weaveapi/llmx/v1/capabilities.pb.js +1 -1
- package/dist/weaveapi/llmx/v1/model.pb.js +1 -1
- package/dist/weaveapi/llmx/v1/pricing.pb.js +1 -1
- package/dist/weaveapi/llmx/v1/provider.pb.js +1 -1
- package/dist/weaveapi/llmx/v1/service.pb.d.ts +36 -36
- package/dist/weaveapi/llmx/v1/service.pb.js +51 -6
- package/dist/weaveapi/mcpregistry/v1/server.pb.js +1 -1
- package/dist/weaveapi/mcpregistry/v1/service.pb.d.ts +18 -18
- package/dist/weaveapi/mcpregistry/v1/service.pb.js +1 -1
- package/dist/weaveapi/payment/v1/invoice.pb.js +1 -1
- package/dist/weaveapi/payment/v1/service.pb.d.ts +57 -57
- package/dist/weaveapi/payment/v1/service.pb.js +1 -1
- package/dist/weaveapi/payment/v1/subscription.pb.js +1 -1
- package/dist/weaveapi/project/v1/project.pb.js +1 -1
- package/dist/weaveapi/project/v1/service.pb.d.ts +21 -21
- package/dist/weaveapi/project/v1/service.pb.js +26 -3
- package/dist/weaveapi/report/v1/report.pb.js +1 -1
- package/dist/weaveapi/report/v1/service.pb.d.ts +18 -18
- package/dist/weaveapi/report/v1/service.pb.js +1 -1
- package/dist/weaveapi/requirement/v1/requirement.pb.js +1 -1
- package/dist/weaveapi/requirement/v1/service.pb.d.ts +39 -39
- package/dist/weaveapi/requirement/v1/service.pb.js +1 -1
- package/dist/weaveapi/run/v1/run.pb.js +1 -1
- package/dist/weaveapi/run/v1/service.pb.d.ts +21 -21
- package/dist/weaveapi/run/v1/service.pb.js +1 -1
- package/dist/weaveapi/script/v1/script.pb.js +1 -1
- package/dist/weaveapi/script/v1/service.pb.d.ts +51 -51
- package/dist/weaveapi/script/v1/service.pb.js +1 -1
- package/dist/weaveapi/storage/v1/auth.pb.js +1 -1
- package/dist/weaveapi/storage/v1/nosql_database.pb.js +1 -1
- package/dist/weaveapi/storage/v1/object_store.pb.js +1 -1
- package/dist/weaveapi/storage/v1/service.pb.d.ts +12 -12
- package/dist/weaveapi/storage/v1/service.pb.js +1 -1
- package/dist/weaveapi/storage/v1/sql_database.pb.js +1 -1
- package/dist/weaveapi/storage/v1/storage.pb.js +1 -1
- package/dist/weaveapi/storage/v1/vcs.pb.js +1 -1
- package/dist/weaveapi/suite/v1/service.pb.d.ts +54 -54
- package/dist/weaveapi/suite/v1/service.pb.js +1 -1
- package/dist/weaveapi/suite/v1/suite.pb.js +1 -1
- package/dist/weaveapi/synthesize/v1/dataset.pb.js +1 -1
- package/dist/weaveapi/synthesize/v1/inline_data.pb.js +1 -1
- package/dist/weaveapi/synthesize/v1/relationship.pb.js +1 -1
- package/dist/weaveapi/synthesize/v1/service.pb.d.ts +12 -12
- package/dist/weaveapi/synthesize/v1/service.pb.js +22 -2
- package/dist/weaveapi/synthesize/v1/training.pb.js +1 -1
- package/dist/weaveapi/testcase/v1/service.pb.d.ts +51 -51
- package/dist/weaveapi/testcase/v1/service.pb.js +1 -1
- package/dist/weaveapi/testcase/v1/testcase.pb.js +1 -1
- package/dist/weaveapi/workflow/v1/service.pb.d.ts +27 -27
- package/dist/weaveapi/workflow/v1/service.pb.js +1 -1
- package/dist/weaveapi/workflow/v1/workflow.pb.js +1 -1
- package/dist/weaveapi/workflowdata/v1/service.pb.d.ts +27 -27
- package/dist/weaveapi/workflowdata/v1/service.pb.js +1 -1
- package/dist/weavesql/atcdb/event_sql.d.ts +91 -0
- package/dist/weavesql/atcdb/event_sql.js +181 -0
- package/dist/weavesql/atcdb/mailbox_sql.d.ts +43 -0
- package/dist/weavesql/atcdb/mailbox_sql.js +85 -0
- package/package.json +5 -3
|
@@ -0,0 +1,339 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
import { Event } from "./event.pb";
|
|
4
|
+
import { MailboxMessage } from "./message.pb";
|
|
5
|
+
import { Process, ProcessTypeSummary } from "./process.pb";
|
|
6
|
+
import { Run, RunConfig, RunStatus } from "./run.pb";
|
|
7
|
+
export declare const protobufPackage = "weaveapi.atc.v1";
|
|
8
|
+
export interface CreateRunRequest {
|
|
9
|
+
/** The prompt or task description for the run. */
|
|
10
|
+
prompt: string;
|
|
11
|
+
/** Optional configuration for the run. */
|
|
12
|
+
config: RunConfig | undefined;
|
|
13
|
+
}
|
|
14
|
+
export interface CreateRunResponse {
|
|
15
|
+
run: Run | undefined;
|
|
16
|
+
}
|
|
17
|
+
export interface SendMessageRequest {
|
|
18
|
+
runId: string;
|
|
19
|
+
/** Target process ID within the run. */
|
|
20
|
+
toProcessId: string;
|
|
21
|
+
/** Message type identifier. */
|
|
22
|
+
type: string;
|
|
23
|
+
/** Message payload as raw bytes (JSON-encoded). */
|
|
24
|
+
payload: Uint8Array;
|
|
25
|
+
/** Whether this message is an interrupt. */
|
|
26
|
+
interrupt: boolean;
|
|
27
|
+
}
|
|
28
|
+
export interface SendMessageResponse {
|
|
29
|
+
message: MailboxMessage | undefined;
|
|
30
|
+
}
|
|
31
|
+
export interface CancelRunRequest {
|
|
32
|
+
runId: string;
|
|
33
|
+
}
|
|
34
|
+
export interface CancelRunResponse {
|
|
35
|
+
run: Run | undefined;
|
|
36
|
+
}
|
|
37
|
+
export interface WaitRunRequest {
|
|
38
|
+
runId: string;
|
|
39
|
+
}
|
|
40
|
+
export interface WaitRunResponse {
|
|
41
|
+
status: RunStatus;
|
|
42
|
+
run: Run | undefined;
|
|
43
|
+
}
|
|
44
|
+
export interface GetRunStatusRequest {
|
|
45
|
+
runId: string;
|
|
46
|
+
}
|
|
47
|
+
export interface GetRunStatusResponse {
|
|
48
|
+
run: Run | undefined;
|
|
49
|
+
totalProcesses: number;
|
|
50
|
+
runningProcesses: number;
|
|
51
|
+
completedProcesses: number;
|
|
52
|
+
failedProcesses: number;
|
|
53
|
+
}
|
|
54
|
+
export interface ListRunsRequest {
|
|
55
|
+
pageSize: number;
|
|
56
|
+
pageToken: string;
|
|
57
|
+
/** Filter by run status. */
|
|
58
|
+
statusFilter: RunStatus;
|
|
59
|
+
/** Filter by runs created at or after this timestamp. */
|
|
60
|
+
createdAfter: Date | undefined;
|
|
61
|
+
/** Filter by runs created at or before this timestamp. */
|
|
62
|
+
createdBefore: Date | undefined;
|
|
63
|
+
}
|
|
64
|
+
export interface ListRunsResponse {
|
|
65
|
+
runs: Run[];
|
|
66
|
+
nextPageToken: string;
|
|
67
|
+
totalCount: number;
|
|
68
|
+
}
|
|
69
|
+
export interface GetRunRequest {
|
|
70
|
+
runId: string;
|
|
71
|
+
}
|
|
72
|
+
export interface GetRunResponse {
|
|
73
|
+
run: Run | undefined;
|
|
74
|
+
processes: Process[];
|
|
75
|
+
}
|
|
76
|
+
export interface ListEventsRequest {
|
|
77
|
+
runId: string;
|
|
78
|
+
pageSize: number;
|
|
79
|
+
pageToken: string;
|
|
80
|
+
/** Only return events with sequence greater than this value. */
|
|
81
|
+
afterSequence: number;
|
|
82
|
+
/** Filter by event type. */
|
|
83
|
+
eventTypeFilter: string;
|
|
84
|
+
}
|
|
85
|
+
export interface ListEventsResponse {
|
|
86
|
+
events: Event[];
|
|
87
|
+
nextPageToken: string;
|
|
88
|
+
}
|
|
89
|
+
export interface ListProcessTypesRequest {
|
|
90
|
+
pageSize: number;
|
|
91
|
+
pageToken: string;
|
|
92
|
+
}
|
|
93
|
+
export interface ListProcessTypesResponse {
|
|
94
|
+
processTypes: ProcessTypeSummary[];
|
|
95
|
+
nextPageToken: string;
|
|
96
|
+
}
|
|
97
|
+
export declare const CreateRunRequest: MessageFns<CreateRunRequest>;
|
|
98
|
+
export declare const CreateRunResponse: MessageFns<CreateRunResponse>;
|
|
99
|
+
export declare const SendMessageRequest: MessageFns<SendMessageRequest>;
|
|
100
|
+
export declare const SendMessageResponse: MessageFns<SendMessageResponse>;
|
|
101
|
+
export declare const CancelRunRequest: MessageFns<CancelRunRequest>;
|
|
102
|
+
export declare const CancelRunResponse: MessageFns<CancelRunResponse>;
|
|
103
|
+
export declare const WaitRunRequest: MessageFns<WaitRunRequest>;
|
|
104
|
+
export declare const WaitRunResponse: MessageFns<WaitRunResponse>;
|
|
105
|
+
export declare const GetRunStatusRequest: MessageFns<GetRunStatusRequest>;
|
|
106
|
+
export declare const GetRunStatusResponse: MessageFns<GetRunStatusResponse>;
|
|
107
|
+
export declare const ListRunsRequest: MessageFns<ListRunsRequest>;
|
|
108
|
+
export declare const ListRunsResponse: MessageFns<ListRunsResponse>;
|
|
109
|
+
export declare const GetRunRequest: MessageFns<GetRunRequest>;
|
|
110
|
+
export declare const GetRunResponse: MessageFns<GetRunResponse>;
|
|
111
|
+
export declare const ListEventsRequest: MessageFns<ListEventsRequest>;
|
|
112
|
+
export declare const ListEventsResponse: MessageFns<ListEventsResponse>;
|
|
113
|
+
export declare const ListProcessTypesRequest: MessageFns<ListProcessTypesRequest>;
|
|
114
|
+
export declare const ListProcessTypesResponse: MessageFns<ListProcessTypesResponse>;
|
|
115
|
+
/**
|
|
116
|
+
* ATCService is the primary API surface for running agents through the
|
|
117
|
+
* Agent Traffic Controller runtime.
|
|
118
|
+
*/
|
|
119
|
+
export interface ATCService {
|
|
120
|
+
/** CreateRun kicks off a new run by spawning a supervisor with a prompt. */
|
|
121
|
+
CreateRun(request: CreateRunRequest): Promise<CreateRunResponse>;
|
|
122
|
+
/** SendMessage sends a message to a running process's mailbox. */
|
|
123
|
+
SendMessage(request: SendMessageRequest): Promise<SendMessageResponse>;
|
|
124
|
+
/** CancelRun requests cancellation of a run. */
|
|
125
|
+
CancelRun(request: CancelRunRequest): Promise<CancelRunResponse>;
|
|
126
|
+
/** WaitRun streams status updates until the run reaches a terminal state. */
|
|
127
|
+
WaitRun(request: WaitRunRequest): Observable<WaitRunResponse>;
|
|
128
|
+
/** GetRunStatus returns the point-in-time status of a run. */
|
|
129
|
+
GetRunStatus(request: GetRunStatusRequest): Promise<GetRunStatusResponse>;
|
|
130
|
+
}
|
|
131
|
+
export declare const ATCServiceServiceName = "weaveapi.atc.v1.ATCService";
|
|
132
|
+
export declare class ATCServiceClientImpl implements ATCService {
|
|
133
|
+
private readonly rpc;
|
|
134
|
+
private readonly service;
|
|
135
|
+
constructor(rpc: Rpc, opts?: {
|
|
136
|
+
service?: string;
|
|
137
|
+
});
|
|
138
|
+
CreateRun(request: CreateRunRequest): Promise<CreateRunResponse>;
|
|
139
|
+
SendMessage(request: SendMessageRequest): Promise<SendMessageResponse>;
|
|
140
|
+
CancelRun(request: CancelRunRequest): Promise<CancelRunResponse>;
|
|
141
|
+
WaitRun(request: WaitRunRequest): Observable<WaitRunResponse>;
|
|
142
|
+
GetRunStatus(request: GetRunStatusRequest): Promise<GetRunStatusResponse>;
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* ATCService is the primary API surface for running agents through the
|
|
146
|
+
* Agent Traffic Controller runtime.
|
|
147
|
+
*/
|
|
148
|
+
export type ATCServiceDefinition = typeof ATCServiceDefinition;
|
|
149
|
+
export declare const ATCServiceDefinition: {
|
|
150
|
+
readonly name: "ATCService";
|
|
151
|
+
readonly fullName: "weaveapi.atc.v1.ATCService";
|
|
152
|
+
readonly methods: {
|
|
153
|
+
/** CreateRun kicks off a new run by spawning a supervisor with a prompt. */
|
|
154
|
+
readonly createRun: {
|
|
155
|
+
readonly name: "CreateRun";
|
|
156
|
+
readonly requestType: typeof CreateRunRequest;
|
|
157
|
+
readonly requestStream: false;
|
|
158
|
+
readonly responseType: typeof CreateRunResponse;
|
|
159
|
+
readonly responseStream: false;
|
|
160
|
+
readonly options: {
|
|
161
|
+
readonly _unknownFields: {
|
|
162
|
+
readonly 578365826: readonly [Uint8Array];
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
/** SendMessage sends a message to a running process's mailbox. */
|
|
167
|
+
readonly sendMessage: {
|
|
168
|
+
readonly name: "SendMessage";
|
|
169
|
+
readonly requestType: typeof SendMessageRequest;
|
|
170
|
+
readonly requestStream: false;
|
|
171
|
+
readonly responseType: typeof SendMessageResponse;
|
|
172
|
+
readonly responseStream: false;
|
|
173
|
+
readonly options: {
|
|
174
|
+
readonly _unknownFields: {
|
|
175
|
+
readonly 578365826: readonly [Uint8Array];
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
/** CancelRun requests cancellation of a run. */
|
|
180
|
+
readonly cancelRun: {
|
|
181
|
+
readonly name: "CancelRun";
|
|
182
|
+
readonly requestType: typeof CancelRunRequest;
|
|
183
|
+
readonly requestStream: false;
|
|
184
|
+
readonly responseType: typeof CancelRunResponse;
|
|
185
|
+
readonly responseStream: false;
|
|
186
|
+
readonly options: {
|
|
187
|
+
readonly _unknownFields: {
|
|
188
|
+
readonly 578365826: readonly [Uint8Array];
|
|
189
|
+
};
|
|
190
|
+
};
|
|
191
|
+
};
|
|
192
|
+
/** WaitRun streams status updates until the run reaches a terminal state. */
|
|
193
|
+
readonly waitRun: {
|
|
194
|
+
readonly name: "WaitRun";
|
|
195
|
+
readonly requestType: typeof WaitRunRequest;
|
|
196
|
+
readonly requestStream: false;
|
|
197
|
+
readonly responseType: typeof WaitRunResponse;
|
|
198
|
+
readonly responseStream: true;
|
|
199
|
+
readonly options: {
|
|
200
|
+
readonly _unknownFields: {
|
|
201
|
+
readonly 578365826: readonly [Uint8Array];
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
/** GetRunStatus returns the point-in-time status of a run. */
|
|
206
|
+
readonly getRunStatus: {
|
|
207
|
+
readonly name: "GetRunStatus";
|
|
208
|
+
readonly requestType: typeof GetRunStatusRequest;
|
|
209
|
+
readonly requestStream: false;
|
|
210
|
+
readonly responseType: typeof GetRunStatusResponse;
|
|
211
|
+
readonly responseStream: false;
|
|
212
|
+
readonly options: {
|
|
213
|
+
readonly _unknownFields: {
|
|
214
|
+
readonly 578365826: readonly [Uint8Array];
|
|
215
|
+
};
|
|
216
|
+
};
|
|
217
|
+
};
|
|
218
|
+
};
|
|
219
|
+
};
|
|
220
|
+
/**
|
|
221
|
+
* InspectionService provides observability and audit capabilities for
|
|
222
|
+
* the ATC runtime.
|
|
223
|
+
*/
|
|
224
|
+
export interface InspectionService {
|
|
225
|
+
/** ListRuns lists runs with optional filters. */
|
|
226
|
+
ListRuns(request: ListRunsRequest): Promise<ListRunsResponse>;
|
|
227
|
+
/**
|
|
228
|
+
* GetRun returns detailed information about a run including its
|
|
229
|
+
* processes, artifacts, and status.
|
|
230
|
+
*/
|
|
231
|
+
GetRun(request: GetRunRequest): Promise<GetRunResponse>;
|
|
232
|
+
/** ListEvents queries the event log for a run. */
|
|
233
|
+
ListEvents(request: ListEventsRequest): Promise<ListEventsResponse>;
|
|
234
|
+
/** ListProcessTypes discovers registered process types. */
|
|
235
|
+
ListProcessTypes(request: ListProcessTypesRequest): Promise<ListProcessTypesResponse>;
|
|
236
|
+
}
|
|
237
|
+
export declare const InspectionServiceServiceName = "weaveapi.atc.v1.InspectionService";
|
|
238
|
+
export declare class InspectionServiceClientImpl implements InspectionService {
|
|
239
|
+
private readonly rpc;
|
|
240
|
+
private readonly service;
|
|
241
|
+
constructor(rpc: Rpc, opts?: {
|
|
242
|
+
service?: string;
|
|
243
|
+
});
|
|
244
|
+
ListRuns(request: ListRunsRequest): Promise<ListRunsResponse>;
|
|
245
|
+
GetRun(request: GetRunRequest): Promise<GetRunResponse>;
|
|
246
|
+
ListEvents(request: ListEventsRequest): Promise<ListEventsResponse>;
|
|
247
|
+
ListProcessTypes(request: ListProcessTypesRequest): Promise<ListProcessTypesResponse>;
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* InspectionService provides observability and audit capabilities for
|
|
251
|
+
* the ATC runtime.
|
|
252
|
+
*/
|
|
253
|
+
export type InspectionServiceDefinition = typeof InspectionServiceDefinition;
|
|
254
|
+
export declare const InspectionServiceDefinition: {
|
|
255
|
+
readonly name: "InspectionService";
|
|
256
|
+
readonly fullName: "weaveapi.atc.v1.InspectionService";
|
|
257
|
+
readonly methods: {
|
|
258
|
+
/** ListRuns lists runs with optional filters. */
|
|
259
|
+
readonly listRuns: {
|
|
260
|
+
readonly name: "ListRuns";
|
|
261
|
+
readonly requestType: typeof ListRunsRequest;
|
|
262
|
+
readonly requestStream: false;
|
|
263
|
+
readonly responseType: typeof ListRunsResponse;
|
|
264
|
+
readonly responseStream: false;
|
|
265
|
+
readonly options: {
|
|
266
|
+
readonly _unknownFields: {
|
|
267
|
+
readonly 578365826: readonly [Uint8Array];
|
|
268
|
+
};
|
|
269
|
+
};
|
|
270
|
+
};
|
|
271
|
+
/**
|
|
272
|
+
* GetRun returns detailed information about a run including its
|
|
273
|
+
* processes, artifacts, and status.
|
|
274
|
+
*/
|
|
275
|
+
readonly getRun: {
|
|
276
|
+
readonly name: "GetRun";
|
|
277
|
+
readonly requestType: typeof GetRunRequest;
|
|
278
|
+
readonly requestStream: false;
|
|
279
|
+
readonly responseType: typeof GetRunResponse;
|
|
280
|
+
readonly responseStream: false;
|
|
281
|
+
readonly options: {
|
|
282
|
+
readonly _unknownFields: {
|
|
283
|
+
readonly 578365826: readonly [Uint8Array];
|
|
284
|
+
};
|
|
285
|
+
};
|
|
286
|
+
};
|
|
287
|
+
/** ListEvents queries the event log for a run. */
|
|
288
|
+
readonly listEvents: {
|
|
289
|
+
readonly name: "ListEvents";
|
|
290
|
+
readonly requestType: typeof ListEventsRequest;
|
|
291
|
+
readonly requestStream: false;
|
|
292
|
+
readonly responseType: typeof ListEventsResponse;
|
|
293
|
+
readonly responseStream: false;
|
|
294
|
+
readonly options: {
|
|
295
|
+
readonly _unknownFields: {
|
|
296
|
+
readonly 578365826: readonly [Uint8Array];
|
|
297
|
+
};
|
|
298
|
+
};
|
|
299
|
+
};
|
|
300
|
+
/** ListProcessTypes discovers registered process types. */
|
|
301
|
+
readonly listProcessTypes: {
|
|
302
|
+
readonly name: "ListProcessTypes";
|
|
303
|
+
readonly requestType: typeof ListProcessTypesRequest;
|
|
304
|
+
readonly requestStream: false;
|
|
305
|
+
readonly responseType: typeof ListProcessTypesResponse;
|
|
306
|
+
readonly responseStream: false;
|
|
307
|
+
readonly options: {
|
|
308
|
+
readonly _unknownFields: {
|
|
309
|
+
readonly 578365826: readonly [Uint8Array];
|
|
310
|
+
};
|
|
311
|
+
};
|
|
312
|
+
};
|
|
313
|
+
};
|
|
314
|
+
};
|
|
315
|
+
interface Rpc {
|
|
316
|
+
request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
|
|
317
|
+
clientStreamingRequest(service: string, method: string, data: Observable<Uint8Array>): Promise<Uint8Array>;
|
|
318
|
+
serverStreamingRequest(service: string, method: string, data: Uint8Array): Observable<Uint8Array>;
|
|
319
|
+
bidirectionalStreamingRequest(service: string, method: string, data: Observable<Uint8Array>): Observable<Uint8Array>;
|
|
320
|
+
}
|
|
321
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
322
|
+
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 {} ? {
|
|
323
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
324
|
+
} : Partial<T>;
|
|
325
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
326
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
327
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
328
|
+
} & {
|
|
329
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
330
|
+
};
|
|
331
|
+
export interface MessageFns<T> {
|
|
332
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
333
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
334
|
+
fromJSON(object: any): T;
|
|
335
|
+
toJSON(message: T): unknown;
|
|
336
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
337
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
338
|
+
}
|
|
339
|
+
export {};
|