@code0-tech/tucana 0.0.77 → 0.0.78

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]
67
171
  }]);
68
172
  }
69
173
  create(e) {
70
174
  let t = globalThis.Object.create(this.messagePrototype);
71
- return e !== void 0 && a(this, t, e), t;
175
+ return t.scalingOption = 0, e !== void 0 && n(this, t, e), t;
72
176
  }
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();
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();
77
181
  switch (n) {
78
182
  case 1:
79
- a.module = c.internalBinaryRead(e, e.uint32(), r, a.module);
183
+ a.module = l.internalBinaryRead(t, t.uint32(), r, a.module);
184
+ break;
185
+ case 2:
186
+ a.scalingOption = t.int32();
80
187
  break;
81
188
  default:
82
189
  let o = r.readUnknownField;
83
190
  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);
191
+ let s = t.skip(i);
192
+ o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
86
193
  }
87
194
  }
88
195
  return a;
89
196
  }
90
- internalBinaryWrite(n, r, i) {
91
- n.module && c.internalBinaryWrite(n.module, r.tag(1, e.LengthDelimited).fork(), i).join();
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);
92
199
  let a = i.writeUnknownFields;
93
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
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
209
+ }]);
210
+ }
211
+ create(e) {
212
+ let t = globalThis.Object.create(this.messagePrototype);
213
+ return t.executionIdentifier = "", e !== void 0 && n(this, t, e), t;
214
+ }
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();
219
+ switch (n) {
220
+ case 1:
221
+ a.executionIdentifier = t.string();
222
+ break;
223
+ default:
224
+ let o = r.readUnknownField;
225
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
226
+ let s = t.skip(i);
227
+ o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
228
+ }
229
+ }
230
+ return a;
231
+ }
232
+ internalBinaryWrite(t, n, i) {
233
+ t.executionIdentifier !== "" && n.tag(1, r.LengthDelimited).string(t.executionIdentifier);
234
+ let a = i.writeUnknownFields;
235
+ return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
236
+ }
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;
94
282
  }
95
- }(), h = new class extends i {
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();
145
339
  break;
146
340
  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);
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);
151
391
  }
152
392
  }
153
393
  return o;
154
394
  }
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);
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();
157
398
  let o = a.writeUnknownFields;
158
- return o !== !1 && (o == 1 ? t.onWrite : o)(this.typeName, r, i), i;
399
+ return o !== !1 && (o == 1 ? e.onWrite : o)(this.typeName, t, n), n;
159
400
  }
160
- }(), g = new class extends i {
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
+ };
449
+ break;
450
+ default:
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);
455
+ }
456
+ }
457
+ return o;
458
+ }
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();
461
+ let o = a.writeUnknownFields;
462
+ return o !== !1 && (o == 1 ? e.onWrite : o)(this.typeName, t, n), n;
463
+ }
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,222 @@ 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
226
707
  }
227
708
  ]);
228
709
  }
229
710
  create(e) {
230
711
  let t = globalThis.Object.create(this.messagePrototype);
231
- return t.data = { oneofKind: void 0 }, e !== void 0 && a(this, t, e), t;
712
+ return t.data = { oneofKind: void 0 }, e !== void 0 && n(this, t, e), t;
232
713
  }
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();
714
+ internalBinaryRead(t, n, r, i) {
715
+ let a = i ?? this.create(), o = t.pos + n;
716
+ for (; t.pos < o;) {
717
+ let [n, i] = t.tag();
237
718
  switch (n) {
238
719
  case 1:
239
720
  a.data = {
240
721
  oneofKind: "logon",
241
- logon: m.internalBinaryRead(e, e.uint32(), r, a.data.logon)
722
+ logon: v.internalBinaryRead(t, t.uint32(), r, a.data.logon)
242
723
  };
243
724
  break;
244
725
  case 2:
245
726
  a.data = {
246
727
  oneofKind: "event",
247
- event: p.internalBinaryRead(e, e.uint32(), r, a.data.event)
728
+ event: _.internalBinaryRead(t, t.uint32(), r, a.data.event)
248
729
  };
249
730
  break;
250
731
  case 3:
251
732
  a.data = {
252
733
  oneofKind: "result",
253
- result: g.internalBinaryRead(e, e.uint32(), r, a.data.result)
734
+ result: T.internalBinaryRead(t, t.uint32(), r, a.data.result)
735
+ };
736
+ break;
737
+ case 4:
738
+ a.data = {
739
+ oneofKind: "subFlowExecution",
740
+ subFlowExecution: S.internalBinaryRead(t, t.uint32(), r, a.data.subFlowExecution)
254
741
  };
255
742
  break;
256
743
  default:
257
744
  let o = r.readUnknownField;
258
745
  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);
746
+ let s = t.skip(i);
747
+ o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
261
748
  }
262
749
  }
263
750
  return a;
264
751
  }
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();
752
+ internalBinaryWrite(t, n, i) {
753
+ 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();
267
754
  let a = i.writeUnknownFields;
268
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
755
+ return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
269
756
  }
270
- }(), v = new class extends i {
757
+ }(), k = new class extends t {
271
758
  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
- }]);
759
+ super("aquila.ActionTransferResponse", [
760
+ {
761
+ no: 1,
762
+ name: "execution",
763
+ kind: "message",
764
+ oneof: "data",
765
+ T: () => x
766
+ },
767
+ {
768
+ no: 2,
769
+ name: "module_configurations",
770
+ kind: "message",
771
+ oneof: "data",
772
+ T: () => u
773
+ },
774
+ {
775
+ no: 3,
776
+ name: "flow_update",
777
+ kind: "message",
778
+ oneof: "data",
779
+ T: () => D
780
+ },
781
+ {
782
+ no: 4,
783
+ name: "flow_execution_response",
784
+ kind: "message",
785
+ oneof: "data",
786
+ T: () => E
787
+ },
788
+ {
789
+ no: 5,
790
+ name: "sub_flow_execution_response",
791
+ kind: "message",
792
+ oneof: "data",
793
+ T: () => C
794
+ }
795
+ ]);
285
796
  }
286
797
  create(e) {
287
798
  let t = globalThis.Object.create(this.messagePrototype);
288
- return t.data = { oneofKind: void 0 }, e !== void 0 && a(this, t, e), t;
799
+ return t.data = { oneofKind: void 0 }, e !== void 0 && n(this, t, e), t;
289
800
  }
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();
801
+ internalBinaryRead(t, n, r, i) {
802
+ let a = i ?? this.create(), o = t.pos + n;
803
+ for (; t.pos < o;) {
804
+ let [n, i] = t.tag();
294
805
  switch (n) {
295
806
  case 1:
296
807
  a.data = {
297
808
  oneofKind: "execution",
298
- execution: h.internalBinaryRead(e, e.uint32(), r, a.data.execution)
809
+ execution: x.internalBinaryRead(t, t.uint32(), r, a.data.execution)
299
810
  };
300
811
  break;
301
812
  case 2:
302
813
  a.data = {
303
814
  oneofKind: "moduleConfigurations",
304
- moduleConfigurations: l.internalBinaryRead(e, e.uint32(), r, a.data.moduleConfigurations)
815
+ moduleConfigurations: u.internalBinaryRead(t, t.uint32(), r, a.data.moduleConfigurations)
816
+ };
817
+ break;
818
+ case 3:
819
+ a.data = {
820
+ oneofKind: "flowUpdate",
821
+ flowUpdate: D.internalBinaryRead(t, t.uint32(), r, a.data.flowUpdate)
822
+ };
823
+ break;
824
+ case 4:
825
+ a.data = {
826
+ oneofKind: "flowExecutionResponse",
827
+ flowExecutionResponse: E.internalBinaryRead(t, t.uint32(), r, a.data.flowExecutionResponse)
828
+ };
829
+ break;
830
+ case 5:
831
+ a.data = {
832
+ oneofKind: "subFlowExecutionResponse",
833
+ subFlowExecutionResponse: C.internalBinaryRead(t, t.uint32(), r, a.data.subFlowExecutionResponse)
305
834
  };
306
835
  break;
307
836
  default:
308
837
  let o = r.readUnknownField;
309
838
  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);
839
+ let s = t.skip(i);
840
+ o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
312
841
  }
313
842
  }
314
843
  return a;
315
844
  }
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();
845
+ internalBinaryWrite(t, n, i) {
846
+ 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
847
  let a = i.writeUnknownFields;
319
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
848
+ return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
320
849
  }
321
- }(), y = new d("aquila.ActionTransferService", [{
850
+ }(), A = new p("aquila.ActionTransferService", [{
322
851
  name: "Transfer",
323
852
  serverStreaming: !0,
324
853
  clientStreaming: !0,
325
854
  options: {},
326
- I: _,
327
- O: v
328
- }]), b = class {
855
+ I: O,
856
+ O: k
857
+ }]), j = class {
329
858
  constructor(e) {
330
- this._transport = e, this.typeName = y.typeName, this.methods = y.methods, this.options = y.options;
859
+ this._transport = e, this.typeName = A.typeName, this.methods = A.methods, this.options = A.options;
331
860
  }
332
861
  transfer(e) {
333
862
  let t = this.methods[0], n = this._transport.mergeOptions(e);
334
- return f("duplex", this._transport, t, n);
863
+ return m("duplex", this._transport, t, n);
335
864
  }
336
- }, x = new class extends i {
865
+ }, M = new class extends t {
337
866
  constructor() {
338
867
  super("aquila.ExecutionRequest", [{
339
868
  no: 1,
340
869
  name: "execution_result",
341
870
  kind: "message",
342
- T: () => s
871
+ T: () => c
343
872
  }]);
344
873
  }
345
874
  create(e) {
346
875
  let t = globalThis.Object.create(this.messagePrototype);
347
- return e !== void 0 && a(this, t, e), t;
876
+ return e !== void 0 && n(this, t, e), t;
348
877
  }
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();
878
+ internalBinaryRead(t, n, r, i) {
879
+ let a = i ?? this.create(), o = t.pos + n;
880
+ for (; t.pos < o;) {
881
+ let [n, i] = t.tag();
353
882
  switch (n) {
354
883
  case 1:
355
- a.executionResult = s.internalBinaryRead(e, e.uint32(), r, a.executionResult);
884
+ a.executionResult = c.internalBinaryRead(t, t.uint32(), r, a.executionResult);
356
885
  break;
357
886
  default:
358
887
  let o = r.readUnknownField;
359
888
  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);
889
+ let s = t.skip(i);
890
+ o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
362
891
  }
363
892
  }
364
893
  return a;
365
894
  }
366
- internalBinaryWrite(n, r, i) {
367
- n.executionResult && s.internalBinaryWrite(n.executionResult, r.tag(1, e.LengthDelimited).fork(), i).join();
895
+ internalBinaryWrite(t, n, i) {
896
+ t.executionResult && c.internalBinaryWrite(t.executionResult, n.tag(1, r.LengthDelimited).fork(), i).join();
368
897
  let a = i.writeUnknownFields;
369
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
898
+ return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
370
899
  }
371
- }(), S = new class extends i {
900
+ }(), N = new class extends t {
372
901
  constructor() {
373
902
  super("aquila.ExecutionResponse", [{
374
903
  no: 1,
@@ -379,80 +908,80 @@ var p = new class extends i {
379
908
  }
380
909
  create(e) {
381
910
  let t = globalThis.Object.create(this.messagePrototype);
382
- return t.success = !1, e !== void 0 && a(this, t, e), t;
911
+ return t.success = !1, e !== void 0 && n(this, t, e), t;
383
912
  }
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();
913
+ internalBinaryRead(t, n, r, i) {
914
+ let a = i ?? this.create(), o = t.pos + n;
915
+ for (; t.pos < o;) {
916
+ let [n, i] = t.tag();
388
917
  switch (n) {
389
918
  case 1:
390
- a.success = e.bool();
919
+ a.success = t.bool();
391
920
  break;
392
921
  default:
393
922
  let o = r.readUnknownField;
394
923
  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);
924
+ let s = t.skip(i);
925
+ o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
397
926
  }
398
927
  }
399
928
  return a;
400
929
  }
401
- internalBinaryWrite(n, r, i) {
402
- n.success !== !1 && r.tag(1, e.Varint).bool(n.success);
930
+ internalBinaryWrite(t, n, i) {
931
+ t.success !== !1 && n.tag(1, r.Varint).bool(t.success);
403
932
  let a = i.writeUnknownFields;
404
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
933
+ return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
405
934
  }
406
- }(), C = new d("aquila.ExecutionService", [{
935
+ }(), P = new p("aquila.ExecutionService", [{
407
936
  name: "Update",
408
937
  options: {},
409
- I: x,
410
- O: S
411
- }]), w = class {
938
+ I: M,
939
+ O: N
940
+ }]), F = class {
412
941
  constructor(e) {
413
- this._transport = e, this.typeName = C.typeName, this.methods = C.methods, this.options = C.options;
942
+ this._transport = e, this.typeName = P.typeName, this.methods = P.methods, this.options = P.options;
414
943
  }
415
944
  update(e, t) {
416
945
  let n = this.methods[0], r = this._transport.mergeOptions(t);
417
- return f("unary", this._transport, n, r, e);
946
+ return m("unary", this._transport, n, r, e);
418
947
  }
419
- }, T = new class extends i {
948
+ }, I = new class extends t {
420
949
  constructor() {
421
950
  super("aquila.ModuleUpdateRequest", [{
422
951
  no: 1,
423
952
  name: "modules",
424
953
  kind: "message",
425
954
  repeat: 2,
426
- T: () => c
955
+ T: () => l
427
956
  }]);
428
957
  }
429
958
  create(e) {
430
959
  let t = globalThis.Object.create(this.messagePrototype);
431
- return t.modules = [], e !== void 0 && a(this, t, e), t;
960
+ return t.modules = [], e !== void 0 && n(this, t, e), t;
432
961
  }
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();
962
+ internalBinaryRead(t, n, r, i) {
963
+ let a = i ?? this.create(), o = t.pos + n;
964
+ for (; t.pos < o;) {
965
+ let [n, i] = t.tag();
437
966
  switch (n) {
438
967
  case 1:
439
- a.modules.push(c.internalBinaryRead(e, e.uint32(), r));
968
+ a.modules.push(l.internalBinaryRead(t, t.uint32(), r));
440
969
  break;
441
970
  default:
442
971
  let o = r.readUnknownField;
443
972
  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);
973
+ let s = t.skip(i);
974
+ o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
446
975
  }
447
976
  }
448
977
  return a;
449
978
  }
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();
979
+ internalBinaryWrite(t, n, i) {
980
+ for (let e = 0; e < t.modules.length; e++) l.internalBinaryWrite(t.modules[e], n.tag(1, r.LengthDelimited).fork(), i).join();
452
981
  let a = i.writeUnknownFields;
453
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
982
+ return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
454
983
  }
455
- }(), E = new class extends i {
984
+ }(), L = new class extends t {
456
985
  constructor() {
457
986
  super("aquila.ModuleUpdateResponse", [{
458
987
  no: 1,
@@ -463,79 +992,79 @@ var p = new class extends i {
463
992
  }
464
993
  create(e) {
465
994
  let t = globalThis.Object.create(this.messagePrototype);
466
- return t.success = !1, e !== void 0 && a(this, t, e), t;
995
+ return t.success = !1, e !== void 0 && n(this, t, e), t;
467
996
  }
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();
997
+ internalBinaryRead(t, n, r, i) {
998
+ let a = i ?? this.create(), o = t.pos + n;
999
+ for (; t.pos < o;) {
1000
+ let [n, i] = t.tag();
472
1001
  switch (n) {
473
1002
  case 1:
474
- a.success = e.bool();
1003
+ a.success = t.bool();
475
1004
  break;
476
1005
  default:
477
1006
  let o = r.readUnknownField;
478
1007
  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);
1008
+ let s = t.skip(i);
1009
+ o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
481
1010
  }
482
1011
  }
483
1012
  return a;
484
1013
  }
485
- internalBinaryWrite(n, r, i) {
486
- n.success !== !1 && r.tag(1, e.Varint).bool(n.success);
1014
+ internalBinaryWrite(t, n, i) {
1015
+ t.success !== !1 && n.tag(1, r.Varint).bool(t.success);
487
1016
  let a = i.writeUnknownFields;
488
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
1017
+ return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
489
1018
  }
490
- }(), D = new d("aquila.ModuleService", [{
1019
+ }(), R = new p("aquila.ModuleService", [{
491
1020
  name: "Update",
492
1021
  options: {},
493
- I: T,
494
- O: E
495
- }]), O = class {
1022
+ I,
1023
+ O: L
1024
+ }]), z = class {
496
1025
  constructor(e) {
497
- this._transport = e, this.typeName = D.typeName, this.methods = D.methods, this.options = D.options;
1026
+ this._transport = e, this.typeName = R.typeName, this.methods = R.methods, this.options = R.options;
498
1027
  }
499
1028
  update(e, t) {
500
1029
  let n = this.methods[0], r = this._transport.mergeOptions(t);
501
- return f("unary", this._transport, n, r, e);
1030
+ return m("unary", this._transport, n, r, e);
502
1031
  }
503
- }, k = new class extends i {
1032
+ }, B = new class extends t {
504
1033
  constructor() {
505
1034
  super("aquila.RuntimeStatusUpdateRequest", [{
506
1035
  no: 1,
507
1036
  name: "status",
508
1037
  kind: "message",
509
- T: () => u
1038
+ T: () => d
510
1039
  }]);
511
1040
  }
512
1041
  create(e) {
513
1042
  let t = globalThis.Object.create(this.messagePrototype);
514
- return e !== void 0 && a(this, t, e), t;
1043
+ return e !== void 0 && n(this, t, e), t;
515
1044
  }
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();
1045
+ internalBinaryRead(t, n, r, i) {
1046
+ let a = i ?? this.create(), o = t.pos + n;
1047
+ for (; t.pos < o;) {
1048
+ let [n, i] = t.tag();
520
1049
  switch (n) {
521
1050
  case 1:
522
- a.status = u.internalBinaryRead(e, e.uint32(), r, a.status);
1051
+ a.status = d.internalBinaryRead(t, t.uint32(), r, a.status);
523
1052
  break;
524
1053
  default:
525
1054
  let o = r.readUnknownField;
526
1055
  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);
1056
+ let s = t.skip(i);
1057
+ o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
529
1058
  }
530
1059
  }
531
1060
  return a;
532
1061
  }
533
- internalBinaryWrite(n, r, i) {
534
- n.status && u.internalBinaryWrite(n.status, r.tag(1, e.LengthDelimited).fork(), i).join();
1062
+ internalBinaryWrite(t, n, i) {
1063
+ t.status && d.internalBinaryWrite(t.status, n.tag(1, r.LengthDelimited).fork(), i).join();
535
1064
  let a = i.writeUnknownFields;
536
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
1065
+ return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
537
1066
  }
538
- }(), A = new class extends i {
1067
+ }(), V = new class extends t {
539
1068
  constructor() {
540
1069
  super("aquila.RuntimeStatusUpdateResponse", [{
541
1070
  no: 1,
@@ -546,43 +1075,43 @@ var p = new class extends i {
546
1075
  }
547
1076
  create(e) {
548
1077
  let t = globalThis.Object.create(this.messagePrototype);
549
- return t.success = !1, e !== void 0 && a(this, t, e), t;
1078
+ return t.success = !1, e !== void 0 && n(this, t, e), t;
550
1079
  }
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();
1080
+ internalBinaryRead(t, n, r, i) {
1081
+ let a = i ?? this.create(), o = t.pos + n;
1082
+ for (; t.pos < o;) {
1083
+ let [n, i] = t.tag();
555
1084
  switch (n) {
556
1085
  case 1:
557
- a.success = e.bool();
1086
+ a.success = t.bool();
558
1087
  break;
559
1088
  default:
560
1089
  let o = r.readUnknownField;
561
1090
  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);
1091
+ let s = t.skip(i);
1092
+ o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
564
1093
  }
565
1094
  }
566
1095
  return a;
567
1096
  }
568
- internalBinaryWrite(n, r, i) {
569
- n.success !== !1 && r.tag(1, e.Varint).bool(n.success);
1097
+ internalBinaryWrite(t, n, i) {
1098
+ t.success !== !1 && n.tag(1, r.Varint).bool(t.success);
570
1099
  let a = i.writeUnknownFields;
571
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
1100
+ return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
572
1101
  }
573
- }(), j = new d("aquila.RuntimeStatusService", [{
1102
+ }(), H = new p("aquila.RuntimeStatusService", [{
574
1103
  name: "Update",
575
1104
  options: {},
576
- I: k,
577
- O: A
578
- }]), M = class {
1105
+ I: B,
1106
+ O: V
1107
+ }]), U = class {
579
1108
  constructor(e) {
580
- this._transport = e, this.typeName = j.typeName, this.methods = j.methods, this.options = j.options;
1109
+ this._transport = e, this.typeName = H.typeName, this.methods = H.methods, this.options = H.options;
581
1110
  }
582
1111
  update(e, t) {
583
1112
  let n = this.methods[0], r = this._transport.mergeOptions(t);
584
- return f("unary", this._transport, n, r, e);
1113
+ return m("unary", this._transport, n, r, e);
585
1114
  }
586
1115
  };
587
1116
  //#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 };
1117
+ 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 };