@mochabug/adapt-web 0.0.25 → 0.0.27
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/cjs/genproto/buf/validate/validate_pb.js +58 -119
- package/dist/cjs/genproto/buf/validate/validate_pb.js.map +1 -1
- package/dist/cjs/genproto/mochabugapis/adapt/automations/v1/automations_pb.js +13 -7
- package/dist/cjs/genproto/mochabugapis/adapt/automations/v1/automations_pb.js.map +1 -1
- package/dist/cjs/genproto/mochabugapis/adapt/graph/signal_binding_pb.js +1 -2
- package/dist/cjs/genproto/mochabugapis/adapt/graph/signal_binding_pb.js.map +1 -1
- package/dist/cjs/genproto/mochabugapis/adapt/graph/signal_descriptor_pb.js +1 -1
- package/dist/cjs/genproto/mochabugapis/adapt/graph/signal_descriptor_pb.js.map +1 -1
- package/dist/cjs/genproto/mochabugapis/adapt/graph/vertex_metadata_pb.js +1 -1
- package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/file_pb.js +1 -1
- package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/oauth2_service_pb.js +1 -1
- package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/tls_service_pb.js +1 -1
- package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/tls_service_pb.js.map +1 -1
- package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/vertex_pb.js +1 -1
- package/dist/cjs/genproto/mochabugapis/adapt/plugins/v1/vertex_pb.js.map +1 -1
- package/dist/cjs/genproto/mochabugapis/adapt/runtime/v1/incoming_pb.js +10 -5
- package/dist/cjs/genproto/mochabugapis/adapt/runtime/v1/incoming_pb.js.map +1 -1
- package/dist/cjs/genproto/mochabugapis/adapt/runtime/v1/runtime_pb.js +17 -19
- package/dist/cjs/genproto/mochabugapis/adapt/runtime/v1/runtime_pb.js.map +1 -1
- package/dist/cjs/genproto/mochabugapis/adapt/runtime/v1/store_pb.js +19 -14
- package/dist/cjs/genproto/mochabugapis/adapt/runtime/v1/store_pb.js.map +1 -1
- package/dist/cjs/index.js +160 -64
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/genproto/buf/validate/validate_pb.js +58 -119
- package/dist/esm/genproto/buf/validate/validate_pb.js.map +1 -1
- package/dist/esm/genproto/mochabugapis/adapt/automations/v1/automations_pb.js +14 -8
- package/dist/esm/genproto/mochabugapis/adapt/automations/v1/automations_pb.js.map +1 -1
- package/dist/esm/genproto/mochabugapis/adapt/graph/signal_binding_pb.js +1 -2
- package/dist/esm/genproto/mochabugapis/adapt/graph/signal_binding_pb.js.map +1 -1
- package/dist/esm/genproto/mochabugapis/adapt/graph/signal_descriptor_pb.js +1 -1
- package/dist/esm/genproto/mochabugapis/adapt/graph/signal_descriptor_pb.js.map +1 -1
- package/dist/esm/genproto/mochabugapis/adapt/graph/vertex_metadata_pb.js +1 -1
- package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/file_pb.js +1 -1
- package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/oauth2_service_pb.js +1 -1
- package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/tls_service_pb.js +1 -1
- package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/tls_service_pb.js.map +1 -1
- package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/vertex_pb.js +1 -1
- package/dist/esm/genproto/mochabugapis/adapt/plugins/v1/vertex_pb.js.map +1 -1
- package/dist/esm/genproto/mochabugapis/adapt/runtime/v1/incoming_pb.js +9 -4
- package/dist/esm/genproto/mochabugapis/adapt/runtime/v1/incoming_pb.js.map +1 -1
- package/dist/esm/genproto/mochabugapis/adapt/runtime/v1/runtime_pb.js +16 -18
- package/dist/esm/genproto/mochabugapis/adapt/runtime/v1/runtime_pb.js.map +1 -1
- package/dist/esm/genproto/mochabugapis/adapt/runtime/v1/store_pb.js +19 -14
- package/dist/esm/genproto/mochabugapis/adapt/runtime/v1/store_pb.js.map +1 -1
- package/dist/esm/index.js +159 -60
- package/dist/esm/index.js.map +1 -1
- package/dist/types/genproto/buf/validate/validate_pb.d.ts +184 -219
- package/dist/types/genproto/mochabugapis/adapt/automations/v1/automations_pb.d.ts +150 -108
- package/dist/types/genproto/mochabugapis/adapt/graph/signal_binding_pb.d.ts +4 -5
- package/dist/types/genproto/mochabugapis/adapt/graph/signal_descriptor_pb.d.ts +4 -2
- package/dist/types/genproto/mochabugapis/adapt/plugins/v1/tls_service_pb.d.ts +0 -12
- package/dist/types/genproto/mochabugapis/adapt/plugins/v1/vertex_pb.d.ts +16 -0
- package/dist/types/genproto/mochabugapis/adapt/runtime/v1/incoming_pb.d.ts +60 -39
- package/dist/types/genproto/mochabugapis/adapt/runtime/v1/runtime_pb.d.ts +90 -139
- package/dist/types/genproto/mochabugapis/adapt/runtime/v1/store_pb.d.ts +155 -84
- package/dist/types/index.d.ts +14 -7
- package/package.json +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
-
import type { Timestamp, TimestampJson
|
|
2
|
+
import type { Timestamp, TimestampJson } from "@bufbuild/protobuf/wkt";
|
|
3
3
|
import type { Message } from "@bufbuild/protobuf";
|
|
4
4
|
/**
|
|
5
5
|
* Describes the file mochabugapis/adapt/automations/v1/automations.proto.
|
|
@@ -47,35 +47,30 @@ export declare const InheritSessionRequestSchema: GenMessage<InheritSessionReque
|
|
|
47
47
|
*/
|
|
48
48
|
export type InheritSessionResponse = Message<"mochabugapis.adapt.automations.v1.InheritSessionResponse"> & {
|
|
49
49
|
/**
|
|
50
|
-
* The
|
|
50
|
+
* The access token for the session
|
|
51
51
|
*
|
|
52
|
-
* @generated from field:
|
|
53
|
-
*/
|
|
54
|
-
automation?: AutomationId;
|
|
55
|
-
/**
|
|
56
|
-
* The session identifier
|
|
57
|
-
*
|
|
58
|
-
* @generated from field: string session = 2;
|
|
59
|
-
*/
|
|
60
|
-
session: string;
|
|
61
|
-
/**
|
|
62
|
-
* The session token
|
|
63
|
-
*
|
|
64
|
-
* @generated from field: string token = 3;
|
|
52
|
+
* @generated from field: string token = 1;
|
|
65
53
|
*/
|
|
66
54
|
token: string;
|
|
67
55
|
/**
|
|
68
|
-
* The
|
|
56
|
+
* The credentials you may use to connect to the broker and retrieve the session data
|
|
57
|
+
* in real time
|
|
69
58
|
*
|
|
70
|
-
* @generated from field: string
|
|
59
|
+
* @generated from field: string broker_credentials = 2;
|
|
71
60
|
*/
|
|
72
|
-
|
|
61
|
+
brokerCredentials: string;
|
|
73
62
|
/**
|
|
74
63
|
* The timestamp when the session expires, if not set, the session never expires (typically the case for long-running stream vertices)
|
|
75
64
|
*
|
|
76
|
-
* @generated from field: optional google.protobuf.Timestamp expires =
|
|
65
|
+
* @generated from field: optional google.protobuf.Timestamp expires = 3;
|
|
77
66
|
*/
|
|
78
67
|
expires?: Timestamp;
|
|
68
|
+
/**
|
|
69
|
+
* The subscription subject to use for the broker
|
|
70
|
+
*
|
|
71
|
+
* @generated from field: string subject = 4;
|
|
72
|
+
*/
|
|
73
|
+
subject: string;
|
|
79
74
|
};
|
|
80
75
|
/**
|
|
81
76
|
* The inherit session response
|
|
@@ -84,35 +79,30 @@ export type InheritSessionResponse = Message<"mochabugapis.adapt.automations.v1.
|
|
|
84
79
|
*/
|
|
85
80
|
export type InheritSessionResponseJson = {
|
|
86
81
|
/**
|
|
87
|
-
* The
|
|
82
|
+
* The access token for the session
|
|
88
83
|
*
|
|
89
|
-
* @generated from field:
|
|
90
|
-
*/
|
|
91
|
-
automation?: AutomationIdJson;
|
|
92
|
-
/**
|
|
93
|
-
* The session identifier
|
|
94
|
-
*
|
|
95
|
-
* @generated from field: string session = 2;
|
|
96
|
-
*/
|
|
97
|
-
session?: string;
|
|
98
|
-
/**
|
|
99
|
-
* The session token
|
|
100
|
-
*
|
|
101
|
-
* @generated from field: string token = 3;
|
|
84
|
+
* @generated from field: string token = 1;
|
|
102
85
|
*/
|
|
103
86
|
token?: string;
|
|
104
87
|
/**
|
|
105
|
-
* The
|
|
88
|
+
* The credentials you may use to connect to the broker and retrieve the session data
|
|
89
|
+
* in real time
|
|
106
90
|
*
|
|
107
|
-
* @generated from field: string
|
|
91
|
+
* @generated from field: string broker_credentials = 2;
|
|
108
92
|
*/
|
|
109
|
-
|
|
93
|
+
brokerCredentials?: string;
|
|
110
94
|
/**
|
|
111
95
|
* The timestamp when the session expires, if not set, the session never expires (typically the case for long-running stream vertices)
|
|
112
96
|
*
|
|
113
|
-
* @generated from field: optional google.protobuf.Timestamp expires =
|
|
97
|
+
* @generated from field: optional google.protobuf.Timestamp expires = 3;
|
|
114
98
|
*/
|
|
115
99
|
expires?: TimestampJson;
|
|
100
|
+
/**
|
|
101
|
+
* The subscription subject to use for the broker
|
|
102
|
+
*
|
|
103
|
+
* @generated from field: string subject = 4;
|
|
104
|
+
*/
|
|
105
|
+
subject?: string;
|
|
116
106
|
};
|
|
117
107
|
/**
|
|
118
108
|
* Describes the message mochabugapis.adapt.automations.v1.InheritSessionResponse.
|
|
@@ -134,11 +124,18 @@ export type ReadOutputRequest = Message<"mochabugapis.adapt.automations.v1.ReadO
|
|
|
134
124
|
* @generated from field: mochabugapis.adapt.automations.v1.AutomationId automation = 1;
|
|
135
125
|
*/
|
|
136
126
|
automation?: AutomationId;
|
|
127
|
+
/**
|
|
128
|
+
* You can specify a specific node you wan to read the output from as well
|
|
129
|
+
* If not set, it will return all outputs
|
|
130
|
+
*
|
|
131
|
+
* @generated from field: optional string vertex = 2;
|
|
132
|
+
*/
|
|
133
|
+
vertex?: string;
|
|
137
134
|
/**
|
|
138
135
|
* A timestamp to indicate that that the outputs need to be newer than
|
|
139
136
|
* Unset returns everything
|
|
140
137
|
*
|
|
141
|
-
* @generated from field: optional google.protobuf.Timestamp newer_than =
|
|
138
|
+
* @generated from field: optional google.protobuf.Timestamp newer_than = 3;
|
|
142
139
|
*/
|
|
143
140
|
newerThan?: Timestamp;
|
|
144
141
|
};
|
|
@@ -155,11 +152,18 @@ export type ReadOutputRequestJson = {
|
|
|
155
152
|
* @generated from field: mochabugapis.adapt.automations.v1.AutomationId automation = 1;
|
|
156
153
|
*/
|
|
157
154
|
automation?: AutomationIdJson;
|
|
155
|
+
/**
|
|
156
|
+
* You can specify a specific node you wan to read the output from as well
|
|
157
|
+
* If not set, it will return all outputs
|
|
158
|
+
*
|
|
159
|
+
* @generated from field: optional string vertex = 2;
|
|
160
|
+
*/
|
|
161
|
+
vertex?: string;
|
|
158
162
|
/**
|
|
159
163
|
* A timestamp to indicate that that the outputs need to be newer than
|
|
160
164
|
* Unset returns everything
|
|
161
165
|
*
|
|
162
|
-
* @generated from field: optional google.protobuf.Timestamp newer_than =
|
|
166
|
+
* @generated from field: optional google.protobuf.Timestamp newer_than = 3;
|
|
163
167
|
*/
|
|
164
168
|
newerThan?: TimestampJson;
|
|
165
169
|
};
|
|
@@ -331,10 +335,10 @@ export type StartSessionRequest = Message<"mochabugapis.adapt.automations.v1.Sta
|
|
|
331
335
|
* The signals on the transmitter you wish to start with
|
|
332
336
|
* Make sure that they align to the signals JTD schema
|
|
333
337
|
*
|
|
334
|
-
* @generated from field: map<string,
|
|
338
|
+
* @generated from field: map<string, bytes> signals = 3;
|
|
335
339
|
*/
|
|
336
340
|
signals: {
|
|
337
|
-
[key: string]:
|
|
341
|
+
[key: string]: Uint8Array;
|
|
338
342
|
};
|
|
339
343
|
};
|
|
340
344
|
/**
|
|
@@ -359,10 +363,10 @@ export type StartSessionRequestJson = {
|
|
|
359
363
|
* The signals on the transmitter you wish to start with
|
|
360
364
|
* Make sure that they align to the signals JTD schema
|
|
361
365
|
*
|
|
362
|
-
* @generated from field: map<string,
|
|
366
|
+
* @generated from field: map<string, bytes> signals = 3;
|
|
363
367
|
*/
|
|
364
368
|
signals?: {
|
|
365
|
-
[key: string]:
|
|
369
|
+
[key: string]: string;
|
|
366
370
|
};
|
|
367
371
|
};
|
|
368
372
|
/**
|
|
@@ -379,35 +383,30 @@ export declare const StartSessionRequestSchema: GenMessage<StartSessionRequest,
|
|
|
379
383
|
*/
|
|
380
384
|
export type StartSessionResponse = Message<"mochabugapis.adapt.automations.v1.StartSessionResponse"> & {
|
|
381
385
|
/**
|
|
382
|
-
* The
|
|
383
|
-
*
|
|
384
|
-
* @generated from field: mochabugapis.adapt.automations.v1.AutomationId automation = 1;
|
|
385
|
-
*/
|
|
386
|
-
automation?: AutomationId;
|
|
387
|
-
/**
|
|
388
|
-
* The session identifier
|
|
386
|
+
* The access token for the session
|
|
389
387
|
*
|
|
390
|
-
* @generated from field: string
|
|
388
|
+
* @generated from field: string token = 1;
|
|
391
389
|
*/
|
|
392
|
-
|
|
390
|
+
token: string;
|
|
393
391
|
/**
|
|
394
|
-
* The session
|
|
392
|
+
* The credentials you may use to connect to the broker and retrieve the session data
|
|
393
|
+
* in real time
|
|
395
394
|
*
|
|
396
|
-
* @generated from field:
|
|
395
|
+
* @generated from field: bytes broker_credentials = 2;
|
|
397
396
|
*/
|
|
398
|
-
|
|
397
|
+
brokerCredentials: Uint8Array;
|
|
399
398
|
/**
|
|
400
|
-
* The
|
|
399
|
+
* The timestamp when the session expires, if not set, the session never expires (typically the case for long-running stream vertices)
|
|
401
400
|
*
|
|
402
|
-
* @generated from field:
|
|
401
|
+
* @generated from field: optional google.protobuf.Timestamp expires = 3;
|
|
403
402
|
*/
|
|
404
|
-
|
|
403
|
+
expires?: Timestamp;
|
|
405
404
|
/**
|
|
406
|
-
* The
|
|
405
|
+
* The subscription subject to use for the broker
|
|
407
406
|
*
|
|
408
|
-
* @generated from field:
|
|
407
|
+
* @generated from field: string subject = 4;
|
|
409
408
|
*/
|
|
410
|
-
|
|
409
|
+
subject: string;
|
|
411
410
|
};
|
|
412
411
|
/**
|
|
413
412
|
* The start session response
|
|
@@ -416,35 +415,30 @@ export type StartSessionResponse = Message<"mochabugapis.adapt.automations.v1.St
|
|
|
416
415
|
*/
|
|
417
416
|
export type StartSessionResponseJson = {
|
|
418
417
|
/**
|
|
419
|
-
* The
|
|
418
|
+
* The access token for the session
|
|
420
419
|
*
|
|
421
|
-
* @generated from field:
|
|
420
|
+
* @generated from field: string token = 1;
|
|
422
421
|
*/
|
|
423
|
-
|
|
422
|
+
token?: string;
|
|
424
423
|
/**
|
|
425
|
-
* The session
|
|
424
|
+
* The credentials you may use to connect to the broker and retrieve the session data
|
|
425
|
+
* in real time
|
|
426
426
|
*
|
|
427
|
-
* @generated from field:
|
|
427
|
+
* @generated from field: bytes broker_credentials = 2;
|
|
428
428
|
*/
|
|
429
|
-
|
|
429
|
+
brokerCredentials?: string;
|
|
430
430
|
/**
|
|
431
|
-
* The session
|
|
431
|
+
* The timestamp when the session expires, if not set, the session never expires (typically the case for long-running stream vertices)
|
|
432
432
|
*
|
|
433
|
-
* @generated from field:
|
|
433
|
+
* @generated from field: optional google.protobuf.Timestamp expires = 3;
|
|
434
434
|
*/
|
|
435
|
-
|
|
435
|
+
expires?: TimestampJson;
|
|
436
436
|
/**
|
|
437
|
-
* The
|
|
437
|
+
* The subscription subject to use for the broker
|
|
438
438
|
*
|
|
439
|
-
* @generated from field: string
|
|
439
|
+
* @generated from field: string subject = 4;
|
|
440
440
|
*/
|
|
441
|
-
|
|
442
|
-
/**
|
|
443
|
-
* The timestamp when the session expires, if not set, the session never expires (typically the case for long-running stream vertices)
|
|
444
|
-
*
|
|
445
|
-
* @generated from field: optional google.protobuf.Timestamp expires = 5;
|
|
446
|
-
*/
|
|
447
|
-
expires?: TimestampJson;
|
|
441
|
+
subject?: string;
|
|
448
442
|
};
|
|
449
443
|
/**
|
|
450
444
|
* Describes the message mochabugapis.adapt.automations.v1.StartSessionResponse.
|
|
@@ -642,18 +636,24 @@ export type Output = Message<"mochabugapis.adapt.automations.v1.Output"> & {
|
|
|
642
636
|
* @generated from field: string vertex = 1;
|
|
643
637
|
*/
|
|
644
638
|
vertex: string;
|
|
639
|
+
/**
|
|
640
|
+
* The fork id, empty if running on the main path
|
|
641
|
+
*
|
|
642
|
+
* @generated from field: string fork = 2;
|
|
643
|
+
*/
|
|
644
|
+
fork: string;
|
|
645
645
|
/**
|
|
646
646
|
* The actual data that has been output from the vertex
|
|
647
647
|
*
|
|
648
|
-
* @generated from field: map<string,
|
|
648
|
+
* @generated from field: map<string, bytes> data = 3;
|
|
649
649
|
*/
|
|
650
650
|
data: {
|
|
651
|
-
[key: string]:
|
|
651
|
+
[key: string]: Uint8Array;
|
|
652
652
|
};
|
|
653
653
|
/**
|
|
654
654
|
* The timestamp when the output was created
|
|
655
655
|
*
|
|
656
|
-
* @generated from field: google.protobuf.Timestamp created =
|
|
656
|
+
* @generated from field: google.protobuf.Timestamp created = 4;
|
|
657
657
|
*/
|
|
658
658
|
created?: Timestamp;
|
|
659
659
|
};
|
|
@@ -669,18 +669,24 @@ export type OutputJson = {
|
|
|
669
669
|
* @generated from field: string vertex = 1;
|
|
670
670
|
*/
|
|
671
671
|
vertex?: string;
|
|
672
|
+
/**
|
|
673
|
+
* The fork id, empty if running on the main path
|
|
674
|
+
*
|
|
675
|
+
* @generated from field: string fork = 2;
|
|
676
|
+
*/
|
|
677
|
+
fork?: string;
|
|
672
678
|
/**
|
|
673
679
|
* The actual data that has been output from the vertex
|
|
674
680
|
*
|
|
675
|
-
* @generated from field: map<string,
|
|
681
|
+
* @generated from field: map<string, bytes> data = 3;
|
|
676
682
|
*/
|
|
677
683
|
data?: {
|
|
678
|
-
[key: string]:
|
|
684
|
+
[key: string]: string;
|
|
679
685
|
};
|
|
680
686
|
/**
|
|
681
687
|
* The timestamp when the output was created
|
|
682
688
|
*
|
|
683
|
-
* @generated from field: google.protobuf.Timestamp created =
|
|
689
|
+
* @generated from field: google.protobuf.Timestamp created = 4;
|
|
684
690
|
*/
|
|
685
691
|
created?: TimestampJson;
|
|
686
692
|
};
|
|
@@ -703,10 +709,31 @@ export type Url = Message<"mochabugapis.adapt.automations.v1.Url"> & {
|
|
|
703
709
|
* @generated from field: string url = 1;
|
|
704
710
|
*/
|
|
705
711
|
url: string;
|
|
712
|
+
/**
|
|
713
|
+
* The fork id, empty if running on the main path
|
|
714
|
+
*
|
|
715
|
+
* @generated from field: string fork = 2;
|
|
716
|
+
*/
|
|
717
|
+
fork: string;
|
|
718
|
+
/**
|
|
719
|
+
* The vertex id that generated the URL
|
|
720
|
+
*
|
|
721
|
+
* @generated from field: string vertex = 3;
|
|
722
|
+
*/
|
|
723
|
+
vertex: string;
|
|
724
|
+
/**
|
|
725
|
+
* Whether or not the URL is done executing
|
|
726
|
+
* The client should only open URLs that are not done
|
|
727
|
+
* Since the processes are generic, it's possible that a process generates multiple URLs in parallel
|
|
728
|
+
* and the client should only open the ones that are not done
|
|
729
|
+
*
|
|
730
|
+
* @generated from field: bool done = 4;
|
|
731
|
+
*/
|
|
732
|
+
done: boolean;
|
|
706
733
|
/**
|
|
707
734
|
* The timestamp when the URL was created
|
|
708
735
|
*
|
|
709
|
-
* @generated from field: google.protobuf.Timestamp created =
|
|
736
|
+
* @generated from field: google.protobuf.Timestamp created = 5;
|
|
710
737
|
*/
|
|
711
738
|
created?: Timestamp;
|
|
712
739
|
};
|
|
@@ -722,10 +749,31 @@ export type UrlJson = {
|
|
|
722
749
|
* @generated from field: string url = 1;
|
|
723
750
|
*/
|
|
724
751
|
url?: string;
|
|
752
|
+
/**
|
|
753
|
+
* The fork id, empty if running on the main path
|
|
754
|
+
*
|
|
755
|
+
* @generated from field: string fork = 2;
|
|
756
|
+
*/
|
|
757
|
+
fork?: string;
|
|
758
|
+
/**
|
|
759
|
+
* The vertex id that generated the URL
|
|
760
|
+
*
|
|
761
|
+
* @generated from field: string vertex = 3;
|
|
762
|
+
*/
|
|
763
|
+
vertex?: string;
|
|
764
|
+
/**
|
|
765
|
+
* Whether or not the URL is done executing
|
|
766
|
+
* The client should only open URLs that are not done
|
|
767
|
+
* Since the processes are generic, it's possible that a process generates multiple URLs in parallel
|
|
768
|
+
* and the client should only open the ones that are not done
|
|
769
|
+
*
|
|
770
|
+
* @generated from field: bool done = 4;
|
|
771
|
+
*/
|
|
772
|
+
done?: boolean;
|
|
725
773
|
/**
|
|
726
774
|
* The timestamp when the URL was created
|
|
727
775
|
*
|
|
728
|
-
* @generated from field: google.protobuf.Timestamp created =
|
|
776
|
+
* @generated from field: google.protobuf.Timestamp created = 5;
|
|
729
777
|
*/
|
|
730
778
|
created?: TimestampJson;
|
|
731
779
|
};
|
|
@@ -748,16 +796,10 @@ export type Session = Message<"mochabugapis.adapt.automations.v1.Session"> & {
|
|
|
748
796
|
* @generated from field: mochabugapis.adapt.automations.v1.AutomationId automation = 1;
|
|
749
797
|
*/
|
|
750
798
|
automation?: AutomationId;
|
|
751
|
-
/**
|
|
752
|
-
* The actual session
|
|
753
|
-
*
|
|
754
|
-
* @generated from field: string session = 4;
|
|
755
|
-
*/
|
|
756
|
-
session: string;
|
|
757
799
|
/**
|
|
758
800
|
* The status of the session
|
|
759
801
|
*
|
|
760
|
-
* @generated from field: mochabugapis.adapt.automations.v1.Status status =
|
|
802
|
+
* @generated from field: mochabugapis.adapt.automations.v1.Status status = 2;
|
|
761
803
|
*/
|
|
762
804
|
status: Status;
|
|
763
805
|
};
|
|
@@ -773,16 +815,10 @@ export type SessionJson = {
|
|
|
773
815
|
* @generated from field: mochabugapis.adapt.automations.v1.AutomationId automation = 1;
|
|
774
816
|
*/
|
|
775
817
|
automation?: AutomationIdJson;
|
|
776
|
-
/**
|
|
777
|
-
* The actual session
|
|
778
|
-
*
|
|
779
|
-
* @generated from field: string session = 4;
|
|
780
|
-
*/
|
|
781
|
-
session?: string;
|
|
782
818
|
/**
|
|
783
819
|
* The status of the session
|
|
784
820
|
*
|
|
785
|
-
* @generated from field: mochabugapis.adapt.automations.v1.Status status =
|
|
821
|
+
* @generated from field: mochabugapis.adapt.automations.v1.Status status = 2;
|
|
786
822
|
*/
|
|
787
823
|
status?: StatusJson;
|
|
788
824
|
};
|
|
@@ -817,31 +853,37 @@ export declare enum Status {
|
|
|
817
853
|
* @generated from enum value: STATUS_STOPPED = 2;
|
|
818
854
|
*/
|
|
819
855
|
STOPPED = 2,
|
|
856
|
+
/**
|
|
857
|
+
* The session is being stopped
|
|
858
|
+
*
|
|
859
|
+
* @generated from enum value: STATUS_STOPPING = 3;
|
|
860
|
+
*/
|
|
861
|
+
STOPPING = 3,
|
|
820
862
|
/**
|
|
821
863
|
* The session has been completed
|
|
822
864
|
*
|
|
823
|
-
* @generated from enum value: STATUS_COMPLETED =
|
|
865
|
+
* @generated from enum value: STATUS_COMPLETED = 4;
|
|
824
866
|
*/
|
|
825
|
-
COMPLETED =
|
|
867
|
+
COMPLETED = 4,
|
|
826
868
|
/**
|
|
827
869
|
* The session has expired
|
|
828
870
|
*
|
|
829
|
-
* @generated from enum value: STATUS_EXPIRED =
|
|
871
|
+
* @generated from enum value: STATUS_EXPIRED = 5;
|
|
830
872
|
*/
|
|
831
|
-
EXPIRED =
|
|
873
|
+
EXPIRED = 5,
|
|
832
874
|
/**
|
|
833
875
|
* The session has been errored (errors during the runtime)
|
|
834
876
|
*
|
|
835
|
-
* @generated from enum value: STATUS_ERRORED =
|
|
877
|
+
* @generated from enum value: STATUS_ERRORED = 6;
|
|
836
878
|
*/
|
|
837
|
-
ERRORED =
|
|
879
|
+
ERRORED = 6
|
|
838
880
|
}
|
|
839
881
|
/**
|
|
840
882
|
* The session enum status
|
|
841
883
|
*
|
|
842
884
|
* @generated from enum mochabugapis.adapt.automations.v1.Status
|
|
843
885
|
*/
|
|
844
|
-
export type StatusJson = "STATUS_UNSPECIFIED" | "STATUS_RUNNING" | "STATUS_STOPPED" | "STATUS_COMPLETED" | "STATUS_EXPIRED" | "STATUS_ERRORED";
|
|
886
|
+
export type StatusJson = "STATUS_UNSPECIFIED" | "STATUS_RUNNING" | "STATUS_STOPPED" | "STATUS_STOPPING" | "STATUS_COMPLETED" | "STATUS_EXPIRED" | "STATUS_ERRORED";
|
|
845
887
|
/**
|
|
846
888
|
* Describes the enum mochabugapis.adapt.automations.v1.Status.
|
|
847
889
|
*/
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
|
|
2
|
-
import type { Value, ValueJson } from "@bufbuild/protobuf/wkt";
|
|
3
2
|
import type { SignalDescriptor, SignalDescriptorJson } from "./signal_descriptor_pb.js";
|
|
4
3
|
import type { Message } from "@bufbuild/protobuf";
|
|
5
4
|
/**
|
|
@@ -37,9 +36,9 @@ export type SignalBinding = Message<"mochabugapis.adapt.graph.SignalBinding"> &
|
|
|
37
36
|
/**
|
|
38
37
|
* A constant value (must validate against the descriptor)
|
|
39
38
|
*
|
|
40
|
-
* @generated from field:
|
|
39
|
+
* @generated from field: bytes constant = 3;
|
|
41
40
|
*/
|
|
42
|
-
value:
|
|
41
|
+
value: Uint8Array;
|
|
43
42
|
case: "constant";
|
|
44
43
|
} | {
|
|
45
44
|
case: undefined;
|
|
@@ -74,9 +73,9 @@ export type SignalBindingJson = {
|
|
|
74
73
|
/**
|
|
75
74
|
* A constant value (must validate against the descriptor)
|
|
76
75
|
*
|
|
77
|
-
* @generated from field:
|
|
76
|
+
* @generated from field: bytes constant = 3;
|
|
78
77
|
*/
|
|
79
|
-
constant?:
|
|
78
|
+
constant?: string;
|
|
80
79
|
/**
|
|
81
80
|
* The binding may also have one of the 3 error codes
|
|
82
81
|
*
|
|
@@ -30,7 +30,8 @@ export type SignalDescriptor = Message<"mochabugapis.adapt.graph.SignalDescripto
|
|
|
30
30
|
*/
|
|
31
31
|
description?: string;
|
|
32
32
|
/**
|
|
33
|
-
* Schema definition for the signal,
|
|
33
|
+
* Schema definition for the signal, must follow the JTD definition found here: https://www.rfc-editor.org/rfc/rfc8927.
|
|
34
|
+
* Defaults to the empty schema that can validate everything
|
|
34
35
|
*
|
|
35
36
|
* @generated from field: mochabugapis.adapt.graph.JTDSchema schema = 3;
|
|
36
37
|
*/
|
|
@@ -67,7 +68,8 @@ export type SignalDescriptorJson = {
|
|
|
67
68
|
*/
|
|
68
69
|
description?: string;
|
|
69
70
|
/**
|
|
70
|
-
* Schema definition for the signal,
|
|
71
|
+
* Schema definition for the signal, must follow the JTD definition found here: https://www.rfc-editor.org/rfc/rfc8927.
|
|
72
|
+
* Defaults to the empty schema that can validate everything
|
|
71
73
|
*
|
|
72
74
|
* @generated from field: mochabugapis.adapt.graph.JTDSchema schema = 3;
|
|
73
75
|
*/
|
|
@@ -20,12 +20,6 @@ export type TlsDefinition = Message<"mochabugapis.adapt.plugins.v1.TlsDefinition
|
|
|
20
20
|
* @generated from field: mochabugapis.adapt.plugins.v1.TlsDefinition.Mode mode = 1;
|
|
21
21
|
*/
|
|
22
22
|
mode: TlsDefinition_Mode;
|
|
23
|
-
/**
|
|
24
|
-
* The optional default value
|
|
25
|
-
*
|
|
26
|
-
* @generated from field: optional mochabugapis.adapt.plugins.v1.TlsConfig default = 2;
|
|
27
|
-
*/
|
|
28
|
-
default?: TlsConfig;
|
|
29
23
|
};
|
|
30
24
|
/**
|
|
31
25
|
* TlsConfig configures the TLS behavior for the connection.
|
|
@@ -42,12 +36,6 @@ export type TlsDefinitionJson = {
|
|
|
42
36
|
* @generated from field: mochabugapis.adapt.plugins.v1.TlsDefinition.Mode mode = 1;
|
|
43
37
|
*/
|
|
44
38
|
mode?: TlsDefinition_ModeJson;
|
|
45
|
-
/**
|
|
46
|
-
* The optional default value
|
|
47
|
-
*
|
|
48
|
-
* @generated from field: optional mochabugapis.adapt.plugins.v1.TlsConfig default = 2;
|
|
49
|
-
*/
|
|
50
|
-
default?: TlsConfigJson;
|
|
51
39
|
};
|
|
52
40
|
/**
|
|
53
41
|
* Describes the message mochabugapis.adapt.plugins.v1.TlsDefinition.
|
|
@@ -79,6 +79,14 @@ export type Vertex = Message<"mochabugapis.adapt.plugins.v1.Vertex"> & {
|
|
|
79
79
|
* @generated from field: repeated mochabugapis.adapt.plugins.v1.ServiceBinding user_services = 8;
|
|
80
80
|
*/
|
|
81
81
|
userServices: ServiceBinding[];
|
|
82
|
+
/**
|
|
83
|
+
* 'deprecated' is a boolean that indicates if the vertex is deprecated
|
|
84
|
+
* this means that it will be removed in the next major version
|
|
85
|
+
* and should be migrated asap
|
|
86
|
+
*
|
|
87
|
+
* @generated from field: optional bool deprecated = 9;
|
|
88
|
+
*/
|
|
89
|
+
deprecated?: boolean;
|
|
82
90
|
};
|
|
83
91
|
/**
|
|
84
92
|
* Vertex represents a graph vertex that defines a plugin.
|
|
@@ -154,6 +162,14 @@ export type VertexJson = {
|
|
|
154
162
|
* @generated from field: repeated mochabugapis.adapt.plugins.v1.ServiceBinding user_services = 8;
|
|
155
163
|
*/
|
|
156
164
|
userServices?: ServiceBindingJson[];
|
|
165
|
+
/**
|
|
166
|
+
* 'deprecated' is a boolean that indicates if the vertex is deprecated
|
|
167
|
+
* this means that it will be removed in the next major version
|
|
168
|
+
* and should be migrated asap
|
|
169
|
+
*
|
|
170
|
+
* @generated from field: optional bool deprecated = 9;
|
|
171
|
+
*/
|
|
172
|
+
deprecated?: boolean;
|
|
157
173
|
};
|
|
158
174
|
/**
|
|
159
175
|
* Describes the message mochabugapis.adapt.plugins.v1.Vertex.
|