@mochabug/adapt-web 0.0.1-beta

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.
Files changed (55) hide show
  1. package/dist/genproto/buf/validate/validate_pb.d.ts +4504 -0
  2. package/dist/genproto/buf/validate/validate_pb.js +422 -0
  3. package/dist/genproto/buf/validate/validate_pb.js.map +1 -0
  4. package/dist/genproto/google/api/annotations_pb.d.ts +13 -0
  5. package/dist/genproto/google/api/annotations_pb.js +27 -0
  6. package/dist/genproto/google/api/annotations_pb.js.map +1 -0
  7. package/dist/genproto/google/api/client_pb.d.ts +795 -0
  8. package/dist/genproto/google/api/client_pb.js +287 -0
  9. package/dist/genproto/google/api/client_pb.js.map +1 -0
  10. package/dist/genproto/google/api/http_pb.d.ts +440 -0
  11. package/dist/genproto/google/api/http_pb.js +34 -0
  12. package/dist/genproto/google/api/http_pb.js.map +1 -0
  13. package/dist/genproto/google/api/launch_stage_pb.d.ts +86 -0
  14. package/dist/genproto/google/api/launch_stage_pb.js +101 -0
  15. package/dist/genproto/google/api/launch_stage_pb.js.map +1 -0
  16. package/dist/genproto/mochabugapis/adapt/automations/v1/automations_pb.d.ts +542 -0
  17. package/dist/genproto/mochabugapis/adapt/automations/v1/automations_pb.js +157 -0
  18. package/dist/genproto/mochabugapis/adapt/automations/v1/automations_pb.js.map +1 -0
  19. package/dist/genproto/mochabugapis/adapt/graph/exchange_pb.d.ts +43 -0
  20. package/dist/genproto/mochabugapis/adapt/graph/exchange_pb.js +26 -0
  21. package/dist/genproto/mochabugapis/adapt/graph/exchange_pb.js.map +1 -0
  22. package/dist/genproto/mochabugapis/adapt/graph/jtd_schema_pb.d.ts +117 -0
  23. package/dist/genproto/mochabugapis/adapt/graph/jtd_schema_pb.js +25 -0
  24. package/dist/genproto/mochabugapis/adapt/graph/jtd_schema_pb.js.map +1 -0
  25. package/dist/genproto/mochabugapis/adapt/graph/receiver_pb.d.ts +39 -0
  26. package/dist/genproto/mochabugapis/adapt/graph/receiver_pb.js +26 -0
  27. package/dist/genproto/mochabugapis/adapt/graph/receiver_pb.js.map +1 -0
  28. package/dist/genproto/mochabugapis/adapt/graph/signal_descriptor_pb.d.ts +43 -0
  29. package/dist/genproto/mochabugapis/adapt/graph/signal_descriptor_pb.js +26 -0
  30. package/dist/genproto/mochabugapis/adapt/graph/signal_descriptor_pb.js.map +1 -0
  31. package/dist/genproto/mochabugapis/adapt/graph/transceiver_pb.d.ts +37 -0
  32. package/dist/genproto/mochabugapis/adapt/graph/transceiver_pb.js +26 -0
  33. package/dist/genproto/mochabugapis/adapt/graph/transceiver_pb.js.map +1 -0
  34. package/dist/genproto/mochabugapis/adapt/graph/transmitter_pb.d.ts +43 -0
  35. package/dist/genproto/mochabugapis/adapt/graph/transmitter_pb.js +26 -0
  36. package/dist/genproto/mochabugapis/adapt/graph/transmitter_pb.js.map +1 -0
  37. package/dist/genproto/mochabugapis/adapt/graph/vertex_config_pb.d.ts +62 -0
  38. package/dist/genproto/mochabugapis/adapt/graph/vertex_config_pb.js +28 -0
  39. package/dist/genproto/mochabugapis/adapt/graph/vertex_config_pb.js.map +1 -0
  40. package/dist/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.d.ts +815 -0
  41. package/dist/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.js +284 -0
  42. package/dist/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.js.map +1 -0
  43. package/dist/genproto/mochabugapis/adapt/runtime/v1/incoming_pb.d.ts +224 -0
  44. package/dist/genproto/mochabugapis/adapt/runtime/v1/incoming_pb.js +75 -0
  45. package/dist/genproto/mochabugapis/adapt/runtime/v1/incoming_pb.js.map +1 -0
  46. package/dist/genproto/mochabugapis/adapt/runtime/v1/runtime_pb.d.ts +1295 -0
  47. package/dist/genproto/mochabugapis/adapt/runtime/v1/runtime_pb.js +346 -0
  48. package/dist/genproto/mochabugapis/adapt/runtime/v1/runtime_pb.js.map +1 -0
  49. package/dist/genproto/mochabugapis/adapt/runtime/v1/store_pb.d.ts +530 -0
  50. package/dist/genproto/mochabugapis/adapt/runtime/v1/store_pb.js +225 -0
  51. package/dist/genproto/mochabugapis/adapt/runtime/v1/store_pb.js.map +1 -0
  52. package/dist/index.d.ts +29 -0
  53. package/dist/index.js +175 -0
  54. package/dist/index.js.map +1 -0
  55. package/package.json +37 -0
@@ -0,0 +1,1295 @@
1
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
2
+ import type { FieldMask, Timestamp, Value } from "@bufbuild/protobuf/wkt";
3
+ import type { GetOp, GlobalResponseStatus, ReadOperationResult, WriteOperation, WriteOperationResult } from "./store_pb";
4
+ import type { JsonObject, Message } from "@bufbuild/protobuf";
5
+ /**
6
+ * Describes the file mochabugapis/adapt/runtime/v1/runtime.proto.
7
+ */
8
+ export declare const file_mochabugapis_adapt_runtime_v1_runtime: GenFile;
9
+ /**
10
+ * The request to apply operations to the execution store
11
+ *
12
+ * @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceBatchWriteStoreRequest
13
+ */
14
+ export type ExecutorServiceBatchWriteStoreRequest = Message<"mochabugapis.adapt.runtime.v1.ExecutorServiceBatchWriteStoreRequest"> & {
15
+ /**
16
+ * A batch of operations to perform in the executor store.
17
+ * Refer to the comments on the `Namespace` enum for details on scope requirements.
18
+ *
19
+ * @generated from field: repeated mochabugapis.adapt.runtime.v1.WriteOperation operations = 1;
20
+ */
21
+ operations: WriteOperation[];
22
+ /**
23
+ * The namespace whee the batch is applied.
24
+ *
25
+ * @generated from field: mochabugapis.adapt.runtime.v1.Namespace namespace = 2;
26
+ */
27
+ namespace: Namespace;
28
+ };
29
+ /**
30
+ * Describes the message mochabugapis.adapt.runtime.v1.ExecutorServiceBatchWriteStoreRequest.
31
+ * Use `create(ExecutorServiceBatchWriteStoreRequestSchema)` to create a new message.
32
+ */
33
+ export declare const ExecutorServiceBatchWriteStoreRequestSchema: GenMessage<ExecutorServiceBatchWriteStoreRequest>;
34
+ /**
35
+ * The response of the batch store
36
+ *
37
+ * @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceBatchWriteStoreResponse
38
+ */
39
+ export type ExecutorServiceBatchWriteStoreResponse = Message<"mochabugapis.adapt.runtime.v1.ExecutorServiceBatchWriteStoreResponse"> & {
40
+ /**
41
+ * Represents the overall batch operation status
42
+ *
43
+ * @generated from field: mochabugapis.adapt.runtime.v1.GlobalResponseStatus global_status = 1;
44
+ */
45
+ globalStatus: GlobalResponseStatus;
46
+ /**
47
+ * List of results for each operation
48
+ *
49
+ * @generated from field: repeated mochabugapis.adapt.runtime.v1.WriteOperationResult results = 2;
50
+ */
51
+ results: WriteOperationResult[];
52
+ };
53
+ /**
54
+ * Describes the message mochabugapis.adapt.runtime.v1.ExecutorServiceBatchWriteStoreResponse.
55
+ * Use `create(ExecutorServiceBatchWriteStoreResponseSchema)` to create a new message.
56
+ */
57
+ export declare const ExecutorServiceBatchWriteStoreResponseSchema: GenMessage<ExecutorServiceBatchWriteStoreResponse>;
58
+ /**
59
+ * The request to apply operations to the execution store
60
+ *
61
+ * @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceBatchReadStoreRequest
62
+ */
63
+ export type ExecutorServiceBatchReadStoreRequest = Message<"mochabugapis.adapt.runtime.v1.ExecutorServiceBatchReadStoreRequest"> & {
64
+ /**
65
+ * A batch of operations to perform in the executor store.
66
+ * Refer to the comments on the `Namespace` enum for details on scope requirements.
67
+ *
68
+ * @generated from field: repeated mochabugapis.adapt.runtime.v1.GetOp operations = 1;
69
+ */
70
+ operations: GetOp[];
71
+ /**
72
+ * The namespace whee the batch is applied.
73
+ *
74
+ * @generated from field: mochabugapis.adapt.runtime.v1.Namespace namespace = 2;
75
+ */
76
+ namespace: Namespace;
77
+ };
78
+ /**
79
+ * Describes the message mochabugapis.adapt.runtime.v1.ExecutorServiceBatchReadStoreRequest.
80
+ * Use `create(ExecutorServiceBatchReadStoreRequestSchema)` to create a new message.
81
+ */
82
+ export declare const ExecutorServiceBatchReadStoreRequestSchema: GenMessage<ExecutorServiceBatchReadStoreRequest>;
83
+ /**
84
+ * The response of the batch store
85
+ *
86
+ * @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceBatchReadStoreResponse
87
+ */
88
+ export type ExecutorServiceBatchReadStoreResponse = Message<"mochabugapis.adapt.runtime.v1.ExecutorServiceBatchReadStoreResponse"> & {
89
+ /**
90
+ * Represents the overall batch operation status
91
+ *
92
+ * @generated from field: mochabugapis.adapt.runtime.v1.GlobalResponseStatus global_status = 1;
93
+ */
94
+ globalStatus: GlobalResponseStatus;
95
+ /**
96
+ * List of results for each operation
97
+ *
98
+ * @generated from field: repeated mochabugapis.adapt.runtime.v1.ReadOperationResult results = 2;
99
+ */
100
+ results: ReadOperationResult[];
101
+ };
102
+ /**
103
+ * Describes the message mochabugapis.adapt.runtime.v1.ExecutorServiceBatchReadStoreResponse.
104
+ * Use `create(ExecutorServiceBatchReadStoreResponseSchema)` to create a new message.
105
+ */
106
+ export declare const ExecutorServiceBatchReadStoreResponseSchema: GenMessage<ExecutorServiceBatchReadStoreResponse>;
107
+ /**
108
+ * A request to start streaming
109
+ *
110
+ * @generated from message mochabugapis.adapt.runtime.v1.StartStreamRequest
111
+ */
112
+ export type StartStreamRequest = Message<"mochabugapis.adapt.runtime.v1.StartStreamRequest"> & {
113
+ /**
114
+ * The name of the stream to start
115
+ *
116
+ * @generated from field: string name = 1;
117
+ */
118
+ name: string;
119
+ /**
120
+ * The receiver to send the signals on
121
+ *
122
+ * @generated from field: string receiver = 2;
123
+ */
124
+ receiver: string;
125
+ /**
126
+ * The signals to send over the receiver
127
+ *
128
+ * @generated from field: map<string, google.protobuf.Value> signals = 3;
129
+ */
130
+ signals: {
131
+ [key: string]: Value;
132
+ };
133
+ };
134
+ /**
135
+ * Describes the message mochabugapis.adapt.runtime.v1.StartStreamRequest.
136
+ * Use `create(StartStreamRequestSchema)` to create a new message.
137
+ */
138
+ export declare const StartStreamRequestSchema: GenMessage<StartStreamRequest>;
139
+ /**
140
+ * The response of starting a stream
141
+ *
142
+ * @generated from message mochabugapis.adapt.runtime.v1.StartStreamResponse
143
+ */
144
+ export type StartStreamResponse = Message<"mochabugapis.adapt.runtime.v1.StartStreamResponse"> & {};
145
+ /**
146
+ * Describes the message mochabugapis.adapt.runtime.v1.StartStreamResponse.
147
+ * Use `create(StartStreamResponseSchema)` to create a new message.
148
+ */
149
+ export declare const StartStreamResponseSchema: GenMessage<StartStreamResponse>;
150
+ /**
151
+ * A request to cancel a stream
152
+ *
153
+ * @generated from message mochabugapis.adapt.runtime.v1.CancelStreamRequest
154
+ */
155
+ export type CancelStreamRequest = Message<"mochabugapis.adapt.runtime.v1.CancelStreamRequest"> & {
156
+ /**
157
+ * The name of the stream to cancel
158
+ *
159
+ * @generated from field: string name = 1;
160
+ */
161
+ name: string;
162
+ };
163
+ /**
164
+ * Describes the message mochabugapis.adapt.runtime.v1.CancelStreamRequest.
165
+ * Use `create(CancelStreamRequestSchema)` to create a new message.
166
+ */
167
+ export declare const CancelStreamRequestSchema: GenMessage<CancelStreamRequest>;
168
+ /**
169
+ * The response of cancelling a stream
170
+ *
171
+ * @generated from message mochabugapis.adapt.runtime.v1.CancelStreamResponse
172
+ */
173
+ export type CancelStreamResponse = Message<"mochabugapis.adapt.runtime.v1.CancelStreamResponse"> & {};
174
+ /**
175
+ * Describes the message mochabugapis.adapt.runtime.v1.CancelStreamResponse.
176
+ * Use `create(CancelStreamResponseSchema)` to create a new message.
177
+ */
178
+ export declare const CancelStreamResponseSchema: GenMessage<CancelStreamResponse>;
179
+ /**
180
+ * A request to cancel a running procedure operation
181
+ *
182
+ * @generated from message mochabugapis.adapt.runtime.v1.CancelProcedureOperationRequest
183
+ */
184
+ export type CancelProcedureOperationRequest = Message<"mochabugapis.adapt.runtime.v1.CancelProcedureOperationRequest"> & {
185
+ /**
186
+ * The id of the operation
187
+ *
188
+ * @generated from field: string id = 1;
189
+ */
190
+ id: string;
191
+ };
192
+ /**
193
+ * Describes the message mochabugapis.adapt.runtime.v1.CancelProcedureOperationRequest.
194
+ * Use `create(CancelProcedureOperationRequestSchema)` to create a new message.
195
+ */
196
+ export declare const CancelProcedureOperationRequestSchema: GenMessage<CancelProcedureOperationRequest>;
197
+ /**
198
+ * The response of cancelling the procedure operation
199
+ *
200
+ * @generated from message mochabugapis.adapt.runtime.v1.CancelProcedureOperationResponse
201
+ */
202
+ export type CancelProcedureOperationResponse = Message<"mochabugapis.adapt.runtime.v1.CancelProcedureOperationResponse"> & {};
203
+ /**
204
+ * Describes the message mochabugapis.adapt.runtime.v1.CancelProcedureOperationResponse.
205
+ * Use `create(CancelProcedureOperationResponseSchema)` to create a new message.
206
+ */
207
+ export declare const CancelProcedureOperationResponseSchema: GenMessage<CancelProcedureOperationResponse>;
208
+ /**
209
+ * A request to check the status of an operation
210
+ *
211
+ * @generated from message mochabugapis.adapt.runtime.v1.GetProcedureOperationRequest
212
+ */
213
+ export type GetProcedureOperationRequest = Message<"mochabugapis.adapt.runtime.v1.GetProcedureOperationRequest"> & {
214
+ /**
215
+ * The id of the operation
216
+ *
217
+ * @generated from field: string id = 1;
218
+ */
219
+ id: string;
220
+ };
221
+ /**
222
+ * Describes the message mochabugapis.adapt.runtime.v1.GetProcedureOperationRequest.
223
+ * Use `create(GetProcedureOperationRequestSchema)` to create a new message.
224
+ */
225
+ export declare const GetProcedureOperationRequestSchema: GenMessage<GetProcedureOperationRequest>;
226
+ /**
227
+ * The get operation response
228
+ *
229
+ * @generated from message mochabugapis.adapt.runtime.v1.GetProcedureOperationResponse
230
+ */
231
+ export type GetProcedureOperationResponse = Message<"mochabugapis.adapt.runtime.v1.GetProcedureOperationResponse"> & {
232
+ /**
233
+ * The actual operation
234
+ *
235
+ * @generated from field: mochabugapis.adapt.runtime.v1.ProcedureOperation item = 1;
236
+ */
237
+ item?: ProcedureOperation;
238
+ };
239
+ /**
240
+ * Describes the message mochabugapis.adapt.runtime.v1.GetProcedureOperationResponse.
241
+ * Use `create(GetProcedureOperationResponseSchema)` to create a new message.
242
+ */
243
+ export declare const GetProcedureOperationResponseSchema: GenMessage<GetProcedureOperationResponse>;
244
+ /**
245
+ * A request to start execute a procedure
246
+ *
247
+ * @generated from message mochabugapis.adapt.runtime.v1.ExecuteProcedureRequest
248
+ */
249
+ export type ExecuteProcedureRequest = Message<"mochabugapis.adapt.runtime.v1.ExecuteProcedureRequest"> & {
250
+ /**
251
+ * The name of the procedure to execute
252
+ *
253
+ * @generated from field: string name = 1;
254
+ */
255
+ name: string;
256
+ /**
257
+ * The receiver to send the signals on
258
+ *
259
+ * @generated from field: string receiver = 2;
260
+ */
261
+ receiver: string;
262
+ /**
263
+ * The signals to send over the receiver
264
+ *
265
+ * @generated from field: map<string, google.protobuf.Value> signals = 3;
266
+ */
267
+ signals: {
268
+ [key: string]: Value;
269
+ };
270
+ };
271
+ /**
272
+ * Describes the message mochabugapis.adapt.runtime.v1.ExecuteProcedureRequest.
273
+ * Use `create(ExecuteProcedureRequestSchema)` to create a new message.
274
+ */
275
+ export declare const ExecuteProcedureRequestSchema: GenMessage<ExecuteProcedureRequest>;
276
+ /**
277
+ * The response of the procedure execution
278
+ * Just like streams, this is an async operation
279
+ *
280
+ * @generated from message mochabugapis.adapt.runtime.v1.ExecuteProcedureResponse
281
+ */
282
+ export type ExecuteProcedureResponse = Message<"mochabugapis.adapt.runtime.v1.ExecuteProcedureResponse"> & {
283
+ /**
284
+ * The id of the operation
285
+ *
286
+ * @generated from field: mochabugapis.adapt.runtime.v1.ProcedureOperation procedure = 1;
287
+ */
288
+ procedure?: ProcedureOperation;
289
+ };
290
+ /**
291
+ * Describes the message mochabugapis.adapt.runtime.v1.ExecuteProcedureResponse.
292
+ * Use `create(ExecuteProcedureResponseSchema)` to create a new message.
293
+ */
294
+ export declare const ExecuteProcedureResponseSchema: GenMessage<ExecuteProcedureResponse>;
295
+ /**
296
+ * A representation of a procedure
297
+ *
298
+ * @generated from message mochabugapis.adapt.runtime.v1.ProcedureOperation
299
+ */
300
+ export type ProcedureOperation = Message<"mochabugapis.adapt.runtime.v1.ProcedureOperation"> & {
301
+ /**
302
+ * The name of the procedure
303
+ *
304
+ * @generated from field: string name = 1;
305
+ */
306
+ name: string;
307
+ /**
308
+ * The id of the operation
309
+ *
310
+ * @generated from field: string id = 2;
311
+ */
312
+ id: string;
313
+ /**
314
+ * True if the procedure is done executing
315
+ * The result is not set for procedures with zero transmitters even
316
+ * though the execution has finished. I.e. done == true
317
+ *
318
+ * @generated from field: bool done = 3;
319
+ */
320
+ done: boolean;
321
+ /**
322
+ * The result of the procedure
323
+ *
324
+ * @generated from field: optional mochabugapis.adapt.runtime.v1.ProcedureOperation.Result result = 4;
325
+ */
326
+ result?: ProcedureOperation_Result;
327
+ };
328
+ /**
329
+ * Describes the message mochabugapis.adapt.runtime.v1.ProcedureOperation.
330
+ * Use `create(ProcedureOperationSchema)` to create a new message.
331
+ */
332
+ export declare const ProcedureOperationSchema: GenMessage<ProcedureOperation>;
333
+ /**
334
+ * The result of executing a procedure
335
+ *
336
+ * @generated from message mochabugapis.adapt.runtime.v1.ProcedureOperation.Result
337
+ */
338
+ export type ProcedureOperation_Result = Message<"mochabugapis.adapt.runtime.v1.ProcedureOperation.Result"> & {
339
+ /**
340
+ * The name of the transmitter pushing the resulting signals
341
+ *
342
+ * @generated from field: string transmitter = 1;
343
+ */
344
+ transmitter: string;
345
+ /**
346
+ * The signals to send over the transmitter
347
+ *
348
+ * @generated from field: map<string, google.protobuf.Value> signals = 2;
349
+ */
350
+ signals: {
351
+ [key: string]: Value;
352
+ };
353
+ };
354
+ /**
355
+ * Describes the message mochabugapis.adapt.runtime.v1.ProcedureOperation.Result.
356
+ * Use `create(ProcedureOperation_ResultSchema)` to create a new message.
357
+ */
358
+ export declare const ProcedureOperation_ResultSchema: GenMessage<ProcedureOperation_Result>;
359
+ /**
360
+ * The complete execution request message
361
+ *
362
+ * @generated from message mochabugapis.adapt.runtime.v1.CompleteExecutionRequest
363
+ */
364
+ export type CompleteExecutionRequest = Message<"mochabugapis.adapt.runtime.v1.CompleteExecutionRequest"> & {
365
+ /**
366
+ * The transmitter to fire the signals on
367
+ *
368
+ * @generated from field: string transmitter = 1;
369
+ */
370
+ transmitter: string;
371
+ /**
372
+ * The signals to send over the transmitter
373
+ *
374
+ * @generated from field: map<string, google.protobuf.Value> signals = 2;
375
+ */
376
+ signals: {
377
+ [key: string]: Value;
378
+ };
379
+ };
380
+ /**
381
+ * Describes the message mochabugapis.adapt.runtime.v1.CompleteExecutionRequest.
382
+ * Use `create(CompleteExecutionRequestSchema)` to create a new message.
383
+ */
384
+ export declare const CompleteExecutionRequestSchema: GenMessage<CompleteExecutionRequest>;
385
+ /**
386
+ * The complete execution response message
387
+ *
388
+ * @generated from message mochabugapis.adapt.runtime.v1.CompleteExecutionResponse
389
+ */
390
+ export type CompleteExecutionResponse = Message<"mochabugapis.adapt.runtime.v1.CompleteExecutionResponse"> & {};
391
+ /**
392
+ * Describes the message mochabugapis.adapt.runtime.v1.CompleteExecutionResponse.
393
+ * Use `create(CompleteExecutionResponseSchema)` to create a new message.
394
+ */
395
+ export declare const CompleteExecutionResponseSchema: GenMessage<CompleteExecutionResponse>;
396
+ /**
397
+ * The request to fetch multiple signals on the connected receiver
398
+ *
399
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetBoundReceiverSignalsRequest
400
+ */
401
+ export type BatchGetBoundReceiverSignalsRequest = Message<"mochabugapis.adapt.runtime.v1.BatchGetBoundReceiverSignalsRequest"> & {
402
+ /**
403
+ * The names of the signals to fetch
404
+ * An empty array will result in only fetching the connected receiver
405
+ *
406
+ * @generated from field: repeated string names = 1;
407
+ */
408
+ names: string[];
409
+ };
410
+ /**
411
+ * Describes the message mochabugapis.adapt.runtime.v1.BatchGetBoundReceiverSignalsRequest.
412
+ * Use `create(BatchGetBoundReceiverSignalsRequestSchema)` to create a new message.
413
+ */
414
+ export declare const BatchGetBoundReceiverSignalsRequestSchema: GenMessage<BatchGetBoundReceiverSignalsRequest>;
415
+ /**
416
+ * The response of getting multiple signals on the connected receiver
417
+ *
418
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetBoundReceiverSignalsResponse
419
+ */
420
+ export type BatchGetBoundReceiverSignalsResponse = Message<"mochabugapis.adapt.runtime.v1.BatchGetBoundReceiverSignalsResponse"> & {
421
+ /**
422
+ * The returned items, items not found are ignored
423
+ *
424
+ * @generated from field: map<string, google.protobuf.Value> items = 1;
425
+ */
426
+ items: {
427
+ [key: string]: Value;
428
+ };
429
+ /**
430
+ * The connected receiver
431
+ *
432
+ * @generated from field: string receiver = 2;
433
+ */
434
+ receiver: string;
435
+ };
436
+ /**
437
+ * Describes the message mochabugapis.adapt.runtime.v1.BatchGetBoundReceiverSignalsResponse.
438
+ * Use `create(BatchGetBoundReceiverSignalsResponseSchema)` to create a new message.
439
+ */
440
+ export declare const BatchGetBoundReceiverSignalsResponseSchema: GenMessage<BatchGetBoundReceiverSignalsResponse>;
441
+ /**
442
+ * A request to fetch the signals on the connected receiver
443
+ *
444
+ * @generated from message mochabugapis.adapt.runtime.v1.ListBoundReceiverSignalsRequest
445
+ */
446
+ export type ListBoundReceiverSignalsRequest = Message<"mochabugapis.adapt.runtime.v1.ListBoundReceiverSignalsRequest"> & {
447
+ /**
448
+ * The page size, defaults to 50
449
+ *
450
+ * @generated from field: optional int32 page_size = 1;
451
+ */
452
+ pageSize?: number;
453
+ /**
454
+ * The cursor where to start the listing, defaults to beginning
455
+ * If the cursor is set, filter and order_by are ignored
456
+ *
457
+ * @generated from field: optional string cursor = 2;
458
+ */
459
+ cursor?: string;
460
+ /**
461
+ * True if you want the result in descending order
462
+ *
463
+ * @generated from field: optional bool order_descending = 3;
464
+ */
465
+ orderDescending?: boolean;
466
+ };
467
+ /**
468
+ * Describes the message mochabugapis.adapt.runtime.v1.ListBoundReceiverSignalsRequest.
469
+ * Use `create(ListBoundReceiverSignalsRequestSchema)` to create a new message.
470
+ */
471
+ export declare const ListBoundReceiverSignalsRequestSchema: GenMessage<ListBoundReceiverSignalsRequest>;
472
+ /**
473
+ * The response of fetching the recieved signals
474
+ *
475
+ * @generated from message mochabugapis.adapt.runtime.v1.ListBoundReceiverSignalsResponse
476
+ */
477
+ export type ListBoundReceiverSignalsResponse = Message<"mochabugapis.adapt.runtime.v1.ListBoundReceiverSignalsResponse"> & {
478
+ /**
479
+ * The actual signals on the receiver
480
+ *
481
+ * @generated from field: map<string, google.protobuf.Value> signals = 1;
482
+ */
483
+ signals: {
484
+ [key: string]: Value;
485
+ };
486
+ /**
487
+ * The receiver the signals are fetched on
488
+ * The receiver must always be set, otherwise we cannot be inside a executor
489
+ *
490
+ * @generated from field: string receiver = 2;
491
+ */
492
+ receiver: string;
493
+ /**
494
+ * Use this cursor in the next request to go through the collection
495
+ * Set if there's more data
496
+ *
497
+ * @generated from field: optional string next_cursor = 3;
498
+ */
499
+ nextCursor?: string;
500
+ };
501
+ /**
502
+ * Describes the message mochabugapis.adapt.runtime.v1.ListBoundReceiverSignalsResponse.
503
+ * Use `create(ListBoundReceiverSignalsResponseSchema)` to create a new message.
504
+ */
505
+ export declare const ListBoundReceiverSignalsResponseSchema: GenMessage<ListBoundReceiverSignalsResponse>;
506
+ /**
507
+ * The vertex config request
508
+ *
509
+ * @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceGetVertexConfigRequest
510
+ */
511
+ export type ExecutorServiceGetVertexConfigRequest = Message<"mochabugapis.adapt.runtime.v1.ExecutorServiceGetVertexConfigRequest"> & {
512
+ /**
513
+ * An optional field mask
514
+ *
515
+ * @generated from field: optional google.protobuf.FieldMask field_mask = 1;
516
+ */
517
+ fieldMask?: FieldMask;
518
+ };
519
+ /**
520
+ * Describes the message mochabugapis.adapt.runtime.v1.ExecutorServiceGetVertexConfigRequest.
521
+ * Use `create(ExecutorServiceGetVertexConfigRequestSchema)` to create a new message.
522
+ */
523
+ export declare const ExecutorServiceGetVertexConfigRequestSchema: GenMessage<ExecutorServiceGetVertexConfigRequest>;
524
+ /**
525
+ * The vertex config response
526
+ *
527
+ * @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceGetVertexConfigResponse
528
+ */
529
+ export type ExecutorServiceGetVertexConfigResponse = Message<"mochabugapis.adapt.runtime.v1.ExecutorServiceGetVertexConfigResponse"> & {
530
+ /**
531
+ * The vertex config
532
+ *
533
+ * @generated from field: google.protobuf.Struct item = 1;
534
+ */
535
+ item?: JsonObject;
536
+ };
537
+ /**
538
+ * Describes the message mochabugapis.adapt.runtime.v1.ExecutorServiceGetVertexConfigResponse.
539
+ * Use `create(ExecutorServiceGetVertexConfigResponseSchema)` to create a new message.
540
+ */
541
+ export declare const ExecutorServiceGetVertexConfigResponseSchema: GenMessage<ExecutorServiceGetVertexConfigResponse>;
542
+ /**
543
+ * The batch store operation for the configuration store
544
+ *
545
+ * @generated from message mochabugapis.adapt.runtime.v1.ConfiguratorServiceBatchWriteStoreRequest
546
+ */
547
+ export type ConfiguratorServiceBatchWriteStoreRequest = Message<"mochabugapis.adapt.runtime.v1.ConfiguratorServiceBatchWriteStoreRequest"> & {
548
+ /**
549
+ * A batch of operations to perform in the configurator store.
550
+ * Refer to the comments on the `StoreNamespace` enum for details on scope requirements.
551
+ *
552
+ * @generated from field: repeated mochabugapis.adapt.runtime.v1.WriteOperation operations = 1;
553
+ */
554
+ operations: WriteOperation[];
555
+ /**
556
+ * The namespace where the batch is applied.
557
+ *
558
+ * @generated from field: mochabugapis.adapt.runtime.v1.Namespace namespace = 2;
559
+ */
560
+ namespace: Namespace;
561
+ };
562
+ /**
563
+ * Describes the message mochabugapis.adapt.runtime.v1.ConfiguratorServiceBatchWriteStoreRequest.
564
+ * Use `create(ConfiguratorServiceBatchWriteStoreRequestSchema)` to create a new message.
565
+ */
566
+ export declare const ConfiguratorServiceBatchWriteStoreRequestSchema: GenMessage<ConfiguratorServiceBatchWriteStoreRequest>;
567
+ /**
568
+ * The response of the batch store
569
+ *
570
+ * @generated from message mochabugapis.adapt.runtime.v1.ConfiguratorServiceBatchWriteStoreResponse
571
+ */
572
+ export type ConfiguratorServiceBatchWriteStoreResponse = Message<"mochabugapis.adapt.runtime.v1.ConfiguratorServiceBatchWriteStoreResponse"> & {
573
+ /**
574
+ * Represents the overall batch operation status
575
+ *
576
+ * @generated from field: mochabugapis.adapt.runtime.v1.GlobalResponseStatus global_status = 1;
577
+ */
578
+ globalStatus: GlobalResponseStatus;
579
+ /**
580
+ * List of results for each operation
581
+ *
582
+ * @generated from field: repeated mochabugapis.adapt.runtime.v1.WriteOperationResult results = 2;
583
+ */
584
+ results: WriteOperationResult[];
585
+ };
586
+ /**
587
+ * Describes the message mochabugapis.adapt.runtime.v1.ConfiguratorServiceBatchWriteStoreResponse.
588
+ * Use `create(ConfiguratorServiceBatchWriteStoreResponseSchema)` to create a new message.
589
+ */
590
+ export declare const ConfiguratorServiceBatchWriteStoreResponseSchema: GenMessage<ConfiguratorServiceBatchWriteStoreResponse>;
591
+ /**
592
+ * The batch store operation for the configuration store
593
+ *
594
+ * @generated from message mochabugapis.adapt.runtime.v1.ConfiguratorServiceBatchReadStoreRequest
595
+ */
596
+ export type ConfiguratorServiceBatchReadStoreRequest = Message<"mochabugapis.adapt.runtime.v1.ConfiguratorServiceBatchReadStoreRequest"> & {
597
+ /**
598
+ * A batch of operations to perform in the configurator store.
599
+ * Refer to the comments on the `StoreNamespace` enum for details on scope requirements.
600
+ *
601
+ * @generated from field: repeated mochabugapis.adapt.runtime.v1.GetOp operations = 1;
602
+ */
603
+ operations: GetOp[];
604
+ /**
605
+ * The namespace where the batch is applied.
606
+ *
607
+ * @generated from field: mochabugapis.adapt.runtime.v1.Namespace namespace = 2;
608
+ */
609
+ namespace: Namespace;
610
+ };
611
+ /**
612
+ * Describes the message mochabugapis.adapt.runtime.v1.ConfiguratorServiceBatchReadStoreRequest.
613
+ * Use `create(ConfiguratorServiceBatchReadStoreRequestSchema)` to create a new message.
614
+ */
615
+ export declare const ConfiguratorServiceBatchReadStoreRequestSchema: GenMessage<ConfiguratorServiceBatchReadStoreRequest>;
616
+ /**
617
+ * The response of the batch store
618
+ *
619
+ * @generated from message mochabugapis.adapt.runtime.v1.ConfiguratorServiceBatchReadStoreResponse
620
+ */
621
+ export type ConfiguratorServiceBatchReadStoreResponse = Message<"mochabugapis.adapt.runtime.v1.ConfiguratorServiceBatchReadStoreResponse"> & {
622
+ /**
623
+ * Represents the overall batch operation status
624
+ *
625
+ * @generated from field: mochabugapis.adapt.runtime.v1.GlobalResponseStatus global_status = 1;
626
+ */
627
+ globalStatus: GlobalResponseStatus;
628
+ /**
629
+ * List of results for each operation
630
+ *
631
+ * @generated from field: repeated mochabugapis.adapt.runtime.v1.ReadOperationResult results = 2;
632
+ */
633
+ results: ReadOperationResult[];
634
+ };
635
+ /**
636
+ * Describes the message mochabugapis.adapt.runtime.v1.ConfiguratorServiceBatchReadStoreResponse.
637
+ * Use `create(ConfiguratorServiceBatchReadStoreResponseSchema)` to create a new message.
638
+ */
639
+ export declare const ConfiguratorServiceBatchReadStoreResponseSchema: GenMessage<ConfiguratorServiceBatchReadStoreResponse>;
640
+ /**
641
+ * The get vertex request
642
+ *
643
+ * @generated from message mochabugapis.adapt.runtime.v1.ConfiguratorServiceGetVertexConfigRequest
644
+ */
645
+ export type ConfiguratorServiceGetVertexConfigRequest = Message<"mochabugapis.adapt.runtime.v1.ConfiguratorServiceGetVertexConfigRequest"> & {
646
+ /**
647
+ * A field mask to apply to the item
648
+ *
649
+ * @generated from field: optional google.protobuf.FieldMask field_mask = 1;
650
+ */
651
+ fieldMask?: FieldMask;
652
+ };
653
+ /**
654
+ * Describes the message mochabugapis.adapt.runtime.v1.ConfiguratorServiceGetVertexConfigRequest.
655
+ * Use `create(ConfiguratorServiceGetVertexConfigRequestSchema)` to create a new message.
656
+ */
657
+ export declare const ConfiguratorServiceGetVertexConfigRequestSchema: GenMessage<ConfiguratorServiceGetVertexConfigRequest>;
658
+ /**
659
+ * The get vertex response
660
+ *
661
+ * @generated from message mochabugapis.adapt.runtime.v1.ConfiguratorServiceGetVertexConfigResponse
662
+ */
663
+ export type ConfiguratorServiceGetVertexConfigResponse = Message<"mochabugapis.adapt.runtime.v1.ConfiguratorServiceGetVertexConfigResponse"> & {
664
+ /**
665
+ * The vertex configuration
666
+ *
667
+ * @generated from field: google.protobuf.Struct item = 1;
668
+ */
669
+ item?: JsonObject;
670
+ };
671
+ /**
672
+ * Describes the message mochabugapis.adapt.runtime.v1.ConfiguratorServiceGetVertexConfigResponse.
673
+ * Use `create(ConfiguratorServiceGetVertexConfigResponseSchema)` to create a new message.
674
+ */
675
+ export declare const ConfiguratorServiceGetVertexConfigResponseSchema: GenMessage<ConfiguratorServiceGetVertexConfigResponse>;
676
+ /**
677
+ * The update vertex request
678
+ *
679
+ * @generated from message mochabugapis.adapt.runtime.v1.PatchVertexConfigRequest
680
+ */
681
+ export type PatchVertexConfigRequest = Message<"mochabugapis.adapt.runtime.v1.PatchVertexConfigRequest"> & {
682
+ /**
683
+ * The actual vertex config to apply
684
+ * Using RFC 7396 JSON Merge Patch
685
+ *
686
+ * @generated from field: google.protobuf.Struct item = 1;
687
+ */
688
+ item?: JsonObject;
689
+ };
690
+ /**
691
+ * Describes the message mochabugapis.adapt.runtime.v1.PatchVertexConfigRequest.
692
+ * Use `create(PatchVertexConfigRequestSchema)` to create a new message.
693
+ */
694
+ export declare const PatchVertexConfigRequestSchema: GenMessage<PatchVertexConfigRequest>;
695
+ /**
696
+ * The update vertex response
697
+ *
698
+ * @generated from message mochabugapis.adapt.runtime.v1.PatchVertexConfigResponse
699
+ */
700
+ export type PatchVertexConfigResponse = Message<"mochabugapis.adapt.runtime.v1.PatchVertexConfigResponse"> & {
701
+ /**
702
+ * The vertex configuration
703
+ *
704
+ * @generated from field: google.protobuf.Struct item = 1;
705
+ */
706
+ item?: JsonObject;
707
+ };
708
+ /**
709
+ * Describes the message mochabugapis.adapt.runtime.v1.PatchVertexConfigResponse.
710
+ * Use `create(PatchVertexConfigResponseSchema)` to create a new message.
711
+ */
712
+ export declare const PatchVertexConfigResponseSchema: GenMessage<PatchVertexConfigResponse>;
713
+ /**
714
+ * The post vertex request
715
+ *
716
+ * @generated from message mochabugapis.adapt.runtime.v1.PostVertexConfigRequest
717
+ */
718
+ export type PostVertexConfigRequest = Message<"mochabugapis.adapt.runtime.v1.PostVertexConfigRequest"> & {
719
+ /**
720
+ * The actual vertex config to apply
721
+ *
722
+ * @generated from field: google.protobuf.Struct item = 1;
723
+ */
724
+ item?: JsonObject;
725
+ };
726
+ /**
727
+ * Describes the message mochabugapis.adapt.runtime.v1.PostVertexConfigRequest.
728
+ * Use `create(PostVertexConfigRequestSchema)` to create a new message.
729
+ */
730
+ export declare const PostVertexConfigRequestSchema: GenMessage<PostVertexConfigRequest>;
731
+ /**
732
+ * The post vertex response
733
+ *
734
+ * @generated from message mochabugapis.adapt.runtime.v1.PostVertexConfigResponse
735
+ */
736
+ export type PostVertexConfigResponse = Message<"mochabugapis.adapt.runtime.v1.PostVertexConfigResponse"> & {};
737
+ /**
738
+ * Describes the message mochabugapis.adapt.runtime.v1.PostVertexConfigResponse.
739
+ * Use `create(PostVertexConfigResponseSchema)` to create a new message.
740
+ */
741
+ export declare const PostVertexConfigResponseSchema: GenMessage<PostVertexConfigResponse>;
742
+ /**
743
+ * Check if access token is ok
744
+ *
745
+ * @generated from message mochabugapis.adapt.runtime.v1.AuthorizeRequest
746
+ */
747
+ export type AuthorizeRequest = Message<"mochabugapis.adapt.runtime.v1.AuthorizeRequest"> & {
748
+ /**
749
+ * The access token
750
+ *
751
+ * @generated from field: string access_token = 1;
752
+ */
753
+ accessToken: string;
754
+ };
755
+ /**
756
+ * Describes the message mochabugapis.adapt.runtime.v1.AuthorizeRequest.
757
+ * Use `create(AuthorizeRequestSchema)` to create a new message.
758
+ */
759
+ export declare const AuthorizeRequestSchema: GenMessage<AuthorizeRequest>;
760
+ /**
761
+ * The response of authorizing
762
+ *
763
+ * @generated from message mochabugapis.adapt.runtime.v1.AuthorizeResponse
764
+ */
765
+ export type AuthorizeResponse = Message<"mochabugapis.adapt.runtime.v1.AuthorizeResponse"> & {};
766
+ /**
767
+ * Describes the message mochabugapis.adapt.runtime.v1.AuthorizeResponse.
768
+ * Use `create(AuthorizeResponseSchema)` to create a new message.
769
+ */
770
+ export declare const AuthorizeResponseSchema: GenMessage<AuthorizeResponse>;
771
+ /**
772
+ * The request to get multiple environmental variabes
773
+ *
774
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetVariablesRequest
775
+ */
776
+ export type BatchGetVariablesRequest = Message<"mochabugapis.adapt.runtime.v1.BatchGetVariablesRequest"> & {
777
+ /**
778
+ * The names of the variables to fetch
779
+ *
780
+ * @generated from field: repeated string names = 1;
781
+ */
782
+ names: string[];
783
+ };
784
+ /**
785
+ * Describes the message mochabugapis.adapt.runtime.v1.BatchGetVariablesRequest.
786
+ * Use `create(BatchGetVariablesRequestSchema)` to create a new message.
787
+ */
788
+ export declare const BatchGetVariablesRequestSchema: GenMessage<BatchGetVariablesRequest>;
789
+ /**
790
+ * The response of getting multiple environmental variabes
791
+ *
792
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetVariablesResponse
793
+ */
794
+ export type BatchGetVariablesResponse = Message<"mochabugapis.adapt.runtime.v1.BatchGetVariablesResponse"> & {
795
+ /**
796
+ * name, value pairs
797
+ *
798
+ * @generated from field: map<string, string> items = 1;
799
+ */
800
+ items: {
801
+ [key: string]: string;
802
+ };
803
+ };
804
+ /**
805
+ * Describes the message mochabugapis.adapt.runtime.v1.BatchGetVariablesResponse.
806
+ * Use `create(BatchGetVariablesResponseSchema)` to create a new message.
807
+ */
808
+ export declare const BatchGetVariablesResponseSchema: GenMessage<BatchGetVariablesResponse>;
809
+ /**
810
+ * The request to get multiple environmental variabes
811
+ *
812
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetUserVariablesRequest
813
+ */
814
+ export type BatchGetUserVariablesRequest = Message<"mochabugapis.adapt.runtime.v1.BatchGetUserVariablesRequest"> & {
815
+ /**
816
+ * The names of the variables to fetch
817
+ *
818
+ * @generated from field: repeated string names = 1;
819
+ */
820
+ names: string[];
821
+ };
822
+ /**
823
+ * Describes the message mochabugapis.adapt.runtime.v1.BatchGetUserVariablesRequest.
824
+ * Use `create(BatchGetUserVariablesRequestSchema)` to create a new message.
825
+ */
826
+ export declare const BatchGetUserVariablesRequestSchema: GenMessage<BatchGetUserVariablesRequest>;
827
+ /**
828
+ * The response of getting multiple environmental variabes
829
+ *
830
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetUserVariablesResponse
831
+ */
832
+ export type BatchGetUserVariablesResponse = Message<"mochabugapis.adapt.runtime.v1.BatchGetUserVariablesResponse"> & {
833
+ /**
834
+ * name, value pairs
835
+ *
836
+ * @generated from field: map<string, string> items = 1;
837
+ */
838
+ items: {
839
+ [key: string]: string;
840
+ };
841
+ };
842
+ /**
843
+ * Describes the message mochabugapis.adapt.runtime.v1.BatchGetUserVariablesResponse.
844
+ * Use `create(BatchGetUserVariablesResponseSchema)` to create a new message.
845
+ */
846
+ export declare const BatchGetUserVariablesResponseSchema: GenMessage<BatchGetUserVariablesResponse>;
847
+ /**
848
+ * The request to get multiple oauth2 tokens
849
+ *
850
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetUserTokensRequest
851
+ */
852
+ export type BatchGetUserTokensRequest = Message<"mochabugapis.adapt.runtime.v1.BatchGetUserTokensRequest"> & {
853
+ /**
854
+ * The names of the tokens to fetch
855
+ *
856
+ * @generated from field: repeated string names = 1;
857
+ */
858
+ names: string[];
859
+ };
860
+ /**
861
+ * Describes the message mochabugapis.adapt.runtime.v1.BatchGetUserTokensRequest.
862
+ * Use `create(BatchGetUserTokensRequestSchema)` to create a new message.
863
+ */
864
+ export declare const BatchGetUserTokensRequestSchema: GenMessage<BatchGetUserTokensRequest>;
865
+ /**
866
+ * The response of getting multiple oauth2 tokens
867
+ *
868
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetUserTokensResponse
869
+ */
870
+ export type BatchGetUserTokensResponse = Message<"mochabugapis.adapt.runtime.v1.BatchGetUserTokensResponse"> & {
871
+ /**
872
+ * Name, token pairs
873
+ *
874
+ * @generated from field: map<string, mochabugapis.adapt.runtime.v1.Token> items = 1;
875
+ */
876
+ items: {
877
+ [key: string]: Token;
878
+ };
879
+ };
880
+ /**
881
+ * Describes the message mochabugapis.adapt.runtime.v1.BatchGetUserTokensResponse.
882
+ * Use `create(BatchGetUserTokensResponseSchema)` to create a new message.
883
+ */
884
+ export declare const BatchGetUserTokensResponseSchema: GenMessage<BatchGetUserTokensResponse>;
885
+ /**
886
+ * The request to get multiple oauth2 tokens
887
+ *
888
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetTokensRequest
889
+ */
890
+ export type BatchGetTokensRequest = Message<"mochabugapis.adapt.runtime.v1.BatchGetTokensRequest"> & {
891
+ /**
892
+ * The names of the tokens to fetch
893
+ *
894
+ * @generated from field: repeated string names = 1;
895
+ */
896
+ names: string[];
897
+ };
898
+ /**
899
+ * Describes the message mochabugapis.adapt.runtime.v1.BatchGetTokensRequest.
900
+ * Use `create(BatchGetTokensRequestSchema)` to create a new message.
901
+ */
902
+ export declare const BatchGetTokensRequestSchema: GenMessage<BatchGetTokensRequest>;
903
+ /**
904
+ * The response of getting multiple oauth2 tokens
905
+ *
906
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetTokensResponse
907
+ */
908
+ export type BatchGetTokensResponse = Message<"mochabugapis.adapt.runtime.v1.BatchGetTokensResponse"> & {
909
+ /**
910
+ * Name, token pairs
911
+ *
912
+ * @generated from field: map<string, mochabugapis.adapt.runtime.v1.Token> items = 1;
913
+ */
914
+ items: {
915
+ [key: string]: Token;
916
+ };
917
+ };
918
+ /**
919
+ * Describes the message mochabugapis.adapt.runtime.v1.BatchGetTokensResponse.
920
+ * Use `create(BatchGetTokensResponseSchema)` to create a new message.
921
+ */
922
+ export declare const BatchGetTokensResponseSchema: GenMessage<BatchGetTokensResponse>;
923
+ /**
924
+ * A representation of a OAuth2 token
925
+ *
926
+ * @generated from message mochabugapis.adapt.runtime.v1.Token
927
+ */
928
+ export type Token = Message<"mochabugapis.adapt.runtime.v1.Token"> & {
929
+ /**
930
+ * The name of the token
931
+ * Restrictions:
932
+ * - Must match the ECMA regex: ^[_$a-z][_$a-z0-9]*$
933
+ * - Length must be greater than 0 and less than 50 characters.
934
+ *
935
+ * @generated from field: string name = 1;
936
+ */
937
+ name: string;
938
+ /**
939
+ * The actual token
940
+ *
941
+ * @generated from field: string token = 2;
942
+ */
943
+ token: string;
944
+ /**
945
+ * The type of token (typically Bearer)
946
+ *
947
+ * @generated from field: string type = 3;
948
+ */
949
+ type: string;
950
+ /**
951
+ * When the token expires
952
+ *
953
+ * @generated from field: google.protobuf.Timestamp expires = 4;
954
+ */
955
+ expires?: Timestamp;
956
+ };
957
+ /**
958
+ * Describes the message mochabugapis.adapt.runtime.v1.Token.
959
+ * Use `create(TokenSchema)` to create a new message.
960
+ */
961
+ export declare const TokenSchema: GenMessage<Token>;
962
+ /**
963
+ * The namespace where the key should be used
964
+ *
965
+ * @generated from enum mochabugapis.adapt.runtime.v1.Namespace
966
+ */
967
+ export declare enum Namespace {
968
+ /**
969
+ * If the namespace has not been specified
970
+ *
971
+ * @generated from enum value: NAMESPACE_UNSPECIFIED = 0;
972
+ */
973
+ UNSPECIFIED = 0,
974
+ /**
975
+ * The key is applied on a vertex scope and lives as longest as the instance
976
+ * Access scopes for reading values when the namespace is NAMESPACE_VERTEX_INSTANCE:
977
+ * - 'runtimeapi/executor.store.vertex.instance'
978
+ * - 'runtimeapi/executor.store.vertex.instance:read'
979
+ * Access scope for writing values when the namespace is NAMESPACE_VERTEX_INSTANCE:
980
+ * - 'runtimeapi/executor.store.vertex.instance'
981
+ *
982
+ * @generated from enum value: NAMESPACE_VERTEX_INSTANCE = 1;
983
+ */
984
+ VERTEX_INSTANCE = 1,
985
+ /**
986
+ * The key is applied on a plugin wide scope and lives as longest as the
987
+ * instance
988
+ * Access scopes for reading values when the namespace is NAMESPACE_PLUGIN_INSTANCE:
989
+ * - 'runtimeapi/executor.store.plugin.instance'
990
+ * - 'runtimeapi/executor.store.plugin.instance:read'
991
+ * Access scope for writing values when the namespace is NAMESPACE_PLUGIN_INSTANCE:
992
+ * - 'runtimeapi/executor.store.plugin.instance'
993
+ *
994
+ * @generated from enum value: NAMESPACE_PLUGIN_INSTANCE = 2;
995
+ */
996
+ PLUGIN_INSTANCE = 2,
997
+ /**
998
+ * The key is applied on a vertex scope and lives as longest as the app
999
+ * Access scopes for reading values when the namespace is NAMESPACE_VERTEX:
1000
+ * - 'runtimeapi/executor.store.vertex.app'
1001
+ * - 'runtimeapi/executor.store.vertex.app:read'
1002
+ * Access scope for writing values when the namespace is NAMESPACE_VERTEX:
1003
+ * - 'runtimeapi/executor.store.vertex.app'
1004
+ * -----------------------------------------------
1005
+ * The key is applied on a vertex scope and lives as long as the plugin in the project
1006
+ * Access scopes for reading values when the namespace is NAMESPACE_VERTEX:
1007
+ * - 'runtimeapi/configurator.store.vertex:read'
1008
+ * - 'runtimeapi/configurator.store.vertex'
1009
+ * Access scope for writing values when the namespace is NAMESPACE_VERTEX:
1010
+ * - 'runtimeapi/configurator.store.vertex'
1011
+ *
1012
+ * @generated from enum value: NAMESPACE_VERTEX = 3;
1013
+ */
1014
+ VERTEX = 3,
1015
+ /**
1016
+ * The key is applied on a plugin wide scope and lives as longest as the
1017
+ * app
1018
+ * Access scopes for reading values when the namespace is NAMESPACE_PLUGIN:
1019
+ * - 'runtimeapi/executor.store.plugin.app'
1020
+ * - 'runtimeapi/executor.store.plugin.app:read'
1021
+ * Access scope for writing values when the namespace is NAMESPACE_PLUGIN:
1022
+ * - 'runtimeapi/executor.store.plugin.app'
1023
+ * -----------------------------------------------
1024
+ * The key is applied on a plugin wide scope and lives as long as the plugin in the project
1025
+ * Access scopes for reading values when the namespace is NAMESPACE_PLUGIN:
1026
+ * - 'runtimeapi/configurator.store.plugin:read'
1027
+ * - 'runtimeapi/configurator.store.plugin'
1028
+ * Access scope for writing values when the namespace is NAMESPACE_PLUGIN:
1029
+ * - 'runtimeapi/configurator.store.plugin'
1030
+ *
1031
+ * @generated from enum value: NAMESPACE_PLUGIN = 4;
1032
+ */
1033
+ PLUGIN = 4
1034
+ }
1035
+ /**
1036
+ * Describes the enum mochabugapis.adapt.runtime.v1.Namespace.
1037
+ */
1038
+ export declare const NamespaceSchema: GenEnum<Namespace>;
1039
+ /**
1040
+ * Executor service is containg the complete API available to a executor of a
1041
+ * vertex. Every call on this service will require an Authoriation header
1042
+ *
1043
+ * @generated from service mochabugapis.adapt.runtime.v1.ExecutorService
1044
+ */
1045
+ export declare const ExecutorService: GenService<{
1046
+ /**
1047
+ * Get the vertex config
1048
+ * Valid scopes: runtimeapi/executor, runtimeapi/executor.vertexconfig:read
1049
+ *
1050
+ * @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.GetVertexConfig
1051
+ */
1052
+ getVertexConfig: {
1053
+ methodKind: "unary";
1054
+ input: typeof ExecutorServiceGetVertexConfigRequestSchema;
1055
+ output: typeof ExecutorServiceGetVertexConfigResponseSchema;
1056
+ };
1057
+ /**
1058
+ * Get the signals defined by the connected receiver
1059
+ * Valid scopes: runtimeapi/executor, runtimeapi/executor.receiversignals:read
1060
+ *
1061
+ * @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.ListBoundReceiverSignals
1062
+ */
1063
+ listBoundReceiverSignals: {
1064
+ methodKind: "unary";
1065
+ input: typeof ListBoundReceiverSignalsRequestSchema;
1066
+ output: typeof ListBoundReceiverSignalsResponseSchema;
1067
+ };
1068
+ /**
1069
+ * Get specific signals on the connected receiver
1070
+ * Valid scopes: runtimeapi/executor, runtimeapi/executor.receiversignals:read
1071
+ *
1072
+ * @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.BatchGetBoundReceiverSignals
1073
+ */
1074
+ batchGetBoundReceiverSignals: {
1075
+ methodKind: "unary";
1076
+ input: typeof BatchGetBoundReceiverSignalsRequestSchema;
1077
+ output: typeof BatchGetBoundReceiverSignalsResponseSchema;
1078
+ };
1079
+ /**
1080
+ * Complete the vertex execution
1081
+ * Valid scopes: runtimeapi/executor, runtimeapi/executor.complete
1082
+ *
1083
+ * @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.CompleteExecution
1084
+ */
1085
+ completeExecution: {
1086
+ methodKind: "unary";
1087
+ input: typeof CompleteExecutionRequestSchema;
1088
+ output: typeof CompleteExecutionResponseSchema;
1089
+ };
1090
+ /**
1091
+ * Execute a configured procedure
1092
+ * Valid scopes: runtimeapi/executor, runtimeapi/executor.procedure
1093
+ *
1094
+ * @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.ExecuteProcedure
1095
+ */
1096
+ executeProcedure: {
1097
+ methodKind: "unary";
1098
+ input: typeof ExecuteProcedureRequestSchema;
1099
+ output: typeof ExecuteProcedureResponseSchema;
1100
+ };
1101
+ /**
1102
+ * Get the information about the procedure with the id
1103
+ * Valid scopes: runtimeapi/executor, runtimeapi/executor.procedure
1104
+ *
1105
+ * @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.GetProcedureOperation
1106
+ */
1107
+ getProcedureOperation: {
1108
+ methodKind: "unary";
1109
+ input: typeof GetProcedureOperationRequestSchema;
1110
+ output: typeof GetProcedureOperationResponseSchema;
1111
+ };
1112
+ /**
1113
+ * Cancel the execution of a procedure
1114
+ * Valid scopes: runtimeapi/executor, runtimeapi/executor.procedure
1115
+ *
1116
+ * @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.CancelProcedureOperation
1117
+ */
1118
+ cancelProcedureOperation: {
1119
+ methodKind: "unary";
1120
+ input: typeof CancelProcedureOperationRequestSchema;
1121
+ output: typeof CancelProcedureOperationResponseSchema;
1122
+ };
1123
+ /**
1124
+ * Start a stream
1125
+ * Valid scopes: runtimeapi/executor, runtimeapi/executor.stream
1126
+ *
1127
+ * @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.StartStream
1128
+ */
1129
+ startStream: {
1130
+ methodKind: "unary";
1131
+ input: typeof StartStreamRequestSchema;
1132
+ output: typeof StartStreamResponseSchema;
1133
+ };
1134
+ /**
1135
+ * Cancel a stream
1136
+ * Valid scopes: runtimeapi/executor, runtimeapi/executor.stream
1137
+ *
1138
+ * @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.CancelStream
1139
+ */
1140
+ cancelStream: {
1141
+ methodKind: "unary";
1142
+ input: typeof CancelStreamRequestSchema;
1143
+ output: typeof CancelStreamResponseSchema;
1144
+ };
1145
+ /**
1146
+ * Batch write operations on the vertex session store
1147
+ * The scopes depends on the namespace and operation
1148
+ * The write operations are all-or-nothing. Either all of them are committed or none are
1149
+ *
1150
+ * @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.BatchWriteStore
1151
+ */
1152
+ batchWriteStore: {
1153
+ methodKind: "unary";
1154
+ input: typeof ExecutorServiceBatchWriteStoreRequestSchema;
1155
+ output: typeof ExecutorServiceBatchWriteStoreResponseSchema;
1156
+ };
1157
+ /**
1158
+ * Batch read operations on the vertex session store
1159
+ * The scopes depends on the namespace and operation
1160
+ *
1161
+ * @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.BatchReadStore
1162
+ */
1163
+ batchReadStore: {
1164
+ methodKind: "unary";
1165
+ input: typeof ExecutorServiceBatchReadStoreRequestSchema;
1166
+ output: typeof ExecutorServiceBatchReadStoreResponseSchema;
1167
+ };
1168
+ }>;
1169
+ /**
1170
+ * Configurator service is containing the complete API available to a
1171
+ * configurator of a vertex. Every call on this service will require an
1172
+ * Authoriation header
1173
+ *
1174
+ * @generated from service mochabugapis.adapt.runtime.v1.ConfiguratorService
1175
+ */
1176
+ export declare const ConfiguratorService: GenService<{
1177
+ /**
1178
+ * Get the vertex config
1179
+ * Valid scopes: runtimeapi/configurator, runtimeapi/configurator.vertexconfig, runtimeapi/configurator.vertexconfig:read
1180
+ *
1181
+ * @generated from rpc mochabugapis.adapt.runtime.v1.ConfiguratorService.GetVertexConfig
1182
+ */
1183
+ getVertexConfig: {
1184
+ methodKind: "unary";
1185
+ input: typeof ConfiguratorServiceGetVertexConfigRequestSchema;
1186
+ output: typeof ConfiguratorServiceGetVertexConfigResponseSchema;
1187
+ };
1188
+ /**
1189
+ * Update the vertex config
1190
+ * Valid scopes: runtimeapi/configurator, runtimeapi/configurator.vertexconfig
1191
+ *
1192
+ * @generated from rpc mochabugapis.adapt.runtime.v1.ConfiguratorService.PatchVertexConfig
1193
+ */
1194
+ patchVertexConfig: {
1195
+ methodKind: "unary";
1196
+ input: typeof PatchVertexConfigRequestSchema;
1197
+ output: typeof PatchVertexConfigResponseSchema;
1198
+ };
1199
+ /**
1200
+ * Replace the vertex config
1201
+ * Valid scopes: runtimeapi/configurator, runtimeapi/configurator.vertexconfig
1202
+ *
1203
+ * @generated from rpc mochabugapis.adapt.runtime.v1.ConfiguratorService.PostVertexConfig
1204
+ */
1205
+ postVertexConfig: {
1206
+ methodKind: "unary";
1207
+ input: typeof PostVertexConfigRequestSchema;
1208
+ output: typeof PostVertexConfigResponseSchema;
1209
+ };
1210
+ /**
1211
+ * Batch write operations on the vertex session store
1212
+ * The scopes depends on the namespace and operation
1213
+ * The write operations are all-or-nothing. Either all of them are committed or none are
1214
+ *
1215
+ * @generated from rpc mochabugapis.adapt.runtime.v1.ConfiguratorService.BatchWriteStore
1216
+ */
1217
+ batchWriteStore: {
1218
+ methodKind: "unary";
1219
+ input: typeof ConfiguratorServiceBatchWriteStoreRequestSchema;
1220
+ output: typeof ConfiguratorServiceBatchWriteStoreResponseSchema;
1221
+ };
1222
+ /**
1223
+ * Batch read operations on the vertex session store
1224
+ * The scopes depends on the namespace and operation
1225
+ *
1226
+ * @generated from rpc mochabugapis.adapt.runtime.v1.ConfiguratorService.BatchReadStore
1227
+ */
1228
+ batchReadStore: {
1229
+ methodKind: "unary";
1230
+ input: typeof ConfiguratorServiceBatchReadStoreRequestSchema;
1231
+ output: typeof ConfiguratorServiceBatchReadStoreResponseSchema;
1232
+ };
1233
+ }>;
1234
+ /**
1235
+ * Accessible to both executor and configurator
1236
+ *
1237
+ * @generated from service mochabugapis.adapt.runtime.v1.PluginService
1238
+ */
1239
+ export declare const PluginService: GenService<{
1240
+ /**
1241
+ * The authorization endpoint, make sure that the access token is OK
1242
+ * Valid scopes: runtimeapi/plugin, runtimeapi/plugin.authorize
1243
+ *
1244
+ * @generated from rpc mochabugapis.adapt.runtime.v1.PluginService.Authorize
1245
+ */
1246
+ authorize: {
1247
+ methodKind: "unary";
1248
+ input: typeof AuthorizeRequestSchema;
1249
+ output: typeof AuthorizeResponseSchema;
1250
+ };
1251
+ /**
1252
+ * Fetch the envionment variables configured by the plugin
1253
+ * Valid scopes: runtimeapi/plugin, runtimeapi/plugin.variables:read
1254
+ *
1255
+ * @generated from rpc mochabugapis.adapt.runtime.v1.PluginService.BatchGetVariables
1256
+ */
1257
+ batchGetVariables: {
1258
+ methodKind: "unary";
1259
+ input: typeof BatchGetVariablesRequestSchema;
1260
+ output: typeof BatchGetVariablesResponseSchema;
1261
+ };
1262
+ /**
1263
+ * Fetch the envionment variables configured by the user
1264
+ * Valid scopes: runtimeapi/plugin, runtimeapi/plugin.user.variables:read
1265
+ *
1266
+ * @generated from rpc mochabugapis.adapt.runtime.v1.PluginService.BatchGetUserVariables
1267
+ */
1268
+ batchGetUserVariables: {
1269
+ methodKind: "unary";
1270
+ input: typeof BatchGetUserVariablesRequestSchema;
1271
+ output: typeof BatchGetUserVariablesResponseSchema;
1272
+ };
1273
+ /**
1274
+ * Get oauth2 bearer token from a user's consent or a service account
1275
+ * Valid scopes: runtimeapi/plugin, runtimeapi/plugin.user.tokens:read
1276
+ *
1277
+ * @generated from rpc mochabugapis.adapt.runtime.v1.PluginService.BatchGetUserTokens
1278
+ */
1279
+ batchGetUserTokens: {
1280
+ methodKind: "unary";
1281
+ input: typeof BatchGetUserTokensRequestSchema;
1282
+ output: typeof BatchGetUserTokensResponseSchema;
1283
+ };
1284
+ /**
1285
+ * Get oauth2 bearer token from a plugin's service account
1286
+ * Valid scopes: runtimeapi/plugin, runtimeapi/plugin.tokens:read
1287
+ *
1288
+ * @generated from rpc mochabugapis.adapt.runtime.v1.PluginService.BatchGetTokens
1289
+ */
1290
+ batchGetTokens: {
1291
+ methodKind: "unary";
1292
+ input: typeof BatchGetTokensRequestSchema;
1293
+ output: typeof BatchGetTokensResponseSchema;
1294
+ };
1295
+ }>;