@code0-tech/tucana 0.0.77 → 0.0.79

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.es.js CHANGED
@@ -1,7 +1,106 @@
1
- import { C as e, S as t, l as n, u as r, v as i, y as a } from "./shared.function_pb-Caz-4jvi.js";
2
- import { g as o, h as s, i as c, s as l, t as u } from "./shared.runtime_status_pb-D7hH22xO.js";
3
- import { n as d, t as f } from "./rpc-interceptor-d3qh7P9n.js";
4
- var p = new class extends i {
1
+ import { L as e, N as t, P as n, R as r, T as i, c as a, w as o } from "./shared.function_pb-CPUNe7pa.js";
2
+ import { g as s, h as c, i as l, s as u, t as d, v as f } from "./shared.runtime_status_pb-5unRZGw5.js";
3
+ import { n as p, t as m } from "./rpc-interceptor-D0l4GO-c.js";
4
+ //#region pb/_generated/aquila.action_pb.ts
5
+ var h = /* @__PURE__ */ function(e) {
6
+ return e[e.UNKNOWN = 0] = "UNKNOWN", e[e.DISABLED = 1] = "DISABLED", e[e.SPLIT = 2] = "SPLIT", e;
7
+ }({}), g = new class extends t {
8
+ constructor() {
9
+ super("aquila.ActionFlow", [
10
+ {
11
+ no: 1,
12
+ name: "flow_id",
13
+ kind: "scalar",
14
+ T: 3,
15
+ L: 0
16
+ },
17
+ {
18
+ no: 2,
19
+ name: "project_id",
20
+ kind: "scalar",
21
+ T: 3,
22
+ L: 0
23
+ },
24
+ {
25
+ no: 3,
26
+ name: "settings",
27
+ kind: "message",
28
+ repeat: 2,
29
+ T: () => a
30
+ },
31
+ {
32
+ no: 4,
33
+ name: "input_schema",
34
+ kind: "message",
35
+ T: () => o
36
+ },
37
+ {
38
+ no: 5,
39
+ name: "output_schema",
40
+ kind: "message",
41
+ T: () => o
42
+ },
43
+ {
44
+ no: 6,
45
+ name: "project_slug",
46
+ kind: "scalar",
47
+ T: 9
48
+ },
49
+ {
50
+ no: 7,
51
+ name: "name",
52
+ kind: "scalar",
53
+ T: 9
54
+ }
55
+ ]);
56
+ }
57
+ create(e) {
58
+ let t = globalThis.Object.create(this.messagePrototype);
59
+ return t.flowId = 0n, t.projectId = 0n, t.settings = [], t.projectSlug = "", t.name = "", e !== void 0 && n(this, t, e), t;
60
+ }
61
+ internalBinaryRead(t, n, r, i) {
62
+ let s = i ?? this.create(), c = t.pos + n;
63
+ for (; t.pos < c;) {
64
+ let [n, i] = t.tag();
65
+ switch (n) {
66
+ case 1:
67
+ s.flowId = t.int64().toBigInt();
68
+ break;
69
+ case 2:
70
+ s.projectId = t.int64().toBigInt();
71
+ break;
72
+ case 3:
73
+ s.settings.push(a.internalBinaryRead(t, t.uint32(), r));
74
+ break;
75
+ case 4:
76
+ s.inputSchema = o.internalBinaryRead(t, t.uint32(), r, s.inputSchema);
77
+ break;
78
+ case 5:
79
+ s.outputSchema = o.internalBinaryRead(t, t.uint32(), r, s.outputSchema);
80
+ break;
81
+ case 6:
82
+ s.projectSlug = t.string();
83
+ break;
84
+ case 7:
85
+ s.name = t.string();
86
+ break;
87
+ default:
88
+ let c = r.readUnknownField;
89
+ if (c === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
90
+ let l = t.skip(i);
91
+ c !== !1 && (c === !0 ? e.onRead : c)(this.typeName, s, n, i, l);
92
+ }
93
+ }
94
+ return s;
95
+ }
96
+ internalBinaryWrite(t, n, i) {
97
+ t.flowId !== 0n && n.tag(1, r.Varint).int64(t.flowId), t.projectId !== 0n && n.tag(2, r.Varint).int64(t.projectId);
98
+ for (let e = 0; e < t.settings.length; e++) a.internalBinaryWrite(t.settings[e], n.tag(3, r.LengthDelimited).fork(), i).join();
99
+ t.inputSchema && o.internalBinaryWrite(t.inputSchema, n.tag(4, r.LengthDelimited).fork(), i).join(), t.outputSchema && o.internalBinaryWrite(t.outputSchema, n.tag(5, r.LengthDelimited).fork(), i).join(), t.projectSlug !== "" && n.tag(6, r.LengthDelimited).string(t.projectSlug), t.name !== "" && n.tag(7, r.LengthDelimited).string(t.name);
100
+ let s = i.writeUnknownFields;
101
+ return s !== !1 && (s == 1 ? e.onWrite : s)(this.typeName, t, n), n;
102
+ }
103
+ }(), _ = new class extends t {
5
104
  constructor() {
6
105
  super("aquila.ActionEvent", [
7
106
  {
@@ -21,78 +120,172 @@ var p = new class extends i {
21
120
  no: 3,
22
121
  name: "payload",
23
122
  kind: "message",
24
- T: () => r
123
+ T: () => i
25
124
  }
26
125
  ]);
27
126
  }
28
127
  create(e) {
29
128
  let t = globalThis.Object.create(this.messagePrototype);
30
- return t.eventType = "", t.projectId = 0n, e !== void 0 && a(this, t, e), t;
129
+ return t.eventType = "", t.projectId = 0n, e !== void 0 && n(this, t, e), t;
31
130
  }
32
- internalBinaryRead(e, n, i, a) {
33
- let o = a ?? this.create(), s = e.pos + n;
34
- for (; e.pos < s;) {
35
- let [n, a] = e.tag();
131
+ internalBinaryRead(t, n, r, a) {
132
+ let o = a ?? this.create(), s = t.pos + n;
133
+ for (; t.pos < s;) {
134
+ let [n, a] = t.tag();
36
135
  switch (n) {
37
136
  case 1:
38
- o.eventType = e.string();
137
+ o.eventType = t.string();
39
138
  break;
40
139
  case 2:
41
- o.projectId = e.int64().toBigInt();
140
+ o.projectId = t.int64().toBigInt();
42
141
  break;
43
142
  case 3:
44
- o.payload = r.internalBinaryRead(e, e.uint32(), i, o.payload);
143
+ o.payload = i.internalBinaryRead(t, t.uint32(), r, o.payload);
45
144
  break;
46
145
  default:
47
- let s = i.readUnknownField;
146
+ let s = r.readUnknownField;
48
147
  if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${a}) for ${this.typeName}`);
49
- let c = e.skip(a);
50
- s !== !1 && (s === !0 ? t.onRead : s)(this.typeName, o, n, a, c);
148
+ let c = t.skip(a);
149
+ s !== !1 && (s === !0 ? e.onRead : s)(this.typeName, o, n, a, c);
51
150
  }
52
151
  }
53
152
  return o;
54
153
  }
55
- internalBinaryWrite(n, i, a) {
56
- n.eventType !== "" && i.tag(1, e.LengthDelimited).string(n.eventType), n.projectId !== 0n && i.tag(2, e.Varint).int64(n.projectId), n.payload && r.internalBinaryWrite(n.payload, i.tag(3, e.LengthDelimited).fork(), a).join();
154
+ internalBinaryWrite(t, n, a) {
155
+ t.eventType !== "" && n.tag(1, r.LengthDelimited).string(t.eventType), t.projectId !== 0n && n.tag(2, r.Varint).int64(t.projectId), t.payload && i.internalBinaryWrite(t.payload, n.tag(3, r.LengthDelimited).fork(), a).join();
57
156
  let o = a.writeUnknownFields;
58
- return o !== !1 && (o == 1 ? t.onWrite : o)(this.typeName, n, i), i;
157
+ return o !== !1 && (o == 1 ? e.onWrite : o)(this.typeName, t, n), n;
59
158
  }
60
- }(), m = new class extends i {
159
+ }(), v = new class extends t {
61
160
  constructor() {
62
161
  super("aquila.ActionLogon", [{
63
162
  no: 1,
64
163
  name: "module",
65
164
  kind: "message",
66
- T: () => c
165
+ T: () => l
166
+ }, {
167
+ no: 2,
168
+ name: "scaling_option",
169
+ kind: "enum",
170
+ T: () => ["aquila.ActionLogon.ScalingOption", h]
171
+ }]);
172
+ }
173
+ create(e) {
174
+ let t = globalThis.Object.create(this.messagePrototype);
175
+ return t.scalingOption = 0, e !== void 0 && n(this, t, e), t;
176
+ }
177
+ internalBinaryRead(t, n, r, i) {
178
+ let a = i ?? this.create(), o = t.pos + n;
179
+ for (; t.pos < o;) {
180
+ let [n, i] = t.tag();
181
+ switch (n) {
182
+ case 1:
183
+ a.module = l.internalBinaryRead(t, t.uint32(), r, a.module);
184
+ break;
185
+ case 2:
186
+ a.scalingOption = t.int32();
187
+ break;
188
+ default:
189
+ let o = r.readUnknownField;
190
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
191
+ let s = t.skip(i);
192
+ o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
193
+ }
194
+ }
195
+ return a;
196
+ }
197
+ internalBinaryWrite(t, n, i) {
198
+ t.module && l.internalBinaryWrite(t.module, n.tag(1, r.LengthDelimited).fork(), i).join(), t.scalingOption !== 0 && n.tag(2, r.Varint).int32(t.scalingOption);
199
+ let a = i.writeUnknownFields;
200
+ return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
201
+ }
202
+ }(), y = new class extends t {
203
+ constructor() {
204
+ super("aquila.ActionNodeSubFlowValue", [{
205
+ no: 1,
206
+ name: "execution_identifier",
207
+ kind: "scalar",
208
+ T: 9
67
209
  }]);
68
210
  }
69
211
  create(e) {
70
212
  let t = globalThis.Object.create(this.messagePrototype);
71
- return e !== void 0 && a(this, t, e), t;
213
+ return t.executionIdentifier = "", e !== void 0 && n(this, t, e), t;
72
214
  }
73
- internalBinaryRead(e, n, r, i) {
74
- let a = i ?? this.create(), o = e.pos + n;
75
- for (; e.pos < o;) {
76
- let [n, i] = e.tag();
215
+ internalBinaryRead(t, n, r, i) {
216
+ let a = i ?? this.create(), o = t.pos + n;
217
+ for (; t.pos < o;) {
218
+ let [n, i] = t.tag();
77
219
  switch (n) {
78
220
  case 1:
79
- a.module = c.internalBinaryRead(e, e.uint32(), r, a.module);
221
+ a.executionIdentifier = t.string();
80
222
  break;
81
223
  default:
82
224
  let o = r.readUnknownField;
83
225
  if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
84
- let s = e.skip(i);
85
- o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
226
+ let s = t.skip(i);
227
+ o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
86
228
  }
87
229
  }
88
230
  return a;
89
231
  }
90
- internalBinaryWrite(n, r, i) {
91
- n.module && c.internalBinaryWrite(n.module, r.tag(1, e.LengthDelimited).fork(), i).join();
232
+ internalBinaryWrite(t, n, i) {
233
+ t.executionIdentifier !== "" && n.tag(1, r.LengthDelimited).string(t.executionIdentifier);
92
234
  let a = i.writeUnknownFields;
93
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
235
+ return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
94
236
  }
95
- }(), h = new class extends i {
237
+ }(), b = new class extends t {
238
+ constructor() {
239
+ super("aquila.ActionNodeValue", [{
240
+ no: 1,
241
+ name: "literal_value",
242
+ kind: "message",
243
+ oneof: "value",
244
+ T: () => i
245
+ }, {
246
+ no: 2,
247
+ name: "sub_flow",
248
+ kind: "message",
249
+ oneof: "value",
250
+ T: () => y
251
+ }]);
252
+ }
253
+ create(e) {
254
+ let t = globalThis.Object.create(this.messagePrototype);
255
+ return t.value = { oneofKind: void 0 }, e !== void 0 && n(this, t, e), t;
256
+ }
257
+ internalBinaryRead(t, n, r, a) {
258
+ let o = a ?? this.create(), s = t.pos + n;
259
+ for (; t.pos < s;) {
260
+ let [n, a] = t.tag();
261
+ switch (n) {
262
+ case 1:
263
+ o.value = {
264
+ oneofKind: "literalValue",
265
+ literalValue: i.internalBinaryRead(t, t.uint32(), r, o.value.literalValue)
266
+ };
267
+ break;
268
+ case 2:
269
+ o.value = {
270
+ oneofKind: "subFlow",
271
+ subFlow: y.internalBinaryRead(t, t.uint32(), r, o.value.subFlow)
272
+ };
273
+ break;
274
+ default:
275
+ let s = r.readUnknownField;
276
+ if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${a}) for ${this.typeName}`);
277
+ let c = t.skip(a);
278
+ s !== !1 && (s === !0 ? e.onRead : s)(this.typeName, o, n, a, c);
279
+ }
280
+ }
281
+ return o;
282
+ }
283
+ internalBinaryWrite(t, n, a) {
284
+ t.value.oneofKind === "literalValue" && i.internalBinaryWrite(t.value.literalValue, n.tag(1, r.LengthDelimited).fork(), a).join(), t.value.oneofKind === "subFlow" && y.internalBinaryWrite(t.value.subFlow, n.tag(2, r.LengthDelimited).fork(), a).join();
285
+ let o = a.writeUnknownFields;
286
+ return o !== !1 && (o == 1 ? e.onWrite : o)(this.typeName, t, n), n;
287
+ }
288
+ }(), x = new class extends t {
96
289
  constructor() {
97
290
  super("aquila.ActionExecutionRequest", [
98
291
  {
@@ -111,7 +304,8 @@ var p = new class extends i {
111
304
  no: 3,
112
305
  name: "parameters",
113
306
  kind: "message",
114
- T: () => n
307
+ repeat: 2,
308
+ T: () => b
115
309
  },
116
310
  {
117
311
  no: 4,
@@ -124,40 +318,205 @@ var p = new class extends i {
124
318
  }
125
319
  create(e) {
126
320
  let t = globalThis.Object.create(this.messagePrototype);
127
- return t.executionIdentifier = "", t.functionIdentifier = "", t.projectId = 0n, e !== void 0 && a(this, t, e), t;
321
+ return t.executionIdentifier = "", t.functionIdentifier = "", t.parameters = [], t.projectId = 0n, e !== void 0 && n(this, t, e), t;
128
322
  }
129
- internalBinaryRead(e, r, i, a) {
130
- let o = a ?? this.create(), s = e.pos + r;
131
- for (; e.pos < s;) {
132
- let [r, a] = e.tag();
133
- switch (r) {
323
+ internalBinaryRead(t, n, r, i) {
324
+ let a = i ?? this.create(), o = t.pos + n;
325
+ for (; t.pos < o;) {
326
+ let [n, i] = t.tag();
327
+ switch (n) {
134
328
  case 1:
135
- o.executionIdentifier = e.string();
329
+ a.executionIdentifier = t.string();
136
330
  break;
137
331
  case 2:
138
- o.functionIdentifier = e.string();
332
+ a.functionIdentifier = t.string();
139
333
  break;
140
334
  case 3:
141
- o.parameters = n.internalBinaryRead(e, e.uint32(), i, o.parameters);
335
+ a.parameters.push(b.internalBinaryRead(t, t.uint32(), r));
142
336
  break;
143
337
  case 4:
144
- o.projectId = e.int64().toBigInt();
338
+ a.projectId = t.int64().toBigInt();
339
+ break;
340
+ default:
341
+ let o = r.readUnknownField;
342
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
343
+ let s = t.skip(i);
344
+ o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
345
+ }
346
+ }
347
+ return a;
348
+ }
349
+ internalBinaryWrite(t, n, i) {
350
+ t.executionIdentifier !== "" && n.tag(1, r.LengthDelimited).string(t.executionIdentifier), t.functionIdentifier !== "" && n.tag(2, r.LengthDelimited).string(t.functionIdentifier);
351
+ for (let e = 0; e < t.parameters.length; e++) b.internalBinaryWrite(t.parameters[e], n.tag(3, r.LengthDelimited).fork(), i).join();
352
+ t.projectId !== 0n && n.tag(4, r.Varint).int64(t.projectId);
353
+ let a = i.writeUnknownFields;
354
+ return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
355
+ }
356
+ }(), S = new class extends t {
357
+ constructor() {
358
+ super("aquila.ActionSubFlowExecutionRequest", [{
359
+ no: 1,
360
+ name: "execution_identifier",
361
+ kind: "scalar",
362
+ T: 9
363
+ }, {
364
+ no: 2,
365
+ name: "parameters",
366
+ kind: "message",
367
+ repeat: 2,
368
+ T: () => i
369
+ }]);
370
+ }
371
+ create(e) {
372
+ let t = globalThis.Object.create(this.messagePrototype);
373
+ return t.executionIdentifier = "", t.parameters = [], e !== void 0 && n(this, t, e), t;
374
+ }
375
+ internalBinaryRead(t, n, r, a) {
376
+ let o = a ?? this.create(), s = t.pos + n;
377
+ for (; t.pos < s;) {
378
+ let [n, a] = t.tag();
379
+ switch (n) {
380
+ case 1:
381
+ o.executionIdentifier = t.string();
382
+ break;
383
+ case 2:
384
+ o.parameters.push(i.internalBinaryRead(t, t.uint32(), r));
385
+ break;
386
+ default:
387
+ let s = r.readUnknownField;
388
+ if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${a}) for ${this.typeName}`);
389
+ let c = t.skip(a);
390
+ s !== !1 && (s === !0 ? e.onRead : s)(this.typeName, o, n, a, c);
391
+ }
392
+ }
393
+ return o;
394
+ }
395
+ internalBinaryWrite(t, n, a) {
396
+ t.executionIdentifier !== "" && n.tag(1, r.LengthDelimited).string(t.executionIdentifier);
397
+ for (let e = 0; e < t.parameters.length; e++) i.internalBinaryWrite(t.parameters[e], n.tag(2, r.LengthDelimited).fork(), a).join();
398
+ let o = a.writeUnknownFields;
399
+ return o !== !1 && (o == 1 ? e.onWrite : o)(this.typeName, t, n), n;
400
+ }
401
+ }(), C = new class extends t {
402
+ constructor() {
403
+ super("aquila.ActionSubFlowExecutionResponse", [
404
+ {
405
+ no: 1,
406
+ name: "execution_identifier",
407
+ kind: "scalar",
408
+ T: 9
409
+ },
410
+ {
411
+ no: 2,
412
+ name: "success",
413
+ kind: "message",
414
+ oneof: "result",
415
+ T: () => i
416
+ },
417
+ {
418
+ no: 3,
419
+ name: "failure",
420
+ kind: "message",
421
+ oneof: "result",
422
+ T: () => f
423
+ }
424
+ ]);
425
+ }
426
+ create(e) {
427
+ let t = globalThis.Object.create(this.messagePrototype);
428
+ return t.executionIdentifier = "", t.result = { oneofKind: void 0 }, e !== void 0 && n(this, t, e), t;
429
+ }
430
+ internalBinaryRead(t, n, r, a) {
431
+ let o = a ?? this.create(), s = t.pos + n;
432
+ for (; t.pos < s;) {
433
+ let [n, a] = t.tag();
434
+ switch (n) {
435
+ case 1:
436
+ o.executionIdentifier = t.string();
437
+ break;
438
+ case 2:
439
+ o.result = {
440
+ oneofKind: "success",
441
+ success: i.internalBinaryRead(t, t.uint32(), r, o.result.success)
442
+ };
443
+ break;
444
+ case 3:
445
+ o.result = {
446
+ oneofKind: "failure",
447
+ failure: f.internalBinaryRead(t, t.uint32(), r, o.result.failure)
448
+ };
145
449
  break;
146
450
  default:
147
- let s = i.readUnknownField;
148
- if (s === "throw") throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);
149
- let c = e.skip(a);
150
- s !== !1 && (s === !0 ? t.onRead : s)(this.typeName, o, r, a, c);
451
+ let s = r.readUnknownField;
452
+ if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${a}) for ${this.typeName}`);
453
+ let c = t.skip(a);
454
+ s !== !1 && (s === !0 ? e.onRead : s)(this.typeName, o, n, a, c);
151
455
  }
152
456
  }
153
457
  return o;
154
458
  }
155
- internalBinaryWrite(r, i, a) {
156
- r.executionIdentifier !== "" && i.tag(1, e.LengthDelimited).string(r.executionIdentifier), r.functionIdentifier !== "" && i.tag(2, e.LengthDelimited).string(r.functionIdentifier), r.parameters && n.internalBinaryWrite(r.parameters, i.tag(3, e.LengthDelimited).fork(), a).join(), r.projectId !== 0n && i.tag(4, e.Varint).int64(r.projectId);
459
+ internalBinaryWrite(t, n, a) {
460
+ t.executionIdentifier !== "" && n.tag(1, r.LengthDelimited).string(t.executionIdentifier), t.result.oneofKind === "success" && i.internalBinaryWrite(t.result.success, n.tag(2, r.LengthDelimited).fork(), a).join(), t.result.oneofKind === "failure" && f.internalBinaryWrite(t.result.failure, n.tag(3, r.LengthDelimited).fork(), a).join();
157
461
  let o = a.writeUnknownFields;
158
- return o !== !1 && (o == 1 ? t.onWrite : o)(this.typeName, r, i), i;
462
+ return o !== !1 && (o == 1 ? e.onWrite : o)(this.typeName, t, n), n;
159
463
  }
160
- }(), g = new class extends i {
464
+ }(), w = new class extends t {
465
+ constructor() {
466
+ super("aquila.ActionFlowExecutionRequest", [
467
+ {
468
+ no: 1,
469
+ name: "execution_identifier",
470
+ kind: "scalar",
471
+ T: 9
472
+ },
473
+ {
474
+ no: 2,
475
+ name: "flow_id",
476
+ kind: "scalar",
477
+ T: 9
478
+ },
479
+ {
480
+ no: 3,
481
+ name: "payload",
482
+ kind: "message",
483
+ T: () => i
484
+ }
485
+ ]);
486
+ }
487
+ create(e) {
488
+ let t = globalThis.Object.create(this.messagePrototype);
489
+ return t.executionIdentifier = "", t.flowId = "", e !== void 0 && n(this, t, e), t;
490
+ }
491
+ internalBinaryRead(t, n, r, a) {
492
+ let o = a ?? this.create(), s = t.pos + n;
493
+ for (; t.pos < s;) {
494
+ let [n, a] = t.tag();
495
+ switch (n) {
496
+ case 1:
497
+ o.executionIdentifier = t.string();
498
+ break;
499
+ case 2:
500
+ o.flowId = t.string();
501
+ break;
502
+ case 3:
503
+ o.payload = i.internalBinaryRead(t, t.uint32(), r, o.payload);
504
+ break;
505
+ default:
506
+ let s = r.readUnknownField;
507
+ if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${a}) for ${this.typeName}`);
508
+ let c = t.skip(a);
509
+ s !== !1 && (s === !0 ? e.onRead : s)(this.typeName, o, n, a, c);
510
+ }
511
+ }
512
+ return o;
513
+ }
514
+ internalBinaryWrite(t, n, a) {
515
+ t.executionIdentifier !== "" && n.tag(1, r.LengthDelimited).string(t.executionIdentifier), t.flowId !== "" && n.tag(2, r.LengthDelimited).string(t.flowId), t.payload && i.internalBinaryWrite(t.payload, n.tag(3, r.LengthDelimited).fork(), a).join();
516
+ let o = a.writeUnknownFields;
517
+ return o !== !1 && (o == 1 ? e.onWrite : o)(this.typeName, t, n), n;
518
+ }
519
+ }(), T = new class extends t {
161
520
  constructor() {
162
521
  super("aquila.ActionExecutionResponse", [{
163
522
  no: 1,
@@ -168,39 +527,154 @@ var p = new class extends i {
168
527
  no: 2,
169
528
  name: "node_result",
170
529
  kind: "message",
171
- T: () => o
530
+ T: () => s
172
531
  }]);
173
532
  }
174
533
  create(e) {
175
534
  let t = globalThis.Object.create(this.messagePrototype);
176
- return t.executionIdentifier = "", e !== void 0 && a(this, t, e), t;
535
+ return t.executionIdentifier = "", e !== void 0 && n(this, t, e), t;
177
536
  }
178
- internalBinaryRead(e, n, r, i) {
179
- let a = i ?? this.create(), s = e.pos + n;
180
- for (; e.pos < s;) {
181
- let [n, i] = e.tag();
537
+ internalBinaryRead(t, n, r, i) {
538
+ let a = i ?? this.create(), o = t.pos + n;
539
+ for (; t.pos < o;) {
540
+ let [n, i] = t.tag();
182
541
  switch (n) {
183
542
  case 1:
184
- a.executionIdentifier = e.string();
543
+ a.executionIdentifier = t.string();
185
544
  break;
186
545
  case 2:
187
- a.nodeResult = o.internalBinaryRead(e, e.uint32(), r, a.nodeResult);
546
+ a.nodeResult = s.internalBinaryRead(t, t.uint32(), r, a.nodeResult);
547
+ break;
548
+ default:
549
+ let o = r.readUnknownField;
550
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
551
+ let c = t.skip(i);
552
+ o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, c);
553
+ }
554
+ }
555
+ return a;
556
+ }
557
+ internalBinaryWrite(t, n, i) {
558
+ t.executionIdentifier !== "" && n.tag(1, r.LengthDelimited).string(t.executionIdentifier), t.nodeResult && s.internalBinaryWrite(t.nodeResult, n.tag(2, r.LengthDelimited).fork(), i).join();
559
+ let a = i.writeUnknownFields;
560
+ return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
561
+ }
562
+ }(), E = new class extends t {
563
+ constructor() {
564
+ super("aquila.ActionFlowExecutionResponse", [
565
+ {
566
+ no: 1,
567
+ name: "execution_identifier",
568
+ kind: "scalar",
569
+ T: 9
570
+ },
571
+ {
572
+ no: 2,
573
+ name: "success",
574
+ kind: "message",
575
+ oneof: "result",
576
+ T: () => i
577
+ },
578
+ {
579
+ no: 3,
580
+ name: "failure",
581
+ kind: "message",
582
+ oneof: "result",
583
+ T: () => f
584
+ }
585
+ ]);
586
+ }
587
+ create(e) {
588
+ let t = globalThis.Object.create(this.messagePrototype);
589
+ return t.executionIdentifier = "", t.result = { oneofKind: void 0 }, e !== void 0 && n(this, t, e), t;
590
+ }
591
+ internalBinaryRead(t, n, r, a) {
592
+ let o = a ?? this.create(), s = t.pos + n;
593
+ for (; t.pos < s;) {
594
+ let [n, a] = t.tag();
595
+ switch (n) {
596
+ case 1:
597
+ o.executionIdentifier = t.string();
598
+ break;
599
+ case 2:
600
+ o.result = {
601
+ oneofKind: "success",
602
+ success: i.internalBinaryRead(t, t.uint32(), r, o.result.success)
603
+ };
604
+ break;
605
+ case 3:
606
+ o.result = {
607
+ oneofKind: "failure",
608
+ failure: f.internalBinaryRead(t, t.uint32(), r, o.result.failure)
609
+ };
188
610
  break;
189
611
  default:
190
612
  let s = r.readUnknownField;
191
- if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
192
- let c = e.skip(i);
193
- s !== !1 && (s === !0 ? t.onRead : s)(this.typeName, a, n, i, c);
613
+ if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${a}) for ${this.typeName}`);
614
+ let c = t.skip(a);
615
+ s !== !1 && (s === !0 ? e.onRead : s)(this.typeName, o, n, a, c);
616
+ }
617
+ }
618
+ return o;
619
+ }
620
+ internalBinaryWrite(t, n, a) {
621
+ t.executionIdentifier !== "" && n.tag(1, r.LengthDelimited).string(t.executionIdentifier), t.result.oneofKind === "success" && i.internalBinaryWrite(t.result.success, n.tag(2, r.LengthDelimited).fork(), a).join(), t.result.oneofKind === "failure" && f.internalBinaryWrite(t.result.failure, n.tag(3, r.LengthDelimited).fork(), a).join();
622
+ let o = a.writeUnknownFields;
623
+ return o !== !1 && (o == 1 ? e.onWrite : o)(this.typeName, t, n), n;
624
+ }
625
+ }(), D = new class extends t {
626
+ constructor() {
627
+ super("aquila.ActionFlowUpdate", [{
628
+ no: 1,
629
+ name: "updated_flow",
630
+ kind: "message",
631
+ oneof: "data",
632
+ T: () => g
633
+ }, {
634
+ no: 2,
635
+ name: "deleted_flow",
636
+ kind: "scalar",
637
+ oneof: "data",
638
+ T: 3,
639
+ L: 0
640
+ }]);
641
+ }
642
+ create(e) {
643
+ let t = globalThis.Object.create(this.messagePrototype);
644
+ return t.data = { oneofKind: void 0 }, e !== void 0 && n(this, t, e), t;
645
+ }
646
+ internalBinaryRead(t, n, r, i) {
647
+ let a = i ?? this.create(), o = t.pos + n;
648
+ for (; t.pos < o;) {
649
+ let [n, i] = t.tag();
650
+ switch (n) {
651
+ case 1:
652
+ a.data = {
653
+ oneofKind: "updatedFlow",
654
+ updatedFlow: g.internalBinaryRead(t, t.uint32(), r, a.data.updatedFlow)
655
+ };
656
+ break;
657
+ case 2:
658
+ a.data = {
659
+ oneofKind: "deletedFlow",
660
+ deletedFlow: t.int64().toBigInt()
661
+ };
662
+ break;
663
+ default:
664
+ let o = r.readUnknownField;
665
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
666
+ let s = t.skip(i);
667
+ o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
194
668
  }
195
669
  }
196
670
  return a;
197
671
  }
198
- internalBinaryWrite(n, r, i) {
199
- n.executionIdentifier !== "" && r.tag(1, e.LengthDelimited).string(n.executionIdentifier), n.nodeResult && o.internalBinaryWrite(n.nodeResult, r.tag(2, e.LengthDelimited).fork(), i).join();
672
+ internalBinaryWrite(t, n, i) {
673
+ t.data.oneofKind === "updatedFlow" && g.internalBinaryWrite(t.data.updatedFlow, n.tag(1, r.LengthDelimited).fork(), i).join(), t.data.oneofKind === "deletedFlow" && n.tag(2, r.Varint).int64(t.data.deletedFlow);
200
674
  let a = i.writeUnknownFields;
201
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
675
+ return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
202
676
  }
203
- }(), _ = new class extends i {
677
+ }(), O = new class extends t {
204
678
  constructor() {
205
679
  super("aquila.ActionTransferRequest", [
206
680
  {
@@ -208,167 +682,235 @@ var p = new class extends i {
208
682
  name: "logon",
209
683
  kind: "message",
210
684
  oneof: "data",
211
- T: () => m
685
+ T: () => v
212
686
  },
213
687
  {
214
688
  no: 2,
215
689
  name: "event",
216
690
  kind: "message",
217
691
  oneof: "data",
218
- T: () => p
692
+ T: () => _
219
693
  },
220
694
  {
221
695
  no: 3,
222
696
  name: "result",
223
697
  kind: "message",
224
698
  oneof: "data",
225
- T: () => g
699
+ T: () => T
700
+ },
701
+ {
702
+ no: 4,
703
+ name: "sub_flow_execution",
704
+ kind: "message",
705
+ oneof: "data",
706
+ T: () => S
707
+ },
708
+ {
709
+ no: 5,
710
+ name: "flow_execution",
711
+ kind: "message",
712
+ oneof: "data",
713
+ T: () => w
226
714
  }
227
715
  ]);
228
716
  }
229
717
  create(e) {
230
718
  let t = globalThis.Object.create(this.messagePrototype);
231
- return t.data = { oneofKind: void 0 }, e !== void 0 && a(this, t, e), t;
719
+ return t.data = { oneofKind: void 0 }, e !== void 0 && n(this, t, e), t;
232
720
  }
233
- internalBinaryRead(e, n, r, i) {
234
- let a = i ?? this.create(), o = e.pos + n;
235
- for (; e.pos < o;) {
236
- let [n, i] = e.tag();
721
+ internalBinaryRead(t, n, r, i) {
722
+ let a = i ?? this.create(), o = t.pos + n;
723
+ for (; t.pos < o;) {
724
+ let [n, i] = t.tag();
237
725
  switch (n) {
238
726
  case 1:
239
727
  a.data = {
240
728
  oneofKind: "logon",
241
- logon: m.internalBinaryRead(e, e.uint32(), r, a.data.logon)
729
+ logon: v.internalBinaryRead(t, t.uint32(), r, a.data.logon)
242
730
  };
243
731
  break;
244
732
  case 2:
245
733
  a.data = {
246
734
  oneofKind: "event",
247
- event: p.internalBinaryRead(e, e.uint32(), r, a.data.event)
735
+ event: _.internalBinaryRead(t, t.uint32(), r, a.data.event)
248
736
  };
249
737
  break;
250
738
  case 3:
251
739
  a.data = {
252
740
  oneofKind: "result",
253
- result: g.internalBinaryRead(e, e.uint32(), r, a.data.result)
741
+ result: T.internalBinaryRead(t, t.uint32(), r, a.data.result)
742
+ };
743
+ break;
744
+ case 4:
745
+ a.data = {
746
+ oneofKind: "subFlowExecution",
747
+ subFlowExecution: S.internalBinaryRead(t, t.uint32(), r, a.data.subFlowExecution)
748
+ };
749
+ break;
750
+ case 5:
751
+ a.data = {
752
+ oneofKind: "flowExecution",
753
+ flowExecution: w.internalBinaryRead(t, t.uint32(), r, a.data.flowExecution)
254
754
  };
255
755
  break;
256
756
  default:
257
757
  let o = r.readUnknownField;
258
758
  if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
259
- let s = e.skip(i);
260
- o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
759
+ let s = t.skip(i);
760
+ o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
261
761
  }
262
762
  }
263
763
  return a;
264
764
  }
265
- internalBinaryWrite(n, r, i) {
266
- n.data.oneofKind === "logon" && m.internalBinaryWrite(n.data.logon, r.tag(1, e.LengthDelimited).fork(), i).join(), n.data.oneofKind === "event" && p.internalBinaryWrite(n.data.event, r.tag(2, e.LengthDelimited).fork(), i).join(), n.data.oneofKind === "result" && g.internalBinaryWrite(n.data.result, r.tag(3, e.LengthDelimited).fork(), i).join();
765
+ internalBinaryWrite(t, n, i) {
766
+ t.data.oneofKind === "logon" && v.internalBinaryWrite(t.data.logon, n.tag(1, r.LengthDelimited).fork(), i).join(), t.data.oneofKind === "event" && _.internalBinaryWrite(t.data.event, n.tag(2, r.LengthDelimited).fork(), i).join(), t.data.oneofKind === "result" && T.internalBinaryWrite(t.data.result, n.tag(3, r.LengthDelimited).fork(), i).join(), t.data.oneofKind === "subFlowExecution" && S.internalBinaryWrite(t.data.subFlowExecution, n.tag(4, r.LengthDelimited).fork(), i).join(), t.data.oneofKind === "flowExecution" && w.internalBinaryWrite(t.data.flowExecution, n.tag(5, r.LengthDelimited).fork(), i).join();
267
767
  let a = i.writeUnknownFields;
268
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
768
+ return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
269
769
  }
270
- }(), v = new class extends i {
770
+ }(), k = new class extends t {
271
771
  constructor() {
272
- super("aquila.ActionTransferResponse", [{
273
- no: 1,
274
- name: "execution",
275
- kind: "message",
276
- oneof: "data",
277
- T: () => h
278
- }, {
279
- no: 2,
280
- name: "module_configurations",
281
- kind: "message",
282
- oneof: "data",
283
- T: () => l
284
- }]);
772
+ super("aquila.ActionTransferResponse", [
773
+ {
774
+ no: 1,
775
+ name: "execution",
776
+ kind: "message",
777
+ oneof: "data",
778
+ T: () => x
779
+ },
780
+ {
781
+ no: 2,
782
+ name: "module_configurations",
783
+ kind: "message",
784
+ oneof: "data",
785
+ T: () => u
786
+ },
787
+ {
788
+ no: 3,
789
+ name: "flow_update",
790
+ kind: "message",
791
+ oneof: "data",
792
+ T: () => D
793
+ },
794
+ {
795
+ no: 4,
796
+ name: "flow_execution_response",
797
+ kind: "message",
798
+ oneof: "data",
799
+ T: () => E
800
+ },
801
+ {
802
+ no: 5,
803
+ name: "sub_flow_execution_response",
804
+ kind: "message",
805
+ oneof: "data",
806
+ T: () => C
807
+ }
808
+ ]);
285
809
  }
286
810
  create(e) {
287
811
  let t = globalThis.Object.create(this.messagePrototype);
288
- return t.data = { oneofKind: void 0 }, e !== void 0 && a(this, t, e), t;
812
+ return t.data = { oneofKind: void 0 }, e !== void 0 && n(this, t, e), t;
289
813
  }
290
- internalBinaryRead(e, n, r, i) {
291
- let a = i ?? this.create(), o = e.pos + n;
292
- for (; e.pos < o;) {
293
- let [n, i] = e.tag();
814
+ internalBinaryRead(t, n, r, i) {
815
+ let a = i ?? this.create(), o = t.pos + n;
816
+ for (; t.pos < o;) {
817
+ let [n, i] = t.tag();
294
818
  switch (n) {
295
819
  case 1:
296
820
  a.data = {
297
821
  oneofKind: "execution",
298
- execution: h.internalBinaryRead(e, e.uint32(), r, a.data.execution)
822
+ execution: x.internalBinaryRead(t, t.uint32(), r, a.data.execution)
299
823
  };
300
824
  break;
301
825
  case 2:
302
826
  a.data = {
303
827
  oneofKind: "moduleConfigurations",
304
- moduleConfigurations: l.internalBinaryRead(e, e.uint32(), r, a.data.moduleConfigurations)
828
+ moduleConfigurations: u.internalBinaryRead(t, t.uint32(), r, a.data.moduleConfigurations)
829
+ };
830
+ break;
831
+ case 3:
832
+ a.data = {
833
+ oneofKind: "flowUpdate",
834
+ flowUpdate: D.internalBinaryRead(t, t.uint32(), r, a.data.flowUpdate)
835
+ };
836
+ break;
837
+ case 4:
838
+ a.data = {
839
+ oneofKind: "flowExecutionResponse",
840
+ flowExecutionResponse: E.internalBinaryRead(t, t.uint32(), r, a.data.flowExecutionResponse)
841
+ };
842
+ break;
843
+ case 5:
844
+ a.data = {
845
+ oneofKind: "subFlowExecutionResponse",
846
+ subFlowExecutionResponse: C.internalBinaryRead(t, t.uint32(), r, a.data.subFlowExecutionResponse)
305
847
  };
306
848
  break;
307
849
  default:
308
850
  let o = r.readUnknownField;
309
851
  if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
310
- let s = e.skip(i);
311
- o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
852
+ let s = t.skip(i);
853
+ o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
312
854
  }
313
855
  }
314
856
  return a;
315
857
  }
316
- internalBinaryWrite(n, r, i) {
317
- n.data.oneofKind === "execution" && h.internalBinaryWrite(n.data.execution, r.tag(1, e.LengthDelimited).fork(), i).join(), n.data.oneofKind === "moduleConfigurations" && l.internalBinaryWrite(n.data.moduleConfigurations, r.tag(2, e.LengthDelimited).fork(), i).join();
858
+ internalBinaryWrite(t, n, i) {
859
+ t.data.oneofKind === "execution" && x.internalBinaryWrite(t.data.execution, n.tag(1, r.LengthDelimited).fork(), i).join(), t.data.oneofKind === "moduleConfigurations" && u.internalBinaryWrite(t.data.moduleConfigurations, n.tag(2, r.LengthDelimited).fork(), i).join(), t.data.oneofKind === "flowUpdate" && D.internalBinaryWrite(t.data.flowUpdate, n.tag(3, r.LengthDelimited).fork(), i).join(), t.data.oneofKind === "flowExecutionResponse" && E.internalBinaryWrite(t.data.flowExecutionResponse, n.tag(4, r.LengthDelimited).fork(), i).join(), t.data.oneofKind === "subFlowExecutionResponse" && C.internalBinaryWrite(t.data.subFlowExecutionResponse, n.tag(5, r.LengthDelimited).fork(), i).join();
318
860
  let a = i.writeUnknownFields;
319
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
861
+ return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
320
862
  }
321
- }(), y = new d("aquila.ActionTransferService", [{
863
+ }(), A = new p("aquila.ActionTransferService", [{
322
864
  name: "Transfer",
323
865
  serverStreaming: !0,
324
866
  clientStreaming: !0,
325
867
  options: {},
326
- I: _,
327
- O: v
328
- }]), b = class {
868
+ I: O,
869
+ O: k
870
+ }]), j = class {
329
871
  constructor(e) {
330
- this._transport = e, this.typeName = y.typeName, this.methods = y.methods, this.options = y.options;
872
+ this._transport = e, this.typeName = A.typeName, this.methods = A.methods, this.options = A.options;
331
873
  }
332
874
  transfer(e) {
333
875
  let t = this.methods[0], n = this._transport.mergeOptions(e);
334
- return f("duplex", this._transport, t, n);
876
+ return m("duplex", this._transport, t, n);
335
877
  }
336
- }, x = new class extends i {
878
+ }, M = new class extends t {
337
879
  constructor() {
338
880
  super("aquila.ExecutionRequest", [{
339
881
  no: 1,
340
882
  name: "execution_result",
341
883
  kind: "message",
342
- T: () => s
884
+ T: () => c
343
885
  }]);
344
886
  }
345
887
  create(e) {
346
888
  let t = globalThis.Object.create(this.messagePrototype);
347
- return e !== void 0 && a(this, t, e), t;
889
+ return e !== void 0 && n(this, t, e), t;
348
890
  }
349
- internalBinaryRead(e, n, r, i) {
350
- let a = i ?? this.create(), o = e.pos + n;
351
- for (; e.pos < o;) {
352
- let [n, i] = e.tag();
891
+ internalBinaryRead(t, n, r, i) {
892
+ let a = i ?? this.create(), o = t.pos + n;
893
+ for (; t.pos < o;) {
894
+ let [n, i] = t.tag();
353
895
  switch (n) {
354
896
  case 1:
355
- a.executionResult = s.internalBinaryRead(e, e.uint32(), r, a.executionResult);
897
+ a.executionResult = c.internalBinaryRead(t, t.uint32(), r, a.executionResult);
356
898
  break;
357
899
  default:
358
900
  let o = r.readUnknownField;
359
901
  if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
360
- let c = e.skip(i);
361
- o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, c);
902
+ let s = t.skip(i);
903
+ o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
362
904
  }
363
905
  }
364
906
  return a;
365
907
  }
366
- internalBinaryWrite(n, r, i) {
367
- n.executionResult && s.internalBinaryWrite(n.executionResult, r.tag(1, e.LengthDelimited).fork(), i).join();
908
+ internalBinaryWrite(t, n, i) {
909
+ t.executionResult && c.internalBinaryWrite(t.executionResult, n.tag(1, r.LengthDelimited).fork(), i).join();
368
910
  let a = i.writeUnknownFields;
369
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
911
+ return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
370
912
  }
371
- }(), S = new class extends i {
913
+ }(), N = new class extends t {
372
914
  constructor() {
373
915
  super("aquila.ExecutionResponse", [{
374
916
  no: 1,
@@ -379,80 +921,80 @@ var p = new class extends i {
379
921
  }
380
922
  create(e) {
381
923
  let t = globalThis.Object.create(this.messagePrototype);
382
- return t.success = !1, e !== void 0 && a(this, t, e), t;
924
+ return t.success = !1, e !== void 0 && n(this, t, e), t;
383
925
  }
384
- internalBinaryRead(e, n, r, i) {
385
- let a = i ?? this.create(), o = e.pos + n;
386
- for (; e.pos < o;) {
387
- let [n, i] = e.tag();
926
+ internalBinaryRead(t, n, r, i) {
927
+ let a = i ?? this.create(), o = t.pos + n;
928
+ for (; t.pos < o;) {
929
+ let [n, i] = t.tag();
388
930
  switch (n) {
389
931
  case 1:
390
- a.success = e.bool();
932
+ a.success = t.bool();
391
933
  break;
392
934
  default:
393
935
  let o = r.readUnknownField;
394
936
  if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
395
- let s = e.skip(i);
396
- o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
937
+ let s = t.skip(i);
938
+ o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
397
939
  }
398
940
  }
399
941
  return a;
400
942
  }
401
- internalBinaryWrite(n, r, i) {
402
- n.success !== !1 && r.tag(1, e.Varint).bool(n.success);
943
+ internalBinaryWrite(t, n, i) {
944
+ t.success !== !1 && n.tag(1, r.Varint).bool(t.success);
403
945
  let a = i.writeUnknownFields;
404
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
946
+ return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
405
947
  }
406
- }(), C = new d("aquila.ExecutionService", [{
948
+ }(), P = new p("aquila.ExecutionService", [{
407
949
  name: "Update",
408
950
  options: {},
409
- I: x,
410
- O: S
411
- }]), w = class {
951
+ I: M,
952
+ O: N
953
+ }]), F = class {
412
954
  constructor(e) {
413
- this._transport = e, this.typeName = C.typeName, this.methods = C.methods, this.options = C.options;
955
+ this._transport = e, this.typeName = P.typeName, this.methods = P.methods, this.options = P.options;
414
956
  }
415
957
  update(e, t) {
416
958
  let n = this.methods[0], r = this._transport.mergeOptions(t);
417
- return f("unary", this._transport, n, r, e);
959
+ return m("unary", this._transport, n, r, e);
418
960
  }
419
- }, T = new class extends i {
961
+ }, I = new class extends t {
420
962
  constructor() {
421
963
  super("aquila.ModuleUpdateRequest", [{
422
964
  no: 1,
423
965
  name: "modules",
424
966
  kind: "message",
425
967
  repeat: 2,
426
- T: () => c
968
+ T: () => l
427
969
  }]);
428
970
  }
429
971
  create(e) {
430
972
  let t = globalThis.Object.create(this.messagePrototype);
431
- return t.modules = [], e !== void 0 && a(this, t, e), t;
973
+ return t.modules = [], e !== void 0 && n(this, t, e), t;
432
974
  }
433
- internalBinaryRead(e, n, r, i) {
434
- let a = i ?? this.create(), o = e.pos + n;
435
- for (; e.pos < o;) {
436
- let [n, i] = e.tag();
975
+ internalBinaryRead(t, n, r, i) {
976
+ let a = i ?? this.create(), o = t.pos + n;
977
+ for (; t.pos < o;) {
978
+ let [n, i] = t.tag();
437
979
  switch (n) {
438
980
  case 1:
439
- a.modules.push(c.internalBinaryRead(e, e.uint32(), r));
981
+ a.modules.push(l.internalBinaryRead(t, t.uint32(), r));
440
982
  break;
441
983
  default:
442
984
  let o = r.readUnknownField;
443
985
  if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
444
- let s = e.skip(i);
445
- o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
986
+ let s = t.skip(i);
987
+ o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
446
988
  }
447
989
  }
448
990
  return a;
449
991
  }
450
- internalBinaryWrite(n, r, i) {
451
- for (let t = 0; t < n.modules.length; t++) c.internalBinaryWrite(n.modules[t], r.tag(1, e.LengthDelimited).fork(), i).join();
992
+ internalBinaryWrite(t, n, i) {
993
+ for (let e = 0; e < t.modules.length; e++) l.internalBinaryWrite(t.modules[e], n.tag(1, r.LengthDelimited).fork(), i).join();
452
994
  let a = i.writeUnknownFields;
453
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
995
+ return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
454
996
  }
455
- }(), E = new class extends i {
997
+ }(), L = new class extends t {
456
998
  constructor() {
457
999
  super("aquila.ModuleUpdateResponse", [{
458
1000
  no: 1,
@@ -463,79 +1005,79 @@ var p = new class extends i {
463
1005
  }
464
1006
  create(e) {
465
1007
  let t = globalThis.Object.create(this.messagePrototype);
466
- return t.success = !1, e !== void 0 && a(this, t, e), t;
1008
+ return t.success = !1, e !== void 0 && n(this, t, e), t;
467
1009
  }
468
- internalBinaryRead(e, n, r, i) {
469
- let a = i ?? this.create(), o = e.pos + n;
470
- for (; e.pos < o;) {
471
- let [n, i] = e.tag();
1010
+ internalBinaryRead(t, n, r, i) {
1011
+ let a = i ?? this.create(), o = t.pos + n;
1012
+ for (; t.pos < o;) {
1013
+ let [n, i] = t.tag();
472
1014
  switch (n) {
473
1015
  case 1:
474
- a.success = e.bool();
1016
+ a.success = t.bool();
475
1017
  break;
476
1018
  default:
477
1019
  let o = r.readUnknownField;
478
1020
  if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
479
- let s = e.skip(i);
480
- o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
1021
+ let s = t.skip(i);
1022
+ o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
481
1023
  }
482
1024
  }
483
1025
  return a;
484
1026
  }
485
- internalBinaryWrite(n, r, i) {
486
- n.success !== !1 && r.tag(1, e.Varint).bool(n.success);
1027
+ internalBinaryWrite(t, n, i) {
1028
+ t.success !== !1 && n.tag(1, r.Varint).bool(t.success);
487
1029
  let a = i.writeUnknownFields;
488
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
1030
+ return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
489
1031
  }
490
- }(), D = new d("aquila.ModuleService", [{
1032
+ }(), R = new p("aquila.ModuleService", [{
491
1033
  name: "Update",
492
1034
  options: {},
493
- I: T,
494
- O: E
495
- }]), O = class {
1035
+ I,
1036
+ O: L
1037
+ }]), z = class {
496
1038
  constructor(e) {
497
- this._transport = e, this.typeName = D.typeName, this.methods = D.methods, this.options = D.options;
1039
+ this._transport = e, this.typeName = R.typeName, this.methods = R.methods, this.options = R.options;
498
1040
  }
499
1041
  update(e, t) {
500
1042
  let n = this.methods[0], r = this._transport.mergeOptions(t);
501
- return f("unary", this._transport, n, r, e);
1043
+ return m("unary", this._transport, n, r, e);
502
1044
  }
503
- }, k = new class extends i {
1045
+ }, B = new class extends t {
504
1046
  constructor() {
505
1047
  super("aquila.RuntimeStatusUpdateRequest", [{
506
1048
  no: 1,
507
1049
  name: "status",
508
1050
  kind: "message",
509
- T: () => u
1051
+ T: () => d
510
1052
  }]);
511
1053
  }
512
1054
  create(e) {
513
1055
  let t = globalThis.Object.create(this.messagePrototype);
514
- return e !== void 0 && a(this, t, e), t;
1056
+ return e !== void 0 && n(this, t, e), t;
515
1057
  }
516
- internalBinaryRead(e, n, r, i) {
517
- let a = i ?? this.create(), o = e.pos + n;
518
- for (; e.pos < o;) {
519
- let [n, i] = e.tag();
1058
+ internalBinaryRead(t, n, r, i) {
1059
+ let a = i ?? this.create(), o = t.pos + n;
1060
+ for (; t.pos < o;) {
1061
+ let [n, i] = t.tag();
520
1062
  switch (n) {
521
1063
  case 1:
522
- a.status = u.internalBinaryRead(e, e.uint32(), r, a.status);
1064
+ a.status = d.internalBinaryRead(t, t.uint32(), r, a.status);
523
1065
  break;
524
1066
  default:
525
1067
  let o = r.readUnknownField;
526
1068
  if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
527
- let s = e.skip(i);
528
- o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
1069
+ let s = t.skip(i);
1070
+ o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
529
1071
  }
530
1072
  }
531
1073
  return a;
532
1074
  }
533
- internalBinaryWrite(n, r, i) {
534
- n.status && u.internalBinaryWrite(n.status, r.tag(1, e.LengthDelimited).fork(), i).join();
1075
+ internalBinaryWrite(t, n, i) {
1076
+ t.status && d.internalBinaryWrite(t.status, n.tag(1, r.LengthDelimited).fork(), i).join();
535
1077
  let a = i.writeUnknownFields;
536
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
1078
+ return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
537
1079
  }
538
- }(), A = new class extends i {
1080
+ }(), V = new class extends t {
539
1081
  constructor() {
540
1082
  super("aquila.RuntimeStatusUpdateResponse", [{
541
1083
  no: 1,
@@ -546,43 +1088,43 @@ var p = new class extends i {
546
1088
  }
547
1089
  create(e) {
548
1090
  let t = globalThis.Object.create(this.messagePrototype);
549
- return t.success = !1, e !== void 0 && a(this, t, e), t;
1091
+ return t.success = !1, e !== void 0 && n(this, t, e), t;
550
1092
  }
551
- internalBinaryRead(e, n, r, i) {
552
- let a = i ?? this.create(), o = e.pos + n;
553
- for (; e.pos < o;) {
554
- let [n, i] = e.tag();
1093
+ internalBinaryRead(t, n, r, i) {
1094
+ let a = i ?? this.create(), o = t.pos + n;
1095
+ for (; t.pos < o;) {
1096
+ let [n, i] = t.tag();
555
1097
  switch (n) {
556
1098
  case 1:
557
- a.success = e.bool();
1099
+ a.success = t.bool();
558
1100
  break;
559
1101
  default:
560
1102
  let o = r.readUnknownField;
561
1103
  if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
562
- let s = e.skip(i);
563
- o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
1104
+ let s = t.skip(i);
1105
+ o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
564
1106
  }
565
1107
  }
566
1108
  return a;
567
1109
  }
568
- internalBinaryWrite(n, r, i) {
569
- n.success !== !1 && r.tag(1, e.Varint).bool(n.success);
1110
+ internalBinaryWrite(t, n, i) {
1111
+ t.success !== !1 && n.tag(1, r.Varint).bool(t.success);
570
1112
  let a = i.writeUnknownFields;
571
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
1113
+ return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
572
1114
  }
573
- }(), j = new d("aquila.RuntimeStatusService", [{
1115
+ }(), H = new p("aquila.RuntimeStatusService", [{
574
1116
  name: "Update",
575
1117
  options: {},
576
- I: k,
577
- O: A
578
- }]), M = class {
1118
+ I: B,
1119
+ O: V
1120
+ }]), U = class {
579
1121
  constructor(e) {
580
- this._transport = e, this.typeName = j.typeName, this.methods = j.methods, this.options = j.options;
1122
+ this._transport = e, this.typeName = H.typeName, this.methods = H.methods, this.options = H.options;
581
1123
  }
582
1124
  update(e, t) {
583
1125
  let n = this.methods[0], r = this._transport.mergeOptions(t);
584
- return f("unary", this._transport, n, r, e);
1126
+ return m("unary", this._transport, n, r, e);
585
1127
  }
586
1128
  };
587
1129
  //#endregion
588
- export { p as ActionEvent, h as ActionExecutionRequest, g as ActionExecutionResponse, m as ActionLogon, _ as ActionTransferRequest, v as ActionTransferResponse, y as ActionTransferService, b as ActionTransferServiceClient, x as ExecutionRequest, S as ExecutionResponse, C as ExecutionService, w as ExecutionServiceClient, D as ModuleService, O as ModuleServiceClient, T as ModuleUpdateRequest, E as ModuleUpdateResponse, j as RuntimeStatusService, M as RuntimeStatusServiceClient, k as RuntimeStatusUpdateRequest, A as RuntimeStatusUpdateResponse };
1130
+ export { _ as ActionEvent, x as ActionExecutionRequest, T as ActionExecutionResponse, g as ActionFlow, w as ActionFlowExecutionRequest, E as ActionFlowExecutionResponse, D as ActionFlowUpdate, v as ActionLogon, h as ActionLogon_ScalingOption, y as ActionNodeSubFlowValue, b as ActionNodeValue, S as ActionSubFlowExecutionRequest, C as ActionSubFlowExecutionResponse, O as ActionTransferRequest, k as ActionTransferResponse, A as ActionTransferService, j as ActionTransferServiceClient, M as ExecutionRequest, N as ExecutionResponse, P as ExecutionService, F as ExecutionServiceClient, R as ModuleService, z as ModuleServiceClient, I as ModuleUpdateRequest, L as ModuleUpdateResponse, H as RuntimeStatusService, U as RuntimeStatusServiceClient, B as RuntimeStatusUpdateRequest, V as RuntimeStatusUpdateResponse };