@code0-tech/tucana 0.0.69 → 0.0.71

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,6 +1,7 @@
1
- import { E as e, F as t, G as n, I as r, J as i, W as a, Y as o, a as s, c, n as l, p as u, t as d, u as f } from "./shared.runtime_usage_pb-Qa9pCiee.js";
2
- import { n as p, t as m } from "./rpc-interceptor-DpAjfIVk.js";
3
- var h = new class extends a {
1
+ import { b as e, g as t, h as n, o as r, s as i, y as a } from "./shared.function_pb-CMAwFz4S.js";
2
+ import { a as o, c as s, n as c, p as l, t as u, u as d, w as f } from "./shared.runtime_usage_pb-BwOAdgPp.js";
3
+ import { n as p, t as m } from "./rpc-interceptor-Bq56L_Jg.js";
4
+ var h = new class extends n {
4
5
  constructor() {
5
6
  super("aquila.ActionEvent", [
6
7
  {
@@ -20,18 +21,18 @@ var h = new class extends a {
20
21
  no: 3,
21
22
  name: "payload",
22
23
  kind: "message",
23
- T: () => r
24
+ T: () => i
24
25
  }
25
26
  ]);
26
27
  }
27
28
  create(e) {
28
- let t = globalThis.Object.create(this.messagePrototype);
29
- return t.eventType = "", t.projectId = 0n, e !== void 0 && n(this, t, e), t;
29
+ let n = globalThis.Object.create(this.messagePrototype);
30
+ return n.eventType = "", n.projectId = 0n, e !== void 0 && t(this, n, e), n;
30
31
  }
31
- internalBinaryRead(e, t, n, a) {
32
- let o = a ?? this.create(), s = e.pos + t;
32
+ internalBinaryRead(e, t, n, r) {
33
+ let o = r ?? this.create(), s = e.pos + t;
33
34
  for (; e.pos < s;) {
34
- let [t, a] = e.tag();
35
+ let [t, r] = e.tag();
35
36
  switch (t) {
36
37
  case 1:
37
38
  o.eventType = e.string();
@@ -40,58 +41,58 @@ var h = new class extends a {
40
41
  o.projectId = e.int64().toBigInt();
41
42
  break;
42
43
  case 3:
43
- o.payload = r.internalBinaryRead(e, e.uint32(), n, o.payload);
44
+ o.payload = i.internalBinaryRead(e, e.uint32(), n, o.payload);
44
45
  break;
45
46
  default:
46
47
  let s = n.readUnknownField;
47
- if (s === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${a}) for ${this.typeName}`);
48
- let c = e.skip(a);
49
- s !== !1 && (s === !0 ? i.onRead : s)(this.typeName, o, t, a, c);
48
+ if (s === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${r}) for ${this.typeName}`);
49
+ let c = e.skip(r);
50
+ s !== !1 && (s === !0 ? a.onRead : s)(this.typeName, o, t, r, c);
50
51
  }
51
52
  }
52
53
  return o;
53
54
  }
54
- internalBinaryWrite(e, t, n) {
55
- e.eventType !== "" && t.tag(1, o.LengthDelimited).string(e.eventType), e.projectId !== 0n && t.tag(2, o.Varint).int64(e.projectId), e.payload && r.internalBinaryWrite(e.payload, t.tag(3, o.LengthDelimited).fork(), n).join();
56
- let a = n.writeUnknownFields;
57
- return a !== !1 && (a == 1 ? i.onWrite : a)(this.typeName, e, t), t;
55
+ internalBinaryWrite(t, n, r) {
56
+ t.eventType !== "" && n.tag(1, e.LengthDelimited).string(t.eventType), t.projectId !== 0n && n.tag(2, e.Varint).int64(t.projectId), t.payload && i.internalBinaryWrite(t.payload, n.tag(3, e.LengthDelimited).fork(), r).join();
57
+ let o = r.writeUnknownFields;
58
+ return o !== !1 && (o == 1 ? a.onWrite : o)(this.typeName, t, n), n;
58
59
  }
59
- }(), g = new class extends a {
60
+ }(), g = new class extends n {
60
61
  constructor() {
61
62
  super("aquila.ActionLogon", [{
62
63
  no: 1,
63
64
  name: "module",
64
65
  kind: "message",
65
- T: () => f
66
+ T: () => d
66
67
  }]);
67
68
  }
68
69
  create(e) {
69
- let t = globalThis.Object.create(this.messagePrototype);
70
- return e !== void 0 && n(this, t, e), t;
70
+ let n = globalThis.Object.create(this.messagePrototype);
71
+ return e !== void 0 && t(this, n, e), n;
71
72
  }
72
73
  internalBinaryRead(e, t, n, r) {
73
- let a = r ?? this.create(), o = e.pos + t;
74
+ let i = r ?? this.create(), o = e.pos + t;
74
75
  for (; e.pos < o;) {
75
76
  let [t, r] = e.tag();
76
77
  switch (t) {
77
78
  case 1:
78
- a.module = f.internalBinaryRead(e, e.uint32(), n, a.module);
79
+ i.module = d.internalBinaryRead(e, e.uint32(), n, i.module);
79
80
  break;
80
81
  default:
81
82
  let o = n.readUnknownField;
82
83
  if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${r}) for ${this.typeName}`);
83
84
  let s = e.skip(r);
84
- o !== !1 && (o === !0 ? i.onRead : o)(this.typeName, a, t, r, s);
85
+ o !== !1 && (o === !0 ? a.onRead : o)(this.typeName, i, t, r, s);
85
86
  }
86
87
  }
87
- return a;
88
+ return i;
88
89
  }
89
- internalBinaryWrite(e, t, n) {
90
- e.module && f.internalBinaryWrite(e.module, t.tag(1, o.LengthDelimited).fork(), n).join();
91
- let r = n.writeUnknownFields;
92
- return r !== !1 && (r == 1 ? i.onWrite : r)(this.typeName, e, t), t;
90
+ internalBinaryWrite(t, n, r) {
91
+ t.module && d.internalBinaryWrite(t.module, n.tag(1, e.LengthDelimited).fork(), r).join();
92
+ let i = r.writeUnknownFields;
93
+ return i !== !1 && (i == 1 ? a.onWrite : i)(this.typeName, t, n), n;
93
94
  }
94
- }(), _ = new class extends a {
95
+ }(), _ = new class extends n {
95
96
  constructor() {
96
97
  super("aquila.ActionExecutionRequest", [
97
98
  {
@@ -110,7 +111,7 @@ var h = new class extends a {
110
111
  no: 3,
111
112
  name: "parameters",
112
113
  kind: "message",
113
- T: () => t
114
+ T: () => r
114
115
  },
115
116
  {
116
117
  no: 4,
@@ -122,14 +123,14 @@ var h = new class extends a {
122
123
  ]);
123
124
  }
124
125
  create(e) {
125
- let t = globalThis.Object.create(this.messagePrototype);
126
- return t.executionIdentifier = "", t.functionIdentifier = "", t.projectId = 0n, e !== void 0 && n(this, t, e), t;
126
+ let n = globalThis.Object.create(this.messagePrototype);
127
+ return n.executionIdentifier = "", n.functionIdentifier = "", n.projectId = 0n, e !== void 0 && t(this, n, e), n;
127
128
  }
128
- internalBinaryRead(e, n, r, a) {
129
- let o = a ?? this.create(), s = e.pos + n;
129
+ internalBinaryRead(e, t, n, i) {
130
+ let o = i ?? this.create(), s = e.pos + t;
130
131
  for (; e.pos < s;) {
131
- let [n, a] = e.tag();
132
- switch (n) {
132
+ let [t, i] = e.tag();
133
+ switch (t) {
133
134
  case 1:
134
135
  o.executionIdentifier = e.string();
135
136
  break;
@@ -137,26 +138,69 @@ var h = new class extends a {
137
138
  o.functionIdentifier = e.string();
138
139
  break;
139
140
  case 3:
140
- o.parameters = t.internalBinaryRead(e, e.uint32(), r, o.parameters);
141
+ o.parameters = r.internalBinaryRead(e, e.uint32(), n, o.parameters);
141
142
  break;
142
143
  case 4:
143
144
  o.projectId = e.int64().toBigInt();
144
145
  break;
145
146
  default:
146
- let s = r.readUnknownField;
147
- if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${a}) for ${this.typeName}`);
148
- let c = e.skip(a);
149
- s !== !1 && (s === !0 ? i.onRead : s)(this.typeName, o, n, a, c);
147
+ let s = n.readUnknownField;
148
+ if (s === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${i}) for ${this.typeName}`);
149
+ let c = e.skip(i);
150
+ s !== !1 && (s === !0 ? a.onRead : s)(this.typeName, o, t, i, c);
150
151
  }
151
152
  }
152
153
  return o;
153
154
  }
154
- internalBinaryWrite(e, n, r) {
155
- e.executionIdentifier !== "" && n.tag(1, o.LengthDelimited).string(e.executionIdentifier), e.functionIdentifier !== "" && n.tag(2, o.LengthDelimited).string(e.functionIdentifier), e.parameters && t.internalBinaryWrite(e.parameters, n.tag(3, o.LengthDelimited).fork(), r).join(), e.projectId !== 0n && n.tag(4, o.Varint).int64(e.projectId);
156
- let a = r.writeUnknownFields;
157
- return a !== !1 && (a == 1 ? i.onWrite : a)(this.typeName, e, n), n;
155
+ internalBinaryWrite(t, n, i) {
156
+ t.executionIdentifier !== "" && n.tag(1, e.LengthDelimited).string(t.executionIdentifier), t.functionIdentifier !== "" && n.tag(2, e.LengthDelimited).string(t.functionIdentifier), t.parameters && r.internalBinaryWrite(t.parameters, n.tag(3, e.LengthDelimited).fork(), i).join(), t.projectId !== 0n && n.tag(4, e.Varint).int64(t.projectId);
157
+ let o = i.writeUnknownFields;
158
+ return o !== !1 && (o == 1 ? a.onWrite : o)(this.typeName, t, n), n;
159
+ }
160
+ }(), v = new class extends n {
161
+ constructor() {
162
+ super("aquila.ActionExecutionResponse", [{
163
+ no: 1,
164
+ name: "execution_identifier",
165
+ kind: "scalar",
166
+ T: 9
167
+ }, {
168
+ no: 2,
169
+ name: "node_result",
170
+ kind: "message",
171
+ T: () => f
172
+ }]);
173
+ }
174
+ create(e) {
175
+ let n = globalThis.Object.create(this.messagePrototype);
176
+ return n.executionIdentifier = "", e !== void 0 && t(this, n, e), n;
177
+ }
178
+ internalBinaryRead(e, t, n, r) {
179
+ let i = r ?? this.create(), o = e.pos + t;
180
+ for (; e.pos < o;) {
181
+ let [t, r] = e.tag();
182
+ switch (t) {
183
+ case 1:
184
+ i.executionIdentifier = e.string();
185
+ break;
186
+ case 2:
187
+ i.nodeResult = f.internalBinaryRead(e, e.uint32(), n, i.nodeResult);
188
+ break;
189
+ default:
190
+ let o = n.readUnknownField;
191
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${r}) for ${this.typeName}`);
192
+ let s = e.skip(r);
193
+ o !== !1 && (o === !0 ? a.onRead : o)(this.typeName, i, t, r, s);
194
+ }
195
+ }
196
+ return i;
197
+ }
198
+ internalBinaryWrite(t, n, r) {
199
+ t.executionIdentifier !== "" && n.tag(1, e.LengthDelimited).string(t.executionIdentifier), t.nodeResult && f.internalBinaryWrite(t.nodeResult, n.tag(2, e.LengthDelimited).fork(), r).join();
200
+ let i = r.writeUnknownFields;
201
+ return i !== !1 && (i == 1 ? a.onWrite : i)(this.typeName, t, n), n;
158
202
  }
159
- }(), v = new class extends a {
203
+ }(), y = new class extends n {
160
204
  constructor() {
161
205
  super("aquila.ActionTransferRequest", [
162
206
  {
@@ -178,52 +222,52 @@ var h = new class extends a {
178
222
  name: "result",
179
223
  kind: "message",
180
224
  oneof: "data",
181
- T: () => e
225
+ T: () => v
182
226
  }
183
227
  ]);
184
228
  }
185
229
  create(e) {
186
- let t = globalThis.Object.create(this.messagePrototype);
187
- return t.data = { oneofKind: void 0 }, e !== void 0 && n(this, t, e), t;
188
- }
189
- internalBinaryRead(t, n, r, a) {
190
- let o = a ?? this.create(), s = t.pos + n;
191
- for (; t.pos < s;) {
192
- let [n, a] = t.tag();
193
- switch (n) {
230
+ let n = globalThis.Object.create(this.messagePrototype);
231
+ return n.data = { oneofKind: void 0 }, e !== void 0 && t(this, n, e), n;
232
+ }
233
+ internalBinaryRead(e, t, n, r) {
234
+ let i = r ?? this.create(), o = e.pos + t;
235
+ for (; e.pos < o;) {
236
+ let [t, r] = e.tag();
237
+ switch (t) {
194
238
  case 1:
195
- o.data = {
239
+ i.data = {
196
240
  oneofKind: "logon",
197
- logon: g.internalBinaryRead(t, t.uint32(), r, o.data.logon)
241
+ logon: g.internalBinaryRead(e, e.uint32(), n, i.data.logon)
198
242
  };
199
243
  break;
200
244
  case 2:
201
- o.data = {
245
+ i.data = {
202
246
  oneofKind: "event",
203
- event: h.internalBinaryRead(t, t.uint32(), r, o.data.event)
247
+ event: h.internalBinaryRead(e, e.uint32(), n, i.data.event)
204
248
  };
205
249
  break;
206
250
  case 3:
207
- o.data = {
251
+ i.data = {
208
252
  oneofKind: "result",
209
- result: e.internalBinaryRead(t, t.uint32(), r, o.data.result)
253
+ result: v.internalBinaryRead(e, e.uint32(), n, i.data.result)
210
254
  };
211
255
  break;
212
256
  default:
213
- let s = r.readUnknownField;
214
- if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${a}) for ${this.typeName}`);
215
- let c = t.skip(a);
216
- s !== !1 && (s === !0 ? i.onRead : s)(this.typeName, o, n, a, c);
257
+ let o = n.readUnknownField;
258
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${r}) for ${this.typeName}`);
259
+ let s = e.skip(r);
260
+ o !== !1 && (o === !0 ? a.onRead : o)(this.typeName, i, t, r, s);
217
261
  }
218
262
  }
219
- return o;
263
+ return i;
220
264
  }
221
265
  internalBinaryWrite(t, n, r) {
222
- t.data.oneofKind === "logon" && g.internalBinaryWrite(t.data.logon, n.tag(1, o.LengthDelimited).fork(), r).join(), t.data.oneofKind === "event" && h.internalBinaryWrite(t.data.event, n.tag(2, o.LengthDelimited).fork(), r).join(), t.data.oneofKind === "result" && e.internalBinaryWrite(t.data.result, n.tag(3, o.LengthDelimited).fork(), r).join();
223
- let a = r.writeUnknownFields;
224
- return a !== !1 && (a == 1 ? i.onWrite : a)(this.typeName, t, n), n;
266
+ t.data.oneofKind === "logon" && g.internalBinaryWrite(t.data.logon, n.tag(1, e.LengthDelimited).fork(), r).join(), t.data.oneofKind === "event" && h.internalBinaryWrite(t.data.event, n.tag(2, e.LengthDelimited).fork(), r).join(), t.data.oneofKind === "result" && v.internalBinaryWrite(t.data.result, n.tag(3, e.LengthDelimited).fork(), r).join();
267
+ let i = r.writeUnknownFields;
268
+ return i !== !1 && (i == 1 ? a.onWrite : i)(this.typeName, t, n), n;
225
269
  }
226
- }(), y = new class extends a {
270
+ }(), b = new class extends n {
227
271
  constructor() {
228
272
  super("aquila.ActionTransferResponse", [{
229
273
  no: 1,
@@ -236,96 +280,96 @@ var h = new class extends a {
236
280
  name: "module_configurations",
237
281
  kind: "message",
238
282
  oneof: "data",
239
- T: () => u
283
+ T: () => l
240
284
  }]);
241
285
  }
242
286
  create(e) {
243
- let t = globalThis.Object.create(this.messagePrototype);
244
- return t.data = { oneofKind: void 0 }, e !== void 0 && n(this, t, e), t;
287
+ let n = globalThis.Object.create(this.messagePrototype);
288
+ return n.data = { oneofKind: void 0 }, e !== void 0 && t(this, n, e), n;
245
289
  }
246
290
  internalBinaryRead(e, t, n, r) {
247
- let a = r ?? this.create(), o = e.pos + t;
291
+ let i = r ?? this.create(), o = e.pos + t;
248
292
  for (; e.pos < o;) {
249
293
  let [t, r] = e.tag();
250
294
  switch (t) {
251
295
  case 1:
252
- a.data = {
296
+ i.data = {
253
297
  oneofKind: "execution",
254
- execution: _.internalBinaryRead(e, e.uint32(), n, a.data.execution)
298
+ execution: _.internalBinaryRead(e, e.uint32(), n, i.data.execution)
255
299
  };
256
300
  break;
257
301
  case 2:
258
- a.data = {
302
+ i.data = {
259
303
  oneofKind: "moduleConfigurations",
260
- moduleConfigurations: u.internalBinaryRead(e, e.uint32(), n, a.data.moduleConfigurations)
304
+ moduleConfigurations: l.internalBinaryRead(e, e.uint32(), n, i.data.moduleConfigurations)
261
305
  };
262
306
  break;
263
307
  default:
264
308
  let o = n.readUnknownField;
265
309
  if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${r}) for ${this.typeName}`);
266
310
  let s = e.skip(r);
267
- o !== !1 && (o === !0 ? i.onRead : o)(this.typeName, a, t, r, s);
311
+ o !== !1 && (o === !0 ? a.onRead : o)(this.typeName, i, t, r, s);
268
312
  }
269
313
  }
270
- return a;
314
+ return i;
271
315
  }
272
- internalBinaryWrite(e, t, n) {
273
- e.data.oneofKind === "execution" && _.internalBinaryWrite(e.data.execution, t.tag(1, o.LengthDelimited).fork(), n).join(), e.data.oneofKind === "moduleConfigurations" && u.internalBinaryWrite(e.data.moduleConfigurations, t.tag(2, o.LengthDelimited).fork(), n).join();
274
- let r = n.writeUnknownFields;
275
- return r !== !1 && (r == 1 ? i.onWrite : r)(this.typeName, e, t), t;
316
+ internalBinaryWrite(t, n, r) {
317
+ t.data.oneofKind === "execution" && _.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();
318
+ let i = r.writeUnknownFields;
319
+ return i !== !1 && (i == 1 ? a.onWrite : i)(this.typeName, t, n), n;
276
320
  }
277
- }(), b = new p("aquila.ActionTransferService", [{
321
+ }(), x = new p("aquila.ActionTransferService", [{
278
322
  name: "Transfer",
279
323
  serverStreaming: !0,
280
324
  clientStreaming: !0,
281
325
  options: {},
282
- I: v,
283
- O: y
284
- }]), x = class {
326
+ I: y,
327
+ O: b
328
+ }]), S = class {
285
329
  constructor(e) {
286
- this._transport = e, this.typeName = b.typeName, this.methods = b.methods, this.options = b.options;
330
+ this._transport = e, this.typeName = x.typeName, this.methods = x.methods, this.options = x.options;
287
331
  }
288
332
  transfer(e) {
289
333
  let t = this.methods[0], n = this._transport.mergeOptions(e);
290
334
  return m("duplex", this._transport, t, n);
291
335
  }
292
- }, S = new class extends a {
336
+ }, C = new class extends n {
293
337
  constructor() {
294
338
  super("aquila.ModuleUpdateRequest", [{
295
339
  no: 1,
296
340
  name: "modules",
297
341
  kind: "message",
298
342
  repeat: 2,
299
- T: () => f
343
+ T: () => d
300
344
  }]);
301
345
  }
302
346
  create(e) {
303
- let t = globalThis.Object.create(this.messagePrototype);
304
- return t.modules = [], e !== void 0 && n(this, t, e), t;
347
+ let n = globalThis.Object.create(this.messagePrototype);
348
+ return n.modules = [], e !== void 0 && t(this, n, e), n;
305
349
  }
306
350
  internalBinaryRead(e, t, n, r) {
307
- let a = r ?? this.create(), o = e.pos + t;
351
+ let i = r ?? this.create(), o = e.pos + t;
308
352
  for (; e.pos < o;) {
309
353
  let [t, r] = e.tag();
310
354
  switch (t) {
311
355
  case 1:
312
- a.modules.push(f.internalBinaryRead(e, e.uint32(), n));
356
+ i.modules.push(d.internalBinaryRead(e, e.uint32(), n));
313
357
  break;
314
358
  default:
315
359
  let o = n.readUnknownField;
316
360
  if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${r}) for ${this.typeName}`);
317
361
  let s = e.skip(r);
318
- o !== !1 && (o === !0 ? i.onRead : o)(this.typeName, a, t, r, s);
362
+ o !== !1 && (o === !0 ? a.onRead : o)(this.typeName, i, t, r, s);
319
363
  }
320
364
  }
321
- return a;
365
+ return i;
322
366
  }
323
- internalBinaryWrite(e, t, n) {
324
- for (let r = 0; r < e.modules.length; r++) f.internalBinaryWrite(e.modules[r], t.tag(1, o.LengthDelimited).fork(), n).join();
325
- let r = n.writeUnknownFields;
326
- return r !== !1 && (r == 1 ? i.onWrite : r)(this.typeName, e, t), t;
367
+ internalBinaryWrite(t, n, r) {
368
+ for (let i = 0; i < t.modules.length; i++) d.internalBinaryWrite(t.modules[i], n.tag(1, e.LengthDelimited).fork(), r).join();
369
+ let i = r.writeUnknownFields;
370
+ return i !== !1 && (i == 1 ? a.onWrite : i)(this.typeName, t, n), n;
327
371
  }
328
- }(), C = new class extends a {
372
+ }(), w = new class extends n {
329
373
  constructor() {
330
374
  super("aquila.ModuleUpdateResponse", [{
331
375
  no: 1,
@@ -335,45 +379,45 @@ var h = new class extends a {
335
379
  }]);
336
380
  }
337
381
  create(e) {
338
- let t = globalThis.Object.create(this.messagePrototype);
339
- return t.success = !1, e !== void 0 && n(this, t, e), t;
382
+ let n = globalThis.Object.create(this.messagePrototype);
383
+ return n.success = !1, e !== void 0 && t(this, n, e), n;
340
384
  }
341
385
  internalBinaryRead(e, t, n, r) {
342
- let a = r ?? this.create(), o = e.pos + t;
386
+ let i = r ?? this.create(), o = e.pos + t;
343
387
  for (; e.pos < o;) {
344
388
  let [t, r] = e.tag();
345
389
  switch (t) {
346
390
  case 1:
347
- a.success = e.bool();
391
+ i.success = e.bool();
348
392
  break;
349
393
  default:
350
394
  let o = n.readUnknownField;
351
395
  if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${r}) for ${this.typeName}`);
352
396
  let s = e.skip(r);
353
- o !== !1 && (o === !0 ? i.onRead : o)(this.typeName, a, t, r, s);
397
+ o !== !1 && (o === !0 ? a.onRead : o)(this.typeName, i, t, r, s);
354
398
  }
355
399
  }
356
- return a;
400
+ return i;
357
401
  }
358
- internalBinaryWrite(e, t, n) {
359
- e.success !== !1 && t.tag(1, o.Varint).bool(e.success);
360
- let r = n.writeUnknownFields;
361
- return r !== !1 && (r == 1 ? i.onWrite : r)(this.typeName, e, t), t;
402
+ internalBinaryWrite(t, n, r) {
403
+ t.success !== !1 && n.tag(1, e.Varint).bool(t.success);
404
+ let i = r.writeUnknownFields;
405
+ return i !== !1 && (i == 1 ? a.onWrite : i)(this.typeName, t, n), n;
362
406
  }
363
- }(), w = new p("aquila.ModuleService", [{
407
+ }(), T = new p("aquila.ModuleService", [{
364
408
  name: "Update",
365
409
  options: {},
366
- I: S,
367
- O: C
368
- }]), T = class {
410
+ I: C,
411
+ O: w
412
+ }]), E = class {
369
413
  constructor(e) {
370
- this._transport = e, this.typeName = w.typeName, this.methods = w.methods, this.options = w.options;
414
+ this._transport = e, this.typeName = T.typeName, this.methods = T.methods, this.options = T.options;
371
415
  }
372
416
  update(e, t) {
373
417
  let n = this.methods[0], r = this._transport.mergeOptions(t);
374
418
  return m("unary", this._transport, n, r, e);
375
419
  }
376
- }, E = new class extends a {
420
+ }, D = new class extends n {
377
421
  constructor() {
378
422
  super("aquila.RuntimeStatusUpdateRequest", [
379
423
  {
@@ -381,66 +425,66 @@ var h = new class extends a {
381
425
  name: "adapter_runtime_status",
382
426
  kind: "message",
383
427
  oneof: "status",
384
- T: () => s
428
+ T: () => o
385
429
  },
386
430
  {
387
431
  no: 2,
388
432
  name: "execution_runtime_status",
389
433
  kind: "message",
390
434
  oneof: "status",
391
- T: () => c
435
+ T: () => s
392
436
  },
393
437
  {
394
438
  no: 3,
395
439
  name: "action_status",
396
440
  kind: "message",
397
441
  oneof: "status",
398
- T: () => l
442
+ T: () => c
399
443
  }
400
444
  ]);
401
445
  }
402
446
  create(e) {
403
- let t = globalThis.Object.create(this.messagePrototype);
404
- return t.status = { oneofKind: void 0 }, e !== void 0 && n(this, t, e), t;
447
+ let n = globalThis.Object.create(this.messagePrototype);
448
+ return n.status = { oneofKind: void 0 }, e !== void 0 && t(this, n, e), n;
405
449
  }
406
450
  internalBinaryRead(e, t, n, r) {
407
- let a = r ?? this.create(), o = e.pos + t;
408
- for (; e.pos < o;) {
451
+ let i = r ?? this.create(), l = e.pos + t;
452
+ for (; e.pos < l;) {
409
453
  let [t, r] = e.tag();
410
454
  switch (t) {
411
455
  case 1:
412
- a.status = {
456
+ i.status = {
413
457
  oneofKind: "adapterRuntimeStatus",
414
- adapterRuntimeStatus: s.internalBinaryRead(e, e.uint32(), n, a.status.adapterRuntimeStatus)
458
+ adapterRuntimeStatus: o.internalBinaryRead(e, e.uint32(), n, i.status.adapterRuntimeStatus)
415
459
  };
416
460
  break;
417
461
  case 2:
418
- a.status = {
462
+ i.status = {
419
463
  oneofKind: "executionRuntimeStatus",
420
- executionRuntimeStatus: c.internalBinaryRead(e, e.uint32(), n, a.status.executionRuntimeStatus)
464
+ executionRuntimeStatus: s.internalBinaryRead(e, e.uint32(), n, i.status.executionRuntimeStatus)
421
465
  };
422
466
  break;
423
467
  case 3:
424
- a.status = {
468
+ i.status = {
425
469
  oneofKind: "actionStatus",
426
- actionStatus: l.internalBinaryRead(e, e.uint32(), n, a.status.actionStatus)
470
+ actionStatus: c.internalBinaryRead(e, e.uint32(), n, i.status.actionStatus)
427
471
  };
428
472
  break;
429
473
  default:
430
- let o = n.readUnknownField;
431
- if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${r}) for ${this.typeName}`);
474
+ let l = n.readUnknownField;
475
+ if (l === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${r}) for ${this.typeName}`);
432
476
  let u = e.skip(r);
433
- o !== !1 && (o === !0 ? i.onRead : o)(this.typeName, a, t, r, u);
477
+ l !== !1 && (l === !0 ? a.onRead : l)(this.typeName, i, t, r, u);
434
478
  }
435
479
  }
436
- return a;
480
+ return i;
437
481
  }
438
- internalBinaryWrite(e, t, n) {
439
- e.status.oneofKind === "adapterRuntimeStatus" && s.internalBinaryWrite(e.status.adapterRuntimeStatus, t.tag(1, o.LengthDelimited).fork(), n).join(), e.status.oneofKind === "executionRuntimeStatus" && c.internalBinaryWrite(e.status.executionRuntimeStatus, t.tag(2, o.LengthDelimited).fork(), n).join(), e.status.oneofKind === "actionStatus" && l.internalBinaryWrite(e.status.actionStatus, t.tag(3, o.LengthDelimited).fork(), n).join();
440
- let r = n.writeUnknownFields;
441
- return r !== !1 && (r == 1 ? i.onWrite : r)(this.typeName, e, t), t;
482
+ internalBinaryWrite(t, n, r) {
483
+ t.status.oneofKind === "adapterRuntimeStatus" && o.internalBinaryWrite(t.status.adapterRuntimeStatus, n.tag(1, e.LengthDelimited).fork(), r).join(), t.status.oneofKind === "executionRuntimeStatus" && s.internalBinaryWrite(t.status.executionRuntimeStatus, n.tag(2, e.LengthDelimited).fork(), r).join(), t.status.oneofKind === "actionStatus" && c.internalBinaryWrite(t.status.actionStatus, n.tag(3, e.LengthDelimited).fork(), r).join();
484
+ let i = r.writeUnknownFields;
485
+ return i !== !1 && (i == 1 ? a.onWrite : i)(this.typeName, t, n), n;
442
486
  }
443
- }(), D = new class extends a {
487
+ }(), O = new class extends n {
444
488
  constructor() {
445
489
  super("aquila.RuntimeStatusUpdateResponse", [{
446
490
  no: 1,
@@ -450,81 +494,81 @@ var h = new class extends a {
450
494
  }]);
451
495
  }
452
496
  create(e) {
453
- let t = globalThis.Object.create(this.messagePrototype);
454
- return t.success = !1, e !== void 0 && n(this, t, e), t;
497
+ let n = globalThis.Object.create(this.messagePrototype);
498
+ return n.success = !1, e !== void 0 && t(this, n, e), n;
455
499
  }
456
500
  internalBinaryRead(e, t, n, r) {
457
- let a = r ?? this.create(), o = e.pos + t;
501
+ let i = r ?? this.create(), o = e.pos + t;
458
502
  for (; e.pos < o;) {
459
503
  let [t, r] = e.tag();
460
504
  switch (t) {
461
505
  case 1:
462
- a.success = e.bool();
506
+ i.success = e.bool();
463
507
  break;
464
508
  default:
465
509
  let o = n.readUnknownField;
466
510
  if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${r}) for ${this.typeName}`);
467
511
  let s = e.skip(r);
468
- o !== !1 && (o === !0 ? i.onRead : o)(this.typeName, a, t, r, s);
512
+ o !== !1 && (o === !0 ? a.onRead : o)(this.typeName, i, t, r, s);
469
513
  }
470
514
  }
471
- return a;
515
+ return i;
472
516
  }
473
- internalBinaryWrite(e, t, n) {
474
- e.success !== !1 && t.tag(1, o.Varint).bool(e.success);
475
- let r = n.writeUnknownFields;
476
- return r !== !1 && (r == 1 ? i.onWrite : r)(this.typeName, e, t), t;
517
+ internalBinaryWrite(t, n, r) {
518
+ t.success !== !1 && n.tag(1, e.Varint).bool(t.success);
519
+ let i = r.writeUnknownFields;
520
+ return i !== !1 && (i == 1 ? a.onWrite : i)(this.typeName, t, n), n;
477
521
  }
478
- }(), O = new p("aquila.RuntimeStatusService", [{
522
+ }(), k = new p("aquila.RuntimeStatusService", [{
479
523
  name: "Update",
480
524
  options: {},
481
- I: E,
482
- O: D
483
- }]), k = class {
525
+ I: D,
526
+ O
527
+ }]), A = class {
484
528
  constructor(e) {
485
- this._transport = e, this.typeName = O.typeName, this.methods = O.methods, this.options = O.options;
529
+ this._transport = e, this.typeName = k.typeName, this.methods = k.methods, this.options = k.options;
486
530
  }
487
531
  update(e, t) {
488
532
  let n = this.methods[0], r = this._transport.mergeOptions(t);
489
533
  return m("unary", this._transport, n, r, e);
490
534
  }
491
- }, A = new class extends a {
535
+ }, j = new class extends n {
492
536
  constructor() {
493
537
  super("aquila.RuntimeUsageRequest", [{
494
538
  no: 1,
495
539
  name: "runtime_usage",
496
540
  kind: "message",
497
541
  repeat: 2,
498
- T: () => d
542
+ T: () => u
499
543
  }]);
500
544
  }
501
545
  create(e) {
502
- let t = globalThis.Object.create(this.messagePrototype);
503
- return t.runtimeUsage = [], e !== void 0 && n(this, t, e), t;
546
+ let n = globalThis.Object.create(this.messagePrototype);
547
+ return n.runtimeUsage = [], e !== void 0 && t(this, n, e), n;
504
548
  }
505
549
  internalBinaryRead(e, t, n, r) {
506
- let a = r ?? this.create(), o = e.pos + t;
550
+ let i = r ?? this.create(), o = e.pos + t;
507
551
  for (; e.pos < o;) {
508
552
  let [t, r] = e.tag();
509
553
  switch (t) {
510
554
  case 1:
511
- a.runtimeUsage.push(d.internalBinaryRead(e, e.uint32(), n));
555
+ i.runtimeUsage.push(u.internalBinaryRead(e, e.uint32(), n));
512
556
  break;
513
557
  default:
514
558
  let o = n.readUnknownField;
515
559
  if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${r}) for ${this.typeName}`);
516
560
  let s = e.skip(r);
517
- o !== !1 && (o === !0 ? i.onRead : o)(this.typeName, a, t, r, s);
561
+ o !== !1 && (o === !0 ? a.onRead : o)(this.typeName, i, t, r, s);
518
562
  }
519
563
  }
520
- return a;
564
+ return i;
521
565
  }
522
- internalBinaryWrite(e, t, n) {
523
- for (let r = 0; r < e.runtimeUsage.length; r++) d.internalBinaryWrite(e.runtimeUsage[r], t.tag(1, o.LengthDelimited).fork(), n).join();
524
- let r = n.writeUnknownFields;
525
- return r !== !1 && (r == 1 ? i.onWrite : r)(this.typeName, e, t), t;
566
+ internalBinaryWrite(t, n, r) {
567
+ for (let i = 0; i < t.runtimeUsage.length; i++) u.internalBinaryWrite(t.runtimeUsage[i], n.tag(1, e.LengthDelimited).fork(), r).join();
568
+ let i = r.writeUnknownFields;
569
+ return i !== !1 && (i == 1 ? a.onWrite : i)(this.typeName, t, n), n;
526
570
  }
527
- }(), j = new class extends a {
571
+ }(), M = new class extends n {
528
572
  constructor() {
529
573
  super("aquila.RuntimeUsageResponse", [{
530
574
  no: 1,
@@ -534,39 +578,39 @@ var h = new class extends a {
534
578
  }]);
535
579
  }
536
580
  create(e) {
537
- let t = globalThis.Object.create(this.messagePrototype);
538
- return t.success = !1, e !== void 0 && n(this, t, e), t;
581
+ let n = globalThis.Object.create(this.messagePrototype);
582
+ return n.success = !1, e !== void 0 && t(this, n, e), n;
539
583
  }
540
584
  internalBinaryRead(e, t, n, r) {
541
- let a = r ?? this.create(), o = e.pos + t;
585
+ let i = r ?? this.create(), o = e.pos + t;
542
586
  for (; e.pos < o;) {
543
587
  let [t, r] = e.tag();
544
588
  switch (t) {
545
589
  case 1:
546
- a.success = e.bool();
590
+ i.success = e.bool();
547
591
  break;
548
592
  default:
549
593
  let o = n.readUnknownField;
550
594
  if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${r}) for ${this.typeName}`);
551
595
  let s = e.skip(r);
552
- o !== !1 && (o === !0 ? i.onRead : o)(this.typeName, a, t, r, s);
596
+ o !== !1 && (o === !0 ? a.onRead : o)(this.typeName, i, t, r, s);
553
597
  }
554
598
  }
555
- return a;
599
+ return i;
556
600
  }
557
- internalBinaryWrite(e, t, n) {
558
- e.success !== !1 && t.tag(1, o.Varint).bool(e.success);
559
- let r = n.writeUnknownFields;
560
- return r !== !1 && (r == 1 ? i.onWrite : r)(this.typeName, e, t), t;
601
+ internalBinaryWrite(t, n, r) {
602
+ t.success !== !1 && n.tag(1, e.Varint).bool(t.success);
603
+ let i = r.writeUnknownFields;
604
+ return i !== !1 && (i == 1 ? a.onWrite : i)(this.typeName, t, n), n;
561
605
  }
562
- }(), M = new p("aquila.RuntimeUsageService", [{
606
+ }(), N = new p("aquila.RuntimeUsageService", [{
563
607
  name: "Update",
564
608
  options: {},
565
- I: A,
566
- O: j
567
- }]), N = class {
609
+ I: j,
610
+ O: M
611
+ }]), P = class {
568
612
  constructor(e) {
569
- this._transport = e, this.typeName = M.typeName, this.methods = M.methods, this.options = M.options;
613
+ this._transport = e, this.typeName = N.typeName, this.methods = N.methods, this.options = N.options;
570
614
  }
571
615
  update(e, t) {
572
616
  let n = this.methods[0], r = this._transport.mergeOptions(t);
@@ -574,4 +618,4 @@ var h = new class extends a {
574
618
  }
575
619
  };
576
620
  //#endregion
577
- export { h as ActionEvent, _ as ActionExecutionRequest, g as ActionLogon, v as ActionTransferRequest, y as ActionTransferResponse, b as ActionTransferService, x as ActionTransferServiceClient, w as ModuleService, T as ModuleServiceClient, S as ModuleUpdateRequest, C as ModuleUpdateResponse, O as RuntimeStatusService, k as RuntimeStatusServiceClient, E as RuntimeStatusUpdateRequest, D as RuntimeStatusUpdateResponse, A as RuntimeUsageRequest, j as RuntimeUsageResponse, M as RuntimeUsageService, N as RuntimeUsageServiceClient };
621
+ export { h as ActionEvent, _ as ActionExecutionRequest, v as ActionExecutionResponse, g as ActionLogon, y as ActionTransferRequest, b as ActionTransferResponse, x as ActionTransferService, S as ActionTransferServiceClient, T as ModuleService, E as ModuleServiceClient, C as ModuleUpdateRequest, w as ModuleUpdateResponse, k as RuntimeStatusService, A as RuntimeStatusServiceClient, D as RuntimeStatusUpdateRequest, O as RuntimeStatusUpdateResponse, j as RuntimeUsageRequest, M as RuntimeUsageResponse, N as RuntimeUsageService, P as RuntimeUsageServiceClient };