@mochabug/adapt-sdk 0.1.1

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 (99) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +873 -0
  3. package/dist/api.d.ts +1605 -0
  4. package/dist/api.d.ts.map +1 -0
  5. package/dist/api.spec.d.ts +2 -0
  6. package/dist/api.spec.d.ts.map +1 -0
  7. package/dist/cjs/api.cjs +2 -0
  8. package/dist/cjs/api.cjs.map +7 -0
  9. package/dist/cjs/frontend.cjs +2 -0
  10. package/dist/cjs/frontend.cjs.map +7 -0
  11. package/dist/cjs/mime.cjs +2 -0
  12. package/dist/cjs/mime.cjs.map +7 -0
  13. package/dist/cjs/router.cjs +2 -0
  14. package/dist/cjs/router.cjs.map +7 -0
  15. package/dist/cjs/types.cjs +2 -0
  16. package/dist/cjs/types.cjs.map +7 -0
  17. package/dist/esm/api.mjs +2 -0
  18. package/dist/esm/api.mjs.map +7 -0
  19. package/dist/esm/frontend.mjs +2 -0
  20. package/dist/esm/frontend.mjs.map +7 -0
  21. package/dist/esm/mime.mjs +2 -0
  22. package/dist/esm/mime.mjs.map +7 -0
  23. package/dist/esm/router.mjs +2 -0
  24. package/dist/esm/router.mjs.map +7 -0
  25. package/dist/esm/types.mjs +1 -0
  26. package/dist/esm/types.mjs.map +7 -0
  27. package/dist/frontend.d.ts +10 -0
  28. package/dist/frontend.d.ts.map +1 -0
  29. package/dist/genproto/buf/validate/validate_pb.d.ts +8491 -0
  30. package/dist/genproto/buf/validate/validate_pb.d.ts.map +1 -0
  31. package/dist/genproto/google/api/annotations_pb.d.ts +14 -0
  32. package/dist/genproto/google/api/annotations_pb.d.ts.map +1 -0
  33. package/dist/genproto/google/api/client_pb.d.ts +1432 -0
  34. package/dist/genproto/google/api/client_pb.d.ts.map +1 -0
  35. package/dist/genproto/google/api/http_pb.d.ts +843 -0
  36. package/dist/genproto/google/api/http_pb.d.ts.map +1 -0
  37. package/dist/genproto/google/api/launch_stage_pb.d.ts +94 -0
  38. package/dist/genproto/google/api/launch_stage_pb.d.ts.map +1 -0
  39. package/dist/genproto/mochabugapis/adapt/automations/v1/automations_pb.d.ts +1006 -0
  40. package/dist/genproto/mochabugapis/adapt/automations/v1/automations_pb.d.ts.map +1 -0
  41. package/dist/genproto/mochabugapis/adapt/graph/exchange_pb.d.ts +77 -0
  42. package/dist/genproto/mochabugapis/adapt/graph/exchange_pb.d.ts.map +1 -0
  43. package/dist/genproto/mochabugapis/adapt/graph/jtd_schema_pb.d.ts +401 -0
  44. package/dist/genproto/mochabugapis/adapt/graph/jtd_schema_pb.d.ts.map +1 -0
  45. package/dist/genproto/mochabugapis/adapt/graph/receiver_pb.d.ts +69 -0
  46. package/dist/genproto/mochabugapis/adapt/graph/receiver_pb.d.ts.map +1 -0
  47. package/dist/genproto/mochabugapis/adapt/graph/signal_binding_pb.d.ts +430 -0
  48. package/dist/genproto/mochabugapis/adapt/graph/signal_binding_pb.d.ts.map +1 -0
  49. package/dist/genproto/mochabugapis/adapt/graph/signal_data_pb.d.ts +198 -0
  50. package/dist/genproto/mochabugapis/adapt/graph/signal_data_pb.d.ts.map +1 -0
  51. package/dist/genproto/mochabugapis/adapt/graph/signal_descriptor_pb.d.ts +161 -0
  52. package/dist/genproto/mochabugapis/adapt/graph/signal_descriptor_pb.d.ts.map +1 -0
  53. package/dist/genproto/mochabugapis/adapt/graph/signal_format_pb.d.ts +305 -0
  54. package/dist/genproto/mochabugapis/adapt/graph/signal_format_pb.d.ts.map +1 -0
  55. package/dist/genproto/mochabugapis/adapt/graph/transceiver_pb.d.ts +77 -0
  56. package/dist/genproto/mochabugapis/adapt/graph/transceiver_pb.d.ts.map +1 -0
  57. package/dist/genproto/mochabugapis/adapt/graph/transmitter_pb.d.ts +120 -0
  58. package/dist/genproto/mochabugapis/adapt/graph/transmitter_pb.d.ts.map +1 -0
  59. package/dist/genproto/mochabugapis/adapt/graph/vertex_metadata_pb.d.ts +99 -0
  60. package/dist/genproto/mochabugapis/adapt/graph/vertex_metadata_pb.d.ts.map +1 -0
  61. package/dist/genproto/mochabugapis/adapt/plugins/v1/compound_services_pb.d.ts +347 -0
  62. package/dist/genproto/mochabugapis/adapt/plugins/v1/compound_services_pb.d.ts.map +1 -0
  63. package/dist/genproto/mochabugapis/adapt/plugins/v1/file_pb.d.ts +64 -0
  64. package/dist/genproto/mochabugapis/adapt/plugins/v1/file_pb.d.ts.map +1 -0
  65. package/dist/genproto/mochabugapis/adapt/plugins/v1/http_proxy_service_pb.d.ts +1282 -0
  66. package/dist/genproto/mochabugapis/adapt/plugins/v1/http_proxy_service_pb.d.ts.map +1 -0
  67. package/dist/genproto/mochabugapis/adapt/plugins/v1/manifest_pb.d.ts +388 -0
  68. package/dist/genproto/mochabugapis/adapt/plugins/v1/manifest_pb.d.ts.map +1 -0
  69. package/dist/genproto/mochabugapis/adapt/plugins/v1/oauth2_service_pb.d.ts +805 -0
  70. package/dist/genproto/mochabugapis/adapt/plugins/v1/oauth2_service_pb.d.ts.map +1 -0
  71. package/dist/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.d.ts +238 -0
  72. package/dist/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.d.ts.map +1 -0
  73. package/dist/genproto/mochabugapis/adapt/plugins/v1/service_definition_pb.d.ts +241 -0
  74. package/dist/genproto/mochabugapis/adapt/plugins/v1/service_definition_pb.d.ts.map +1 -0
  75. package/dist/genproto/mochabugapis/adapt/plugins/v1/service_settings_pb.d.ts +539 -0
  76. package/dist/genproto/mochabugapis/adapt/plugins/v1/service_settings_pb.d.ts.map +1 -0
  77. package/dist/genproto/mochabugapis/adapt/plugins/v1/variable_service_pb.d.ts +190 -0
  78. package/dist/genproto/mochabugapis/adapt/plugins/v1/variable_service_pb.d.ts.map +1 -0
  79. package/dist/genproto/mochabugapis/adapt/plugins/v1/vertex_pb.d.ts +269 -0
  80. package/dist/genproto/mochabugapis/adapt/plugins/v1/vertex_pb.d.ts.map +1 -0
  81. package/dist/genproto/mochabugapis/adapt/runtime/v1/incoming_pb.d.ts +339 -0
  82. package/dist/genproto/mochabugapis/adapt/runtime/v1/incoming_pb.d.ts.map +1 -0
  83. package/dist/genproto/mochabugapis/adapt/runtime/v1/runtime_pb.d.ts +2721 -0
  84. package/dist/genproto/mochabugapis/adapt/runtime/v1/runtime_pb.d.ts.map +1 -0
  85. package/dist/genproto/mochabugapis/adapt/runtime/v1/store_pb.d.ts +872 -0
  86. package/dist/genproto/mochabugapis/adapt/runtime/v1/store_pb.d.ts.map +1 -0
  87. package/dist/grpcweb.d.ts +8 -0
  88. package/dist/grpcweb.d.ts.map +1 -0
  89. package/dist/mime.d.ts +11 -0
  90. package/dist/mime.d.ts.map +1 -0
  91. package/dist/router.d.ts +503 -0
  92. package/dist/router.d.ts.map +1 -0
  93. package/dist/router.spec.d.ts +2 -0
  94. package/dist/router.spec.d.ts.map +1 -0
  95. package/dist/signal-api.spec.d.ts +17 -0
  96. package/dist/signal-api.spec.d.ts.map +1 -0
  97. package/dist/types.d.ts +149 -0
  98. package/dist/types.d.ts.map +1 -0
  99. package/package.json +80 -0
@@ -0,0 +1,2721 @@
1
+ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
2
+ import type { FieldMask, FieldMaskJson, Timestamp, TimestampJson, Value, ValueJson } from "@bufbuild/protobuf/wkt";
3
+ import type { Status, StatusJson } from "../../automations/v1/automations_pb";
4
+ import type { SignalData, SignalDataJson } from "../../graph/signal_data_pb";
5
+ import type { SignalFormat, SignalFormatJson } from "../../graph/signal_format_pb";
6
+ import type { Transmitter, TransmitterJson } from "../../graph/transmitter_pb";
7
+ import type { VertexMetadata, VertexMetadataJson } from "../../graph/vertex_metadata_pb";
8
+ import type { ConditionalWriteOperation, ConditionalWriteOperationJson, GetValue, GetValueJson, SelectOp, SelectOpJson, ValueMetadata, ValueMetadataJson, WriteOperation, WriteOperationJson } from "./store_pb";
9
+ import type { Message } from "@bufbuild/protobuf";
10
+ /**
11
+ * Describes the file mochabugapis/adapt/runtime/v1/runtime.proto.
12
+ */
13
+ export declare const file_mochabugapis_adapt_runtime_v1_runtime: GenFile;
14
+ /**
15
+ * The request to apply operations to the execution store
16
+ *
17
+ * @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceBatchWriteStoreRequest
18
+ */
19
+ export type ExecutorServiceBatchWriteStoreRequest = Message<"mochabugapis.adapt.runtime.v1.ExecutorServiceBatchWriteStoreRequest"> & {
20
+ /**
21
+ * A batch of operations to perform in the executor store.
22
+ * Refer to the comments on the `Namespace` enum for details on scope requirements.
23
+ *
24
+ * @generated from field: repeated mochabugapis.adapt.runtime.v1.WriteOperation operations = 1;
25
+ */
26
+ operations: WriteOperation[];
27
+ /**
28
+ * The namespace whee the batch is applied.
29
+ *
30
+ * @generated from field: mochabugapis.adapt.runtime.v1.Namespace namespace = 2;
31
+ */
32
+ namespace: Namespace;
33
+ };
34
+ /**
35
+ * The request to apply operations to the execution store
36
+ *
37
+ * @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceBatchWriteStoreRequest
38
+ */
39
+ export type ExecutorServiceBatchWriteStoreRequestJson = {
40
+ /**
41
+ * A batch of operations to perform in the executor store.
42
+ * Refer to the comments on the `Namespace` enum for details on scope requirements.
43
+ *
44
+ * @generated from field: repeated mochabugapis.adapt.runtime.v1.WriteOperation operations = 1;
45
+ */
46
+ operations?: WriteOperationJson[];
47
+ /**
48
+ * The namespace whee the batch is applied.
49
+ *
50
+ * @generated from field: mochabugapis.adapt.runtime.v1.Namespace namespace = 2;
51
+ */
52
+ namespace?: NamespaceJson;
53
+ };
54
+ /**
55
+ * Describes the message mochabugapis.adapt.runtime.v1.ExecutorServiceBatchWriteStoreRequest.
56
+ * Use `create(ExecutorServiceBatchWriteStoreRequestSchema)` to create a new message.
57
+ */
58
+ export declare const ExecutorServiceBatchWriteStoreRequestSchema: GenMessage<ExecutorServiceBatchWriteStoreRequest, {
59
+ jsonType: ExecutorServiceBatchWriteStoreRequestJson;
60
+ }>;
61
+ /**
62
+ * The response of the batch store
63
+ *
64
+ * @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceBatchWriteStoreResponse
65
+ */
66
+ export type ExecutorServiceBatchWriteStoreResponse = Message<"mochabugapis.adapt.runtime.v1.ExecutorServiceBatchWriteStoreResponse"> & {
67
+ /**
68
+ * Metadata for each written key.
69
+ * Note: Metadata is only returned for insert operations, not for delete operations.
70
+ *
71
+ * @generated from field: map<string, mochabugapis.adapt.runtime.v1.ValueMetadata> metadata = 1;
72
+ */
73
+ metadata: {
74
+ [key: string]: ValueMetadata;
75
+ };
76
+ };
77
+ /**
78
+ * The response of the batch store
79
+ *
80
+ * @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceBatchWriteStoreResponse
81
+ */
82
+ export type ExecutorServiceBatchWriteStoreResponseJson = {
83
+ /**
84
+ * Metadata for each written key.
85
+ * Note: Metadata is only returned for insert operations, not for delete operations.
86
+ *
87
+ * @generated from field: map<string, mochabugapis.adapt.runtime.v1.ValueMetadata> metadata = 1;
88
+ */
89
+ metadata?: {
90
+ [key: string]: ValueMetadataJson;
91
+ };
92
+ };
93
+ /**
94
+ * Describes the message mochabugapis.adapt.runtime.v1.ExecutorServiceBatchWriteStoreResponse.
95
+ * Use `create(ExecutorServiceBatchWriteStoreResponseSchema)` to create a new message.
96
+ */
97
+ export declare const ExecutorServiceBatchWriteStoreResponseSchema: GenMessage<ExecutorServiceBatchWriteStoreResponse, {
98
+ jsonType: ExecutorServiceBatchWriteStoreResponseJson;
99
+ }>;
100
+ /**
101
+ * The write store request
102
+ *
103
+ * @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceWriteStoreRequest
104
+ */
105
+ export type ExecutorServiceWriteStoreRequest = Message<"mochabugapis.adapt.runtime.v1.ExecutorServiceWriteStoreRequest"> & {
106
+ /**
107
+ * The difference in the single write request is that we support conditional
108
+ * write operations here. These are useful for implementing locks etc.
109
+ * Conditional write operations behaves strangely inside a batch operation since
110
+ * the entire batch becomes conditional and they do not follow timestamps
111
+ *
112
+ * @generated from field: mochabugapis.adapt.runtime.v1.ConditionalWriteOperation operation = 1;
113
+ */
114
+ operation?: ConditionalWriteOperation;
115
+ /**
116
+ * The namespace where the operation is applied.
117
+ *
118
+ * @generated from field: mochabugapis.adapt.runtime.v1.Namespace namespace = 2;
119
+ */
120
+ namespace: Namespace;
121
+ };
122
+ /**
123
+ * The write store request
124
+ *
125
+ * @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceWriteStoreRequest
126
+ */
127
+ export type ExecutorServiceWriteStoreRequestJson = {
128
+ /**
129
+ * The difference in the single write request is that we support conditional
130
+ * write operations here. These are useful for implementing locks etc.
131
+ * Conditional write operations behaves strangely inside a batch operation since
132
+ * the entire batch becomes conditional and they do not follow timestamps
133
+ *
134
+ * @generated from field: mochabugapis.adapt.runtime.v1.ConditionalWriteOperation operation = 1;
135
+ */
136
+ operation?: ConditionalWriteOperationJson;
137
+ /**
138
+ * The namespace where the operation is applied.
139
+ *
140
+ * @generated from field: mochabugapis.adapt.runtime.v1.Namespace namespace = 2;
141
+ */
142
+ namespace?: NamespaceJson;
143
+ };
144
+ /**
145
+ * Describes the message mochabugapis.adapt.runtime.v1.ExecutorServiceWriteStoreRequest.
146
+ * Use `create(ExecutorServiceWriteStoreRequestSchema)` to create a new message.
147
+ */
148
+ export declare const ExecutorServiceWriteStoreRequestSchema: GenMessage<ExecutorServiceWriteStoreRequest, {
149
+ jsonType: ExecutorServiceWriteStoreRequestJson;
150
+ }>;
151
+ /**
152
+ * The response of the single write store
153
+ *
154
+ * @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceWriteStoreResponse
155
+ */
156
+ export type ExecutorServiceWriteStoreResponse = Message<"mochabugapis.adapt.runtime.v1.ExecutorServiceWriteStoreResponse"> & {
157
+ /**
158
+ * Metadata for the written key.
159
+ * Note: Metadata is only returned for insert operations, not for delete operations.
160
+ *
161
+ * @generated from field: optional mochabugapis.adapt.runtime.v1.ValueMetadata metadata = 1;
162
+ */
163
+ metadata?: ValueMetadata;
164
+ };
165
+ /**
166
+ * The response of the single write store
167
+ *
168
+ * @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceWriteStoreResponse
169
+ */
170
+ export type ExecutorServiceWriteStoreResponseJson = {
171
+ /**
172
+ * Metadata for the written key.
173
+ * Note: Metadata is only returned for insert operations, not for delete operations.
174
+ *
175
+ * @generated from field: optional mochabugapis.adapt.runtime.v1.ValueMetadata metadata = 1;
176
+ */
177
+ metadata?: ValueMetadataJson;
178
+ };
179
+ /**
180
+ * Describes the message mochabugapis.adapt.runtime.v1.ExecutorServiceWriteStoreResponse.
181
+ * Use `create(ExecutorServiceWriteStoreResponseSchema)` to create a new message.
182
+ */
183
+ export declare const ExecutorServiceWriteStoreResponseSchema: GenMessage<ExecutorServiceWriteStoreResponse, {
184
+ jsonType: ExecutorServiceWriteStoreResponseJson;
185
+ }>;
186
+ /**
187
+ * The request to apply operations to the execution store
188
+ *
189
+ * @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceBatchReadStoreRequest
190
+ */
191
+ export type ExecutorServiceBatchReadStoreRequest = Message<"mochabugapis.adapt.runtime.v1.ExecutorServiceBatchReadStoreRequest"> & {
192
+ /**
193
+ * Keys to fetch from the executor store
194
+ * Refer to the comments on the `Namespace` enum for details on scope requirements
195
+ *
196
+ * @generated from field: repeated string keys = 1;
197
+ */
198
+ keys: string[];
199
+ /**
200
+ * The namespace whee the batch is applied.
201
+ *
202
+ * @generated from field: mochabugapis.adapt.runtime.v1.Namespace namespace = 2;
203
+ */
204
+ namespace: Namespace;
205
+ };
206
+ /**
207
+ * The request to apply operations to the execution store
208
+ *
209
+ * @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceBatchReadStoreRequest
210
+ */
211
+ export type ExecutorServiceBatchReadStoreRequestJson = {
212
+ /**
213
+ * Keys to fetch from the executor store
214
+ * Refer to the comments on the `Namespace` enum for details on scope requirements
215
+ *
216
+ * @generated from field: repeated string keys = 1;
217
+ */
218
+ keys?: string[];
219
+ /**
220
+ * The namespace whee the batch is applied.
221
+ *
222
+ * @generated from field: mochabugapis.adapt.runtime.v1.Namespace namespace = 2;
223
+ */
224
+ namespace?: NamespaceJson;
225
+ };
226
+ /**
227
+ * Describes the message mochabugapis.adapt.runtime.v1.ExecutorServiceBatchReadStoreRequest.
228
+ * Use `create(ExecutorServiceBatchReadStoreRequestSchema)` to create a new message.
229
+ */
230
+ export declare const ExecutorServiceBatchReadStoreRequestSchema: GenMessage<ExecutorServiceBatchReadStoreRequest, {
231
+ jsonType: ExecutorServiceBatchReadStoreRequestJson;
232
+ }>;
233
+ /**
234
+ * The response of the batch store, any keys not found are ignored
235
+ * i.e. not present in the map
236
+ *
237
+ * @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceBatchReadStoreResponse
238
+ */
239
+ export type ExecutorServiceBatchReadStoreResponse = Message<"mochabugapis.adapt.runtime.v1.ExecutorServiceBatchReadStoreResponse"> & {
240
+ /**
241
+ * Map of key to value
242
+ *
243
+ * @generated from field: map<string, mochabugapis.adapt.runtime.v1.GetValue> items = 1;
244
+ */
245
+ items: {
246
+ [key: string]: GetValue;
247
+ };
248
+ };
249
+ /**
250
+ * The response of the batch store, any keys not found are ignored
251
+ * i.e. not present in the map
252
+ *
253
+ * @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceBatchReadStoreResponse
254
+ */
255
+ export type ExecutorServiceBatchReadStoreResponseJson = {
256
+ /**
257
+ * Map of key to value
258
+ *
259
+ * @generated from field: map<string, mochabugapis.adapt.runtime.v1.GetValue> items = 1;
260
+ */
261
+ items?: {
262
+ [key: string]: GetValueJson;
263
+ };
264
+ };
265
+ /**
266
+ * Describes the message mochabugapis.adapt.runtime.v1.ExecutorServiceBatchReadStoreResponse.
267
+ * Use `create(ExecutorServiceBatchReadStoreResponseSchema)` to create a new message.
268
+ */
269
+ export declare const ExecutorServiceBatchReadStoreResponseSchema: GenMessage<ExecutorServiceBatchReadStoreResponse, {
270
+ jsonType: ExecutorServiceBatchReadStoreResponseJson;
271
+ }>;
272
+ /**
273
+ * The request to select from the execution store
274
+ *
275
+ * @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceSelectStoreRequest
276
+ */
277
+ export type ExecutorServiceSelectStoreRequest = Message<"mochabugapis.adapt.runtime.v1.ExecutorServiceSelectStoreRequest"> & {
278
+ /**
279
+ * The select operation to perform
280
+ *
281
+ * @generated from field: mochabugapis.adapt.runtime.v1.SelectOp operation = 1;
282
+ */
283
+ operation?: SelectOp;
284
+ /**
285
+ * The namespace where the operation is applied
286
+ *
287
+ * @generated from field: mochabugapis.adapt.runtime.v1.Namespace namespace = 2;
288
+ */
289
+ namespace: Namespace;
290
+ };
291
+ /**
292
+ * The request to select from the execution store
293
+ *
294
+ * @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceSelectStoreRequest
295
+ */
296
+ export type ExecutorServiceSelectStoreRequestJson = {
297
+ /**
298
+ * The select operation to perform
299
+ *
300
+ * @generated from field: mochabugapis.adapt.runtime.v1.SelectOp operation = 1;
301
+ */
302
+ operation?: SelectOpJson;
303
+ /**
304
+ * The namespace where the operation is applied
305
+ *
306
+ * @generated from field: mochabugapis.adapt.runtime.v1.Namespace namespace = 2;
307
+ */
308
+ namespace?: NamespaceJson;
309
+ };
310
+ /**
311
+ * Describes the message mochabugapis.adapt.runtime.v1.ExecutorServiceSelectStoreRequest.
312
+ * Use `create(ExecutorServiceSelectStoreRequestSchema)` to create a new message.
313
+ */
314
+ export declare const ExecutorServiceSelectStoreRequestSchema: GenMessage<ExecutorServiceSelectStoreRequest, {
315
+ jsonType: ExecutorServiceSelectStoreRequestJson;
316
+ }>;
317
+ /**
318
+ * The response of the select store
319
+ *
320
+ * @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceSelectStoreResponse
321
+ */
322
+ export type ExecutorServiceSelectStoreResponse = Message<"mochabugapis.adapt.runtime.v1.ExecutorServiceSelectStoreResponse"> & {
323
+ /**
324
+ * Results
325
+ *
326
+ * @generated from field: map<string, mochabugapis.adapt.runtime.v1.GetValue> items = 1;
327
+ */
328
+ items: {
329
+ [key: string]: GetValue;
330
+ };
331
+ /**
332
+ * Next page token
333
+ *
334
+ * @generated from field: optional string next_token = 2;
335
+ */
336
+ nextToken?: string;
337
+ };
338
+ /**
339
+ * The response of the select store
340
+ *
341
+ * @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceSelectStoreResponse
342
+ */
343
+ export type ExecutorServiceSelectStoreResponseJson = {
344
+ /**
345
+ * Results
346
+ *
347
+ * @generated from field: map<string, mochabugapis.adapt.runtime.v1.GetValue> items = 1;
348
+ */
349
+ items?: {
350
+ [key: string]: GetValueJson;
351
+ };
352
+ /**
353
+ * Next page token
354
+ *
355
+ * @generated from field: optional string next_token = 2;
356
+ */
357
+ nextToken?: string;
358
+ };
359
+ /**
360
+ * Describes the message mochabugapis.adapt.runtime.v1.ExecutorServiceSelectStoreResponse.
361
+ * Use `create(ExecutorServiceSelectStoreResponseSchema)` to create a new message.
362
+ */
363
+ export declare const ExecutorServiceSelectStoreResponseSchema: GenMessage<ExecutorServiceSelectStoreResponse, {
364
+ jsonType: ExecutorServiceSelectStoreResponseJson;
365
+ }>;
366
+ /**
367
+ * A request to cancel a running exchange operation
368
+ *
369
+ * @generated from message mochabugapis.adapt.runtime.v1.CancelExchangeOperationRequest
370
+ */
371
+ export type CancelExchangeOperationRequest = Message<"mochabugapis.adapt.runtime.v1.CancelExchangeOperationRequest"> & {
372
+ /**
373
+ * The id of the operation
374
+ *
375
+ * @generated from field: string id = 1;
376
+ */
377
+ id: string;
378
+ };
379
+ /**
380
+ * A request to cancel a running exchange operation
381
+ *
382
+ * @generated from message mochabugapis.adapt.runtime.v1.CancelExchangeOperationRequest
383
+ */
384
+ export type CancelExchangeOperationRequestJson = {
385
+ /**
386
+ * The id of the operation
387
+ *
388
+ * @generated from field: string id = 1;
389
+ */
390
+ id?: string;
391
+ };
392
+ /**
393
+ * Describes the message mochabugapis.adapt.runtime.v1.CancelExchangeOperationRequest.
394
+ * Use `create(CancelExchangeOperationRequestSchema)` to create a new message.
395
+ */
396
+ export declare const CancelExchangeOperationRequestSchema: GenMessage<CancelExchangeOperationRequest, {
397
+ jsonType: CancelExchangeOperationRequestJson;
398
+ }>;
399
+ /**
400
+ * The response of cancelling the exchange operation
401
+ *
402
+ * @generated from message mochabugapis.adapt.runtime.v1.CancelExchangeOperationResponse
403
+ */
404
+ export type CancelExchangeOperationResponse = Message<"mochabugapis.adapt.runtime.v1.CancelExchangeOperationResponse"> & {};
405
+ /**
406
+ * The response of cancelling the exchange operation
407
+ *
408
+ * @generated from message mochabugapis.adapt.runtime.v1.CancelExchangeOperationResponse
409
+ */
410
+ export type CancelExchangeOperationResponseJson = {};
411
+ /**
412
+ * Describes the message mochabugapis.adapt.runtime.v1.CancelExchangeOperationResponse.
413
+ * Use `create(CancelExchangeOperationResponseSchema)` to create a new message.
414
+ */
415
+ export declare const CancelExchangeOperationResponseSchema: GenMessage<CancelExchangeOperationResponse, {
416
+ jsonType: CancelExchangeOperationResponseJson;
417
+ }>;
418
+ /**
419
+ * A request to check the status of an operation
420
+ *
421
+ * @generated from message mochabugapis.adapt.runtime.v1.GetExchangeOperationRequest
422
+ */
423
+ export type GetExchangeOperationRequest = Message<"mochabugapis.adapt.runtime.v1.GetExchangeOperationRequest"> & {
424
+ /**
425
+ * The id of the operation
426
+ *
427
+ * @generated from field: string id = 1;
428
+ */
429
+ id: string;
430
+ };
431
+ /**
432
+ * A request to check the status of an operation
433
+ *
434
+ * @generated from message mochabugapis.adapt.runtime.v1.GetExchangeOperationRequest
435
+ */
436
+ export type GetExchangeOperationRequestJson = {
437
+ /**
438
+ * The id of the operation
439
+ *
440
+ * @generated from field: string id = 1;
441
+ */
442
+ id?: string;
443
+ };
444
+ /**
445
+ * Describes the message mochabugapis.adapt.runtime.v1.GetExchangeOperationRequest.
446
+ * Use `create(GetExchangeOperationRequestSchema)` to create a new message.
447
+ */
448
+ export declare const GetExchangeOperationRequestSchema: GenMessage<GetExchangeOperationRequest, {
449
+ jsonType: GetExchangeOperationRequestJson;
450
+ }>;
451
+ /**
452
+ * The get operation response
453
+ *
454
+ * @generated from message mochabugapis.adapt.runtime.v1.GetExchangeOperationResponse
455
+ */
456
+ export type GetExchangeOperationResponse = Message<"mochabugapis.adapt.runtime.v1.GetExchangeOperationResponse"> & {
457
+ /**
458
+ * The actual operation
459
+ *
460
+ * @generated from field: mochabugapis.adapt.runtime.v1.ExchangeOperation item = 1;
461
+ */
462
+ item?: ExchangeOperation;
463
+ };
464
+ /**
465
+ * The get operation response
466
+ *
467
+ * @generated from message mochabugapis.adapt.runtime.v1.GetExchangeOperationResponse
468
+ */
469
+ export type GetExchangeOperationResponseJson = {
470
+ /**
471
+ * The actual operation
472
+ *
473
+ * @generated from field: mochabugapis.adapt.runtime.v1.ExchangeOperation item = 1;
474
+ */
475
+ item?: ExchangeOperationJson;
476
+ };
477
+ /**
478
+ * Describes the message mochabugapis.adapt.runtime.v1.GetExchangeOperationResponse.
479
+ * Use `create(GetExchangeOperationResponseSchema)` to create a new message.
480
+ */
481
+ export declare const GetExchangeOperationResponseSchema: GenMessage<GetExchangeOperationResponse, {
482
+ jsonType: GetExchangeOperationResponseJson;
483
+ }>;
484
+ /**
485
+ * A request to start execute an exchange
486
+ *
487
+ * @generated from message mochabugapis.adapt.runtime.v1.DispatchExchangeRequest
488
+ */
489
+ export type DispatchExchangeRequest = Message<"mochabugapis.adapt.runtime.v1.DispatchExchangeRequest"> & {
490
+ /**
491
+ * The name of the exchange to dispatch
492
+ *
493
+ * @generated from field: string name = 1;
494
+ */
495
+ name: string;
496
+ /**
497
+ * The receiver to send the signals on (on the exchange, mapps to transmitter on the subgraph)
498
+ *
499
+ * @generated from field: optional string receiver = 2;
500
+ */
501
+ receiver?: string;
502
+ /**
503
+ * The signals to send over the receiver
504
+ *
505
+ * @generated from field: map<string, mochabugapis.adapt.graph.SignalData> signals = 3;
506
+ */
507
+ signals: {
508
+ [key: string]: SignalData;
509
+ };
510
+ };
511
+ /**
512
+ * A request to start execute an exchange
513
+ *
514
+ * @generated from message mochabugapis.adapt.runtime.v1.DispatchExchangeRequest
515
+ */
516
+ export type DispatchExchangeRequestJson = {
517
+ /**
518
+ * The name of the exchange to dispatch
519
+ *
520
+ * @generated from field: string name = 1;
521
+ */
522
+ name?: string;
523
+ /**
524
+ * The receiver to send the signals on (on the exchange, mapps to transmitter on the subgraph)
525
+ *
526
+ * @generated from field: optional string receiver = 2;
527
+ */
528
+ receiver?: string;
529
+ /**
530
+ * The signals to send over the receiver
531
+ *
532
+ * @generated from field: map<string, mochabugapis.adapt.graph.SignalData> signals = 3;
533
+ */
534
+ signals?: {
535
+ [key: string]: SignalDataJson;
536
+ };
537
+ };
538
+ /**
539
+ * Describes the message mochabugapis.adapt.runtime.v1.DispatchExchangeRequest.
540
+ * Use `create(DispatchExchangeRequestSchema)` to create a new message.
541
+ */
542
+ export declare const DispatchExchangeRequestSchema: GenMessage<DispatchExchangeRequest, {
543
+ jsonType: DispatchExchangeRequestJson;
544
+ }>;
545
+ /**
546
+ * The response of the exchange execution
547
+ * Just like streams, this is an async operation
548
+ *
549
+ * @generated from message mochabugapis.adapt.runtime.v1.DispatchExchangeResponse
550
+ */
551
+ export type DispatchExchangeResponse = Message<"mochabugapis.adapt.runtime.v1.DispatchExchangeResponse"> & {
552
+ /**
553
+ * The id of the operation
554
+ *
555
+ * @generated from field: mochabugapis.adapt.runtime.v1.ExchangeOperation operation = 1;
556
+ */
557
+ operation?: ExchangeOperation;
558
+ };
559
+ /**
560
+ * The response of the exchange execution
561
+ * Just like streams, this is an async operation
562
+ *
563
+ * @generated from message mochabugapis.adapt.runtime.v1.DispatchExchangeResponse
564
+ */
565
+ export type DispatchExchangeResponseJson = {
566
+ /**
567
+ * The id of the operation
568
+ *
569
+ * @generated from field: mochabugapis.adapt.runtime.v1.ExchangeOperation operation = 1;
570
+ */
571
+ operation?: ExchangeOperationJson;
572
+ };
573
+ /**
574
+ * Describes the message mochabugapis.adapt.runtime.v1.DispatchExchangeResponse.
575
+ * Use `create(DispatchExchangeResponseSchema)` to create a new message.
576
+ */
577
+ export declare const DispatchExchangeResponseSchema: GenMessage<DispatchExchangeResponse, {
578
+ jsonType: DispatchExchangeResponseJson;
579
+ }>;
580
+ /**
581
+ * A representation of an exchange operation
582
+ *
583
+ * @generated from message mochabugapis.adapt.runtime.v1.ExchangeOperation
584
+ */
585
+ export type ExchangeOperation = Message<"mochabugapis.adapt.runtime.v1.ExchangeOperation"> & {
586
+ /**
587
+ * The name of the exchange
588
+ *
589
+ * @generated from field: string name = 1;
590
+ */
591
+ name: string;
592
+ /**
593
+ * The id of the fork
594
+ *
595
+ * @generated from field: string id = 2;
596
+ */
597
+ id: string;
598
+ /**
599
+ * The status of the operation
600
+ *
601
+ * @generated from field: mochabugapis.adapt.automations.v1.Status status = 3;
602
+ */
603
+ status: Status;
604
+ };
605
+ /**
606
+ * A representation of an exchange operation
607
+ *
608
+ * @generated from message mochabugapis.adapt.runtime.v1.ExchangeOperation
609
+ */
610
+ export type ExchangeOperationJson = {
611
+ /**
612
+ * The name of the exchange
613
+ *
614
+ * @generated from field: string name = 1;
615
+ */
616
+ name?: string;
617
+ /**
618
+ * The id of the fork
619
+ *
620
+ * @generated from field: string id = 2;
621
+ */
622
+ id?: string;
623
+ /**
624
+ * The status of the operation
625
+ *
626
+ * @generated from field: mochabugapis.adapt.automations.v1.Status status = 3;
627
+ */
628
+ status?: StatusJson;
629
+ };
630
+ /**
631
+ * Describes the message mochabugapis.adapt.runtime.v1.ExchangeOperation.
632
+ * Use `create(ExchangeOperationSchema)` to create a new message.
633
+ */
634
+ export declare const ExchangeOperationSchema: GenMessage<ExchangeOperation, {
635
+ jsonType: ExchangeOperationJson;
636
+ }>;
637
+ /**
638
+ * The complete execution request message
639
+ *
640
+ * @generated from message mochabugapis.adapt.runtime.v1.SendRequest
641
+ */
642
+ export type SendRequest = Message<"mochabugapis.adapt.runtime.v1.SendRequest"> & {
643
+ /**
644
+ * The transmitter to send the signals on
645
+ *
646
+ * @generated from field: optional string transmitter = 1;
647
+ */
648
+ transmitter?: string;
649
+ /**
650
+ * The signals to send over the transmitter
651
+ *
652
+ * @generated from field: map<string, mochabugapis.adapt.graph.SignalData> signals = 2;
653
+ */
654
+ signals: {
655
+ [key: string]: SignalData;
656
+ };
657
+ };
658
+ /**
659
+ * The complete execution request message
660
+ *
661
+ * @generated from message mochabugapis.adapt.runtime.v1.SendRequest
662
+ */
663
+ export type SendRequestJson = {
664
+ /**
665
+ * The transmitter to send the signals on
666
+ *
667
+ * @generated from field: optional string transmitter = 1;
668
+ */
669
+ transmitter?: string;
670
+ /**
671
+ * The signals to send over the transmitter
672
+ *
673
+ * @generated from field: map<string, mochabugapis.adapt.graph.SignalData> signals = 2;
674
+ */
675
+ signals?: {
676
+ [key: string]: SignalDataJson;
677
+ };
678
+ };
679
+ /**
680
+ * Describes the message mochabugapis.adapt.runtime.v1.SendRequest.
681
+ * Use `create(SendRequestSchema)` to create a new message.
682
+ */
683
+ export declare const SendRequestSchema: GenMessage<SendRequest, {
684
+ jsonType: SendRequestJson;
685
+ }>;
686
+ /**
687
+ * The complete execution response message
688
+ *
689
+ * @generated from message mochabugapis.adapt.runtime.v1.SendResponse
690
+ */
691
+ export type SendResponse = Message<"mochabugapis.adapt.runtime.v1.SendResponse"> & {};
692
+ /**
693
+ * The complete execution response message
694
+ *
695
+ * @generated from message mochabugapis.adapt.runtime.v1.SendResponse
696
+ */
697
+ export type SendResponseJson = {};
698
+ /**
699
+ * Describes the message mochabugapis.adapt.runtime.v1.SendResponse.
700
+ * Use `create(SendResponseSchema)` to create a new message.
701
+ */
702
+ export declare const SendResponseSchema: GenMessage<SendResponse, {
703
+ jsonType: SendResponseJson;
704
+ }>;
705
+ /**
706
+ * The request to fetch multiple signals on the connected receiver
707
+ *
708
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetActiveSignalsRequest
709
+ */
710
+ export type BatchGetActiveSignalsRequest = Message<"mochabugapis.adapt.runtime.v1.BatchGetActiveSignalsRequest"> & {
711
+ /**
712
+ * The names of the signals to fetch
713
+ * An empty array will result in only fetching the connected receiver
714
+ *
715
+ * @generated from field: repeated string names = 1;
716
+ */
717
+ names: string[];
718
+ };
719
+ /**
720
+ * The request to fetch multiple signals on the connected receiver
721
+ *
722
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetActiveSignalsRequest
723
+ */
724
+ export type BatchGetActiveSignalsRequestJson = {
725
+ /**
726
+ * The names of the signals to fetch
727
+ * An empty array will result in only fetching the connected receiver
728
+ *
729
+ * @generated from field: repeated string names = 1;
730
+ */
731
+ names?: string[];
732
+ };
733
+ /**
734
+ * Describes the message mochabugapis.adapt.runtime.v1.BatchGetActiveSignalsRequest.
735
+ * Use `create(BatchGetActiveSignalsRequestSchema)` to create a new message.
736
+ */
737
+ export declare const BatchGetActiveSignalsRequestSchema: GenMessage<BatchGetActiveSignalsRequest, {
738
+ jsonType: BatchGetActiveSignalsRequestJson;
739
+ }>;
740
+ /**
741
+ * The response of getting multiple signals on the connected receiver
742
+ *
743
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetActiveSignalsResponse
744
+ */
745
+ export type BatchGetActiveSignalsResponse = Message<"mochabugapis.adapt.runtime.v1.BatchGetActiveSignalsResponse"> & {
746
+ /**
747
+ * The returned items, items not found are ignored
748
+ *
749
+ * @generated from field: map<string, mochabugapis.adapt.graph.SignalData> items = 1;
750
+ */
751
+ items: {
752
+ [key: string]: SignalData;
753
+ };
754
+ /**
755
+ * The connected receiver
756
+ *
757
+ * @generated from field: string receiver = 2;
758
+ */
759
+ receiver: string;
760
+ };
761
+ /**
762
+ * The response of getting multiple signals on the connected receiver
763
+ *
764
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetActiveSignalsResponse
765
+ */
766
+ export type BatchGetActiveSignalsResponseJson = {
767
+ /**
768
+ * The returned items, items not found are ignored
769
+ *
770
+ * @generated from field: map<string, mochabugapis.adapt.graph.SignalData> items = 1;
771
+ */
772
+ items?: {
773
+ [key: string]: SignalDataJson;
774
+ };
775
+ /**
776
+ * The connected receiver
777
+ *
778
+ * @generated from field: string receiver = 2;
779
+ */
780
+ receiver?: string;
781
+ };
782
+ /**
783
+ * Describes the message mochabugapis.adapt.runtime.v1.BatchGetActiveSignalsResponse.
784
+ * Use `create(BatchGetActiveSignalsResponseSchema)` to create a new message.
785
+ */
786
+ export declare const BatchGetActiveSignalsResponseSchema: GenMessage<BatchGetActiveSignalsResponse, {
787
+ jsonType: BatchGetActiveSignalsResponseJson;
788
+ }>;
789
+ /**
790
+ * A request to fetch the signals on the connected receiver
791
+ *
792
+ * @generated from message mochabugapis.adapt.runtime.v1.ListActiveSignalsRequest
793
+ */
794
+ export type ListActiveSignalsRequest = Message<"mochabugapis.adapt.runtime.v1.ListActiveSignalsRequest"> & {
795
+ /**
796
+ * The page size, defaults to 50
797
+ *
798
+ * @generated from field: optional int32 page_size = 1;
799
+ */
800
+ pageSize?: number;
801
+ /**
802
+ * The cursor where to start the listing, defaults to beginning
803
+ * If the cursor is set, filter and order_by are ignored
804
+ *
805
+ * @generated from field: optional string cursor = 2;
806
+ */
807
+ cursor?: string;
808
+ /**
809
+ * True if you want the result in descending order
810
+ *
811
+ * @generated from field: optional bool order_descending = 3;
812
+ */
813
+ orderDescending?: boolean;
814
+ };
815
+ /**
816
+ * A request to fetch the signals on the connected receiver
817
+ *
818
+ * @generated from message mochabugapis.adapt.runtime.v1.ListActiveSignalsRequest
819
+ */
820
+ export type ListActiveSignalsRequestJson = {
821
+ /**
822
+ * The page size, defaults to 50
823
+ *
824
+ * @generated from field: optional int32 page_size = 1;
825
+ */
826
+ pageSize?: number;
827
+ /**
828
+ * The cursor where to start the listing, defaults to beginning
829
+ * If the cursor is set, filter and order_by are ignored
830
+ *
831
+ * @generated from field: optional string cursor = 2;
832
+ */
833
+ cursor?: string;
834
+ /**
835
+ * True if you want the result in descending order
836
+ *
837
+ * @generated from field: optional bool order_descending = 3;
838
+ */
839
+ orderDescending?: boolean;
840
+ };
841
+ /**
842
+ * Describes the message mochabugapis.adapt.runtime.v1.ListActiveSignalsRequest.
843
+ * Use `create(ListActiveSignalsRequestSchema)` to create a new message.
844
+ */
845
+ export declare const ListActiveSignalsRequestSchema: GenMessage<ListActiveSignalsRequest, {
846
+ jsonType: ListActiveSignalsRequestJson;
847
+ }>;
848
+ /**
849
+ * The response of fetching the recieved signals
850
+ *
851
+ * IMPORTANT: The response payload is limited to a maximum of 16MB.
852
+ * If the total size of all signals would exceed this limit, the response
853
+ * will be truncated and a next_cursor will be provided to continue fetching
854
+ * the remaining signals in subsequent requests.
855
+ *
856
+ * @generated from message mochabugapis.adapt.runtime.v1.ListActiveSignalsResponse
857
+ */
858
+ export type ListActiveSignalsResponse = Message<"mochabugapis.adapt.runtime.v1.ListActiveSignalsResponse"> & {
859
+ /**
860
+ * The actual signals on the receiver
861
+ *
862
+ * @generated from field: map<string, mochabugapis.adapt.graph.SignalData> signals = 1;
863
+ */
864
+ signals: {
865
+ [key: string]: SignalData;
866
+ };
867
+ /**
868
+ * The receiver the signals are fetched on
869
+ * The receiver must always be set, otherwise we cannot be inside a executor
870
+ *
871
+ * @generated from field: string receiver = 2;
872
+ */
873
+ receiver: string;
874
+ /**
875
+ * Use this cursor in the next request to go through the collection
876
+ * Set if there's more data or if the 16MB payload limit was reached
877
+ *
878
+ * @generated from field: optional string next_cursor = 3;
879
+ */
880
+ nextCursor?: string;
881
+ };
882
+ /**
883
+ * The response of fetching the recieved signals
884
+ *
885
+ * IMPORTANT: The response payload is limited to a maximum of 16MB.
886
+ * If the total size of all signals would exceed this limit, the response
887
+ * will be truncated and a next_cursor will be provided to continue fetching
888
+ * the remaining signals in subsequent requests.
889
+ *
890
+ * @generated from message mochabugapis.adapt.runtime.v1.ListActiveSignalsResponse
891
+ */
892
+ export type ListActiveSignalsResponseJson = {
893
+ /**
894
+ * The actual signals on the receiver
895
+ *
896
+ * @generated from field: map<string, mochabugapis.adapt.graph.SignalData> signals = 1;
897
+ */
898
+ signals?: {
899
+ [key: string]: SignalDataJson;
900
+ };
901
+ /**
902
+ * The receiver the signals are fetched on
903
+ * The receiver must always be set, otherwise we cannot be inside a executor
904
+ *
905
+ * @generated from field: string receiver = 2;
906
+ */
907
+ receiver?: string;
908
+ /**
909
+ * Use this cursor in the next request to go through the collection
910
+ * Set if there's more data or if the 16MB payload limit was reached
911
+ *
912
+ * @generated from field: optional string next_cursor = 3;
913
+ */
914
+ nextCursor?: string;
915
+ };
916
+ /**
917
+ * Describes the message mochabugapis.adapt.runtime.v1.ListActiveSignalsResponse.
918
+ * Use `create(ListActiveSignalsResponseSchema)` to create a new message.
919
+ */
920
+ export declare const ListActiveSignalsResponseSchema: GenMessage<ListActiveSignalsResponse, {
921
+ jsonType: ListActiveSignalsResponseJson;
922
+ }>;
923
+ /**
924
+ * The vertex config request
925
+ *
926
+ * @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceGetVertexConfigRequest
927
+ */
928
+ export type ExecutorServiceGetVertexConfigRequest = Message<"mochabugapis.adapt.runtime.v1.ExecutorServiceGetVertexConfigRequest"> & {
929
+ /**
930
+ * An optional field mask
931
+ *
932
+ * @generated from field: optional google.protobuf.FieldMask field_mask = 1;
933
+ */
934
+ fieldMask?: FieldMask;
935
+ };
936
+ /**
937
+ * The vertex config request
938
+ *
939
+ * @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceGetVertexConfigRequest
940
+ */
941
+ export type ExecutorServiceGetVertexConfigRequestJson = {
942
+ /**
943
+ * An optional field mask
944
+ *
945
+ * @generated from field: optional google.protobuf.FieldMask field_mask = 1;
946
+ */
947
+ fieldMask?: FieldMaskJson;
948
+ };
949
+ /**
950
+ * Describes the message mochabugapis.adapt.runtime.v1.ExecutorServiceGetVertexConfigRequest.
951
+ * Use `create(ExecutorServiceGetVertexConfigRequestSchema)` to create a new message.
952
+ */
953
+ export declare const ExecutorServiceGetVertexConfigRequestSchema: GenMessage<ExecutorServiceGetVertexConfigRequest, {
954
+ jsonType: ExecutorServiceGetVertexConfigRequestJson;
955
+ }>;
956
+ /**
957
+ * The vertex config response
958
+ *
959
+ * @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceGetVertexConfigResponse
960
+ */
961
+ export type ExecutorServiceGetVertexConfigResponse = Message<"mochabugapis.adapt.runtime.v1.ExecutorServiceGetVertexConfigResponse"> & {
962
+ /**
963
+ * The vertex config
964
+ *
965
+ * @generated from field: bytes config = 1;
966
+ */
967
+ config: Uint8Array;
968
+ /**
969
+ * The metadata of the config
970
+ *
971
+ * @generated from field: mochabugapis.adapt.graph.VertexMetadata metadata = 2;
972
+ */
973
+ metadata?: VertexMetadata;
974
+ /**
975
+ * The services that are actually configured on this vertex
976
+ * For nested services you query with a dot notation path
977
+ * Services that are not configured will not appear in this map
978
+ * For example, oneOf service with the selection option will appear as: "oneof_service.selected_option"
979
+ * Any grouped services will appear as normal, i.e. "grouped_service.nested_service"
980
+ * If the service is not configured (i.e. optional) it will not appear in this map
981
+ *
982
+ * @generated from field: map<string, bool> configured_services = 3;
983
+ */
984
+ configuredServices: {
985
+ [key: string]: boolean;
986
+ };
987
+ };
988
+ /**
989
+ * The vertex config response
990
+ *
991
+ * @generated from message mochabugapis.adapt.runtime.v1.ExecutorServiceGetVertexConfigResponse
992
+ */
993
+ export type ExecutorServiceGetVertexConfigResponseJson = {
994
+ /**
995
+ * The vertex config
996
+ *
997
+ * @generated from field: bytes config = 1;
998
+ */
999
+ config?: string;
1000
+ /**
1001
+ * The metadata of the config
1002
+ *
1003
+ * @generated from field: mochabugapis.adapt.graph.VertexMetadata metadata = 2;
1004
+ */
1005
+ metadata?: VertexMetadataJson;
1006
+ /**
1007
+ * The services that are actually configured on this vertex
1008
+ * For nested services you query with a dot notation path
1009
+ * Services that are not configured will not appear in this map
1010
+ * For example, oneOf service with the selection option will appear as: "oneof_service.selected_option"
1011
+ * Any grouped services will appear as normal, i.e. "grouped_service.nested_service"
1012
+ * If the service is not configured (i.e. optional) it will not appear in this map
1013
+ *
1014
+ * @generated from field: map<string, bool> configured_services = 3;
1015
+ */
1016
+ configuredServices?: {
1017
+ [key: string]: boolean;
1018
+ };
1019
+ };
1020
+ /**
1021
+ * Describes the message mochabugapis.adapt.runtime.v1.ExecutorServiceGetVertexConfigResponse.
1022
+ * Use `create(ExecutorServiceGetVertexConfigResponseSchema)` to create a new message.
1023
+ */
1024
+ export declare const ExecutorServiceGetVertexConfigResponseSchema: GenMessage<ExecutorServiceGetVertexConfigResponse, {
1025
+ jsonType: ExecutorServiceGetVertexConfigResponseJson;
1026
+ }>;
1027
+ /**
1028
+ * The ListIncomingSignalsRequest is used to list the signals on the receiver you query
1029
+ * If you have multiple receivers you should call this endpoint multiple times
1030
+ *
1031
+ * @generated from message mochabugapis.adapt.runtime.v1.ListIncomingSignalsRequest
1032
+ */
1033
+ export type ListIncomingSignalsRequest = Message<"mochabugapis.adapt.runtime.v1.ListIncomingSignalsRequest"> & {
1034
+ /**
1035
+ * The receiver you want to check for signals, if not set, the first connected receiver is used
1036
+ *
1037
+ * @generated from field: optional string receiver = 1;
1038
+ */
1039
+ receiver?: string;
1040
+ /**
1041
+ * Optional formats to filter the signals by. I.e. only return signals that subsumes to at least one schema in the array
1042
+ *
1043
+ * @generated from field: repeated mochabugapis.adapt.graph.SignalFormat formats = 2;
1044
+ */
1045
+ formats: SignalFormat[];
1046
+ /**
1047
+ * A fieldmaks to apply to the returned schema
1048
+ * I.e. if you want to omit logos you should set this to "vertices" + additional info
1049
+ *
1050
+ * @generated from field: optional google.protobuf.FieldMask field_mask = 3;
1051
+ */
1052
+ fieldMask?: FieldMask;
1053
+ };
1054
+ /**
1055
+ * The ListIncomingSignalsRequest is used to list the signals on the receiver you query
1056
+ * If you have multiple receivers you should call this endpoint multiple times
1057
+ *
1058
+ * @generated from message mochabugapis.adapt.runtime.v1.ListIncomingSignalsRequest
1059
+ */
1060
+ export type ListIncomingSignalsRequestJson = {
1061
+ /**
1062
+ * The receiver you want to check for signals, if not set, the first connected receiver is used
1063
+ *
1064
+ * @generated from field: optional string receiver = 1;
1065
+ */
1066
+ receiver?: string;
1067
+ /**
1068
+ * Optional formats to filter the signals by. I.e. only return signals that subsumes to at least one schema in the array
1069
+ *
1070
+ * @generated from field: repeated mochabugapis.adapt.graph.SignalFormat formats = 2;
1071
+ */
1072
+ formats?: SignalFormatJson[];
1073
+ /**
1074
+ * A fieldmaks to apply to the returned schema
1075
+ * I.e. if you want to omit logos you should set this to "vertices" + additional info
1076
+ *
1077
+ * @generated from field: optional google.protobuf.FieldMask field_mask = 3;
1078
+ */
1079
+ fieldMask?: FieldMaskJson;
1080
+ };
1081
+ /**
1082
+ * Describes the message mochabugapis.adapt.runtime.v1.ListIncomingSignalsRequest.
1083
+ * Use `create(ListIncomingSignalsRequestSchema)` to create a new message.
1084
+ */
1085
+ export declare const ListIncomingSignalsRequestSchema: GenMessage<ListIncomingSignalsRequest, {
1086
+ jsonType: ListIncomingSignalsRequestJson;
1087
+ }>;
1088
+ /**
1089
+ * A representation of a signal on a receiver
1090
+ *
1091
+ * @generated from message mochabugapis.adapt.runtime.v1.IncomingVertices
1092
+ */
1093
+ export type IncomingVertices = Message<"mochabugapis.adapt.runtime.v1.IncomingVertices"> & {
1094
+ /**
1095
+ * The vertex id
1096
+ *
1097
+ * @generated from field: string id = 1;
1098
+ */
1099
+ id: string;
1100
+ /**
1101
+ * The label
1102
+ *
1103
+ * @generated from field: string label = 2;
1104
+ */
1105
+ label: string;
1106
+ /**
1107
+ * The description
1108
+ *
1109
+ * @generated from field: optional string description = 3;
1110
+ */
1111
+ description?: string;
1112
+ /**
1113
+ * The transmitters on the vertex
1114
+ *
1115
+ * @generated from field: repeated mochabugapis.adapt.graph.Transmitter transmitters = 4;
1116
+ */
1117
+ transmitters: Transmitter[];
1118
+ /**
1119
+ * We also need to know the vertex type
1120
+ *
1121
+ * @generated from field: mochabugapis.adapt.runtime.v1.VertexType vertex_type = 5;
1122
+ */
1123
+ vertexType: VertexType;
1124
+ /**
1125
+ * Optional logo for the vertex, use it to get the logo from the map
1126
+ *
1127
+ * @generated from field: optional string logo_id = 6;
1128
+ */
1129
+ logoId?: string;
1130
+ };
1131
+ /**
1132
+ * A representation of a signal on a receiver
1133
+ *
1134
+ * @generated from message mochabugapis.adapt.runtime.v1.IncomingVertices
1135
+ */
1136
+ export type IncomingVerticesJson = {
1137
+ /**
1138
+ * The vertex id
1139
+ *
1140
+ * @generated from field: string id = 1;
1141
+ */
1142
+ id?: string;
1143
+ /**
1144
+ * The label
1145
+ *
1146
+ * @generated from field: string label = 2;
1147
+ */
1148
+ label?: string;
1149
+ /**
1150
+ * The description
1151
+ *
1152
+ * @generated from field: optional string description = 3;
1153
+ */
1154
+ description?: string;
1155
+ /**
1156
+ * The transmitters on the vertex
1157
+ *
1158
+ * @generated from field: repeated mochabugapis.adapt.graph.Transmitter transmitters = 4;
1159
+ */
1160
+ transmitters?: TransmitterJson[];
1161
+ /**
1162
+ * We also need to know the vertex type
1163
+ *
1164
+ * @generated from field: mochabugapis.adapt.runtime.v1.VertexType vertex_type = 5;
1165
+ */
1166
+ vertexType?: VertexTypeJson;
1167
+ /**
1168
+ * Optional logo for the vertex, use it to get the logo from the map
1169
+ *
1170
+ * @generated from field: optional string logo_id = 6;
1171
+ */
1172
+ logoId?: string;
1173
+ };
1174
+ /**
1175
+ * Describes the message mochabugapis.adapt.runtime.v1.IncomingVertices.
1176
+ * Use `create(IncomingVerticesSchema)` to create a new message.
1177
+ */
1178
+ export declare const IncomingVerticesSchema: GenMessage<IncomingVertices, {
1179
+ jsonType: IncomingVerticesJson;
1180
+ }>;
1181
+ /**
1182
+ * The ListIncomingSignalsResponse is used to return the signals on the receiver you query
1183
+ *
1184
+ * @generated from message mochabugapis.adapt.runtime.v1.ListIncomingSignalsResponse
1185
+ */
1186
+ export type ListIncomingSignalsResponse = Message<"mochabugapis.adapt.runtime.v1.ListIncomingSignalsResponse"> & {
1187
+ /**
1188
+ * The incoming vertices
1189
+ *
1190
+ * @generated from field: repeated mochabugapis.adapt.runtime.v1.IncomingVertices vertices = 1;
1191
+ */
1192
+ vertices: IncomingVertices[];
1193
+ /**
1194
+ * A map that maps vertex logo ids to logo
1195
+ *
1196
+ * @generated from field: map<string, string> vertex_logos = 2;
1197
+ */
1198
+ vertexLogos: {
1199
+ [key: string]: string;
1200
+ };
1201
+ /**
1202
+ * The receiver the signals are fetched on
1203
+ * This is set, since otherwise the request would return not found
1204
+ *
1205
+ * @generated from field: string receiver = 3;
1206
+ */
1207
+ receiver: string;
1208
+ };
1209
+ /**
1210
+ * The ListIncomingSignalsResponse is used to return the signals on the receiver you query
1211
+ *
1212
+ * @generated from message mochabugapis.adapt.runtime.v1.ListIncomingSignalsResponse
1213
+ */
1214
+ export type ListIncomingSignalsResponseJson = {
1215
+ /**
1216
+ * The incoming vertices
1217
+ *
1218
+ * @generated from field: repeated mochabugapis.adapt.runtime.v1.IncomingVertices vertices = 1;
1219
+ */
1220
+ vertices?: IncomingVerticesJson[];
1221
+ /**
1222
+ * A map that maps vertex logo ids to logo
1223
+ *
1224
+ * @generated from field: map<string, string> vertex_logos = 2;
1225
+ */
1226
+ vertexLogos?: {
1227
+ [key: string]: string;
1228
+ };
1229
+ /**
1230
+ * The receiver the signals are fetched on
1231
+ * This is set, since otherwise the request would return not found
1232
+ *
1233
+ * @generated from field: string receiver = 3;
1234
+ */
1235
+ receiver?: string;
1236
+ };
1237
+ /**
1238
+ * Describes the message mochabugapis.adapt.runtime.v1.ListIncomingSignalsResponse.
1239
+ * Use `create(ListIncomingSignalsResponseSchema)` to create a new message.
1240
+ */
1241
+ export declare const ListIncomingSignalsResponseSchema: GenMessage<ListIncomingSignalsResponse, {
1242
+ jsonType: ListIncomingSignalsResponseJson;
1243
+ }>;
1244
+ /**
1245
+ * The batch store operation for the configuration store
1246
+ *
1247
+ * @generated from message mochabugapis.adapt.runtime.v1.ConfiguratorServiceBatchWriteStoreRequest
1248
+ */
1249
+ export type ConfiguratorServiceBatchWriteStoreRequest = Message<"mochabugapis.adapt.runtime.v1.ConfiguratorServiceBatchWriteStoreRequest"> & {
1250
+ /**
1251
+ * A batch of operations to perform in the configurator store.
1252
+ * Refer to the comments on the `StoreNamespace` enum for details on scope requirements.
1253
+ *
1254
+ * @generated from field: repeated mochabugapis.adapt.runtime.v1.WriteOperation operations = 1;
1255
+ */
1256
+ operations: WriteOperation[];
1257
+ /**
1258
+ * The namespace where the batch is applied.
1259
+ *
1260
+ * @generated from field: mochabugapis.adapt.runtime.v1.Namespace namespace = 2;
1261
+ */
1262
+ namespace: Namespace;
1263
+ };
1264
+ /**
1265
+ * The batch store operation for the configuration store
1266
+ *
1267
+ * @generated from message mochabugapis.adapt.runtime.v1.ConfiguratorServiceBatchWriteStoreRequest
1268
+ */
1269
+ export type ConfiguratorServiceBatchWriteStoreRequestJson = {
1270
+ /**
1271
+ * A batch of operations to perform in the configurator store.
1272
+ * Refer to the comments on the `StoreNamespace` enum for details on scope requirements.
1273
+ *
1274
+ * @generated from field: repeated mochabugapis.adapt.runtime.v1.WriteOperation operations = 1;
1275
+ */
1276
+ operations?: WriteOperationJson[];
1277
+ /**
1278
+ * The namespace where the batch is applied.
1279
+ *
1280
+ * @generated from field: mochabugapis.adapt.runtime.v1.Namespace namespace = 2;
1281
+ */
1282
+ namespace?: NamespaceJson;
1283
+ };
1284
+ /**
1285
+ * Describes the message mochabugapis.adapt.runtime.v1.ConfiguratorServiceBatchWriteStoreRequest.
1286
+ * Use `create(ConfiguratorServiceBatchWriteStoreRequestSchema)` to create a new message.
1287
+ */
1288
+ export declare const ConfiguratorServiceBatchWriteStoreRequestSchema: GenMessage<ConfiguratorServiceBatchWriteStoreRequest, {
1289
+ jsonType: ConfiguratorServiceBatchWriteStoreRequestJson;
1290
+ }>;
1291
+ /**
1292
+ * The response of the batch store
1293
+ *
1294
+ * @generated from message mochabugapis.adapt.runtime.v1.ConfiguratorServiceBatchWriteStoreResponse
1295
+ */
1296
+ export type ConfiguratorServiceBatchWriteStoreResponse = Message<"mochabugapis.adapt.runtime.v1.ConfiguratorServiceBatchWriteStoreResponse"> & {
1297
+ /**
1298
+ * Metadata for each written key.
1299
+ * Note: Metadata is only returned for insert operations, not for delete operations.
1300
+ *
1301
+ * @generated from field: map<string, mochabugapis.adapt.runtime.v1.ValueMetadata> metadata = 1;
1302
+ */
1303
+ metadata: {
1304
+ [key: string]: ValueMetadata;
1305
+ };
1306
+ };
1307
+ /**
1308
+ * The response of the batch store
1309
+ *
1310
+ * @generated from message mochabugapis.adapt.runtime.v1.ConfiguratorServiceBatchWriteStoreResponse
1311
+ */
1312
+ export type ConfiguratorServiceBatchWriteStoreResponseJson = {
1313
+ /**
1314
+ * Metadata for each written key.
1315
+ * Note: Metadata is only returned for insert operations, not for delete operations.
1316
+ *
1317
+ * @generated from field: map<string, mochabugapis.adapt.runtime.v1.ValueMetadata> metadata = 1;
1318
+ */
1319
+ metadata?: {
1320
+ [key: string]: ValueMetadataJson;
1321
+ };
1322
+ };
1323
+ /**
1324
+ * Describes the message mochabugapis.adapt.runtime.v1.ConfiguratorServiceBatchWriteStoreResponse.
1325
+ * Use `create(ConfiguratorServiceBatchWriteStoreResponseSchema)` to create a new message.
1326
+ */
1327
+ export declare const ConfiguratorServiceBatchWriteStoreResponseSchema: GenMessage<ConfiguratorServiceBatchWriteStoreResponse, {
1328
+ jsonType: ConfiguratorServiceBatchWriteStoreResponseJson;
1329
+ }>;
1330
+ /**
1331
+ * The write store request
1332
+ *
1333
+ * @generated from message mochabugapis.adapt.runtime.v1.ConfiguratorServiceWriteStoreRequest
1334
+ */
1335
+ export type ConfiguratorServiceWriteStoreRequest = Message<"mochabugapis.adapt.runtime.v1.ConfiguratorServiceWriteStoreRequest"> & {
1336
+ /**
1337
+ * The difference in the single write request is that we support conditional
1338
+ * write operations here. These are useful for implementing locks etc.
1339
+ * Conditional write operations behaves strangely inside a batch operation since
1340
+ * the entire batch becomes conditional and they do not follow timestamps
1341
+ *
1342
+ * @generated from field: mochabugapis.adapt.runtime.v1.ConditionalWriteOperation operation = 1;
1343
+ */
1344
+ operation?: ConditionalWriteOperation;
1345
+ /**
1346
+ * The namespace where the operation is applied.
1347
+ *
1348
+ * @generated from field: mochabugapis.adapt.runtime.v1.Namespace namespace = 2;
1349
+ */
1350
+ namespace: Namespace;
1351
+ };
1352
+ /**
1353
+ * The write store request
1354
+ *
1355
+ * @generated from message mochabugapis.adapt.runtime.v1.ConfiguratorServiceWriteStoreRequest
1356
+ */
1357
+ export type ConfiguratorServiceWriteStoreRequestJson = {
1358
+ /**
1359
+ * The difference in the single write request is that we support conditional
1360
+ * write operations here. These are useful for implementing locks etc.
1361
+ * Conditional write operations behaves strangely inside a batch operation since
1362
+ * the entire batch becomes conditional and they do not follow timestamps
1363
+ *
1364
+ * @generated from field: mochabugapis.adapt.runtime.v1.ConditionalWriteOperation operation = 1;
1365
+ */
1366
+ operation?: ConditionalWriteOperationJson;
1367
+ /**
1368
+ * The namespace where the operation is applied.
1369
+ *
1370
+ * @generated from field: mochabugapis.adapt.runtime.v1.Namespace namespace = 2;
1371
+ */
1372
+ namespace?: NamespaceJson;
1373
+ };
1374
+ /**
1375
+ * Describes the message mochabugapis.adapt.runtime.v1.ConfiguratorServiceWriteStoreRequest.
1376
+ * Use `create(ConfiguratorServiceWriteStoreRequestSchema)` to create a new message.
1377
+ */
1378
+ export declare const ConfiguratorServiceWriteStoreRequestSchema: GenMessage<ConfiguratorServiceWriteStoreRequest, {
1379
+ jsonType: ConfiguratorServiceWriteStoreRequestJson;
1380
+ }>;
1381
+ /**
1382
+ * The response of the single write store
1383
+ *
1384
+ * @generated from message mochabugapis.adapt.runtime.v1.ConfiguratorServiceWriteStoreResponse
1385
+ */
1386
+ export type ConfiguratorServiceWriteStoreResponse = Message<"mochabugapis.adapt.runtime.v1.ConfiguratorServiceWriteStoreResponse"> & {
1387
+ /**
1388
+ * The metadata for the written key.
1389
+ * Note: Metadata is only returned for insert operations, not for delete operations.
1390
+ *
1391
+ * @generated from field: optional mochabugapis.adapt.runtime.v1.ValueMetadata metadata = 1;
1392
+ */
1393
+ metadata?: ValueMetadata;
1394
+ };
1395
+ /**
1396
+ * The response of the single write store
1397
+ *
1398
+ * @generated from message mochabugapis.adapt.runtime.v1.ConfiguratorServiceWriteStoreResponse
1399
+ */
1400
+ export type ConfiguratorServiceWriteStoreResponseJson = {
1401
+ /**
1402
+ * The metadata for the written key.
1403
+ * Note: Metadata is only returned for insert operations, not for delete operations.
1404
+ *
1405
+ * @generated from field: optional mochabugapis.adapt.runtime.v1.ValueMetadata metadata = 1;
1406
+ */
1407
+ metadata?: ValueMetadataJson;
1408
+ };
1409
+ /**
1410
+ * Describes the message mochabugapis.adapt.runtime.v1.ConfiguratorServiceWriteStoreResponse.
1411
+ * Use `create(ConfiguratorServiceWriteStoreResponseSchema)` to create a new message.
1412
+ */
1413
+ export declare const ConfiguratorServiceWriteStoreResponseSchema: GenMessage<ConfiguratorServiceWriteStoreResponse, {
1414
+ jsonType: ConfiguratorServiceWriteStoreResponseJson;
1415
+ }>;
1416
+ /**
1417
+ * The batch store operation for the configuration store
1418
+ *
1419
+ * @generated from message mochabugapis.adapt.runtime.v1.ConfiguratorServiceBatchReadStoreRequest
1420
+ */
1421
+ export type ConfiguratorServiceBatchReadStoreRequest = Message<"mochabugapis.adapt.runtime.v1.ConfiguratorServiceBatchReadStoreRequest"> & {
1422
+ /**
1423
+ * Keys to fetch from the configurator store
1424
+ * Refer to the comments on the `Namespace` enum for details on scope requirements
1425
+ *
1426
+ * @generated from field: repeated string keys = 1;
1427
+ */
1428
+ keys: string[];
1429
+ /**
1430
+ * The namespace where the batch is applied.
1431
+ *
1432
+ * @generated from field: mochabugapis.adapt.runtime.v1.Namespace namespace = 2;
1433
+ */
1434
+ namespace: Namespace;
1435
+ };
1436
+ /**
1437
+ * The batch store operation for the configuration store
1438
+ *
1439
+ * @generated from message mochabugapis.adapt.runtime.v1.ConfiguratorServiceBatchReadStoreRequest
1440
+ */
1441
+ export type ConfiguratorServiceBatchReadStoreRequestJson = {
1442
+ /**
1443
+ * Keys to fetch from the configurator store
1444
+ * Refer to the comments on the `Namespace` enum for details on scope requirements
1445
+ *
1446
+ * @generated from field: repeated string keys = 1;
1447
+ */
1448
+ keys?: string[];
1449
+ /**
1450
+ * The namespace where the batch is applied.
1451
+ *
1452
+ * @generated from field: mochabugapis.adapt.runtime.v1.Namespace namespace = 2;
1453
+ */
1454
+ namespace?: NamespaceJson;
1455
+ };
1456
+ /**
1457
+ * Describes the message mochabugapis.adapt.runtime.v1.ConfiguratorServiceBatchReadStoreRequest.
1458
+ * Use `create(ConfiguratorServiceBatchReadStoreRequestSchema)` to create a new message.
1459
+ */
1460
+ export declare const ConfiguratorServiceBatchReadStoreRequestSchema: GenMessage<ConfiguratorServiceBatchReadStoreRequest, {
1461
+ jsonType: ConfiguratorServiceBatchReadStoreRequestJson;
1462
+ }>;
1463
+ /**
1464
+ * The response of the batch store
1465
+ *
1466
+ * @generated from message mochabugapis.adapt.runtime.v1.ConfiguratorServiceBatchReadStoreResponse
1467
+ */
1468
+ export type ConfiguratorServiceBatchReadStoreResponse = Message<"mochabugapis.adapt.runtime.v1.ConfiguratorServiceBatchReadStoreResponse"> & {
1469
+ /**
1470
+ * Map of key to value
1471
+ *
1472
+ * @generated from field: map<string, mochabugapis.adapt.runtime.v1.GetValue> items = 1;
1473
+ */
1474
+ items: {
1475
+ [key: string]: GetValue;
1476
+ };
1477
+ };
1478
+ /**
1479
+ * The response of the batch store
1480
+ *
1481
+ * @generated from message mochabugapis.adapt.runtime.v1.ConfiguratorServiceBatchReadStoreResponse
1482
+ */
1483
+ export type ConfiguratorServiceBatchReadStoreResponseJson = {
1484
+ /**
1485
+ * Map of key to value
1486
+ *
1487
+ * @generated from field: map<string, mochabugapis.adapt.runtime.v1.GetValue> items = 1;
1488
+ */
1489
+ items?: {
1490
+ [key: string]: GetValueJson;
1491
+ };
1492
+ };
1493
+ /**
1494
+ * Describes the message mochabugapis.adapt.runtime.v1.ConfiguratorServiceBatchReadStoreResponse.
1495
+ * Use `create(ConfiguratorServiceBatchReadStoreResponseSchema)` to create a new message.
1496
+ */
1497
+ export declare const ConfiguratorServiceBatchReadStoreResponseSchema: GenMessage<ConfiguratorServiceBatchReadStoreResponse, {
1498
+ jsonType: ConfiguratorServiceBatchReadStoreResponseJson;
1499
+ }>;
1500
+ /**
1501
+ * The request to select from the configuration store
1502
+ *
1503
+ * @generated from message mochabugapis.adapt.runtime.v1.ConfiguratorServiceSelectStoreRequest
1504
+ */
1505
+ export type ConfiguratorServiceSelectStoreRequest = Message<"mochabugapis.adapt.runtime.v1.ConfiguratorServiceSelectStoreRequest"> & {
1506
+ /**
1507
+ * The select operation to perform
1508
+ *
1509
+ * @generated from field: mochabugapis.adapt.runtime.v1.SelectOp operation = 1;
1510
+ */
1511
+ operation?: SelectOp;
1512
+ /**
1513
+ * The namespace where the operation is applied
1514
+ *
1515
+ * @generated from field: mochabugapis.adapt.runtime.v1.Namespace namespace = 2;
1516
+ */
1517
+ namespace: Namespace;
1518
+ };
1519
+ /**
1520
+ * The request to select from the configuration store
1521
+ *
1522
+ * @generated from message mochabugapis.adapt.runtime.v1.ConfiguratorServiceSelectStoreRequest
1523
+ */
1524
+ export type ConfiguratorServiceSelectStoreRequestJson = {
1525
+ /**
1526
+ * The select operation to perform
1527
+ *
1528
+ * @generated from field: mochabugapis.adapt.runtime.v1.SelectOp operation = 1;
1529
+ */
1530
+ operation?: SelectOpJson;
1531
+ /**
1532
+ * The namespace where the operation is applied
1533
+ *
1534
+ * @generated from field: mochabugapis.adapt.runtime.v1.Namespace namespace = 2;
1535
+ */
1536
+ namespace?: NamespaceJson;
1537
+ };
1538
+ /**
1539
+ * Describes the message mochabugapis.adapt.runtime.v1.ConfiguratorServiceSelectStoreRequest.
1540
+ * Use `create(ConfiguratorServiceSelectStoreRequestSchema)` to create a new message.
1541
+ */
1542
+ export declare const ConfiguratorServiceSelectStoreRequestSchema: GenMessage<ConfiguratorServiceSelectStoreRequest, {
1543
+ jsonType: ConfiguratorServiceSelectStoreRequestJson;
1544
+ }>;
1545
+ /**
1546
+ * The response of the select store
1547
+ *
1548
+ * @generated from message mochabugapis.adapt.runtime.v1.ConfiguratorServiceSelectStoreResponse
1549
+ */
1550
+ export type ConfiguratorServiceSelectStoreResponse = Message<"mochabugapis.adapt.runtime.v1.ConfiguratorServiceSelectStoreResponse"> & {
1551
+ /**
1552
+ * Results
1553
+ *
1554
+ * @generated from field: map<string, mochabugapis.adapt.runtime.v1.GetValue> items = 1;
1555
+ */
1556
+ items: {
1557
+ [key: string]: GetValue;
1558
+ };
1559
+ /**
1560
+ * Next page token
1561
+ *
1562
+ * @generated from field: optional string next_token = 2;
1563
+ */
1564
+ nextToken?: string;
1565
+ };
1566
+ /**
1567
+ * The response of the select store
1568
+ *
1569
+ * @generated from message mochabugapis.adapt.runtime.v1.ConfiguratorServiceSelectStoreResponse
1570
+ */
1571
+ export type ConfiguratorServiceSelectStoreResponseJson = {
1572
+ /**
1573
+ * Results
1574
+ *
1575
+ * @generated from field: map<string, mochabugapis.adapt.runtime.v1.GetValue> items = 1;
1576
+ */
1577
+ items?: {
1578
+ [key: string]: GetValueJson;
1579
+ };
1580
+ /**
1581
+ * Next page token
1582
+ *
1583
+ * @generated from field: optional string next_token = 2;
1584
+ */
1585
+ nextToken?: string;
1586
+ };
1587
+ /**
1588
+ * Describes the message mochabugapis.adapt.runtime.v1.ConfiguratorServiceSelectStoreResponse.
1589
+ * Use `create(ConfiguratorServiceSelectStoreResponseSchema)` to create a new message.
1590
+ */
1591
+ export declare const ConfiguratorServiceSelectStoreResponseSchema: GenMessage<ConfiguratorServiceSelectStoreResponse, {
1592
+ jsonType: ConfiguratorServiceSelectStoreResponseJson;
1593
+ }>;
1594
+ /**
1595
+ * The get vertex request
1596
+ *
1597
+ * @generated from message mochabugapis.adapt.runtime.v1.ConfiguratorServiceGetVertexConfigRequest
1598
+ */
1599
+ export type ConfiguratorServiceGetVertexConfigRequest = Message<"mochabugapis.adapt.runtime.v1.ConfiguratorServiceGetVertexConfigRequest"> & {
1600
+ /**
1601
+ * A field mask to apply to the item
1602
+ *
1603
+ * @generated from field: optional google.protobuf.FieldMask field_mask = 1;
1604
+ */
1605
+ fieldMask?: FieldMask;
1606
+ };
1607
+ /**
1608
+ * The get vertex request
1609
+ *
1610
+ * @generated from message mochabugapis.adapt.runtime.v1.ConfiguratorServiceGetVertexConfigRequest
1611
+ */
1612
+ export type ConfiguratorServiceGetVertexConfigRequestJson = {
1613
+ /**
1614
+ * A field mask to apply to the item
1615
+ *
1616
+ * @generated from field: optional google.protobuf.FieldMask field_mask = 1;
1617
+ */
1618
+ fieldMask?: FieldMaskJson;
1619
+ };
1620
+ /**
1621
+ * Describes the message mochabugapis.adapt.runtime.v1.ConfiguratorServiceGetVertexConfigRequest.
1622
+ * Use `create(ConfiguratorServiceGetVertexConfigRequestSchema)` to create a new message.
1623
+ */
1624
+ export declare const ConfiguratorServiceGetVertexConfigRequestSchema: GenMessage<ConfiguratorServiceGetVertexConfigRequest, {
1625
+ jsonType: ConfiguratorServiceGetVertexConfigRequestJson;
1626
+ }>;
1627
+ /**
1628
+ * The get vertex response
1629
+ *
1630
+ * @generated from message mochabugapis.adapt.runtime.v1.ConfiguratorServiceGetVertexConfigResponse
1631
+ */
1632
+ export type ConfiguratorServiceGetVertexConfigResponse = Message<"mochabugapis.adapt.runtime.v1.ConfiguratorServiceGetVertexConfigResponse"> & {
1633
+ /**
1634
+ * The vertex config
1635
+ *
1636
+ * @generated from field: bytes config = 1;
1637
+ */
1638
+ config: Uint8Array;
1639
+ /**
1640
+ * The metadata of the config
1641
+ *
1642
+ * @generated from field: mochabugapis.adapt.graph.VertexMetadata metadata = 2;
1643
+ */
1644
+ metadata?: VertexMetadata;
1645
+ /**
1646
+ * The services that are actually configured on this vertex
1647
+ * For nested services you query with a dot notation path
1648
+ * Services that are not configured will not appear in this map
1649
+ * For example, oneOf service with the selection option will appear as: "oneof_service.selected_option"
1650
+ * Any grouped services will appear as normal, i.e. "grouped_service.nested_service"
1651
+ * If the service is not configured (i.e. optional) it will not appear in this map
1652
+ *
1653
+ * @generated from field: map<string, bool> configured_services = 3;
1654
+ */
1655
+ configuredServices: {
1656
+ [key: string]: boolean;
1657
+ };
1658
+ };
1659
+ /**
1660
+ * The get vertex response
1661
+ *
1662
+ * @generated from message mochabugapis.adapt.runtime.v1.ConfiguratorServiceGetVertexConfigResponse
1663
+ */
1664
+ export type ConfiguratorServiceGetVertexConfigResponseJson = {
1665
+ /**
1666
+ * The vertex config
1667
+ *
1668
+ * @generated from field: bytes config = 1;
1669
+ */
1670
+ config?: string;
1671
+ /**
1672
+ * The metadata of the config
1673
+ *
1674
+ * @generated from field: mochabugapis.adapt.graph.VertexMetadata metadata = 2;
1675
+ */
1676
+ metadata?: VertexMetadataJson;
1677
+ /**
1678
+ * The services that are actually configured on this vertex
1679
+ * For nested services you query with a dot notation path
1680
+ * Services that are not configured will not appear in this map
1681
+ * For example, oneOf service with the selection option will appear as: "oneof_service.selected_option"
1682
+ * Any grouped services will appear as normal, i.e. "grouped_service.nested_service"
1683
+ * If the service is not configured (i.e. optional) it will not appear in this map
1684
+ *
1685
+ * @generated from field: map<string, bool> configured_services = 3;
1686
+ */
1687
+ configuredServices?: {
1688
+ [key: string]: boolean;
1689
+ };
1690
+ };
1691
+ /**
1692
+ * Describes the message mochabugapis.adapt.runtime.v1.ConfiguratorServiceGetVertexConfigResponse.
1693
+ * Use `create(ConfiguratorServiceGetVertexConfigResponseSchema)` to create a new message.
1694
+ */
1695
+ export declare const ConfiguratorServiceGetVertexConfigResponseSchema: GenMessage<ConfiguratorServiceGetVertexConfigResponse, {
1696
+ jsonType: ConfiguratorServiceGetVertexConfigResponseJson;
1697
+ }>;
1698
+ /**
1699
+ * The post vertex request
1700
+ *
1701
+ * This request updates the vertex configuration and/or metadata.
1702
+ * At least one of config or metadata must be provided in the request.
1703
+ *
1704
+ * @generated from message mochabugapis.adapt.runtime.v1.PostVertexConfigRequest
1705
+ */
1706
+ export type PostVertexConfigRequest = Message<"mochabugapis.adapt.runtime.v1.PostVertexConfigRequest"> & {
1707
+ /**
1708
+ * The vertex config
1709
+ * - Set to empty bytes to clear the config
1710
+ * - Omit (nil) to keep existing config unchanged
1711
+ * - Set to non-empty bytes to update the config
1712
+ *
1713
+ * @generated from field: optional bytes config = 1;
1714
+ */
1715
+ config?: Uint8Array;
1716
+ /**
1717
+ * The metadata of the config
1718
+ * - Cannot be cleared (setting to nil will be ignored)
1719
+ * - Omit (nil) to keep existing metadata unchanged
1720
+ * - Set to update the metadata
1721
+ *
1722
+ * @generated from field: optional mochabugapis.adapt.graph.VertexMetadata metadata = 2;
1723
+ */
1724
+ metadata?: VertexMetadata;
1725
+ /**
1726
+ * You can override bindings directly in the request by setting this flag
1727
+ *
1728
+ * @generated from field: optional bool override_bindings = 3;
1729
+ */
1730
+ overrideBindings?: boolean;
1731
+ };
1732
+ /**
1733
+ * The post vertex request
1734
+ *
1735
+ * This request updates the vertex configuration and/or metadata.
1736
+ * At least one of config or metadata must be provided in the request.
1737
+ *
1738
+ * @generated from message mochabugapis.adapt.runtime.v1.PostVertexConfigRequest
1739
+ */
1740
+ export type PostVertexConfigRequestJson = {
1741
+ /**
1742
+ * The vertex config
1743
+ * - Set to empty bytes to clear the config
1744
+ * - Omit (nil) to keep existing config unchanged
1745
+ * - Set to non-empty bytes to update the config
1746
+ *
1747
+ * @generated from field: optional bytes config = 1;
1748
+ */
1749
+ config?: string;
1750
+ /**
1751
+ * The metadata of the config
1752
+ * - Cannot be cleared (setting to nil will be ignored)
1753
+ * - Omit (nil) to keep existing metadata unchanged
1754
+ * - Set to update the metadata
1755
+ *
1756
+ * @generated from field: optional mochabugapis.adapt.graph.VertexMetadata metadata = 2;
1757
+ */
1758
+ metadata?: VertexMetadataJson;
1759
+ /**
1760
+ * You can override bindings directly in the request by setting this flag
1761
+ *
1762
+ * @generated from field: optional bool override_bindings = 3;
1763
+ */
1764
+ overrideBindings?: boolean;
1765
+ };
1766
+ /**
1767
+ * Describes the message mochabugapis.adapt.runtime.v1.PostVertexConfigRequest.
1768
+ * Use `create(PostVertexConfigRequestSchema)` to create a new message.
1769
+ */
1770
+ export declare const PostVertexConfigRequestSchema: GenMessage<PostVertexConfigRequest, {
1771
+ jsonType: PostVertexConfigRequestJson;
1772
+ }>;
1773
+ /**
1774
+ * The post vertex response
1775
+ *
1776
+ * @generated from message mochabugapis.adapt.runtime.v1.PostVertexConfigResponse
1777
+ */
1778
+ export type PostVertexConfigResponse = Message<"mochabugapis.adapt.runtime.v1.PostVertexConfigResponse"> & {
1779
+ /**
1780
+ * The metadata for the config. This is relevant if you wish to study error codes after setting bindings for example
1781
+ *
1782
+ * @generated from field: mochabugapis.adapt.graph.VertexMetadata metadata = 1;
1783
+ */
1784
+ metadata?: VertexMetadata;
1785
+ };
1786
+ /**
1787
+ * The post vertex response
1788
+ *
1789
+ * @generated from message mochabugapis.adapt.runtime.v1.PostVertexConfigResponse
1790
+ */
1791
+ export type PostVertexConfigResponseJson = {
1792
+ /**
1793
+ * The metadata for the config. This is relevant if you wish to study error codes after setting bindings for example
1794
+ *
1795
+ * @generated from field: mochabugapis.adapt.graph.VertexMetadata metadata = 1;
1796
+ */
1797
+ metadata?: VertexMetadataJson;
1798
+ };
1799
+ /**
1800
+ * Describes the message mochabugapis.adapt.runtime.v1.PostVertexConfigResponse.
1801
+ * Use `create(PostVertexConfigResponseSchema)` to create a new message.
1802
+ */
1803
+ export declare const PostVertexConfigResponseSchema: GenMessage<PostVertexConfigResponse, {
1804
+ jsonType: PostVertexConfigResponseJson;
1805
+ }>;
1806
+ /**
1807
+ * The request to get the services
1808
+ *
1809
+ * @generated from message mochabugapis.adapt.runtime.v1.GetSystemServicesRequest
1810
+ */
1811
+ export type GetSystemServicesRequest = Message<"mochabugapis.adapt.runtime.v1.GetSystemServicesRequest"> & {};
1812
+ /**
1813
+ * The request to get the services
1814
+ *
1815
+ * @generated from message mochabugapis.adapt.runtime.v1.GetSystemServicesRequest
1816
+ */
1817
+ export type GetSystemServicesRequestJson = {};
1818
+ /**
1819
+ * Describes the message mochabugapis.adapt.runtime.v1.GetSystemServicesRequest.
1820
+ * Use `create(GetSystemServicesRequestSchema)` to create a new message.
1821
+ */
1822
+ export declare const GetSystemServicesRequestSchema: GenMessage<GetSystemServicesRequest, {
1823
+ jsonType: GetSystemServicesRequestJson;
1824
+ }>;
1825
+ /**
1826
+ * The response of getting the services
1827
+ *
1828
+ * @generated from message mochabugapis.adapt.runtime.v1.GetSystemServicesResponse
1829
+ */
1830
+ export type GetSystemServicesResponse = Message<"mochabugapis.adapt.runtime.v1.GetSystemServicesResponse"> & {
1831
+ /**
1832
+ * The services that are configured for the system
1833
+ * For nested services you query with a dot notation path
1834
+ * Services that are not configured will not appear in this map
1835
+ * For example, oneOf service with the selection option will appear as: "oneof_service.selected_option"
1836
+ * Any grouped services will appear as normal, i.e. "grouped_service.nested_service"
1837
+ * If the service is not configured (i.e. optional) it will not appear in this map
1838
+ *
1839
+ * @generated from field: map<string, bool> configured_services = 1;
1840
+ */
1841
+ configuredServices: {
1842
+ [key: string]: boolean;
1843
+ };
1844
+ };
1845
+ /**
1846
+ * The response of getting the services
1847
+ *
1848
+ * @generated from message mochabugapis.adapt.runtime.v1.GetSystemServicesResponse
1849
+ */
1850
+ export type GetSystemServicesResponseJson = {
1851
+ /**
1852
+ * The services that are configured for the system
1853
+ * For nested services you query with a dot notation path
1854
+ * Services that are not configured will not appear in this map
1855
+ * For example, oneOf service with the selection option will appear as: "oneof_service.selected_option"
1856
+ * Any grouped services will appear as normal, i.e. "grouped_service.nested_service"
1857
+ * If the service is not configured (i.e. optional) it will not appear in this map
1858
+ *
1859
+ * @generated from field: map<string, bool> configured_services = 1;
1860
+ */
1861
+ configuredServices?: {
1862
+ [key: string]: boolean;
1863
+ };
1864
+ };
1865
+ /**
1866
+ * Describes the message mochabugapis.adapt.runtime.v1.GetSystemServicesResponse.
1867
+ * Use `create(GetSystemServicesResponseSchema)` to create a new message.
1868
+ */
1869
+ export declare const GetSystemServicesResponseSchema: GenMessage<GetSystemServicesResponse, {
1870
+ jsonType: GetSystemServicesResponseJson;
1871
+ }>;
1872
+ /**
1873
+ * Check if access token is ok
1874
+ *
1875
+ * @generated from message mochabugapis.adapt.runtime.v1.AuthorizeRequest
1876
+ */
1877
+ export type AuthorizeRequest = Message<"mochabugapis.adapt.runtime.v1.AuthorizeRequest"> & {
1878
+ /**
1879
+ * The access token
1880
+ *
1881
+ * @generated from field: string access_token = 1;
1882
+ */
1883
+ accessToken: string;
1884
+ };
1885
+ /**
1886
+ * Check if access token is ok
1887
+ *
1888
+ * @generated from message mochabugapis.adapt.runtime.v1.AuthorizeRequest
1889
+ */
1890
+ export type AuthorizeRequestJson = {
1891
+ /**
1892
+ * The access token
1893
+ *
1894
+ * @generated from field: string access_token = 1;
1895
+ */
1896
+ accessToken?: string;
1897
+ };
1898
+ /**
1899
+ * Describes the message mochabugapis.adapt.runtime.v1.AuthorizeRequest.
1900
+ * Use `create(AuthorizeRequestSchema)` to create a new message.
1901
+ */
1902
+ export declare const AuthorizeRequestSchema: GenMessage<AuthorizeRequest, {
1903
+ jsonType: AuthorizeRequestJson;
1904
+ }>;
1905
+ /**
1906
+ * The response of authorizing
1907
+ *
1908
+ * @generated from message mochabugapis.adapt.runtime.v1.AuthorizeResponse
1909
+ */
1910
+ export type AuthorizeResponse = Message<"mochabugapis.adapt.runtime.v1.AuthorizeResponse"> & {};
1911
+ /**
1912
+ * The response of authorizing
1913
+ *
1914
+ * @generated from message mochabugapis.adapt.runtime.v1.AuthorizeResponse
1915
+ */
1916
+ export type AuthorizeResponseJson = {};
1917
+ /**
1918
+ * Describes the message mochabugapis.adapt.runtime.v1.AuthorizeResponse.
1919
+ * Use `create(AuthorizeResponseSchema)` to create a new message.
1920
+ */
1921
+ export declare const AuthorizeResponseSchema: GenMessage<AuthorizeResponse, {
1922
+ jsonType: AuthorizeResponseJson;
1923
+ }>;
1924
+ /**
1925
+ * The request to get multiple environmental variabes
1926
+ *
1927
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetSystemVariablesRequest
1928
+ */
1929
+ export type BatchGetSystemVariablesRequest = Message<"mochabugapis.adapt.runtime.v1.BatchGetSystemVariablesRequest"> & {
1930
+ /**
1931
+ * The names of the variables to fetch
1932
+ *
1933
+ * @generated from field: repeated string names = 1;
1934
+ */
1935
+ names: string[];
1936
+ };
1937
+ /**
1938
+ * The request to get multiple environmental variabes
1939
+ *
1940
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetSystemVariablesRequest
1941
+ */
1942
+ export type BatchGetSystemVariablesRequestJson = {
1943
+ /**
1944
+ * The names of the variables to fetch
1945
+ *
1946
+ * @generated from field: repeated string names = 1;
1947
+ */
1948
+ names?: string[];
1949
+ };
1950
+ /**
1951
+ * Describes the message mochabugapis.adapt.runtime.v1.BatchGetSystemVariablesRequest.
1952
+ * Use `create(BatchGetSystemVariablesRequestSchema)` to create a new message.
1953
+ */
1954
+ export declare const BatchGetSystemVariablesRequestSchema: GenMessage<BatchGetSystemVariablesRequest, {
1955
+ jsonType: BatchGetSystemVariablesRequestJson;
1956
+ }>;
1957
+ /**
1958
+ * The response of getting multiple environmental variabes
1959
+ *
1960
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetSystemVariablesResponse
1961
+ */
1962
+ export type BatchGetSystemVariablesResponse = Message<"mochabugapis.adapt.runtime.v1.BatchGetSystemVariablesResponse"> & {
1963
+ /**
1964
+ * name, value pairs
1965
+ *
1966
+ * @generated from field: map<string, google.protobuf.Value> items = 1;
1967
+ */
1968
+ items: {
1969
+ [key: string]: Value;
1970
+ };
1971
+ };
1972
+ /**
1973
+ * The response of getting multiple environmental variabes
1974
+ *
1975
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetSystemVariablesResponse
1976
+ */
1977
+ export type BatchGetSystemVariablesResponseJson = {
1978
+ /**
1979
+ * name, value pairs
1980
+ *
1981
+ * @generated from field: map<string, google.protobuf.Value> items = 1;
1982
+ */
1983
+ items?: {
1984
+ [key: string]: ValueJson;
1985
+ };
1986
+ };
1987
+ /**
1988
+ * Describes the message mochabugapis.adapt.runtime.v1.BatchGetSystemVariablesResponse.
1989
+ * Use `create(BatchGetSystemVariablesResponseSchema)` to create a new message.
1990
+ */
1991
+ export declare const BatchGetSystemVariablesResponseSchema: GenMessage<BatchGetSystemVariablesResponse, {
1992
+ jsonType: BatchGetSystemVariablesResponseJson;
1993
+ }>;
1994
+ /**
1995
+ * The request to get multiple environmental variabes
1996
+ *
1997
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetUserVariablesRequest
1998
+ */
1999
+ export type BatchGetUserVariablesRequest = Message<"mochabugapis.adapt.runtime.v1.BatchGetUserVariablesRequest"> & {
2000
+ /**
2001
+ * The names of the variables to fetch
2002
+ *
2003
+ * @generated from field: repeated string names = 1;
2004
+ */
2005
+ names: string[];
2006
+ };
2007
+ /**
2008
+ * The request to get multiple environmental variabes
2009
+ *
2010
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetUserVariablesRequest
2011
+ */
2012
+ export type BatchGetUserVariablesRequestJson = {
2013
+ /**
2014
+ * The names of the variables to fetch
2015
+ *
2016
+ * @generated from field: repeated string names = 1;
2017
+ */
2018
+ names?: string[];
2019
+ };
2020
+ /**
2021
+ * Describes the message mochabugapis.adapt.runtime.v1.BatchGetUserVariablesRequest.
2022
+ * Use `create(BatchGetUserVariablesRequestSchema)` to create a new message.
2023
+ */
2024
+ export declare const BatchGetUserVariablesRequestSchema: GenMessage<BatchGetUserVariablesRequest, {
2025
+ jsonType: BatchGetUserVariablesRequestJson;
2026
+ }>;
2027
+ /**
2028
+ * The response of getting multiple environmental variabes
2029
+ *
2030
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetUserVariablesResponse
2031
+ */
2032
+ export type BatchGetUserVariablesResponse = Message<"mochabugapis.adapt.runtime.v1.BatchGetUserVariablesResponse"> & {
2033
+ /**
2034
+ * name, value pairs
2035
+ *
2036
+ * @generated from field: map<string, google.protobuf.Value> items = 1;
2037
+ */
2038
+ items: {
2039
+ [key: string]: Value;
2040
+ };
2041
+ };
2042
+ /**
2043
+ * The response of getting multiple environmental variabes
2044
+ *
2045
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetUserVariablesResponse
2046
+ */
2047
+ export type BatchGetUserVariablesResponseJson = {
2048
+ /**
2049
+ * name, value pairs
2050
+ *
2051
+ * @generated from field: map<string, google.protobuf.Value> items = 1;
2052
+ */
2053
+ items?: {
2054
+ [key: string]: ValueJson;
2055
+ };
2056
+ };
2057
+ /**
2058
+ * Describes the message mochabugapis.adapt.runtime.v1.BatchGetUserVariablesResponse.
2059
+ * Use `create(BatchGetUserVariablesResponseSchema)` to create a new message.
2060
+ */
2061
+ export declare const BatchGetUserVariablesResponseSchema: GenMessage<BatchGetUserVariablesResponse, {
2062
+ jsonType: BatchGetUserVariablesResponseJson;
2063
+ }>;
2064
+ /**
2065
+ * The request to get multiple oauth2 tokens
2066
+ *
2067
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetUserTokensRequest
2068
+ */
2069
+ export type BatchGetUserTokensRequest = Message<"mochabugapis.adapt.runtime.v1.BatchGetUserTokensRequest"> & {
2070
+ /**
2071
+ * The names of the tokens to fetch
2072
+ *
2073
+ * @generated from field: repeated string names = 1;
2074
+ */
2075
+ names: string[];
2076
+ };
2077
+ /**
2078
+ * The request to get multiple oauth2 tokens
2079
+ *
2080
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetUserTokensRequest
2081
+ */
2082
+ export type BatchGetUserTokensRequestJson = {
2083
+ /**
2084
+ * The names of the tokens to fetch
2085
+ *
2086
+ * @generated from field: repeated string names = 1;
2087
+ */
2088
+ names?: string[];
2089
+ };
2090
+ /**
2091
+ * Describes the message mochabugapis.adapt.runtime.v1.BatchGetUserTokensRequest.
2092
+ * Use `create(BatchGetUserTokensRequestSchema)` to create a new message.
2093
+ */
2094
+ export declare const BatchGetUserTokensRequestSchema: GenMessage<BatchGetUserTokensRequest, {
2095
+ jsonType: BatchGetUserTokensRequestJson;
2096
+ }>;
2097
+ /**
2098
+ * The response of getting multiple oauth2 tokens
2099
+ *
2100
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetUserTokensResponse
2101
+ */
2102
+ export type BatchGetUserTokensResponse = Message<"mochabugapis.adapt.runtime.v1.BatchGetUserTokensResponse"> & {
2103
+ /**
2104
+ * Name, token pairs
2105
+ *
2106
+ * @generated from field: map<string, mochabugapis.adapt.runtime.v1.Token> items = 1;
2107
+ */
2108
+ items: {
2109
+ [key: string]: Token;
2110
+ };
2111
+ };
2112
+ /**
2113
+ * The response of getting multiple oauth2 tokens
2114
+ *
2115
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetUserTokensResponse
2116
+ */
2117
+ export type BatchGetUserTokensResponseJson = {
2118
+ /**
2119
+ * Name, token pairs
2120
+ *
2121
+ * @generated from field: map<string, mochabugapis.adapt.runtime.v1.Token> items = 1;
2122
+ */
2123
+ items?: {
2124
+ [key: string]: TokenJson;
2125
+ };
2126
+ };
2127
+ /**
2128
+ * Describes the message mochabugapis.adapt.runtime.v1.BatchGetUserTokensResponse.
2129
+ * Use `create(BatchGetUserTokensResponseSchema)` to create a new message.
2130
+ */
2131
+ export declare const BatchGetUserTokensResponseSchema: GenMessage<BatchGetUserTokensResponse, {
2132
+ jsonType: BatchGetUserTokensResponseJson;
2133
+ }>;
2134
+ /**
2135
+ * The request to get multiple oauth2 tokens
2136
+ *
2137
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetSystemTokensRequest
2138
+ */
2139
+ export type BatchGetSystemTokensRequest = Message<"mochabugapis.adapt.runtime.v1.BatchGetSystemTokensRequest"> & {
2140
+ /**
2141
+ * The names of the tokens to fetch
2142
+ *
2143
+ * @generated from field: repeated string names = 1;
2144
+ */
2145
+ names: string[];
2146
+ };
2147
+ /**
2148
+ * The request to get multiple oauth2 tokens
2149
+ *
2150
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetSystemTokensRequest
2151
+ */
2152
+ export type BatchGetSystemTokensRequestJson = {
2153
+ /**
2154
+ * The names of the tokens to fetch
2155
+ *
2156
+ * @generated from field: repeated string names = 1;
2157
+ */
2158
+ names?: string[];
2159
+ };
2160
+ /**
2161
+ * Describes the message mochabugapis.adapt.runtime.v1.BatchGetSystemTokensRequest.
2162
+ * Use `create(BatchGetSystemTokensRequestSchema)` to create a new message.
2163
+ */
2164
+ export declare const BatchGetSystemTokensRequestSchema: GenMessage<BatchGetSystemTokensRequest, {
2165
+ jsonType: BatchGetSystemTokensRequestJson;
2166
+ }>;
2167
+ /**
2168
+ * The response of getting multiple oauth2 tokens
2169
+ *
2170
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetSystemTokensResponse
2171
+ */
2172
+ export type BatchGetSystemTokensResponse = Message<"mochabugapis.adapt.runtime.v1.BatchGetSystemTokensResponse"> & {
2173
+ /**
2174
+ * Name, token pairs
2175
+ *
2176
+ * @generated from field: map<string, mochabugapis.adapt.runtime.v1.Token> items = 1;
2177
+ */
2178
+ items: {
2179
+ [key: string]: Token;
2180
+ };
2181
+ };
2182
+ /**
2183
+ * The response of getting multiple oauth2 tokens
2184
+ *
2185
+ * @generated from message mochabugapis.adapt.runtime.v1.BatchGetSystemTokensResponse
2186
+ */
2187
+ export type BatchGetSystemTokensResponseJson = {
2188
+ /**
2189
+ * Name, token pairs
2190
+ *
2191
+ * @generated from field: map<string, mochabugapis.adapt.runtime.v1.Token> items = 1;
2192
+ */
2193
+ items?: {
2194
+ [key: string]: TokenJson;
2195
+ };
2196
+ };
2197
+ /**
2198
+ * Describes the message mochabugapis.adapt.runtime.v1.BatchGetSystemTokensResponse.
2199
+ * Use `create(BatchGetSystemTokensResponseSchema)` to create a new message.
2200
+ */
2201
+ export declare const BatchGetSystemTokensResponseSchema: GenMessage<BatchGetSystemTokensResponse, {
2202
+ jsonType: BatchGetSystemTokensResponseJson;
2203
+ }>;
2204
+ /**
2205
+ * A representation of a OAuth2 token
2206
+ *
2207
+ * @generated from message mochabugapis.adapt.runtime.v1.Token
2208
+ */
2209
+ export type Token = Message<"mochabugapis.adapt.runtime.v1.Token"> & {
2210
+ /**
2211
+ * The name of the token
2212
+ * Restrictions:
2213
+ * - Must match the ECMA regex: ^[_$a-zA-Z][_$a-zA-Z0-9]*$
2214
+ * - Length must be greater than 0 and less than 50 characters.
2215
+ *
2216
+ * @generated from field: string name = 1;
2217
+ */
2218
+ name: string;
2219
+ /**
2220
+ * The actual token
2221
+ *
2222
+ * @generated from field: string token = 2;
2223
+ */
2224
+ token: string;
2225
+ /**
2226
+ * The type of token (typically Bearer)
2227
+ *
2228
+ * @generated from field: string type = 3;
2229
+ */
2230
+ type: string;
2231
+ /**
2232
+ * When the token expires
2233
+ *
2234
+ * @generated from field: google.protobuf.Timestamp expires = 4;
2235
+ */
2236
+ expires?: Timestamp;
2237
+ };
2238
+ /**
2239
+ * A representation of a OAuth2 token
2240
+ *
2241
+ * @generated from message mochabugapis.adapt.runtime.v1.Token
2242
+ */
2243
+ export type TokenJson = {
2244
+ /**
2245
+ * The name of the token
2246
+ * Restrictions:
2247
+ * - Must match the ECMA regex: ^[_$a-zA-Z][_$a-zA-Z0-9]*$
2248
+ * - Length must be greater than 0 and less than 50 characters.
2249
+ *
2250
+ * @generated from field: string name = 1;
2251
+ */
2252
+ name?: string;
2253
+ /**
2254
+ * The actual token
2255
+ *
2256
+ * @generated from field: string token = 2;
2257
+ */
2258
+ token?: string;
2259
+ /**
2260
+ * The type of token (typically Bearer)
2261
+ *
2262
+ * @generated from field: string type = 3;
2263
+ */
2264
+ type?: string;
2265
+ /**
2266
+ * When the token expires
2267
+ *
2268
+ * @generated from field: google.protobuf.Timestamp expires = 4;
2269
+ */
2270
+ expires?: TimestampJson;
2271
+ };
2272
+ /**
2273
+ * Describes the message mochabugapis.adapt.runtime.v1.Token.
2274
+ * Use `create(TokenSchema)` to create a new message.
2275
+ */
2276
+ export declare const TokenSchema: GenMessage<Token, {
2277
+ jsonType: TokenJson;
2278
+ }>;
2279
+ /**
2280
+ * The namespace where the key should be used
2281
+ *
2282
+ * @generated from enum mochabugapis.adapt.runtime.v1.Namespace
2283
+ */
2284
+ export declare enum Namespace {
2285
+ /**
2286
+ * If the namespace has not been specified
2287
+ *
2288
+ * @generated from enum value: NAMESPACE_UNSPECIFIED = 0;
2289
+ */
2290
+ UNSPECIFIED = 0,
2291
+ /**
2292
+ * The key is applied on a vertex scope and lives as longest as the instance
2293
+ * Access scopes for reading values when the namespace is NAMESPACE_VERTEX_INSTANCE:
2294
+ * - 'runtimeapi/executor.store.vertex.instance'
2295
+ * - 'runtimeapi/executor.store.vertex.instance:read'
2296
+ * Access scope for writing values when the namespace is NAMESPACE_VERTEX_INSTANCE:
2297
+ * - 'runtimeapi/executor.store.vertex.instance'
2298
+ *
2299
+ * @generated from enum value: NAMESPACE_VERTEX_INSTANCE = 1;
2300
+ */
2301
+ VERTEX_INSTANCE = 1,
2302
+ /**
2303
+ * The key is applied on a plugin wide scope and lives as longest as the
2304
+ * instance
2305
+ * Access scopes for reading values when the namespace is NAMESPACE_PLUGIN_INSTANCE:
2306
+ * - 'runtimeapi/executor.store.plugin.instance'
2307
+ * - 'runtimeapi/executor.store.plugin.instance:read'
2308
+ * Access scope for writing values when the namespace is NAMESPACE_PLUGIN_INSTANCE:
2309
+ * - 'runtimeapi/executor.store.plugin.instance'
2310
+ *
2311
+ * @generated from enum value: NAMESPACE_PLUGIN_INSTANCE = 2;
2312
+ */
2313
+ PLUGIN_INSTANCE = 2,
2314
+ /**
2315
+ * The key is applied on a vertex scope and lives as longest as the app
2316
+ * Access scopes for reading values when the namespace is NAMESPACE_VERTEX:
2317
+ * - 'runtimeapi/executor.store.vertex.app'
2318
+ * - 'runtimeapi/executor.store.vertex.app:read'
2319
+ * Access scope for writing values when the namespace is NAMESPACE_VERTEX:
2320
+ * - 'runtimeapi/executor.store.vertex.app'
2321
+ * -----------------------------------------------
2322
+ * The key is applied on a vertex scope and lives as long as the plugin in the project
2323
+ * Access scopes for reading values when the namespace is NAMESPACE_VERTEX:
2324
+ * - 'runtimeapi/configurator.store.vertex:read'
2325
+ * - 'runtimeapi/configurator.store.vertex'
2326
+ * Access scope for writing values when the namespace is NAMESPACE_VERTEX:
2327
+ * - 'runtimeapi/configurator.store.vertex'
2328
+ *
2329
+ * @generated from enum value: NAMESPACE_VERTEX = 3;
2330
+ */
2331
+ VERTEX = 3,
2332
+ /**
2333
+ * The key is applied on a plugin wide scope and lives as longest as the
2334
+ * app
2335
+ * Access scopes for reading values when the namespace is NAMESPACE_PLUGIN:
2336
+ * - 'runtimeapi/executor.store.plugin.app'
2337
+ * - 'runtimeapi/executor.store.plugin.app:read'
2338
+ * Access scope for writing values when the namespace is NAMESPACE_PLUGIN:
2339
+ * - 'runtimeapi/executor.store.plugin.app'
2340
+ * -----------------------------------------------
2341
+ * The key is applied on a plugin wide scope and lives as long as the plugin in the project
2342
+ * Access scopes for reading values when the namespace is NAMESPACE_PLUGIN:
2343
+ * - 'runtimeapi/configurator.store.plugin:read'
2344
+ * - 'runtimeapi/configurator.store.plugin'
2345
+ * Access scope for writing values when the namespace is NAMESPACE_PLUGIN:
2346
+ * - 'runtimeapi/configurator.store.plugin'
2347
+ *
2348
+ * @generated from enum value: NAMESPACE_PLUGIN = 4;
2349
+ */
2350
+ PLUGIN = 4
2351
+ }
2352
+ /**
2353
+ * The namespace where the key should be used
2354
+ *
2355
+ * @generated from enum mochabugapis.adapt.runtime.v1.Namespace
2356
+ */
2357
+ export type NamespaceJson = "NAMESPACE_UNSPECIFIED" | "NAMESPACE_VERTEX_INSTANCE" | "NAMESPACE_PLUGIN_INSTANCE" | "NAMESPACE_VERTEX" | "NAMESPACE_PLUGIN";
2358
+ /**
2359
+ * Describes the enum mochabugapis.adapt.runtime.v1.Namespace.
2360
+ */
2361
+ export declare const NamespaceSchema: GenEnum<Namespace, NamespaceJson>;
2362
+ /**
2363
+ * The different vertex types that can be incoming
2364
+ * The type of vertex to add
2365
+ *
2366
+ * @generated from enum mochabugapis.adapt.runtime.v1.VertexType
2367
+ */
2368
+ export declare enum VertexType {
2369
+ /**
2370
+ * Not specified
2371
+ *
2372
+ * @generated from enum value: VERTEX_TYPE_UNSPECIFIED = 0;
2373
+ */
2374
+ UNSPECIFIED = 0,
2375
+ /**
2376
+ * The start vertex
2377
+ *
2378
+ * @generated from enum value: VERTEX_TYPE_START = 1;
2379
+ */
2380
+ START = 1,
2381
+ /**
2382
+ * The plugin vertex
2383
+ *
2384
+ * @generated from enum value: VERTEX_TYPE_PLUGIN = 2;
2385
+ */
2386
+ PLUGIN = 2,
2387
+ /**
2388
+ * The output vertex
2389
+ *
2390
+ * @generated from enum value: VERTEX_TYPE_OUTPUT = 3;
2391
+ */
2392
+ OUTPUT = 3,
2393
+ /**
2394
+ * The delegate vertex
2395
+ *
2396
+ * @generated from enum value: VERTEX_TYPE_DELEGATE = 4;
2397
+ */
2398
+ DELEGATE = 4,
2399
+ /**
2400
+ * The barrier vertex
2401
+ *
2402
+ * @generated from enum value: VERTEX_TYPE_BARRIER = 5;
2403
+ */
2404
+ BARRIER = 5,
2405
+ /**
2406
+ * The exchange output vertex
2407
+ *
2408
+ * @generated from enum value: VERTEX_TYPE_EXCHANGE_OUT = 6;
2409
+ */
2410
+ EXCHANGE_OUT = 6
2411
+ }
2412
+ /**
2413
+ * The different vertex types that can be incoming
2414
+ * The type of vertex to add
2415
+ *
2416
+ * @generated from enum mochabugapis.adapt.runtime.v1.VertexType
2417
+ */
2418
+ export type VertexTypeJson = "VERTEX_TYPE_UNSPECIFIED" | "VERTEX_TYPE_START" | "VERTEX_TYPE_PLUGIN" | "VERTEX_TYPE_OUTPUT" | "VERTEX_TYPE_DELEGATE" | "VERTEX_TYPE_BARRIER" | "VERTEX_TYPE_EXCHANGE_OUT";
2419
+ /**
2420
+ * Describes the enum mochabugapis.adapt.runtime.v1.VertexType.
2421
+ */
2422
+ export declare const VertexTypeSchema: GenEnum<VertexType, VertexTypeJson>;
2423
+ /**
2424
+ * Executor service is containg the complete API available to a executor of a
2425
+ * vertex. Every call on this service will require an Authoriation header
2426
+ *
2427
+ * @generated from service mochabugapis.adapt.runtime.v1.ExecutorService
2428
+ */
2429
+ export declare const ExecutorService: GenService<{
2430
+ /**
2431
+ * Get the vertex config
2432
+ * Valid scopes: runtimeapi/executor, runtimeapi/executor.vertexconfig:read
2433
+ *
2434
+ * @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.GetVertexConfig
2435
+ */
2436
+ getVertexConfig: {
2437
+ methodKind: "unary";
2438
+ input: typeof ExecutorServiceGetVertexConfigRequestSchema;
2439
+ output: typeof ExecutorServiceGetVertexConfigResponseSchema;
2440
+ };
2441
+ /**
2442
+ * Get the signals defined by the connected receiver
2443
+ * Valid scopes: runtimeapi/executor, runtimeapi/executor.receiversignals:read
2444
+ *
2445
+ * @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.ListActiveSignals
2446
+ */
2447
+ listActiveSignals: {
2448
+ methodKind: "unary";
2449
+ input: typeof ListActiveSignalsRequestSchema;
2450
+ output: typeof ListActiveSignalsResponseSchema;
2451
+ };
2452
+ /**
2453
+ * Get specific signals on the connected receiver
2454
+ * Valid scopes: runtimeapi/executor, runtimeapi/executor.receiversignals:read
2455
+ *
2456
+ * @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.BatchGetActiveSignals
2457
+ */
2458
+ batchGetActiveSignals: {
2459
+ methodKind: "unary";
2460
+ input: typeof BatchGetActiveSignalsRequestSchema;
2461
+ output: typeof BatchGetActiveSignalsResponseSchema;
2462
+ };
2463
+ /**
2464
+ * Send data on the transmitter
2465
+ * Valid scopes: runtimeapi/executor, runtimeapi/executor.send
2466
+ *
2467
+ * @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.Send
2468
+ */
2469
+ send: {
2470
+ methodKind: "unary";
2471
+ input: typeof SendRequestSchema;
2472
+ output: typeof SendResponseSchema;
2473
+ };
2474
+ /**
2475
+ * Dispatch an exchange
2476
+ * Valid scopes: runtimeapi/executor, runtimeapi/executor.exchange
2477
+ *
2478
+ * @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.DispatchExchange
2479
+ */
2480
+ dispatchExchange: {
2481
+ methodKind: "unary";
2482
+ input: typeof DispatchExchangeRequestSchema;
2483
+ output: typeof DispatchExchangeResponseSchema;
2484
+ };
2485
+ /**
2486
+ * Get the information about the exchange instance with the id
2487
+ * Valid scopes: runtimeapi/executor, runtimeapi/executor.exchange
2488
+ *
2489
+ * @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.GetExchangeOperation
2490
+ */
2491
+ getExchangeOperation: {
2492
+ methodKind: "unary";
2493
+ input: typeof GetExchangeOperationRequestSchema;
2494
+ output: typeof GetExchangeOperationResponseSchema;
2495
+ };
2496
+ /**
2497
+ * Cancel the execution of an exchange
2498
+ * Valid scopes: runtimeapi/executor, runtimeapi/executor.exchange
2499
+ *
2500
+ * @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.CancelExchangeOperation
2501
+ */
2502
+ cancelExchangeOperation: {
2503
+ methodKind: "unary";
2504
+ input: typeof CancelExchangeOperationRequestSchema;
2505
+ output: typeof CancelExchangeOperationResponseSchema;
2506
+ };
2507
+ /**
2508
+ * Signel write operations support a large set of operations than batch operations such
2509
+ * as conditional writes.
2510
+ *
2511
+ * @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.WriteStore
2512
+ */
2513
+ writeStore: {
2514
+ methodKind: "unary";
2515
+ input: typeof ExecutorServiceWriteStoreRequestSchema;
2516
+ output: typeof ExecutorServiceWriteStoreResponseSchema;
2517
+ };
2518
+ /**
2519
+ * Batch write operations on the vertex session store
2520
+ * The scopes depends on the namespace and operation
2521
+ * The write operations are all-or-nothing. Either all of them are committed or none are
2522
+ *
2523
+ * @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.BatchWriteStore
2524
+ */
2525
+ batchWriteStore: {
2526
+ methodKind: "unary";
2527
+ input: typeof ExecutorServiceBatchWriteStoreRequestSchema;
2528
+ output: typeof ExecutorServiceBatchWriteStoreResponseSchema;
2529
+ };
2530
+ /**
2531
+ * Batch read operations on the vertex session store
2532
+ * The scopes depends on the namespace and operation
2533
+ *
2534
+ * @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.BatchReadStore
2535
+ */
2536
+ batchReadStore: {
2537
+ methodKind: "unary";
2538
+ input: typeof ExecutorServiceBatchReadStoreRequestSchema;
2539
+ output: typeof ExecutorServiceBatchReadStoreResponseSchema;
2540
+ };
2541
+ /**
2542
+ * Select operations for range queries on the vertex session store
2543
+ * The scopes depends on the namespace and operation
2544
+ *
2545
+ * @generated from rpc mochabugapis.adapt.runtime.v1.ExecutorService.SelectStore
2546
+ */
2547
+ selectStore: {
2548
+ methodKind: "unary";
2549
+ input: typeof ExecutorServiceSelectStoreRequestSchema;
2550
+ output: typeof ExecutorServiceSelectStoreResponseSchema;
2551
+ };
2552
+ }>;
2553
+ /**
2554
+ * Configurator service is containing the complete API available to a
2555
+ * configurator of a vertex. Every call on this service will require an
2556
+ * Authoriation header
2557
+ * It's important to note that the Get / Post vertex config relates to reading the actual graph
2558
+ * and requires the runtimeapi/configurator scope. Whereas the batch store operations can be scoped to the plugin subject
2559
+ *
2560
+ * @generated from service mochabugapis.adapt.runtime.v1.ConfiguratorService
2561
+ */
2562
+ export declare const ConfiguratorService: GenService<{
2563
+ /**
2564
+ * Get the vertex config
2565
+ * Valid scopes: runtimeapi/configurator, runtimeapi/configurator.vertexconfig, runtimeapi/configurator.vertexconfig:read
2566
+ *
2567
+ * @generated from rpc mochabugapis.adapt.runtime.v1.ConfiguratorService.GetVertexConfig
2568
+ */
2569
+ getVertexConfig: {
2570
+ methodKind: "unary";
2571
+ input: typeof ConfiguratorServiceGetVertexConfigRequestSchema;
2572
+ output: typeof ConfiguratorServiceGetVertexConfigResponseSchema;
2573
+ };
2574
+ /**
2575
+ * Replace the vertex config
2576
+ * Valid scopes: runtimeapi/configurator, runtimeapi/configurator.vertexconfig
2577
+ *
2578
+ * @generated from rpc mochabugapis.adapt.runtime.v1.ConfiguratorService.PostVertexConfig
2579
+ */
2580
+ postVertexConfig: {
2581
+ methodKind: "unary";
2582
+ input: typeof PostVertexConfigRequestSchema;
2583
+ output: typeof PostVertexConfigResponseSchema;
2584
+ };
2585
+ /**
2586
+ * The single write operations support a larger set of operations than batch operations such
2587
+ * as conditional writes.
2588
+ * Valid scopes here are: runtimeapi/plugin runtimeapi/plugin.store.plugin runtimeapi/plugin.store.vertex
2589
+ *
2590
+ * @generated from rpc mochabugapis.adapt.runtime.v1.ConfiguratorService.WriteStore
2591
+ */
2592
+ writeStore: {
2593
+ methodKind: "unary";
2594
+ input: typeof ConfiguratorServiceWriteStoreRequestSchema;
2595
+ output: typeof ConfiguratorServiceWriteStoreResponseSchema;
2596
+ };
2597
+ /**
2598
+ * Batch write operations on the vertex session store
2599
+ * The scopes depends on the namespace and operation
2600
+ * The write operations are all-or-nothing. Either all of them are committed or none are
2601
+ * Valid scopes here are: runtimeapi/plugin runtimeapi/plugin.store.plugin runtimeapi/plugin.store.vertex
2602
+ *
2603
+ * @generated from rpc mochabugapis.adapt.runtime.v1.ConfiguratorService.BatchWriteStore
2604
+ */
2605
+ batchWriteStore: {
2606
+ methodKind: "unary";
2607
+ input: typeof ConfiguratorServiceBatchWriteStoreRequestSchema;
2608
+ output: typeof ConfiguratorServiceBatchWriteStoreResponseSchema;
2609
+ };
2610
+ /**
2611
+ * Batch read operations on the vertex session store
2612
+ * The scopes depends on the namespace and operation
2613
+ * Valid scopes here are "runtimeapi/plugin", "runtimeapi/plugin.store.plugin", "runtimeapi/plugin.store.plugin:read"
2614
+ * "runtimeapi/plugin.store.vertex", "runtimeapi/plugin.store.vertex:read"
2615
+ *
2616
+ * @generated from rpc mochabugapis.adapt.runtime.v1.ConfiguratorService.BatchReadStore
2617
+ */
2618
+ batchReadStore: {
2619
+ methodKind: "unary";
2620
+ input: typeof ConfiguratorServiceBatchReadStoreRequestSchema;
2621
+ output: typeof ConfiguratorServiceBatchReadStoreResponseSchema;
2622
+ };
2623
+ /**
2624
+ * Select operations for range queries on the vertex session store
2625
+ * The scopes depends on the namespace and operation
2626
+ * Valid scopes here are "runtimeapi/plugin", "runtimeapi/plugin.store.plugin", "runtimeapi/plugin.store.plugin:read"
2627
+ * "runtimeapi/plugin.store.vertex", "runtimeapi/plugin.store.vertex:read"
2628
+ *
2629
+ * @generated from rpc mochabugapis.adapt.runtime.v1.ConfiguratorService.SelectStore
2630
+ */
2631
+ selectStore: {
2632
+ methodKind: "unary";
2633
+ input: typeof ConfiguratorServiceSelectStoreRequestSchema;
2634
+ output: typeof ConfiguratorServiceSelectStoreResponseSchema;
2635
+ };
2636
+ /**
2637
+ * This endpoint enables the configurator to get information about incoming signals
2638
+ * Valid scopes: runtimeapi/configurator, runtimeapi/configurator.receiversignals:read
2639
+ *
2640
+ * @generated from rpc mochabugapis.adapt.runtime.v1.ConfiguratorService.ListIncomingSignals
2641
+ */
2642
+ listIncomingSignals: {
2643
+ methodKind: "unary";
2644
+ input: typeof ListIncomingSignalsRequestSchema;
2645
+ output: typeof ListIncomingSignalsResponseSchema;
2646
+ };
2647
+ }>;
2648
+ /**
2649
+ * Accessible to both executor and configurator
2650
+ *
2651
+ * @generated from service mochabugapis.adapt.runtime.v1.PluginService
2652
+ */
2653
+ export declare const PluginService: GenService<{
2654
+ /**
2655
+ * The authorization endpoint, make sure that the access token is OK
2656
+ * Valid scopes: runtimeapi/plugin, runtimeapi/plugin.authorize
2657
+ *
2658
+ * @generated from rpc mochabugapis.adapt.runtime.v1.PluginService.Authorize
2659
+ */
2660
+ authorize: {
2661
+ methodKind: "unary";
2662
+ input: typeof AuthorizeRequestSchema;
2663
+ output: typeof AuthorizeResponseSchema;
2664
+ };
2665
+ /**
2666
+ * Get information about configured system services
2667
+ * Valid scopes: runtimeapi/plugin, runtimeapi/plugin.system.services:read
2668
+ *
2669
+ * @generated from rpc mochabugapis.adapt.runtime.v1.PluginService.GetSystemServices
2670
+ */
2671
+ getSystemServices: {
2672
+ methodKind: "unary";
2673
+ input: typeof GetSystemServicesRequestSchema;
2674
+ output: typeof GetSystemServicesResponseSchema;
2675
+ };
2676
+ /**
2677
+ * Fetch the envionment variables configured by the plugin
2678
+ * Valid scopes: runtimeapi/plugin, runtimeapi/plugin.variables:read
2679
+ *
2680
+ * @generated from rpc mochabugapis.adapt.runtime.v1.PluginService.BatchGetSystemVariables
2681
+ */
2682
+ batchGetSystemVariables: {
2683
+ methodKind: "unary";
2684
+ input: typeof BatchGetSystemVariablesRequestSchema;
2685
+ output: typeof BatchGetSystemVariablesResponseSchema;
2686
+ };
2687
+ /**
2688
+ * Fetch the envionment variables configured by the user
2689
+ * Valid scopes: runtimeapi/plugin, runtimeapi/plugin.user.variables:read
2690
+ *
2691
+ * @generated from rpc mochabugapis.adapt.runtime.v1.PluginService.BatchGetUserVariables
2692
+ */
2693
+ batchGetUserVariables: {
2694
+ methodKind: "unary";
2695
+ input: typeof BatchGetUserVariablesRequestSchema;
2696
+ output: typeof BatchGetUserVariablesResponseSchema;
2697
+ };
2698
+ /**
2699
+ * Get oauth2 bearer token from a user's consent or a service account
2700
+ * Valid scopes: runtimeapi/plugin, runtimeapi/plugin.user.tokens:read
2701
+ *
2702
+ * @generated from rpc mochabugapis.adapt.runtime.v1.PluginService.BatchGetUserTokens
2703
+ */
2704
+ batchGetUserTokens: {
2705
+ methodKind: "unary";
2706
+ input: typeof BatchGetUserTokensRequestSchema;
2707
+ output: typeof BatchGetUserTokensResponseSchema;
2708
+ };
2709
+ /**
2710
+ * Get oauth2 bearer token from a plugin's service account
2711
+ * Valid scopes: runtimeapi/plugin, runtimeapi/plugin.tokens:read
2712
+ *
2713
+ * @generated from rpc mochabugapis.adapt.runtime.v1.PluginService.BatchGetSystemTokens
2714
+ */
2715
+ batchGetSystemTokens: {
2716
+ methodKind: "unary";
2717
+ input: typeof BatchGetSystemTokensRequestSchema;
2718
+ output: typeof BatchGetSystemTokensResponseSchema;
2719
+ };
2720
+ }>;
2721
+ //# sourceMappingURL=runtime_pb.d.ts.map