@code0-tech/tucana 0.0.67 → 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/helpers.cjs.js +1 -1
- package/dist/helpers.es.js +5 -3
- 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-BlyE8N7q.cjs → rpc-interceptor-4ZNqeHp7.cjs} +1 -1
- package/dist/{rpc-interceptor-Drf7qHyx.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-SKgDYw_k.js → shared.runtime_usage_pb-Qa9pCiee.js} +2101 -1050
- 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 -116
- package/dist/shared.flow_pb-5xI6xoXb.js +0 -717
- package/dist/shared.flow_pb-BwIQ0MZP.cjs +0 -1
- package/dist/shared.runtime_usage_pb-CYG2eLDw.cjs +0 -2
package/dist/aquila.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as
|
|
3
|
-
var
|
|
1
|
+
import { E as e, F as t, G as n, I as r, J 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 { n as p, t as m } from "./rpc-interceptor-DpAjfIVk.js";
|
|
3
|
+
var h = new class extends a {
|
|
4
4
|
constructor() {
|
|
5
|
-
super("aquila.
|
|
5
|
+
super("aquila.ActionEvent", [
|
|
6
6
|
{
|
|
7
7
|
no: 1,
|
|
8
8
|
name: "event_type",
|
|
@@ -20,102 +20,80 @@ var _ = new class extends u {
|
|
|
20
20
|
no: 3,
|
|
21
21
|
name: "payload",
|
|
22
22
|
kind: "message",
|
|
23
|
-
T: () =>
|
|
23
|
+
T: () => r
|
|
24
24
|
}
|
|
25
25
|
]);
|
|
26
26
|
}
|
|
27
27
|
create(e) {
|
|
28
28
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
29
|
-
return t.eventType = "", t.projectId = 0n, e !== void 0 &&
|
|
29
|
+
return t.eventType = "", t.projectId = 0n, e !== void 0 && n(this, t, e), t;
|
|
30
30
|
}
|
|
31
|
-
internalBinaryRead(e,
|
|
32
|
-
let
|
|
33
|
-
for (; e.pos <
|
|
34
|
-
let [
|
|
35
|
-
switch (
|
|
31
|
+
internalBinaryRead(e, t, n, a) {
|
|
32
|
+
let o = a ?? this.create(), s = e.pos + t;
|
|
33
|
+
for (; e.pos < s;) {
|
|
34
|
+
let [t, a] = e.tag();
|
|
35
|
+
switch (t) {
|
|
36
36
|
case 1:
|
|
37
|
-
|
|
37
|
+
o.eventType = e.string();
|
|
38
38
|
break;
|
|
39
39
|
case 2:
|
|
40
|
-
|
|
40
|
+
o.projectId = e.int64().toBigInt();
|
|
41
41
|
break;
|
|
42
42
|
case 3:
|
|
43
|
-
|
|
43
|
+
o.payload = r.internalBinaryRead(e, e.uint32(), n, o.payload);
|
|
44
44
|
break;
|
|
45
45
|
default:
|
|
46
|
-
let
|
|
47
|
-
if (
|
|
48
|
-
let
|
|
49
|
-
|
|
46
|
+
let s = n.readUnknownField;
|
|
47
|
+
if (s === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${a}) for ${this.typeName}`);
|
|
48
|
+
let c = e.skip(a);
|
|
49
|
+
s !== !1 && (s === !0 ? i.onRead : s)(this.typeName, o, t, a, c);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
return
|
|
52
|
+
return o;
|
|
53
53
|
}
|
|
54
|
-
internalBinaryWrite(e,
|
|
55
|
-
e.eventType !== "" &&
|
|
56
|
-
let a =
|
|
57
|
-
return a !== !1 && (a == 1 ?
|
|
54
|
+
internalBinaryWrite(e, t, n) {
|
|
55
|
+
e.eventType !== "" && t.tag(1, o.LengthDelimited).string(e.eventType), e.projectId !== 0n && t.tag(2, o.Varint).int64(e.projectId), e.payload && r.internalBinaryWrite(e.payload, t.tag(3, o.LengthDelimited).fork(), n).join();
|
|
56
|
+
let a = n.writeUnknownFields;
|
|
57
|
+
return a !== !1 && (a == 1 ? i.onWrite : a)(this.typeName, e, t), t;
|
|
58
58
|
}
|
|
59
|
-
}(),
|
|
59
|
+
}(), g = new class extends a {
|
|
60
60
|
constructor() {
|
|
61
|
-
super("aquila.ActionLogon", [
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
no: 2,
|
|
70
|
-
name: "version",
|
|
71
|
-
kind: "scalar",
|
|
72
|
-
T: 9
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
no: 3,
|
|
76
|
-
name: "action_configurations",
|
|
77
|
-
kind: "message",
|
|
78
|
-
repeat: 2,
|
|
79
|
-
T: () => a
|
|
80
|
-
}
|
|
81
|
-
]);
|
|
61
|
+
super("aquila.ActionLogon", [{
|
|
62
|
+
no: 1,
|
|
63
|
+
name: "module",
|
|
64
|
+
kind: "message",
|
|
65
|
+
T: () => f
|
|
66
|
+
}]);
|
|
82
67
|
}
|
|
83
68
|
create(e) {
|
|
84
69
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
85
|
-
return
|
|
70
|
+
return e !== void 0 && n(this, t, e), t;
|
|
86
71
|
}
|
|
87
|
-
internalBinaryRead(e, n, r
|
|
88
|
-
let
|
|
89
|
-
for (; e.pos <
|
|
90
|
-
let [
|
|
91
|
-
switch (
|
|
72
|
+
internalBinaryRead(e, t, n, r) {
|
|
73
|
+
let a = r ?? this.create(), o = e.pos + t;
|
|
74
|
+
for (; e.pos < o;) {
|
|
75
|
+
let [t, r] = e.tag();
|
|
76
|
+
switch (t) {
|
|
92
77
|
case 1:
|
|
93
|
-
|
|
94
|
-
break;
|
|
95
|
-
case 2:
|
|
96
|
-
o.version = e.string();
|
|
97
|
-
break;
|
|
98
|
-
case 3:
|
|
99
|
-
o.actionConfigurations.push(a.internalBinaryRead(e, e.uint32(), r));
|
|
78
|
+
a.module = f.internalBinaryRead(e, e.uint32(), n, a.module);
|
|
100
79
|
break;
|
|
101
80
|
default:
|
|
102
|
-
let
|
|
103
|
-
if (
|
|
104
|
-
let
|
|
105
|
-
|
|
81
|
+
let o = n.readUnknownField;
|
|
82
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${r}) for ${this.typeName}`);
|
|
83
|
+
let s = e.skip(r);
|
|
84
|
+
o !== !1 && (o === !0 ? i.onRead : o)(this.typeName, a, t, r, s);
|
|
106
85
|
}
|
|
107
86
|
}
|
|
108
|
-
return
|
|
87
|
+
return a;
|
|
109
88
|
}
|
|
110
|
-
internalBinaryWrite(e,
|
|
111
|
-
e.
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
return o !== !1 && (o == 1 ? t.onWrite : o)(this.typeName, e, r), r;
|
|
89
|
+
internalBinaryWrite(e, t, n) {
|
|
90
|
+
e.module && f.internalBinaryWrite(e.module, t.tag(1, o.LengthDelimited).fork(), n).join();
|
|
91
|
+
let r = n.writeUnknownFields;
|
|
92
|
+
return r !== !1 && (r == 1 ? i.onWrite : r)(this.typeName, e, t), t;
|
|
115
93
|
}
|
|
116
|
-
}(),
|
|
94
|
+
}(), _ = new class extends a {
|
|
117
95
|
constructor() {
|
|
118
|
-
super("aquila.
|
|
96
|
+
super("aquila.ActionExecutionRequest", [
|
|
119
97
|
{
|
|
120
98
|
no: 1,
|
|
121
99
|
name: "execution_identifier",
|
|
@@ -132,7 +110,7 @@ var _ = new class extends u {
|
|
|
132
110
|
no: 3,
|
|
133
111
|
name: "parameters",
|
|
134
112
|
kind: "message",
|
|
135
|
-
T: () =>
|
|
113
|
+
T: () => t
|
|
136
114
|
},
|
|
137
115
|
{
|
|
138
116
|
no: 4,
|
|
@@ -145,7 +123,7 @@ var _ = new class extends u {
|
|
|
145
123
|
}
|
|
146
124
|
create(e) {
|
|
147
125
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
148
|
-
return t.executionIdentifier = "", t.functionIdentifier = "", t.projectId = 0n, e !== void 0 &&
|
|
126
|
+
return t.executionIdentifier = "", t.functionIdentifier = "", t.projectId = 0n, e !== void 0 && n(this, t, e), t;
|
|
149
127
|
}
|
|
150
128
|
internalBinaryRead(e, n, r, a) {
|
|
151
129
|
let o = a ?? this.create(), s = e.pos + n;
|
|
@@ -159,7 +137,7 @@ var _ = new class extends u {
|
|
|
159
137
|
o.functionIdentifier = e.string();
|
|
160
138
|
break;
|
|
161
139
|
case 3:
|
|
162
|
-
o.parameters =
|
|
140
|
+
o.parameters = t.internalBinaryRead(e, e.uint32(), r, o.parameters);
|
|
163
141
|
break;
|
|
164
142
|
case 4:
|
|
165
143
|
o.projectId = e.int64().toBigInt();
|
|
@@ -168,463 +146,188 @@ var _ = new class extends u {
|
|
|
168
146
|
let s = r.readUnknownField;
|
|
169
147
|
if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${a}) for ${this.typeName}`);
|
|
170
148
|
let c = e.skip(a);
|
|
171
|
-
s !== !1 && (s === !0 ?
|
|
149
|
+
s !== !1 && (s === !0 ? i.onRead : s)(this.typeName, o, n, a, c);
|
|
172
150
|
}
|
|
173
151
|
}
|
|
174
152
|
return o;
|
|
175
153
|
}
|
|
176
|
-
internalBinaryWrite(e,
|
|
177
|
-
e.executionIdentifier !== "" &&
|
|
178
|
-
let
|
|
179
|
-
return
|
|
180
|
-
}
|
|
181
|
-
}(), b = new class extends u {
|
|
182
|
-
constructor() {
|
|
183
|
-
super("aquila.ActionRuntimeError", [{
|
|
184
|
-
no: 1,
|
|
185
|
-
name: "code",
|
|
186
|
-
kind: "scalar",
|
|
187
|
-
T: 9
|
|
188
|
-
}, {
|
|
189
|
-
no: 2,
|
|
190
|
-
name: "description",
|
|
191
|
-
kind: "scalar",
|
|
192
|
-
opt: !0,
|
|
193
|
-
T: 9
|
|
194
|
-
}]);
|
|
195
|
-
}
|
|
196
|
-
create(e) {
|
|
197
|
-
let t = globalThis.Object.create(this.messagePrototype);
|
|
198
|
-
return t.code = "", e !== void 0 && r(this, t, e), t;
|
|
199
|
-
}
|
|
200
|
-
internalBinaryRead(e, n, r, i) {
|
|
201
|
-
let a = i ?? this.create(), o = e.pos + n;
|
|
202
|
-
for (; e.pos < o;) {
|
|
203
|
-
let [n, i] = e.tag();
|
|
204
|
-
switch (n) {
|
|
205
|
-
case 1:
|
|
206
|
-
a.code = e.string();
|
|
207
|
-
break;
|
|
208
|
-
case 2:
|
|
209
|
-
a.description = e.string();
|
|
210
|
-
break;
|
|
211
|
-
default:
|
|
212
|
-
let o = r.readUnknownField;
|
|
213
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
214
|
-
let s = e.skip(i);
|
|
215
|
-
o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
return a;
|
|
219
|
-
}
|
|
220
|
-
internalBinaryWrite(e, r, i) {
|
|
221
|
-
e.code !== "" && r.tag(1, n.LengthDelimited).string(e.code), e.description !== void 0 && r.tag(2, n.LengthDelimited).string(e.description);
|
|
222
|
-
let a = i.writeUnknownFields;
|
|
223
|
-
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
|
|
224
|
-
}
|
|
225
|
-
}(), x = new class extends u {
|
|
226
|
-
constructor() {
|
|
227
|
-
super("aquila.ExecutionResult", [
|
|
228
|
-
{
|
|
229
|
-
no: 1,
|
|
230
|
-
name: "execution_identifier",
|
|
231
|
-
kind: "scalar",
|
|
232
|
-
T: 9
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
no: 2,
|
|
236
|
-
name: "success",
|
|
237
|
-
kind: "message",
|
|
238
|
-
oneof: "result",
|
|
239
|
-
T: () => d
|
|
240
|
-
},
|
|
241
|
-
{
|
|
242
|
-
no: 3,
|
|
243
|
-
name: "error",
|
|
244
|
-
kind: "message",
|
|
245
|
-
oneof: "result",
|
|
246
|
-
T: () => b
|
|
247
|
-
}
|
|
248
|
-
]);
|
|
249
|
-
}
|
|
250
|
-
create(e) {
|
|
251
|
-
let t = globalThis.Object.create(this.messagePrototype);
|
|
252
|
-
return t.executionIdentifier = "", t.result = { oneofKind: void 0 }, e !== void 0 && r(this, t, e), t;
|
|
253
|
-
}
|
|
254
|
-
internalBinaryRead(e, n, r, i) {
|
|
255
|
-
let a = i ?? this.create(), o = e.pos + n;
|
|
256
|
-
for (; e.pos < o;) {
|
|
257
|
-
let [n, i] = e.tag();
|
|
258
|
-
switch (n) {
|
|
259
|
-
case 1:
|
|
260
|
-
a.executionIdentifier = e.string();
|
|
261
|
-
break;
|
|
262
|
-
case 2:
|
|
263
|
-
a.result = {
|
|
264
|
-
oneofKind: "success",
|
|
265
|
-
success: d.internalBinaryRead(e, e.uint32(), r, a.result.success)
|
|
266
|
-
};
|
|
267
|
-
break;
|
|
268
|
-
case 3:
|
|
269
|
-
a.result = {
|
|
270
|
-
oneofKind: "error",
|
|
271
|
-
error: b.internalBinaryRead(e, e.uint32(), r, a.result.error)
|
|
272
|
-
};
|
|
273
|
-
break;
|
|
274
|
-
default:
|
|
275
|
-
let o = r.readUnknownField;
|
|
276
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
277
|
-
let s = e.skip(i);
|
|
278
|
-
o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
|
|
279
|
-
}
|
|
280
|
-
}
|
|
281
|
-
return a;
|
|
282
|
-
}
|
|
283
|
-
internalBinaryWrite(e, r, i) {
|
|
284
|
-
e.executionIdentifier !== "" && r.tag(1, n.LengthDelimited).string(e.executionIdentifier), e.result.oneofKind === "success" && d.internalBinaryWrite(e.result.success, r.tag(2, n.LengthDelimited).fork(), i).join(), e.result.oneofKind === "error" && b.internalBinaryWrite(e.result.error, r.tag(3, n.LengthDelimited).fork(), i).join();
|
|
285
|
-
let a = i.writeUnknownFields;
|
|
286
|
-
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
|
|
154
|
+
internalBinaryWrite(e, n, r) {
|
|
155
|
+
e.executionIdentifier !== "" && n.tag(1, o.LengthDelimited).string(e.executionIdentifier), e.functionIdentifier !== "" && n.tag(2, o.LengthDelimited).string(e.functionIdentifier), e.parameters && t.internalBinaryWrite(e.parameters, n.tag(3, o.LengthDelimited).fork(), r).join(), e.projectId !== 0n && n.tag(4, o.Varint).int64(e.projectId);
|
|
156
|
+
let a = r.writeUnknownFields;
|
|
157
|
+
return a !== !1 && (a == 1 ? i.onWrite : a)(this.typeName, e, n), n;
|
|
287
158
|
}
|
|
288
|
-
}(),
|
|
159
|
+
}(), v = new class extends a {
|
|
289
160
|
constructor() {
|
|
290
|
-
super("aquila.
|
|
161
|
+
super("aquila.ActionTransferRequest", [
|
|
291
162
|
{
|
|
292
163
|
no: 1,
|
|
293
164
|
name: "logon",
|
|
294
165
|
kind: "message",
|
|
295
166
|
oneof: "data",
|
|
296
|
-
T: () =>
|
|
167
|
+
T: () => g
|
|
297
168
|
},
|
|
298
169
|
{
|
|
299
170
|
no: 2,
|
|
300
171
|
name: "event",
|
|
301
172
|
kind: "message",
|
|
302
173
|
oneof: "data",
|
|
303
|
-
T: () =>
|
|
174
|
+
T: () => h
|
|
304
175
|
},
|
|
305
176
|
{
|
|
306
177
|
no: 3,
|
|
307
178
|
name: "result",
|
|
308
179
|
kind: "message",
|
|
309
180
|
oneof: "data",
|
|
310
|
-
T: () =>
|
|
181
|
+
T: () => e
|
|
311
182
|
}
|
|
312
183
|
]);
|
|
313
184
|
}
|
|
314
185
|
create(e) {
|
|
315
186
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
316
|
-
return t.data = { oneofKind: void 0 }, e !== void 0 &&
|
|
187
|
+
return t.data = { oneofKind: void 0 }, e !== void 0 && n(this, t, e), t;
|
|
317
188
|
}
|
|
318
|
-
internalBinaryRead(
|
|
319
|
-
let
|
|
320
|
-
for (;
|
|
321
|
-
let [n,
|
|
189
|
+
internalBinaryRead(t, n, r, a) {
|
|
190
|
+
let o = a ?? this.create(), s = t.pos + n;
|
|
191
|
+
for (; t.pos < s;) {
|
|
192
|
+
let [n, a] = t.tag();
|
|
322
193
|
switch (n) {
|
|
323
194
|
case 1:
|
|
324
|
-
|
|
195
|
+
o.data = {
|
|
325
196
|
oneofKind: "logon",
|
|
326
|
-
logon:
|
|
197
|
+
logon: g.internalBinaryRead(t, t.uint32(), r, o.data.logon)
|
|
327
198
|
};
|
|
328
199
|
break;
|
|
329
200
|
case 2:
|
|
330
|
-
|
|
201
|
+
o.data = {
|
|
331
202
|
oneofKind: "event",
|
|
332
|
-
event:
|
|
203
|
+
event: h.internalBinaryRead(t, t.uint32(), r, o.data.event)
|
|
333
204
|
};
|
|
334
205
|
break;
|
|
335
206
|
case 3:
|
|
336
|
-
|
|
207
|
+
o.data = {
|
|
337
208
|
oneofKind: "result",
|
|
338
|
-
result:
|
|
209
|
+
result: e.internalBinaryRead(t, t.uint32(), r, o.data.result)
|
|
339
210
|
};
|
|
340
211
|
break;
|
|
341
212
|
default:
|
|
342
|
-
let
|
|
343
|
-
if (
|
|
344
|
-
let
|
|
345
|
-
|
|
213
|
+
let s = r.readUnknownField;
|
|
214
|
+
if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${a}) for ${this.typeName}`);
|
|
215
|
+
let c = t.skip(a);
|
|
216
|
+
s !== !1 && (s === !0 ? i.onRead : s)(this.typeName, o, n, a, c);
|
|
346
217
|
}
|
|
347
218
|
}
|
|
348
|
-
return
|
|
219
|
+
return o;
|
|
349
220
|
}
|
|
350
|
-
internalBinaryWrite(
|
|
351
|
-
|
|
352
|
-
let a =
|
|
353
|
-
return a !== !1 && (a == 1 ?
|
|
221
|
+
internalBinaryWrite(t, n, r) {
|
|
222
|
+
t.data.oneofKind === "logon" && g.internalBinaryWrite(t.data.logon, n.tag(1, o.LengthDelimited).fork(), r).join(), t.data.oneofKind === "event" && h.internalBinaryWrite(t.data.event, n.tag(2, o.LengthDelimited).fork(), r).join(), t.data.oneofKind === "result" && e.internalBinaryWrite(t.data.result, n.tag(3, o.LengthDelimited).fork(), r).join();
|
|
223
|
+
let a = r.writeUnknownFields;
|
|
224
|
+
return a !== !1 && (a == 1 ? i.onWrite : a)(this.typeName, t, n), n;
|
|
354
225
|
}
|
|
355
|
-
}(),
|
|
226
|
+
}(), y = new class extends a {
|
|
356
227
|
constructor() {
|
|
357
|
-
super("aquila.
|
|
228
|
+
super("aquila.ActionTransferResponse", [{
|
|
358
229
|
no: 1,
|
|
359
230
|
name: "execution",
|
|
360
231
|
kind: "message",
|
|
361
232
|
oneof: "data",
|
|
362
|
-
T: () =>
|
|
233
|
+
T: () => _
|
|
363
234
|
}, {
|
|
364
235
|
no: 2,
|
|
365
|
-
name: "
|
|
236
|
+
name: "module_configurations",
|
|
366
237
|
kind: "message",
|
|
367
238
|
oneof: "data",
|
|
368
|
-
T: () =>
|
|
239
|
+
T: () => u
|
|
369
240
|
}]);
|
|
370
241
|
}
|
|
371
242
|
create(e) {
|
|
372
243
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
373
|
-
return t.data = { oneofKind: void 0 }, e !== void 0 &&
|
|
244
|
+
return t.data = { oneofKind: void 0 }, e !== void 0 && n(this, t, e), t;
|
|
374
245
|
}
|
|
375
|
-
internalBinaryRead(
|
|
376
|
-
let
|
|
377
|
-
for (;
|
|
378
|
-
let [
|
|
379
|
-
switch (
|
|
246
|
+
internalBinaryRead(e, t, n, r) {
|
|
247
|
+
let a = r ?? this.create(), o = e.pos + t;
|
|
248
|
+
for (; e.pos < o;) {
|
|
249
|
+
let [t, r] = e.tag();
|
|
250
|
+
switch (t) {
|
|
380
251
|
case 1:
|
|
381
|
-
|
|
252
|
+
a.data = {
|
|
382
253
|
oneofKind: "execution",
|
|
383
|
-
execution:
|
|
254
|
+
execution: _.internalBinaryRead(e, e.uint32(), n, a.data.execution)
|
|
384
255
|
};
|
|
385
256
|
break;
|
|
386
257
|
case 2:
|
|
387
|
-
|
|
388
|
-
oneofKind: "
|
|
389
|
-
|
|
258
|
+
a.data = {
|
|
259
|
+
oneofKind: "moduleConfigurations",
|
|
260
|
+
moduleConfigurations: u.internalBinaryRead(e, e.uint32(), n, a.data.moduleConfigurations)
|
|
390
261
|
};
|
|
391
262
|
break;
|
|
392
263
|
default:
|
|
393
|
-
let
|
|
394
|
-
if (
|
|
395
|
-
let
|
|
396
|
-
|
|
264
|
+
let o = n.readUnknownField;
|
|
265
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${r}) for ${this.typeName}`);
|
|
266
|
+
let s = e.skip(r);
|
|
267
|
+
o !== !1 && (o === !0 ? i.onRead : o)(this.typeName, a, t, r, s);
|
|
397
268
|
}
|
|
398
269
|
}
|
|
399
|
-
return
|
|
270
|
+
return a;
|
|
400
271
|
}
|
|
401
|
-
internalBinaryWrite(
|
|
402
|
-
|
|
403
|
-
let
|
|
404
|
-
return
|
|
272
|
+
internalBinaryWrite(e, t, n) {
|
|
273
|
+
e.data.oneofKind === "execution" && _.internalBinaryWrite(e.data.execution, t.tag(1, o.LengthDelimited).fork(), n).join(), e.data.oneofKind === "moduleConfigurations" && u.internalBinaryWrite(e.data.moduleConfigurations, t.tag(2, o.LengthDelimited).fork(), n).join();
|
|
274
|
+
let r = n.writeUnknownFields;
|
|
275
|
+
return r !== !1 && (r == 1 ? i.onWrite : r)(this.typeName, e, t), t;
|
|
405
276
|
}
|
|
406
|
-
}(),
|
|
277
|
+
}(), b = new p("aquila.ActionTransferService", [{
|
|
407
278
|
name: "Transfer",
|
|
408
279
|
serverStreaming: !0,
|
|
409
280
|
clientStreaming: !0,
|
|
410
281
|
options: {},
|
|
411
|
-
I:
|
|
412
|
-
O:
|
|
413
|
-
}]),
|
|
282
|
+
I: v,
|
|
283
|
+
O: y
|
|
284
|
+
}]), x = class {
|
|
414
285
|
constructor(e) {
|
|
415
|
-
this._transport = e, this.typeName =
|
|
286
|
+
this._transport = e, this.typeName = b.typeName, this.methods = b.methods, this.options = b.options;
|
|
416
287
|
}
|
|
417
288
|
transfer(e) {
|
|
418
289
|
let t = this.methods[0], n = this._transport.mergeOptions(e);
|
|
419
|
-
return
|
|
420
|
-
}
|
|
421
|
-
}, E = new class extends u {
|
|
422
|
-
constructor() {
|
|
423
|
-
super("aquila.DataTypeUpdateRequest", [{
|
|
424
|
-
no: 1,
|
|
425
|
-
name: "data_types",
|
|
426
|
-
kind: "message",
|
|
427
|
-
repeat: 2,
|
|
428
|
-
T: () => o
|
|
429
|
-
}]);
|
|
430
|
-
}
|
|
431
|
-
create(e) {
|
|
432
|
-
let t = globalThis.Object.create(this.messagePrototype);
|
|
433
|
-
return t.dataTypes = [], e !== void 0 && r(this, t, e), t;
|
|
434
|
-
}
|
|
435
|
-
internalBinaryRead(e, n, r, i) {
|
|
436
|
-
let a = i ?? this.create(), s = e.pos + n;
|
|
437
|
-
for (; e.pos < s;) {
|
|
438
|
-
let [n, i] = e.tag();
|
|
439
|
-
switch (n) {
|
|
440
|
-
case 1:
|
|
441
|
-
a.dataTypes.push(o.internalBinaryRead(e, e.uint32(), r));
|
|
442
|
-
break;
|
|
443
|
-
default:
|
|
444
|
-
let s = r.readUnknownField;
|
|
445
|
-
if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
446
|
-
let c = e.skip(i);
|
|
447
|
-
s !== !1 && (s === !0 ? t.onRead : s)(this.typeName, a, n, i, c);
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
return a;
|
|
451
|
-
}
|
|
452
|
-
internalBinaryWrite(e, r, i) {
|
|
453
|
-
for (let t = 0; t < e.dataTypes.length; t++) o.internalBinaryWrite(e.dataTypes[t], r.tag(1, n.LengthDelimited).fork(), i).join();
|
|
454
|
-
let a = i.writeUnknownFields;
|
|
455
|
-
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
|
|
456
|
-
}
|
|
457
|
-
}(), D = new class extends u {
|
|
458
|
-
constructor() {
|
|
459
|
-
super("aquila.DataTypeUpdateResponse", [{
|
|
460
|
-
no: 1,
|
|
461
|
-
name: "success",
|
|
462
|
-
kind: "scalar",
|
|
463
|
-
T: 8
|
|
464
|
-
}]);
|
|
465
|
-
}
|
|
466
|
-
create(e) {
|
|
467
|
-
let t = globalThis.Object.create(this.messagePrototype);
|
|
468
|
-
return t.success = !1, e !== void 0 && r(this, t, e), t;
|
|
469
|
-
}
|
|
470
|
-
internalBinaryRead(e, n, r, i) {
|
|
471
|
-
let a = i ?? this.create(), o = e.pos + n;
|
|
472
|
-
for (; e.pos < o;) {
|
|
473
|
-
let [n, i] = e.tag();
|
|
474
|
-
switch (n) {
|
|
475
|
-
case 1:
|
|
476
|
-
a.success = e.bool();
|
|
477
|
-
break;
|
|
478
|
-
default:
|
|
479
|
-
let o = r.readUnknownField;
|
|
480
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
481
|
-
let s = e.skip(i);
|
|
482
|
-
o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
|
|
483
|
-
}
|
|
484
|
-
}
|
|
485
|
-
return a;
|
|
486
|
-
}
|
|
487
|
-
internalBinaryWrite(e, r, i) {
|
|
488
|
-
e.success !== !1 && r.tag(1, n.Varint).bool(e.success);
|
|
489
|
-
let a = i.writeUnknownFields;
|
|
490
|
-
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
|
|
491
|
-
}
|
|
492
|
-
}(), O = new h("aquila.DataTypeService", [{
|
|
493
|
-
name: "Update",
|
|
494
|
-
options: {},
|
|
495
|
-
I: E,
|
|
496
|
-
O: D
|
|
497
|
-
}]), k = class {
|
|
498
|
-
constructor(e) {
|
|
499
|
-
this._transport = e, this.typeName = O.typeName, this.methods = O.methods, this.options = O.options;
|
|
500
|
-
}
|
|
501
|
-
update(e, t) {
|
|
502
|
-
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
503
|
-
return g("unary", this._transport, n, r, e);
|
|
290
|
+
return m("duplex", this._transport, t, n);
|
|
504
291
|
}
|
|
505
|
-
},
|
|
292
|
+
}, S = new class extends a {
|
|
506
293
|
constructor() {
|
|
507
|
-
super("aquila.
|
|
294
|
+
super("aquila.ModuleUpdateRequest", [{
|
|
508
295
|
no: 1,
|
|
509
|
-
name: "
|
|
296
|
+
name: "modules",
|
|
510
297
|
kind: "message",
|
|
511
298
|
repeat: 2,
|
|
512
|
-
T: () =>
|
|
513
|
-
}]);
|
|
514
|
-
}
|
|
515
|
-
create(e) {
|
|
516
|
-
let t = globalThis.Object.create(this.messagePrototype);
|
|
517
|
-
return t.flowTypes = [], e !== void 0 && r(this, t, e), t;
|
|
518
|
-
}
|
|
519
|
-
internalBinaryRead(e, n, r, i) {
|
|
520
|
-
let a = i ?? this.create(), o = e.pos + n;
|
|
521
|
-
for (; e.pos < o;) {
|
|
522
|
-
let [n, i] = e.tag();
|
|
523
|
-
switch (n) {
|
|
524
|
-
case 1:
|
|
525
|
-
a.flowTypes.push(l.internalBinaryRead(e, e.uint32(), r));
|
|
526
|
-
break;
|
|
527
|
-
default:
|
|
528
|
-
let o = r.readUnknownField;
|
|
529
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
530
|
-
let s = e.skip(i);
|
|
531
|
-
o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
|
|
532
|
-
}
|
|
533
|
-
}
|
|
534
|
-
return a;
|
|
535
|
-
}
|
|
536
|
-
internalBinaryWrite(e, r, i) {
|
|
537
|
-
for (let t = 0; t < e.flowTypes.length; t++) l.internalBinaryWrite(e.flowTypes[t], r.tag(1, n.LengthDelimited).fork(), i).join();
|
|
538
|
-
let a = i.writeUnknownFields;
|
|
539
|
-
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
|
|
540
|
-
}
|
|
541
|
-
}(), j = new class extends u {
|
|
542
|
-
constructor() {
|
|
543
|
-
super("aquila.FlowTypeUpdateResponse", [{
|
|
544
|
-
no: 1,
|
|
545
|
-
name: "success",
|
|
546
|
-
kind: "scalar",
|
|
547
|
-
T: 8
|
|
548
|
-
}]);
|
|
549
|
-
}
|
|
550
|
-
create(e) {
|
|
551
|
-
let t = globalThis.Object.create(this.messagePrototype);
|
|
552
|
-
return t.success = !1, e !== void 0 && r(this, t, e), t;
|
|
553
|
-
}
|
|
554
|
-
internalBinaryRead(e, n, r, i) {
|
|
555
|
-
let a = i ?? this.create(), o = e.pos + n;
|
|
556
|
-
for (; e.pos < o;) {
|
|
557
|
-
let [n, i] = e.tag();
|
|
558
|
-
switch (n) {
|
|
559
|
-
case 1:
|
|
560
|
-
a.success = e.bool();
|
|
561
|
-
break;
|
|
562
|
-
default:
|
|
563
|
-
let o = r.readUnknownField;
|
|
564
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
565
|
-
let s = e.skip(i);
|
|
566
|
-
o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
|
|
567
|
-
}
|
|
568
|
-
}
|
|
569
|
-
return a;
|
|
570
|
-
}
|
|
571
|
-
internalBinaryWrite(e, r, i) {
|
|
572
|
-
e.success !== !1 && r.tag(1, n.Varint).bool(e.success);
|
|
573
|
-
let a = i.writeUnknownFields;
|
|
574
|
-
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
|
|
575
|
-
}
|
|
576
|
-
}(), M = new h("aquila.FlowTypeService", [{
|
|
577
|
-
name: "Update",
|
|
578
|
-
options: {},
|
|
579
|
-
I: A,
|
|
580
|
-
O: j
|
|
581
|
-
}]), N = class {
|
|
582
|
-
constructor(e) {
|
|
583
|
-
this._transport = e, this.typeName = M.typeName, this.methods = M.methods, this.options = M.options;
|
|
584
|
-
}
|
|
585
|
-
update(e, t) {
|
|
586
|
-
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
587
|
-
return g("unary", this._transport, n, r, e);
|
|
588
|
-
}
|
|
589
|
-
}, P = new class extends u {
|
|
590
|
-
constructor() {
|
|
591
|
-
super("aquila.FunctionDefinitionUpdateRequest", [{
|
|
592
|
-
no: 1,
|
|
593
|
-
name: "functions",
|
|
594
|
-
kind: "message",
|
|
595
|
-
repeat: 2,
|
|
596
|
-
T: () => m
|
|
299
|
+
T: () => f
|
|
597
300
|
}]);
|
|
598
301
|
}
|
|
599
302
|
create(e) {
|
|
600
303
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
601
|
-
return t.
|
|
304
|
+
return t.modules = [], e !== void 0 && n(this, t, e), t;
|
|
602
305
|
}
|
|
603
|
-
internalBinaryRead(e, n, r
|
|
604
|
-
let a =
|
|
306
|
+
internalBinaryRead(e, t, n, r) {
|
|
307
|
+
let a = r ?? this.create(), o = e.pos + t;
|
|
605
308
|
for (; e.pos < o;) {
|
|
606
|
-
let [
|
|
607
|
-
switch (
|
|
309
|
+
let [t, r] = e.tag();
|
|
310
|
+
switch (t) {
|
|
608
311
|
case 1:
|
|
609
|
-
a.
|
|
312
|
+
a.modules.push(f.internalBinaryRead(e, e.uint32(), n));
|
|
610
313
|
break;
|
|
611
314
|
default:
|
|
612
|
-
let o =
|
|
613
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${
|
|
614
|
-
let s = e.skip(
|
|
615
|
-
o !== !1 && (o === !0 ?
|
|
315
|
+
let o = n.readUnknownField;
|
|
316
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${r}) for ${this.typeName}`);
|
|
317
|
+
let s = e.skip(r);
|
|
318
|
+
o !== !1 && (o === !0 ? i.onRead : o)(this.typeName, a, t, r, s);
|
|
616
319
|
}
|
|
617
320
|
}
|
|
618
321
|
return a;
|
|
619
322
|
}
|
|
620
|
-
internalBinaryWrite(e,
|
|
621
|
-
for (let
|
|
622
|
-
let
|
|
623
|
-
return
|
|
323
|
+
internalBinaryWrite(e, t, n) {
|
|
324
|
+
for (let r = 0; r < e.modules.length; r++) f.internalBinaryWrite(e.modules[r], t.tag(1, o.LengthDelimited).fork(), n).join();
|
|
325
|
+
let r = n.writeUnknownFields;
|
|
326
|
+
return r !== !1 && (r == 1 ? i.onWrite : r)(this.typeName, e, t), t;
|
|
624
327
|
}
|
|
625
|
-
}(),
|
|
328
|
+
}(), C = new class extends a {
|
|
626
329
|
constructor() {
|
|
627
|
-
super("aquila.
|
|
330
|
+
super("aquila.ModuleUpdateResponse", [{
|
|
628
331
|
no: 1,
|
|
629
332
|
name: "success",
|
|
630
333
|
kind: "scalar",
|
|
@@ -633,179 +336,111 @@ var _ = new class extends u {
|
|
|
633
336
|
}
|
|
634
337
|
create(e) {
|
|
635
338
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
636
|
-
return t.success = !1, e !== void 0 &&
|
|
339
|
+
return t.success = !1, e !== void 0 && n(this, t, e), t;
|
|
637
340
|
}
|
|
638
|
-
internalBinaryRead(e, n, r
|
|
639
|
-
let a =
|
|
341
|
+
internalBinaryRead(e, t, n, r) {
|
|
342
|
+
let a = r ?? this.create(), o = e.pos + t;
|
|
640
343
|
for (; e.pos < o;) {
|
|
641
|
-
let [
|
|
642
|
-
switch (
|
|
344
|
+
let [t, r] = e.tag();
|
|
345
|
+
switch (t) {
|
|
643
346
|
case 1:
|
|
644
347
|
a.success = e.bool();
|
|
645
348
|
break;
|
|
646
349
|
default:
|
|
647
|
-
let o =
|
|
648
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${
|
|
649
|
-
let s = e.skip(
|
|
650
|
-
o !== !1 && (o === !0 ?
|
|
350
|
+
let o = n.readUnknownField;
|
|
351
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${r}) for ${this.typeName}`);
|
|
352
|
+
let s = e.skip(r);
|
|
353
|
+
o !== !1 && (o === !0 ? i.onRead : o)(this.typeName, a, t, r, s);
|
|
651
354
|
}
|
|
652
355
|
}
|
|
653
356
|
return a;
|
|
654
357
|
}
|
|
655
|
-
internalBinaryWrite(e,
|
|
656
|
-
e.success !== !1 &&
|
|
657
|
-
let
|
|
658
|
-
return
|
|
358
|
+
internalBinaryWrite(e, t, n) {
|
|
359
|
+
e.success !== !1 && t.tag(1, o.Varint).bool(e.success);
|
|
360
|
+
let r = n.writeUnknownFields;
|
|
361
|
+
return r !== !1 && (r == 1 ? i.onWrite : r)(this.typeName, e, t), t;
|
|
659
362
|
}
|
|
660
|
-
}(),
|
|
363
|
+
}(), w = new p("aquila.ModuleService", [{
|
|
661
364
|
name: "Update",
|
|
662
365
|
options: {},
|
|
663
|
-
I:
|
|
664
|
-
O:
|
|
665
|
-
}]),
|
|
366
|
+
I: S,
|
|
367
|
+
O: C
|
|
368
|
+
}]), T = class {
|
|
666
369
|
constructor(e) {
|
|
667
|
-
this._transport = e, this.typeName =
|
|
370
|
+
this._transport = e, this.typeName = w.typeName, this.methods = w.methods, this.options = w.options;
|
|
668
371
|
}
|
|
669
372
|
update(e, t) {
|
|
670
373
|
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
671
|
-
return
|
|
672
|
-
}
|
|
673
|
-
}, R = new class extends u {
|
|
674
|
-
constructor() {
|
|
675
|
-
super("aquila.RuntimeFunctionDefinitionUpdateRequest", [{
|
|
676
|
-
no: 1,
|
|
677
|
-
name: "runtime_functions",
|
|
678
|
-
kind: "message",
|
|
679
|
-
repeat: 2,
|
|
680
|
-
T: () => c
|
|
681
|
-
}]);
|
|
682
|
-
}
|
|
683
|
-
create(e) {
|
|
684
|
-
let t = globalThis.Object.create(this.messagePrototype);
|
|
685
|
-
return t.runtimeFunctions = [], e !== void 0 && r(this, t, e), t;
|
|
686
|
-
}
|
|
687
|
-
internalBinaryRead(e, n, r, i) {
|
|
688
|
-
let a = i ?? this.create(), o = e.pos + n;
|
|
689
|
-
for (; e.pos < o;) {
|
|
690
|
-
let [n, i] = e.tag();
|
|
691
|
-
switch (n) {
|
|
692
|
-
case 1:
|
|
693
|
-
a.runtimeFunctions.push(c.internalBinaryRead(e, e.uint32(), r));
|
|
694
|
-
break;
|
|
695
|
-
default:
|
|
696
|
-
let o = r.readUnknownField;
|
|
697
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
698
|
-
let s = e.skip(i);
|
|
699
|
-
o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
|
|
700
|
-
}
|
|
701
|
-
}
|
|
702
|
-
return a;
|
|
703
|
-
}
|
|
704
|
-
internalBinaryWrite(e, r, i) {
|
|
705
|
-
for (let t = 0; t < e.runtimeFunctions.length; t++) c.internalBinaryWrite(e.runtimeFunctions[t], r.tag(1, n.LengthDelimited).fork(), i).join();
|
|
706
|
-
let a = i.writeUnknownFields;
|
|
707
|
-
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
|
|
374
|
+
return m("unary", this._transport, n, r, e);
|
|
708
375
|
}
|
|
709
|
-
}
|
|
376
|
+
}, E = new class extends a {
|
|
710
377
|
constructor() {
|
|
711
|
-
super("aquila.
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
733
|
-
let s = e.skip(i);
|
|
734
|
-
o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
|
|
378
|
+
super("aquila.RuntimeStatusUpdateRequest", [
|
|
379
|
+
{
|
|
380
|
+
no: 1,
|
|
381
|
+
name: "adapter_runtime_status",
|
|
382
|
+
kind: "message",
|
|
383
|
+
oneof: "status",
|
|
384
|
+
T: () => s
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
no: 2,
|
|
388
|
+
name: "execution_runtime_status",
|
|
389
|
+
kind: "message",
|
|
390
|
+
oneof: "status",
|
|
391
|
+
T: () => c
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
no: 3,
|
|
395
|
+
name: "action_status",
|
|
396
|
+
kind: "message",
|
|
397
|
+
oneof: "status",
|
|
398
|
+
T: () => l
|
|
735
399
|
}
|
|
736
|
-
|
|
737
|
-
return a;
|
|
738
|
-
}
|
|
739
|
-
internalBinaryWrite(e, r, i) {
|
|
740
|
-
e.success !== !1 && r.tag(1, n.Varint).bool(e.success);
|
|
741
|
-
let a = i.writeUnknownFields;
|
|
742
|
-
return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
|
|
743
|
-
}
|
|
744
|
-
}(), B = new h("aquila.RuntimeFunctionDefinitionService", [{
|
|
745
|
-
name: "Update",
|
|
746
|
-
options: {},
|
|
747
|
-
I: R,
|
|
748
|
-
O: z
|
|
749
|
-
}]), V = class {
|
|
750
|
-
constructor(e) {
|
|
751
|
-
this._transport = e, this.typeName = B.typeName, this.methods = B.methods, this.options = B.options;
|
|
752
|
-
}
|
|
753
|
-
update(e, t) {
|
|
754
|
-
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
755
|
-
return g("unary", this._transport, n, r, e);
|
|
756
|
-
}
|
|
757
|
-
}, H = new class extends u {
|
|
758
|
-
constructor() {
|
|
759
|
-
super("aquila.RuntimeStatusUpdateRequest", [{
|
|
760
|
-
no: 1,
|
|
761
|
-
name: "adapter_runtime_status",
|
|
762
|
-
kind: "message",
|
|
763
|
-
oneof: "status",
|
|
764
|
-
T: () => f
|
|
765
|
-
}, {
|
|
766
|
-
no: 2,
|
|
767
|
-
name: "execution_runtime_status",
|
|
768
|
-
kind: "message",
|
|
769
|
-
oneof: "status",
|
|
770
|
-
T: () => s
|
|
771
|
-
}]);
|
|
400
|
+
]);
|
|
772
401
|
}
|
|
773
402
|
create(e) {
|
|
774
403
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
775
|
-
return t.status = { oneofKind: void 0 }, e !== void 0 &&
|
|
404
|
+
return t.status = { oneofKind: void 0 }, e !== void 0 && n(this, t, e), t;
|
|
776
405
|
}
|
|
777
|
-
internalBinaryRead(e, n, r
|
|
778
|
-
let a =
|
|
406
|
+
internalBinaryRead(e, t, n, r) {
|
|
407
|
+
let a = r ?? this.create(), o = e.pos + t;
|
|
779
408
|
for (; e.pos < o;) {
|
|
780
|
-
let [
|
|
781
|
-
switch (
|
|
409
|
+
let [t, r] = e.tag();
|
|
410
|
+
switch (t) {
|
|
782
411
|
case 1:
|
|
783
412
|
a.status = {
|
|
784
413
|
oneofKind: "adapterRuntimeStatus",
|
|
785
|
-
adapterRuntimeStatus:
|
|
414
|
+
adapterRuntimeStatus: s.internalBinaryRead(e, e.uint32(), n, a.status.adapterRuntimeStatus)
|
|
786
415
|
};
|
|
787
416
|
break;
|
|
788
417
|
case 2:
|
|
789
418
|
a.status = {
|
|
790
419
|
oneofKind: "executionRuntimeStatus",
|
|
791
|
-
executionRuntimeStatus:
|
|
420
|
+
executionRuntimeStatus: c.internalBinaryRead(e, e.uint32(), n, a.status.executionRuntimeStatus)
|
|
421
|
+
};
|
|
422
|
+
break;
|
|
423
|
+
case 3:
|
|
424
|
+
a.status = {
|
|
425
|
+
oneofKind: "actionStatus",
|
|
426
|
+
actionStatus: l.internalBinaryRead(e, e.uint32(), n, a.status.actionStatus)
|
|
792
427
|
};
|
|
793
428
|
break;
|
|
794
429
|
default:
|
|
795
|
-
let o =
|
|
796
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${
|
|
797
|
-
let
|
|
798
|
-
o !== !1 && (o === !0 ?
|
|
430
|
+
let o = n.readUnknownField;
|
|
431
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${r}) for ${this.typeName}`);
|
|
432
|
+
let u = e.skip(r);
|
|
433
|
+
o !== !1 && (o === !0 ? i.onRead : o)(this.typeName, a, t, r, u);
|
|
799
434
|
}
|
|
800
435
|
}
|
|
801
436
|
return a;
|
|
802
437
|
}
|
|
803
|
-
internalBinaryWrite(e,
|
|
804
|
-
e.status.oneofKind === "adapterRuntimeStatus" &&
|
|
805
|
-
let
|
|
806
|
-
return
|
|
438
|
+
internalBinaryWrite(e, t, n) {
|
|
439
|
+
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();
|
|
440
|
+
let r = n.writeUnknownFields;
|
|
441
|
+
return r !== !1 && (r == 1 ? i.onWrite : r)(this.typeName, e, t), t;
|
|
807
442
|
}
|
|
808
|
-
}(),
|
|
443
|
+
}(), D = new class extends a {
|
|
809
444
|
constructor() {
|
|
810
445
|
super("aquila.RuntimeStatusUpdateResponse", [{
|
|
811
446
|
no: 1,
|
|
@@ -816,80 +451,80 @@ var _ = new class extends u {
|
|
|
816
451
|
}
|
|
817
452
|
create(e) {
|
|
818
453
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
819
|
-
return t.success = !1, e !== void 0 &&
|
|
454
|
+
return t.success = !1, e !== void 0 && n(this, t, e), t;
|
|
820
455
|
}
|
|
821
|
-
internalBinaryRead(e, n, r
|
|
822
|
-
let a =
|
|
456
|
+
internalBinaryRead(e, t, n, r) {
|
|
457
|
+
let a = r ?? this.create(), o = e.pos + t;
|
|
823
458
|
for (; e.pos < o;) {
|
|
824
|
-
let [
|
|
825
|
-
switch (
|
|
459
|
+
let [t, r] = e.tag();
|
|
460
|
+
switch (t) {
|
|
826
461
|
case 1:
|
|
827
462
|
a.success = e.bool();
|
|
828
463
|
break;
|
|
829
464
|
default:
|
|
830
|
-
let o =
|
|
831
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${
|
|
832
|
-
let s = e.skip(
|
|
833
|
-
o !== !1 && (o === !0 ?
|
|
465
|
+
let o = n.readUnknownField;
|
|
466
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${r}) for ${this.typeName}`);
|
|
467
|
+
let s = e.skip(r);
|
|
468
|
+
o !== !1 && (o === !0 ? i.onRead : o)(this.typeName, a, t, r, s);
|
|
834
469
|
}
|
|
835
470
|
}
|
|
836
471
|
return a;
|
|
837
472
|
}
|
|
838
|
-
internalBinaryWrite(e,
|
|
839
|
-
e.success !== !1 &&
|
|
840
|
-
let
|
|
841
|
-
return
|
|
473
|
+
internalBinaryWrite(e, t, n) {
|
|
474
|
+
e.success !== !1 && t.tag(1, o.Varint).bool(e.success);
|
|
475
|
+
let r = n.writeUnknownFields;
|
|
476
|
+
return r !== !1 && (r == 1 ? i.onWrite : r)(this.typeName, e, t), t;
|
|
842
477
|
}
|
|
843
|
-
}(),
|
|
478
|
+
}(), O = new p("aquila.RuntimeStatusService", [{
|
|
844
479
|
name: "Update",
|
|
845
480
|
options: {},
|
|
846
|
-
I:
|
|
847
|
-
O:
|
|
848
|
-
}]),
|
|
481
|
+
I: E,
|
|
482
|
+
O: D
|
|
483
|
+
}]), k = class {
|
|
849
484
|
constructor(e) {
|
|
850
|
-
this._transport = e, this.typeName =
|
|
485
|
+
this._transport = e, this.typeName = O.typeName, this.methods = O.methods, this.options = O.options;
|
|
851
486
|
}
|
|
852
487
|
update(e, t) {
|
|
853
488
|
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
854
|
-
return
|
|
489
|
+
return m("unary", this._transport, n, r, e);
|
|
855
490
|
}
|
|
856
|
-
},
|
|
491
|
+
}, A = new class extends a {
|
|
857
492
|
constructor() {
|
|
858
493
|
super("aquila.RuntimeUsageRequest", [{
|
|
859
494
|
no: 1,
|
|
860
495
|
name: "runtime_usage",
|
|
861
496
|
kind: "message",
|
|
862
497
|
repeat: 2,
|
|
863
|
-
T: () =>
|
|
498
|
+
T: () => d
|
|
864
499
|
}]);
|
|
865
500
|
}
|
|
866
501
|
create(e) {
|
|
867
502
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
868
|
-
return t.runtimeUsage = [], e !== void 0 &&
|
|
503
|
+
return t.runtimeUsage = [], e !== void 0 && n(this, t, e), t;
|
|
869
504
|
}
|
|
870
|
-
internalBinaryRead(e, n, r
|
|
871
|
-
let a =
|
|
505
|
+
internalBinaryRead(e, t, n, r) {
|
|
506
|
+
let a = r ?? this.create(), o = e.pos + t;
|
|
872
507
|
for (; e.pos < o;) {
|
|
873
|
-
let [
|
|
874
|
-
switch (
|
|
508
|
+
let [t, r] = e.tag();
|
|
509
|
+
switch (t) {
|
|
875
510
|
case 1:
|
|
876
|
-
a.runtimeUsage.push(
|
|
511
|
+
a.runtimeUsage.push(d.internalBinaryRead(e, e.uint32(), n));
|
|
877
512
|
break;
|
|
878
513
|
default:
|
|
879
|
-
let o =
|
|
880
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${
|
|
881
|
-
let s = e.skip(
|
|
882
|
-
o !== !1 && (o === !0 ?
|
|
514
|
+
let o = n.readUnknownField;
|
|
515
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${r}) for ${this.typeName}`);
|
|
516
|
+
let s = e.skip(r);
|
|
517
|
+
o !== !1 && (o === !0 ? i.onRead : o)(this.typeName, a, t, r, s);
|
|
883
518
|
}
|
|
884
519
|
}
|
|
885
520
|
return a;
|
|
886
521
|
}
|
|
887
|
-
internalBinaryWrite(e,
|
|
888
|
-
for (let
|
|
889
|
-
let
|
|
890
|
-
return
|
|
522
|
+
internalBinaryWrite(e, t, n) {
|
|
523
|
+
for (let r = 0; r < e.runtimeUsage.length; r++) d.internalBinaryWrite(e.runtimeUsage[r], t.tag(1, o.LengthDelimited).fork(), n).join();
|
|
524
|
+
let r = n.writeUnknownFields;
|
|
525
|
+
return r !== !1 && (r == 1 ? i.onWrite : r)(this.typeName, e, t), t;
|
|
891
526
|
}
|
|
892
|
-
}(),
|
|
527
|
+
}(), j = new class extends a {
|
|
893
528
|
constructor() {
|
|
894
529
|
super("aquila.RuntimeUsageResponse", [{
|
|
895
530
|
no: 1,
|
|
@@ -900,43 +535,43 @@ var _ = new class extends u {
|
|
|
900
535
|
}
|
|
901
536
|
create(e) {
|
|
902
537
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
903
|
-
return t.success = !1, e !== void 0 &&
|
|
538
|
+
return t.success = !1, e !== void 0 && n(this, t, e), t;
|
|
904
539
|
}
|
|
905
|
-
internalBinaryRead(e, n, r
|
|
906
|
-
let a =
|
|
540
|
+
internalBinaryRead(e, t, n, r) {
|
|
541
|
+
let a = r ?? this.create(), o = e.pos + t;
|
|
907
542
|
for (; e.pos < o;) {
|
|
908
|
-
let [
|
|
909
|
-
switch (
|
|
543
|
+
let [t, r] = e.tag();
|
|
544
|
+
switch (t) {
|
|
910
545
|
case 1:
|
|
911
546
|
a.success = e.bool();
|
|
912
547
|
break;
|
|
913
548
|
default:
|
|
914
|
-
let o =
|
|
915
|
-
if (o === "throw") throw new globalThis.Error(`Unknown field ${
|
|
916
|
-
let s = e.skip(
|
|
917
|
-
o !== !1 && (o === !0 ?
|
|
549
|
+
let o = n.readUnknownField;
|
|
550
|
+
if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${r}) for ${this.typeName}`);
|
|
551
|
+
let s = e.skip(r);
|
|
552
|
+
o !== !1 && (o === !0 ? i.onRead : o)(this.typeName, a, t, r, s);
|
|
918
553
|
}
|
|
919
554
|
}
|
|
920
555
|
return a;
|
|
921
556
|
}
|
|
922
|
-
internalBinaryWrite(e,
|
|
923
|
-
e.success !== !1 &&
|
|
924
|
-
let
|
|
925
|
-
return
|
|
557
|
+
internalBinaryWrite(e, t, n) {
|
|
558
|
+
e.success !== !1 && t.tag(1, o.Varint).bool(e.success);
|
|
559
|
+
let r = n.writeUnknownFields;
|
|
560
|
+
return r !== !1 && (r == 1 ? i.onWrite : r)(this.typeName, e, t), t;
|
|
926
561
|
}
|
|
927
|
-
}(),
|
|
562
|
+
}(), M = new p("aquila.RuntimeUsageService", [{
|
|
928
563
|
name: "Update",
|
|
929
564
|
options: {},
|
|
930
|
-
I:
|
|
931
|
-
O:
|
|
932
|
-
}]),
|
|
565
|
+
I: A,
|
|
566
|
+
O: j
|
|
567
|
+
}]), N = class {
|
|
933
568
|
constructor(e) {
|
|
934
|
-
this._transport = e, this.typeName =
|
|
569
|
+
this._transport = e, this.typeName = M.typeName, this.methods = M.methods, this.options = M.options;
|
|
935
570
|
}
|
|
936
571
|
update(e, t) {
|
|
937
572
|
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
938
|
-
return
|
|
573
|
+
return m("unary", this._transport, n, r, e);
|
|
939
574
|
}
|
|
940
575
|
};
|
|
941
576
|
//#endregion
|
|
942
|
-
export {
|
|
577
|
+
export { h as ActionEvent, _ as ActionExecutionRequest, g as ActionLogon, v as ActionTransferRequest, y as ActionTransferResponse, b as ActionTransferService, x as ActionTransferServiceClient, w as ModuleService, T as ModuleServiceClient, S as ModuleUpdateRequest, C as ModuleUpdateResponse, O as RuntimeStatusService, k as RuntimeStatusServiceClient, E as RuntimeStatusUpdateRequest, D as RuntimeStatusUpdateResponse, A as RuntimeUsageRequest, j as RuntimeUsageResponse, M as RuntimeUsageService, N as RuntimeUsageServiceClient };
|