@mochabug/adapt-web 0.0.20 → 0.0.21

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 (24) hide show
  1. package/dist/genproto/mochabugapis/adapt/graph/transceiver_pb.d.ts +12 -0
  2. package/dist/genproto/mochabugapis/adapt/graph/transceiver_pb.js +1 -1
  3. package/dist/genproto/mochabugapis/adapt/graph/transceiver_pb.js.map +1 -1
  4. package/dist/genproto/mochabugapis/adapt/graph/transmitter_pb.d.ts +50 -7
  5. package/dist/genproto/mochabugapis/adapt/graph/transmitter_pb.js +38 -2
  6. package/dist/genproto/mochabugapis/adapt/graph/transmitter_pb.js.map +1 -1
  7. package/dist/genproto/mochabugapis/adapt/graph/{vertex_config_pb.d.ts → vertex_metadata_pb.d.ts} +15 -27
  8. package/dist/genproto/mochabugapis/adapt/graph/vertex_metadata_pb.js +28 -0
  9. package/dist/genproto/mochabugapis/adapt/graph/vertex_metadata_pb.js.map +1 -0
  10. package/dist/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.d.ts +14 -0
  11. package/dist/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.js +1 -1
  12. package/dist/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.js.map +1 -1
  13. package/dist/genproto/mochabugapis/adapt/plugins/v1/vertex_pb.d.ts +44 -52
  14. package/dist/genproto/mochabugapis/adapt/plugins/v1/vertex_pb.js +32 -31
  15. package/dist/genproto/mochabugapis/adapt/plugins/v1/vertex_pb.js.map +1 -1
  16. package/dist/genproto/mochabugapis/adapt/runtime/v1/incoming_pb.d.ts +20 -108
  17. package/dist/genproto/mochabugapis/adapt/runtime/v1/incoming_pb.js +7 -17
  18. package/dist/genproto/mochabugapis/adapt/runtime/v1/incoming_pb.js.map +1 -1
  19. package/dist/genproto/mochabugapis/adapt/runtime/v1/runtime_pb.d.ts +149 -293
  20. package/dist/genproto/mochabugapis/adapt/runtime/v1/runtime_pb.js +59 -79
  21. package/dist/genproto/mochabugapis/adapt/runtime/v1/runtime_pb.js.map +1 -1
  22. package/package.json +3 -3
  23. package/dist/genproto/mochabugapis/adapt/graph/vertex_config_pb.js +0 -28
  24. package/dist/genproto/mochabugapis/adapt/graph/vertex_config_pb.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
2
2
  import type { FieldMask, FieldMaskJson, Timestamp, TimestampJson, Value, ValueJson } from "@bufbuild/protobuf/wkt";
3
- import type { VertexConfigMetadata, VertexConfigMetadataJson } from "../../graph/vertex_config_pb";
3
+ import type { VertexMetadata, VertexMetadataJson } from "../../graph/vertex_metadata_pb";
4
4
  import type { GetOp, GetOpJson, GlobalResponseStatus, GlobalResponseStatusJson, ReadOperationResult, ReadOperationResultJson, WriteOperation, WriteOperationJson, WriteOperationResult, WriteOperationResultJson } from "./store_pb";
5
5
  import type { Message } from "@bufbuild/protobuf";
6
6
  /**
@@ -227,135 +227,11 @@ export type ExecutorServiceBatchReadStoreResponseJson = {
227
227
  */
228
228
  export declare const ExecutorServiceBatchReadStoreResponseSchema: GenMessage<ExecutorServiceBatchReadStoreResponse, ExecutorServiceBatchReadStoreResponseJson>;
229
229
  /**
230
- * A request to start streaming
230
+ * A request to cancel a running exchange operation
231
231
  *
232
- * @generated from message mochabugapis.adapt.runtime.v1.StartStreamRequest
232
+ * @generated from message mochabugapis.adapt.runtime.v1.CancelExchangeOperationRequest
233
233
  */
234
- export type StartStreamRequest = Message<"mochabugapis.adapt.runtime.v1.StartStreamRequest"> & {
235
- /**
236
- * The name of the stream to start
237
- *
238
- * @generated from field: string name = 1;
239
- */
240
- name: string;
241
- /**
242
- * The receiver to send the signals on
243
- *
244
- * @generated from field: string receiver = 2;
245
- */
246
- receiver: string;
247
- /**
248
- * The signals to send over the receiver
249
- *
250
- * @generated from field: map<string, google.protobuf.Value> signals = 3;
251
- */
252
- signals: {
253
- [key: string]: Value;
254
- };
255
- };
256
- /**
257
- * A request to start streaming
258
- *
259
- * @generated from message mochabugapis.adapt.runtime.v1.StartStreamRequest
260
- */
261
- export type StartStreamRequestJson = {
262
- /**
263
- * The name of the stream to start
264
- *
265
- * @generated from field: string name = 1;
266
- */
267
- name?: string;
268
- /**
269
- * The receiver to send the signals on
270
- *
271
- * @generated from field: string receiver = 2;
272
- */
273
- receiver?: string;
274
- /**
275
- * The signals to send over the receiver
276
- *
277
- * @generated from field: map<string, google.protobuf.Value> signals = 3;
278
- */
279
- signals?: {
280
- [key: string]: ValueJson;
281
- };
282
- };
283
- /**
284
- * Describes the message mochabugapis.adapt.runtime.v1.StartStreamRequest.
285
- * Use `create(StartStreamRequestSchema)` to create a new message.
286
- */
287
- export declare const StartStreamRequestSchema: GenMessage<StartStreamRequest, StartStreamRequestJson>;
288
- /**
289
- * The response of starting a stream
290
- *
291
- * @generated from message mochabugapis.adapt.runtime.v1.StartStreamResponse
292
- */
293
- export type StartStreamResponse = Message<"mochabugapis.adapt.runtime.v1.StartStreamResponse"> & {};
294
- /**
295
- * The response of starting a stream
296
- *
297
- * @generated from message mochabugapis.adapt.runtime.v1.StartStreamResponse
298
- */
299
- export type StartStreamResponseJson = {};
300
- /**
301
- * Describes the message mochabugapis.adapt.runtime.v1.StartStreamResponse.
302
- * Use `create(StartStreamResponseSchema)` to create a new message.
303
- */
304
- export declare const StartStreamResponseSchema: GenMessage<StartStreamResponse, StartStreamResponseJson>;
305
- /**
306
- * A request to cancel a stream
307
- *
308
- * @generated from message mochabugapis.adapt.runtime.v1.CancelStreamRequest
309
- */
310
- export type CancelStreamRequest = Message<"mochabugapis.adapt.runtime.v1.CancelStreamRequest"> & {
311
- /**
312
- * The name of the stream to cancel
313
- *
314
- * @generated from field: string name = 1;
315
- */
316
- name: string;
317
- };
318
- /**
319
- * A request to cancel a stream
320
- *
321
- * @generated from message mochabugapis.adapt.runtime.v1.CancelStreamRequest
322
- */
323
- export type CancelStreamRequestJson = {
324
- /**
325
- * The name of the stream to cancel
326
- *
327
- * @generated from field: string name = 1;
328
- */
329
- name?: string;
330
- };
331
- /**
332
- * Describes the message mochabugapis.adapt.runtime.v1.CancelStreamRequest.
333
- * Use `create(CancelStreamRequestSchema)` to create a new message.
334
- */
335
- export declare const CancelStreamRequestSchema: GenMessage<CancelStreamRequest, CancelStreamRequestJson>;
336
- /**
337
- * The response of cancelling a stream
338
- *
339
- * @generated from message mochabugapis.adapt.runtime.v1.CancelStreamResponse
340
- */
341
- export type CancelStreamResponse = Message<"mochabugapis.adapt.runtime.v1.CancelStreamResponse"> & {};
342
- /**
343
- * The response of cancelling a stream
344
- *
345
- * @generated from message mochabugapis.adapt.runtime.v1.CancelStreamResponse
346
- */
347
- export type CancelStreamResponseJson = {};
348
- /**
349
- * Describes the message mochabugapis.adapt.runtime.v1.CancelStreamResponse.
350
- * Use `create(CancelStreamResponseSchema)` to create a new message.
351
- */
352
- export declare const CancelStreamResponseSchema: GenMessage<CancelStreamResponse, CancelStreamResponseJson>;
353
- /**
354
- * A request to cancel a running procedure operation
355
- *
356
- * @generated from message mochabugapis.adapt.runtime.v1.CancelProcedureOperationRequest
357
- */
358
- export type CancelProcedureOperationRequest = Message<"mochabugapis.adapt.runtime.v1.CancelProcedureOperationRequest"> & {
234
+ export type CancelExchangeOperationRequest = Message<"mochabugapis.adapt.runtime.v1.CancelExchangeOperationRequest"> & {
359
235
  /**
360
236
  * The id of the operation
361
237
  *
@@ -364,11 +240,11 @@ export type CancelProcedureOperationRequest = Message<"mochabugapis.adapt.runtim
364
240
  id: string;
365
241
  };
366
242
  /**
367
- * A request to cancel a running procedure operation
243
+ * A request to cancel a running exchange operation
368
244
  *
369
- * @generated from message mochabugapis.adapt.runtime.v1.CancelProcedureOperationRequest
245
+ * @generated from message mochabugapis.adapt.runtime.v1.CancelExchangeOperationRequest
370
246
  */
371
- export type CancelProcedureOperationRequestJson = {
247
+ export type CancelExchangeOperationRequestJson = {
372
248
  /**
373
249
  * The id of the operation
374
250
  *
@@ -377,33 +253,33 @@ export type CancelProcedureOperationRequestJson = {
377
253
  id?: string;
378
254
  };
379
255
  /**
380
- * Describes the message mochabugapis.adapt.runtime.v1.CancelProcedureOperationRequest.
381
- * Use `create(CancelProcedureOperationRequestSchema)` to create a new message.
256
+ * Describes the message mochabugapis.adapt.runtime.v1.CancelExchangeOperationRequest.
257
+ * Use `create(CancelExchangeOperationRequestSchema)` to create a new message.
382
258
  */
383
- export declare const CancelProcedureOperationRequestSchema: GenMessage<CancelProcedureOperationRequest, CancelProcedureOperationRequestJson>;
259
+ export declare const CancelExchangeOperationRequestSchema: GenMessage<CancelExchangeOperationRequest, CancelExchangeOperationRequestJson>;
384
260
  /**
385
- * The response of cancelling the procedure operation
261
+ * The response of cancelling the exchange operation
386
262
  *
387
- * @generated from message mochabugapis.adapt.runtime.v1.CancelProcedureOperationResponse
263
+ * @generated from message mochabugapis.adapt.runtime.v1.CancelExchangeOperationResponse
388
264
  */
389
- export type CancelProcedureOperationResponse = Message<"mochabugapis.adapt.runtime.v1.CancelProcedureOperationResponse"> & {};
265
+ export type CancelExchangeOperationResponse = Message<"mochabugapis.adapt.runtime.v1.CancelExchangeOperationResponse"> & {};
390
266
  /**
391
- * The response of cancelling the procedure operation
267
+ * The response of cancelling the exchange operation
392
268
  *
393
- * @generated from message mochabugapis.adapt.runtime.v1.CancelProcedureOperationResponse
269
+ * @generated from message mochabugapis.adapt.runtime.v1.CancelExchangeOperationResponse
394
270
  */
395
- export type CancelProcedureOperationResponseJson = {};
271
+ export type CancelExchangeOperationResponseJson = {};
396
272
  /**
397
- * Describes the message mochabugapis.adapt.runtime.v1.CancelProcedureOperationResponse.
398
- * Use `create(CancelProcedureOperationResponseSchema)` to create a new message.
273
+ * Describes the message mochabugapis.adapt.runtime.v1.CancelExchangeOperationResponse.
274
+ * Use `create(CancelExchangeOperationResponseSchema)` to create a new message.
399
275
  */
400
- export declare const CancelProcedureOperationResponseSchema: GenMessage<CancelProcedureOperationResponse, CancelProcedureOperationResponseJson>;
276
+ export declare const CancelExchangeOperationResponseSchema: GenMessage<CancelExchangeOperationResponse, CancelExchangeOperationResponseJson>;
401
277
  /**
402
278
  * A request to check the status of an operation
403
279
  *
404
- * @generated from message mochabugapis.adapt.runtime.v1.GetProcedureOperationRequest
280
+ * @generated from message mochabugapis.adapt.runtime.v1.GetExchangeOperationRequest
405
281
  */
406
- export type GetProcedureOperationRequest = Message<"mochabugapis.adapt.runtime.v1.GetProcedureOperationRequest"> & {
282
+ export type GetExchangeOperationRequest = Message<"mochabugapis.adapt.runtime.v1.GetExchangeOperationRequest"> & {
407
283
  /**
408
284
  * The id of the operation
409
285
  *
@@ -414,9 +290,9 @@ export type GetProcedureOperationRequest = Message<"mochabugapis.adapt.runtime.v
414
290
  /**
415
291
  * A request to check the status of an operation
416
292
  *
417
- * @generated from message mochabugapis.adapt.runtime.v1.GetProcedureOperationRequest
293
+ * @generated from message mochabugapis.adapt.runtime.v1.GetExchangeOperationRequest
418
294
  */
419
- export type GetProcedureOperationRequestJson = {
295
+ export type GetExchangeOperationRequestJson = {
420
296
  /**
421
297
  * The id of the operation
422
298
  *
@@ -425,49 +301,49 @@ export type GetProcedureOperationRequestJson = {
425
301
  id?: string;
426
302
  };
427
303
  /**
428
- * Describes the message mochabugapis.adapt.runtime.v1.GetProcedureOperationRequest.
429
- * Use `create(GetProcedureOperationRequestSchema)` to create a new message.
304
+ * Describes the message mochabugapis.adapt.runtime.v1.GetExchangeOperationRequest.
305
+ * Use `create(GetExchangeOperationRequestSchema)` to create a new message.
430
306
  */
431
- export declare const GetProcedureOperationRequestSchema: GenMessage<GetProcedureOperationRequest, GetProcedureOperationRequestJson>;
307
+ export declare const GetExchangeOperationRequestSchema: GenMessage<GetExchangeOperationRequest, GetExchangeOperationRequestJson>;
432
308
  /**
433
309
  * The get operation response
434
310
  *
435
- * @generated from message mochabugapis.adapt.runtime.v1.GetProcedureOperationResponse
311
+ * @generated from message mochabugapis.adapt.runtime.v1.GetExchangeOperationResponse
436
312
  */
437
- export type GetProcedureOperationResponse = Message<"mochabugapis.adapt.runtime.v1.GetProcedureOperationResponse"> & {
313
+ export type GetExchangeOperationResponse = Message<"mochabugapis.adapt.runtime.v1.GetExchangeOperationResponse"> & {
438
314
  /**
439
315
  * The actual operation
440
316
  *
441
- * @generated from field: mochabugapis.adapt.runtime.v1.ProcedureOperation item = 1;
317
+ * @generated from field: mochabugapis.adapt.runtime.v1.ExchangeOperation item = 1;
442
318
  */
443
- item?: ProcedureOperation;
319
+ item?: ExchangeOperation;
444
320
  };
445
321
  /**
446
322
  * The get operation response
447
323
  *
448
- * @generated from message mochabugapis.adapt.runtime.v1.GetProcedureOperationResponse
324
+ * @generated from message mochabugapis.adapt.runtime.v1.GetExchangeOperationResponse
449
325
  */
450
- export type GetProcedureOperationResponseJson = {
326
+ export type GetExchangeOperationResponseJson = {
451
327
  /**
452
328
  * The actual operation
453
329
  *
454
- * @generated from field: mochabugapis.adapt.runtime.v1.ProcedureOperation item = 1;
330
+ * @generated from field: mochabugapis.adapt.runtime.v1.ExchangeOperation item = 1;
455
331
  */
456
- item?: ProcedureOperationJson;
332
+ item?: ExchangeOperationJson;
457
333
  };
458
334
  /**
459
- * Describes the message mochabugapis.adapt.runtime.v1.GetProcedureOperationResponse.
460
- * Use `create(GetProcedureOperationResponseSchema)` to create a new message.
335
+ * Describes the message mochabugapis.adapt.runtime.v1.GetExchangeOperationResponse.
336
+ * Use `create(GetExchangeOperationResponseSchema)` to create a new message.
461
337
  */
462
- export declare const GetProcedureOperationResponseSchema: GenMessage<GetProcedureOperationResponse, GetProcedureOperationResponseJson>;
338
+ export declare const GetExchangeOperationResponseSchema: GenMessage<GetExchangeOperationResponse, GetExchangeOperationResponseJson>;
463
339
  /**
464
- * A request to start execute a procedure
340
+ * A request to start execute an exchange
465
341
  *
466
- * @generated from message mochabugapis.adapt.runtime.v1.ExecuteProcedureRequest
342
+ * @generated from message mochabugapis.adapt.runtime.v1.DispatchExchangeRequest
467
343
  */
468
- export type ExecuteProcedureRequest = Message<"mochabugapis.adapt.runtime.v1.ExecuteProcedureRequest"> & {
344
+ export type DispatchExchangeRequest = Message<"mochabugapis.adapt.runtime.v1.DispatchExchangeRequest"> & {
469
345
  /**
470
- * The name of the procedure to execute
346
+ * The name of the exchange to dispatch
471
347
  *
472
348
  * @generated from field: string name = 1;
473
349
  */
@@ -488,13 +364,13 @@ export type ExecuteProcedureRequest = Message<"mochabugapis.adapt.runtime.v1.Exe
488
364
  };
489
365
  };
490
366
  /**
491
- * A request to start execute a procedure
367
+ * A request to start execute an exchange
492
368
  *
493
- * @generated from message mochabugapis.adapt.runtime.v1.ExecuteProcedureRequest
369
+ * @generated from message mochabugapis.adapt.runtime.v1.DispatchExchangeRequest
494
370
  */
495
- export type ExecuteProcedureRequestJson = {
371
+ export type DispatchExchangeRequestJson = {
496
372
  /**
497
- * The name of the procedure to execute
373
+ * The name of the exchange to dispatch
498
374
  *
499
375
  * @generated from field: string name = 1;
500
376
  */
@@ -515,51 +391,51 @@ export type ExecuteProcedureRequestJson = {
515
391
  };
516
392
  };
517
393
  /**
518
- * Describes the message mochabugapis.adapt.runtime.v1.ExecuteProcedureRequest.
519
- * Use `create(ExecuteProcedureRequestSchema)` to create a new message.
394
+ * Describes the message mochabugapis.adapt.runtime.v1.DispatchExchangeRequest.
395
+ * Use `create(DispatchExchangeRequestSchema)` to create a new message.
520
396
  */
521
- export declare const ExecuteProcedureRequestSchema: GenMessage<ExecuteProcedureRequest, ExecuteProcedureRequestJson>;
397
+ export declare const DispatchExchangeRequestSchema: GenMessage<DispatchExchangeRequest, DispatchExchangeRequestJson>;
522
398
  /**
523
- * The response of the procedure execution
399
+ * The response of the exchange execution
524
400
  * Just like streams, this is an async operation
525
401
  *
526
- * @generated from message mochabugapis.adapt.runtime.v1.ExecuteProcedureResponse
402
+ * @generated from message mochabugapis.adapt.runtime.v1.DispatchExchangeResponse
527
403
  */
528
- export type ExecuteProcedureResponse = Message<"mochabugapis.adapt.runtime.v1.ExecuteProcedureResponse"> & {
404
+ export type DispatchExchangeResponse = Message<"mochabugapis.adapt.runtime.v1.DispatchExchangeResponse"> & {
529
405
  /**
530
406
  * The id of the operation
531
407
  *
532
- * @generated from field: mochabugapis.adapt.runtime.v1.ProcedureOperation procedure = 1;
408
+ * @generated from field: mochabugapis.adapt.runtime.v1.ExchangeOperation operation = 1;
533
409
  */
534
- procedure?: ProcedureOperation;
410
+ operation?: ExchangeOperation;
535
411
  };
536
412
  /**
537
- * The response of the procedure execution
413
+ * The response of the exchange execution
538
414
  * Just like streams, this is an async operation
539
415
  *
540
- * @generated from message mochabugapis.adapt.runtime.v1.ExecuteProcedureResponse
416
+ * @generated from message mochabugapis.adapt.runtime.v1.DispatchExchangeResponse
541
417
  */
542
- export type ExecuteProcedureResponseJson = {
418
+ export type DispatchExchangeResponseJson = {
543
419
  /**
544
420
  * The id of the operation
545
421
  *
546
- * @generated from field: mochabugapis.adapt.runtime.v1.ProcedureOperation procedure = 1;
422
+ * @generated from field: mochabugapis.adapt.runtime.v1.ExchangeOperation operation = 1;
547
423
  */
548
- procedure?: ProcedureOperationJson;
424
+ operation?: ExchangeOperationJson;
549
425
  };
550
426
  /**
551
- * Describes the message mochabugapis.adapt.runtime.v1.ExecuteProcedureResponse.
552
- * Use `create(ExecuteProcedureResponseSchema)` to create a new message.
427
+ * Describes the message mochabugapis.adapt.runtime.v1.DispatchExchangeResponse.
428
+ * Use `create(DispatchExchangeResponseSchema)` to create a new message.
553
429
  */
554
- export declare const ExecuteProcedureResponseSchema: GenMessage<ExecuteProcedureResponse, ExecuteProcedureResponseJson>;
430
+ export declare const DispatchExchangeResponseSchema: GenMessage<DispatchExchangeResponse, DispatchExchangeResponseJson>;
555
431
  /**
556
- * A representation of a procedure
432
+ * A representation of an exchange operation
557
433
  *
558
- * @generated from message mochabugapis.adapt.runtime.v1.ProcedureOperation
434
+ * @generated from message mochabugapis.adapt.runtime.v1.ExchangeOperation
559
435
  */
560
- export type ProcedureOperation = Message<"mochabugapis.adapt.runtime.v1.ProcedureOperation"> & {
436
+ export type ExchangeOperation = Message<"mochabugapis.adapt.runtime.v1.ExchangeOperation"> & {
561
437
  /**
562
- * The name of the procedure
438
+ * The name of the exchange
563
439
  *
564
440
  * @generated from field: string name = 1;
565
441
  */
@@ -571,28 +447,29 @@ export type ProcedureOperation = Message<"mochabugapis.adapt.runtime.v1.Procedur
571
447
  */
572
448
  id: string;
573
449
  /**
574
- * True if the procedure is done executing
575
- * The result is not set for procedures with zero transmitters even
450
+ * True if the exchange is done executing
451
+ * The result is not set for exchanges with zero transmitters even
576
452
  * though the execution has finished. I.e. done == true
453
+ * Observe that for streaming transmitters, done == false but result != nil
577
454
  *
578
455
  * @generated from field: bool done = 3;
579
456
  */
580
457
  done: boolean;
581
458
  /**
582
- * The result of the procedure
459
+ * The result of the exchange
583
460
  *
584
- * @generated from field: optional mochabugapis.adapt.runtime.v1.ProcedureOperation.Result result = 4;
461
+ * @generated from field: optional mochabugapis.adapt.runtime.v1.ExchangeOperation.Result result = 4;
585
462
  */
586
- result?: ProcedureOperation_Result;
463
+ result?: ExchangeOperation_Result;
587
464
  };
588
465
  /**
589
- * A representation of a procedure
466
+ * A representation of an exchange operation
590
467
  *
591
- * @generated from message mochabugapis.adapt.runtime.v1.ProcedureOperation
468
+ * @generated from message mochabugapis.adapt.runtime.v1.ExchangeOperation
592
469
  */
593
- export type ProcedureOperationJson = {
470
+ export type ExchangeOperationJson = {
594
471
  /**
595
- * The name of the procedure
472
+ * The name of the exchange
596
473
  *
597
474
  * @generated from field: string name = 1;
598
475
  */
@@ -604,31 +481,32 @@ export type ProcedureOperationJson = {
604
481
  */
605
482
  id?: string;
606
483
  /**
607
- * True if the procedure is done executing
608
- * The result is not set for procedures with zero transmitters even
484
+ * True if the exchange is done executing
485
+ * The result is not set for exchanges with zero transmitters even
609
486
  * though the execution has finished. I.e. done == true
487
+ * Observe that for streaming transmitters, done == false but result != nil
610
488
  *
611
489
  * @generated from field: bool done = 3;
612
490
  */
613
491
  done?: boolean;
614
492
  /**
615
- * The result of the procedure
493
+ * The result of the exchange
616
494
  *
617
- * @generated from field: optional mochabugapis.adapt.runtime.v1.ProcedureOperation.Result result = 4;
495
+ * @generated from field: optional mochabugapis.adapt.runtime.v1.ExchangeOperation.Result result = 4;
618
496
  */
619
- result?: ProcedureOperation_ResultJson;
497
+ result?: ExchangeOperation_ResultJson;
620
498
  };
621
499
  /**
622
- * Describes the message mochabugapis.adapt.runtime.v1.ProcedureOperation.
623
- * Use `create(ProcedureOperationSchema)` to create a new message.
500
+ * Describes the message mochabugapis.adapt.runtime.v1.ExchangeOperation.
501
+ * Use `create(ExchangeOperationSchema)` to create a new message.
624
502
  */
625
- export declare const ProcedureOperationSchema: GenMessage<ProcedureOperation, ProcedureOperationJson>;
503
+ export declare const ExchangeOperationSchema: GenMessage<ExchangeOperation, ExchangeOperationJson>;
626
504
  /**
627
- * The result of executing a procedure
505
+ * The result of executing a exchange
628
506
  *
629
- * @generated from message mochabugapis.adapt.runtime.v1.ProcedureOperation.Result
507
+ * @generated from message mochabugapis.adapt.runtime.v1.ExchangeOperation.Result
630
508
  */
631
- export type ProcedureOperation_Result = Message<"mochabugapis.adapt.runtime.v1.ProcedureOperation.Result"> & {
509
+ export type ExchangeOperation_Result = Message<"mochabugapis.adapt.runtime.v1.ExchangeOperation.Result"> & {
632
510
  /**
633
511
  * The name of the transmitter pushing the resulting signals
634
512
  *
@@ -645,11 +523,11 @@ export type ProcedureOperation_Result = Message<"mochabugapis.adapt.runtime.v1.P
645
523
  };
646
524
  };
647
525
  /**
648
- * The result of executing a procedure
526
+ * The result of executing a exchange
649
527
  *
650
- * @generated from message mochabugapis.adapt.runtime.v1.ProcedureOperation.Result
528
+ * @generated from message mochabugapis.adapt.runtime.v1.ExchangeOperation.Result
651
529
  */
652
- export type ProcedureOperation_ResultJson = {
530
+ export type ExchangeOperation_ResultJson = {
653
531
  /**
654
532
  * The name of the transmitter pushing the resulting signals
655
533
  *
@@ -666,18 +544,18 @@ export type ProcedureOperation_ResultJson = {
666
544
  };
667
545
  };
668
546
  /**
669
- * Describes the message mochabugapis.adapt.runtime.v1.ProcedureOperation.Result.
670
- * Use `create(ProcedureOperation_ResultSchema)` to create a new message.
547
+ * Describes the message mochabugapis.adapt.runtime.v1.ExchangeOperation.Result.
548
+ * Use `create(ExchangeOperation_ResultSchema)` to create a new message.
671
549
  */
672
- export declare const ProcedureOperation_ResultSchema: GenMessage<ProcedureOperation_Result, ProcedureOperation_ResultJson>;
550
+ export declare const ExchangeOperation_ResultSchema: GenMessage<ExchangeOperation_Result, ExchangeOperation_ResultJson>;
673
551
  /**
674
552
  * The complete execution request message
675
553
  *
676
- * @generated from message mochabugapis.adapt.runtime.v1.CompleteExecutionRequest
554
+ * @generated from message mochabugapis.adapt.runtime.v1.SendRequest
677
555
  */
678
- export type CompleteExecutionRequest = Message<"mochabugapis.adapt.runtime.v1.CompleteExecutionRequest"> & {
556
+ export type SendRequest = Message<"mochabugapis.adapt.runtime.v1.SendRequest"> & {
679
557
  /**
680
- * The transmitter to fire the signals on
558
+ * The transmitter to send the signals on
681
559
  *
682
560
  * @generated from field: string transmitter = 1;
683
561
  */
@@ -694,11 +572,11 @@ export type CompleteExecutionRequest = Message<"mochabugapis.adapt.runtime.v1.Co
694
572
  /**
695
573
  * The complete execution request message
696
574
  *
697
- * @generated from message mochabugapis.adapt.runtime.v1.CompleteExecutionRequest
575
+ * @generated from message mochabugapis.adapt.runtime.v1.SendRequest
698
576
  */
699
- export type CompleteExecutionRequestJson = {
577
+ export type SendRequestJson = {
700
578
  /**
701
- * The transmitter to fire the signals on
579
+ * The transmitter to send the signals on
702
580
  *
703
581
  * @generated from field: string transmitter = 1;
704
582
  */
@@ -713,27 +591,27 @@ export type CompleteExecutionRequestJson = {
713
591
  };
714
592
  };
715
593
  /**
716
- * Describes the message mochabugapis.adapt.runtime.v1.CompleteExecutionRequest.
717
- * Use `create(CompleteExecutionRequestSchema)` to create a new message.
594
+ * Describes the message mochabugapis.adapt.runtime.v1.SendRequest.
595
+ * Use `create(SendRequestSchema)` to create a new message.
718
596
  */
719
- export declare const CompleteExecutionRequestSchema: GenMessage<CompleteExecutionRequest, CompleteExecutionRequestJson>;
597
+ export declare const SendRequestSchema: GenMessage<SendRequest, SendRequestJson>;
720
598
  /**
721
599
  * The complete execution response message
722
600
  *
723
- * @generated from message mochabugapis.adapt.runtime.v1.CompleteExecutionResponse
601
+ * @generated from message mochabugapis.adapt.runtime.v1.SendResponse
724
602
  */
725
- export type CompleteExecutionResponse = Message<"mochabugapis.adapt.runtime.v1.CompleteExecutionResponse"> & {};
603
+ export type SendResponse = Message<"mochabugapis.adapt.runtime.v1.SendResponse"> & {};
726
604
  /**
727
605
  * The complete execution response message
728
606
  *
729
- * @generated from message mochabugapis.adapt.runtime.v1.CompleteExecutionResponse
607
+ * @generated from message mochabugapis.adapt.runtime.v1.SendResponse
730
608
  */
731
- export type CompleteExecutionResponseJson = {};
609
+ export type SendResponseJson = {};
732
610
  /**
733
- * Describes the message mochabugapis.adapt.runtime.v1.CompleteExecutionResponse.
734
- * Use `create(CompleteExecutionResponseSchema)` to create a new message.
611
+ * Describes the message mochabugapis.adapt.runtime.v1.SendResponse.
612
+ * Use `create(SendResponseSchema)` to create a new message.
735
613
  */
736
- export declare const CompleteExecutionResponseSchema: GenMessage<CompleteExecutionResponse, CompleteExecutionResponseJson>;
614
+ export declare const SendResponseSchema: GenMessage<SendResponse, SendResponseJson>;
737
615
  /**
738
616
  * The request to fetch multiple signals on the connected receiver
739
617
  *
@@ -980,9 +858,9 @@ export type ExecutorServiceGetVertexConfigResponse = Message<"mochabugapis.adapt
980
858
  /**
981
859
  * The metadata of the config
982
860
  *
983
- * @generated from field: mochabugapis.adapt.graph.VertexConfigMetadata metadata = 2;
861
+ * @generated from field: mochabugapis.adapt.graph.VertexMetadata metadata = 2;
984
862
  */
985
- metadata?: VertexConfigMetadata;
863
+ metadata?: VertexMetadata;
986
864
  /**
987
865
  * Info about attached user services
988
866
  *
@@ -1007,9 +885,9 @@ export type ExecutorServiceGetVertexConfigResponseJson = {
1007
885
  /**
1008
886
  * The metadata of the config
1009
887
  *
1010
- * @generated from field: mochabugapis.adapt.graph.VertexConfigMetadata metadata = 2;
888
+ * @generated from field: mochabugapis.adapt.graph.VertexMetadata metadata = 2;
1011
889
  */
1012
- metadata?: VertexConfigMetadataJson;
890
+ metadata?: VertexMetadataJson;
1013
891
  /**
1014
892
  * Info about attached user services
1015
893
  *
@@ -1246,9 +1124,9 @@ export type ConfiguratorServiceGetVertexConfigResponse = Message<"mochabugapis.a
1246
1124
  /**
1247
1125
  * The metadata of the config
1248
1126
  *
1249
- * @generated from field: mochabugapis.adapt.graph.VertexConfigMetadata metadata = 2;
1127
+ * @generated from field: mochabugapis.adapt.graph.VertexMetadata metadata = 2;
1250
1128
  */
1251
- metadata?: VertexConfigMetadata;
1129
+ metadata?: VertexMetadata;
1252
1130
  /**
1253
1131
  * Info about attached user services
1254
1132
  *
@@ -1273,9 +1151,9 @@ export type ConfiguratorServiceGetVertexConfigResponseJson = {
1273
1151
  /**
1274
1152
  * The metadata of the config
1275
1153
  *
1276
- * @generated from field: mochabugapis.adapt.graph.VertexConfigMetadata metadata = 2;
1154
+ * @generated from field: mochabugapis.adapt.graph.VertexMetadata metadata = 2;
1277
1155
  */
1278
- metadata?: VertexConfigMetadataJson;
1156
+ metadata?: VertexMetadataJson;
1279
1157
  /**
1280
1158
  * Info about attached user services
1281
1159
  *
@@ -1305,9 +1183,9 @@ export type PostVertexConfigRequest = Message<"mochabugapis.adapt.runtime.v1.Pos
1305
1183
  /**
1306
1184
  * The metadata of the config
1307
1185
  *
1308
- * @generated from field: mochabugapis.adapt.graph.VertexConfigMetadata metadata = 2;
1186
+ * @generated from field: mochabugapis.adapt.graph.VertexMetadata metadata = 2;
1309
1187
  */
1310
- metadata?: VertexConfigMetadata;
1188
+ metadata?: VertexMetadata;
1311
1189
  /**
1312
1190
  * You may set the field you wish to update in the request
1313
1191
  *
@@ -1330,9 +1208,9 @@ export type PostVertexConfigRequestJson = {
1330
1208
  /**
1331
1209
  * The metadata of the config
1332
1210
  *
1333
- * @generated from field: mochabugapis.adapt.graph.VertexConfigMetadata metadata = 2;
1211
+ * @generated from field: mochabugapis.adapt.graph.VertexMetadata metadata = 2;
1334
1212
  */
1335
- metadata?: VertexConfigMetadataJson;
1213
+ metadata?: VertexMetadataJson;
1336
1214
  /**
1337
1215
  * You may set the field you wish to update in the request
1338
1216
  *
@@ -1354,9 +1232,9 @@ export type PostVertexConfigResponse = Message<"mochabugapis.adapt.runtime.v1.Po
1354
1232
  /**
1355
1233
  * The metadata for the config. This is relevant if you wish to study error codes after setting bindings for example
1356
1234
  *
1357
- * @generated from field: mochabugapis.adapt.graph.VertexConfigMetadata metadata = 1;
1235
+ * @generated from field: mochabugapis.adapt.graph.VertexMetadata metadata = 1;
1358
1236
  */
1359
- metadata?: VertexConfigMetadata;
1237
+ metadata?: VertexMetadata;
1360
1238
  };
1361
1239
  /**
1362
1240
  * The post vertex response
@@ -1367,9 +1245,9 @@ export type PostVertexConfigResponseJson = {
1367
1245
  /**
1368
1246
  * The metadata for the config. This is relevant if you wish to study error codes after setting bindings for example
1369
1247
  *
1370
- * @generated from field: mochabugapis.adapt.graph.VertexConfigMetadata metadata = 1;
1248
+ * @generated from field: mochabugapis.adapt.graph.VertexMetadata metadata = 1;
1371
1249
  */
1372
- metadata?: VertexConfigMetadataJson;
1250
+ metadata?: VertexMetadataJson;
1373
1251
  };
1374
1252
  /**
1375
1253
  * Describes the message mochabugapis.adapt.runtime.v1.PostVertexConfigResponse.
@@ -1937,70 +1815,48 @@ export declare const ExecutorService: GenService<{
1937
1815
  output: typeof BatchGetBoundReceiverSignalsResponseSchema;
1938
1816
  };
1939
1817
  /**
1940
- * Complete the vertex execution
1941
- * Valid scopes: runtimeapi/executor, runtimeapi/executor.complete
1942
- *
1943
- * @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.CompleteExecution
1944
- */
1945
- completeExecution: {
1946
- methodKind: "unary";
1947
- input: typeof CompleteExecutionRequestSchema;
1948
- output: typeof CompleteExecutionResponseSchema;
1949
- };
1950
- /**
1951
- * Execute a configured procedure
1952
- * Valid scopes: runtimeapi/executor, runtimeapi/executor.procedure
1953
- *
1954
- * @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.ExecuteProcedure
1955
- */
1956
- executeProcedure: {
1957
- methodKind: "unary";
1958
- input: typeof ExecuteProcedureRequestSchema;
1959
- output: typeof ExecuteProcedureResponseSchema;
1960
- };
1961
- /**
1962
- * Get the information about the procedure with the id
1963
- * Valid scopes: runtimeapi/executor, runtimeapi/executor.procedure
1818
+ * Send data on the transmitter
1819
+ * Valid scopes: runtimeapi/executor, runtimeapi/executor.send
1964
1820
  *
1965
- * @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.GetProcedureOperation
1821
+ * @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.Send
1966
1822
  */
1967
- getProcedureOperation: {
1823
+ send: {
1968
1824
  methodKind: "unary";
1969
- input: typeof GetProcedureOperationRequestSchema;
1970
- output: typeof GetProcedureOperationResponseSchema;
1825
+ input: typeof SendRequestSchema;
1826
+ output: typeof SendResponseSchema;
1971
1827
  };
1972
1828
  /**
1973
- * Cancel the execution of a procedure
1974
- * Valid scopes: runtimeapi/executor, runtimeapi/executor.procedure
1829
+ * Dispatch an exchange
1830
+ * Valid scopes: runtimeapi/executor, runtimeapi/executor.exchange
1975
1831
  *
1976
- * @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.CancelProcedureOperation
1832
+ * @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.DispatchExchange
1977
1833
  */
1978
- cancelProcedureOperation: {
1834
+ dispatchExchange: {
1979
1835
  methodKind: "unary";
1980
- input: typeof CancelProcedureOperationRequestSchema;
1981
- output: typeof CancelProcedureOperationResponseSchema;
1836
+ input: typeof DispatchExchangeRequestSchema;
1837
+ output: typeof DispatchExchangeResponseSchema;
1982
1838
  };
1983
1839
  /**
1984
- * Start a stream
1985
- * Valid scopes: runtimeapi/executor, runtimeapi/executor.stream
1840
+ * Get the information about the exchange instance with the id
1841
+ * Valid scopes: runtimeapi/executor, runtimeapi/executor.exchange
1986
1842
  *
1987
- * @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.StartStream
1843
+ * @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.GetExchangeOperation
1988
1844
  */
1989
- startStream: {
1845
+ getExchangeOperation: {
1990
1846
  methodKind: "unary";
1991
- input: typeof StartStreamRequestSchema;
1992
- output: typeof StartStreamResponseSchema;
1847
+ input: typeof GetExchangeOperationRequestSchema;
1848
+ output: typeof GetExchangeOperationResponseSchema;
1993
1849
  };
1994
1850
  /**
1995
- * Cancel a stream
1996
- * Valid scopes: runtimeapi/executor, runtimeapi/executor.stream
1851
+ * Cancel the execution of an exchange
1852
+ * Valid scopes: runtimeapi/executor, runtimeapi/executor.exchange
1997
1853
  *
1998
- * @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.CancelStream
1854
+ * @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.CancelExchangeOperation
1999
1855
  */
2000
- cancelStream: {
1856
+ cancelExchangeOperation: {
2001
1857
  methodKind: "unary";
2002
- input: typeof CancelStreamRequestSchema;
2003
- output: typeof CancelStreamResponseSchema;
1858
+ input: typeof CancelExchangeOperationRequestSchema;
1859
+ output: typeof CancelExchangeOperationResponseSchema;
2004
1860
  };
2005
1861
  /**
2006
1862
  * Batch write operations on the vertex session store