@code0-tech/tucana 0.0.80 → 0.0.82

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