@code0-tech/tucana 0.0.62 → 0.0.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/dist/aquila.cjs.js +1 -0
  2. package/dist/aquila.d.ts +2 -0
  3. package/dist/aquila.es.js +858 -0
  4. package/dist/helpers/helpers.d.ts +1 -0
  5. package/{helpers → dist/helpers}/shared.struct_helper.d.ts +2 -2
  6. package/dist/helpers.cjs.js +1 -0
  7. package/dist/helpers.d.ts +2 -0
  8. package/dist/helpers.es.js +61 -0
  9. package/{pb → dist/pb}/_generated/aquila.action_pb.client.d.ts +7 -12
  10. package/{pb → dist/pb}/_generated/aquila.action_pb.d.ts +5 -14
  11. package/{pb → dist/pb}/_generated/aquila.data_type_pb.client.d.ts +7 -12
  12. package/{pb → dist/pb}/_generated/aquila.data_type_pb.d.ts +4 -11
  13. package/{pb → dist/pb}/_generated/aquila.flow_type_pb.client.d.ts +7 -12
  14. package/{pb → dist/pb}/_generated/aquila.flow_type_pb.d.ts +4 -11
  15. package/{pb → dist/pb}/_generated/aquila.runtime_function_pb.client.d.ts +7 -12
  16. package/{pb → dist/pb}/_generated/aquila.runtime_function_pb.d.ts +4 -11
  17. package/{pb → dist/pb}/_generated/aquila.runtime_status_pb.client.d.ts +7 -12
  18. package/{pb → dist/pb}/_generated/aquila.runtime_status_pb.d.ts +4 -12
  19. package/{pb → dist/pb}/_generated/aquila.runtime_usage_pb.client.d.ts +7 -12
  20. package/{pb → dist/pb}/_generated/aquila.runtime_usage_pb.d.ts +4 -11
  21. package/{pb → dist/pb}/_generated/sagittarius.action_configuration_pb.client.d.ts +7 -12
  22. package/{pb → dist/pb}/_generated/sagittarius.action_configuration_pb.d.ts +4 -11
  23. package/{pb → dist/pb}/_generated/sagittarius.data_type_pb.client.d.ts +7 -12
  24. package/{pb → dist/pb}/_generated/sagittarius.data_type_pb.d.ts +4 -11
  25. package/{pb → dist/pb}/_generated/sagittarius.flow_pb.client.d.ts +7 -12
  26. package/{pb → dist/pb}/_generated/sagittarius.flow_pb.d.ts +5 -13
  27. package/{pb → dist/pb}/_generated/sagittarius.flow_type_pb.client.d.ts +7 -12
  28. package/{pb → dist/pb}/_generated/sagittarius.flow_type_pb.d.ts +4 -11
  29. package/{pb → dist/pb}/_generated/sagittarius.ping_pb.client.d.ts +7 -11
  30. package/{pb → dist/pb}/_generated/sagittarius.ping_pb.d.ts +3 -10
  31. package/{pb → dist/pb}/_generated/sagittarius.runtime_function_pb.client.d.ts +7 -12
  32. package/{pb → dist/pb}/_generated/sagittarius.runtime_function_pb.d.ts +4 -11
  33. package/{pb → dist/pb}/_generated/sagittarius.runtime_status_pb.client.d.ts +7 -12
  34. package/{pb → dist/pb}/_generated/sagittarius.runtime_status_pb.d.ts +4 -12
  35. package/{pb → dist/pb}/_generated/sagittarius.runtime_usage_pb.client.d.ts +7 -12
  36. package/{pb → dist/pb}/_generated/sagittarius.runtime_usage_pb.d.ts +4 -11
  37. package/dist/pb/_generated/sagittarius.text_execution_pb.client.d.ts +27 -0
  38. package/{pb → dist/pb}/_generated/sagittarius.text_execution_pb.d.ts +4 -11
  39. package/{pb → dist/pb}/_generated/shared.action_configuration_pb.d.ts +3 -11
  40. package/{pb → dist/pb}/_generated/shared.data_type_pb.d.ts +2 -10
  41. package/{pb → dist/pb}/_generated/shared.flow_definition_pb.d.ts +35 -47
  42. package/{pb → dist/pb}/_generated/shared.flow_pb.d.ts +12 -24
  43. package/{pb → dist/pb}/_generated/shared.runtime_function_pb.d.ts +3 -11
  44. package/{pb → dist/pb}/_generated/shared.runtime_status_pb.d.ts +52 -32
  45. package/{pb → dist/pb}/_generated/shared.runtime_usage_pb.d.ts +1 -9
  46. package/{pb → dist/pb}/_generated/shared.struct_pb.d.ts +62 -55
  47. package/{pb → dist/pb}/_generated/shared.translation_pb.d.ts +1 -9
  48. package/dist/pb/aquila.d.ts +12 -0
  49. package/dist/pb/sagittarius.d.ts +18 -0
  50. package/dist/pb/shared.d.ts +9 -0
  51. package/dist/rpc-interceptor-DARwxsWH.cjs +1 -0
  52. package/dist/rpc-interceptor-Dzh_AxUX.js +52 -0
  53. package/dist/sagittarius.cjs.js +1 -0
  54. package/dist/sagittarius.d.ts +2 -0
  55. package/dist/sagittarius.es.js +1212 -0
  56. package/dist/shared.cjs.js +1 -0
  57. package/dist/shared.d.ts +2 -0
  58. package/dist/shared.es.js +3 -0
  59. package/dist/shared.flow_pb-BBS51Wou.cjs +1 -0
  60. package/dist/shared.flow_pb-Bt00q6yT.js +717 -0
  61. package/dist/shared.runtime_usage_pb-Cgr2Xle6.cjs +2 -0
  62. package/dist/shared.runtime_usage_pb-QD7fpRLv.js +3069 -0
  63. package/package.json +24 -22
  64. package/helpers/helpers.d.ts +0 -1
  65. package/helpers/helpers.js +0 -1
  66. package/helpers/helpers.ts +0 -1
  67. package/helpers/shared.struct_helper.js +0 -59
  68. package/helpers/shared.struct_helper.ts +0 -70
  69. package/index.js +0 -0
  70. package/pb/_generated/.gitkeep +0 -0
  71. package/pb/_generated/aquila.action_pb.client.js +0 -25
  72. package/pb/_generated/aquila.action_pb.js +0 -468
  73. package/pb/_generated/aquila.data_type_pb.client.js +0 -23
  74. package/pb/_generated/aquila.data_type_pb.js +0 -112
  75. package/pb/_generated/aquila.flow_type_pb.client.js +0 -25
  76. package/pb/_generated/aquila.flow_type_pb.js +0 -112
  77. package/pb/_generated/aquila.runtime_function_pb.client.js +0 -25
  78. package/pb/_generated/aquila.runtime_function_pb.js +0 -112
  79. package/pb/_generated/aquila.runtime_status_pb.client.js +0 -23
  80. package/pb/_generated/aquila.runtime_status_pb.js +0 -126
  81. package/pb/_generated/aquila.runtime_usage_pb.client.js +0 -23
  82. package/pb/_generated/aquila.runtime_usage_pb.js +0 -112
  83. package/pb/_generated/sagittarius.action_configuration_pb.client.js +0 -23
  84. package/pb/_generated/sagittarius.action_configuration_pb.js +0 -120
  85. package/pb/_generated/sagittarius.data_type_pb.client.js +0 -23
  86. package/pb/_generated/sagittarius.data_type_pb.js +0 -112
  87. package/pb/_generated/sagittarius.flow_pb.client.js +0 -23
  88. package/pb/_generated/sagittarius.flow_pb.js +0 -138
  89. package/pb/_generated/sagittarius.flow_type_pb.client.js +0 -25
  90. package/pb/_generated/sagittarius.flow_type_pb.js +0 -112
  91. package/pb/_generated/sagittarius.ping_pb.client.js +0 -23
  92. package/pb/_generated/sagittarius.ping_pb.js +0 -64
  93. package/pb/_generated/sagittarius.runtime_function_pb.client.js +0 -25
  94. package/pb/_generated/sagittarius.runtime_function_pb.js +0 -112
  95. package/pb/_generated/sagittarius.runtime_status_pb.client.js +0 -23
  96. package/pb/_generated/sagittarius.runtime_status_pb.js +0 -126
  97. package/pb/_generated/sagittarius.runtime_usage_pb.client.js +0 -23
  98. package/pb/_generated/sagittarius.runtime_usage_pb.js +0 -112
  99. package/pb/_generated/sagittarius.text_execution_pb.client.d.ts +0 -32
  100. package/pb/_generated/sagittarius.text_execution_pb.client.js +0 -23
  101. package/pb/_generated/sagittarius.text_execution_pb.js +0 -568
  102. package/pb/_generated/shared.action_configuration_pb.js +0 -251
  103. package/pb/_generated/shared.data_type_pb.js +0 -411
  104. package/pb/_generated/shared.flow_definition_pb.js +0 -269
  105. package/pb/_generated/shared.flow_pb.js +0 -762
  106. package/pb/_generated/shared.runtime_function_pb.js +0 -238
  107. package/pb/_generated/shared.runtime_status_pb.js +0 -315
  108. package/pb/_generated/shared.runtime_usage_pb.js +0 -62
  109. package/pb/_generated/shared.struct_pb.js +0 -274
  110. package/pb/_generated/shared.translation_pb.js +0 -62
  111. package/pb/aquila.d.ts +0 -24
  112. package/pb/aquila.js +0 -24
  113. package/pb/aquila.ts +0 -24
  114. package/pb/sagittarius.d.ts +0 -36
  115. package/pb/sagittarius.js +0 -36
  116. package/pb/sagittarius.ts +0 -36
  117. package/pb/shared.d.ts +0 -18
  118. package/pb/shared.js +0 -18
  119. package/pb/shared.ts +0 -18
@@ -0,0 +1,858 @@
1
+ import { A as e, D as t, E as n, N as r, P as i, a, b as o, c as s, h as c, k as l, r as u, t as d, u as f, x as p } from "./shared.runtime_usage_pb-QD7fpRLv.js";
2
+ import { n as m, t as h } from "./rpc-interceptor-Dzh_AxUX.js";
3
+ var g = new class extends l {
4
+ constructor() {
5
+ super("aquila.Event", [
6
+ {
7
+ no: 1,
8
+ name: "event_type",
9
+ kind: "scalar",
10
+ T: 9
11
+ },
12
+ {
13
+ no: 2,
14
+ name: "project_id",
15
+ kind: "scalar",
16
+ T: 3,
17
+ L: 0
18
+ },
19
+ {
20
+ no: 3,
21
+ name: "payload",
22
+ kind: "message",
23
+ T: () => t
24
+ }
25
+ ]);
26
+ }
27
+ create(t) {
28
+ let n = globalThis.Object.create(this.messagePrototype);
29
+ return n.eventType = "", n.projectId = 0n, t !== void 0 && e(this, n, t), n;
30
+ }
31
+ internalBinaryRead(e, n, i, a) {
32
+ let o = a ?? this.create(), s = e.pos + n;
33
+ for (; e.pos < s;) {
34
+ let [n, a] = e.tag();
35
+ switch (n) {
36
+ case 1:
37
+ o.eventType = e.string();
38
+ break;
39
+ case 2:
40
+ o.projectId = e.int64().toBigInt();
41
+ break;
42
+ case 3:
43
+ o.payload = t.internalBinaryRead(e, e.uint32(), i, o.payload);
44
+ break;
45
+ default:
46
+ let s = i.readUnknownField;
47
+ if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${a}) for ${this.typeName}`);
48
+ let c = e.skip(a);
49
+ s !== !1 && (s === !0 ? r.onRead : s)(this.typeName, o, n, a, c);
50
+ }
51
+ }
52
+ return o;
53
+ }
54
+ internalBinaryWrite(e, n, a) {
55
+ e.eventType !== "" && n.tag(1, i.LengthDelimited).string(e.eventType), e.projectId !== 0n && n.tag(2, i.Varint).int64(e.projectId), e.payload && t.internalBinaryWrite(e.payload, n.tag(3, i.LengthDelimited).fork(), a).join();
56
+ let o = a.writeUnknownFields;
57
+ return o !== !1 && (o == 1 ? r.onWrite : o)(this.typeName, e, n), n;
58
+ }
59
+ }(), _ = new class extends l {
60
+ constructor() {
61
+ super("aquila.ActionLogon", [
62
+ {
63
+ no: 1,
64
+ name: "action_identifier",
65
+ kind: "scalar",
66
+ T: 9
67
+ },
68
+ {
69
+ no: 2,
70
+ name: "version",
71
+ kind: "scalar",
72
+ T: 9
73
+ },
74
+ {
75
+ no: 3,
76
+ name: "action_configurations",
77
+ kind: "message",
78
+ repeat: 2,
79
+ T: () => o
80
+ }
81
+ ]);
82
+ }
83
+ create(t) {
84
+ let n = globalThis.Object.create(this.messagePrototype);
85
+ return n.actionIdentifier = "", n.version = "", n.actionConfigurations = [], t !== void 0 && e(this, n, t), n;
86
+ }
87
+ internalBinaryRead(e, t, n, i) {
88
+ let a = i ?? this.create(), s = e.pos + t;
89
+ for (; e.pos < s;) {
90
+ let [t, i] = e.tag();
91
+ switch (t) {
92
+ case 1:
93
+ a.actionIdentifier = e.string();
94
+ break;
95
+ case 2:
96
+ a.version = e.string();
97
+ break;
98
+ case 3:
99
+ a.actionConfigurations.push(o.internalBinaryRead(e, e.uint32(), n));
100
+ break;
101
+ default:
102
+ let s = n.readUnknownField;
103
+ if (s === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${i}) for ${this.typeName}`);
104
+ let c = e.skip(i);
105
+ s !== !1 && (s === !0 ? r.onRead : s)(this.typeName, a, t, i, c);
106
+ }
107
+ }
108
+ return a;
109
+ }
110
+ internalBinaryWrite(e, t, n) {
111
+ e.actionIdentifier !== "" && t.tag(1, i.LengthDelimited).string(e.actionIdentifier), e.version !== "" && t.tag(2, i.LengthDelimited).string(e.version);
112
+ for (let r = 0; r < e.actionConfigurations.length; r++) o.internalBinaryWrite(e.actionConfigurations[r], t.tag(3, i.LengthDelimited).fork(), n).join();
113
+ let a = n.writeUnknownFields;
114
+ return a !== !1 && (a == 1 ? r.onWrite : a)(this.typeName, e, t), t;
115
+ }
116
+ }(), v = new class extends l {
117
+ constructor() {
118
+ super("aquila.ExecutionRequest", [
119
+ {
120
+ no: 1,
121
+ name: "execution_identifier",
122
+ kind: "scalar",
123
+ T: 9
124
+ },
125
+ {
126
+ no: 2,
127
+ name: "function_identifier",
128
+ kind: "scalar",
129
+ T: 9
130
+ },
131
+ {
132
+ no: 3,
133
+ name: "parameters",
134
+ kind: "message",
135
+ T: () => n
136
+ },
137
+ {
138
+ no: 4,
139
+ name: "project_id",
140
+ kind: "scalar",
141
+ T: 3,
142
+ L: 0
143
+ }
144
+ ]);
145
+ }
146
+ create(t) {
147
+ let n = globalThis.Object.create(this.messagePrototype);
148
+ return n.executionIdentifier = "", n.functionIdentifier = "", n.projectId = 0n, t !== void 0 && e(this, n, t), n;
149
+ }
150
+ internalBinaryRead(e, t, i, a) {
151
+ let o = a ?? this.create(), s = e.pos + t;
152
+ for (; e.pos < s;) {
153
+ let [t, a] = e.tag();
154
+ switch (t) {
155
+ case 1:
156
+ o.executionIdentifier = e.string();
157
+ break;
158
+ case 2:
159
+ o.functionIdentifier = e.string();
160
+ break;
161
+ case 3:
162
+ o.parameters = n.internalBinaryRead(e, e.uint32(), i, o.parameters);
163
+ break;
164
+ case 4:
165
+ o.projectId = e.int64().toBigInt();
166
+ break;
167
+ default:
168
+ let s = i.readUnknownField;
169
+ if (s === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${a}) for ${this.typeName}`);
170
+ let c = e.skip(a);
171
+ s !== !1 && (s === !0 ? r.onRead : s)(this.typeName, o, t, a, c);
172
+ }
173
+ }
174
+ return o;
175
+ }
176
+ internalBinaryWrite(e, t, a) {
177
+ e.executionIdentifier !== "" && t.tag(1, i.LengthDelimited).string(e.executionIdentifier), e.functionIdentifier !== "" && t.tag(2, i.LengthDelimited).string(e.functionIdentifier), e.parameters && n.internalBinaryWrite(e.parameters, t.tag(3, i.LengthDelimited).fork(), a).join(), e.projectId !== 0n && t.tag(4, i.Varint).int64(e.projectId);
178
+ let o = a.writeUnknownFields;
179
+ return o !== !1 && (o == 1 ? r.onWrite : o)(this.typeName, e, t), t;
180
+ }
181
+ }(), y = new class extends l {
182
+ constructor() {
183
+ super("aquila.ActionRuntimeError", [{
184
+ no: 1,
185
+ name: "code",
186
+ kind: "scalar",
187
+ T: 9
188
+ }, {
189
+ no: 2,
190
+ name: "description",
191
+ kind: "scalar",
192
+ opt: !0,
193
+ T: 9
194
+ }]);
195
+ }
196
+ create(t) {
197
+ let n = globalThis.Object.create(this.messagePrototype);
198
+ return n.code = "", t !== void 0 && e(this, n, t), n;
199
+ }
200
+ internalBinaryRead(e, t, n, i) {
201
+ let a = i ?? this.create(), o = e.pos + t;
202
+ for (; e.pos < o;) {
203
+ let [t, i] = e.tag();
204
+ switch (t) {
205
+ case 1:
206
+ a.code = e.string();
207
+ break;
208
+ case 2:
209
+ a.description = e.string();
210
+ break;
211
+ default:
212
+ let o = n.readUnknownField;
213
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${i}) for ${this.typeName}`);
214
+ let s = e.skip(i);
215
+ o !== !1 && (o === !0 ? r.onRead : o)(this.typeName, a, t, i, s);
216
+ }
217
+ }
218
+ return a;
219
+ }
220
+ internalBinaryWrite(e, t, n) {
221
+ e.code !== "" && t.tag(1, i.LengthDelimited).string(e.code), e.description !== void 0 && t.tag(2, i.LengthDelimited).string(e.description);
222
+ let a = n.writeUnknownFields;
223
+ return a !== !1 && (a == 1 ? r.onWrite : a)(this.typeName, e, t), t;
224
+ }
225
+ }(), b = new class extends l {
226
+ constructor() {
227
+ super("aquila.ExecutionResult", [
228
+ {
229
+ no: 1,
230
+ name: "execution_identifier",
231
+ kind: "scalar",
232
+ T: 9
233
+ },
234
+ {
235
+ no: 2,
236
+ name: "success",
237
+ kind: "message",
238
+ oneof: "result",
239
+ T: () => t
240
+ },
241
+ {
242
+ no: 3,
243
+ name: "error",
244
+ kind: "message",
245
+ oneof: "result",
246
+ T: () => y
247
+ }
248
+ ]);
249
+ }
250
+ create(t) {
251
+ let n = globalThis.Object.create(this.messagePrototype);
252
+ return n.executionIdentifier = "", n.result = { oneofKind: void 0 }, t !== void 0 && e(this, n, t), n;
253
+ }
254
+ internalBinaryRead(e, n, i, a) {
255
+ let o = a ?? this.create(), s = e.pos + n;
256
+ for (; e.pos < s;) {
257
+ let [n, a] = e.tag();
258
+ switch (n) {
259
+ case 1:
260
+ o.executionIdentifier = e.string();
261
+ break;
262
+ case 2:
263
+ o.result = {
264
+ oneofKind: "success",
265
+ success: t.internalBinaryRead(e, e.uint32(), i, o.result.success)
266
+ };
267
+ break;
268
+ case 3:
269
+ o.result = {
270
+ oneofKind: "error",
271
+ error: y.internalBinaryRead(e, e.uint32(), i, o.result.error)
272
+ };
273
+ break;
274
+ default:
275
+ let s = i.readUnknownField;
276
+ if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${a}) for ${this.typeName}`);
277
+ let c = e.skip(a);
278
+ s !== !1 && (s === !0 ? r.onRead : s)(this.typeName, o, n, a, c);
279
+ }
280
+ }
281
+ return o;
282
+ }
283
+ internalBinaryWrite(e, n, a) {
284
+ e.executionIdentifier !== "" && n.tag(1, i.LengthDelimited).string(e.executionIdentifier), e.result.oneofKind === "success" && t.internalBinaryWrite(e.result.success, n.tag(2, i.LengthDelimited).fork(), a).join(), e.result.oneofKind === "error" && y.internalBinaryWrite(e.result.error, n.tag(3, i.LengthDelimited).fork(), a).join();
285
+ let o = a.writeUnknownFields;
286
+ return o !== !1 && (o == 1 ? r.onWrite : o)(this.typeName, e, n), n;
287
+ }
288
+ }(), x = new class extends l {
289
+ constructor() {
290
+ super("aquila.TransferRequest", [
291
+ {
292
+ no: 1,
293
+ name: "logon",
294
+ kind: "message",
295
+ oneof: "data",
296
+ T: () => _
297
+ },
298
+ {
299
+ no: 2,
300
+ name: "event",
301
+ kind: "message",
302
+ oneof: "data",
303
+ T: () => g
304
+ },
305
+ {
306
+ no: 3,
307
+ name: "result",
308
+ kind: "message",
309
+ oneof: "data",
310
+ T: () => b
311
+ }
312
+ ]);
313
+ }
314
+ create(t) {
315
+ let n = globalThis.Object.create(this.messagePrototype);
316
+ return n.data = { oneofKind: void 0 }, t !== void 0 && e(this, n, t), n;
317
+ }
318
+ internalBinaryRead(e, t, n, i) {
319
+ let a = i ?? this.create(), o = e.pos + t;
320
+ for (; e.pos < o;) {
321
+ let [t, i] = e.tag();
322
+ switch (t) {
323
+ case 1:
324
+ a.data = {
325
+ oneofKind: "logon",
326
+ logon: _.internalBinaryRead(e, e.uint32(), n, a.data.logon)
327
+ };
328
+ break;
329
+ case 2:
330
+ a.data = {
331
+ oneofKind: "event",
332
+ event: g.internalBinaryRead(e, e.uint32(), n, a.data.event)
333
+ };
334
+ break;
335
+ case 3:
336
+ a.data = {
337
+ oneofKind: "result",
338
+ result: b.internalBinaryRead(e, e.uint32(), n, a.data.result)
339
+ };
340
+ break;
341
+ default:
342
+ let o = n.readUnknownField;
343
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${i}) for ${this.typeName}`);
344
+ let s = e.skip(i);
345
+ o !== !1 && (o === !0 ? r.onRead : o)(this.typeName, a, t, i, s);
346
+ }
347
+ }
348
+ return a;
349
+ }
350
+ internalBinaryWrite(e, t, n) {
351
+ e.data.oneofKind === "logon" && _.internalBinaryWrite(e.data.logon, t.tag(1, i.LengthDelimited).fork(), n).join(), e.data.oneofKind === "event" && g.internalBinaryWrite(e.data.event, t.tag(2, i.LengthDelimited).fork(), n).join(), e.data.oneofKind === "result" && b.internalBinaryWrite(e.data.result, t.tag(3, i.LengthDelimited).fork(), n).join();
352
+ let a = n.writeUnknownFields;
353
+ return a !== !1 && (a == 1 ? r.onWrite : a)(this.typeName, e, t), t;
354
+ }
355
+ }(), S = new class extends l {
356
+ constructor() {
357
+ super("aquila.TransferResponse", [{
358
+ no: 1,
359
+ name: "execution",
360
+ kind: "message",
361
+ oneof: "data",
362
+ T: () => v
363
+ }, {
364
+ no: 2,
365
+ name: "action_configurations",
366
+ kind: "message",
367
+ oneof: "data",
368
+ T: () => p
369
+ }]);
370
+ }
371
+ create(t) {
372
+ let n = globalThis.Object.create(this.messagePrototype);
373
+ return n.data = { oneofKind: void 0 }, t !== void 0 && e(this, n, t), n;
374
+ }
375
+ internalBinaryRead(e, t, n, i) {
376
+ let a = i ?? this.create(), o = e.pos + t;
377
+ for (; e.pos < o;) {
378
+ let [t, i] = e.tag();
379
+ switch (t) {
380
+ case 1:
381
+ a.data = {
382
+ oneofKind: "execution",
383
+ execution: v.internalBinaryRead(e, e.uint32(), n, a.data.execution)
384
+ };
385
+ break;
386
+ case 2:
387
+ a.data = {
388
+ oneofKind: "actionConfigurations",
389
+ actionConfigurations: p.internalBinaryRead(e, e.uint32(), n, a.data.actionConfigurations)
390
+ };
391
+ break;
392
+ default:
393
+ let o = n.readUnknownField;
394
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${i}) for ${this.typeName}`);
395
+ let s = e.skip(i);
396
+ o !== !1 && (o === !0 ? r.onRead : o)(this.typeName, a, t, i, s);
397
+ }
398
+ }
399
+ return a;
400
+ }
401
+ internalBinaryWrite(e, t, n) {
402
+ e.data.oneofKind === "execution" && v.internalBinaryWrite(e.data.execution, t.tag(1, i.LengthDelimited).fork(), n).join(), e.data.oneofKind === "actionConfigurations" && p.internalBinaryWrite(e.data.actionConfigurations, t.tag(2, i.LengthDelimited).fork(), n).join();
403
+ let a = n.writeUnknownFields;
404
+ return a !== !1 && (a == 1 ? r.onWrite : a)(this.typeName, e, t), t;
405
+ }
406
+ }(), C = new m("aquila.ActionTransferService", [{
407
+ name: "Transfer",
408
+ serverStreaming: !0,
409
+ clientStreaming: !0,
410
+ options: {},
411
+ I: x,
412
+ O: S
413
+ }]), w = class {
414
+ constructor(e) {
415
+ this._transport = e, this.typeName = C.typeName, this.methods = C.methods, this.options = C.options;
416
+ }
417
+ transfer(e) {
418
+ let t = this.methods[0], n = this._transport.mergeOptions(e);
419
+ return h("duplex", this._transport, t, n);
420
+ }
421
+ }, T = new class extends l {
422
+ constructor() {
423
+ super("aquila.DataTypeUpdateRequest", [{
424
+ no: 1,
425
+ name: "data_types",
426
+ kind: "message",
427
+ repeat: 2,
428
+ T: () => c
429
+ }]);
430
+ }
431
+ create(t) {
432
+ let n = globalThis.Object.create(this.messagePrototype);
433
+ return n.dataTypes = [], t !== void 0 && e(this, n, t), n;
434
+ }
435
+ internalBinaryRead(e, t, n, i) {
436
+ let a = i ?? this.create(), o = e.pos + t;
437
+ for (; e.pos < o;) {
438
+ let [t, i] = e.tag();
439
+ switch (t) {
440
+ case 1:
441
+ a.dataTypes.push(c.internalBinaryRead(e, e.uint32(), n));
442
+ break;
443
+ default:
444
+ let o = n.readUnknownField;
445
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${i}) for ${this.typeName}`);
446
+ let s = e.skip(i);
447
+ o !== !1 && (o === !0 ? r.onRead : o)(this.typeName, a, t, i, s);
448
+ }
449
+ }
450
+ return a;
451
+ }
452
+ internalBinaryWrite(e, t, n) {
453
+ for (let r = 0; r < e.dataTypes.length; r++) c.internalBinaryWrite(e.dataTypes[r], t.tag(1, i.LengthDelimited).fork(), n).join();
454
+ let a = n.writeUnknownFields;
455
+ return a !== !1 && (a == 1 ? r.onWrite : a)(this.typeName, e, t), t;
456
+ }
457
+ }(), E = new class extends l {
458
+ constructor() {
459
+ super("aquila.DataTypeUpdateResponse", [{
460
+ no: 1,
461
+ name: "success",
462
+ kind: "scalar",
463
+ T: 8
464
+ }]);
465
+ }
466
+ create(t) {
467
+ let n = globalThis.Object.create(this.messagePrototype);
468
+ return n.success = !1, t !== void 0 && e(this, n, t), n;
469
+ }
470
+ internalBinaryRead(e, t, n, i) {
471
+ let a = i ?? this.create(), o = e.pos + t;
472
+ for (; e.pos < o;) {
473
+ let [t, i] = e.tag();
474
+ switch (t) {
475
+ case 1:
476
+ a.success = e.bool();
477
+ break;
478
+ default:
479
+ let o = n.readUnknownField;
480
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${i}) for ${this.typeName}`);
481
+ let s = e.skip(i);
482
+ o !== !1 && (o === !0 ? r.onRead : o)(this.typeName, a, t, i, s);
483
+ }
484
+ }
485
+ return a;
486
+ }
487
+ internalBinaryWrite(e, t, n) {
488
+ e.success !== !1 && t.tag(1, i.Varint).bool(e.success);
489
+ let a = n.writeUnknownFields;
490
+ return a !== !1 && (a == 1 ? r.onWrite : a)(this.typeName, e, t), t;
491
+ }
492
+ }(), D = new m("aquila.DataTypeService", [{
493
+ name: "Update",
494
+ options: {},
495
+ I: T,
496
+ O: E
497
+ }]), O = class {
498
+ constructor(e) {
499
+ this._transport = e, this.typeName = D.typeName, this.methods = D.methods, this.options = D.options;
500
+ }
501
+ update(e, t) {
502
+ let n = this.methods[0], r = this._transport.mergeOptions(t);
503
+ return h("unary", this._transport, n, r, e);
504
+ }
505
+ }, k = new class extends l {
506
+ constructor() {
507
+ super("aquila.FlowTypeUpdateRequest", [{
508
+ no: 1,
509
+ name: "flow_types",
510
+ kind: "message",
511
+ repeat: 2,
512
+ T: () => f
513
+ }]);
514
+ }
515
+ create(t) {
516
+ let n = globalThis.Object.create(this.messagePrototype);
517
+ return n.flowTypes = [], t !== void 0 && e(this, n, t), n;
518
+ }
519
+ internalBinaryRead(e, t, n, i) {
520
+ let a = i ?? this.create(), o = e.pos + t;
521
+ for (; e.pos < o;) {
522
+ let [t, i] = e.tag();
523
+ switch (t) {
524
+ case 1:
525
+ a.flowTypes.push(f.internalBinaryRead(e, e.uint32(), n));
526
+ break;
527
+ default:
528
+ let o = n.readUnknownField;
529
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${i}) for ${this.typeName}`);
530
+ let s = e.skip(i);
531
+ o !== !1 && (o === !0 ? r.onRead : o)(this.typeName, a, t, i, s);
532
+ }
533
+ }
534
+ return a;
535
+ }
536
+ internalBinaryWrite(e, t, n) {
537
+ for (let r = 0; r < e.flowTypes.length; r++) f.internalBinaryWrite(e.flowTypes[r], t.tag(1, i.LengthDelimited).fork(), n).join();
538
+ let a = n.writeUnknownFields;
539
+ return a !== !1 && (a == 1 ? r.onWrite : a)(this.typeName, e, t), t;
540
+ }
541
+ }(), A = new class extends l {
542
+ constructor() {
543
+ super("aquila.FlowTypeUpdateResponse", [{
544
+ no: 1,
545
+ name: "success",
546
+ kind: "scalar",
547
+ T: 8
548
+ }]);
549
+ }
550
+ create(t) {
551
+ let n = globalThis.Object.create(this.messagePrototype);
552
+ return n.success = !1, t !== void 0 && e(this, n, t), n;
553
+ }
554
+ internalBinaryRead(e, t, n, i) {
555
+ let a = i ?? this.create(), o = e.pos + t;
556
+ for (; e.pos < o;) {
557
+ let [t, i] = e.tag();
558
+ switch (t) {
559
+ case 1:
560
+ a.success = e.bool();
561
+ break;
562
+ default:
563
+ let o = n.readUnknownField;
564
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${i}) for ${this.typeName}`);
565
+ let s = e.skip(i);
566
+ o !== !1 && (o === !0 ? r.onRead : o)(this.typeName, a, t, i, s);
567
+ }
568
+ }
569
+ return a;
570
+ }
571
+ internalBinaryWrite(e, t, n) {
572
+ e.success !== !1 && t.tag(1, i.Varint).bool(e.success);
573
+ let a = n.writeUnknownFields;
574
+ return a !== !1 && (a == 1 ? r.onWrite : a)(this.typeName, e, t), t;
575
+ }
576
+ }(), j = new m("aquila.FlowTypeService", [{
577
+ name: "Update",
578
+ options: {},
579
+ I: k,
580
+ O: A
581
+ }]), M = class {
582
+ constructor(e) {
583
+ this._transport = e, this.typeName = j.typeName, this.methods = j.methods, this.options = j.options;
584
+ }
585
+ update(e, t) {
586
+ let n = this.methods[0], r = this._transport.mergeOptions(t);
587
+ return h("unary", this._transport, n, r, e);
588
+ }
589
+ }, N = new class extends l {
590
+ constructor() {
591
+ super("aquila.RuntimeFunctionDefinitionUpdateRequest", [{
592
+ no: 1,
593
+ name: "runtime_functions",
594
+ kind: "message",
595
+ repeat: 2,
596
+ T: () => s
597
+ }]);
598
+ }
599
+ create(t) {
600
+ let n = globalThis.Object.create(this.messagePrototype);
601
+ return n.runtimeFunctions = [], t !== void 0 && e(this, n, t), n;
602
+ }
603
+ internalBinaryRead(e, t, n, i) {
604
+ let a = i ?? this.create(), o = e.pos + t;
605
+ for (; e.pos < o;) {
606
+ let [t, i] = e.tag();
607
+ switch (t) {
608
+ case 1:
609
+ a.runtimeFunctions.push(s.internalBinaryRead(e, e.uint32(), n));
610
+ break;
611
+ default:
612
+ let o = n.readUnknownField;
613
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${i}) for ${this.typeName}`);
614
+ let c = e.skip(i);
615
+ o !== !1 && (o === !0 ? r.onRead : o)(this.typeName, a, t, i, c);
616
+ }
617
+ }
618
+ return a;
619
+ }
620
+ internalBinaryWrite(e, t, n) {
621
+ for (let r = 0; r < e.runtimeFunctions.length; r++) s.internalBinaryWrite(e.runtimeFunctions[r], t.tag(1, i.LengthDelimited).fork(), n).join();
622
+ let a = n.writeUnknownFields;
623
+ return a !== !1 && (a == 1 ? r.onWrite : a)(this.typeName, e, t), t;
624
+ }
625
+ }(), P = new class extends l {
626
+ constructor() {
627
+ super("aquila.RuntimeFunctionDefinitionUpdateResponse", [{
628
+ no: 1,
629
+ name: "success",
630
+ kind: "scalar",
631
+ T: 8
632
+ }]);
633
+ }
634
+ create(t) {
635
+ let n = globalThis.Object.create(this.messagePrototype);
636
+ return n.success = !1, t !== void 0 && e(this, n, t), n;
637
+ }
638
+ internalBinaryRead(e, t, n, i) {
639
+ let a = i ?? this.create(), o = e.pos + t;
640
+ for (; e.pos < o;) {
641
+ let [t, i] = e.tag();
642
+ switch (t) {
643
+ case 1:
644
+ a.success = e.bool();
645
+ break;
646
+ default:
647
+ let o = n.readUnknownField;
648
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${i}) for ${this.typeName}`);
649
+ let s = e.skip(i);
650
+ o !== !1 && (o === !0 ? r.onRead : o)(this.typeName, a, t, i, s);
651
+ }
652
+ }
653
+ return a;
654
+ }
655
+ internalBinaryWrite(e, t, n) {
656
+ e.success !== !1 && t.tag(1, i.Varint).bool(e.success);
657
+ let a = n.writeUnknownFields;
658
+ return a !== !1 && (a == 1 ? r.onWrite : a)(this.typeName, e, t), t;
659
+ }
660
+ }(), F = new m("aquila.RuntimeFunctionDefinitionService", [{
661
+ name: "Update",
662
+ options: {},
663
+ I: N,
664
+ O: P
665
+ }]), I = class {
666
+ constructor(e) {
667
+ this._transport = e, this.typeName = F.typeName, this.methods = F.methods, this.options = F.options;
668
+ }
669
+ update(e, t) {
670
+ let n = this.methods[0], r = this._transport.mergeOptions(t);
671
+ return h("unary", this._transport, n, r, e);
672
+ }
673
+ }, L = new class extends l {
674
+ constructor() {
675
+ super("aquila.RuntimeStatusUpdateRequest", [{
676
+ no: 1,
677
+ name: "adapter_runtime_status",
678
+ kind: "message",
679
+ oneof: "status",
680
+ T: () => u
681
+ }, {
682
+ no: 2,
683
+ name: "execution_runtime_status",
684
+ kind: "message",
685
+ oneof: "status",
686
+ T: () => a
687
+ }]);
688
+ }
689
+ create(t) {
690
+ let n = globalThis.Object.create(this.messagePrototype);
691
+ return n.status = { oneofKind: void 0 }, t !== void 0 && e(this, n, t), n;
692
+ }
693
+ internalBinaryRead(e, t, n, i) {
694
+ let o = i ?? this.create(), s = e.pos + t;
695
+ for (; e.pos < s;) {
696
+ let [t, i] = e.tag();
697
+ switch (t) {
698
+ case 1:
699
+ o.status = {
700
+ oneofKind: "adapterRuntimeStatus",
701
+ adapterRuntimeStatus: u.internalBinaryRead(e, e.uint32(), n, o.status.adapterRuntimeStatus)
702
+ };
703
+ break;
704
+ case 2:
705
+ o.status = {
706
+ oneofKind: "executionRuntimeStatus",
707
+ executionRuntimeStatus: a.internalBinaryRead(e, e.uint32(), n, o.status.executionRuntimeStatus)
708
+ };
709
+ break;
710
+ default:
711
+ let s = n.readUnknownField;
712
+ if (s === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${i}) for ${this.typeName}`);
713
+ let c = e.skip(i);
714
+ s !== !1 && (s === !0 ? r.onRead : s)(this.typeName, o, t, i, c);
715
+ }
716
+ }
717
+ return o;
718
+ }
719
+ internalBinaryWrite(e, t, n) {
720
+ e.status.oneofKind === "adapterRuntimeStatus" && u.internalBinaryWrite(e.status.adapterRuntimeStatus, t.tag(1, i.LengthDelimited).fork(), n).join(), e.status.oneofKind === "executionRuntimeStatus" && a.internalBinaryWrite(e.status.executionRuntimeStatus, t.tag(2, i.LengthDelimited).fork(), n).join();
721
+ let o = n.writeUnknownFields;
722
+ return o !== !1 && (o == 1 ? r.onWrite : o)(this.typeName, e, t), t;
723
+ }
724
+ }(), R = new class extends l {
725
+ constructor() {
726
+ super("aquila.RuntimeStatusUpdateResponse", [{
727
+ no: 1,
728
+ name: "success",
729
+ kind: "scalar",
730
+ T: 8
731
+ }]);
732
+ }
733
+ create(t) {
734
+ let n = globalThis.Object.create(this.messagePrototype);
735
+ return n.success = !1, t !== void 0 && e(this, n, t), n;
736
+ }
737
+ internalBinaryRead(e, t, n, i) {
738
+ let a = i ?? this.create(), o = e.pos + t;
739
+ for (; e.pos < o;) {
740
+ let [t, i] = e.tag();
741
+ switch (t) {
742
+ case 1:
743
+ a.success = e.bool();
744
+ break;
745
+ default:
746
+ let o = n.readUnknownField;
747
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${i}) for ${this.typeName}`);
748
+ let s = e.skip(i);
749
+ o !== !1 && (o === !0 ? r.onRead : o)(this.typeName, a, t, i, s);
750
+ }
751
+ }
752
+ return a;
753
+ }
754
+ internalBinaryWrite(e, t, n) {
755
+ e.success !== !1 && t.tag(1, i.Varint).bool(e.success);
756
+ let a = n.writeUnknownFields;
757
+ return a !== !1 && (a == 1 ? r.onWrite : a)(this.typeName, e, t), t;
758
+ }
759
+ }(), z = new m("aquila.RuntimeStatusService", [{
760
+ name: "Update",
761
+ options: {},
762
+ I: L,
763
+ O: R
764
+ }]), B = class {
765
+ constructor(e) {
766
+ this._transport = e, this.typeName = z.typeName, this.methods = z.methods, this.options = z.options;
767
+ }
768
+ update(e, t) {
769
+ let n = this.methods[0], r = this._transport.mergeOptions(t);
770
+ return h("unary", this._transport, n, r, e);
771
+ }
772
+ }, V = new class extends l {
773
+ constructor() {
774
+ super("aquila.RuntimeUsageRequest", [{
775
+ no: 1,
776
+ name: "runtime_usage",
777
+ kind: "message",
778
+ repeat: 2,
779
+ T: () => d
780
+ }]);
781
+ }
782
+ create(t) {
783
+ let n = globalThis.Object.create(this.messagePrototype);
784
+ return n.runtimeUsage = [], t !== void 0 && e(this, n, t), n;
785
+ }
786
+ internalBinaryRead(e, t, n, i) {
787
+ let a = i ?? this.create(), o = e.pos + t;
788
+ for (; e.pos < o;) {
789
+ let [t, i] = e.tag();
790
+ switch (t) {
791
+ case 1:
792
+ a.runtimeUsage.push(d.internalBinaryRead(e, e.uint32(), n));
793
+ break;
794
+ default:
795
+ let o = n.readUnknownField;
796
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${i}) for ${this.typeName}`);
797
+ let s = e.skip(i);
798
+ o !== !1 && (o === !0 ? r.onRead : o)(this.typeName, a, t, i, s);
799
+ }
800
+ }
801
+ return a;
802
+ }
803
+ internalBinaryWrite(e, t, n) {
804
+ for (let r = 0; r < e.runtimeUsage.length; r++) d.internalBinaryWrite(e.runtimeUsage[r], t.tag(1, i.LengthDelimited).fork(), n).join();
805
+ let a = n.writeUnknownFields;
806
+ return a !== !1 && (a == 1 ? r.onWrite : a)(this.typeName, e, t), t;
807
+ }
808
+ }(), H = new class extends l {
809
+ constructor() {
810
+ super("aquila.RuntimeUsageResponse", [{
811
+ no: 1,
812
+ name: "success",
813
+ kind: "scalar",
814
+ T: 8
815
+ }]);
816
+ }
817
+ create(t) {
818
+ let n = globalThis.Object.create(this.messagePrototype);
819
+ return n.success = !1, t !== void 0 && e(this, n, t), n;
820
+ }
821
+ internalBinaryRead(e, t, n, i) {
822
+ let a = i ?? this.create(), o = e.pos + t;
823
+ for (; e.pos < o;) {
824
+ let [t, i] = e.tag();
825
+ switch (t) {
826
+ case 1:
827
+ a.success = e.bool();
828
+ break;
829
+ default:
830
+ let o = n.readUnknownField;
831
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${t} (wire type ${i}) for ${this.typeName}`);
832
+ let s = e.skip(i);
833
+ o !== !1 && (o === !0 ? r.onRead : o)(this.typeName, a, t, i, s);
834
+ }
835
+ }
836
+ return a;
837
+ }
838
+ internalBinaryWrite(e, t, n) {
839
+ e.success !== !1 && t.tag(1, i.Varint).bool(e.success);
840
+ let a = n.writeUnknownFields;
841
+ return a !== !1 && (a == 1 ? r.onWrite : a)(this.typeName, e, t), t;
842
+ }
843
+ }(), U = new m("aquila.RuntimeUsageService", [{
844
+ name: "Update",
845
+ options: {},
846
+ I: V,
847
+ O: H
848
+ }]), W = class {
849
+ constructor(e) {
850
+ this._transport = e, this.typeName = U.typeName, this.methods = U.methods, this.options = U.options;
851
+ }
852
+ update(e, t) {
853
+ let n = this.methods[0], r = this._transport.mergeOptions(t);
854
+ return h("unary", this._transport, n, r, e);
855
+ }
856
+ };
857
+ //#endregion
858
+ export { _ as ActionLogon, y as ActionRuntimeError, C as ActionTransferService, w as ActionTransferServiceClient, D as DataTypeService, O as DataTypeServiceClient, T as DataTypeUpdateRequest, E as DataTypeUpdateResponse, g as Event, v as ExecutionRequest, b as ExecutionResult, j as FlowTypeService, M as FlowTypeServiceClient, k as FlowTypeUpdateRequest, A as FlowTypeUpdateResponse, F as RuntimeFunctionDefinitionService, I as RuntimeFunctionDefinitionServiceClient, N as RuntimeFunctionDefinitionUpdateRequest, P as RuntimeFunctionDefinitionUpdateResponse, z as RuntimeStatusService, B as RuntimeStatusServiceClient, L as RuntimeStatusUpdateRequest, R as RuntimeStatusUpdateResponse, V as RuntimeUsageRequest, H as RuntimeUsageResponse, U as RuntimeUsageService, W as RuntimeUsageServiceClient, x as TransferRequest, S as TransferResponse };