@code0-tech/tucana 0.0.68 → 0.0.69
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/aquila.cjs.js +1 -1
- package/dist/aquila.es.js +252 -617
- package/dist/pb/_generated/aquila.action_pb.client.d.ts +3 -3
- package/dist/pb/_generated/aquila.action_pb.d.ts +46 -119
- package/dist/pb/_generated/{aquila.flow_type_pb.client.d.ts → aquila.module_pb.client.d.ts} +9 -9
- package/dist/pb/_generated/aquila.module_pb.d.ts +54 -0
- package/dist/pb/_generated/aquila.runtime_status_pb.d.ts +7 -1
- package/dist/pb/_generated/sagittarius.flow_pb.d.ts +5 -5
- package/dist/pb/_generated/{sagittarius.flow_type_pb.client.d.ts → sagittarius.module_pb.client.d.ts} +7 -7
- package/dist/pb/_generated/sagittarius.module_pb.d.ts +59 -0
- package/dist/pb/_generated/sagittarius.runtime_status_pb.d.ts +12 -1
- package/dist/pb/_generated/sagittarius.runtime_usage_pb.d.ts +5 -0
- package/dist/pb/_generated/sagittarius.text_execution_pb.d.ts +5 -163
- package/dist/pb/_generated/shared.errors_pb.d.ts +122 -0
- package/dist/pb/_generated/shared.execution_result_pb.d.ts +131 -0
- package/dist/pb/_generated/shared.flow_pb.d.ts +83 -5
- package/dist/pb/_generated/{shared.flow_definition_pb.d.ts → shared.flow_type_pb.d.ts} +12 -0
- package/dist/pb/_generated/shared.function_pb.d.ts +4 -0
- package/dist/pb/_generated/shared.module_pb.d.ts +196 -0
- package/dist/pb/_generated/shared.runtime_flow_type_pb.d.ts +136 -0
- package/dist/pb/_generated/shared.runtime_function_pb.d.ts +4 -0
- package/dist/pb/_generated/shared.runtime_status_pb.d.ts +95 -32
- package/dist/pb/aquila.d.ts +2 -8
- package/dist/pb/sagittarius.d.ts +2 -10
- package/dist/pb/shared.d.ts +5 -2
- package/dist/{rpc-interceptor-CMOWd86Q.cjs → rpc-interceptor-4ZNqeHp7.cjs} +1 -1
- package/dist/{rpc-interceptor-DTRGJkmz.js → rpc-interceptor-DpAjfIVk.js} +1 -1
- package/dist/sagittarius.cjs.js +1 -1
- package/dist/sagittarius.es.js +366 -996
- package/dist/shared.cjs.js +1 -1
- package/dist/shared.es.js +3 -3
- package/dist/shared.flow_pb-CAu-uZAs.cjs +1 -0
- package/dist/shared.flow_pb-YdrVU_yH.js +877 -0
- package/dist/shared.runtime_usage_pb-6pp995qK.cjs +2 -0
- package/dist/{shared.runtime_usage_pb-C4_UdBmo.js → shared.runtime_usage_pb-Qa9pCiee.js} +2099 -1057
- package/package.json +1 -1
- package/dist/pb/_generated/aquila.data_type_pb.client.d.ts +0 -27
- package/dist/pb/_generated/aquila.data_type_pb.d.ts +0 -54
- package/dist/pb/_generated/aquila.flow_type_pb.d.ts +0 -54
- package/dist/pb/_generated/aquila.function_pb.client.d.ts +0 -31
- package/dist/pb/_generated/aquila.function_pb.d.ts +0 -54
- package/dist/pb/_generated/aquila.runtime_function_pb.client.d.ts +0 -31
- package/dist/pb/_generated/aquila.runtime_function_pb.d.ts +0 -54
- package/dist/pb/_generated/sagittarius.action_configuration_pb.client.d.ts +0 -27
- package/dist/pb/_generated/sagittarius.action_configuration_pb.d.ts +0 -60
- package/dist/pb/_generated/sagittarius.data_type_pb.client.d.ts +0 -27
- package/dist/pb/_generated/sagittarius.data_type_pb.d.ts +0 -54
- package/dist/pb/_generated/sagittarius.flow_type_pb.d.ts +0 -54
- package/dist/pb/_generated/sagittarius.function_pb.client.d.ts +0 -31
- package/dist/pb/_generated/sagittarius.function_pb.d.ts +0 -54
- package/dist/pb/_generated/sagittarius.runtime_function_pb.client.d.ts +0 -31
- package/dist/pb/_generated/sagittarius.runtime_function_pb.d.ts +0 -54
- package/dist/pb/_generated/shared.action_configuration_pb.d.ts +0 -120
- package/dist/shared.flow_pb-B3074C-y.js +0 -717
- package/dist/shared.flow_pb-CWFj5vbi.cjs +0 -1
- package/dist/shared.runtime_usage_pb-D4aGN4uQ.cjs +0 -2
package/dist/sagittarius.es.js
CHANGED
|
@@ -1,210 +1,33 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { n as
|
|
4
|
-
var
|
|
5
|
-
constructor() {
|
|
6
|
-
super("sagittarius.ActionConfigurationUpdateRequest", [{
|
|
7
|
-
no: 1,
|
|
8
|
-
name: "action_identifier",
|
|
9
|
-
kind: "scalar",
|
|
10
|
-
T: 9
|
|
11
|
-
}, {
|
|
12
|
-
no: 2,
|
|
13
|
-
name: "action_configurations",
|
|
14
|
-
kind: "message",
|
|
15
|
-
repeat: 2,
|
|
16
|
-
T: () => i
|
|
17
|
-
}]);
|
|
18
|
-
}
|
|
19
|
-
create(e) {
|
|
20
|
-
let t = globalThis.Object.create(this.messagePrototype);
|
|
21
|
-
return t.actionIdentifier = "", t.actionConfigurations = [], e !== void 0 && r(this, t, e), t;
|
|
22
|
-
}
|
|
23
|
-
internalBinaryRead(e, n, r, a) {
|
|
24
|
-
let o = a ?? this.create(), s = e.pos + n;
|
|
25
|
-
for (; e.pos < s;) {
|
|
26
|
-
let [n, a] = e.tag();
|
|
27
|
-
switch (n) {
|
|
28
|
-
case 1:
|
|
29
|
-
o.actionIdentifier = e.string();
|
|
30
|
-
break;
|
|
31
|
-
case 2:
|
|
32
|
-
o.actionConfigurations.push(i.internalBinaryRead(e, e.uint32(), r));
|
|
33
|
-
break;
|
|
34
|
-
default:
|
|
35
|
-
let s = r.readUnknownField;
|
|
36
|
-
if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${a}) for ${this.typeName}`);
|
|
37
|
-
let c = e.skip(a);
|
|
38
|
-
s !== !1 && (s === !0 ? t.onRead : s)(this.typeName, o, n, a, c);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
return o;
|
|
42
|
-
}
|
|
43
|
-
internalBinaryWrite(e, r, a) {
|
|
44
|
-
e.actionIdentifier !== "" && r.tag(1, n.LengthDelimited).string(e.actionIdentifier);
|
|
45
|
-
for (let t = 0; t < e.actionConfigurations.length; t++) i.internalBinaryWrite(e.actionConfigurations[t], r.tag(2, n.LengthDelimited).fork(), a).join();
|
|
46
|
-
let o = a.writeUnknownFields;
|
|
47
|
-
return o !== !1 && (o == 1 ? t.onWrite : o)(this.typeName, e, r), r;
|
|
48
|
-
}
|
|
49
|
-
}(), y = new class extends l {
|
|
50
|
-
constructor() {
|
|
51
|
-
super("sagittarius.ActionConfigurationUpdateResponse", [{
|
|
52
|
-
no: 1,
|
|
53
|
-
name: "success",
|
|
54
|
-
kind: "scalar",
|
|
55
|
-
T: 8
|
|
56
|
-
}]);
|
|
57
|
-
}
|
|
58
|
-
create(e) {
|
|
59
|
-
let t = globalThis.Object.create(this.messagePrototype);
|
|
60
|
-
return t.success = !1, e !== void 0 && r(this, t, e), t;
|
|
61
|
-
}
|
|
62
|
-
internalBinaryRead(e, n, r, i) {
|
|
63
|
-
let a = i ?? this.create(), o = e.pos + n;
|
|
64
|
-
for (; e.pos < o;) {
|
|
65
|
-
let [n, i] = e.tag();
|
|
66
|
-
switch (n) {
|
|
67
|
-
case 1:
|
|
68
|
-
a.success = e.bool();
|
|
69
|
-
break;
|
|
70
|
-
default:
|
|
71
|
-
let o = r.readUnknownField;
|
|
72
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
73
|
-
let s = e.skip(i);
|
|
74
|
-
o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
return a;
|
|
78
|
-
}
|
|
79
|
-
internalBinaryWrite(e, r, i) {
|
|
80
|
-
e.success !== !1 && r.tag(1, n.Varint).bool(e.success);
|
|
81
|
-
let a = i.writeUnknownFields;
|
|
82
|
-
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
|
|
83
|
-
}
|
|
84
|
-
}(), b = new g("sagittarius.ActionConfigurationService", [{
|
|
85
|
-
name: "Update",
|
|
86
|
-
options: {},
|
|
87
|
-
I: v,
|
|
88
|
-
O: y
|
|
89
|
-
}]), ee = class {
|
|
90
|
-
constructor(e) {
|
|
91
|
-
this._transport = e, this.typeName = b.typeName, this.methods = b.methods, this.options = b.options;
|
|
92
|
-
}
|
|
93
|
-
update(e, t) {
|
|
94
|
-
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
95
|
-
return _("unary", this._transport, n, r, e);
|
|
96
|
-
}
|
|
97
|
-
}, x = new class extends l {
|
|
98
|
-
constructor() {
|
|
99
|
-
super("sagittarius.DataTypeUpdateRequest", [{
|
|
100
|
-
no: 1,
|
|
101
|
-
name: "data_types",
|
|
102
|
-
kind: "message",
|
|
103
|
-
repeat: 2,
|
|
104
|
-
T: () => a
|
|
105
|
-
}]);
|
|
106
|
-
}
|
|
107
|
-
create(e) {
|
|
108
|
-
let t = globalThis.Object.create(this.messagePrototype);
|
|
109
|
-
return t.dataTypes = [], e !== void 0 && r(this, t, e), t;
|
|
110
|
-
}
|
|
111
|
-
internalBinaryRead(e, n, r, i) {
|
|
112
|
-
let o = i ?? this.create(), s = e.pos + n;
|
|
113
|
-
for (; e.pos < s;) {
|
|
114
|
-
let [n, i] = e.tag();
|
|
115
|
-
switch (n) {
|
|
116
|
-
case 1:
|
|
117
|
-
o.dataTypes.push(a.internalBinaryRead(e, e.uint32(), r));
|
|
118
|
-
break;
|
|
119
|
-
default:
|
|
120
|
-
let s = r.readUnknownField;
|
|
121
|
-
if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
122
|
-
let c = e.skip(i);
|
|
123
|
-
s !== !1 && (s === !0 ? t.onRead : s)(this.typeName, o, n, i, c);
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
return o;
|
|
127
|
-
}
|
|
128
|
-
internalBinaryWrite(e, r, i) {
|
|
129
|
-
for (let t = 0; t < e.dataTypes.length; t++) a.internalBinaryWrite(e.dataTypes[t], r.tag(1, n.LengthDelimited).fork(), i).join();
|
|
130
|
-
let o = i.writeUnknownFields;
|
|
131
|
-
return o !== !1 && (o == 1 ? t.onWrite : o)(this.typeName, e, r), r;
|
|
132
|
-
}
|
|
133
|
-
}(), S = new class extends l {
|
|
134
|
-
constructor() {
|
|
135
|
-
super("sagittarius.DataTypeUpdateResponse", [{
|
|
136
|
-
no: 1,
|
|
137
|
-
name: "success",
|
|
138
|
-
kind: "scalar",
|
|
139
|
-
T: 8
|
|
140
|
-
}]);
|
|
141
|
-
}
|
|
142
|
-
create(e) {
|
|
143
|
-
let t = globalThis.Object.create(this.messagePrototype);
|
|
144
|
-
return t.success = !1, e !== void 0 && r(this, t, e), t;
|
|
145
|
-
}
|
|
146
|
-
internalBinaryRead(e, n, r, i) {
|
|
147
|
-
let a = i ?? this.create(), o = e.pos + n;
|
|
148
|
-
for (; e.pos < o;) {
|
|
149
|
-
let [n, i] = e.tag();
|
|
150
|
-
switch (n) {
|
|
151
|
-
case 1:
|
|
152
|
-
a.success = e.bool();
|
|
153
|
-
break;
|
|
154
|
-
default:
|
|
155
|
-
let o = r.readUnknownField;
|
|
156
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
157
|
-
let s = e.skip(i);
|
|
158
|
-
o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
return a;
|
|
162
|
-
}
|
|
163
|
-
internalBinaryWrite(e, r, i) {
|
|
164
|
-
e.success !== !1 && r.tag(1, n.Varint).bool(e.success);
|
|
165
|
-
let a = i.writeUnknownFields;
|
|
166
|
-
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
|
|
167
|
-
}
|
|
168
|
-
}(), C = new g("sagittarius.DataTypeService", [{
|
|
169
|
-
name: "Update",
|
|
170
|
-
options: {},
|
|
171
|
-
I: x,
|
|
172
|
-
O: S
|
|
173
|
-
}]), te = class {
|
|
174
|
-
constructor(e) {
|
|
175
|
-
this._transport = e, this.typeName = C.typeName, this.methods = C.methods, this.options = C.options;
|
|
176
|
-
}
|
|
177
|
-
update(e, t) {
|
|
178
|
-
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
179
|
-
return _("unary", this._transport, n, r, e);
|
|
180
|
-
}
|
|
181
|
-
}, w = new class extends l {
|
|
1
|
+
import { A as e, G as t, I as n, J as r, T as i, W as a, Y as o, a as s, c, n as l, p as u, t as d, u as f } from "./shared.runtime_usage_pb-Qa9pCiee.js";
|
|
2
|
+
import { i as p, p as m } from "./shared.flow_pb-YdrVU_yH.js";
|
|
3
|
+
import { n as h, t as g } from "./rpc-interceptor-DpAjfIVk.js";
|
|
4
|
+
var _ = new class extends a {
|
|
182
5
|
constructor() {
|
|
183
6
|
super("sagittarius.FlowLogonRequest", []);
|
|
184
7
|
}
|
|
185
8
|
create(e) {
|
|
186
|
-
let
|
|
187
|
-
return e !== void 0 &&
|
|
9
|
+
let n = globalThis.Object.create(this.messagePrototype);
|
|
10
|
+
return e !== void 0 && t(this, n, e), n;
|
|
188
11
|
}
|
|
189
|
-
internalBinaryRead(e,
|
|
190
|
-
let a = i ?? this.create(), o = e.pos +
|
|
12
|
+
internalBinaryRead(e, t, n, i) {
|
|
13
|
+
let a = i ?? this.create(), o = e.pos + t;
|
|
191
14
|
for (; e.pos < o;) {
|
|
192
|
-
let [
|
|
193
|
-
switch (
|
|
15
|
+
let [t, i] = e.tag();
|
|
16
|
+
switch (t) {
|
|
194
17
|
default:
|
|
195
|
-
let o =
|
|
196
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${
|
|
18
|
+
let o = n.readUnknownField;
|
|
19
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${i}) for ${this.typeName}`);
|
|
197
20
|
let s = e.skip(i);
|
|
198
|
-
o !== !1 && (o === !0 ?
|
|
21
|
+
o !== !1 && (o === !0 ? r.onRead : o)(this.typeName, a, t, i, s);
|
|
199
22
|
}
|
|
200
23
|
}
|
|
201
24
|
return a;
|
|
202
25
|
}
|
|
203
|
-
internalBinaryWrite(e,
|
|
204
|
-
let i =
|
|
205
|
-
return i !== !1 && (i == 1 ?
|
|
26
|
+
internalBinaryWrite(e, t, n) {
|
|
27
|
+
let i = n.writeUnknownFields;
|
|
28
|
+
return i !== !1 && (i == 1 ? r.onWrite : i)(this.typeName, e, t), t;
|
|
206
29
|
}
|
|
207
|
-
}(),
|
|
30
|
+
}(), v = new class extends a {
|
|
208
31
|
constructor() {
|
|
209
32
|
super("sagittarius.FlowResponse", [
|
|
210
33
|
{
|
|
@@ -227,1070 +50,617 @@ var v = new class extends l {
|
|
|
227
50
|
name: "flows",
|
|
228
51
|
kind: "message",
|
|
229
52
|
oneof: "data",
|
|
230
|
-
T: () =>
|
|
53
|
+
T: () => p
|
|
231
54
|
},
|
|
232
55
|
{
|
|
233
56
|
no: 4,
|
|
234
|
-
name: "
|
|
57
|
+
name: "module_configurations",
|
|
235
58
|
kind: "message",
|
|
236
59
|
oneof: "data",
|
|
237
|
-
T: () =>
|
|
60
|
+
T: () => u
|
|
238
61
|
}
|
|
239
62
|
]);
|
|
240
63
|
}
|
|
241
64
|
create(e) {
|
|
242
|
-
let
|
|
243
|
-
return
|
|
244
|
-
}
|
|
245
|
-
internalBinaryRead(
|
|
246
|
-
let
|
|
247
|
-
for (;
|
|
248
|
-
let [
|
|
249
|
-
switch (
|
|
65
|
+
let n = globalThis.Object.create(this.messagePrototype);
|
|
66
|
+
return n.data = { oneofKind: void 0 }, e !== void 0 && t(this, n, e), n;
|
|
67
|
+
}
|
|
68
|
+
internalBinaryRead(e, t, n, i) {
|
|
69
|
+
let a = i ?? this.create(), o = e.pos + t;
|
|
70
|
+
for (; e.pos < o;) {
|
|
71
|
+
let [t, i] = e.tag();
|
|
72
|
+
switch (t) {
|
|
250
73
|
case 1:
|
|
251
|
-
|
|
74
|
+
a.data = {
|
|
252
75
|
oneofKind: "updatedFlow",
|
|
253
|
-
updatedFlow: m.internalBinaryRead(
|
|
76
|
+
updatedFlow: m.internalBinaryRead(e, e.uint32(), n, a.data.updatedFlow)
|
|
254
77
|
};
|
|
255
78
|
break;
|
|
256
79
|
case 2:
|
|
257
|
-
|
|
80
|
+
a.data = {
|
|
258
81
|
oneofKind: "deletedFlowId",
|
|
259
|
-
deletedFlowId:
|
|
82
|
+
deletedFlowId: e.int64().toBigInt()
|
|
260
83
|
};
|
|
261
84
|
break;
|
|
262
85
|
case 3:
|
|
263
|
-
|
|
86
|
+
a.data = {
|
|
264
87
|
oneofKind: "flows",
|
|
265
|
-
flows:
|
|
88
|
+
flows: p.internalBinaryRead(e, e.uint32(), n, a.data.flows)
|
|
266
89
|
};
|
|
267
90
|
break;
|
|
268
91
|
case 4:
|
|
269
|
-
|
|
270
|
-
oneofKind: "
|
|
271
|
-
|
|
272
|
-
};
|
|
273
|
-
break;
|
|
274
|
-
default:
|
|
275
|
-
let s = i.readUnknownField;
|
|
276
|
-
if (s === "throw") throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);
|
|
277
|
-
let c = n.skip(a);
|
|
278
|
-
s !== !1 && (s === !0 ? t.onRead : s)(this.typeName, o, r, a, c);
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
return o;
|
|
282
|
-
}
|
|
283
|
-
internalBinaryWrite(r, i, a) {
|
|
284
|
-
r.data.oneofKind === "updatedFlow" && m.internalBinaryWrite(r.data.updatedFlow, i.tag(1, n.LengthDelimited).fork(), a).join(), r.data.oneofKind === "deletedFlowId" && i.tag(2, n.Varint).int64(r.data.deletedFlowId), r.data.oneofKind === "flows" && h.internalBinaryWrite(r.data.flows, i.tag(3, n.LengthDelimited).fork(), a).join(), r.data.oneofKind === "actionConfigurations" && e.internalBinaryWrite(r.data.actionConfigurations, i.tag(4, n.LengthDelimited).fork(), a).join();
|
|
285
|
-
let o = a.writeUnknownFields;
|
|
286
|
-
return o !== !1 && (o == 1 ? t.onWrite : o)(this.typeName, r, i), i;
|
|
287
|
-
}
|
|
288
|
-
}(), E = new g("sagittarius.FlowService", [{
|
|
289
|
-
name: "Update",
|
|
290
|
-
serverStreaming: !0,
|
|
291
|
-
options: {},
|
|
292
|
-
I: w,
|
|
293
|
-
O: T
|
|
294
|
-
}]), ne = class {
|
|
295
|
-
constructor(e) {
|
|
296
|
-
this._transport = e, this.typeName = E.typeName, this.methods = E.methods, this.options = E.options;
|
|
297
|
-
}
|
|
298
|
-
update(e, t) {
|
|
299
|
-
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
300
|
-
return _("serverStreaming", this._transport, n, r, e);
|
|
301
|
-
}
|
|
302
|
-
}, D = new class extends l {
|
|
303
|
-
constructor() {
|
|
304
|
-
super("sagittarius.FlowTypeUpdateRequest", [{
|
|
305
|
-
no: 1,
|
|
306
|
-
name: "flow_types",
|
|
307
|
-
kind: "message",
|
|
308
|
-
repeat: 2,
|
|
309
|
-
T: () => c
|
|
310
|
-
}]);
|
|
311
|
-
}
|
|
312
|
-
create(e) {
|
|
313
|
-
let t = globalThis.Object.create(this.messagePrototype);
|
|
314
|
-
return t.flowTypes = [], e !== void 0 && r(this, t, e), t;
|
|
315
|
-
}
|
|
316
|
-
internalBinaryRead(e, n, r, i) {
|
|
317
|
-
let a = i ?? this.create(), o = e.pos + n;
|
|
318
|
-
for (; e.pos < o;) {
|
|
319
|
-
let [n, i] = e.tag();
|
|
320
|
-
switch (n) {
|
|
321
|
-
case 1:
|
|
322
|
-
a.flowTypes.push(c.internalBinaryRead(e, e.uint32(), r));
|
|
323
|
-
break;
|
|
324
|
-
default:
|
|
325
|
-
let o = r.readUnknownField;
|
|
326
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
327
|
-
let s = e.skip(i);
|
|
328
|
-
o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
return a;
|
|
332
|
-
}
|
|
333
|
-
internalBinaryWrite(e, r, i) {
|
|
334
|
-
for (let t = 0; t < e.flowTypes.length; t++) c.internalBinaryWrite(e.flowTypes[t], r.tag(1, n.LengthDelimited).fork(), i).join();
|
|
335
|
-
let a = i.writeUnknownFields;
|
|
336
|
-
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
|
|
337
|
-
}
|
|
338
|
-
}(), O = new class extends l {
|
|
339
|
-
constructor() {
|
|
340
|
-
super("sagittarius.FlowTypeUpdateResponse", [{
|
|
341
|
-
no: 1,
|
|
342
|
-
name: "success",
|
|
343
|
-
kind: "scalar",
|
|
344
|
-
T: 8
|
|
345
|
-
}]);
|
|
346
|
-
}
|
|
347
|
-
create(e) {
|
|
348
|
-
let t = globalThis.Object.create(this.messagePrototype);
|
|
349
|
-
return t.success = !1, e !== void 0 && r(this, t, e), t;
|
|
350
|
-
}
|
|
351
|
-
internalBinaryRead(e, n, r, i) {
|
|
352
|
-
let a = i ?? this.create(), o = e.pos + n;
|
|
353
|
-
for (; e.pos < o;) {
|
|
354
|
-
let [n, i] = e.tag();
|
|
355
|
-
switch (n) {
|
|
356
|
-
case 1:
|
|
357
|
-
a.success = e.bool();
|
|
358
|
-
break;
|
|
359
|
-
default:
|
|
360
|
-
let o = r.readUnknownField;
|
|
361
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
362
|
-
let s = e.skip(i);
|
|
363
|
-
o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
return a;
|
|
367
|
-
}
|
|
368
|
-
internalBinaryWrite(e, r, i) {
|
|
369
|
-
e.success !== !1 && r.tag(1, n.Varint).bool(e.success);
|
|
370
|
-
let a = i.writeUnknownFields;
|
|
371
|
-
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
|
|
372
|
-
}
|
|
373
|
-
}(), k = new g("sagittarius.FlowTypeService", [{
|
|
374
|
-
name: "Update",
|
|
375
|
-
options: {},
|
|
376
|
-
I: D,
|
|
377
|
-
O
|
|
378
|
-
}]), re = class {
|
|
379
|
-
constructor(e) {
|
|
380
|
-
this._transport = e, this.typeName = k.typeName, this.methods = k.methods, this.options = k.options;
|
|
381
|
-
}
|
|
382
|
-
update(e, t) {
|
|
383
|
-
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
384
|
-
return _("unary", this._transport, n, r, e);
|
|
385
|
-
}
|
|
386
|
-
}, A = new class extends l {
|
|
387
|
-
constructor() {
|
|
388
|
-
super("sagittarius.FunctionDefinitionUpdateRequest", [{
|
|
389
|
-
no: 1,
|
|
390
|
-
name: "functions",
|
|
391
|
-
kind: "message",
|
|
392
|
-
repeat: 2,
|
|
393
|
-
T: () => p
|
|
394
|
-
}]);
|
|
395
|
-
}
|
|
396
|
-
create(e) {
|
|
397
|
-
let t = globalThis.Object.create(this.messagePrototype);
|
|
398
|
-
return t.functions = [], e !== void 0 && r(this, t, e), t;
|
|
399
|
-
}
|
|
400
|
-
internalBinaryRead(e, n, r, i) {
|
|
401
|
-
let a = i ?? this.create(), o = e.pos + n;
|
|
402
|
-
for (; e.pos < o;) {
|
|
403
|
-
let [n, i] = e.tag();
|
|
404
|
-
switch (n) {
|
|
405
|
-
case 1:
|
|
406
|
-
a.functions.push(p.internalBinaryRead(e, e.uint32(), r));
|
|
407
|
-
break;
|
|
408
|
-
default:
|
|
409
|
-
let o = r.readUnknownField;
|
|
410
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
411
|
-
let s = e.skip(i);
|
|
412
|
-
o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
|
|
413
|
-
}
|
|
414
|
-
}
|
|
415
|
-
return a;
|
|
416
|
-
}
|
|
417
|
-
internalBinaryWrite(e, r, i) {
|
|
418
|
-
for (let t = 0; t < e.functions.length; t++) p.internalBinaryWrite(e.functions[t], r.tag(1, n.LengthDelimited).fork(), i).join();
|
|
419
|
-
let a = i.writeUnknownFields;
|
|
420
|
-
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
|
|
421
|
-
}
|
|
422
|
-
}(), j = new class extends l {
|
|
423
|
-
constructor() {
|
|
424
|
-
super("sagittarius.FunctionDefinitionUpdateResponse", [{
|
|
425
|
-
no: 1,
|
|
426
|
-
name: "success",
|
|
427
|
-
kind: "scalar",
|
|
428
|
-
T: 8
|
|
429
|
-
}]);
|
|
430
|
-
}
|
|
431
|
-
create(e) {
|
|
432
|
-
let t = globalThis.Object.create(this.messagePrototype);
|
|
433
|
-
return t.success = !1, e !== void 0 && r(this, t, e), t;
|
|
434
|
-
}
|
|
435
|
-
internalBinaryRead(e, n, r, i) {
|
|
436
|
-
let a = i ?? this.create(), o = e.pos + n;
|
|
437
|
-
for (; e.pos < o;) {
|
|
438
|
-
let [n, i] = e.tag();
|
|
439
|
-
switch (n) {
|
|
440
|
-
case 1:
|
|
441
|
-
a.success = e.bool();
|
|
442
|
-
break;
|
|
443
|
-
default:
|
|
444
|
-
let o = r.readUnknownField;
|
|
445
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
446
|
-
let s = e.skip(i);
|
|
447
|
-
o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
return a;
|
|
451
|
-
}
|
|
452
|
-
internalBinaryWrite(e, r, i) {
|
|
453
|
-
e.success !== !1 && r.tag(1, n.Varint).bool(e.success);
|
|
454
|
-
let a = i.writeUnknownFields;
|
|
455
|
-
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
|
|
456
|
-
}
|
|
457
|
-
}(), M = new g("sagittarius.FunctionDefinitionService", [{
|
|
458
|
-
name: "Update",
|
|
459
|
-
options: {},
|
|
460
|
-
I: A,
|
|
461
|
-
O: j
|
|
462
|
-
}]), ie = class {
|
|
463
|
-
constructor(e) {
|
|
464
|
-
this._transport = e, this.typeName = M.typeName, this.methods = M.methods, this.options = M.options;
|
|
465
|
-
}
|
|
466
|
-
update(e, t) {
|
|
467
|
-
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
468
|
-
return _("unary", this._transport, n, r, e);
|
|
469
|
-
}
|
|
470
|
-
}, N = new class extends l {
|
|
471
|
-
constructor() {
|
|
472
|
-
super("sagittarius.PingMessage", [{
|
|
473
|
-
no: 1,
|
|
474
|
-
name: "ping_id",
|
|
475
|
-
kind: "scalar",
|
|
476
|
-
T: 3,
|
|
477
|
-
L: 0
|
|
478
|
-
}]);
|
|
479
|
-
}
|
|
480
|
-
create(e) {
|
|
481
|
-
let t = globalThis.Object.create(this.messagePrototype);
|
|
482
|
-
return t.pingId = 0n, e !== void 0 && r(this, t, e), t;
|
|
483
|
-
}
|
|
484
|
-
internalBinaryRead(e, n, r, i) {
|
|
485
|
-
let a = i ?? this.create(), o = e.pos + n;
|
|
486
|
-
for (; e.pos < o;) {
|
|
487
|
-
let [n, i] = e.tag();
|
|
488
|
-
switch (n) {
|
|
489
|
-
case 1:
|
|
490
|
-
a.pingId = e.int64().toBigInt();
|
|
491
|
-
break;
|
|
492
|
-
default:
|
|
493
|
-
let o = r.readUnknownField;
|
|
494
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
495
|
-
let s = e.skip(i);
|
|
496
|
-
o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
|
|
497
|
-
}
|
|
498
|
-
}
|
|
499
|
-
return a;
|
|
500
|
-
}
|
|
501
|
-
internalBinaryWrite(e, r, i) {
|
|
502
|
-
e.pingId !== 0n && r.tag(1, n.Varint).int64(e.pingId);
|
|
503
|
-
let a = i.writeUnknownFields;
|
|
504
|
-
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
|
|
505
|
-
}
|
|
506
|
-
}(), P = new g("sagittarius.PingService", [{
|
|
507
|
-
name: "Ping",
|
|
508
|
-
options: {},
|
|
509
|
-
I: N,
|
|
510
|
-
O: N
|
|
511
|
-
}]), ae = class {
|
|
512
|
-
constructor(e) {
|
|
513
|
-
this._transport = e, this.typeName = P.typeName, this.methods = P.methods, this.options = P.options;
|
|
514
|
-
}
|
|
515
|
-
ping(e, t) {
|
|
516
|
-
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
517
|
-
return _("unary", this._transport, n, r, e);
|
|
518
|
-
}
|
|
519
|
-
}, F = new class extends l {
|
|
520
|
-
constructor() {
|
|
521
|
-
super("sagittarius.RuntimeFunctionDefinitionUpdateRequest", [{
|
|
522
|
-
no: 1,
|
|
523
|
-
name: "runtime_functions",
|
|
524
|
-
kind: "message",
|
|
525
|
-
repeat: 2,
|
|
526
|
-
T: () => s
|
|
527
|
-
}]);
|
|
528
|
-
}
|
|
529
|
-
create(e) {
|
|
530
|
-
let t = globalThis.Object.create(this.messagePrototype);
|
|
531
|
-
return t.runtimeFunctions = [], e !== void 0 && r(this, t, e), t;
|
|
532
|
-
}
|
|
533
|
-
internalBinaryRead(e, n, r, i) {
|
|
534
|
-
let a = i ?? this.create(), o = e.pos + n;
|
|
535
|
-
for (; e.pos < o;) {
|
|
536
|
-
let [n, i] = e.tag();
|
|
537
|
-
switch (n) {
|
|
538
|
-
case 1:
|
|
539
|
-
a.runtimeFunctions.push(s.internalBinaryRead(e, e.uint32(), r));
|
|
540
|
-
break;
|
|
541
|
-
default:
|
|
542
|
-
let o = r.readUnknownField;
|
|
543
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
544
|
-
let c = e.skip(i);
|
|
545
|
-
o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, c);
|
|
546
|
-
}
|
|
547
|
-
}
|
|
548
|
-
return a;
|
|
549
|
-
}
|
|
550
|
-
internalBinaryWrite(e, r, i) {
|
|
551
|
-
for (let t = 0; t < e.runtimeFunctions.length; t++) s.internalBinaryWrite(e.runtimeFunctions[t], r.tag(1, n.LengthDelimited).fork(), i).join();
|
|
552
|
-
let a = i.writeUnknownFields;
|
|
553
|
-
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
|
|
554
|
-
}
|
|
555
|
-
}(), I = new class extends l {
|
|
556
|
-
constructor() {
|
|
557
|
-
super("sagittarius.RuntimeFunctionDefinitionUpdateResponse", [{
|
|
558
|
-
no: 1,
|
|
559
|
-
name: "success",
|
|
560
|
-
kind: "scalar",
|
|
561
|
-
T: 8
|
|
562
|
-
}]);
|
|
563
|
-
}
|
|
564
|
-
create(e) {
|
|
565
|
-
let t = globalThis.Object.create(this.messagePrototype);
|
|
566
|
-
return t.success = !1, e !== void 0 && r(this, t, e), t;
|
|
567
|
-
}
|
|
568
|
-
internalBinaryRead(e, n, r, i) {
|
|
569
|
-
let a = i ?? this.create(), o = e.pos + n;
|
|
570
|
-
for (; e.pos < o;) {
|
|
571
|
-
let [n, i] = e.tag();
|
|
572
|
-
switch (n) {
|
|
573
|
-
case 1:
|
|
574
|
-
a.success = e.bool();
|
|
575
|
-
break;
|
|
576
|
-
default:
|
|
577
|
-
let o = r.readUnknownField;
|
|
578
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
579
|
-
let s = e.skip(i);
|
|
580
|
-
o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
return a;
|
|
584
|
-
}
|
|
585
|
-
internalBinaryWrite(e, r, i) {
|
|
586
|
-
e.success !== !1 && r.tag(1, n.Varint).bool(e.success);
|
|
587
|
-
let a = i.writeUnknownFields;
|
|
588
|
-
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
|
|
589
|
-
}
|
|
590
|
-
}(), L = new g("sagittarius.RuntimeFunctionDefinitionService", [{
|
|
591
|
-
name: "Update",
|
|
592
|
-
options: {},
|
|
593
|
-
I: F,
|
|
594
|
-
O: I
|
|
595
|
-
}]), oe = class {
|
|
596
|
-
constructor(e) {
|
|
597
|
-
this._transport = e, this.typeName = L.typeName, this.methods = L.methods, this.options = L.options;
|
|
598
|
-
}
|
|
599
|
-
update(e, t) {
|
|
600
|
-
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
601
|
-
return _("unary", this._transport, n, r, e);
|
|
602
|
-
}
|
|
603
|
-
}, R = new class extends l {
|
|
604
|
-
constructor() {
|
|
605
|
-
super("sagittarius.RuntimeStatusUpdateRequest", [{
|
|
606
|
-
no: 1,
|
|
607
|
-
name: "adapter_runtime_status",
|
|
608
|
-
kind: "message",
|
|
609
|
-
oneof: "status",
|
|
610
|
-
T: () => d
|
|
611
|
-
}, {
|
|
612
|
-
no: 2,
|
|
613
|
-
name: "execution_runtime_status",
|
|
614
|
-
kind: "message",
|
|
615
|
-
oneof: "status",
|
|
616
|
-
T: () => o
|
|
617
|
-
}]);
|
|
618
|
-
}
|
|
619
|
-
create(e) {
|
|
620
|
-
let t = globalThis.Object.create(this.messagePrototype);
|
|
621
|
-
return t.status = { oneofKind: void 0 }, e !== void 0 && r(this, t, e), t;
|
|
622
|
-
}
|
|
623
|
-
internalBinaryRead(e, n, r, i) {
|
|
624
|
-
let a = i ?? this.create(), s = e.pos + n;
|
|
625
|
-
for (; e.pos < s;) {
|
|
626
|
-
let [n, i] = e.tag();
|
|
627
|
-
switch (n) {
|
|
628
|
-
case 1:
|
|
629
|
-
a.status = {
|
|
630
|
-
oneofKind: "adapterRuntimeStatus",
|
|
631
|
-
adapterRuntimeStatus: d.internalBinaryRead(e, e.uint32(), r, a.status.adapterRuntimeStatus)
|
|
632
|
-
};
|
|
633
|
-
break;
|
|
634
|
-
case 2:
|
|
635
|
-
a.status = {
|
|
636
|
-
oneofKind: "executionRuntimeStatus",
|
|
637
|
-
executionRuntimeStatus: o.internalBinaryRead(e, e.uint32(), r, a.status.executionRuntimeStatus)
|
|
92
|
+
a.data = {
|
|
93
|
+
oneofKind: "moduleConfigurations",
|
|
94
|
+
moduleConfigurations: u.internalBinaryRead(e, e.uint32(), n, a.data.moduleConfigurations)
|
|
638
95
|
};
|
|
639
96
|
break;
|
|
640
97
|
default:
|
|
641
|
-
let
|
|
642
|
-
if (
|
|
643
|
-
let c = e.skip(i);
|
|
644
|
-
s !== !1 && (s === !0 ? t.onRead : s)(this.typeName, a, n, i, c);
|
|
645
|
-
}
|
|
646
|
-
}
|
|
647
|
-
return a;
|
|
648
|
-
}
|
|
649
|
-
internalBinaryWrite(e, r, i) {
|
|
650
|
-
e.status.oneofKind === "adapterRuntimeStatus" && d.internalBinaryWrite(e.status.adapterRuntimeStatus, r.tag(1, n.LengthDelimited).fork(), i).join(), e.status.oneofKind === "executionRuntimeStatus" && o.internalBinaryWrite(e.status.executionRuntimeStatus, r.tag(2, n.LengthDelimited).fork(), i).join();
|
|
651
|
-
let a = i.writeUnknownFields;
|
|
652
|
-
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
|
|
653
|
-
}
|
|
654
|
-
}(), z = new class extends l {
|
|
655
|
-
constructor() {
|
|
656
|
-
super("sagittarius.RuntimeStatusUpdateResponse", [{
|
|
657
|
-
no: 1,
|
|
658
|
-
name: "success",
|
|
659
|
-
kind: "scalar",
|
|
660
|
-
T: 8
|
|
661
|
-
}]);
|
|
662
|
-
}
|
|
663
|
-
create(e) {
|
|
664
|
-
let t = globalThis.Object.create(this.messagePrototype);
|
|
665
|
-
return t.success = !1, e !== void 0 && r(this, t, e), t;
|
|
666
|
-
}
|
|
667
|
-
internalBinaryRead(e, n, r, i) {
|
|
668
|
-
let a = i ?? this.create(), o = e.pos + n;
|
|
669
|
-
for (; e.pos < o;) {
|
|
670
|
-
let [n, i] = e.tag();
|
|
671
|
-
switch (n) {
|
|
672
|
-
case 1:
|
|
673
|
-
a.success = e.bool();
|
|
674
|
-
break;
|
|
675
|
-
default:
|
|
676
|
-
let o = r.readUnknownField;
|
|
677
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
98
|
+
let o = n.readUnknownField;
|
|
99
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${i}) for ${this.typeName}`);
|
|
678
100
|
let s = e.skip(i);
|
|
679
|
-
o !== !1 && (o === !0 ?
|
|
101
|
+
o !== !1 && (o === !0 ? r.onRead : o)(this.typeName, a, t, i, s);
|
|
680
102
|
}
|
|
681
103
|
}
|
|
682
104
|
return a;
|
|
683
105
|
}
|
|
684
|
-
internalBinaryWrite(e,
|
|
685
|
-
e.
|
|
686
|
-
let
|
|
687
|
-
return
|
|
106
|
+
internalBinaryWrite(e, t, n) {
|
|
107
|
+
e.data.oneofKind === "updatedFlow" && m.internalBinaryWrite(e.data.updatedFlow, t.tag(1, o.LengthDelimited).fork(), n).join(), e.data.oneofKind === "deletedFlowId" && t.tag(2, o.Varint).int64(e.data.deletedFlowId), e.data.oneofKind === "flows" && p.internalBinaryWrite(e.data.flows, t.tag(3, o.LengthDelimited).fork(), n).join(), e.data.oneofKind === "moduleConfigurations" && u.internalBinaryWrite(e.data.moduleConfigurations, t.tag(4, o.LengthDelimited).fork(), n).join();
|
|
108
|
+
let i = n.writeUnknownFields;
|
|
109
|
+
return i !== !1 && (i == 1 ? r.onWrite : i)(this.typeName, e, t), t;
|
|
688
110
|
}
|
|
689
|
-
}(),
|
|
111
|
+
}(), y = new h("sagittarius.FlowService", [{
|
|
690
112
|
name: "Update",
|
|
113
|
+
serverStreaming: !0,
|
|
691
114
|
options: {},
|
|
692
|
-
I:
|
|
693
|
-
O:
|
|
694
|
-
}]),
|
|
115
|
+
I: _,
|
|
116
|
+
O: v
|
|
117
|
+
}]), b = class {
|
|
695
118
|
constructor(e) {
|
|
696
|
-
this._transport = e, this.typeName =
|
|
119
|
+
this._transport = e, this.typeName = y.typeName, this.methods = y.methods, this.options = y.options;
|
|
697
120
|
}
|
|
698
121
|
update(e, t) {
|
|
699
122
|
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
700
|
-
return
|
|
123
|
+
return g("serverStreaming", this._transport, n, r, e);
|
|
701
124
|
}
|
|
702
|
-
},
|
|
125
|
+
}, x = new class extends a {
|
|
703
126
|
constructor() {
|
|
704
|
-
super("sagittarius.
|
|
127
|
+
super("sagittarius.ModuleUpdateRequest", [{
|
|
705
128
|
no: 1,
|
|
706
|
-
name: "
|
|
129
|
+
name: "modules",
|
|
707
130
|
kind: "message",
|
|
708
131
|
repeat: 2,
|
|
709
132
|
T: () => f
|
|
710
133
|
}]);
|
|
711
134
|
}
|
|
712
135
|
create(e) {
|
|
713
|
-
let
|
|
714
|
-
return
|
|
136
|
+
let n = globalThis.Object.create(this.messagePrototype);
|
|
137
|
+
return n.modules = [], e !== void 0 && t(this, n, e), n;
|
|
715
138
|
}
|
|
716
|
-
internalBinaryRead(e,
|
|
717
|
-
let a = i ?? this.create(), o = e.pos +
|
|
139
|
+
internalBinaryRead(e, t, n, i) {
|
|
140
|
+
let a = i ?? this.create(), o = e.pos + t;
|
|
718
141
|
for (; e.pos < o;) {
|
|
719
|
-
let [
|
|
720
|
-
switch (
|
|
142
|
+
let [t, i] = e.tag();
|
|
143
|
+
switch (t) {
|
|
721
144
|
case 1:
|
|
722
|
-
a.
|
|
145
|
+
a.modules.push(f.internalBinaryRead(e, e.uint32(), n));
|
|
723
146
|
break;
|
|
724
147
|
default:
|
|
725
|
-
let o =
|
|
726
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${
|
|
148
|
+
let o = n.readUnknownField;
|
|
149
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${i}) for ${this.typeName}`);
|
|
727
150
|
let s = e.skip(i);
|
|
728
|
-
o !== !1 && (o === !0 ?
|
|
151
|
+
o !== !1 && (o === !0 ? r.onRead : o)(this.typeName, a, t, i, s);
|
|
729
152
|
}
|
|
730
153
|
}
|
|
731
154
|
return a;
|
|
732
155
|
}
|
|
733
|
-
internalBinaryWrite(e,
|
|
734
|
-
for (let
|
|
735
|
-
let
|
|
736
|
-
return
|
|
156
|
+
internalBinaryWrite(e, t, n) {
|
|
157
|
+
for (let r = 0; r < e.modules.length; r++) f.internalBinaryWrite(e.modules[r], t.tag(1, o.LengthDelimited).fork(), n).join();
|
|
158
|
+
let i = n.writeUnknownFields;
|
|
159
|
+
return i !== !1 && (i == 1 ? r.onWrite : i)(this.typeName, e, t), t;
|
|
737
160
|
}
|
|
738
|
-
}(),
|
|
161
|
+
}(), S = new class extends a {
|
|
739
162
|
constructor() {
|
|
740
|
-
super("sagittarius.
|
|
163
|
+
super("sagittarius.ModuleUpdateResponse", [{
|
|
741
164
|
no: 1,
|
|
742
165
|
name: "success",
|
|
743
166
|
kind: "scalar",
|
|
744
167
|
T: 8
|
|
168
|
+
}, {
|
|
169
|
+
no: 2,
|
|
170
|
+
name: "error",
|
|
171
|
+
kind: "message",
|
|
172
|
+
T: () => e
|
|
745
173
|
}]);
|
|
746
174
|
}
|
|
747
175
|
create(e) {
|
|
748
|
-
let
|
|
749
|
-
return
|
|
176
|
+
let n = globalThis.Object.create(this.messagePrototype);
|
|
177
|
+
return n.success = !1, e !== void 0 && t(this, n, e), n;
|
|
750
178
|
}
|
|
751
|
-
internalBinaryRead(
|
|
752
|
-
let
|
|
753
|
-
for (;
|
|
754
|
-
let [n,
|
|
179
|
+
internalBinaryRead(t, n, i, a) {
|
|
180
|
+
let o = a ?? this.create(), s = t.pos + n;
|
|
181
|
+
for (; t.pos < s;) {
|
|
182
|
+
let [n, a] = t.tag();
|
|
755
183
|
switch (n) {
|
|
756
184
|
case 1:
|
|
757
|
-
|
|
185
|
+
o.success = t.bool();
|
|
186
|
+
break;
|
|
187
|
+
case 2:
|
|
188
|
+
o.error = e.internalBinaryRead(t, t.uint32(), i, o.error);
|
|
758
189
|
break;
|
|
759
190
|
default:
|
|
760
|
-
let
|
|
761
|
-
if (
|
|
762
|
-
let
|
|
763
|
-
|
|
191
|
+
let s = i.readUnknownField;
|
|
192
|
+
if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${a}) for ${this.typeName}`);
|
|
193
|
+
let c = t.skip(a);
|
|
194
|
+
s !== !1 && (s === !0 ? r.onRead : s)(this.typeName, o, n, a, c);
|
|
764
195
|
}
|
|
765
196
|
}
|
|
766
|
-
return
|
|
197
|
+
return o;
|
|
767
198
|
}
|
|
768
|
-
internalBinaryWrite(
|
|
769
|
-
|
|
199
|
+
internalBinaryWrite(t, n, i) {
|
|
200
|
+
t.success !== !1 && n.tag(1, o.Varint).bool(t.success), t.error && e.internalBinaryWrite(t.error, n.tag(2, o.LengthDelimited).fork(), i).join();
|
|
770
201
|
let a = i.writeUnknownFields;
|
|
771
|
-
return a !== !1 && (a == 1 ?
|
|
202
|
+
return a !== !1 && (a == 1 ? r.onWrite : a)(this.typeName, t, n), n;
|
|
772
203
|
}
|
|
773
|
-
}(),
|
|
204
|
+
}(), C = new h("sagittarius.ModuleService", [{
|
|
774
205
|
name: "Update",
|
|
775
206
|
options: {},
|
|
776
|
-
I:
|
|
777
|
-
O:
|
|
778
|
-
}]),
|
|
207
|
+
I: x,
|
|
208
|
+
O: S
|
|
209
|
+
}]), w = class {
|
|
779
210
|
constructor(e) {
|
|
780
|
-
this._transport = e, this.typeName =
|
|
211
|
+
this._transport = e, this.typeName = C.typeName, this.methods = C.methods, this.options = C.options;
|
|
781
212
|
}
|
|
782
213
|
update(e, t) {
|
|
783
214
|
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
784
|
-
return
|
|
215
|
+
return g("unary", this._transport, n, r, e);
|
|
785
216
|
}
|
|
786
|
-
},
|
|
217
|
+
}, T = new class extends a {
|
|
787
218
|
constructor() {
|
|
788
|
-
super("sagittarius.
|
|
219
|
+
super("sagittarius.PingMessage", [{
|
|
220
|
+
no: 1,
|
|
221
|
+
name: "ping_id",
|
|
222
|
+
kind: "scalar",
|
|
223
|
+
T: 3,
|
|
224
|
+
L: 0
|
|
225
|
+
}]);
|
|
789
226
|
}
|
|
790
227
|
create(e) {
|
|
791
|
-
let
|
|
792
|
-
return e !== void 0 &&
|
|
228
|
+
let n = globalThis.Object.create(this.messagePrototype);
|
|
229
|
+
return n.pingId = 0n, e !== void 0 && t(this, n, e), n;
|
|
793
230
|
}
|
|
794
|
-
internalBinaryRead(e,
|
|
795
|
-
let a = i ?? this.create(), o = e.pos +
|
|
231
|
+
internalBinaryRead(e, t, n, i) {
|
|
232
|
+
let a = i ?? this.create(), o = e.pos + t;
|
|
796
233
|
for (; e.pos < o;) {
|
|
797
|
-
let [
|
|
798
|
-
switch (
|
|
234
|
+
let [t, i] = e.tag();
|
|
235
|
+
switch (t) {
|
|
236
|
+
case 1:
|
|
237
|
+
a.pingId = e.int64().toBigInt();
|
|
238
|
+
break;
|
|
799
239
|
default:
|
|
800
|
-
let o =
|
|
801
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${
|
|
240
|
+
let o = n.readUnknownField;
|
|
241
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${i}) for ${this.typeName}`);
|
|
802
242
|
let s = e.skip(i);
|
|
803
|
-
o !== !1 && (o === !0 ?
|
|
243
|
+
o !== !1 && (o === !0 ? r.onRead : o)(this.typeName, a, t, i, s);
|
|
804
244
|
}
|
|
805
245
|
}
|
|
806
246
|
return a;
|
|
807
247
|
}
|
|
808
|
-
internalBinaryWrite(e,
|
|
809
|
-
|
|
810
|
-
|
|
248
|
+
internalBinaryWrite(e, t, n) {
|
|
249
|
+
e.pingId !== 0n && t.tag(1, o.Varint).int64(e.pingId);
|
|
250
|
+
let i = n.writeUnknownFields;
|
|
251
|
+
return i !== !1 && (i == 1 ? r.onWrite : i)(this.typeName, e, t), t;
|
|
252
|
+
}
|
|
253
|
+
}(), E = new h("sagittarius.PingService", [{
|
|
254
|
+
name: "Ping",
|
|
255
|
+
options: {},
|
|
256
|
+
I: T,
|
|
257
|
+
O: T
|
|
258
|
+
}]), D = class {
|
|
259
|
+
constructor(e) {
|
|
260
|
+
this._transport = e, this.typeName = E.typeName, this.methods = E.methods, this.options = E.options;
|
|
261
|
+
}
|
|
262
|
+
ping(e, t) {
|
|
263
|
+
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
264
|
+
return g("unary", this._transport, n, r, e);
|
|
811
265
|
}
|
|
812
|
-
}
|
|
266
|
+
}, O = new class extends a {
|
|
813
267
|
constructor() {
|
|
814
|
-
super("sagittarius.
|
|
268
|
+
super("sagittarius.RuntimeStatusUpdateRequest", [
|
|
815
269
|
{
|
|
816
270
|
no: 1,
|
|
817
|
-
name: "
|
|
818
|
-
kind: "
|
|
819
|
-
|
|
820
|
-
|
|
271
|
+
name: "adapter_runtime_status",
|
|
272
|
+
kind: "message",
|
|
273
|
+
oneof: "status",
|
|
274
|
+
T: () => s
|
|
821
275
|
},
|
|
822
276
|
{
|
|
823
277
|
no: 2,
|
|
824
|
-
name: "
|
|
825
|
-
kind: "
|
|
826
|
-
|
|
278
|
+
name: "execution_runtime_status",
|
|
279
|
+
kind: "message",
|
|
280
|
+
oneof: "status",
|
|
281
|
+
T: () => c
|
|
827
282
|
},
|
|
828
283
|
{
|
|
829
284
|
no: 3,
|
|
830
|
-
name: "
|
|
285
|
+
name: "action_status",
|
|
831
286
|
kind: "message",
|
|
832
|
-
|
|
287
|
+
oneof: "status",
|
|
288
|
+
T: () => l
|
|
833
289
|
}
|
|
834
290
|
]);
|
|
835
291
|
}
|
|
836
292
|
create(e) {
|
|
837
|
-
let
|
|
838
|
-
return
|
|
293
|
+
let n = globalThis.Object.create(this.messagePrototype);
|
|
294
|
+
return n.status = { oneofKind: void 0 }, e !== void 0 && t(this, n, e), n;
|
|
839
295
|
}
|
|
840
|
-
internalBinaryRead(e,
|
|
841
|
-
let a = i ?? this.create(), o = e.pos +
|
|
296
|
+
internalBinaryRead(e, t, n, i) {
|
|
297
|
+
let a = i ?? this.create(), o = e.pos + t;
|
|
842
298
|
for (; e.pos < o;) {
|
|
843
|
-
let [
|
|
844
|
-
switch (
|
|
299
|
+
let [t, i] = e.tag();
|
|
300
|
+
switch (t) {
|
|
845
301
|
case 1:
|
|
846
|
-
a.
|
|
302
|
+
a.status = {
|
|
303
|
+
oneofKind: "adapterRuntimeStatus",
|
|
304
|
+
adapterRuntimeStatus: s.internalBinaryRead(e, e.uint32(), n, a.status.adapterRuntimeStatus)
|
|
305
|
+
};
|
|
847
306
|
break;
|
|
848
307
|
case 2:
|
|
849
|
-
a.
|
|
308
|
+
a.status = {
|
|
309
|
+
oneofKind: "executionRuntimeStatus",
|
|
310
|
+
executionRuntimeStatus: c.internalBinaryRead(e, e.uint32(), n, a.status.executionRuntimeStatus)
|
|
311
|
+
};
|
|
850
312
|
break;
|
|
851
313
|
case 3:
|
|
852
|
-
a.
|
|
314
|
+
a.status = {
|
|
315
|
+
oneofKind: "actionStatus",
|
|
316
|
+
actionStatus: l.internalBinaryRead(e, e.uint32(), n, a.status.actionStatus)
|
|
317
|
+
};
|
|
853
318
|
break;
|
|
854
319
|
default:
|
|
855
|
-
let o =
|
|
856
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${
|
|
857
|
-
let
|
|
858
|
-
o !== !1 && (o === !0 ?
|
|
320
|
+
let o = n.readUnknownField;
|
|
321
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${i}) for ${this.typeName}`);
|
|
322
|
+
let u = e.skip(i);
|
|
323
|
+
o !== !1 && (o === !0 ? r.onRead : o)(this.typeName, a, t, i, u);
|
|
859
324
|
}
|
|
860
325
|
}
|
|
861
326
|
return a;
|
|
862
327
|
}
|
|
863
|
-
internalBinaryWrite(e,
|
|
864
|
-
e.
|
|
865
|
-
let
|
|
866
|
-
return
|
|
328
|
+
internalBinaryWrite(e, t, n) {
|
|
329
|
+
e.status.oneofKind === "adapterRuntimeStatus" && s.internalBinaryWrite(e.status.adapterRuntimeStatus, t.tag(1, o.LengthDelimited).fork(), n).join(), e.status.oneofKind === "executionRuntimeStatus" && c.internalBinaryWrite(e.status.executionRuntimeStatus, t.tag(2, o.LengthDelimited).fork(), n).join(), e.status.oneofKind === "actionStatus" && l.internalBinaryWrite(e.status.actionStatus, t.tag(3, o.LengthDelimited).fork(), n).join();
|
|
330
|
+
let i = n.writeUnknownFields;
|
|
331
|
+
return i !== !1 && (i == 1 ? r.onWrite : i)(this.typeName, e, t), t;
|
|
867
332
|
}
|
|
868
|
-
}(),
|
|
333
|
+
}(), k = new class extends a {
|
|
869
334
|
constructor() {
|
|
870
|
-
super("sagittarius.
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
kind: "scalar",
|
|
882
|
-
T: 9
|
|
883
|
-
},
|
|
884
|
-
{
|
|
885
|
-
no: 3,
|
|
886
|
-
name: "result",
|
|
887
|
-
kind: "message",
|
|
888
|
-
T: () => u
|
|
889
|
-
},
|
|
890
|
-
{
|
|
891
|
-
no: 4,
|
|
892
|
-
name: "logs",
|
|
893
|
-
kind: "message",
|
|
894
|
-
repeat: 2,
|
|
895
|
-
T: () => q
|
|
896
|
-
}
|
|
897
|
-
]);
|
|
335
|
+
super("sagittarius.RuntimeStatusUpdateResponse", [{
|
|
336
|
+
no: 1,
|
|
337
|
+
name: "success",
|
|
338
|
+
kind: "scalar",
|
|
339
|
+
T: 8
|
|
340
|
+
}, {
|
|
341
|
+
no: 2,
|
|
342
|
+
name: "error",
|
|
343
|
+
kind: "message",
|
|
344
|
+
T: () => e
|
|
345
|
+
}]);
|
|
898
346
|
}
|
|
899
347
|
create(e) {
|
|
900
|
-
let
|
|
901
|
-
return
|
|
348
|
+
let n = globalThis.Object.create(this.messagePrototype);
|
|
349
|
+
return n.success = !1, e !== void 0 && t(this, n, e), n;
|
|
902
350
|
}
|
|
903
|
-
internalBinaryRead(
|
|
904
|
-
let
|
|
905
|
-
for (;
|
|
906
|
-
let [n,
|
|
351
|
+
internalBinaryRead(t, n, i, a) {
|
|
352
|
+
let o = a ?? this.create(), s = t.pos + n;
|
|
353
|
+
for (; t.pos < s;) {
|
|
354
|
+
let [n, a] = t.tag();
|
|
907
355
|
switch (n) {
|
|
908
356
|
case 1:
|
|
909
|
-
|
|
357
|
+
o.success = t.bool();
|
|
910
358
|
break;
|
|
911
359
|
case 2:
|
|
912
|
-
|
|
913
|
-
break;
|
|
914
|
-
case 3:
|
|
915
|
-
a.result = u.internalBinaryRead(e, e.uint32(), r, a.result);
|
|
916
|
-
break;
|
|
917
|
-
case 4:
|
|
918
|
-
a.logs.push(q.internalBinaryRead(e, e.uint32(), r));
|
|
360
|
+
o.error = e.internalBinaryRead(t, t.uint32(), i, o.error);
|
|
919
361
|
break;
|
|
920
362
|
default:
|
|
921
|
-
let
|
|
922
|
-
if (
|
|
923
|
-
let
|
|
924
|
-
|
|
363
|
+
let s = i.readUnknownField;
|
|
364
|
+
if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${a}) for ${this.typeName}`);
|
|
365
|
+
let c = t.skip(a);
|
|
366
|
+
s !== !1 && (s === !0 ? r.onRead : s)(this.typeName, o, n, a, c);
|
|
925
367
|
}
|
|
926
368
|
}
|
|
927
|
-
return
|
|
369
|
+
return o;
|
|
928
370
|
}
|
|
929
|
-
internalBinaryWrite(
|
|
930
|
-
|
|
931
|
-
for (let t = 0; t < e.logs.length; t++) q.internalBinaryWrite(e.logs[t], r.tag(4, n.LengthDelimited).fork(), i).join();
|
|
371
|
+
internalBinaryWrite(t, n, i) {
|
|
372
|
+
t.success !== !1 && n.tag(1, o.Varint).bool(t.success), t.error && e.internalBinaryWrite(t.error, n.tag(2, o.LengthDelimited).fork(), i).join();
|
|
932
373
|
let a = i.writeUnknownFields;
|
|
933
|
-
return a !== !1 && (a == 1 ?
|
|
374
|
+
return a !== !1 && (a == 1 ? r.onWrite : a)(this.typeName, t, n), n;
|
|
375
|
+
}
|
|
376
|
+
}(), A = new h("sagittarius.RuntimeStatusService", [{
|
|
377
|
+
name: "Update",
|
|
378
|
+
options: {},
|
|
379
|
+
I: O,
|
|
380
|
+
O: k
|
|
381
|
+
}]), j = class {
|
|
382
|
+
constructor(e) {
|
|
383
|
+
this._transport = e, this.typeName = A.typeName, this.methods = A.methods, this.options = A.options;
|
|
384
|
+
}
|
|
385
|
+
update(e, t) {
|
|
386
|
+
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
387
|
+
return g("unary", this._transport, n, r, e);
|
|
934
388
|
}
|
|
935
|
-
}
|
|
389
|
+
}, M = new class extends a {
|
|
936
390
|
constructor() {
|
|
937
|
-
super("sagittarius.
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
},
|
|
945
|
-
{
|
|
946
|
-
no: 2,
|
|
947
|
-
name: "success_log",
|
|
948
|
-
kind: "message",
|
|
949
|
-
oneof: "kind",
|
|
950
|
-
T: () => J
|
|
951
|
-
},
|
|
952
|
-
{
|
|
953
|
-
no: 3,
|
|
954
|
-
name: "error_log",
|
|
955
|
-
kind: "message",
|
|
956
|
-
oneof: "kind",
|
|
957
|
-
T: () => Y
|
|
958
|
-
}
|
|
959
|
-
]);
|
|
391
|
+
super("sagittarius.RuntimeUsageRequest", [{
|
|
392
|
+
no: 1,
|
|
393
|
+
name: "runtime_usage",
|
|
394
|
+
kind: "message",
|
|
395
|
+
repeat: 2,
|
|
396
|
+
T: () => d
|
|
397
|
+
}]);
|
|
960
398
|
}
|
|
961
399
|
create(e) {
|
|
962
|
-
let
|
|
963
|
-
return
|
|
400
|
+
let n = globalThis.Object.create(this.messagePrototype);
|
|
401
|
+
return n.runtimeUsage = [], e !== void 0 && t(this, n, e), n;
|
|
964
402
|
}
|
|
965
|
-
internalBinaryRead(e,
|
|
966
|
-
let a = i ?? this.create(), o = e.pos +
|
|
403
|
+
internalBinaryRead(e, t, n, i) {
|
|
404
|
+
let a = i ?? this.create(), o = e.pos + t;
|
|
967
405
|
for (; e.pos < o;) {
|
|
968
|
-
let [
|
|
969
|
-
switch (
|
|
406
|
+
let [t, i] = e.tag();
|
|
407
|
+
switch (t) {
|
|
970
408
|
case 1:
|
|
971
|
-
a.
|
|
972
|
-
oneofKind: "applicationLog",
|
|
973
|
-
applicationLog: X.internalBinaryRead(e, e.uint32(), r, a.kind.applicationLog)
|
|
974
|
-
};
|
|
975
|
-
break;
|
|
976
|
-
case 2:
|
|
977
|
-
a.kind = {
|
|
978
|
-
oneofKind: "successLog",
|
|
979
|
-
successLog: J.internalBinaryRead(e, e.uint32(), r, a.kind.successLog)
|
|
980
|
-
};
|
|
981
|
-
break;
|
|
982
|
-
case 3:
|
|
983
|
-
a.kind = {
|
|
984
|
-
oneofKind: "errorLog",
|
|
985
|
-
errorLog: Y.internalBinaryRead(e, e.uint32(), r, a.kind.errorLog)
|
|
986
|
-
};
|
|
409
|
+
a.runtimeUsage.push(d.internalBinaryRead(e, e.uint32(), n));
|
|
987
410
|
break;
|
|
988
411
|
default:
|
|
989
|
-
let o =
|
|
990
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${
|
|
412
|
+
let o = n.readUnknownField;
|
|
413
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${i}) for ${this.typeName}`);
|
|
991
414
|
let s = e.skip(i);
|
|
992
|
-
o !== !1 && (o === !0 ?
|
|
415
|
+
o !== !1 && (o === !0 ? r.onRead : o)(this.typeName, a, t, i, s);
|
|
993
416
|
}
|
|
994
417
|
}
|
|
995
418
|
return a;
|
|
996
419
|
}
|
|
997
|
-
internalBinaryWrite(e,
|
|
998
|
-
|
|
999
|
-
let
|
|
1000
|
-
return
|
|
420
|
+
internalBinaryWrite(e, t, n) {
|
|
421
|
+
for (let r = 0; r < e.runtimeUsage.length; r++) d.internalBinaryWrite(e.runtimeUsage[r], t.tag(1, o.LengthDelimited).fork(), n).join();
|
|
422
|
+
let i = n.writeUnknownFields;
|
|
423
|
+
return i !== !1 && (i == 1 ? r.onWrite : i)(this.typeName, e, t), t;
|
|
1001
424
|
}
|
|
1002
|
-
}(),
|
|
425
|
+
}(), N = new class extends a {
|
|
1003
426
|
constructor() {
|
|
1004
|
-
super("sagittarius.
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
kind: "message",
|
|
1016
|
-
T: () => u
|
|
1017
|
-
},
|
|
1018
|
-
{
|
|
1019
|
-
no: 3,
|
|
1020
|
-
name: "parameter",
|
|
1021
|
-
kind: "message",
|
|
1022
|
-
repeat: 2,
|
|
1023
|
-
T: () => u
|
|
1024
|
-
},
|
|
1025
|
-
{
|
|
1026
|
-
no: 4,
|
|
1027
|
-
name: "timestamp",
|
|
1028
|
-
kind: "scalar",
|
|
1029
|
-
T: 9
|
|
1030
|
-
}
|
|
1031
|
-
]);
|
|
427
|
+
super("sagittarius.RuntimeUsageResponse", [{
|
|
428
|
+
no: 1,
|
|
429
|
+
name: "success",
|
|
430
|
+
kind: "scalar",
|
|
431
|
+
T: 8
|
|
432
|
+
}, {
|
|
433
|
+
no: 2,
|
|
434
|
+
name: "error",
|
|
435
|
+
kind: "message",
|
|
436
|
+
T: () => e
|
|
437
|
+
}]);
|
|
1032
438
|
}
|
|
1033
439
|
create(e) {
|
|
1034
|
-
let
|
|
1035
|
-
return
|
|
440
|
+
let n = globalThis.Object.create(this.messagePrototype);
|
|
441
|
+
return n.success = !1, e !== void 0 && t(this, n, e), n;
|
|
1036
442
|
}
|
|
1037
|
-
internalBinaryRead(
|
|
1038
|
-
let
|
|
1039
|
-
for (;
|
|
1040
|
-
let [n,
|
|
443
|
+
internalBinaryRead(t, n, i, a) {
|
|
444
|
+
let o = a ?? this.create(), s = t.pos + n;
|
|
445
|
+
for (; t.pos < s;) {
|
|
446
|
+
let [n, a] = t.tag();
|
|
1041
447
|
switch (n) {
|
|
1042
448
|
case 1:
|
|
1043
|
-
|
|
449
|
+
o.success = t.bool();
|
|
1044
450
|
break;
|
|
1045
451
|
case 2:
|
|
1046
|
-
|
|
1047
|
-
break;
|
|
1048
|
-
case 3:
|
|
1049
|
-
a.parameter.push(u.internalBinaryRead(e, e.uint32(), r));
|
|
1050
|
-
break;
|
|
1051
|
-
case 4:
|
|
1052
|
-
a.timestamp = e.string();
|
|
452
|
+
o.error = e.internalBinaryRead(t, t.uint32(), i, o.error);
|
|
1053
453
|
break;
|
|
1054
454
|
default:
|
|
1055
|
-
let
|
|
1056
|
-
if (
|
|
1057
|
-
let
|
|
1058
|
-
|
|
455
|
+
let s = i.readUnknownField;
|
|
456
|
+
if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${a}) for ${this.typeName}`);
|
|
457
|
+
let c = t.skip(a);
|
|
458
|
+
s !== !1 && (s === !0 ? r.onRead : s)(this.typeName, o, n, a, c);
|
|
1059
459
|
}
|
|
1060
460
|
}
|
|
1061
|
-
return
|
|
461
|
+
return o;
|
|
1062
462
|
}
|
|
1063
|
-
internalBinaryWrite(
|
|
1064
|
-
|
|
1065
|
-
for (let t = 0; t < e.parameter.length; t++) u.internalBinaryWrite(e.parameter[t], r.tag(3, n.LengthDelimited).fork(), i).join();
|
|
1066
|
-
e.timestamp !== "" && r.tag(4, n.LengthDelimited).string(e.timestamp);
|
|
463
|
+
internalBinaryWrite(t, n, i) {
|
|
464
|
+
t.success !== !1 && n.tag(1, o.Varint).bool(t.success), t.error && e.internalBinaryWrite(t.error, n.tag(2, o.LengthDelimited).fork(), i).join();
|
|
1067
465
|
let a = i.writeUnknownFields;
|
|
1068
|
-
return a !== !1 && (a == 1 ?
|
|
466
|
+
return a !== !1 && (a == 1 ? r.onWrite : a)(this.typeName, t, n), n;
|
|
467
|
+
}
|
|
468
|
+
}(), P = new h("sagittarius.RuntimeUsageService", [{
|
|
469
|
+
name: "Update",
|
|
470
|
+
options: {},
|
|
471
|
+
I: M,
|
|
472
|
+
O: N
|
|
473
|
+
}]), F = class {
|
|
474
|
+
constructor(e) {
|
|
475
|
+
this._transport = e, this.typeName = P.typeName, this.methods = P.methods, this.options = P.options;
|
|
476
|
+
}
|
|
477
|
+
update(e, t) {
|
|
478
|
+
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
479
|
+
return g("unary", this._transport, n, r, e);
|
|
1069
480
|
}
|
|
1070
|
-
}
|
|
481
|
+
}, I = new class extends a {
|
|
1071
482
|
constructor() {
|
|
1072
|
-
super("sagittarius.
|
|
1073
|
-
{
|
|
1074
|
-
no: 1,
|
|
1075
|
-
name: "node_id",
|
|
1076
|
-
kind: "scalar",
|
|
1077
|
-
T: 3,
|
|
1078
|
-
L: 0
|
|
1079
|
-
},
|
|
1080
|
-
{
|
|
1081
|
-
no: 2,
|
|
1082
|
-
name: "error",
|
|
1083
|
-
kind: "scalar",
|
|
1084
|
-
T: 9
|
|
1085
|
-
},
|
|
1086
|
-
{
|
|
1087
|
-
no: 3,
|
|
1088
|
-
name: "parameter",
|
|
1089
|
-
kind: "message",
|
|
1090
|
-
repeat: 2,
|
|
1091
|
-
T: () => u
|
|
1092
|
-
},
|
|
1093
|
-
{
|
|
1094
|
-
no: 4,
|
|
1095
|
-
name: "timestamp",
|
|
1096
|
-
kind: "scalar",
|
|
1097
|
-
T: 9
|
|
1098
|
-
}
|
|
1099
|
-
]);
|
|
483
|
+
super("sagittarius.Logon", []);
|
|
1100
484
|
}
|
|
1101
485
|
create(e) {
|
|
1102
|
-
let
|
|
1103
|
-
return
|
|
486
|
+
let n = globalThis.Object.create(this.messagePrototype);
|
|
487
|
+
return e !== void 0 && t(this, n, e), n;
|
|
1104
488
|
}
|
|
1105
|
-
internalBinaryRead(e,
|
|
1106
|
-
let a = i ?? this.create(), o = e.pos +
|
|
489
|
+
internalBinaryRead(e, t, n, i) {
|
|
490
|
+
let a = i ?? this.create(), o = e.pos + t;
|
|
1107
491
|
for (; e.pos < o;) {
|
|
1108
|
-
let [
|
|
1109
|
-
switch (
|
|
1110
|
-
case 1:
|
|
1111
|
-
a.nodeId = e.int64().toBigInt();
|
|
1112
|
-
break;
|
|
1113
|
-
case 2:
|
|
1114
|
-
a.error = e.string();
|
|
1115
|
-
break;
|
|
1116
|
-
case 3:
|
|
1117
|
-
a.parameter.push(u.internalBinaryRead(e, e.uint32(), r));
|
|
1118
|
-
break;
|
|
1119
|
-
case 4:
|
|
1120
|
-
a.timestamp = e.string();
|
|
1121
|
-
break;
|
|
492
|
+
let [t, i] = e.tag();
|
|
493
|
+
switch (t) {
|
|
1122
494
|
default:
|
|
1123
|
-
let o =
|
|
1124
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${
|
|
495
|
+
let o = n.readUnknownField;
|
|
496
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${i}) for ${this.typeName}`);
|
|
1125
497
|
let s = e.skip(i);
|
|
1126
|
-
o !== !1 && (o === !0 ?
|
|
498
|
+
o !== !1 && (o === !0 ? r.onRead : o)(this.typeName, a, t, i, s);
|
|
1127
499
|
}
|
|
1128
500
|
}
|
|
1129
501
|
return a;
|
|
1130
502
|
}
|
|
1131
|
-
internalBinaryWrite(e,
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
e.timestamp !== "" && r.tag(4, n.LengthDelimited).string(e.timestamp);
|
|
1135
|
-
let a = i.writeUnknownFields;
|
|
1136
|
-
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
|
|
503
|
+
internalBinaryWrite(e, t, n) {
|
|
504
|
+
let i = n.writeUnknownFields;
|
|
505
|
+
return i !== !1 && (i == 1 ? r.onWrite : i)(this.typeName, e, t), t;
|
|
1137
506
|
}
|
|
1138
|
-
}(),
|
|
507
|
+
}(), L = new class extends a {
|
|
1139
508
|
constructor() {
|
|
1140
|
-
super("sagittarius.
|
|
509
|
+
super("sagittarius.TestExecutionRequest", [
|
|
1141
510
|
{
|
|
1142
511
|
no: 1,
|
|
1143
|
-
name: "
|
|
512
|
+
name: "flow_id",
|
|
1144
513
|
kind: "scalar",
|
|
1145
|
-
T:
|
|
514
|
+
T: 3,
|
|
515
|
+
L: 0
|
|
1146
516
|
},
|
|
1147
517
|
{
|
|
1148
518
|
no: 2,
|
|
1149
|
-
name: "
|
|
519
|
+
name: "execution_identifier",
|
|
1150
520
|
kind: "scalar",
|
|
1151
521
|
T: 9
|
|
1152
522
|
},
|
|
1153
523
|
{
|
|
1154
524
|
no: 3,
|
|
1155
|
-
name: "
|
|
1156
|
-
kind: "
|
|
1157
|
-
T:
|
|
525
|
+
name: "body",
|
|
526
|
+
kind: "message",
|
|
527
|
+
T: () => n
|
|
1158
528
|
}
|
|
1159
529
|
]);
|
|
1160
530
|
}
|
|
1161
531
|
create(e) {
|
|
1162
|
-
let
|
|
1163
|
-
return
|
|
532
|
+
let n = globalThis.Object.create(this.messagePrototype);
|
|
533
|
+
return n.flowId = 0n, n.executionIdentifier = "", e !== void 0 && t(this, n, e), n;
|
|
1164
534
|
}
|
|
1165
|
-
internalBinaryRead(e,
|
|
1166
|
-
let
|
|
1167
|
-
for (; e.pos <
|
|
1168
|
-
let [
|
|
1169
|
-
switch (
|
|
535
|
+
internalBinaryRead(e, t, i, a) {
|
|
536
|
+
let o = a ?? this.create(), s = e.pos + t;
|
|
537
|
+
for (; e.pos < s;) {
|
|
538
|
+
let [t, a] = e.tag();
|
|
539
|
+
switch (t) {
|
|
1170
540
|
case 1:
|
|
1171
|
-
|
|
541
|
+
o.flowId = e.int64().toBigInt();
|
|
1172
542
|
break;
|
|
1173
543
|
case 2:
|
|
1174
|
-
|
|
544
|
+
o.executionIdentifier = e.string();
|
|
1175
545
|
break;
|
|
1176
546
|
case 3:
|
|
1177
|
-
|
|
547
|
+
o.body = n.internalBinaryRead(e, e.uint32(), i, o.body);
|
|
1178
548
|
break;
|
|
1179
549
|
default:
|
|
1180
|
-
let
|
|
1181
|
-
if (
|
|
1182
|
-
let
|
|
1183
|
-
|
|
550
|
+
let s = i.readUnknownField;
|
|
551
|
+
if (s === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${a}) for ${this.typeName}`);
|
|
552
|
+
let c = e.skip(a);
|
|
553
|
+
s !== !1 && (s === !0 ? r.onRead : s)(this.typeName, o, t, a, c);
|
|
1184
554
|
}
|
|
1185
555
|
}
|
|
1186
|
-
return
|
|
556
|
+
return o;
|
|
1187
557
|
}
|
|
1188
|
-
internalBinaryWrite(e,
|
|
1189
|
-
e.
|
|
558
|
+
internalBinaryWrite(e, t, i) {
|
|
559
|
+
e.flowId !== 0n && t.tag(1, o.Varint).int64(e.flowId), e.executionIdentifier !== "" && t.tag(2, o.LengthDelimited).string(e.executionIdentifier), e.body && n.internalBinaryWrite(e.body, t.tag(3, o.LengthDelimited).fork(), i).join();
|
|
1190
560
|
let a = i.writeUnknownFields;
|
|
1191
|
-
return a !== !1 && (a == 1 ?
|
|
561
|
+
return a !== !1 && (a == 1 ? r.onWrite : a)(this.typeName, e, t), t;
|
|
1192
562
|
}
|
|
1193
|
-
}(),
|
|
563
|
+
}(), R = new class extends a {
|
|
1194
564
|
constructor() {
|
|
1195
565
|
super("sagittarius.ExecutionLogonRequest", [{
|
|
1196
566
|
no: 1,
|
|
1197
567
|
name: "logon",
|
|
1198
568
|
kind: "message",
|
|
1199
569
|
oneof: "data",
|
|
1200
|
-
T: () =>
|
|
570
|
+
T: () => I
|
|
1201
571
|
}, {
|
|
1202
572
|
no: 2,
|
|
1203
573
|
name: "response",
|
|
1204
574
|
kind: "message",
|
|
1205
575
|
oneof: "data",
|
|
1206
|
-
T: () =>
|
|
576
|
+
T: () => i
|
|
1207
577
|
}]);
|
|
1208
578
|
}
|
|
1209
579
|
create(e) {
|
|
1210
|
-
let
|
|
1211
|
-
return
|
|
580
|
+
let n = globalThis.Object.create(this.messagePrototype);
|
|
581
|
+
return n.data = { oneofKind: void 0 }, e !== void 0 && t(this, n, e), n;
|
|
1212
582
|
}
|
|
1213
|
-
internalBinaryRead(e,
|
|
1214
|
-
let
|
|
1215
|
-
for (; e.pos <
|
|
1216
|
-
let [
|
|
1217
|
-
switch (
|
|
583
|
+
internalBinaryRead(e, t, n, a) {
|
|
584
|
+
let o = a ?? this.create(), s = e.pos + t;
|
|
585
|
+
for (; e.pos < s;) {
|
|
586
|
+
let [t, a] = e.tag();
|
|
587
|
+
switch (t) {
|
|
1218
588
|
case 1:
|
|
1219
|
-
|
|
589
|
+
o.data = {
|
|
1220
590
|
oneofKind: "logon",
|
|
1221
|
-
logon:
|
|
591
|
+
logon: I.internalBinaryRead(e, e.uint32(), n, o.data.logon)
|
|
1222
592
|
};
|
|
1223
593
|
break;
|
|
1224
594
|
case 2:
|
|
1225
|
-
|
|
595
|
+
o.data = {
|
|
1226
596
|
oneofKind: "response",
|
|
1227
|
-
response:
|
|
597
|
+
response: i.internalBinaryRead(e, e.uint32(), n, o.data.response)
|
|
1228
598
|
};
|
|
1229
599
|
break;
|
|
1230
600
|
default:
|
|
1231
|
-
let
|
|
1232
|
-
if (
|
|
1233
|
-
let
|
|
1234
|
-
|
|
601
|
+
let s = n.readUnknownField;
|
|
602
|
+
if (s === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${a}) for ${this.typeName}`);
|
|
603
|
+
let c = e.skip(a);
|
|
604
|
+
s !== !1 && (s === !0 ? r.onRead : s)(this.typeName, o, t, a, c);
|
|
1235
605
|
}
|
|
1236
606
|
}
|
|
1237
|
-
return
|
|
607
|
+
return o;
|
|
1238
608
|
}
|
|
1239
|
-
internalBinaryWrite(e,
|
|
1240
|
-
e.data.oneofKind === "logon" &&
|
|
1241
|
-
let a =
|
|
1242
|
-
return a !== !1 && (a == 1 ?
|
|
609
|
+
internalBinaryWrite(e, t, n) {
|
|
610
|
+
e.data.oneofKind === "logon" && I.internalBinaryWrite(e.data.logon, t.tag(1, o.LengthDelimited).fork(), n).join(), e.data.oneofKind === "response" && i.internalBinaryWrite(e.data.response, t.tag(2, o.LengthDelimited).fork(), n).join();
|
|
611
|
+
let a = n.writeUnknownFields;
|
|
612
|
+
return a !== !1 && (a == 1 ? r.onWrite : a)(this.typeName, e, t), t;
|
|
1243
613
|
}
|
|
1244
|
-
}(),
|
|
614
|
+
}(), z = new class extends a {
|
|
1245
615
|
constructor() {
|
|
1246
616
|
super("sagittarius.ExecutionLogonResponse", [{
|
|
1247
617
|
no: 1,
|
|
1248
618
|
name: "request",
|
|
1249
619
|
kind: "message",
|
|
1250
|
-
T: () =>
|
|
620
|
+
T: () => L
|
|
1251
621
|
}]);
|
|
1252
622
|
}
|
|
1253
623
|
create(e) {
|
|
1254
|
-
let
|
|
1255
|
-
return e !== void 0 &&
|
|
624
|
+
let n = globalThis.Object.create(this.messagePrototype);
|
|
625
|
+
return e !== void 0 && t(this, n, e), n;
|
|
1256
626
|
}
|
|
1257
|
-
internalBinaryRead(e,
|
|
1258
|
-
let a = i ?? this.create(), o = e.pos +
|
|
627
|
+
internalBinaryRead(e, t, n, i) {
|
|
628
|
+
let a = i ?? this.create(), o = e.pos + t;
|
|
1259
629
|
for (; e.pos < o;) {
|
|
1260
|
-
let [
|
|
1261
|
-
switch (
|
|
630
|
+
let [t, i] = e.tag();
|
|
631
|
+
switch (t) {
|
|
1262
632
|
case 1:
|
|
1263
|
-
a.request =
|
|
633
|
+
a.request = L.internalBinaryRead(e, e.uint32(), n, a.request);
|
|
1264
634
|
break;
|
|
1265
635
|
default:
|
|
1266
|
-
let o =
|
|
1267
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${
|
|
636
|
+
let o = n.readUnknownField;
|
|
637
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${i}) for ${this.typeName}`);
|
|
1268
638
|
let s = e.skip(i);
|
|
1269
|
-
o !== !1 && (o === !0 ?
|
|
639
|
+
o !== !1 && (o === !0 ? r.onRead : o)(this.typeName, a, t, i, s);
|
|
1270
640
|
}
|
|
1271
641
|
}
|
|
1272
642
|
return a;
|
|
1273
643
|
}
|
|
1274
|
-
internalBinaryWrite(e,
|
|
1275
|
-
e.request &&
|
|
1276
|
-
let
|
|
1277
|
-
return
|
|
644
|
+
internalBinaryWrite(e, t, n) {
|
|
645
|
+
e.request && L.internalBinaryWrite(e.request, t.tag(1, o.LengthDelimited).fork(), n).join();
|
|
646
|
+
let i = n.writeUnknownFields;
|
|
647
|
+
return i !== !1 && (i == 1 ? r.onWrite : i)(this.typeName, e, t), t;
|
|
1278
648
|
}
|
|
1279
|
-
}(),
|
|
649
|
+
}(), B = new h("sagittarius.ExecutionService", [{
|
|
1280
650
|
name: "Test",
|
|
1281
651
|
serverStreaming: !0,
|
|
1282
652
|
clientStreaming: !0,
|
|
1283
653
|
options: {},
|
|
1284
|
-
I:
|
|
1285
|
-
O:
|
|
1286
|
-
}]),
|
|
654
|
+
I: R,
|
|
655
|
+
O: z
|
|
656
|
+
}]), V = class {
|
|
1287
657
|
constructor(e) {
|
|
1288
|
-
this._transport = e, this.typeName =
|
|
658
|
+
this._transport = e, this.typeName = B.typeName, this.methods = B.methods, this.options = B.options;
|
|
1289
659
|
}
|
|
1290
660
|
test(e) {
|
|
1291
661
|
let t = this.methods[0], n = this._transport.mergeOptions(e);
|
|
1292
|
-
return
|
|
662
|
+
return g("duplex", this._transport, t, n);
|
|
1293
663
|
}
|
|
1294
664
|
};
|
|
1295
665
|
//#endregion
|
|
1296
|
-
export {
|
|
666
|
+
export { R as ExecutionLogonRequest, z as ExecutionLogonResponse, B as ExecutionService, V as ExecutionServiceClient, _ as FlowLogonRequest, v as FlowResponse, y as FlowService, b as FlowServiceClient, I as Logon, C as ModuleService, w as ModuleServiceClient, x as ModuleUpdateRequest, S as ModuleUpdateResponse, T as PingMessage, E as PingService, D as PingServiceClient, A as RuntimeStatusService, j as RuntimeStatusServiceClient, O as RuntimeStatusUpdateRequest, k as RuntimeStatusUpdateResponse, M as RuntimeUsageRequest, N as RuntimeUsageResponse, P as RuntimeUsageService, F as RuntimeUsageServiceClient, L as TestExecutionRequest };
|