@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.
Files changed (56) hide show
  1. package/dist/aquila.cjs.js +1 -1
  2. package/dist/aquila.es.js +252 -617
  3. package/dist/pb/_generated/aquila.action_pb.client.d.ts +3 -3
  4. package/dist/pb/_generated/aquila.action_pb.d.ts +46 -119
  5. package/dist/pb/_generated/{aquila.flow_type_pb.client.d.ts → aquila.module_pb.client.d.ts} +9 -9
  6. package/dist/pb/_generated/aquila.module_pb.d.ts +54 -0
  7. package/dist/pb/_generated/aquila.runtime_status_pb.d.ts +7 -1
  8. package/dist/pb/_generated/sagittarius.flow_pb.d.ts +5 -5
  9. package/dist/pb/_generated/{sagittarius.flow_type_pb.client.d.ts → sagittarius.module_pb.client.d.ts} +7 -7
  10. package/dist/pb/_generated/sagittarius.module_pb.d.ts +59 -0
  11. package/dist/pb/_generated/sagittarius.runtime_status_pb.d.ts +12 -1
  12. package/dist/pb/_generated/sagittarius.runtime_usage_pb.d.ts +5 -0
  13. package/dist/pb/_generated/sagittarius.text_execution_pb.d.ts +5 -163
  14. package/dist/pb/_generated/shared.errors_pb.d.ts +122 -0
  15. package/dist/pb/_generated/shared.execution_result_pb.d.ts +131 -0
  16. package/dist/pb/_generated/shared.flow_pb.d.ts +83 -5
  17. package/dist/pb/_generated/{shared.flow_definition_pb.d.ts → shared.flow_type_pb.d.ts} +12 -0
  18. package/dist/pb/_generated/shared.function_pb.d.ts +4 -0
  19. package/dist/pb/_generated/shared.module_pb.d.ts +196 -0
  20. package/dist/pb/_generated/shared.runtime_flow_type_pb.d.ts +136 -0
  21. package/dist/pb/_generated/shared.runtime_function_pb.d.ts +4 -0
  22. package/dist/pb/_generated/shared.runtime_status_pb.d.ts +95 -32
  23. package/dist/pb/aquila.d.ts +2 -8
  24. package/dist/pb/sagittarius.d.ts +2 -10
  25. package/dist/pb/shared.d.ts +5 -2
  26. package/dist/{rpc-interceptor-CMOWd86Q.cjs → rpc-interceptor-4ZNqeHp7.cjs} +1 -1
  27. package/dist/{rpc-interceptor-DTRGJkmz.js → rpc-interceptor-DpAjfIVk.js} +1 -1
  28. package/dist/sagittarius.cjs.js +1 -1
  29. package/dist/sagittarius.es.js +366 -996
  30. package/dist/shared.cjs.js +1 -1
  31. package/dist/shared.es.js +3 -3
  32. package/dist/shared.flow_pb-CAu-uZAs.cjs +1 -0
  33. package/dist/shared.flow_pb-YdrVU_yH.js +877 -0
  34. package/dist/shared.runtime_usage_pb-6pp995qK.cjs +2 -0
  35. package/dist/{shared.runtime_usage_pb-C4_UdBmo.js → shared.runtime_usage_pb-Qa9pCiee.js} +2099 -1057
  36. package/package.json +1 -1
  37. package/dist/pb/_generated/aquila.data_type_pb.client.d.ts +0 -27
  38. package/dist/pb/_generated/aquila.data_type_pb.d.ts +0 -54
  39. package/dist/pb/_generated/aquila.flow_type_pb.d.ts +0 -54
  40. package/dist/pb/_generated/aquila.function_pb.client.d.ts +0 -31
  41. package/dist/pb/_generated/aquila.function_pb.d.ts +0 -54
  42. package/dist/pb/_generated/aquila.runtime_function_pb.client.d.ts +0 -31
  43. package/dist/pb/_generated/aquila.runtime_function_pb.d.ts +0 -54
  44. package/dist/pb/_generated/sagittarius.action_configuration_pb.client.d.ts +0 -27
  45. package/dist/pb/_generated/sagittarius.action_configuration_pb.d.ts +0 -60
  46. package/dist/pb/_generated/sagittarius.data_type_pb.client.d.ts +0 -27
  47. package/dist/pb/_generated/sagittarius.data_type_pb.d.ts +0 -54
  48. package/dist/pb/_generated/sagittarius.flow_type_pb.d.ts +0 -54
  49. package/dist/pb/_generated/sagittarius.function_pb.client.d.ts +0 -31
  50. package/dist/pb/_generated/sagittarius.function_pb.d.ts +0 -54
  51. package/dist/pb/_generated/sagittarius.runtime_function_pb.client.d.ts +0 -31
  52. package/dist/pb/_generated/sagittarius.runtime_function_pb.d.ts +0 -54
  53. package/dist/pb/_generated/shared.action_configuration_pb.d.ts +0 -120
  54. package/dist/shared.flow_pb-B3074C-y.js +0 -717
  55. package/dist/shared.flow_pb-CWFj5vbi.cjs +0 -1
  56. package/dist/shared.runtime_usage_pb-D4aGN4uQ.cjs +0 -2
package/dist/aquila.es.js CHANGED
@@ -1,8 +1,8 @@
1
- import { C as e, F as t, I as n, M as r, O as i, S as a, _ as o, a as s, c, f as l, j as u, k as d, r as f, t as p, u as m } from "./shared.runtime_usage_pb-C4_UdBmo.js";
2
- import { n as h, t as g } from "./rpc-interceptor-DTRGJkmz.js";
3
- var _ = new class extends u {
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.Event", [
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: () => d
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 && r(this, t, e), t;
29
+ return t.eventType = "", t.projectId = 0n, e !== void 0 && n(this, t, e), t;
30
30
  }
31
- internalBinaryRead(e, n, r, i) {
32
- let a = i ?? this.create(), o = e.pos + n;
33
- for (; e.pos < o;) {
34
- let [n, i] = e.tag();
35
- switch (n) {
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
- a.eventType = e.string();
37
+ o.eventType = e.string();
38
38
  break;
39
39
  case 2:
40
- a.projectId = e.int64().toBigInt();
40
+ o.projectId = e.int64().toBigInt();
41
41
  break;
42
42
  case 3:
43
- a.payload = d.internalBinaryRead(e, e.uint32(), r, a.payload);
43
+ o.payload = r.internalBinaryRead(e, e.uint32(), n, o.payload);
44
44
  break;
45
45
  default:
46
- let o = r.readUnknownField;
47
- if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
48
- let s = e.skip(i);
49
- o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
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 a;
52
+ return o;
53
53
  }
54
- internalBinaryWrite(e, r, i) {
55
- e.eventType !== "" && r.tag(1, n.LengthDelimited).string(e.eventType), e.projectId !== 0n && r.tag(2, n.Varint).int64(e.projectId), e.payload && d.internalBinaryWrite(e.payload, r.tag(3, n.LengthDelimited).fork(), i).join();
56
- let a = i.writeUnknownFields;
57
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
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
- }(), v = new class extends u {
59
+ }(), g = new class extends a {
60
60
  constructor() {
61
- super("aquila.ActionLogon", [
62
- {
63
- no: 1,
64
- name: "action_identifier",
65
- kind: "scalar",
66
- T: 9
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 t.actionIdentifier = "", t.version = "", t.actionConfigurations = [], e !== void 0 && r(this, t, e), t;
70
+ return e !== void 0 && n(this, t, e), t;
86
71
  }
87
- internalBinaryRead(e, n, r, i) {
88
- let o = i ?? this.create(), s = e.pos + n;
89
- for (; e.pos < s;) {
90
- let [n, i] = e.tag();
91
- switch (n) {
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
- o.actionIdentifier = e.string();
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 s = r.readUnknownField;
103
- if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
104
- let c = e.skip(i);
105
- s !== !1 && (s === !0 ? t.onRead : s)(this.typeName, o, n, i, c);
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 o;
87
+ return a;
109
88
  }
110
- internalBinaryWrite(e, r, i) {
111
- e.actionIdentifier !== "" && r.tag(1, n.LengthDelimited).string(e.actionIdentifier), e.version !== "" && r.tag(2, n.LengthDelimited).string(e.version);
112
- for (let t = 0; t < e.actionConfigurations.length; t++) a.internalBinaryWrite(e.actionConfigurations[t], r.tag(3, n.LengthDelimited).fork(), i).join();
113
- let o = i.writeUnknownFields;
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
- }(), y = new class extends u {
94
+ }(), _ = new class extends a {
117
95
  constructor() {
118
- super("aquila.ExecutionRequest", [
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: () => i
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 && r(this, t, e), t;
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 = i.internalBinaryRead(e, e.uint32(), r, 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 ? t.onRead : s)(this.typeName, o, n, a, c);
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, r, a) {
177
- e.executionIdentifier !== "" && r.tag(1, n.LengthDelimited).string(e.executionIdentifier), e.functionIdentifier !== "" && r.tag(2, n.LengthDelimited).string(e.functionIdentifier), e.parameters && i.internalBinaryWrite(e.parameters, r.tag(3, n.LengthDelimited).fork(), a).join(), e.projectId !== 0n && r.tag(4, n.Varint).int64(e.projectId);
178
- let o = a.writeUnknownFields;
179
- return o !== !1 && (o == 1 ? t.onWrite : o)(this.typeName, e, r), r;
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
- }(), S = new class extends u {
159
+ }(), v = new class extends a {
289
160
  constructor() {
290
- super("aquila.TransferRequest", [
161
+ super("aquila.ActionTransferRequest", [
291
162
  {
292
163
  no: 1,
293
164
  name: "logon",
294
165
  kind: "message",
295
166
  oneof: "data",
296
- T: () => v
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: () => x
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 && r(this, t, e), t;
187
+ return t.data = { oneofKind: void 0 }, e !== void 0 && n(this, t, e), t;
317
188
  }
318
- internalBinaryRead(e, n, r, i) {
319
- let a = i ?? this.create(), o = e.pos + n;
320
- for (; e.pos < o;) {
321
- let [n, i] = e.tag();
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
- a.data = {
195
+ o.data = {
325
196
  oneofKind: "logon",
326
- logon: v.internalBinaryRead(e, e.uint32(), r, a.data.logon)
197
+ logon: g.internalBinaryRead(t, t.uint32(), r, o.data.logon)
327
198
  };
328
199
  break;
329
200
  case 2:
330
- a.data = {
201
+ o.data = {
331
202
  oneofKind: "event",
332
- event: _.internalBinaryRead(e, e.uint32(), r, a.data.event)
203
+ event: h.internalBinaryRead(t, t.uint32(), r, o.data.event)
333
204
  };
334
205
  break;
335
206
  case 3:
336
- a.data = {
207
+ o.data = {
337
208
  oneofKind: "result",
338
- result: x.internalBinaryRead(e, e.uint32(), r, a.data.result)
209
+ result: e.internalBinaryRead(t, t.uint32(), r, o.data.result)
339
210
  };
340
211
  break;
341
212
  default:
342
- let o = r.readUnknownField;
343
- if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
344
- let s = e.skip(i);
345
- o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
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 a;
219
+ return o;
349
220
  }
350
- internalBinaryWrite(e, r, i) {
351
- e.data.oneofKind === "logon" && v.internalBinaryWrite(e.data.logon, r.tag(1, n.LengthDelimited).fork(), i).join(), e.data.oneofKind === "event" && _.internalBinaryWrite(e.data.event, r.tag(2, n.LengthDelimited).fork(), i).join(), e.data.oneofKind === "result" && x.internalBinaryWrite(e.data.result, r.tag(3, n.LengthDelimited).fork(), i).join();
352
- let a = i.writeUnknownFields;
353
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
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
- }(), C = new class extends u {
226
+ }(), y = new class extends a {
356
227
  constructor() {
357
- super("aquila.TransferResponse", [{
228
+ super("aquila.ActionTransferResponse", [{
358
229
  no: 1,
359
230
  name: "execution",
360
231
  kind: "message",
361
232
  oneof: "data",
362
- T: () => y
233
+ T: () => _
363
234
  }, {
364
235
  no: 2,
365
- name: "action_configurations",
236
+ name: "module_configurations",
366
237
  kind: "message",
367
238
  oneof: "data",
368
- T: () => e
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 && r(this, t, e), t;
244
+ return t.data = { oneofKind: void 0 }, e !== void 0 && n(this, t, e), t;
374
245
  }
375
- internalBinaryRead(n, r, i, a) {
376
- let o = a ?? this.create(), s = n.pos + r;
377
- for (; n.pos < s;) {
378
- let [r, a] = n.tag();
379
- switch (r) {
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
- o.data = {
252
+ a.data = {
382
253
  oneofKind: "execution",
383
- execution: y.internalBinaryRead(n, n.uint32(), i, o.data.execution)
254
+ execution: _.internalBinaryRead(e, e.uint32(), n, a.data.execution)
384
255
  };
385
256
  break;
386
257
  case 2:
387
- o.data = {
388
- oneofKind: "actionConfigurations",
389
- actionConfigurations: e.internalBinaryRead(n, n.uint32(), i, o.data.actionConfigurations)
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 s = i.readUnknownField;
394
- if (s === "throw") throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);
395
- let c = n.skip(a);
396
- s !== !1 && (s === !0 ? t.onRead : s)(this.typeName, o, r, a, c);
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 o;
270
+ return a;
400
271
  }
401
- internalBinaryWrite(r, i, a) {
402
- r.data.oneofKind === "execution" && y.internalBinaryWrite(r.data.execution, i.tag(1, n.LengthDelimited).fork(), a).join(), r.data.oneofKind === "actionConfigurations" && e.internalBinaryWrite(r.data.actionConfigurations, i.tag(2, n.LengthDelimited).fork(), a).join();
403
- let o = a.writeUnknownFields;
404
- return o !== !1 && (o == 1 ? t.onWrite : o)(this.typeName, r, i), i;
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
- }(), w = new h("aquila.ActionTransferService", [{
277
+ }(), b = new p("aquila.ActionTransferService", [{
407
278
  name: "Transfer",
408
279
  serverStreaming: !0,
409
280
  clientStreaming: !0,
410
281
  options: {},
411
- I: S,
412
- O: C
413
- }]), T = class {
282
+ I: v,
283
+ O: y
284
+ }]), x = class {
414
285
  constructor(e) {
415
- this._transport = e, this.typeName = w.typeName, this.methods = w.methods, this.options = w.options;
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 g("duplex", this._transport, t, n);
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
- }, A = new class extends u {
292
+ }, S = new class extends a {
506
293
  constructor() {
507
- super("aquila.FlowTypeUpdateRequest", [{
294
+ super("aquila.ModuleUpdateRequest", [{
508
295
  no: 1,
509
- name: "flow_types",
296
+ name: "modules",
510
297
  kind: "message",
511
298
  repeat: 2,
512
- T: () => l
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.functions = [], e !== void 0 && r(this, t, e), t;
304
+ return t.modules = [], e !== void 0 && n(this, t, e), t;
602
305
  }
603
- internalBinaryRead(e, n, r, i) {
604
- let a = i ?? this.create(), o = e.pos + n;
306
+ internalBinaryRead(e, t, n, r) {
307
+ let a = r ?? this.create(), o = e.pos + t;
605
308
  for (; e.pos < o;) {
606
- let [n, i] = e.tag();
607
- switch (n) {
309
+ let [t, r] = e.tag();
310
+ switch (t) {
608
311
  case 1:
609
- a.functions.push(m.internalBinaryRead(e, e.uint32(), r));
312
+ a.modules.push(f.internalBinaryRead(e, e.uint32(), n));
610
313
  break;
611
314
  default:
612
- let o = r.readUnknownField;
613
- if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
614
- let s = e.skip(i);
615
- o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
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, r, i) {
621
- for (let t = 0; t < e.functions.length; t++) m.internalBinaryWrite(e.functions[t], r.tag(1, n.LengthDelimited).fork(), i).join();
622
- let a = i.writeUnknownFields;
623
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
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
- }(), F = new class extends u {
328
+ }(), C = new class extends a {
626
329
  constructor() {
627
- super("aquila.FunctionDefinitionUpdateResponse", [{
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 && r(this, t, e), t;
339
+ return t.success = !1, e !== void 0 && n(this, t, e), t;
637
340
  }
638
- internalBinaryRead(e, n, r, i) {
639
- let a = i ?? this.create(), o = e.pos + n;
341
+ internalBinaryRead(e, t, n, r) {
342
+ let a = r ?? this.create(), o = e.pos + t;
640
343
  for (; e.pos < o;) {
641
- let [n, i] = e.tag();
642
- switch (n) {
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 = r.readUnknownField;
648
- if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
649
- let s = e.skip(i);
650
- o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
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, r, i) {
656
- e.success !== !1 && r.tag(1, n.Varint).bool(e.success);
657
- let a = i.writeUnknownFields;
658
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
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
- }(), I = new h("aquila.FunctionDefinitionService", [{
363
+ }(), w = new p("aquila.ModuleService", [{
661
364
  name: "Update",
662
365
  options: {},
663
- I: P,
664
- O: F
665
- }]), L = class {
366
+ I: S,
367
+ O: C
368
+ }]), T = class {
666
369
  constructor(e) {
667
- this._transport = e, this.typeName = I.typeName, this.methods = I.methods, this.options = I.options;
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 g("unary", this._transport, n, r, e);
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
- }(), z = new class extends u {
376
+ }, E = new class extends a {
710
377
  constructor() {
711
- super("aquila.RuntimeFunctionDefinitionUpdateResponse", [{
712
- no: 1,
713
- name: "success",
714
- kind: "scalar",
715
- T: 8
716
- }]);
717
- }
718
- create(e) {
719
- let t = globalThis.Object.create(this.messagePrototype);
720
- return t.success = !1, e !== void 0 && r(this, t, e), t;
721
- }
722
- internalBinaryRead(e, n, r, i) {
723
- let a = i ?? this.create(), o = e.pos + n;
724
- for (; e.pos < o;) {
725
- let [n, i] = e.tag();
726
- switch (n) {
727
- case 1:
728
- a.success = e.bool();
729
- break;
730
- default:
731
- let o = r.readUnknownField;
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 && r(this, t, e), t;
404
+ return t.status = { oneofKind: void 0 }, e !== void 0 && n(this, t, e), t;
776
405
  }
777
- internalBinaryRead(e, n, r, i) {
778
- let a = i ?? this.create(), o = e.pos + n;
406
+ internalBinaryRead(e, t, n, r) {
407
+ let a = r ?? this.create(), o = e.pos + t;
779
408
  for (; e.pos < o;) {
780
- let [n, i] = e.tag();
781
- switch (n) {
409
+ let [t, r] = e.tag();
410
+ switch (t) {
782
411
  case 1:
783
412
  a.status = {
784
413
  oneofKind: "adapterRuntimeStatus",
785
- adapterRuntimeStatus: f.internalBinaryRead(e, e.uint32(), r, a.status.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: s.internalBinaryRead(e, e.uint32(), r, a.status.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 = r.readUnknownField;
796
- if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
797
- let c = e.skip(i);
798
- o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, c);
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, r, i) {
804
- e.status.oneofKind === "adapterRuntimeStatus" && f.internalBinaryWrite(e.status.adapterRuntimeStatus, r.tag(1, n.LengthDelimited).fork(), i).join(), e.status.oneofKind === "executionRuntimeStatus" && s.internalBinaryWrite(e.status.executionRuntimeStatus, r.tag(2, n.LengthDelimited).fork(), i).join();
805
- let a = i.writeUnknownFields;
806
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
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
- }(), U = new class extends u {
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 && r(this, t, e), t;
454
+ return t.success = !1, e !== void 0 && n(this, t, e), t;
820
455
  }
821
- internalBinaryRead(e, n, r, i) {
822
- let a = i ?? this.create(), o = e.pos + n;
456
+ internalBinaryRead(e, t, n, r) {
457
+ let a = r ?? this.create(), o = e.pos + t;
823
458
  for (; e.pos < o;) {
824
- let [n, i] = e.tag();
825
- switch (n) {
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 = r.readUnknownField;
831
- if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
832
- let s = e.skip(i);
833
- o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
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, r, i) {
839
- e.success !== !1 && r.tag(1, n.Varint).bool(e.success);
840
- let a = i.writeUnknownFields;
841
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
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
- }(), W = new h("aquila.RuntimeStatusService", [{
478
+ }(), O = new p("aquila.RuntimeStatusService", [{
844
479
  name: "Update",
845
480
  options: {},
846
- I: H,
847
- O: U
848
- }]), G = class {
481
+ I: E,
482
+ O: D
483
+ }]), k = class {
849
484
  constructor(e) {
850
- this._transport = e, this.typeName = W.typeName, this.methods = W.methods, this.options = W.options;
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 g("unary", this._transport, n, r, e);
489
+ return m("unary", this._transport, n, r, e);
855
490
  }
856
- }, K = new class extends u {
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: () => p
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 && r(this, t, e), t;
503
+ return t.runtimeUsage = [], e !== void 0 && n(this, t, e), t;
869
504
  }
870
- internalBinaryRead(e, n, r, i) {
871
- let a = i ?? this.create(), o = e.pos + n;
505
+ internalBinaryRead(e, t, n, r) {
506
+ let a = r ?? this.create(), o = e.pos + t;
872
507
  for (; e.pos < o;) {
873
- let [n, i] = e.tag();
874
- switch (n) {
508
+ let [t, r] = e.tag();
509
+ switch (t) {
875
510
  case 1:
876
- a.runtimeUsage.push(p.internalBinaryRead(e, e.uint32(), r));
511
+ a.runtimeUsage.push(d.internalBinaryRead(e, e.uint32(), n));
877
512
  break;
878
513
  default:
879
- let o = r.readUnknownField;
880
- if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
881
- let s = e.skip(i);
882
- o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
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, r, i) {
888
- for (let t = 0; t < e.runtimeUsage.length; t++) p.internalBinaryWrite(e.runtimeUsage[t], r.tag(1, n.LengthDelimited).fork(), i).join();
889
- let a = i.writeUnknownFields;
890
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
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
- }(), q = new class extends u {
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 && r(this, t, e), t;
538
+ return t.success = !1, e !== void 0 && n(this, t, e), t;
904
539
  }
905
- internalBinaryRead(e, n, r, i) {
906
- let a = i ?? this.create(), o = e.pos + n;
540
+ internalBinaryRead(e, t, n, r) {
541
+ let a = r ?? this.create(), o = e.pos + t;
907
542
  for (; e.pos < o;) {
908
- let [n, i] = e.tag();
909
- switch (n) {
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 = r.readUnknownField;
915
- if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
916
- let s = e.skip(i);
917
- o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
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, r, i) {
923
- e.success !== !1 && r.tag(1, n.Varint).bool(e.success);
924
- let a = i.writeUnknownFields;
925
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
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
- }(), J = new h("aquila.RuntimeUsageService", [{
562
+ }(), M = new p("aquila.RuntimeUsageService", [{
928
563
  name: "Update",
929
564
  options: {},
930
- I: K,
931
- O: q
932
- }]), Y = class {
565
+ I: A,
566
+ O: j
567
+ }]), N = class {
933
568
  constructor(e) {
934
- this._transport = e, this.typeName = J.typeName, this.methods = J.methods, this.options = J.options;
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 g("unary", this._transport, n, r, e);
573
+ return m("unary", this._transport, n, r, e);
939
574
  }
940
575
  };
941
576
  //#endregion
942
- export { v as ActionLogon, b as ActionRuntimeError, w as ActionTransferService, T as ActionTransferServiceClient, O as DataTypeService, k as DataTypeServiceClient, E as DataTypeUpdateRequest, D as DataTypeUpdateResponse, _ as Event, y as ExecutionRequest, x as ExecutionResult, M as FlowTypeService, N as FlowTypeServiceClient, A as FlowTypeUpdateRequest, j as FlowTypeUpdateResponse, I as FunctionDefinitionService, L as FunctionDefinitionServiceClient, P as FunctionDefinitionUpdateRequest, F as FunctionDefinitionUpdateResponse, B as RuntimeFunctionDefinitionService, V as RuntimeFunctionDefinitionServiceClient, R as RuntimeFunctionDefinitionUpdateRequest, z as RuntimeFunctionDefinitionUpdateResponse, W as RuntimeStatusService, G as RuntimeStatusServiceClient, H as RuntimeStatusUpdateRequest, U as RuntimeStatusUpdateResponse, K as RuntimeUsageRequest, q as RuntimeUsageResponse, J as RuntimeUsageService, Y as RuntimeUsageServiceClient, S as TransferRequest, C as TransferResponse };
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 };