@mochabug/adapt-web 0.0.1-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/genproto/buf/validate/validate_pb.d.ts +4504 -0
- package/dist/genproto/buf/validate/validate_pb.js +422 -0
- package/dist/genproto/buf/validate/validate_pb.js.map +1 -0
- package/dist/genproto/google/api/annotations_pb.d.ts +13 -0
- package/dist/genproto/google/api/annotations_pb.js +27 -0
- package/dist/genproto/google/api/annotations_pb.js.map +1 -0
- package/dist/genproto/google/api/client_pb.d.ts +795 -0
- package/dist/genproto/google/api/client_pb.js +287 -0
- package/dist/genproto/google/api/client_pb.js.map +1 -0
- package/dist/genproto/google/api/http_pb.d.ts +440 -0
- package/dist/genproto/google/api/http_pb.js +34 -0
- package/dist/genproto/google/api/http_pb.js.map +1 -0
- package/dist/genproto/google/api/launch_stage_pb.d.ts +86 -0
- package/dist/genproto/google/api/launch_stage_pb.js +101 -0
- package/dist/genproto/google/api/launch_stage_pb.js.map +1 -0
- package/dist/genproto/mochabugapis/adapt/automations/v1/automations_pb.d.ts +542 -0
- package/dist/genproto/mochabugapis/adapt/automations/v1/automations_pb.js +157 -0
- package/dist/genproto/mochabugapis/adapt/automations/v1/automations_pb.js.map +1 -0
- package/dist/genproto/mochabugapis/adapt/graph/exchange_pb.d.ts +43 -0
- package/dist/genproto/mochabugapis/adapt/graph/exchange_pb.js +26 -0
- package/dist/genproto/mochabugapis/adapt/graph/exchange_pb.js.map +1 -0
- package/dist/genproto/mochabugapis/adapt/graph/jtd_schema_pb.d.ts +117 -0
- package/dist/genproto/mochabugapis/adapt/graph/jtd_schema_pb.js +25 -0
- package/dist/genproto/mochabugapis/adapt/graph/jtd_schema_pb.js.map +1 -0
- package/dist/genproto/mochabugapis/adapt/graph/receiver_pb.d.ts +39 -0
- package/dist/genproto/mochabugapis/adapt/graph/receiver_pb.js +26 -0
- package/dist/genproto/mochabugapis/adapt/graph/receiver_pb.js.map +1 -0
- package/dist/genproto/mochabugapis/adapt/graph/signal_descriptor_pb.d.ts +43 -0
- package/dist/genproto/mochabugapis/adapt/graph/signal_descriptor_pb.js +26 -0
- package/dist/genproto/mochabugapis/adapt/graph/signal_descriptor_pb.js.map +1 -0
- package/dist/genproto/mochabugapis/adapt/graph/transceiver_pb.d.ts +37 -0
- package/dist/genproto/mochabugapis/adapt/graph/transceiver_pb.js +26 -0
- package/dist/genproto/mochabugapis/adapt/graph/transceiver_pb.js.map +1 -0
- package/dist/genproto/mochabugapis/adapt/graph/transmitter_pb.d.ts +43 -0
- package/dist/genproto/mochabugapis/adapt/graph/transmitter_pb.js +26 -0
- package/dist/genproto/mochabugapis/adapt/graph/transmitter_pb.js.map +1 -0
- package/dist/genproto/mochabugapis/adapt/graph/vertex_config_pb.d.ts +62 -0
- package/dist/genproto/mochabugapis/adapt/graph/vertex_config_pb.js +28 -0
- package/dist/genproto/mochabugapis/adapt/graph/vertex_config_pb.js.map +1 -0
- package/dist/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.d.ts +815 -0
- package/dist/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.js +284 -0
- package/dist/genproto/mochabugapis/adapt/plugins/v1/plugins_pb.js.map +1 -0
- package/dist/genproto/mochabugapis/adapt/runtime/v1/incoming_pb.d.ts +224 -0
- package/dist/genproto/mochabugapis/adapt/runtime/v1/incoming_pb.js +75 -0
- package/dist/genproto/mochabugapis/adapt/runtime/v1/incoming_pb.js.map +1 -0
- package/dist/genproto/mochabugapis/adapt/runtime/v1/runtime_pb.d.ts +1295 -0
- package/dist/genproto/mochabugapis/adapt/runtime/v1/runtime_pb.js +346 -0
- package/dist/genproto/mochabugapis/adapt/runtime/v1/runtime_pb.js.map +1 -0
- package/dist/genproto/mochabugapis/adapt/runtime/v1/store_pb.d.ts +530 -0
- package/dist/genproto/mochabugapis/adapt/runtime/v1/store_pb.js +225 -0
- package/dist/genproto/mochabugapis/adapt/runtime/v1/store_pb.js.map +1 -0
- package/dist/index.d.ts +29 -0
- package/dist/index.js +175 -0
- package/dist/index.js.map +1 -0
- package/package.json +37 -0
|
@@ -0,0 +1,542 @@
|
|
|
1
|
+
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { Timestamp, Value } from "@bufbuild/protobuf/wkt";
|
|
3
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file mochabugapis/adapt/automations/v1/automations.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_mochabugapis_adapt_automations_v1_automations: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* The inherit session request
|
|
10
|
+
*
|
|
11
|
+
* @generated from message mochabugapis.adapt.automations.v1.InheritSessionRequest
|
|
12
|
+
*/
|
|
13
|
+
export type InheritSessionRequest = Message<"mochabugapis.adapt.automations.v1.InheritSessionRequest"> & {
|
|
14
|
+
/**
|
|
15
|
+
* The automation you would like to inherit
|
|
16
|
+
*
|
|
17
|
+
* @generated from field: mochabugapis.adapt.automations.v1.AutomationId automation = 1;
|
|
18
|
+
*/
|
|
19
|
+
automation?: AutomationId;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message mochabugapis.adapt.automations.v1.InheritSessionRequest.
|
|
23
|
+
* Use `create(InheritSessionRequestSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
export declare const InheritSessionRequestSchema: GenMessage<InheritSessionRequest>;
|
|
26
|
+
/**
|
|
27
|
+
* The inherit session response
|
|
28
|
+
*
|
|
29
|
+
* @generated from message mochabugapis.adapt.automations.v1.InheritSessionResponse
|
|
30
|
+
*/
|
|
31
|
+
export type InheritSessionResponse = Message<"mochabugapis.adapt.automations.v1.InheritSessionResponse"> & {
|
|
32
|
+
/**
|
|
33
|
+
* The automation you inherited a session for
|
|
34
|
+
*
|
|
35
|
+
* @generated from field: mochabugapis.adapt.automations.v1.AutomationId automation = 1;
|
|
36
|
+
*/
|
|
37
|
+
automation?: AutomationId;
|
|
38
|
+
/**
|
|
39
|
+
* The session identifier
|
|
40
|
+
*
|
|
41
|
+
* @generated from field: string session = 2;
|
|
42
|
+
*/
|
|
43
|
+
session: string;
|
|
44
|
+
/**
|
|
45
|
+
* The session token
|
|
46
|
+
*
|
|
47
|
+
* @generated from field: string token = 3;
|
|
48
|
+
*/
|
|
49
|
+
token: string;
|
|
50
|
+
/**
|
|
51
|
+
* The MQTT token to use for the MQTT API
|
|
52
|
+
*
|
|
53
|
+
* @generated from field: string mqtt_token = 4;
|
|
54
|
+
*/
|
|
55
|
+
mqttToken: string;
|
|
56
|
+
/**
|
|
57
|
+
* The timestamp when the session expires, if not set, the session never expires (typically the case for long-running stream vertices)
|
|
58
|
+
*
|
|
59
|
+
* @generated from field: optional google.protobuf.Timestamp expires = 5;
|
|
60
|
+
*/
|
|
61
|
+
expires?: Timestamp;
|
|
62
|
+
};
|
|
63
|
+
/**
|
|
64
|
+
* Describes the message mochabugapis.adapt.automations.v1.InheritSessionResponse.
|
|
65
|
+
* Use `create(InheritSessionResponseSchema)` to create a new message.
|
|
66
|
+
*/
|
|
67
|
+
export declare const InheritSessionResponseSchema: GenMessage<InheritSessionResponse>;
|
|
68
|
+
/**
|
|
69
|
+
* The read output request
|
|
70
|
+
*
|
|
71
|
+
* @generated from message mochabugapis.adapt.automations.v1.ReadOutputRequest
|
|
72
|
+
*/
|
|
73
|
+
export type ReadOutputRequest = Message<"mochabugapis.adapt.automations.v1.ReadOutputRequest"> & {
|
|
74
|
+
/**
|
|
75
|
+
* The automation you would like to fetch a session for
|
|
76
|
+
*
|
|
77
|
+
* @generated from field: mochabugapis.adapt.automations.v1.AutomationId automation = 1;
|
|
78
|
+
*/
|
|
79
|
+
automation?: AutomationId;
|
|
80
|
+
/**
|
|
81
|
+
* A timestamp to indicate that that the outputs need to be newer than
|
|
82
|
+
* Unset returns everything
|
|
83
|
+
*
|
|
84
|
+
* @generated from field: optional google.protobuf.Timestamp newer_than = 2;
|
|
85
|
+
*/
|
|
86
|
+
newerThan?: Timestamp;
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* Describes the message mochabugapis.adapt.automations.v1.ReadOutputRequest.
|
|
90
|
+
* Use `create(ReadOutputRequestSchema)` to create a new message.
|
|
91
|
+
*/
|
|
92
|
+
export declare const ReadOutputRequestSchema: GenMessage<ReadOutputRequest>;
|
|
93
|
+
/**
|
|
94
|
+
* The read output response
|
|
95
|
+
*
|
|
96
|
+
* @generated from message mochabugapis.adapt.automations.v1.ReadOutputResponse
|
|
97
|
+
*/
|
|
98
|
+
export type ReadOutputResponse = Message<"mochabugapis.adapt.automations.v1.ReadOutputResponse"> & {
|
|
99
|
+
/**
|
|
100
|
+
* The session information
|
|
101
|
+
*
|
|
102
|
+
* @generated from field: mochabugapis.adapt.automations.v1.Session session = 1;
|
|
103
|
+
*/
|
|
104
|
+
session?: Session;
|
|
105
|
+
/**
|
|
106
|
+
* The outputs from the session, sorted with oldest first and newest last
|
|
107
|
+
*
|
|
108
|
+
* @generated from field: repeated mochabugapis.adapt.automations.v1.Output outputs = 2;
|
|
109
|
+
*/
|
|
110
|
+
outputs: Output[];
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* Describes the message mochabugapis.adapt.automations.v1.ReadOutputResponse.
|
|
114
|
+
* Use `create(ReadOutputResponseSchema)` to create a new message.
|
|
115
|
+
*/
|
|
116
|
+
export declare const ReadOutputResponseSchema: GenMessage<ReadOutputResponse>;
|
|
117
|
+
/**
|
|
118
|
+
* The read URLs request
|
|
119
|
+
*
|
|
120
|
+
* @generated from message mochabugapis.adapt.automations.v1.ReadUrlsRequest
|
|
121
|
+
*/
|
|
122
|
+
export type ReadUrlsRequest = Message<"mochabugapis.adapt.automations.v1.ReadUrlsRequest"> & {
|
|
123
|
+
/**
|
|
124
|
+
* The automation you would like to fetch a session for
|
|
125
|
+
*
|
|
126
|
+
* @generated from field: mochabugapis.adapt.automations.v1.AutomationId automation = 1;
|
|
127
|
+
*/
|
|
128
|
+
automation?: AutomationId;
|
|
129
|
+
/**
|
|
130
|
+
* A timestamp to indicate that that the urls need to be newer than
|
|
131
|
+
* Unset returns everythings
|
|
132
|
+
*
|
|
133
|
+
* @generated from field: optional google.protobuf.Timestamp newer_than = 2;
|
|
134
|
+
*/
|
|
135
|
+
newerThan?: Timestamp;
|
|
136
|
+
};
|
|
137
|
+
/**
|
|
138
|
+
* Describes the message mochabugapis.adapt.automations.v1.ReadUrlsRequest.
|
|
139
|
+
* Use `create(ReadUrlsRequestSchema)` to create a new message.
|
|
140
|
+
*/
|
|
141
|
+
export declare const ReadUrlsRequestSchema: GenMessage<ReadUrlsRequest>;
|
|
142
|
+
/**
|
|
143
|
+
* The read URLs response
|
|
144
|
+
*
|
|
145
|
+
* @generated from message mochabugapis.adapt.automations.v1.ReadUrlsResponse
|
|
146
|
+
*/
|
|
147
|
+
export type ReadUrlsResponse = Message<"mochabugapis.adapt.automations.v1.ReadUrlsResponse"> & {
|
|
148
|
+
/**
|
|
149
|
+
* The session information
|
|
150
|
+
*
|
|
151
|
+
* @generated from field: mochabugapis.adapt.automations.v1.Session session = 1;
|
|
152
|
+
*/
|
|
153
|
+
session?: Session;
|
|
154
|
+
/**
|
|
155
|
+
* The URLs for the session, sorted with oldest first and newest last
|
|
156
|
+
*
|
|
157
|
+
* @generated from field: repeated mochabugapis.adapt.automations.v1.Url urls = 2;
|
|
158
|
+
*/
|
|
159
|
+
urls: Url[];
|
|
160
|
+
};
|
|
161
|
+
/**
|
|
162
|
+
* Describes the message mochabugapis.adapt.automations.v1.ReadUrlsResponse.
|
|
163
|
+
* Use `create(ReadUrlsResponseSchema)` to create a new message.
|
|
164
|
+
*/
|
|
165
|
+
export declare const ReadUrlsResponseSchema: GenMessage<ReadUrlsResponse>;
|
|
166
|
+
/**
|
|
167
|
+
* The start session request
|
|
168
|
+
*
|
|
169
|
+
* @generated from message mochabugapis.adapt.automations.v1.StartSessionRequest
|
|
170
|
+
*/
|
|
171
|
+
export type StartSessionRequest = Message<"mochabugapis.adapt.automations.v1.StartSessionRequest"> & {
|
|
172
|
+
/**
|
|
173
|
+
* The automation to start
|
|
174
|
+
*
|
|
175
|
+
* @generated from field: mochabugapis.adapt.automations.v1.AutomationId automation = 1;
|
|
176
|
+
*/
|
|
177
|
+
automation?: AutomationId;
|
|
178
|
+
/**
|
|
179
|
+
* The transmitter to start from (optional, it defaults to the first one, always)
|
|
180
|
+
*
|
|
181
|
+
* @generated from field: optional string transmitter = 2;
|
|
182
|
+
*/
|
|
183
|
+
transmitter?: string;
|
|
184
|
+
/**
|
|
185
|
+
* The signals on the transmitter you wish to start with
|
|
186
|
+
* Make sure that they align to the signals JTD schema
|
|
187
|
+
*
|
|
188
|
+
* @generated from field: map<string, google.protobuf.Value> signals = 3;
|
|
189
|
+
*/
|
|
190
|
+
signals: {
|
|
191
|
+
[key: string]: Value;
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
/**
|
|
195
|
+
* Describes the message mochabugapis.adapt.automations.v1.StartSessionRequest.
|
|
196
|
+
* Use `create(StartSessionRequestSchema)` to create a new message.
|
|
197
|
+
*/
|
|
198
|
+
export declare const StartSessionRequestSchema: GenMessage<StartSessionRequest>;
|
|
199
|
+
/**
|
|
200
|
+
* The start session response
|
|
201
|
+
*
|
|
202
|
+
* @generated from message mochabugapis.adapt.automations.v1.StartSessionResponse
|
|
203
|
+
*/
|
|
204
|
+
export type StartSessionResponse = Message<"mochabugapis.adapt.automations.v1.StartSessionResponse"> & {
|
|
205
|
+
/**
|
|
206
|
+
* The automation you started a session for
|
|
207
|
+
*
|
|
208
|
+
* @generated from field: mochabugapis.adapt.automations.v1.AutomationId automation = 1;
|
|
209
|
+
*/
|
|
210
|
+
automation?: AutomationId;
|
|
211
|
+
/**
|
|
212
|
+
* The session identifier
|
|
213
|
+
*
|
|
214
|
+
* @generated from field: string session = 2;
|
|
215
|
+
*/
|
|
216
|
+
session: string;
|
|
217
|
+
/**
|
|
218
|
+
* The session token
|
|
219
|
+
*
|
|
220
|
+
* @generated from field: string session_token = 3;
|
|
221
|
+
*/
|
|
222
|
+
sessionToken: string;
|
|
223
|
+
/**
|
|
224
|
+
* The MQTT token to use for the MQTT API
|
|
225
|
+
*
|
|
226
|
+
* @generated from field: string mqtt_token = 4;
|
|
227
|
+
*/
|
|
228
|
+
mqttToken: string;
|
|
229
|
+
/**
|
|
230
|
+
* The timestamp when the session expires, if not set, the session never expires (typically the case for long-running stream vertices)
|
|
231
|
+
*
|
|
232
|
+
* @generated from field: optional google.protobuf.Timestamp expires = 5;
|
|
233
|
+
*/
|
|
234
|
+
expires?: Timestamp;
|
|
235
|
+
};
|
|
236
|
+
/**
|
|
237
|
+
* Describes the message mochabugapis.adapt.automations.v1.StartSessionResponse.
|
|
238
|
+
* Use `create(StartSessionResponseSchema)` to create a new message.
|
|
239
|
+
*/
|
|
240
|
+
export declare const StartSessionResponseSchema: GenMessage<StartSessionResponse>;
|
|
241
|
+
/**
|
|
242
|
+
* The stop session request
|
|
243
|
+
*
|
|
244
|
+
* @generated from message mochabugapis.adapt.automations.v1.StopSessionRequest
|
|
245
|
+
*/
|
|
246
|
+
export type StopSessionRequest = Message<"mochabugapis.adapt.automations.v1.StopSessionRequest"> & {
|
|
247
|
+
/**
|
|
248
|
+
* The automation you would like to fetch a session for
|
|
249
|
+
*
|
|
250
|
+
* @generated from field: mochabugapis.adapt.automations.v1.AutomationId automation = 1;
|
|
251
|
+
*/
|
|
252
|
+
automation?: AutomationId;
|
|
253
|
+
};
|
|
254
|
+
/**
|
|
255
|
+
* Describes the message mochabugapis.adapt.automations.v1.StopSessionRequest.
|
|
256
|
+
* Use `create(StopSessionRequestSchema)` to create a new message.
|
|
257
|
+
*/
|
|
258
|
+
export declare const StopSessionRequestSchema: GenMessage<StopSessionRequest>;
|
|
259
|
+
/**
|
|
260
|
+
* The stop session response
|
|
261
|
+
*
|
|
262
|
+
* @generated from message mochabugapis.adapt.automations.v1.StopSessionResponse
|
|
263
|
+
*/
|
|
264
|
+
export type StopSessionResponse = Message<"mochabugapis.adapt.automations.v1.StopSessionResponse"> & {};
|
|
265
|
+
/**
|
|
266
|
+
* Describes the message mochabugapis.adapt.automations.v1.StopSessionResponse.
|
|
267
|
+
* Use `create(StopSessionResponseSchema)` to create a new message.
|
|
268
|
+
*/
|
|
269
|
+
export declare const StopSessionResponseSchema: GenMessage<StopSessionResponse>;
|
|
270
|
+
/**
|
|
271
|
+
* The get session request
|
|
272
|
+
*
|
|
273
|
+
* @generated from message mochabugapis.adapt.automations.v1.GetSessionRequest
|
|
274
|
+
*/
|
|
275
|
+
export type GetSessionRequest = Message<"mochabugapis.adapt.automations.v1.GetSessionRequest"> & {
|
|
276
|
+
/**
|
|
277
|
+
* The automation you would like to fetch a session for
|
|
278
|
+
*
|
|
279
|
+
* @generated from field: mochabugapis.adapt.automations.v1.AutomationId automation = 1;
|
|
280
|
+
*/
|
|
281
|
+
automation?: AutomationId;
|
|
282
|
+
};
|
|
283
|
+
/**
|
|
284
|
+
* Describes the message mochabugapis.adapt.automations.v1.GetSessionRequest.
|
|
285
|
+
* Use `create(GetSessionRequestSchema)` to create a new message.
|
|
286
|
+
*/
|
|
287
|
+
export declare const GetSessionRequestSchema: GenMessage<GetSessionRequest>;
|
|
288
|
+
/**
|
|
289
|
+
* The get session response
|
|
290
|
+
*
|
|
291
|
+
* @generated from message mochabugapis.adapt.automations.v1.GetSessionResponse
|
|
292
|
+
*/
|
|
293
|
+
export type GetSessionResponse = Message<"mochabugapis.adapt.automations.v1.GetSessionResponse"> & {
|
|
294
|
+
/**
|
|
295
|
+
* The session information
|
|
296
|
+
*
|
|
297
|
+
* @generated from field: mochabugapis.adapt.automations.v1.Session session = 1;
|
|
298
|
+
*/
|
|
299
|
+
session?: Session;
|
|
300
|
+
};
|
|
301
|
+
/**
|
|
302
|
+
* Describes the message mochabugapis.adapt.automations.v1.GetSessionResponse.
|
|
303
|
+
* Use `create(GetSessionResponseSchema)` to create a new message.
|
|
304
|
+
*/
|
|
305
|
+
export declare const GetSessionResponseSchema: GenMessage<GetSessionResponse>;
|
|
306
|
+
/**
|
|
307
|
+
* An identifier
|
|
308
|
+
*
|
|
309
|
+
* @generated from message mochabugapis.adapt.automations.v1.AutomationId
|
|
310
|
+
*/
|
|
311
|
+
export type AutomationId = Message<"mochabugapis.adapt.automations.v1.AutomationId"> & {
|
|
312
|
+
/**
|
|
313
|
+
* The organization to start the automation in
|
|
314
|
+
*
|
|
315
|
+
* @generated from field: string organization = 1;
|
|
316
|
+
*/
|
|
317
|
+
organization: string;
|
|
318
|
+
/**
|
|
319
|
+
* The group where the automation lies
|
|
320
|
+
*
|
|
321
|
+
* @generated from field: string group = 2;
|
|
322
|
+
*/
|
|
323
|
+
group: string;
|
|
324
|
+
/**
|
|
325
|
+
* The actual automation inside the group to start
|
|
326
|
+
*
|
|
327
|
+
* @generated from field: string automation = 3;
|
|
328
|
+
*/
|
|
329
|
+
automation: string;
|
|
330
|
+
/**
|
|
331
|
+
* The version of the automation
|
|
332
|
+
* Can be either a version like 1.0.0 or a version selector like 1.*.* or *.*.*
|
|
333
|
+
*
|
|
334
|
+
* @generated from field: string version = 4;
|
|
335
|
+
*/
|
|
336
|
+
version: string;
|
|
337
|
+
};
|
|
338
|
+
/**
|
|
339
|
+
* Describes the message mochabugapis.adapt.automations.v1.AutomationId.
|
|
340
|
+
* Use `create(AutomationIdSchema)` to create a new message.
|
|
341
|
+
*/
|
|
342
|
+
export declare const AutomationIdSchema: GenMessage<AutomationId>;
|
|
343
|
+
/**
|
|
344
|
+
* Output data from the automation (corresponds to an output vertex instance)
|
|
345
|
+
*
|
|
346
|
+
* @generated from message mochabugapis.adapt.automations.v1.Output
|
|
347
|
+
*/
|
|
348
|
+
export type Output = Message<"mochabugapis.adapt.automations.v1.Output"> & {
|
|
349
|
+
/**
|
|
350
|
+
* The vertex id
|
|
351
|
+
*
|
|
352
|
+
* @generated from field: string vertex = 1;
|
|
353
|
+
*/
|
|
354
|
+
vertex: string;
|
|
355
|
+
/**
|
|
356
|
+
* The actual data that has been output from the vertex
|
|
357
|
+
*
|
|
358
|
+
* @generated from field: map<string, google.protobuf.Value> data = 2;
|
|
359
|
+
*/
|
|
360
|
+
data: {
|
|
361
|
+
[key: string]: Value;
|
|
362
|
+
};
|
|
363
|
+
/**
|
|
364
|
+
* The timestamp when the output was created
|
|
365
|
+
*
|
|
366
|
+
* @generated from field: google.protobuf.Timestamp created = 3;
|
|
367
|
+
*/
|
|
368
|
+
created?: Timestamp;
|
|
369
|
+
};
|
|
370
|
+
/**
|
|
371
|
+
* Describes the message mochabugapis.adapt.automations.v1.Output.
|
|
372
|
+
* Use `create(OutputSchema)` to create a new message.
|
|
373
|
+
*/
|
|
374
|
+
export declare const OutputSchema: GenMessage<Output>;
|
|
375
|
+
/**
|
|
376
|
+
* A representation of a URL
|
|
377
|
+
*
|
|
378
|
+
* @generated from message mochabugapis.adapt.automations.v1.Url
|
|
379
|
+
*/
|
|
380
|
+
export type Url = Message<"mochabugapis.adapt.automations.v1.Url"> & {
|
|
381
|
+
/**
|
|
382
|
+
* The URL
|
|
383
|
+
*
|
|
384
|
+
* @generated from field: string url = 1;
|
|
385
|
+
*/
|
|
386
|
+
url: string;
|
|
387
|
+
/**
|
|
388
|
+
* The timestamp when the URL was created
|
|
389
|
+
*
|
|
390
|
+
* @generated from field: google.protobuf.Timestamp created = 2;
|
|
391
|
+
*/
|
|
392
|
+
created?: Timestamp;
|
|
393
|
+
};
|
|
394
|
+
/**
|
|
395
|
+
* Describes the message mochabugapis.adapt.automations.v1.Url.
|
|
396
|
+
* Use `create(UrlSchema)` to create a new message.
|
|
397
|
+
*/
|
|
398
|
+
export declare const UrlSchema: GenMessage<Url>;
|
|
399
|
+
/**
|
|
400
|
+
* The session information
|
|
401
|
+
*
|
|
402
|
+
* @generated from message mochabugapis.adapt.automations.v1.Session
|
|
403
|
+
*/
|
|
404
|
+
export type Session = Message<"mochabugapis.adapt.automations.v1.Session"> & {
|
|
405
|
+
/**
|
|
406
|
+
* The automation
|
|
407
|
+
*
|
|
408
|
+
* @generated from field: mochabugapis.adapt.automations.v1.AutomationId automation = 1;
|
|
409
|
+
*/
|
|
410
|
+
automation?: AutomationId;
|
|
411
|
+
/**
|
|
412
|
+
* The actual session
|
|
413
|
+
*
|
|
414
|
+
* @generated from field: string session = 4;
|
|
415
|
+
*/
|
|
416
|
+
session: string;
|
|
417
|
+
/**
|
|
418
|
+
* The status of the session
|
|
419
|
+
*
|
|
420
|
+
* @generated from field: mochabugapis.adapt.automations.v1.Status status = 5;
|
|
421
|
+
*/
|
|
422
|
+
status: Status;
|
|
423
|
+
};
|
|
424
|
+
/**
|
|
425
|
+
* Describes the message mochabugapis.adapt.automations.v1.Session.
|
|
426
|
+
* Use `create(SessionSchema)` to create a new message.
|
|
427
|
+
*/
|
|
428
|
+
export declare const SessionSchema: GenMessage<Session>;
|
|
429
|
+
/**
|
|
430
|
+
* The session enum status
|
|
431
|
+
*
|
|
432
|
+
* @generated from enum mochabugapis.adapt.automations.v1.Status
|
|
433
|
+
*/
|
|
434
|
+
export declare enum Status {
|
|
435
|
+
/**
|
|
436
|
+
* Unspecified
|
|
437
|
+
*
|
|
438
|
+
* @generated from enum value: STATUS_UNSPECIFIED = 0;
|
|
439
|
+
*/
|
|
440
|
+
UNSPECIFIED = 0,
|
|
441
|
+
/**
|
|
442
|
+
* The session is running
|
|
443
|
+
*
|
|
444
|
+
* @generated from enum value: STATUS_RUNNING = 1;
|
|
445
|
+
*/
|
|
446
|
+
RUNNING = 1,
|
|
447
|
+
/**
|
|
448
|
+
* The session has been stopped
|
|
449
|
+
*
|
|
450
|
+
* @generated from enum value: STATUS_STOPPED = 2;
|
|
451
|
+
*/
|
|
452
|
+
STOPPED = 2,
|
|
453
|
+
/**
|
|
454
|
+
* The session has been completed
|
|
455
|
+
*
|
|
456
|
+
* @generated from enum value: STATUS_COMPLETED = 3;
|
|
457
|
+
*/
|
|
458
|
+
COMPLETED = 3,
|
|
459
|
+
/**
|
|
460
|
+
* The session has expired
|
|
461
|
+
*
|
|
462
|
+
* @generated from enum value: STATUS_EXPIRED = 4;
|
|
463
|
+
*/
|
|
464
|
+
EXPIRED = 4,
|
|
465
|
+
/**
|
|
466
|
+
* The session has been errored (errors during the runtime)
|
|
467
|
+
*
|
|
468
|
+
* @generated from enum value: STATUS_ERRORED = 5;
|
|
469
|
+
*/
|
|
470
|
+
ERRORED = 5
|
|
471
|
+
}
|
|
472
|
+
/**
|
|
473
|
+
* Describes the enum mochabugapis.adapt.automations.v1.Status.
|
|
474
|
+
*/
|
|
475
|
+
export declare const StatusSchema: GenEnum<Status>;
|
|
476
|
+
/**
|
|
477
|
+
* A service that provides automation functionality.
|
|
478
|
+
*
|
|
479
|
+
* @generated from service mochabugapis.adapt.automations.v1.AutomationService
|
|
480
|
+
*/
|
|
481
|
+
export declare const AutomationService: GenService<{
|
|
482
|
+
/**
|
|
483
|
+
* Start a session of the specified automation
|
|
484
|
+
*
|
|
485
|
+
* @generated from rpc mochabugapis.adapt.automations.v1.AutomationService.StartSession
|
|
486
|
+
*/
|
|
487
|
+
startSession: {
|
|
488
|
+
methodKind: "unary";
|
|
489
|
+
input: typeof StartSessionRequestSchema;
|
|
490
|
+
output: typeof StartSessionResponseSchema;
|
|
491
|
+
};
|
|
492
|
+
/**
|
|
493
|
+
* Stop a specific session
|
|
494
|
+
*
|
|
495
|
+
* @generated from rpc mochabugapis.adapt.automations.v1.AutomationService.StopSession
|
|
496
|
+
*/
|
|
497
|
+
stopSession: {
|
|
498
|
+
methodKind: "unary";
|
|
499
|
+
input: typeof StopSessionRequestSchema;
|
|
500
|
+
output: typeof StopSessionResponseSchema;
|
|
501
|
+
};
|
|
502
|
+
/**
|
|
503
|
+
* Inherit a session
|
|
504
|
+
*
|
|
505
|
+
* @generated from rpc mochabugapis.adapt.automations.v1.AutomationService.InheritSession
|
|
506
|
+
*/
|
|
507
|
+
inheritSession: {
|
|
508
|
+
methodKind: "unary";
|
|
509
|
+
input: typeof InheritSessionRequestSchema;
|
|
510
|
+
output: typeof InheritSessionResponseSchema;
|
|
511
|
+
};
|
|
512
|
+
/**
|
|
513
|
+
* Get session information
|
|
514
|
+
*
|
|
515
|
+
* @generated from rpc mochabugapis.adapt.automations.v1.AutomationService.GetSession
|
|
516
|
+
*/
|
|
517
|
+
getSession: {
|
|
518
|
+
methodKind: "unary";
|
|
519
|
+
input: typeof GetSessionRequestSchema;
|
|
520
|
+
output: typeof GetSessionResponseSchema;
|
|
521
|
+
};
|
|
522
|
+
/**
|
|
523
|
+
* Read the output from the session
|
|
524
|
+
*
|
|
525
|
+
* @generated from rpc mochabugapis.adapt.automations.v1.AutomationService.ReadOutput
|
|
526
|
+
*/
|
|
527
|
+
readOutput: {
|
|
528
|
+
methodKind: "unary";
|
|
529
|
+
input: typeof ReadOutputRequestSchema;
|
|
530
|
+
output: typeof ReadOutputResponseSchema;
|
|
531
|
+
};
|
|
532
|
+
/**
|
|
533
|
+
* Read URLs for the session for browser-based clients
|
|
534
|
+
*
|
|
535
|
+
* @generated from rpc mochabugapis.adapt.automations.v1.AutomationService.ReadUrls
|
|
536
|
+
*/
|
|
537
|
+
readUrls: {
|
|
538
|
+
methodKind: "unary";
|
|
539
|
+
input: typeof ReadUrlsRequestSchema;
|
|
540
|
+
output: typeof ReadUrlsResponseSchema;
|
|
541
|
+
};
|
|
542
|
+
}>;
|