@mochabug/adapt-sdk 0.1.15 → 0.1.16
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/api.d.ts +277 -2
- package/dist/api.d.ts.map +1 -1
- package/dist/cjs/api.cjs +1 -1
- package/dist/cjs/api.cjs.map +4 -4
- package/dist/cjs/router.cjs +1 -1
- package/dist/cjs/router.cjs.map +4 -4
- package/dist/cjs/types.cjs.map +1 -1
- package/dist/esm/api.mjs +1 -1
- package/dist/esm/api.mjs.map +4 -4
- package/dist/esm/router.mjs +1 -1
- package/dist/esm/router.mjs.map +4 -4
- package/dist/genproto/mochabugapis/adapt/runtime/v1/configurator_service_pb.d.ts +947 -0
- package/dist/genproto/mochabugapis/adapt/runtime/v1/configurator_service_pb.d.ts.map +1 -0
- package/dist/genproto/mochabugapis/adapt/runtime/v1/executor_service_pb.d.ts +1155 -0
- package/dist/genproto/mochabugapis/adapt/runtime/v1/executor_service_pb.d.ts.map +1 -0
- package/dist/genproto/mochabugapis/adapt/runtime/v1/fileforge_service_pb.d.ts +3653 -0
- package/dist/genproto/mochabugapis/adapt/runtime/v1/fileforge_service_pb.d.ts.map +1 -0
- package/dist/genproto/mochabugapis/adapt/runtime/v1/incoming_pb.d.ts +1 -1
- package/dist/genproto/mochabugapis/adapt/runtime/v1/incoming_pb.d.ts.map +1 -1
- package/dist/genproto/mochabugapis/adapt/runtime/v1/plugin_service_pb.d.ts +554 -0
- package/dist/genproto/mochabugapis/adapt/runtime/v1/plugin_service_pb.d.ts.map +1 -0
- package/dist/genproto/mochabugapis/adapt/runtime/v1/store_pb.d.ts +84 -1
- package/dist/genproto/mochabugapis/adapt/runtime/v1/store_pb.d.ts.map +1 -1
- package/dist/types.d.ts +8 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/genproto/mochabugapis/adapt/runtime/v1/runtime_pb.d.ts +0 -2721
- package/dist/genproto/mochabugapis/adapt/runtime/v1/runtime_pb.d.ts.map +0 -1
|
@@ -0,0 +1,1155 @@
|
|
|
1
|
+
import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
+
import type { FieldMask, FieldMaskJson } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { Status, StatusJson } from "../../automations/v1/automations_pb";
|
|
4
|
+
import type { SignalData, SignalDataJson } from "../../graph/signal_data_pb";
|
|
5
|
+
import type { VertexMetadata, VertexMetadataJson } from "../../graph/vertex_metadata_pb";
|
|
6
|
+
import type { ConditionalWriteOperation, ConditionalWriteOperationJson, GetValue, GetValueJson, Namespace, NamespaceJson, SelectOp, SelectOpJson, ValueMetadata, ValueMetadataJson, WriteOperation, WriteOperationJson } from "./store_pb";
|
|
7
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file mochabugapis/adapt/runtime/v1/executor_service.proto.
|
|
10
|
+
*/
|
|
11
|
+
export declare const file_mochabugapis_adapt_runtime_v1_executor_service: GenFile;
|
|
12
|
+
/**
|
|
13
|
+
* The request to apply operations to the execution store
|
|
14
|
+
*
|
|
15
|
+
* @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceBatchWriteStoreRequest
|
|
16
|
+
*/
|
|
17
|
+
export type ExecutorServiceBatchWriteStoreRequest = Message<"mochabugapis.adapt.runtime.v1.ExecutorServiceBatchWriteStoreRequest"> & {
|
|
18
|
+
/**
|
|
19
|
+
* A batch of operations to perform in the executor store.
|
|
20
|
+
* Refer to the comments on the `Namespace` enum for details on scope requirements.
|
|
21
|
+
*
|
|
22
|
+
* @generated from field: repeated mochabugapis.adapt.runtime.v1.WriteOperation operations = 1;
|
|
23
|
+
*/
|
|
24
|
+
operations: WriteOperation[];
|
|
25
|
+
/**
|
|
26
|
+
* The namespace whee the batch is applied.
|
|
27
|
+
*
|
|
28
|
+
* @generated from field: mochabugapis.adapt.runtime.v1.Namespace namespace = 2;
|
|
29
|
+
*/
|
|
30
|
+
namespace: Namespace;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* The request to apply operations to the execution store
|
|
34
|
+
*
|
|
35
|
+
* @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceBatchWriteStoreRequest
|
|
36
|
+
*/
|
|
37
|
+
export type ExecutorServiceBatchWriteStoreRequestJson = {
|
|
38
|
+
/**
|
|
39
|
+
* A batch of operations to perform in the executor store.
|
|
40
|
+
* Refer to the comments on the `Namespace` enum for details on scope requirements.
|
|
41
|
+
*
|
|
42
|
+
* @generated from field: repeated mochabugapis.adapt.runtime.v1.WriteOperation operations = 1;
|
|
43
|
+
*/
|
|
44
|
+
operations?: WriteOperationJson[];
|
|
45
|
+
/**
|
|
46
|
+
* The namespace whee the batch is applied.
|
|
47
|
+
*
|
|
48
|
+
* @generated from field: mochabugapis.adapt.runtime.v1.Namespace namespace = 2;
|
|
49
|
+
*/
|
|
50
|
+
namespace?: NamespaceJson;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Describes the message mochabugapis.adapt.runtime.v1.ExecutorServiceBatchWriteStoreRequest.
|
|
54
|
+
* Use `create(ExecutorServiceBatchWriteStoreRequestSchema)` to create a new message.
|
|
55
|
+
*/
|
|
56
|
+
export declare const ExecutorServiceBatchWriteStoreRequestSchema: GenMessage<ExecutorServiceBatchWriteStoreRequest, {
|
|
57
|
+
jsonType: ExecutorServiceBatchWriteStoreRequestJson;
|
|
58
|
+
}>;
|
|
59
|
+
/**
|
|
60
|
+
* The response of the batch store
|
|
61
|
+
*
|
|
62
|
+
* @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceBatchWriteStoreResponse
|
|
63
|
+
*/
|
|
64
|
+
export type ExecutorServiceBatchWriteStoreResponse = Message<"mochabugapis.adapt.runtime.v1.ExecutorServiceBatchWriteStoreResponse"> & {
|
|
65
|
+
/**
|
|
66
|
+
* Metadata for each written key.
|
|
67
|
+
* Note: Metadata is only returned for insert operations, not for delete operations.
|
|
68
|
+
*
|
|
69
|
+
* @generated from field: map<string, mochabugapis.adapt.runtime.v1.ValueMetadata> metadata = 1;
|
|
70
|
+
*/
|
|
71
|
+
metadata: {
|
|
72
|
+
[key: string]: ValueMetadata;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* The response of the batch store
|
|
77
|
+
*
|
|
78
|
+
* @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceBatchWriteStoreResponse
|
|
79
|
+
*/
|
|
80
|
+
export type ExecutorServiceBatchWriteStoreResponseJson = {
|
|
81
|
+
/**
|
|
82
|
+
* Metadata for each written key.
|
|
83
|
+
* Note: Metadata is only returned for insert operations, not for delete operations.
|
|
84
|
+
*
|
|
85
|
+
* @generated from field: map<string, mochabugapis.adapt.runtime.v1.ValueMetadata> metadata = 1;
|
|
86
|
+
*/
|
|
87
|
+
metadata?: {
|
|
88
|
+
[key: string]: ValueMetadataJson;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
/**
|
|
92
|
+
* Describes the message mochabugapis.adapt.runtime.v1.ExecutorServiceBatchWriteStoreResponse.
|
|
93
|
+
* Use `create(ExecutorServiceBatchWriteStoreResponseSchema)` to create a new message.
|
|
94
|
+
*/
|
|
95
|
+
export declare const ExecutorServiceBatchWriteStoreResponseSchema: GenMessage<ExecutorServiceBatchWriteStoreResponse, {
|
|
96
|
+
jsonType: ExecutorServiceBatchWriteStoreResponseJson;
|
|
97
|
+
}>;
|
|
98
|
+
/**
|
|
99
|
+
* The write store request
|
|
100
|
+
*
|
|
101
|
+
* @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceWriteStoreRequest
|
|
102
|
+
*/
|
|
103
|
+
export type ExecutorServiceWriteStoreRequest = Message<"mochabugapis.adapt.runtime.v1.ExecutorServiceWriteStoreRequest"> & {
|
|
104
|
+
/**
|
|
105
|
+
* The difference in the single write request is that we support conditional
|
|
106
|
+
* write operations here. These are useful for implementing locks etc.
|
|
107
|
+
* Conditional write operations behaves strangely inside a batch operation since
|
|
108
|
+
* the entire batch becomes conditional and they do not follow timestamps
|
|
109
|
+
*
|
|
110
|
+
* @generated from field: mochabugapis.adapt.runtime.v1.ConditionalWriteOperation operation = 1;
|
|
111
|
+
*/
|
|
112
|
+
operation?: ConditionalWriteOperation;
|
|
113
|
+
/**
|
|
114
|
+
* The namespace where the operation is applied.
|
|
115
|
+
*
|
|
116
|
+
* @generated from field: mochabugapis.adapt.runtime.v1.Namespace namespace = 2;
|
|
117
|
+
*/
|
|
118
|
+
namespace: Namespace;
|
|
119
|
+
};
|
|
120
|
+
/**
|
|
121
|
+
* The write store request
|
|
122
|
+
*
|
|
123
|
+
* @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceWriteStoreRequest
|
|
124
|
+
*/
|
|
125
|
+
export type ExecutorServiceWriteStoreRequestJson = {
|
|
126
|
+
/**
|
|
127
|
+
* The difference in the single write request is that we support conditional
|
|
128
|
+
* write operations here. These are useful for implementing locks etc.
|
|
129
|
+
* Conditional write operations behaves strangely inside a batch operation since
|
|
130
|
+
* the entire batch becomes conditional and they do not follow timestamps
|
|
131
|
+
*
|
|
132
|
+
* @generated from field: mochabugapis.adapt.runtime.v1.ConditionalWriteOperation operation = 1;
|
|
133
|
+
*/
|
|
134
|
+
operation?: ConditionalWriteOperationJson;
|
|
135
|
+
/**
|
|
136
|
+
* The namespace where the operation is applied.
|
|
137
|
+
*
|
|
138
|
+
* @generated from field: mochabugapis.adapt.runtime.v1.Namespace namespace = 2;
|
|
139
|
+
*/
|
|
140
|
+
namespace?: NamespaceJson;
|
|
141
|
+
};
|
|
142
|
+
/**
|
|
143
|
+
* Describes the message mochabugapis.adapt.runtime.v1.ExecutorServiceWriteStoreRequest.
|
|
144
|
+
* Use `create(ExecutorServiceWriteStoreRequestSchema)` to create a new message.
|
|
145
|
+
*/
|
|
146
|
+
export declare const ExecutorServiceWriteStoreRequestSchema: GenMessage<ExecutorServiceWriteStoreRequest, {
|
|
147
|
+
jsonType: ExecutorServiceWriteStoreRequestJson;
|
|
148
|
+
}>;
|
|
149
|
+
/**
|
|
150
|
+
* The response of the single write store
|
|
151
|
+
*
|
|
152
|
+
* @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceWriteStoreResponse
|
|
153
|
+
*/
|
|
154
|
+
export type ExecutorServiceWriteStoreResponse = Message<"mochabugapis.adapt.runtime.v1.ExecutorServiceWriteStoreResponse"> & {
|
|
155
|
+
/**
|
|
156
|
+
* Metadata for the written key.
|
|
157
|
+
* Note: Metadata is only returned for insert operations, not for delete operations.
|
|
158
|
+
*
|
|
159
|
+
* @generated from field: optional mochabugapis.adapt.runtime.v1.ValueMetadata metadata = 1;
|
|
160
|
+
*/
|
|
161
|
+
metadata?: ValueMetadata;
|
|
162
|
+
};
|
|
163
|
+
/**
|
|
164
|
+
* The response of the single write store
|
|
165
|
+
*
|
|
166
|
+
* @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceWriteStoreResponse
|
|
167
|
+
*/
|
|
168
|
+
export type ExecutorServiceWriteStoreResponseJson = {
|
|
169
|
+
/**
|
|
170
|
+
* Metadata for the written key.
|
|
171
|
+
* Note: Metadata is only returned for insert operations, not for delete operations.
|
|
172
|
+
*
|
|
173
|
+
* @generated from field: optional mochabugapis.adapt.runtime.v1.ValueMetadata metadata = 1;
|
|
174
|
+
*/
|
|
175
|
+
metadata?: ValueMetadataJson;
|
|
176
|
+
};
|
|
177
|
+
/**
|
|
178
|
+
* Describes the message mochabugapis.adapt.runtime.v1.ExecutorServiceWriteStoreResponse.
|
|
179
|
+
* Use `create(ExecutorServiceWriteStoreResponseSchema)` to create a new message.
|
|
180
|
+
*/
|
|
181
|
+
export declare const ExecutorServiceWriteStoreResponseSchema: GenMessage<ExecutorServiceWriteStoreResponse, {
|
|
182
|
+
jsonType: ExecutorServiceWriteStoreResponseJson;
|
|
183
|
+
}>;
|
|
184
|
+
/**
|
|
185
|
+
* The request to apply operations to the execution store
|
|
186
|
+
*
|
|
187
|
+
* @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceBatchReadStoreRequest
|
|
188
|
+
*/
|
|
189
|
+
export type ExecutorServiceBatchReadStoreRequest = Message<"mochabugapis.adapt.runtime.v1.ExecutorServiceBatchReadStoreRequest"> & {
|
|
190
|
+
/**
|
|
191
|
+
* Keys to fetch from the executor store
|
|
192
|
+
* Refer to the comments on the `Namespace` enum for details on scope requirements
|
|
193
|
+
*
|
|
194
|
+
* @generated from field: repeated string keys = 1;
|
|
195
|
+
*/
|
|
196
|
+
keys: string[];
|
|
197
|
+
/**
|
|
198
|
+
* The namespace whee the batch is applied.
|
|
199
|
+
*
|
|
200
|
+
* @generated from field: mochabugapis.adapt.runtime.v1.Namespace namespace = 2;
|
|
201
|
+
*/
|
|
202
|
+
namespace: Namespace;
|
|
203
|
+
};
|
|
204
|
+
/**
|
|
205
|
+
* The request to apply operations to the execution store
|
|
206
|
+
*
|
|
207
|
+
* @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceBatchReadStoreRequest
|
|
208
|
+
*/
|
|
209
|
+
export type ExecutorServiceBatchReadStoreRequestJson = {
|
|
210
|
+
/**
|
|
211
|
+
* Keys to fetch from the executor store
|
|
212
|
+
* Refer to the comments on the `Namespace` enum for details on scope requirements
|
|
213
|
+
*
|
|
214
|
+
* @generated from field: repeated string keys = 1;
|
|
215
|
+
*/
|
|
216
|
+
keys?: string[];
|
|
217
|
+
/**
|
|
218
|
+
* The namespace whee the batch is applied.
|
|
219
|
+
*
|
|
220
|
+
* @generated from field: mochabugapis.adapt.runtime.v1.Namespace namespace = 2;
|
|
221
|
+
*/
|
|
222
|
+
namespace?: NamespaceJson;
|
|
223
|
+
};
|
|
224
|
+
/**
|
|
225
|
+
* Describes the message mochabugapis.adapt.runtime.v1.ExecutorServiceBatchReadStoreRequest.
|
|
226
|
+
* Use `create(ExecutorServiceBatchReadStoreRequestSchema)` to create a new message.
|
|
227
|
+
*/
|
|
228
|
+
export declare const ExecutorServiceBatchReadStoreRequestSchema: GenMessage<ExecutorServiceBatchReadStoreRequest, {
|
|
229
|
+
jsonType: ExecutorServiceBatchReadStoreRequestJson;
|
|
230
|
+
}>;
|
|
231
|
+
/**
|
|
232
|
+
* The response of the batch store, any keys not found are ignored
|
|
233
|
+
* i.e. not present in the map
|
|
234
|
+
*
|
|
235
|
+
* @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceBatchReadStoreResponse
|
|
236
|
+
*/
|
|
237
|
+
export type ExecutorServiceBatchReadStoreResponse = Message<"mochabugapis.adapt.runtime.v1.ExecutorServiceBatchReadStoreResponse"> & {
|
|
238
|
+
/**
|
|
239
|
+
* Map of key to value
|
|
240
|
+
*
|
|
241
|
+
* @generated from field: map<string, mochabugapis.adapt.runtime.v1.GetValue> items = 1;
|
|
242
|
+
*/
|
|
243
|
+
items: {
|
|
244
|
+
[key: string]: GetValue;
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
/**
|
|
248
|
+
* The response of the batch store, any keys not found are ignored
|
|
249
|
+
* i.e. not present in the map
|
|
250
|
+
*
|
|
251
|
+
* @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceBatchReadStoreResponse
|
|
252
|
+
*/
|
|
253
|
+
export type ExecutorServiceBatchReadStoreResponseJson = {
|
|
254
|
+
/**
|
|
255
|
+
* Map of key to value
|
|
256
|
+
*
|
|
257
|
+
* @generated from field: map<string, mochabugapis.adapt.runtime.v1.GetValue> items = 1;
|
|
258
|
+
*/
|
|
259
|
+
items?: {
|
|
260
|
+
[key: string]: GetValueJson;
|
|
261
|
+
};
|
|
262
|
+
};
|
|
263
|
+
/**
|
|
264
|
+
* Describes the message mochabugapis.adapt.runtime.v1.ExecutorServiceBatchReadStoreResponse.
|
|
265
|
+
* Use `create(ExecutorServiceBatchReadStoreResponseSchema)` to create a new message.
|
|
266
|
+
*/
|
|
267
|
+
export declare const ExecutorServiceBatchReadStoreResponseSchema: GenMessage<ExecutorServiceBatchReadStoreResponse, {
|
|
268
|
+
jsonType: ExecutorServiceBatchReadStoreResponseJson;
|
|
269
|
+
}>;
|
|
270
|
+
/**
|
|
271
|
+
* The request to select from the execution store
|
|
272
|
+
*
|
|
273
|
+
* @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceSelectStoreRequest
|
|
274
|
+
*/
|
|
275
|
+
export type ExecutorServiceSelectStoreRequest = Message<"mochabugapis.adapt.runtime.v1.ExecutorServiceSelectStoreRequest"> & {
|
|
276
|
+
/**
|
|
277
|
+
* The select operation to perform
|
|
278
|
+
*
|
|
279
|
+
* @generated from field: mochabugapis.adapt.runtime.v1.SelectOp operation = 1;
|
|
280
|
+
*/
|
|
281
|
+
operation?: SelectOp;
|
|
282
|
+
/**
|
|
283
|
+
* The namespace where the operation is applied
|
|
284
|
+
*
|
|
285
|
+
* @generated from field: mochabugapis.adapt.runtime.v1.Namespace namespace = 2;
|
|
286
|
+
*/
|
|
287
|
+
namespace: Namespace;
|
|
288
|
+
};
|
|
289
|
+
/**
|
|
290
|
+
* The request to select from the execution store
|
|
291
|
+
*
|
|
292
|
+
* @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceSelectStoreRequest
|
|
293
|
+
*/
|
|
294
|
+
export type ExecutorServiceSelectStoreRequestJson = {
|
|
295
|
+
/**
|
|
296
|
+
* The select operation to perform
|
|
297
|
+
*
|
|
298
|
+
* @generated from field: mochabugapis.adapt.runtime.v1.SelectOp operation = 1;
|
|
299
|
+
*/
|
|
300
|
+
operation?: SelectOpJson;
|
|
301
|
+
/**
|
|
302
|
+
* The namespace where the operation is applied
|
|
303
|
+
*
|
|
304
|
+
* @generated from field: mochabugapis.adapt.runtime.v1.Namespace namespace = 2;
|
|
305
|
+
*/
|
|
306
|
+
namespace?: NamespaceJson;
|
|
307
|
+
};
|
|
308
|
+
/**
|
|
309
|
+
* Describes the message mochabugapis.adapt.runtime.v1.ExecutorServiceSelectStoreRequest.
|
|
310
|
+
* Use `create(ExecutorServiceSelectStoreRequestSchema)` to create a new message.
|
|
311
|
+
*/
|
|
312
|
+
export declare const ExecutorServiceSelectStoreRequestSchema: GenMessage<ExecutorServiceSelectStoreRequest, {
|
|
313
|
+
jsonType: ExecutorServiceSelectStoreRequestJson;
|
|
314
|
+
}>;
|
|
315
|
+
/**
|
|
316
|
+
* The response of the select store
|
|
317
|
+
*
|
|
318
|
+
* @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceSelectStoreResponse
|
|
319
|
+
*/
|
|
320
|
+
export type ExecutorServiceSelectStoreResponse = Message<"mochabugapis.adapt.runtime.v1.ExecutorServiceSelectStoreResponse"> & {
|
|
321
|
+
/**
|
|
322
|
+
* Results
|
|
323
|
+
*
|
|
324
|
+
* @generated from field: map<string, mochabugapis.adapt.runtime.v1.GetValue> items = 1;
|
|
325
|
+
*/
|
|
326
|
+
items: {
|
|
327
|
+
[key: string]: GetValue;
|
|
328
|
+
};
|
|
329
|
+
/**
|
|
330
|
+
* Next page token
|
|
331
|
+
*
|
|
332
|
+
* @generated from field: optional string next_token = 2;
|
|
333
|
+
*/
|
|
334
|
+
nextToken?: string;
|
|
335
|
+
};
|
|
336
|
+
/**
|
|
337
|
+
* The response of the select store
|
|
338
|
+
*
|
|
339
|
+
* @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceSelectStoreResponse
|
|
340
|
+
*/
|
|
341
|
+
export type ExecutorServiceSelectStoreResponseJson = {
|
|
342
|
+
/**
|
|
343
|
+
* Results
|
|
344
|
+
*
|
|
345
|
+
* @generated from field: map<string, mochabugapis.adapt.runtime.v1.GetValue> items = 1;
|
|
346
|
+
*/
|
|
347
|
+
items?: {
|
|
348
|
+
[key: string]: GetValueJson;
|
|
349
|
+
};
|
|
350
|
+
/**
|
|
351
|
+
* Next page token
|
|
352
|
+
*
|
|
353
|
+
* @generated from field: optional string next_token = 2;
|
|
354
|
+
*/
|
|
355
|
+
nextToken?: string;
|
|
356
|
+
};
|
|
357
|
+
/**
|
|
358
|
+
* Describes the message mochabugapis.adapt.runtime.v1.ExecutorServiceSelectStoreResponse.
|
|
359
|
+
* Use `create(ExecutorServiceSelectStoreResponseSchema)` to create a new message.
|
|
360
|
+
*/
|
|
361
|
+
export declare const ExecutorServiceSelectStoreResponseSchema: GenMessage<ExecutorServiceSelectStoreResponse, {
|
|
362
|
+
jsonType: ExecutorServiceSelectStoreResponseJson;
|
|
363
|
+
}>;
|
|
364
|
+
/**
|
|
365
|
+
* A request to cancel a running exchange operation
|
|
366
|
+
*
|
|
367
|
+
* @generated from message mochabugapis.adapt.runtime.v1.CancelExchangeOperationRequest
|
|
368
|
+
*/
|
|
369
|
+
export type CancelExchangeOperationRequest = Message<"mochabugapis.adapt.runtime.v1.CancelExchangeOperationRequest"> & {
|
|
370
|
+
/**
|
|
371
|
+
* The id of the operation
|
|
372
|
+
*
|
|
373
|
+
* @generated from field: string id = 1;
|
|
374
|
+
*/
|
|
375
|
+
id: string;
|
|
376
|
+
};
|
|
377
|
+
/**
|
|
378
|
+
* A request to cancel a running exchange operation
|
|
379
|
+
*
|
|
380
|
+
* @generated from message mochabugapis.adapt.runtime.v1.CancelExchangeOperationRequest
|
|
381
|
+
*/
|
|
382
|
+
export type CancelExchangeOperationRequestJson = {
|
|
383
|
+
/**
|
|
384
|
+
* The id of the operation
|
|
385
|
+
*
|
|
386
|
+
* @generated from field: string id = 1;
|
|
387
|
+
*/
|
|
388
|
+
id?: string;
|
|
389
|
+
};
|
|
390
|
+
/**
|
|
391
|
+
* Describes the message mochabugapis.adapt.runtime.v1.CancelExchangeOperationRequest.
|
|
392
|
+
* Use `create(CancelExchangeOperationRequestSchema)` to create a new message.
|
|
393
|
+
*/
|
|
394
|
+
export declare const CancelExchangeOperationRequestSchema: GenMessage<CancelExchangeOperationRequest, {
|
|
395
|
+
jsonType: CancelExchangeOperationRequestJson;
|
|
396
|
+
}>;
|
|
397
|
+
/**
|
|
398
|
+
* The response of cancelling the exchange operation
|
|
399
|
+
*
|
|
400
|
+
* @generated from message mochabugapis.adapt.runtime.v1.CancelExchangeOperationResponse
|
|
401
|
+
*/
|
|
402
|
+
export type CancelExchangeOperationResponse = Message<"mochabugapis.adapt.runtime.v1.CancelExchangeOperationResponse"> & {};
|
|
403
|
+
/**
|
|
404
|
+
* The response of cancelling the exchange operation
|
|
405
|
+
*
|
|
406
|
+
* @generated from message mochabugapis.adapt.runtime.v1.CancelExchangeOperationResponse
|
|
407
|
+
*/
|
|
408
|
+
export type CancelExchangeOperationResponseJson = {};
|
|
409
|
+
/**
|
|
410
|
+
* Describes the message mochabugapis.adapt.runtime.v1.CancelExchangeOperationResponse.
|
|
411
|
+
* Use `create(CancelExchangeOperationResponseSchema)` to create a new message.
|
|
412
|
+
*/
|
|
413
|
+
export declare const CancelExchangeOperationResponseSchema: GenMessage<CancelExchangeOperationResponse, {
|
|
414
|
+
jsonType: CancelExchangeOperationResponseJson;
|
|
415
|
+
}>;
|
|
416
|
+
/**
|
|
417
|
+
* A request to check the status of an operation
|
|
418
|
+
*
|
|
419
|
+
* @generated from message mochabugapis.adapt.runtime.v1.GetExchangeOperationRequest
|
|
420
|
+
*/
|
|
421
|
+
export type GetExchangeOperationRequest = Message<"mochabugapis.adapt.runtime.v1.GetExchangeOperationRequest"> & {
|
|
422
|
+
/**
|
|
423
|
+
* The id of the operation
|
|
424
|
+
*
|
|
425
|
+
* @generated from field: string id = 1;
|
|
426
|
+
*/
|
|
427
|
+
id: string;
|
|
428
|
+
};
|
|
429
|
+
/**
|
|
430
|
+
* A request to check the status of an operation
|
|
431
|
+
*
|
|
432
|
+
* @generated from message mochabugapis.adapt.runtime.v1.GetExchangeOperationRequest
|
|
433
|
+
*/
|
|
434
|
+
export type GetExchangeOperationRequestJson = {
|
|
435
|
+
/**
|
|
436
|
+
* The id of the operation
|
|
437
|
+
*
|
|
438
|
+
* @generated from field: string id = 1;
|
|
439
|
+
*/
|
|
440
|
+
id?: string;
|
|
441
|
+
};
|
|
442
|
+
/**
|
|
443
|
+
* Describes the message mochabugapis.adapt.runtime.v1.GetExchangeOperationRequest.
|
|
444
|
+
* Use `create(GetExchangeOperationRequestSchema)` to create a new message.
|
|
445
|
+
*/
|
|
446
|
+
export declare const GetExchangeOperationRequestSchema: GenMessage<GetExchangeOperationRequest, {
|
|
447
|
+
jsonType: GetExchangeOperationRequestJson;
|
|
448
|
+
}>;
|
|
449
|
+
/**
|
|
450
|
+
* The get operation response
|
|
451
|
+
*
|
|
452
|
+
* @generated from message mochabugapis.adapt.runtime.v1.GetExchangeOperationResponse
|
|
453
|
+
*/
|
|
454
|
+
export type GetExchangeOperationResponse = Message<"mochabugapis.adapt.runtime.v1.GetExchangeOperationResponse"> & {
|
|
455
|
+
/**
|
|
456
|
+
* The actual operation
|
|
457
|
+
*
|
|
458
|
+
* @generated from field: mochabugapis.adapt.runtime.v1.ExchangeOperation item = 1;
|
|
459
|
+
*/
|
|
460
|
+
item?: ExchangeOperation;
|
|
461
|
+
};
|
|
462
|
+
/**
|
|
463
|
+
* The get operation response
|
|
464
|
+
*
|
|
465
|
+
* @generated from message mochabugapis.adapt.runtime.v1.GetExchangeOperationResponse
|
|
466
|
+
*/
|
|
467
|
+
export type GetExchangeOperationResponseJson = {
|
|
468
|
+
/**
|
|
469
|
+
* The actual operation
|
|
470
|
+
*
|
|
471
|
+
* @generated from field: mochabugapis.adapt.runtime.v1.ExchangeOperation item = 1;
|
|
472
|
+
*/
|
|
473
|
+
item?: ExchangeOperationJson;
|
|
474
|
+
};
|
|
475
|
+
/**
|
|
476
|
+
* Describes the message mochabugapis.adapt.runtime.v1.GetExchangeOperationResponse.
|
|
477
|
+
* Use `create(GetExchangeOperationResponseSchema)` to create a new message.
|
|
478
|
+
*/
|
|
479
|
+
export declare const GetExchangeOperationResponseSchema: GenMessage<GetExchangeOperationResponse, {
|
|
480
|
+
jsonType: GetExchangeOperationResponseJson;
|
|
481
|
+
}>;
|
|
482
|
+
/**
|
|
483
|
+
* A request to start execute an exchange
|
|
484
|
+
*
|
|
485
|
+
* @generated from message mochabugapis.adapt.runtime.v1.DispatchExchangeRequest
|
|
486
|
+
*/
|
|
487
|
+
export type DispatchExchangeRequest = Message<"mochabugapis.adapt.runtime.v1.DispatchExchangeRequest"> & {
|
|
488
|
+
/**
|
|
489
|
+
* The name of the exchange to dispatch
|
|
490
|
+
*
|
|
491
|
+
* @generated from field: string name = 1;
|
|
492
|
+
*/
|
|
493
|
+
name: string;
|
|
494
|
+
/**
|
|
495
|
+
* The receiver to send the signals on (on the exchange, mapps to transmitter on the subgraph)
|
|
496
|
+
*
|
|
497
|
+
* @generated from field: optional string receiver = 2;
|
|
498
|
+
*/
|
|
499
|
+
receiver?: string;
|
|
500
|
+
/**
|
|
501
|
+
* The signals to send over the receiver
|
|
502
|
+
*
|
|
503
|
+
* @generated from field: map<string, mochabugapis.adapt.graph.SignalData> signals = 3;
|
|
504
|
+
*/
|
|
505
|
+
signals: {
|
|
506
|
+
[key: string]: SignalData;
|
|
507
|
+
};
|
|
508
|
+
};
|
|
509
|
+
/**
|
|
510
|
+
* A request to start execute an exchange
|
|
511
|
+
*
|
|
512
|
+
* @generated from message mochabugapis.adapt.runtime.v1.DispatchExchangeRequest
|
|
513
|
+
*/
|
|
514
|
+
export type DispatchExchangeRequestJson = {
|
|
515
|
+
/**
|
|
516
|
+
* The name of the exchange to dispatch
|
|
517
|
+
*
|
|
518
|
+
* @generated from field: string name = 1;
|
|
519
|
+
*/
|
|
520
|
+
name?: string;
|
|
521
|
+
/**
|
|
522
|
+
* The receiver to send the signals on (on the exchange, mapps to transmitter on the subgraph)
|
|
523
|
+
*
|
|
524
|
+
* @generated from field: optional string receiver = 2;
|
|
525
|
+
*/
|
|
526
|
+
receiver?: string;
|
|
527
|
+
/**
|
|
528
|
+
* The signals to send over the receiver
|
|
529
|
+
*
|
|
530
|
+
* @generated from field: map<string, mochabugapis.adapt.graph.SignalData> signals = 3;
|
|
531
|
+
*/
|
|
532
|
+
signals?: {
|
|
533
|
+
[key: string]: SignalDataJson;
|
|
534
|
+
};
|
|
535
|
+
};
|
|
536
|
+
/**
|
|
537
|
+
* Describes the message mochabugapis.adapt.runtime.v1.DispatchExchangeRequest.
|
|
538
|
+
* Use `create(DispatchExchangeRequestSchema)` to create a new message.
|
|
539
|
+
*/
|
|
540
|
+
export declare const DispatchExchangeRequestSchema: GenMessage<DispatchExchangeRequest, {
|
|
541
|
+
jsonType: DispatchExchangeRequestJson;
|
|
542
|
+
}>;
|
|
543
|
+
/**
|
|
544
|
+
* The response of the exchange execution
|
|
545
|
+
* Just like streams, this is an async operation
|
|
546
|
+
*
|
|
547
|
+
* @generated from message mochabugapis.adapt.runtime.v1.DispatchExchangeResponse
|
|
548
|
+
*/
|
|
549
|
+
export type DispatchExchangeResponse = Message<"mochabugapis.adapt.runtime.v1.DispatchExchangeResponse"> & {
|
|
550
|
+
/**
|
|
551
|
+
* The id of the operation
|
|
552
|
+
*
|
|
553
|
+
* @generated from field: mochabugapis.adapt.runtime.v1.ExchangeOperation operation = 1;
|
|
554
|
+
*/
|
|
555
|
+
operation?: ExchangeOperation;
|
|
556
|
+
};
|
|
557
|
+
/**
|
|
558
|
+
* The response of the exchange execution
|
|
559
|
+
* Just like streams, this is an async operation
|
|
560
|
+
*
|
|
561
|
+
* @generated from message mochabugapis.adapt.runtime.v1.DispatchExchangeResponse
|
|
562
|
+
*/
|
|
563
|
+
export type DispatchExchangeResponseJson = {
|
|
564
|
+
/**
|
|
565
|
+
* The id of the operation
|
|
566
|
+
*
|
|
567
|
+
* @generated from field: mochabugapis.adapt.runtime.v1.ExchangeOperation operation = 1;
|
|
568
|
+
*/
|
|
569
|
+
operation?: ExchangeOperationJson;
|
|
570
|
+
};
|
|
571
|
+
/**
|
|
572
|
+
* Describes the message mochabugapis.adapt.runtime.v1.DispatchExchangeResponse.
|
|
573
|
+
* Use `create(DispatchExchangeResponseSchema)` to create a new message.
|
|
574
|
+
*/
|
|
575
|
+
export declare const DispatchExchangeResponseSchema: GenMessage<DispatchExchangeResponse, {
|
|
576
|
+
jsonType: DispatchExchangeResponseJson;
|
|
577
|
+
}>;
|
|
578
|
+
/**
|
|
579
|
+
* The complete execution request message
|
|
580
|
+
*
|
|
581
|
+
* @generated from message mochabugapis.adapt.runtime.v1.SendRequest
|
|
582
|
+
*/
|
|
583
|
+
export type SendRequest = Message<"mochabugapis.adapt.runtime.v1.SendRequest"> & {
|
|
584
|
+
/**
|
|
585
|
+
* The transmitter to send the signals on
|
|
586
|
+
*
|
|
587
|
+
* @generated from field: optional string transmitter = 1;
|
|
588
|
+
*/
|
|
589
|
+
transmitter?: string;
|
|
590
|
+
/**
|
|
591
|
+
* The signals to send over the transmitter
|
|
592
|
+
*
|
|
593
|
+
* @generated from field: map<string, mochabugapis.adapt.graph.SignalData> signals = 2;
|
|
594
|
+
*/
|
|
595
|
+
signals: {
|
|
596
|
+
[key: string]: SignalData;
|
|
597
|
+
};
|
|
598
|
+
};
|
|
599
|
+
/**
|
|
600
|
+
* The complete execution request message
|
|
601
|
+
*
|
|
602
|
+
* @generated from message mochabugapis.adapt.runtime.v1.SendRequest
|
|
603
|
+
*/
|
|
604
|
+
export type SendRequestJson = {
|
|
605
|
+
/**
|
|
606
|
+
* The transmitter to send the signals on
|
|
607
|
+
*
|
|
608
|
+
* @generated from field: optional string transmitter = 1;
|
|
609
|
+
*/
|
|
610
|
+
transmitter?: string;
|
|
611
|
+
/**
|
|
612
|
+
* The signals to send over the transmitter
|
|
613
|
+
*
|
|
614
|
+
* @generated from field: map<string, mochabugapis.adapt.graph.SignalData> signals = 2;
|
|
615
|
+
*/
|
|
616
|
+
signals?: {
|
|
617
|
+
[key: string]: SignalDataJson;
|
|
618
|
+
};
|
|
619
|
+
};
|
|
620
|
+
/**
|
|
621
|
+
* Describes the message mochabugapis.adapt.runtime.v1.SendRequest.
|
|
622
|
+
* Use `create(SendRequestSchema)` to create a new message.
|
|
623
|
+
*/
|
|
624
|
+
export declare const SendRequestSchema: GenMessage<SendRequest, {
|
|
625
|
+
jsonType: SendRequestJson;
|
|
626
|
+
}>;
|
|
627
|
+
/**
|
|
628
|
+
* The complete execution response message
|
|
629
|
+
*
|
|
630
|
+
* @generated from message mochabugapis.adapt.runtime.v1.SendResponse
|
|
631
|
+
*/
|
|
632
|
+
export type SendResponse = Message<"mochabugapis.adapt.runtime.v1.SendResponse"> & {};
|
|
633
|
+
/**
|
|
634
|
+
* The complete execution response message
|
|
635
|
+
*
|
|
636
|
+
* @generated from message mochabugapis.adapt.runtime.v1.SendResponse
|
|
637
|
+
*/
|
|
638
|
+
export type SendResponseJson = {};
|
|
639
|
+
/**
|
|
640
|
+
* Describes the message mochabugapis.adapt.runtime.v1.SendResponse.
|
|
641
|
+
* Use `create(SendResponseSchema)` to create a new message.
|
|
642
|
+
*/
|
|
643
|
+
export declare const SendResponseSchema: GenMessage<SendResponse, {
|
|
644
|
+
jsonType: SendResponseJson;
|
|
645
|
+
}>;
|
|
646
|
+
/**
|
|
647
|
+
* The request to fetch multiple signals on the connected receiver
|
|
648
|
+
*
|
|
649
|
+
* @generated from message mochabugapis.adapt.runtime.v1.BatchGetActiveSignalsRequest
|
|
650
|
+
*/
|
|
651
|
+
export type BatchGetActiveSignalsRequest = Message<"mochabugapis.adapt.runtime.v1.BatchGetActiveSignalsRequest"> & {
|
|
652
|
+
/**
|
|
653
|
+
* The names of the signals to fetch
|
|
654
|
+
* An empty array will result in only fetching the connected receiver
|
|
655
|
+
*
|
|
656
|
+
* @generated from field: repeated string names = 1;
|
|
657
|
+
*/
|
|
658
|
+
names: string[];
|
|
659
|
+
};
|
|
660
|
+
/**
|
|
661
|
+
* The request to fetch multiple signals on the connected receiver
|
|
662
|
+
*
|
|
663
|
+
* @generated from message mochabugapis.adapt.runtime.v1.BatchGetActiveSignalsRequest
|
|
664
|
+
*/
|
|
665
|
+
export type BatchGetActiveSignalsRequestJson = {
|
|
666
|
+
/**
|
|
667
|
+
* The names of the signals to fetch
|
|
668
|
+
* An empty array will result in only fetching the connected receiver
|
|
669
|
+
*
|
|
670
|
+
* @generated from field: repeated string names = 1;
|
|
671
|
+
*/
|
|
672
|
+
names?: string[];
|
|
673
|
+
};
|
|
674
|
+
/**
|
|
675
|
+
* Describes the message mochabugapis.adapt.runtime.v1.BatchGetActiveSignalsRequest.
|
|
676
|
+
* Use `create(BatchGetActiveSignalsRequestSchema)` to create a new message.
|
|
677
|
+
*/
|
|
678
|
+
export declare const BatchGetActiveSignalsRequestSchema: GenMessage<BatchGetActiveSignalsRequest, {
|
|
679
|
+
jsonType: BatchGetActiveSignalsRequestJson;
|
|
680
|
+
}>;
|
|
681
|
+
/**
|
|
682
|
+
* The response of getting multiple signals on the connected receiver
|
|
683
|
+
*
|
|
684
|
+
* @generated from message mochabugapis.adapt.runtime.v1.BatchGetActiveSignalsResponse
|
|
685
|
+
*/
|
|
686
|
+
export type BatchGetActiveSignalsResponse = Message<"mochabugapis.adapt.runtime.v1.BatchGetActiveSignalsResponse"> & {
|
|
687
|
+
/**
|
|
688
|
+
* The returned items, items not found are ignored
|
|
689
|
+
*
|
|
690
|
+
* @generated from field: map<string, mochabugapis.adapt.graph.SignalData> items = 1;
|
|
691
|
+
*/
|
|
692
|
+
items: {
|
|
693
|
+
[key: string]: SignalData;
|
|
694
|
+
};
|
|
695
|
+
/**
|
|
696
|
+
* The connected receiver
|
|
697
|
+
*
|
|
698
|
+
* @generated from field: string receiver = 2;
|
|
699
|
+
*/
|
|
700
|
+
receiver: string;
|
|
701
|
+
};
|
|
702
|
+
/**
|
|
703
|
+
* The response of getting multiple signals on the connected receiver
|
|
704
|
+
*
|
|
705
|
+
* @generated from message mochabugapis.adapt.runtime.v1.BatchGetActiveSignalsResponse
|
|
706
|
+
*/
|
|
707
|
+
export type BatchGetActiveSignalsResponseJson = {
|
|
708
|
+
/**
|
|
709
|
+
* The returned items, items not found are ignored
|
|
710
|
+
*
|
|
711
|
+
* @generated from field: map<string, mochabugapis.adapt.graph.SignalData> items = 1;
|
|
712
|
+
*/
|
|
713
|
+
items?: {
|
|
714
|
+
[key: string]: SignalDataJson;
|
|
715
|
+
};
|
|
716
|
+
/**
|
|
717
|
+
* The connected receiver
|
|
718
|
+
*
|
|
719
|
+
* @generated from field: string receiver = 2;
|
|
720
|
+
*/
|
|
721
|
+
receiver?: string;
|
|
722
|
+
};
|
|
723
|
+
/**
|
|
724
|
+
* Describes the message mochabugapis.adapt.runtime.v1.BatchGetActiveSignalsResponse.
|
|
725
|
+
* Use `create(BatchGetActiveSignalsResponseSchema)` to create a new message.
|
|
726
|
+
*/
|
|
727
|
+
export declare const BatchGetActiveSignalsResponseSchema: GenMessage<BatchGetActiveSignalsResponse, {
|
|
728
|
+
jsonType: BatchGetActiveSignalsResponseJson;
|
|
729
|
+
}>;
|
|
730
|
+
/**
|
|
731
|
+
* A request to fetch the signals on the connected receiver
|
|
732
|
+
*
|
|
733
|
+
* @generated from message mochabugapis.adapt.runtime.v1.ListActiveSignalsRequest
|
|
734
|
+
*/
|
|
735
|
+
export type ListActiveSignalsRequest = Message<"mochabugapis.adapt.runtime.v1.ListActiveSignalsRequest"> & {
|
|
736
|
+
/**
|
|
737
|
+
* The page size, defaults to 50
|
|
738
|
+
*
|
|
739
|
+
* @generated from field: optional int32 page_size = 1;
|
|
740
|
+
*/
|
|
741
|
+
pageSize?: number;
|
|
742
|
+
/**
|
|
743
|
+
* The cursor where to start the listing, defaults to beginning
|
|
744
|
+
* If the cursor is set, filter and order_by are ignored
|
|
745
|
+
*
|
|
746
|
+
* @generated from field: optional string cursor = 2;
|
|
747
|
+
*/
|
|
748
|
+
cursor?: string;
|
|
749
|
+
/**
|
|
750
|
+
* True if you want the result in descending order
|
|
751
|
+
*
|
|
752
|
+
* @generated from field: optional bool order_descending = 3;
|
|
753
|
+
*/
|
|
754
|
+
orderDescending?: boolean;
|
|
755
|
+
};
|
|
756
|
+
/**
|
|
757
|
+
* A request to fetch the signals on the connected receiver
|
|
758
|
+
*
|
|
759
|
+
* @generated from message mochabugapis.adapt.runtime.v1.ListActiveSignalsRequest
|
|
760
|
+
*/
|
|
761
|
+
export type ListActiveSignalsRequestJson = {
|
|
762
|
+
/**
|
|
763
|
+
* The page size, defaults to 50
|
|
764
|
+
*
|
|
765
|
+
* @generated from field: optional int32 page_size = 1;
|
|
766
|
+
*/
|
|
767
|
+
pageSize?: number;
|
|
768
|
+
/**
|
|
769
|
+
* The cursor where to start the listing, defaults to beginning
|
|
770
|
+
* If the cursor is set, filter and order_by are ignored
|
|
771
|
+
*
|
|
772
|
+
* @generated from field: optional string cursor = 2;
|
|
773
|
+
*/
|
|
774
|
+
cursor?: string;
|
|
775
|
+
/**
|
|
776
|
+
* True if you want the result in descending order
|
|
777
|
+
*
|
|
778
|
+
* @generated from field: optional bool order_descending = 3;
|
|
779
|
+
*/
|
|
780
|
+
orderDescending?: boolean;
|
|
781
|
+
};
|
|
782
|
+
/**
|
|
783
|
+
* Describes the message mochabugapis.adapt.runtime.v1.ListActiveSignalsRequest.
|
|
784
|
+
* Use `create(ListActiveSignalsRequestSchema)` to create a new message.
|
|
785
|
+
*/
|
|
786
|
+
export declare const ListActiveSignalsRequestSchema: GenMessage<ListActiveSignalsRequest, {
|
|
787
|
+
jsonType: ListActiveSignalsRequestJson;
|
|
788
|
+
}>;
|
|
789
|
+
/**
|
|
790
|
+
* The response of fetching the recieved signals
|
|
791
|
+
*
|
|
792
|
+
* IMPORTANT: The response payload is limited to a maximum of 16MB.
|
|
793
|
+
* If the total size of all signals would exceed this limit, the response
|
|
794
|
+
* will be truncated and a next_cursor will be provided to continue fetching
|
|
795
|
+
* the remaining signals in subsequent requests.
|
|
796
|
+
*
|
|
797
|
+
* @generated from message mochabugapis.adapt.runtime.v1.ListActiveSignalsResponse
|
|
798
|
+
*/
|
|
799
|
+
export type ListActiveSignalsResponse = Message<"mochabugapis.adapt.runtime.v1.ListActiveSignalsResponse"> & {
|
|
800
|
+
/**
|
|
801
|
+
* The actual signals on the receiver
|
|
802
|
+
*
|
|
803
|
+
* @generated from field: map<string, mochabugapis.adapt.graph.SignalData> signals = 1;
|
|
804
|
+
*/
|
|
805
|
+
signals: {
|
|
806
|
+
[key: string]: SignalData;
|
|
807
|
+
};
|
|
808
|
+
/**
|
|
809
|
+
* The receiver the signals are fetched on
|
|
810
|
+
* The receiver must always be set, otherwise we cannot be inside a executor
|
|
811
|
+
*
|
|
812
|
+
* @generated from field: string receiver = 2;
|
|
813
|
+
*/
|
|
814
|
+
receiver: string;
|
|
815
|
+
/**
|
|
816
|
+
* Use this cursor in the next request to go through the collection
|
|
817
|
+
* Set if there's more data or if the 16MB payload limit was reached
|
|
818
|
+
*
|
|
819
|
+
* @generated from field: optional string next_cursor = 3;
|
|
820
|
+
*/
|
|
821
|
+
nextCursor?: string;
|
|
822
|
+
};
|
|
823
|
+
/**
|
|
824
|
+
* The response of fetching the recieved signals
|
|
825
|
+
*
|
|
826
|
+
* IMPORTANT: The response payload is limited to a maximum of 16MB.
|
|
827
|
+
* If the total size of all signals would exceed this limit, the response
|
|
828
|
+
* will be truncated and a next_cursor will be provided to continue fetching
|
|
829
|
+
* the remaining signals in subsequent requests.
|
|
830
|
+
*
|
|
831
|
+
* @generated from message mochabugapis.adapt.runtime.v1.ListActiveSignalsResponse
|
|
832
|
+
*/
|
|
833
|
+
export type ListActiveSignalsResponseJson = {
|
|
834
|
+
/**
|
|
835
|
+
* The actual signals on the receiver
|
|
836
|
+
*
|
|
837
|
+
* @generated from field: map<string, mochabugapis.adapt.graph.SignalData> signals = 1;
|
|
838
|
+
*/
|
|
839
|
+
signals?: {
|
|
840
|
+
[key: string]: SignalDataJson;
|
|
841
|
+
};
|
|
842
|
+
/**
|
|
843
|
+
* The receiver the signals are fetched on
|
|
844
|
+
* The receiver must always be set, otherwise we cannot be inside a executor
|
|
845
|
+
*
|
|
846
|
+
* @generated from field: string receiver = 2;
|
|
847
|
+
*/
|
|
848
|
+
receiver?: string;
|
|
849
|
+
/**
|
|
850
|
+
* Use this cursor in the next request to go through the collection
|
|
851
|
+
* Set if there's more data or if the 16MB payload limit was reached
|
|
852
|
+
*
|
|
853
|
+
* @generated from field: optional string next_cursor = 3;
|
|
854
|
+
*/
|
|
855
|
+
nextCursor?: string;
|
|
856
|
+
};
|
|
857
|
+
/**
|
|
858
|
+
* Describes the message mochabugapis.adapt.runtime.v1.ListActiveSignalsResponse.
|
|
859
|
+
* Use `create(ListActiveSignalsResponseSchema)` to create a new message.
|
|
860
|
+
*/
|
|
861
|
+
export declare const ListActiveSignalsResponseSchema: GenMessage<ListActiveSignalsResponse, {
|
|
862
|
+
jsonType: ListActiveSignalsResponseJson;
|
|
863
|
+
}>;
|
|
864
|
+
/**
|
|
865
|
+
* The vertex config request
|
|
866
|
+
*
|
|
867
|
+
* @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceGetVertexConfigRequest
|
|
868
|
+
*/
|
|
869
|
+
export type ExecutorServiceGetVertexConfigRequest = Message<"mochabugapis.adapt.runtime.v1.ExecutorServiceGetVertexConfigRequest"> & {
|
|
870
|
+
/**
|
|
871
|
+
* An optional field mask
|
|
872
|
+
*
|
|
873
|
+
* @generated from field: optional google.protobuf.FieldMask field_mask = 1;
|
|
874
|
+
*/
|
|
875
|
+
fieldMask?: FieldMask;
|
|
876
|
+
};
|
|
877
|
+
/**
|
|
878
|
+
* The vertex config request
|
|
879
|
+
*
|
|
880
|
+
* @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceGetVertexConfigRequest
|
|
881
|
+
*/
|
|
882
|
+
export type ExecutorServiceGetVertexConfigRequestJson = {
|
|
883
|
+
/**
|
|
884
|
+
* An optional field mask
|
|
885
|
+
*
|
|
886
|
+
* @generated from field: optional google.protobuf.FieldMask field_mask = 1;
|
|
887
|
+
*/
|
|
888
|
+
fieldMask?: FieldMaskJson;
|
|
889
|
+
};
|
|
890
|
+
/**
|
|
891
|
+
* Describes the message mochabugapis.adapt.runtime.v1.ExecutorServiceGetVertexConfigRequest.
|
|
892
|
+
* Use `create(ExecutorServiceGetVertexConfigRequestSchema)` to create a new message.
|
|
893
|
+
*/
|
|
894
|
+
export declare const ExecutorServiceGetVertexConfigRequestSchema: GenMessage<ExecutorServiceGetVertexConfigRequest, {
|
|
895
|
+
jsonType: ExecutorServiceGetVertexConfigRequestJson;
|
|
896
|
+
}>;
|
|
897
|
+
/**
|
|
898
|
+
* The vertex config response
|
|
899
|
+
*
|
|
900
|
+
* @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceGetVertexConfigResponse
|
|
901
|
+
*/
|
|
902
|
+
export type ExecutorServiceGetVertexConfigResponse = Message<"mochabugapis.adapt.runtime.v1.ExecutorServiceGetVertexConfigResponse"> & {
|
|
903
|
+
/**
|
|
904
|
+
* The vertex config
|
|
905
|
+
*
|
|
906
|
+
* @generated from field: bytes config = 1;
|
|
907
|
+
*/
|
|
908
|
+
config: Uint8Array;
|
|
909
|
+
/**
|
|
910
|
+
* The metadata of the config
|
|
911
|
+
*
|
|
912
|
+
* @generated from field: mochabugapis.adapt.graph.VertexMetadata metadata = 2;
|
|
913
|
+
*/
|
|
914
|
+
metadata?: VertexMetadata;
|
|
915
|
+
/**
|
|
916
|
+
* The services that are actually configured on this vertex
|
|
917
|
+
* For nested services you query with a dot notation path
|
|
918
|
+
* Services that are not configured will not appear in this map
|
|
919
|
+
* For example, oneOf service with the selection option will appear as: "oneof_service.selected_option"
|
|
920
|
+
* Any grouped services will appear as normal, i.e. "grouped_service.nested_service"
|
|
921
|
+
* If the service is not configured (i.e. optional) it will not appear in this map
|
|
922
|
+
*
|
|
923
|
+
* @generated from field: map<string, bool> configured_services = 3;
|
|
924
|
+
*/
|
|
925
|
+
configuredServices: {
|
|
926
|
+
[key: string]: boolean;
|
|
927
|
+
};
|
|
928
|
+
};
|
|
929
|
+
/**
|
|
930
|
+
* The vertex config response
|
|
931
|
+
*
|
|
932
|
+
* @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceGetVertexConfigResponse
|
|
933
|
+
*/
|
|
934
|
+
export type ExecutorServiceGetVertexConfigResponseJson = {
|
|
935
|
+
/**
|
|
936
|
+
* The vertex config
|
|
937
|
+
*
|
|
938
|
+
* @generated from field: bytes config = 1;
|
|
939
|
+
*/
|
|
940
|
+
config?: string;
|
|
941
|
+
/**
|
|
942
|
+
* The metadata of the config
|
|
943
|
+
*
|
|
944
|
+
* @generated from field: mochabugapis.adapt.graph.VertexMetadata metadata = 2;
|
|
945
|
+
*/
|
|
946
|
+
metadata?: VertexMetadataJson;
|
|
947
|
+
/**
|
|
948
|
+
* The services that are actually configured on this vertex
|
|
949
|
+
* For nested services you query with a dot notation path
|
|
950
|
+
* Services that are not configured will not appear in this map
|
|
951
|
+
* For example, oneOf service with the selection option will appear as: "oneof_service.selected_option"
|
|
952
|
+
* Any grouped services will appear as normal, i.e. "grouped_service.nested_service"
|
|
953
|
+
* If the service is not configured (i.e. optional) it will not appear in this map
|
|
954
|
+
*
|
|
955
|
+
* @generated from field: map<string, bool> configured_services = 3;
|
|
956
|
+
*/
|
|
957
|
+
configuredServices?: {
|
|
958
|
+
[key: string]: boolean;
|
|
959
|
+
};
|
|
960
|
+
};
|
|
961
|
+
/**
|
|
962
|
+
* Describes the message mochabugapis.adapt.runtime.v1.ExecutorServiceGetVertexConfigResponse.
|
|
963
|
+
* Use `create(ExecutorServiceGetVertexConfigResponseSchema)` to create a new message.
|
|
964
|
+
*/
|
|
965
|
+
export declare const ExecutorServiceGetVertexConfigResponseSchema: GenMessage<ExecutorServiceGetVertexConfigResponse, {
|
|
966
|
+
jsonType: ExecutorServiceGetVertexConfigResponseJson;
|
|
967
|
+
}>;
|
|
968
|
+
/**
|
|
969
|
+
* A representation of an exchange operation
|
|
970
|
+
*
|
|
971
|
+
* @generated from message mochabugapis.adapt.runtime.v1.ExchangeOperation
|
|
972
|
+
*/
|
|
973
|
+
export type ExchangeOperation = Message<"mochabugapis.adapt.runtime.v1.ExchangeOperation"> & {
|
|
974
|
+
/**
|
|
975
|
+
* The name of the exchange
|
|
976
|
+
*
|
|
977
|
+
* @generated from field: string name = 1;
|
|
978
|
+
*/
|
|
979
|
+
name: string;
|
|
980
|
+
/**
|
|
981
|
+
* The id of the fork
|
|
982
|
+
*
|
|
983
|
+
* @generated from field: string id = 2;
|
|
984
|
+
*/
|
|
985
|
+
id: string;
|
|
986
|
+
/**
|
|
987
|
+
* The status of the operation
|
|
988
|
+
*
|
|
989
|
+
* @generated from field: mochabugapis.adapt.automations.v1.Status status = 3;
|
|
990
|
+
*/
|
|
991
|
+
status: Status;
|
|
992
|
+
};
|
|
993
|
+
/**
|
|
994
|
+
* A representation of an exchange operation
|
|
995
|
+
*
|
|
996
|
+
* @generated from message mochabugapis.adapt.runtime.v1.ExchangeOperation
|
|
997
|
+
*/
|
|
998
|
+
export type ExchangeOperationJson = {
|
|
999
|
+
/**
|
|
1000
|
+
* The name of the exchange
|
|
1001
|
+
*
|
|
1002
|
+
* @generated from field: string name = 1;
|
|
1003
|
+
*/
|
|
1004
|
+
name?: string;
|
|
1005
|
+
/**
|
|
1006
|
+
* The id of the fork
|
|
1007
|
+
*
|
|
1008
|
+
* @generated from field: string id = 2;
|
|
1009
|
+
*/
|
|
1010
|
+
id?: string;
|
|
1011
|
+
/**
|
|
1012
|
+
* The status of the operation
|
|
1013
|
+
*
|
|
1014
|
+
* @generated from field: mochabugapis.adapt.automations.v1.Status status = 3;
|
|
1015
|
+
*/
|
|
1016
|
+
status?: StatusJson;
|
|
1017
|
+
};
|
|
1018
|
+
/**
|
|
1019
|
+
* Describes the message mochabugapis.adapt.runtime.v1.ExchangeOperation.
|
|
1020
|
+
* Use `create(ExchangeOperationSchema)` to create a new message.
|
|
1021
|
+
*/
|
|
1022
|
+
export declare const ExchangeOperationSchema: GenMessage<ExchangeOperation, {
|
|
1023
|
+
jsonType: ExchangeOperationJson;
|
|
1024
|
+
}>;
|
|
1025
|
+
/**
|
|
1026
|
+
* Executor service is containg the complete API available to a executor of a
|
|
1027
|
+
* vertex. Every call on this service will require an Authoriation header
|
|
1028
|
+
*
|
|
1029
|
+
* @generated from service mochabugapis.adapt.runtime.v1.ExecutorService
|
|
1030
|
+
*/
|
|
1031
|
+
export declare const ExecutorService: GenService<{
|
|
1032
|
+
/**
|
|
1033
|
+
* Get the vertex config
|
|
1034
|
+
* Valid scopes: runtimeapi/executor, runtimeapi/executor.vertexconfig:read
|
|
1035
|
+
*
|
|
1036
|
+
* @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.GetVertexConfig
|
|
1037
|
+
*/
|
|
1038
|
+
getVertexConfig: {
|
|
1039
|
+
methodKind: "unary";
|
|
1040
|
+
input: typeof ExecutorServiceGetVertexConfigRequestSchema;
|
|
1041
|
+
output: typeof ExecutorServiceGetVertexConfigResponseSchema;
|
|
1042
|
+
};
|
|
1043
|
+
/**
|
|
1044
|
+
* Get the signals defined by the connected receiver
|
|
1045
|
+
* Valid scopes: runtimeapi/executor, runtimeapi/executor.receiversignals:read
|
|
1046
|
+
*
|
|
1047
|
+
* @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.ListActiveSignals
|
|
1048
|
+
*/
|
|
1049
|
+
listActiveSignals: {
|
|
1050
|
+
methodKind: "unary";
|
|
1051
|
+
input: typeof ListActiveSignalsRequestSchema;
|
|
1052
|
+
output: typeof ListActiveSignalsResponseSchema;
|
|
1053
|
+
};
|
|
1054
|
+
/**
|
|
1055
|
+
* Get specific signals on the connected receiver
|
|
1056
|
+
* Valid scopes: runtimeapi/executor, runtimeapi/executor.receiversignals:read
|
|
1057
|
+
*
|
|
1058
|
+
* @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.BatchGetActiveSignals
|
|
1059
|
+
*/
|
|
1060
|
+
batchGetActiveSignals: {
|
|
1061
|
+
methodKind: "unary";
|
|
1062
|
+
input: typeof BatchGetActiveSignalsRequestSchema;
|
|
1063
|
+
output: typeof BatchGetActiveSignalsResponseSchema;
|
|
1064
|
+
};
|
|
1065
|
+
/**
|
|
1066
|
+
* Send data on the transmitter
|
|
1067
|
+
* Valid scopes: runtimeapi/executor, runtimeapi/executor.send
|
|
1068
|
+
*
|
|
1069
|
+
* @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.Send
|
|
1070
|
+
*/
|
|
1071
|
+
send: {
|
|
1072
|
+
methodKind: "unary";
|
|
1073
|
+
input: typeof SendRequestSchema;
|
|
1074
|
+
output: typeof SendResponseSchema;
|
|
1075
|
+
};
|
|
1076
|
+
/**
|
|
1077
|
+
* Dispatch an exchange
|
|
1078
|
+
* Valid scopes: runtimeapi/executor, runtimeapi/executor.exchange
|
|
1079
|
+
*
|
|
1080
|
+
* @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.DispatchExchange
|
|
1081
|
+
*/
|
|
1082
|
+
dispatchExchange: {
|
|
1083
|
+
methodKind: "unary";
|
|
1084
|
+
input: typeof DispatchExchangeRequestSchema;
|
|
1085
|
+
output: typeof DispatchExchangeResponseSchema;
|
|
1086
|
+
};
|
|
1087
|
+
/**
|
|
1088
|
+
* Get the information about the exchange instance with the id
|
|
1089
|
+
* Valid scopes: runtimeapi/executor, runtimeapi/executor.exchange
|
|
1090
|
+
*
|
|
1091
|
+
* @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.GetExchangeOperation
|
|
1092
|
+
*/
|
|
1093
|
+
getExchangeOperation: {
|
|
1094
|
+
methodKind: "unary";
|
|
1095
|
+
input: typeof GetExchangeOperationRequestSchema;
|
|
1096
|
+
output: typeof GetExchangeOperationResponseSchema;
|
|
1097
|
+
};
|
|
1098
|
+
/**
|
|
1099
|
+
* Cancel the execution of an exchange
|
|
1100
|
+
* Valid scopes: runtimeapi/executor, runtimeapi/executor.exchange
|
|
1101
|
+
*
|
|
1102
|
+
* @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.CancelExchangeOperation
|
|
1103
|
+
*/
|
|
1104
|
+
cancelExchangeOperation: {
|
|
1105
|
+
methodKind: "unary";
|
|
1106
|
+
input: typeof CancelExchangeOperationRequestSchema;
|
|
1107
|
+
output: typeof CancelExchangeOperationResponseSchema;
|
|
1108
|
+
};
|
|
1109
|
+
/**
|
|
1110
|
+
* Signel write operations support a large set of operations than batch operations such
|
|
1111
|
+
* as conditional writes.
|
|
1112
|
+
*
|
|
1113
|
+
* @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.WriteStore
|
|
1114
|
+
*/
|
|
1115
|
+
writeStore: {
|
|
1116
|
+
methodKind: "unary";
|
|
1117
|
+
input: typeof ExecutorServiceWriteStoreRequestSchema;
|
|
1118
|
+
output: typeof ExecutorServiceWriteStoreResponseSchema;
|
|
1119
|
+
};
|
|
1120
|
+
/**
|
|
1121
|
+
* Batch write operations on the vertex session store
|
|
1122
|
+
* The scopes depends on the namespace and operation
|
|
1123
|
+
* The write operations are all-or-nothing. Either all of them are committed or none are
|
|
1124
|
+
*
|
|
1125
|
+
* @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.BatchWriteStore
|
|
1126
|
+
*/
|
|
1127
|
+
batchWriteStore: {
|
|
1128
|
+
methodKind: "unary";
|
|
1129
|
+
input: typeof ExecutorServiceBatchWriteStoreRequestSchema;
|
|
1130
|
+
output: typeof ExecutorServiceBatchWriteStoreResponseSchema;
|
|
1131
|
+
};
|
|
1132
|
+
/**
|
|
1133
|
+
* Batch read operations on the vertex session store
|
|
1134
|
+
* The scopes depends on the namespace and operation
|
|
1135
|
+
*
|
|
1136
|
+
* @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.BatchReadStore
|
|
1137
|
+
*/
|
|
1138
|
+
batchReadStore: {
|
|
1139
|
+
methodKind: "unary";
|
|
1140
|
+
input: typeof ExecutorServiceBatchReadStoreRequestSchema;
|
|
1141
|
+
output: typeof ExecutorServiceBatchReadStoreResponseSchema;
|
|
1142
|
+
};
|
|
1143
|
+
/**
|
|
1144
|
+
* Select operations for range queries on the vertex session store
|
|
1145
|
+
* The scopes depends on the namespace and operation
|
|
1146
|
+
*
|
|
1147
|
+
* @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.SelectStore
|
|
1148
|
+
*/
|
|
1149
|
+
selectStore: {
|
|
1150
|
+
methodKind: "unary";
|
|
1151
|
+
input: typeof ExecutorServiceSelectStoreRequestSchema;
|
|
1152
|
+
output: typeof ExecutorServiceSelectStoreResponseSchema;
|
|
1153
|
+
};
|
|
1154
|
+
}>;
|
|
1155
|
+
//# sourceMappingURL=executor_service_pb.d.ts.map
|