@mochabug/adapt-web 0.0.16 → 0.0.19

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 (40) hide show
  1. package/dist/genproto/buf/validate/validate_pb.d.ts +4041 -373
  2. package/dist/genproto/buf/validate/validate_pb.js.map +1 -1
  3. package/dist/genproto/google/api/annotations_pb.js.map +1 -1
  4. package/dist/genproto/google/api/client_pb.d.ts +570 -19
  5. package/dist/genproto/google/api/client_pb.js.map +1 -1
  6. package/dist/genproto/google/api/http_pb.d.ts +399 -3
  7. package/dist/genproto/google/api/http_pb.js.map +1 -1
  8. package/dist/genproto/google/api/launch_stage_pb.d.ts +8 -1
  9. package/dist/genproto/google/api/launch_stage_pb.js.map +1 -1
  10. package/dist/genproto/mochabugapis/adapt/automations/v1/automations_pb.d.ts +362 -18
  11. package/dist/genproto/mochabugapis/adapt/automations/v1/automations_pb.js.map +1 -1
  12. package/dist/genproto/mochabugapis/adapt/graph/exchange_pb.d.ts +33 -2
  13. package/dist/genproto/mochabugapis/adapt/graph/exchange_pb.js.map +1 -1
  14. package/dist/genproto/mochabugapis/adapt/graph/jtd_schema_pb.d.ts +108 -1
  15. package/dist/genproto/mochabugapis/adapt/graph/jtd_schema_pb.js.map +1 -1
  16. package/dist/genproto/mochabugapis/adapt/graph/receiver_pb.d.ts +29 -2
  17. package/dist/genproto/mochabugapis/adapt/graph/receiver_pb.js.map +1 -1
  18. package/dist/genproto/mochabugapis/adapt/graph/signal_binding_pb.d.ts +42 -4
  19. package/dist/genproto/mochabugapis/adapt/graph/signal_binding_pb.js.map +1 -1
  20. package/dist/genproto/mochabugapis/adapt/graph/signal_descriptor_pb.d.ts +39 -2
  21. package/dist/genproto/mochabugapis/adapt/graph/signal_descriptor_pb.js.map +1 -1
  22. package/dist/genproto/mochabugapis/adapt/graph/transceiver_pb.d.ts +27 -2
  23. package/dist/genproto/mochabugapis/adapt/graph/transceiver_pb.js.map +1 -1
  24. package/dist/genproto/mochabugapis/adapt/graph/transmitter_pb.d.ts +33 -2
  25. package/dist/genproto/mochabugapis/adapt/graph/transmitter_pb.js.map +1 -1
  26. package/dist/genproto/mochabugapis/adapt/graph/vertex_config_pb.d.ts +51 -4
  27. package/dist/genproto/mochabugapis/adapt/graph/vertex_config_pb.js.map +1 -1
  28. package/dist/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.d.ts +579 -15
  29. package/dist/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.js +1 -1
  30. package/dist/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.js.map +1 -1
  31. package/dist/genproto/mochabugapis/adapt/runtime/v1/incoming_pb.d.ts +174 -12
  32. package/dist/genproto/mochabugapis/adapt/runtime/v1/incoming_pb.js.map +1 -1
  33. package/dist/genproto/mochabugapis/adapt/runtime/v1/runtime_pb.d.ts +788 -50
  34. package/dist/genproto/mochabugapis/adapt/runtime/v1/runtime_pb.js.map +1 -1
  35. package/dist/genproto/mochabugapis/adapt/runtime/v1/store_pb.d.ts +340 -16
  36. package/dist/genproto/mochabugapis/adapt/runtime/v1/store_pb.js.map +1 -1
  37. package/dist/index.d.ts +13 -31
  38. package/dist/index.js +15 -37
  39. package/dist/index.js.map +1 -1
  40. package/package.json +20 -2
@@ -1,7 +1,7 @@
1
1
  import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
2
- import type { FieldMask, Timestamp, Value } from "@bufbuild/protobuf/wkt";
3
- import type { VertexConfigMetadata } from "../../graph/vertex_config_pb";
4
- import type { GetOp, GlobalResponseStatus, ReadOperationResult, WriteOperation, WriteOperationResult } from "./store_pb";
2
+ import type { FieldMask, FieldMaskJson, Timestamp, TimestampJson, Value, ValueJson } from "@bufbuild/protobuf/wkt";
3
+ import type { VertexConfigMetadata, VertexConfigMetadataJson } from "../../graph/vertex_config_pb";
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
  /**
7
7
  * Describes the file mochabugapis/adapt/runtime/v1/runtime.proto.
@@ -27,11 +27,31 @@ export type ExecutorServiceBatchWriteStoreRequest = Message<"mochabugapis.adapt.
27
27
  */
28
28
  namespace: Namespace;
29
29
  };
30
+ /**
31
+ * The request to apply operations to the execution store
32
+ *
33
+ * @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceBatchWriteStoreRequest
34
+ */
35
+ export type ExecutorServiceBatchWriteStoreRequestJson = {
36
+ /**
37
+ * A batch of operations to perform in the executor store.
38
+ * Refer to the comments on the `Namespace` enum for details on scope requirements.
39
+ *
40
+ * @generated from field: repeated mochabugapis.adapt.runtime.v1.WriteOperation operations = 1;
41
+ */
42
+ operations?: WriteOperationJson[];
43
+ /**
44
+ * The namespace whee the batch is applied.
45
+ *
46
+ * @generated from field: mochabugapis.adapt.runtime.v1.Namespace namespace = 2;
47
+ */
48
+ namespace?: NamespaceJson;
49
+ };
30
50
  /**
31
51
  * Describes the message mochabugapis.adapt.runtime.v1.ExecutorServiceBatchWriteStoreRequest.
32
52
  * Use `create(ExecutorServiceBatchWriteStoreRequestSchema)` to create a new message.
33
53
  */
34
- export declare const ExecutorServiceBatchWriteStoreRequestSchema: GenMessage<ExecutorServiceBatchWriteStoreRequest>;
54
+ export declare const ExecutorServiceBatchWriteStoreRequestSchema: GenMessage<ExecutorServiceBatchWriteStoreRequest, ExecutorServiceBatchWriteStoreRequestJson>;
35
55
  /**
36
56
  * The response of the batch store
37
57
  *
@@ -51,11 +71,30 @@ export type ExecutorServiceBatchWriteStoreResponse = Message<"mochabugapis.adapt
51
71
  */
52
72
  results: WriteOperationResult[];
53
73
  };
74
+ /**
75
+ * The response of the batch store
76
+ *
77
+ * @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceBatchWriteStoreResponse
78
+ */
79
+ export type ExecutorServiceBatchWriteStoreResponseJson = {
80
+ /**
81
+ * Represents the overall batch operation status
82
+ *
83
+ * @generated from field: mochabugapis.adapt.runtime.v1.GlobalResponseStatus global_status = 1;
84
+ */
85
+ globalStatus?: GlobalResponseStatusJson;
86
+ /**
87
+ * List of results for each operation
88
+ *
89
+ * @generated from field: repeated mochabugapis.adapt.runtime.v1.WriteOperationResult results = 2;
90
+ */
91
+ results?: WriteOperationResultJson[];
92
+ };
54
93
  /**
55
94
  * Describes the message mochabugapis.adapt.runtime.v1.ExecutorServiceBatchWriteStoreResponse.
56
95
  * Use `create(ExecutorServiceBatchWriteStoreResponseSchema)` to create a new message.
57
96
  */
58
- export declare const ExecutorServiceBatchWriteStoreResponseSchema: GenMessage<ExecutorServiceBatchWriteStoreResponse>;
97
+ export declare const ExecutorServiceBatchWriteStoreResponseSchema: GenMessage<ExecutorServiceBatchWriteStoreResponse, ExecutorServiceBatchWriteStoreResponseJson>;
59
98
  /**
60
99
  * The request to apply operations to the execution store
61
100
  *
@@ -76,11 +115,31 @@ export type ExecutorServiceBatchReadStoreRequest = Message<"mochabugapis.adapt.r
76
115
  */
77
116
  namespace: Namespace;
78
117
  };
118
+ /**
119
+ * The request to apply operations to the execution store
120
+ *
121
+ * @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceBatchReadStoreRequest
122
+ */
123
+ export type ExecutorServiceBatchReadStoreRequestJson = {
124
+ /**
125
+ * A batch of operations to perform in the executor store.
126
+ * Refer to the comments on the `Namespace` enum for details on scope requirements.
127
+ *
128
+ * @generated from field: repeated mochabugapis.adapt.runtime.v1.GetOp operations = 1;
129
+ */
130
+ operations?: GetOpJson[];
131
+ /**
132
+ * The namespace whee the batch is applied.
133
+ *
134
+ * @generated from field: mochabugapis.adapt.runtime.v1.Namespace namespace = 2;
135
+ */
136
+ namespace?: NamespaceJson;
137
+ };
79
138
  /**
80
139
  * Describes the message mochabugapis.adapt.runtime.v1.ExecutorServiceBatchReadStoreRequest.
81
140
  * Use `create(ExecutorServiceBatchReadStoreRequestSchema)` to create a new message.
82
141
  */
83
- export declare const ExecutorServiceBatchReadStoreRequestSchema: GenMessage<ExecutorServiceBatchReadStoreRequest>;
142
+ export declare const ExecutorServiceBatchReadStoreRequestSchema: GenMessage<ExecutorServiceBatchReadStoreRequest, ExecutorServiceBatchReadStoreRequestJson>;
84
143
  /**
85
144
  * The response of the batch store
86
145
  *
@@ -100,11 +159,30 @@ export type ExecutorServiceBatchReadStoreResponse = Message<"mochabugapis.adapt.
100
159
  */
101
160
  results: ReadOperationResult[];
102
161
  };
162
+ /**
163
+ * The response of the batch store
164
+ *
165
+ * @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceBatchReadStoreResponse
166
+ */
167
+ export type ExecutorServiceBatchReadStoreResponseJson = {
168
+ /**
169
+ * Represents the overall batch operation status
170
+ *
171
+ * @generated from field: mochabugapis.adapt.runtime.v1.GlobalResponseStatus global_status = 1;
172
+ */
173
+ globalStatus?: GlobalResponseStatusJson;
174
+ /**
175
+ * List of results for each operation
176
+ *
177
+ * @generated from field: repeated mochabugapis.adapt.runtime.v1.ReadOperationResult results = 2;
178
+ */
179
+ results?: ReadOperationResultJson[];
180
+ };
103
181
  /**
104
182
  * Describes the message mochabugapis.adapt.runtime.v1.ExecutorServiceBatchReadStoreResponse.
105
183
  * Use `create(ExecutorServiceBatchReadStoreResponseSchema)` to create a new message.
106
184
  */
107
- export declare const ExecutorServiceBatchReadStoreResponseSchema: GenMessage<ExecutorServiceBatchReadStoreResponse>;
185
+ export declare const ExecutorServiceBatchReadStoreResponseSchema: GenMessage<ExecutorServiceBatchReadStoreResponse, ExecutorServiceBatchReadStoreResponseJson>;
108
186
  /**
109
187
  * A request to start streaming
110
188
  *
@@ -132,22 +210,55 @@ export type StartStreamRequest = Message<"mochabugapis.adapt.runtime.v1.StartStr
132
210
  [key: string]: Value;
133
211
  };
134
212
  };
213
+ /**
214
+ * A request to start streaming
215
+ *
216
+ * @generated from message mochabugapis.adapt.runtime.v1.StartStreamRequest
217
+ */
218
+ export type StartStreamRequestJson = {
219
+ /**
220
+ * The name of the stream to start
221
+ *
222
+ * @generated from field: string name = 1;
223
+ */
224
+ name?: string;
225
+ /**
226
+ * The receiver to send the signals on
227
+ *
228
+ * @generated from field: string receiver = 2;
229
+ */
230
+ receiver?: string;
231
+ /**
232
+ * The signals to send over the receiver
233
+ *
234
+ * @generated from field: map<string, google.protobuf.Value> signals = 3;
235
+ */
236
+ signals?: {
237
+ [key: string]: ValueJson;
238
+ };
239
+ };
135
240
  /**
136
241
  * Describes the message mochabugapis.adapt.runtime.v1.StartStreamRequest.
137
242
  * Use `create(StartStreamRequestSchema)` to create a new message.
138
243
  */
139
- export declare const StartStreamRequestSchema: GenMessage<StartStreamRequest>;
244
+ export declare const StartStreamRequestSchema: GenMessage<StartStreamRequest, StartStreamRequestJson>;
140
245
  /**
141
246
  * The response of starting a stream
142
247
  *
143
248
  * @generated from message mochabugapis.adapt.runtime.v1.StartStreamResponse
144
249
  */
145
250
  export type StartStreamResponse = Message<"mochabugapis.adapt.runtime.v1.StartStreamResponse"> & {};
251
+ /**
252
+ * The response of starting a stream
253
+ *
254
+ * @generated from message mochabugapis.adapt.runtime.v1.StartStreamResponse
255
+ */
256
+ export type StartStreamResponseJson = {};
146
257
  /**
147
258
  * Describes the message mochabugapis.adapt.runtime.v1.StartStreamResponse.
148
259
  * Use `create(StartStreamResponseSchema)` to create a new message.
149
260
  */
150
- export declare const StartStreamResponseSchema: GenMessage<StartStreamResponse>;
261
+ export declare const StartStreamResponseSchema: GenMessage<StartStreamResponse, StartStreamResponseJson>;
151
262
  /**
152
263
  * A request to cancel a stream
153
264
  *
@@ -161,22 +272,41 @@ export type CancelStreamRequest = Message<"mochabugapis.adapt.runtime.v1.CancelS
161
272
  */
162
273
  name: string;
163
274
  };
275
+ /**
276
+ * A request to cancel a stream
277
+ *
278
+ * @generated from message mochabugapis.adapt.runtime.v1.CancelStreamRequest
279
+ */
280
+ export type CancelStreamRequestJson = {
281
+ /**
282
+ * The name of the stream to cancel
283
+ *
284
+ * @generated from field: string name = 1;
285
+ */
286
+ name?: string;
287
+ };
164
288
  /**
165
289
  * Describes the message mochabugapis.adapt.runtime.v1.CancelStreamRequest.
166
290
  * Use `create(CancelStreamRequestSchema)` to create a new message.
167
291
  */
168
- export declare const CancelStreamRequestSchema: GenMessage<CancelStreamRequest>;
292
+ export declare const CancelStreamRequestSchema: GenMessage<CancelStreamRequest, CancelStreamRequestJson>;
169
293
  /**
170
294
  * The response of cancelling a stream
171
295
  *
172
296
  * @generated from message mochabugapis.adapt.runtime.v1.CancelStreamResponse
173
297
  */
174
298
  export type CancelStreamResponse = Message<"mochabugapis.adapt.runtime.v1.CancelStreamResponse"> & {};
299
+ /**
300
+ * The response of cancelling a stream
301
+ *
302
+ * @generated from message mochabugapis.adapt.runtime.v1.CancelStreamResponse
303
+ */
304
+ export type CancelStreamResponseJson = {};
175
305
  /**
176
306
  * Describes the message mochabugapis.adapt.runtime.v1.CancelStreamResponse.
177
307
  * Use `create(CancelStreamResponseSchema)` to create a new message.
178
308
  */
179
- export declare const CancelStreamResponseSchema: GenMessage<CancelStreamResponse>;
309
+ export declare const CancelStreamResponseSchema: GenMessage<CancelStreamResponse, CancelStreamResponseJson>;
180
310
  /**
181
311
  * A request to cancel a running procedure operation
182
312
  *
@@ -190,22 +320,41 @@ export type CancelProcedureOperationRequest = Message<"mochabugapis.adapt.runtim
190
320
  */
191
321
  id: string;
192
322
  };
323
+ /**
324
+ * A request to cancel a running procedure operation
325
+ *
326
+ * @generated from message mochabugapis.adapt.runtime.v1.CancelProcedureOperationRequest
327
+ */
328
+ export type CancelProcedureOperationRequestJson = {
329
+ /**
330
+ * The id of the operation
331
+ *
332
+ * @generated from field: string id = 1;
333
+ */
334
+ id?: string;
335
+ };
193
336
  /**
194
337
  * Describes the message mochabugapis.adapt.runtime.v1.CancelProcedureOperationRequest.
195
338
  * Use `create(CancelProcedureOperationRequestSchema)` to create a new message.
196
339
  */
197
- export declare const CancelProcedureOperationRequestSchema: GenMessage<CancelProcedureOperationRequest>;
340
+ export declare const CancelProcedureOperationRequestSchema: GenMessage<CancelProcedureOperationRequest, CancelProcedureOperationRequestJson>;
198
341
  /**
199
342
  * The response of cancelling the procedure operation
200
343
  *
201
344
  * @generated from message mochabugapis.adapt.runtime.v1.CancelProcedureOperationResponse
202
345
  */
203
346
  export type CancelProcedureOperationResponse = Message<"mochabugapis.adapt.runtime.v1.CancelProcedureOperationResponse"> & {};
347
+ /**
348
+ * The response of cancelling the procedure operation
349
+ *
350
+ * @generated from message mochabugapis.adapt.runtime.v1.CancelProcedureOperationResponse
351
+ */
352
+ export type CancelProcedureOperationResponseJson = {};
204
353
  /**
205
354
  * Describes the message mochabugapis.adapt.runtime.v1.CancelProcedureOperationResponse.
206
355
  * Use `create(CancelProcedureOperationResponseSchema)` to create a new message.
207
356
  */
208
- export declare const CancelProcedureOperationResponseSchema: GenMessage<CancelProcedureOperationResponse>;
357
+ export declare const CancelProcedureOperationResponseSchema: GenMessage<CancelProcedureOperationResponse, CancelProcedureOperationResponseJson>;
209
358
  /**
210
359
  * A request to check the status of an operation
211
360
  *
@@ -219,11 +368,24 @@ export type GetProcedureOperationRequest = Message<"mochabugapis.adapt.runtime.v
219
368
  */
220
369
  id: string;
221
370
  };
371
+ /**
372
+ * A request to check the status of an operation
373
+ *
374
+ * @generated from message mochabugapis.adapt.runtime.v1.GetProcedureOperationRequest
375
+ */
376
+ export type GetProcedureOperationRequestJson = {
377
+ /**
378
+ * The id of the operation
379
+ *
380
+ * @generated from field: string id = 1;
381
+ */
382
+ id?: string;
383
+ };
222
384
  /**
223
385
  * Describes the message mochabugapis.adapt.runtime.v1.GetProcedureOperationRequest.
224
386
  * Use `create(GetProcedureOperationRequestSchema)` to create a new message.
225
387
  */
226
- export declare const GetProcedureOperationRequestSchema: GenMessage<GetProcedureOperationRequest>;
388
+ export declare const GetProcedureOperationRequestSchema: GenMessage<GetProcedureOperationRequest, GetProcedureOperationRequestJson>;
227
389
  /**
228
390
  * The get operation response
229
391
  *
@@ -237,11 +399,24 @@ export type GetProcedureOperationResponse = Message<"mochabugapis.adapt.runtime.
237
399
  */
238
400
  item?: ProcedureOperation;
239
401
  };
402
+ /**
403
+ * The get operation response
404
+ *
405
+ * @generated from message mochabugapis.adapt.runtime.v1.GetProcedureOperationResponse
406
+ */
407
+ export type GetProcedureOperationResponseJson = {
408
+ /**
409
+ * The actual operation
410
+ *
411
+ * @generated from field: mochabugapis.adapt.runtime.v1.ProcedureOperation item = 1;
412
+ */
413
+ item?: ProcedureOperationJson;
414
+ };
240
415
  /**
241
416
  * Describes the message mochabugapis.adapt.runtime.v1.GetProcedureOperationResponse.
242
417
  * Use `create(GetProcedureOperationResponseSchema)` to create a new message.
243
418
  */
244
- export declare const GetProcedureOperationResponseSchema: GenMessage<GetProcedureOperationResponse>;
419
+ export declare const GetProcedureOperationResponseSchema: GenMessage<GetProcedureOperationResponse, GetProcedureOperationResponseJson>;
245
420
  /**
246
421
  * A request to start execute a procedure
247
422
  *
@@ -269,11 +444,38 @@ export type ExecuteProcedureRequest = Message<"mochabugapis.adapt.runtime.v1.Exe
269
444
  [key: string]: Value;
270
445
  };
271
446
  };
447
+ /**
448
+ * A request to start execute a procedure
449
+ *
450
+ * @generated from message mochabugapis.adapt.runtime.v1.ExecuteProcedureRequest
451
+ */
452
+ export type ExecuteProcedureRequestJson = {
453
+ /**
454
+ * The name of the procedure to execute
455
+ *
456
+ * @generated from field: string name = 1;
457
+ */
458
+ name?: string;
459
+ /**
460
+ * The receiver to send the signals on
461
+ *
462
+ * @generated from field: string receiver = 2;
463
+ */
464
+ receiver?: string;
465
+ /**
466
+ * The signals to send over the receiver
467
+ *
468
+ * @generated from field: map<string, google.protobuf.Value> signals = 3;
469
+ */
470
+ signals?: {
471
+ [key: string]: ValueJson;
472
+ };
473
+ };
272
474
  /**
273
475
  * Describes the message mochabugapis.adapt.runtime.v1.ExecuteProcedureRequest.
274
476
  * Use `create(ExecuteProcedureRequestSchema)` to create a new message.
275
477
  */
276
- export declare const ExecuteProcedureRequestSchema: GenMessage<ExecuteProcedureRequest>;
478
+ export declare const ExecuteProcedureRequestSchema: GenMessage<ExecuteProcedureRequest, ExecuteProcedureRequestJson>;
277
479
  /**
278
480
  * The response of the procedure execution
279
481
  * Just like streams, this is an async operation
@@ -288,11 +490,25 @@ export type ExecuteProcedureResponse = Message<"mochabugapis.adapt.runtime.v1.Ex
288
490
  */
289
491
  procedure?: ProcedureOperation;
290
492
  };
493
+ /**
494
+ * The response of the procedure execution
495
+ * Just like streams, this is an async operation
496
+ *
497
+ * @generated from message mochabugapis.adapt.runtime.v1.ExecuteProcedureResponse
498
+ */
499
+ export type ExecuteProcedureResponseJson = {
500
+ /**
501
+ * The id of the operation
502
+ *
503
+ * @generated from field: mochabugapis.adapt.runtime.v1.ProcedureOperation procedure = 1;
504
+ */
505
+ procedure?: ProcedureOperationJson;
506
+ };
291
507
  /**
292
508
  * Describes the message mochabugapis.adapt.runtime.v1.ExecuteProcedureResponse.
293
509
  * Use `create(ExecuteProcedureResponseSchema)` to create a new message.
294
510
  */
295
- export declare const ExecuteProcedureResponseSchema: GenMessage<ExecuteProcedureResponse>;
511
+ export declare const ExecuteProcedureResponseSchema: GenMessage<ExecuteProcedureResponse, ExecuteProcedureResponseJson>;
296
512
  /**
297
513
  * A representation of a procedure
298
514
  *
@@ -326,11 +542,44 @@ export type ProcedureOperation = Message<"mochabugapis.adapt.runtime.v1.Procedur
326
542
  */
327
543
  result?: ProcedureOperation_Result;
328
544
  };
545
+ /**
546
+ * A representation of a procedure
547
+ *
548
+ * @generated from message mochabugapis.adapt.runtime.v1.ProcedureOperation
549
+ */
550
+ export type ProcedureOperationJson = {
551
+ /**
552
+ * The name of the procedure
553
+ *
554
+ * @generated from field: string name = 1;
555
+ */
556
+ name?: string;
557
+ /**
558
+ * The id of the operation
559
+ *
560
+ * @generated from field: string id = 2;
561
+ */
562
+ id?: string;
563
+ /**
564
+ * True if the procedure is done executing
565
+ * The result is not set for procedures with zero transmitters even
566
+ * though the execution has finished. I.e. done == true
567
+ *
568
+ * @generated from field: bool done = 3;
569
+ */
570
+ done?: boolean;
571
+ /**
572
+ * The result of the procedure
573
+ *
574
+ * @generated from field: optional mochabugapis.adapt.runtime.v1.ProcedureOperation.Result result = 4;
575
+ */
576
+ result?: ProcedureOperation_ResultJson;
577
+ };
329
578
  /**
330
579
  * Describes the message mochabugapis.adapt.runtime.v1.ProcedureOperation.
331
580
  * Use `create(ProcedureOperationSchema)` to create a new message.
332
581
  */
333
- export declare const ProcedureOperationSchema: GenMessage<ProcedureOperation>;
582
+ export declare const ProcedureOperationSchema: GenMessage<ProcedureOperation, ProcedureOperationJson>;
334
583
  /**
335
584
  * The result of executing a procedure
336
585
  *
@@ -352,11 +601,32 @@ export type ProcedureOperation_Result = Message<"mochabugapis.adapt.runtime.v1.P
352
601
  [key: string]: Value;
353
602
  };
354
603
  };
604
+ /**
605
+ * The result of executing a procedure
606
+ *
607
+ * @generated from message mochabugapis.adapt.runtime.v1.ProcedureOperation.Result
608
+ */
609
+ export type ProcedureOperation_ResultJson = {
610
+ /**
611
+ * The name of the transmitter pushing the resulting signals
612
+ *
613
+ * @generated from field: string transmitter = 1;
614
+ */
615
+ transmitter?: string;
616
+ /**
617
+ * The signals to send over the transmitter
618
+ *
619
+ * @generated from field: map<string, google.protobuf.Value> signals = 2;
620
+ */
621
+ signals?: {
622
+ [key: string]: ValueJson;
623
+ };
624
+ };
355
625
  /**
356
626
  * Describes the message mochabugapis.adapt.runtime.v1.ProcedureOperation.Result.
357
627
  * Use `create(ProcedureOperation_ResultSchema)` to create a new message.
358
628
  */
359
- export declare const ProcedureOperation_ResultSchema: GenMessage<ProcedureOperation_Result>;
629
+ export declare const ProcedureOperation_ResultSchema: GenMessage<ProcedureOperation_Result, ProcedureOperation_ResultJson>;
360
630
  /**
361
631
  * The complete execution request message
362
632
  *
@@ -378,22 +648,49 @@ export type CompleteExecutionRequest = Message<"mochabugapis.adapt.runtime.v1.Co
378
648
  [key: string]: Value;
379
649
  };
380
650
  };
651
+ /**
652
+ * The complete execution request message
653
+ *
654
+ * @generated from message mochabugapis.adapt.runtime.v1.CompleteExecutionRequest
655
+ */
656
+ export type CompleteExecutionRequestJson = {
657
+ /**
658
+ * The transmitter to fire the signals on
659
+ *
660
+ * @generated from field: string transmitter = 1;
661
+ */
662
+ transmitter?: string;
663
+ /**
664
+ * The signals to send over the transmitter
665
+ *
666
+ * @generated from field: map<string, google.protobuf.Value> signals = 2;
667
+ */
668
+ signals?: {
669
+ [key: string]: ValueJson;
670
+ };
671
+ };
381
672
  /**
382
673
  * Describes the message mochabugapis.adapt.runtime.v1.CompleteExecutionRequest.
383
674
  * Use `create(CompleteExecutionRequestSchema)` to create a new message.
384
675
  */
385
- export declare const CompleteExecutionRequestSchema: GenMessage<CompleteExecutionRequest>;
676
+ export declare const CompleteExecutionRequestSchema: GenMessage<CompleteExecutionRequest, CompleteExecutionRequestJson>;
386
677
  /**
387
678
  * The complete execution response message
388
679
  *
389
680
  * @generated from message mochabugapis.adapt.runtime.v1.CompleteExecutionResponse
390
681
  */
391
682
  export type CompleteExecutionResponse = Message<"mochabugapis.adapt.runtime.v1.CompleteExecutionResponse"> & {};
683
+ /**
684
+ * The complete execution response message
685
+ *
686
+ * @generated from message mochabugapis.adapt.runtime.v1.CompleteExecutionResponse
687
+ */
688
+ export type CompleteExecutionResponseJson = {};
392
689
  /**
393
690
  * Describes the message mochabugapis.adapt.runtime.v1.CompleteExecutionResponse.
394
691
  * Use `create(CompleteExecutionResponseSchema)` to create a new message.
395
692
  */
396
- export declare const CompleteExecutionResponseSchema: GenMessage<CompleteExecutionResponse>;
693
+ export declare const CompleteExecutionResponseSchema: GenMessage<CompleteExecutionResponse, CompleteExecutionResponseJson>;
397
694
  /**
398
695
  * The request to fetch multiple signals on the connected receiver
399
696
  *
@@ -408,11 +705,25 @@ export type BatchGetBoundReceiverSignalsRequest = Message<"mochabugapis.adapt.ru
408
705
  */
409
706
  names: string[];
410
707
  };
708
+ /**
709
+ * The request to fetch multiple signals on the connected receiver
710
+ *
711
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetBoundReceiverSignalsRequest
712
+ */
713
+ export type BatchGetBoundReceiverSignalsRequestJson = {
714
+ /**
715
+ * The names of the signals to fetch
716
+ * An empty array will result in only fetching the connected receiver
717
+ *
718
+ * @generated from field: repeated string names = 1;
719
+ */
720
+ names?: string[];
721
+ };
411
722
  /**
412
723
  * Describes the message mochabugapis.adapt.runtime.v1.BatchGetBoundReceiverSignalsRequest.
413
724
  * Use `create(BatchGetBoundReceiverSignalsRequestSchema)` to create a new message.
414
725
  */
415
- export declare const BatchGetBoundReceiverSignalsRequestSchema: GenMessage<BatchGetBoundReceiverSignalsRequest>;
726
+ export declare const BatchGetBoundReceiverSignalsRequestSchema: GenMessage<BatchGetBoundReceiverSignalsRequest, BatchGetBoundReceiverSignalsRequestJson>;
416
727
  /**
417
728
  * The response of getting multiple signals on the connected receiver
418
729
  *
@@ -434,11 +745,32 @@ export type BatchGetBoundReceiverSignalsResponse = Message<"mochabugapis.adapt.r
434
745
  */
435
746
  receiver: string;
436
747
  };
748
+ /**
749
+ * The response of getting multiple signals on the connected receiver
750
+ *
751
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetBoundReceiverSignalsResponse
752
+ */
753
+ export type BatchGetBoundReceiverSignalsResponseJson = {
754
+ /**
755
+ * The returned items, items not found are ignored
756
+ *
757
+ * @generated from field: map<string, google.protobuf.Value> items = 1;
758
+ */
759
+ items?: {
760
+ [key: string]: ValueJson;
761
+ };
762
+ /**
763
+ * The connected receiver
764
+ *
765
+ * @generated from field: string receiver = 2;
766
+ */
767
+ receiver?: string;
768
+ };
437
769
  /**
438
770
  * Describes the message mochabugapis.adapt.runtime.v1.BatchGetBoundReceiverSignalsResponse.
439
771
  * Use `create(BatchGetBoundReceiverSignalsResponseSchema)` to create a new message.
440
772
  */
441
- export declare const BatchGetBoundReceiverSignalsResponseSchema: GenMessage<BatchGetBoundReceiverSignalsResponse>;
773
+ export declare const BatchGetBoundReceiverSignalsResponseSchema: GenMessage<BatchGetBoundReceiverSignalsResponse, BatchGetBoundReceiverSignalsResponseJson>;
442
774
  /**
443
775
  * A request to fetch the signals on the connected receiver
444
776
  *
@@ -465,11 +797,37 @@ export type ListBoundReceiverSignalsRequest = Message<"mochabugapis.adapt.runtim
465
797
  */
466
798
  orderDescending?: boolean;
467
799
  };
800
+ /**
801
+ * A request to fetch the signals on the connected receiver
802
+ *
803
+ * @generated from message mochabugapis.adapt.runtime.v1.ListBoundReceiverSignalsRequest
804
+ */
805
+ export type ListBoundReceiverSignalsRequestJson = {
806
+ /**
807
+ * The page size, defaults to 50
808
+ *
809
+ * @generated from field: optional int32 page_size = 1;
810
+ */
811
+ pageSize?: number;
812
+ /**
813
+ * The cursor where to start the listing, defaults to beginning
814
+ * If the cursor is set, filter and order_by are ignored
815
+ *
816
+ * @generated from field: optional string cursor = 2;
817
+ */
818
+ cursor?: string;
819
+ /**
820
+ * True if you want the result in descending order
821
+ *
822
+ * @generated from field: optional bool order_descending = 3;
823
+ */
824
+ orderDescending?: boolean;
825
+ };
468
826
  /**
469
827
  * Describes the message mochabugapis.adapt.runtime.v1.ListBoundReceiverSignalsRequest.
470
828
  * Use `create(ListBoundReceiverSignalsRequestSchema)` to create a new message.
471
829
  */
472
- export declare const ListBoundReceiverSignalsRequestSchema: GenMessage<ListBoundReceiverSignalsRequest>;
830
+ export declare const ListBoundReceiverSignalsRequestSchema: GenMessage<ListBoundReceiverSignalsRequest, ListBoundReceiverSignalsRequestJson>;
473
831
  /**
474
832
  * The response of fetching the recieved signals
475
833
  *
@@ -499,11 +857,40 @@ export type ListBoundReceiverSignalsResponse = Message<"mochabugapis.adapt.runti
499
857
  */
500
858
  nextCursor?: string;
501
859
  };
860
+ /**
861
+ * The response of fetching the recieved signals
862
+ *
863
+ * @generated from message mochabugapis.adapt.runtime.v1.ListBoundReceiverSignalsResponse
864
+ */
865
+ export type ListBoundReceiverSignalsResponseJson = {
866
+ /**
867
+ * The actual signals on the receiver
868
+ *
869
+ * @generated from field: map<string, google.protobuf.Value> signals = 1;
870
+ */
871
+ signals?: {
872
+ [key: string]: ValueJson;
873
+ };
874
+ /**
875
+ * The receiver the signals are fetched on
876
+ * The receiver must always be set, otherwise we cannot be inside a executor
877
+ *
878
+ * @generated from field: string receiver = 2;
879
+ */
880
+ receiver?: string;
881
+ /**
882
+ * Use this cursor in the next request to go through the collection
883
+ * Set if there's more data
884
+ *
885
+ * @generated from field: optional string next_cursor = 3;
886
+ */
887
+ nextCursor?: string;
888
+ };
502
889
  /**
503
890
  * Describes the message mochabugapis.adapt.runtime.v1.ListBoundReceiverSignalsResponse.
504
891
  * Use `create(ListBoundReceiverSignalsResponseSchema)` to create a new message.
505
892
  */
506
- export declare const ListBoundReceiverSignalsResponseSchema: GenMessage<ListBoundReceiverSignalsResponse>;
893
+ export declare const ListBoundReceiverSignalsResponseSchema: GenMessage<ListBoundReceiverSignalsResponse, ListBoundReceiverSignalsResponseJson>;
507
894
  /**
508
895
  * The vertex config request
509
896
  *
@@ -517,11 +904,24 @@ export type ExecutorServiceGetVertexConfigRequest = Message<"mochabugapis.adapt.
517
904
  */
518
905
  fieldMask?: FieldMask;
519
906
  };
907
+ /**
908
+ * The vertex config request
909
+ *
910
+ * @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceGetVertexConfigRequest
911
+ */
912
+ export type ExecutorServiceGetVertexConfigRequestJson = {
913
+ /**
914
+ * An optional field mask
915
+ *
916
+ * @generated from field: optional google.protobuf.FieldMask field_mask = 1;
917
+ */
918
+ fieldMask?: FieldMaskJson;
919
+ };
520
920
  /**
521
921
  * Describes the message mochabugapis.adapt.runtime.v1.ExecutorServiceGetVertexConfigRequest.
522
922
  * Use `create(ExecutorServiceGetVertexConfigRequestSchema)` to create a new message.
523
923
  */
524
- export declare const ExecutorServiceGetVertexConfigRequestSchema: GenMessage<ExecutorServiceGetVertexConfigRequest>;
924
+ export declare const ExecutorServiceGetVertexConfigRequestSchema: GenMessage<ExecutorServiceGetVertexConfigRequest, ExecutorServiceGetVertexConfigRequestJson>;
525
925
  /**
526
926
  * The vertex config response
527
927
  *
@@ -541,36 +941,75 @@ export type ExecutorServiceGetVertexConfigResponse = Message<"mochabugapis.adapt
541
941
  */
542
942
  metadata?: VertexConfigMetadata;
543
943
  };
944
+ /**
945
+ * The vertex config response
946
+ *
947
+ * @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceGetVertexConfigResponse
948
+ */
949
+ export type ExecutorServiceGetVertexConfigResponseJson = {
950
+ /**
951
+ * The vertex config
952
+ *
953
+ * @generated from field: bytes config = 1;
954
+ */
955
+ config?: string;
956
+ /**
957
+ * The metadata of the config
958
+ *
959
+ * @generated from field: mochabugapis.adapt.graph.VertexConfigMetadata metadata = 2;
960
+ */
961
+ metadata?: VertexConfigMetadataJson;
962
+ };
544
963
  /**
545
964
  * Describes the message mochabugapis.adapt.runtime.v1.ExecutorServiceGetVertexConfigResponse.
546
965
  * Use `create(ExecutorServiceGetVertexConfigResponseSchema)` to create a new message.
547
966
  */
548
- export declare const ExecutorServiceGetVertexConfigResponseSchema: GenMessage<ExecutorServiceGetVertexConfigResponse>;
967
+ export declare const ExecutorServiceGetVertexConfigResponseSchema: GenMessage<ExecutorServiceGetVertexConfigResponse, ExecutorServiceGetVertexConfigResponseJson>;
968
+ /**
969
+ * The batch store operation for the configuration store
970
+ *
971
+ * @generated from message mochabugapis.adapt.runtime.v1.ConfiguratorServiceBatchWriteStoreRequest
972
+ */
973
+ export type ConfiguratorServiceBatchWriteStoreRequest = Message<"mochabugapis.adapt.runtime.v1.ConfiguratorServiceBatchWriteStoreRequest"> & {
974
+ /**
975
+ * A batch of operations to perform in the configurator store.
976
+ * Refer to the comments on the `StoreNamespace` enum for details on scope requirements.
977
+ *
978
+ * @generated from field: repeated mochabugapis.adapt.runtime.v1.WriteOperation operations = 1;
979
+ */
980
+ operations: WriteOperation[];
981
+ /**
982
+ * The namespace where the batch is applied.
983
+ *
984
+ * @generated from field: mochabugapis.adapt.runtime.v1.Namespace namespace = 2;
985
+ */
986
+ namespace: Namespace;
987
+ };
549
988
  /**
550
989
  * The batch store operation for the configuration store
551
990
  *
552
991
  * @generated from message mochabugapis.adapt.runtime.v1.ConfiguratorServiceBatchWriteStoreRequest
553
992
  */
554
- export type ConfiguratorServiceBatchWriteStoreRequest = Message<"mochabugapis.adapt.runtime.v1.ConfiguratorServiceBatchWriteStoreRequest"> & {
993
+ export type ConfiguratorServiceBatchWriteStoreRequestJson = {
555
994
  /**
556
995
  * A batch of operations to perform in the configurator store.
557
996
  * Refer to the comments on the `StoreNamespace` enum for details on scope requirements.
558
997
  *
559
998
  * @generated from field: repeated mochabugapis.adapt.runtime.v1.WriteOperation operations = 1;
560
999
  */
561
- operations: WriteOperation[];
1000
+ operations?: WriteOperationJson[];
562
1001
  /**
563
1002
  * The namespace where the batch is applied.
564
1003
  *
565
1004
  * @generated from field: mochabugapis.adapt.runtime.v1.Namespace namespace = 2;
566
1005
  */
567
- namespace: Namespace;
1006
+ namespace?: NamespaceJson;
568
1007
  };
569
1008
  /**
570
1009
  * Describes the message mochabugapis.adapt.runtime.v1.ConfiguratorServiceBatchWriteStoreRequest.
571
1010
  * Use `create(ConfiguratorServiceBatchWriteStoreRequestSchema)` to create a new message.
572
1011
  */
573
- export declare const ConfiguratorServiceBatchWriteStoreRequestSchema: GenMessage<ConfiguratorServiceBatchWriteStoreRequest>;
1012
+ export declare const ConfiguratorServiceBatchWriteStoreRequestSchema: GenMessage<ConfiguratorServiceBatchWriteStoreRequest, ConfiguratorServiceBatchWriteStoreRequestJson>;
574
1013
  /**
575
1014
  * The response of the batch store
576
1015
  *
@@ -590,11 +1029,30 @@ export type ConfiguratorServiceBatchWriteStoreResponse = Message<"mochabugapis.a
590
1029
  */
591
1030
  results: WriteOperationResult[];
592
1031
  };
1032
+ /**
1033
+ * The response of the batch store
1034
+ *
1035
+ * @generated from message mochabugapis.adapt.runtime.v1.ConfiguratorServiceBatchWriteStoreResponse
1036
+ */
1037
+ export type ConfiguratorServiceBatchWriteStoreResponseJson = {
1038
+ /**
1039
+ * Represents the overall batch operation status
1040
+ *
1041
+ * @generated from field: mochabugapis.adapt.runtime.v1.GlobalResponseStatus global_status = 1;
1042
+ */
1043
+ globalStatus?: GlobalResponseStatusJson;
1044
+ /**
1045
+ * List of results for each operation
1046
+ *
1047
+ * @generated from field: repeated mochabugapis.adapt.runtime.v1.WriteOperationResult results = 2;
1048
+ */
1049
+ results?: WriteOperationResultJson[];
1050
+ };
593
1051
  /**
594
1052
  * Describes the message mochabugapis.adapt.runtime.v1.ConfiguratorServiceBatchWriteStoreResponse.
595
1053
  * Use `create(ConfiguratorServiceBatchWriteStoreResponseSchema)` to create a new message.
596
1054
  */
597
- export declare const ConfiguratorServiceBatchWriteStoreResponseSchema: GenMessage<ConfiguratorServiceBatchWriteStoreResponse>;
1055
+ export declare const ConfiguratorServiceBatchWriteStoreResponseSchema: GenMessage<ConfiguratorServiceBatchWriteStoreResponse, ConfiguratorServiceBatchWriteStoreResponseJson>;
598
1056
  /**
599
1057
  * The batch store operation for the configuration store
600
1058
  *
@@ -615,11 +1073,31 @@ export type ConfiguratorServiceBatchReadStoreRequest = Message<"mochabugapis.ada
615
1073
  */
616
1074
  namespace: Namespace;
617
1075
  };
1076
+ /**
1077
+ * The batch store operation for the configuration store
1078
+ *
1079
+ * @generated from message mochabugapis.adapt.runtime.v1.ConfiguratorServiceBatchReadStoreRequest
1080
+ */
1081
+ export type ConfiguratorServiceBatchReadStoreRequestJson = {
1082
+ /**
1083
+ * A batch of operations to perform in the configurator store.
1084
+ * Refer to the comments on the `StoreNamespace` enum for details on scope requirements.
1085
+ *
1086
+ * @generated from field: repeated mochabugapis.adapt.runtime.v1.GetOp operations = 1;
1087
+ */
1088
+ operations?: GetOpJson[];
1089
+ /**
1090
+ * The namespace where the batch is applied.
1091
+ *
1092
+ * @generated from field: mochabugapis.adapt.runtime.v1.Namespace namespace = 2;
1093
+ */
1094
+ namespace?: NamespaceJson;
1095
+ };
618
1096
  /**
619
1097
  * Describes the message mochabugapis.adapt.runtime.v1.ConfiguratorServiceBatchReadStoreRequest.
620
1098
  * Use `create(ConfiguratorServiceBatchReadStoreRequestSchema)` to create a new message.
621
1099
  */
622
- export declare const ConfiguratorServiceBatchReadStoreRequestSchema: GenMessage<ConfiguratorServiceBatchReadStoreRequest>;
1100
+ export declare const ConfiguratorServiceBatchReadStoreRequestSchema: GenMessage<ConfiguratorServiceBatchReadStoreRequest, ConfiguratorServiceBatchReadStoreRequestJson>;
623
1101
  /**
624
1102
  * The response of the batch store
625
1103
  *
@@ -639,11 +1117,30 @@ export type ConfiguratorServiceBatchReadStoreResponse = Message<"mochabugapis.ad
639
1117
  */
640
1118
  results: ReadOperationResult[];
641
1119
  };
1120
+ /**
1121
+ * The response of the batch store
1122
+ *
1123
+ * @generated from message mochabugapis.adapt.runtime.v1.ConfiguratorServiceBatchReadStoreResponse
1124
+ */
1125
+ export type ConfiguratorServiceBatchReadStoreResponseJson = {
1126
+ /**
1127
+ * Represents the overall batch operation status
1128
+ *
1129
+ * @generated from field: mochabugapis.adapt.runtime.v1.GlobalResponseStatus global_status = 1;
1130
+ */
1131
+ globalStatus?: GlobalResponseStatusJson;
1132
+ /**
1133
+ * List of results for each operation
1134
+ *
1135
+ * @generated from field: repeated mochabugapis.adapt.runtime.v1.ReadOperationResult results = 2;
1136
+ */
1137
+ results?: ReadOperationResultJson[];
1138
+ };
642
1139
  /**
643
1140
  * Describes the message mochabugapis.adapt.runtime.v1.ConfiguratorServiceBatchReadStoreResponse.
644
1141
  * Use `create(ConfiguratorServiceBatchReadStoreResponseSchema)` to create a new message.
645
1142
  */
646
- export declare const ConfiguratorServiceBatchReadStoreResponseSchema: GenMessage<ConfiguratorServiceBatchReadStoreResponse>;
1143
+ export declare const ConfiguratorServiceBatchReadStoreResponseSchema: GenMessage<ConfiguratorServiceBatchReadStoreResponse, ConfiguratorServiceBatchReadStoreResponseJson>;
647
1144
  /**
648
1145
  * The get vertex request
649
1146
  *
@@ -657,11 +1154,24 @@ export type ConfiguratorServiceGetVertexConfigRequest = Message<"mochabugapis.ad
657
1154
  */
658
1155
  fieldMask?: FieldMask;
659
1156
  };
1157
+ /**
1158
+ * The get vertex request
1159
+ *
1160
+ * @generated from message mochabugapis.adapt.runtime.v1.ConfiguratorServiceGetVertexConfigRequest
1161
+ */
1162
+ export type ConfiguratorServiceGetVertexConfigRequestJson = {
1163
+ /**
1164
+ * A field mask to apply to the item
1165
+ *
1166
+ * @generated from field: optional google.protobuf.FieldMask field_mask = 1;
1167
+ */
1168
+ fieldMask?: FieldMaskJson;
1169
+ };
660
1170
  /**
661
1171
  * Describes the message mochabugapis.adapt.runtime.v1.ConfiguratorServiceGetVertexConfigRequest.
662
1172
  * Use `create(ConfiguratorServiceGetVertexConfigRequestSchema)` to create a new message.
663
1173
  */
664
- export declare const ConfiguratorServiceGetVertexConfigRequestSchema: GenMessage<ConfiguratorServiceGetVertexConfigRequest>;
1174
+ export declare const ConfiguratorServiceGetVertexConfigRequestSchema: GenMessage<ConfiguratorServiceGetVertexConfigRequest, ConfiguratorServiceGetVertexConfigRequestJson>;
665
1175
  /**
666
1176
  * The get vertex response
667
1177
  *
@@ -681,11 +1191,30 @@ export type ConfiguratorServiceGetVertexConfigResponse = Message<"mochabugapis.a
681
1191
  */
682
1192
  metadata?: VertexConfigMetadata;
683
1193
  };
1194
+ /**
1195
+ * The get vertex response
1196
+ *
1197
+ * @generated from message mochabugapis.adapt.runtime.v1.ConfiguratorServiceGetVertexConfigResponse
1198
+ */
1199
+ export type ConfiguratorServiceGetVertexConfigResponseJson = {
1200
+ /**
1201
+ * The vertex config
1202
+ *
1203
+ * @generated from field: bytes config = 1;
1204
+ */
1205
+ config?: string;
1206
+ /**
1207
+ * The metadata of the config
1208
+ *
1209
+ * @generated from field: mochabugapis.adapt.graph.VertexConfigMetadata metadata = 2;
1210
+ */
1211
+ metadata?: VertexConfigMetadataJson;
1212
+ };
684
1213
  /**
685
1214
  * Describes the message mochabugapis.adapt.runtime.v1.ConfiguratorServiceGetVertexConfigResponse.
686
1215
  * Use `create(ConfiguratorServiceGetVertexConfigResponseSchema)` to create a new message.
687
1216
  */
688
- export declare const ConfiguratorServiceGetVertexConfigResponseSchema: GenMessage<ConfiguratorServiceGetVertexConfigResponse>;
1217
+ export declare const ConfiguratorServiceGetVertexConfigResponseSchema: GenMessage<ConfiguratorServiceGetVertexConfigResponse, ConfiguratorServiceGetVertexConfigResponseJson>;
689
1218
  /**
690
1219
  * The post vertex request
691
1220
  *
@@ -711,11 +1240,36 @@ export type PostVertexConfigRequest = Message<"mochabugapis.adapt.runtime.v1.Pos
711
1240
  */
712
1241
  fieldMask?: FieldMask;
713
1242
  };
1243
+ /**
1244
+ * The post vertex request
1245
+ *
1246
+ * @generated from message mochabugapis.adapt.runtime.v1.PostVertexConfigRequest
1247
+ */
1248
+ export type PostVertexConfigRequestJson = {
1249
+ /**
1250
+ * The vertex config
1251
+ *
1252
+ * @generated from field: bytes config = 1;
1253
+ */
1254
+ config?: string;
1255
+ /**
1256
+ * The metadata of the config
1257
+ *
1258
+ * @generated from field: mochabugapis.adapt.graph.VertexConfigMetadata metadata = 2;
1259
+ */
1260
+ metadata?: VertexConfigMetadataJson;
1261
+ /**
1262
+ * You may set the field you wish to update in the request
1263
+ *
1264
+ * @generated from field: optional google.protobuf.FieldMask field_mask = 3;
1265
+ */
1266
+ fieldMask?: FieldMaskJson;
1267
+ };
714
1268
  /**
715
1269
  * Describes the message mochabugapis.adapt.runtime.v1.PostVertexConfigRequest.
716
1270
  * Use `create(PostVertexConfigRequestSchema)` to create a new message.
717
1271
  */
718
- export declare const PostVertexConfigRequestSchema: GenMessage<PostVertexConfigRequest>;
1272
+ export declare const PostVertexConfigRequestSchema: GenMessage<PostVertexConfigRequest, PostVertexConfigRequestJson>;
719
1273
  /**
720
1274
  * The post vertex response
721
1275
  *
@@ -729,11 +1283,24 @@ export type PostVertexConfigResponse = Message<"mochabugapis.adapt.runtime.v1.Po
729
1283
  */
730
1284
  metadata?: VertexConfigMetadata;
731
1285
  };
1286
+ /**
1287
+ * The post vertex response
1288
+ *
1289
+ * @generated from message mochabugapis.adapt.runtime.v1.PostVertexConfigResponse
1290
+ */
1291
+ export type PostVertexConfigResponseJson = {
1292
+ /**
1293
+ * The metadata for the config. This is relevant if you wish to study error codes after setting bindings for example
1294
+ *
1295
+ * @generated from field: mochabugapis.adapt.graph.VertexConfigMetadata metadata = 1;
1296
+ */
1297
+ metadata?: VertexConfigMetadataJson;
1298
+ };
732
1299
  /**
733
1300
  * Describes the message mochabugapis.adapt.runtime.v1.PostVertexConfigResponse.
734
1301
  * Use `create(PostVertexConfigResponseSchema)` to create a new message.
735
1302
  */
736
- export declare const PostVertexConfigResponseSchema: GenMessage<PostVertexConfigResponse>;
1303
+ export declare const PostVertexConfigResponseSchema: GenMessage<PostVertexConfigResponse, PostVertexConfigResponseJson>;
737
1304
  /**
738
1305
  * Check if access token is ok
739
1306
  *
@@ -747,22 +1314,41 @@ export type AuthorizeRequest = Message<"mochabugapis.adapt.runtime.v1.AuthorizeR
747
1314
  */
748
1315
  accessToken: string;
749
1316
  };
1317
+ /**
1318
+ * Check if access token is ok
1319
+ *
1320
+ * @generated from message mochabugapis.adapt.runtime.v1.AuthorizeRequest
1321
+ */
1322
+ export type AuthorizeRequestJson = {
1323
+ /**
1324
+ * The access token
1325
+ *
1326
+ * @generated from field: string access_token = 1;
1327
+ */
1328
+ accessToken?: string;
1329
+ };
750
1330
  /**
751
1331
  * Describes the message mochabugapis.adapt.runtime.v1.AuthorizeRequest.
752
1332
  * Use `create(AuthorizeRequestSchema)` to create a new message.
753
1333
  */
754
- export declare const AuthorizeRequestSchema: GenMessage<AuthorizeRequest>;
1334
+ export declare const AuthorizeRequestSchema: GenMessage<AuthorizeRequest, AuthorizeRequestJson>;
755
1335
  /**
756
1336
  * The response of authorizing
757
1337
  *
758
1338
  * @generated from message mochabugapis.adapt.runtime.v1.AuthorizeResponse
759
1339
  */
760
1340
  export type AuthorizeResponse = Message<"mochabugapis.adapt.runtime.v1.AuthorizeResponse"> & {};
1341
+ /**
1342
+ * The response of authorizing
1343
+ *
1344
+ * @generated from message mochabugapis.adapt.runtime.v1.AuthorizeResponse
1345
+ */
1346
+ export type AuthorizeResponseJson = {};
761
1347
  /**
762
1348
  * Describes the message mochabugapis.adapt.runtime.v1.AuthorizeResponse.
763
1349
  * Use `create(AuthorizeResponseSchema)` to create a new message.
764
1350
  */
765
- export declare const AuthorizeResponseSchema: GenMessage<AuthorizeResponse>;
1351
+ export declare const AuthorizeResponseSchema: GenMessage<AuthorizeResponse, AuthorizeResponseJson>;
766
1352
  /**
767
1353
  * The request to get multiple environmental variabes
768
1354
  *
@@ -776,11 +1362,24 @@ export type BatchGetVariablesRequest = Message<"mochabugapis.adapt.runtime.v1.Ba
776
1362
  */
777
1363
  names: string[];
778
1364
  };
1365
+ /**
1366
+ * The request to get multiple environmental variabes
1367
+ *
1368
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetVariablesRequest
1369
+ */
1370
+ export type BatchGetVariablesRequestJson = {
1371
+ /**
1372
+ * The names of the variables to fetch
1373
+ *
1374
+ * @generated from field: repeated string names = 1;
1375
+ */
1376
+ names?: string[];
1377
+ };
779
1378
  /**
780
1379
  * Describes the message mochabugapis.adapt.runtime.v1.BatchGetVariablesRequest.
781
1380
  * Use `create(BatchGetVariablesRequestSchema)` to create a new message.
782
1381
  */
783
- export declare const BatchGetVariablesRequestSchema: GenMessage<BatchGetVariablesRequest>;
1382
+ export declare const BatchGetVariablesRequestSchema: GenMessage<BatchGetVariablesRequest, BatchGetVariablesRequestJson>;
784
1383
  /**
785
1384
  * The response of getting multiple environmental variabes
786
1385
  *
@@ -796,11 +1395,26 @@ export type BatchGetVariablesResponse = Message<"mochabugapis.adapt.runtime.v1.B
796
1395
  [key: string]: string;
797
1396
  };
798
1397
  };
1398
+ /**
1399
+ * The response of getting multiple environmental variabes
1400
+ *
1401
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetVariablesResponse
1402
+ */
1403
+ export type BatchGetVariablesResponseJson = {
1404
+ /**
1405
+ * name, value pairs
1406
+ *
1407
+ * @generated from field: map<string, string> items = 1;
1408
+ */
1409
+ items?: {
1410
+ [key: string]: string;
1411
+ };
1412
+ };
799
1413
  /**
800
1414
  * Describes the message mochabugapis.adapt.runtime.v1.BatchGetVariablesResponse.
801
1415
  * Use `create(BatchGetVariablesResponseSchema)` to create a new message.
802
1416
  */
803
- export declare const BatchGetVariablesResponseSchema: GenMessage<BatchGetVariablesResponse>;
1417
+ export declare const BatchGetVariablesResponseSchema: GenMessage<BatchGetVariablesResponse, BatchGetVariablesResponseJson>;
804
1418
  /**
805
1419
  * The request to get multiple environmental variabes
806
1420
  *
@@ -814,11 +1428,24 @@ export type BatchGetUserVariablesRequest = Message<"mochabugapis.adapt.runtime.v
814
1428
  */
815
1429
  names: string[];
816
1430
  };
1431
+ /**
1432
+ * The request to get multiple environmental variabes
1433
+ *
1434
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetUserVariablesRequest
1435
+ */
1436
+ export type BatchGetUserVariablesRequestJson = {
1437
+ /**
1438
+ * The names of the variables to fetch
1439
+ *
1440
+ * @generated from field: repeated string names = 1;
1441
+ */
1442
+ names?: string[];
1443
+ };
817
1444
  /**
818
1445
  * Describes the message mochabugapis.adapt.runtime.v1.BatchGetUserVariablesRequest.
819
1446
  * Use `create(BatchGetUserVariablesRequestSchema)` to create a new message.
820
1447
  */
821
- export declare const BatchGetUserVariablesRequestSchema: GenMessage<BatchGetUserVariablesRequest>;
1448
+ export declare const BatchGetUserVariablesRequestSchema: GenMessage<BatchGetUserVariablesRequest, BatchGetUserVariablesRequestJson>;
822
1449
  /**
823
1450
  * The response of getting multiple environmental variabes
824
1451
  *
@@ -834,11 +1461,26 @@ export type BatchGetUserVariablesResponse = Message<"mochabugapis.adapt.runtime.
834
1461
  [key: string]: string;
835
1462
  };
836
1463
  };
1464
+ /**
1465
+ * The response of getting multiple environmental variabes
1466
+ *
1467
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetUserVariablesResponse
1468
+ */
1469
+ export type BatchGetUserVariablesResponseJson = {
1470
+ /**
1471
+ * name, value pairs
1472
+ *
1473
+ * @generated from field: map<string, string> items = 1;
1474
+ */
1475
+ items?: {
1476
+ [key: string]: string;
1477
+ };
1478
+ };
837
1479
  /**
838
1480
  * Describes the message mochabugapis.adapt.runtime.v1.BatchGetUserVariablesResponse.
839
1481
  * Use `create(BatchGetUserVariablesResponseSchema)` to create a new message.
840
1482
  */
841
- export declare const BatchGetUserVariablesResponseSchema: GenMessage<BatchGetUserVariablesResponse>;
1483
+ export declare const BatchGetUserVariablesResponseSchema: GenMessage<BatchGetUserVariablesResponse, BatchGetUserVariablesResponseJson>;
842
1484
  /**
843
1485
  * The request to get multiple oauth2 tokens
844
1486
  *
@@ -852,11 +1494,24 @@ export type BatchGetUserTokensRequest = Message<"mochabugapis.adapt.runtime.v1.B
852
1494
  */
853
1495
  names: string[];
854
1496
  };
1497
+ /**
1498
+ * The request to get multiple oauth2 tokens
1499
+ *
1500
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetUserTokensRequest
1501
+ */
1502
+ export type BatchGetUserTokensRequestJson = {
1503
+ /**
1504
+ * The names of the tokens to fetch
1505
+ *
1506
+ * @generated from field: repeated string names = 1;
1507
+ */
1508
+ names?: string[];
1509
+ };
855
1510
  /**
856
1511
  * Describes the message mochabugapis.adapt.runtime.v1.BatchGetUserTokensRequest.
857
1512
  * Use `create(BatchGetUserTokensRequestSchema)` to create a new message.
858
1513
  */
859
- export declare const BatchGetUserTokensRequestSchema: GenMessage<BatchGetUserTokensRequest>;
1514
+ export declare const BatchGetUserTokensRequestSchema: GenMessage<BatchGetUserTokensRequest, BatchGetUserTokensRequestJson>;
860
1515
  /**
861
1516
  * The response of getting multiple oauth2 tokens
862
1517
  *
@@ -872,11 +1527,26 @@ export type BatchGetUserTokensResponse = Message<"mochabugapis.adapt.runtime.v1.
872
1527
  [key: string]: Token;
873
1528
  };
874
1529
  };
1530
+ /**
1531
+ * The response of getting multiple oauth2 tokens
1532
+ *
1533
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetUserTokensResponse
1534
+ */
1535
+ export type BatchGetUserTokensResponseJson = {
1536
+ /**
1537
+ * Name, token pairs
1538
+ *
1539
+ * @generated from field: map<string, mochabugapis.adapt.runtime.v1.Token> items = 1;
1540
+ */
1541
+ items?: {
1542
+ [key: string]: TokenJson;
1543
+ };
1544
+ };
875
1545
  /**
876
1546
  * Describes the message mochabugapis.adapt.runtime.v1.BatchGetUserTokensResponse.
877
1547
  * Use `create(BatchGetUserTokensResponseSchema)` to create a new message.
878
1548
  */
879
- export declare const BatchGetUserTokensResponseSchema: GenMessage<BatchGetUserTokensResponse>;
1549
+ export declare const BatchGetUserTokensResponseSchema: GenMessage<BatchGetUserTokensResponse, BatchGetUserTokensResponseJson>;
880
1550
  /**
881
1551
  * The request to get multiple oauth2 tokens
882
1552
  *
@@ -890,11 +1560,24 @@ export type BatchGetTokensRequest = Message<"mochabugapis.adapt.runtime.v1.Batch
890
1560
  */
891
1561
  names: string[];
892
1562
  };
1563
+ /**
1564
+ * The request to get multiple oauth2 tokens
1565
+ *
1566
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetTokensRequest
1567
+ */
1568
+ export type BatchGetTokensRequestJson = {
1569
+ /**
1570
+ * The names of the tokens to fetch
1571
+ *
1572
+ * @generated from field: repeated string names = 1;
1573
+ */
1574
+ names?: string[];
1575
+ };
893
1576
  /**
894
1577
  * Describes the message mochabugapis.adapt.runtime.v1.BatchGetTokensRequest.
895
1578
  * Use `create(BatchGetTokensRequestSchema)` to create a new message.
896
1579
  */
897
- export declare const BatchGetTokensRequestSchema: GenMessage<BatchGetTokensRequest>;
1580
+ export declare const BatchGetTokensRequestSchema: GenMessage<BatchGetTokensRequest, BatchGetTokensRequestJson>;
898
1581
  /**
899
1582
  * The response of getting multiple oauth2 tokens
900
1583
  *
@@ -910,11 +1593,26 @@ export type BatchGetTokensResponse = Message<"mochabugapis.adapt.runtime.v1.Batc
910
1593
  [key: string]: Token;
911
1594
  };
912
1595
  };
1596
+ /**
1597
+ * The response of getting multiple oauth2 tokens
1598
+ *
1599
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetTokensResponse
1600
+ */
1601
+ export type BatchGetTokensResponseJson = {
1602
+ /**
1603
+ * Name, token pairs
1604
+ *
1605
+ * @generated from field: map<string, mochabugapis.adapt.runtime.v1.Token> items = 1;
1606
+ */
1607
+ items?: {
1608
+ [key: string]: TokenJson;
1609
+ };
1610
+ };
913
1611
  /**
914
1612
  * Describes the message mochabugapis.adapt.runtime.v1.BatchGetTokensResponse.
915
1613
  * Use `create(BatchGetTokensResponseSchema)` to create a new message.
916
1614
  */
917
- export declare const BatchGetTokensResponseSchema: GenMessage<BatchGetTokensResponse>;
1615
+ export declare const BatchGetTokensResponseSchema: GenMessage<BatchGetTokensResponse, BatchGetTokensResponseJson>;
918
1616
  /**
919
1617
  * A representation of a OAuth2 token
920
1618
  *
@@ -949,11 +1647,45 @@ export type Token = Message<"mochabugapis.adapt.runtime.v1.Token"> & {
949
1647
  */
950
1648
  expires?: Timestamp;
951
1649
  };
1650
+ /**
1651
+ * A representation of a OAuth2 token
1652
+ *
1653
+ * @generated from message mochabugapis.adapt.runtime.v1.Token
1654
+ */
1655
+ export type TokenJson = {
1656
+ /**
1657
+ * The name of the token
1658
+ * Restrictions:
1659
+ * - Must match the ECMA regex: ^[_$a-z][_$a-z0-9]*$
1660
+ * - Length must be greater than 0 and less than 50 characters.
1661
+ *
1662
+ * @generated from field: string name = 1;
1663
+ */
1664
+ name?: string;
1665
+ /**
1666
+ * The actual token
1667
+ *
1668
+ * @generated from field: string token = 2;
1669
+ */
1670
+ token?: string;
1671
+ /**
1672
+ * The type of token (typically Bearer)
1673
+ *
1674
+ * @generated from field: string type = 3;
1675
+ */
1676
+ type?: string;
1677
+ /**
1678
+ * When the token expires
1679
+ *
1680
+ * @generated from field: google.protobuf.Timestamp expires = 4;
1681
+ */
1682
+ expires?: TimestampJson;
1683
+ };
952
1684
  /**
953
1685
  * Describes the message mochabugapis.adapt.runtime.v1.Token.
954
1686
  * Use `create(TokenSchema)` to create a new message.
955
1687
  */
956
- export declare const TokenSchema: GenMessage<Token>;
1688
+ export declare const TokenSchema: GenMessage<Token, TokenJson>;
957
1689
  /**
958
1690
  * The namespace where the key should be used
959
1691
  *
@@ -1027,10 +1759,16 @@ export declare enum Namespace {
1027
1759
  */
1028
1760
  PLUGIN = 4
1029
1761
  }
1762
+ /**
1763
+ * The namespace where the key should be used
1764
+ *
1765
+ * @generated from enum mochabugapis.adapt.runtime.v1.Namespace
1766
+ */
1767
+ export type NamespaceJson = "NAMESPACE_UNSPECIFIED" | "NAMESPACE_VERTEX_INSTANCE" | "NAMESPACE_PLUGIN_INSTANCE" | "NAMESPACE_VERTEX" | "NAMESPACE_PLUGIN";
1030
1768
  /**
1031
1769
  * Describes the enum mochabugapis.adapt.runtime.v1.Namespace.
1032
1770
  */
1033
- export declare const NamespaceSchema: GenEnum<Namespace>;
1771
+ export declare const NamespaceSchema: GenEnum<Namespace, NamespaceJson>;
1034
1772
  /**
1035
1773
  * Executor service is containg the complete API available to a executor of a
1036
1774
  * vertex. Every call on this service will require an Authoriation header