@code0-tech/tucana 0.0.76 → 0.0.78

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/dist/aquila.cjs.js +1 -1
  2. package/dist/aquila.es.js +738 -209
  3. package/dist/pb/_generated/aquila.action_pb.d.ts +345 -4
  4. package/dist/pb/_generated/sagittarius_gateway.flow_pb.client.d.ts +43 -0
  5. package/dist/pb/_generated/sagittarius_gateway.flow_pb.d.ts +110 -0
  6. package/dist/pb/_generated/sagittarius_gateway.module_pb.client.d.ts +59 -0
  7. package/dist/pb/_generated/sagittarius_gateway.module_pb.d.ts +137 -0
  8. package/dist/pb/_generated/sagittarius_gateway.runtime_status_pb.client.d.ts +27 -0
  9. package/dist/pb/_generated/sagittarius_gateway.runtime_status_pb.d.ts +51 -0
  10. package/dist/pb/_generated/sagittarius_gateway.test_execution_pb.client.d.ts +43 -0
  11. package/dist/pb/_generated/{sagittarius.text_execution_pb.d.ts → sagittarius_gateway.test_execution_pb.d.ts} +45 -11
  12. package/dist/pb/_generated/sagittarius_rails.flow_pb.client.d.ts +31 -0
  13. package/dist/pb/_generated/{sagittarius.flow_pb.d.ts → sagittarius_rails.flow_pb.d.ts} +5 -14
  14. package/dist/pb/_generated/{sagittarius.module_pb.client.d.ts → sagittarius_rails.module_pb.client.d.ts} +3 -3
  15. package/dist/pb/_generated/{sagittarius.module_pb.d.ts → sagittarius_rails.module_pb.d.ts} +7 -7
  16. package/dist/pb/_generated/{sagittarius.runtime_status_pb.client.d.ts → sagittarius_rails.runtime_status_pb.client.d.ts} +3 -3
  17. package/dist/pb/_generated/{sagittarius.runtime_status_pb.d.ts → sagittarius_rails.runtime_status_pb.d.ts} +5 -5
  18. package/dist/pb/_generated/sagittarius_rails.test_execution_pb.client.d.ts +27 -0
  19. package/dist/pb/_generated/sagittarius_rails.test_execution_pb.d.ts +51 -0
  20. package/dist/pb/_generated/sagittarius_rails.token_pb.client.d.ts +31 -0
  21. package/dist/pb/_generated/sagittarius_rails.token_pb.d.ts +93 -0
  22. package/dist/pb/_generated/shared.flow_pb.d.ts +42 -26
  23. package/dist/pb/_generated/shared.struct_pb.d.ts +1 -1
  24. package/dist/pb/sagittarius_gateway.d.ts +8 -0
  25. package/dist/pb/sagittarius_rails.d.ts +10 -0
  26. package/dist/{rpc-interceptor-giFADd4b.cjs → rpc-interceptor-D-IMsC9l.cjs} +1 -1
  27. package/dist/{rpc-interceptor-d3qh7P9n.js → rpc-interceptor-D0l4GO-c.js} +1 -1
  28. package/dist/sagittarius_gateway.cjs.js +1 -0
  29. package/dist/sagittarius_gateway.d.ts +2 -0
  30. package/dist/sagittarius_gateway.es.js +793 -0
  31. package/dist/sagittarius_rails.cjs.js +1 -0
  32. package/dist/sagittarius_rails.d.ts +2 -0
  33. package/dist/sagittarius_rails.es.js +558 -0
  34. package/dist/shared.cjs.js +1 -1
  35. package/dist/shared.es.js +3 -4
  36. package/dist/shared.function_pb-BxQgyP8l.cjs +2 -0
  37. package/dist/{shared.function_pb-Caz-4jvi.js → shared.function_pb-CPUNe7pa.js} +1537 -485
  38. package/dist/shared.runtime_status_pb-5unRZGw5.js +1650 -0
  39. package/dist/{shared.runtime_status_pb-BEEvFfe8.cjs → shared.runtime_status_pb-BlKabFnb.cjs} +1 -1
  40. package/dist/velorum.cjs.js +1 -1
  41. package/dist/velorum.es.js +114 -115
  42. package/package.json +13 -7
  43. package/dist/pb/_generated/sagittarius.flow_pb.client.d.ts +0 -27
  44. package/dist/pb/_generated/sagittarius.ping_pb.client.d.ts +0 -27
  45. package/dist/pb/_generated/sagittarius.ping_pb.d.ts +0 -26
  46. package/dist/pb/_generated/sagittarius.text_execution_pb.client.d.ts +0 -27
  47. package/dist/pb/sagittarius.d.ts +0 -10
  48. package/dist/sagittarius.cjs.js +0 -1
  49. package/dist/sagittarius.d.ts +0 -2
  50. package/dist/sagittarius.es.js +0 -553
  51. package/dist/shared.flow_pb-DdVuFKPW.js +0 -1019
  52. package/dist/shared.flow_pb-clFvPGyv.cjs +0 -1
  53. package/dist/shared.function_pb-C8cj-NCz.cjs +0 -2
  54. package/dist/shared.runtime_status_pb-D7hH22xO.js +0 -1650
@@ -1,553 +0,0 @@
1
- import { C as e, S as t, u as n, v as r, y as i } from "./shared.function_pb-Caz-4jvi.js";
2
- import { b as a, h as o, i as s, s as c, t as l } from "./shared.runtime_status_pb-D7hH22xO.js";
3
- import { h as u, i as d } from "./shared.flow_pb-DdVuFKPW.js";
4
- import { n as f, t as p } from "./rpc-interceptor-d3qh7P9n.js";
5
- var m = new class extends r {
6
- constructor() {
7
- super("sagittarius.FlowLogonRequest", []);
8
- }
9
- create(e) {
10
- let t = globalThis.Object.create(this.messagePrototype);
11
- return e !== void 0 && i(this, t, e), t;
12
- }
13
- internalBinaryRead(e, n, r, i) {
14
- let a = i ?? this.create(), o = e.pos + n;
15
- for (; e.pos < o;) {
16
- let [n, i] = e.tag();
17
- switch (n) {
18
- default:
19
- let o = r.readUnknownField;
20
- if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
21
- let s = e.skip(i);
22
- o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
23
- }
24
- }
25
- return a;
26
- }
27
- internalBinaryWrite(e, n, r) {
28
- let i = r.writeUnknownFields;
29
- return i !== !1 && (i == 1 ? t.onWrite : i)(this.typeName, e, n), n;
30
- }
31
- }(), h = new class extends r {
32
- constructor() {
33
- super("sagittarius.FlowResponse", [
34
- {
35
- no: 1,
36
- name: "updated_flow",
37
- kind: "message",
38
- oneof: "data",
39
- T: () => u
40
- },
41
- {
42
- no: 2,
43
- name: "deleted_flow_id",
44
- kind: "scalar",
45
- oneof: "data",
46
- T: 3,
47
- L: 0
48
- },
49
- {
50
- no: 3,
51
- name: "flows",
52
- kind: "message",
53
- oneof: "data",
54
- T: () => d
55
- },
56
- {
57
- no: 4,
58
- name: "module_configurations",
59
- kind: "message",
60
- oneof: "data",
61
- T: () => c
62
- }
63
- ]);
64
- }
65
- create(e) {
66
- let t = globalThis.Object.create(this.messagePrototype);
67
- return t.data = { oneofKind: void 0 }, e !== void 0 && i(this, t, e), t;
68
- }
69
- internalBinaryRead(e, n, r, i) {
70
- let a = i ?? this.create(), o = e.pos + n;
71
- for (; e.pos < o;) {
72
- let [n, i] = e.tag();
73
- switch (n) {
74
- case 1:
75
- a.data = {
76
- oneofKind: "updatedFlow",
77
- updatedFlow: u.internalBinaryRead(e, e.uint32(), r, a.data.updatedFlow)
78
- };
79
- break;
80
- case 2:
81
- a.data = {
82
- oneofKind: "deletedFlowId",
83
- deletedFlowId: e.int64().toBigInt()
84
- };
85
- break;
86
- case 3:
87
- a.data = {
88
- oneofKind: "flows",
89
- flows: d.internalBinaryRead(e, e.uint32(), r, a.data.flows)
90
- };
91
- break;
92
- case 4:
93
- a.data = {
94
- oneofKind: "moduleConfigurations",
95
- moduleConfigurations: c.internalBinaryRead(e, e.uint32(), r, a.data.moduleConfigurations)
96
- };
97
- break;
98
- default:
99
- let o = r.readUnknownField;
100
- if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
101
- let s = e.skip(i);
102
- o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
103
- }
104
- }
105
- return a;
106
- }
107
- internalBinaryWrite(n, r, i) {
108
- n.data.oneofKind === "updatedFlow" && u.internalBinaryWrite(n.data.updatedFlow, r.tag(1, e.LengthDelimited).fork(), i).join(), n.data.oneofKind === "deletedFlowId" && r.tag(2, e.Varint).int64(n.data.deletedFlowId), n.data.oneofKind === "flows" && d.internalBinaryWrite(n.data.flows, r.tag(3, e.LengthDelimited).fork(), i).join(), n.data.oneofKind === "moduleConfigurations" && c.internalBinaryWrite(n.data.moduleConfigurations, r.tag(4, e.LengthDelimited).fork(), i).join();
109
- let a = i.writeUnknownFields;
110
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
111
- }
112
- }(), g = new f("sagittarius.FlowService", [{
113
- name: "Update",
114
- serverStreaming: !0,
115
- options: {},
116
- I: m,
117
- O: h
118
- }]), _ = class {
119
- constructor(e) {
120
- this._transport = e, this.typeName = g.typeName, this.methods = g.methods, this.options = g.options;
121
- }
122
- update(e, t) {
123
- let n = this.methods[0], r = this._transport.mergeOptions(t);
124
- return p("serverStreaming", this._transport, n, r, e);
125
- }
126
- }, v = new class extends r {
127
- constructor() {
128
- super("sagittarius.ModuleUpdateRequest", [{
129
- no: 1,
130
- name: "modules",
131
- kind: "message",
132
- repeat: 2,
133
- T: () => s
134
- }, {
135
- no: 2,
136
- name: "available_defintition_soruces",
137
- kind: "scalar",
138
- repeat: 2,
139
- T: 9
140
- }]);
141
- }
142
- create(e) {
143
- let t = globalThis.Object.create(this.messagePrototype);
144
- return t.modules = [], t.availableDefintitionSoruces = [], e !== void 0 && i(this, t, e), t;
145
- }
146
- internalBinaryRead(e, n, r, i) {
147
- let a = i ?? this.create(), o = e.pos + n;
148
- for (; e.pos < o;) {
149
- let [n, i] = e.tag();
150
- switch (n) {
151
- case 1:
152
- a.modules.push(s.internalBinaryRead(e, e.uint32(), r));
153
- break;
154
- case 2:
155
- a.availableDefintitionSoruces.push(e.string());
156
- break;
157
- default:
158
- let o = r.readUnknownField;
159
- if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
160
- let c = e.skip(i);
161
- o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, c);
162
- }
163
- }
164
- return a;
165
- }
166
- internalBinaryWrite(n, r, i) {
167
- for (let t = 0; t < n.modules.length; t++) s.internalBinaryWrite(n.modules[t], r.tag(1, e.LengthDelimited).fork(), i).join();
168
- for (let t = 0; t < n.availableDefintitionSoruces.length; t++) r.tag(2, e.LengthDelimited).string(n.availableDefintitionSoruces[t]);
169
- let a = i.writeUnknownFields;
170
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
171
- }
172
- }(), y = new class extends r {
173
- constructor() {
174
- super("sagittarius.ModuleUpdateResponse", [{
175
- no: 1,
176
- name: "success",
177
- kind: "scalar",
178
- T: 8
179
- }, {
180
- no: 2,
181
- name: "error",
182
- kind: "message",
183
- T: () => a
184
- }]);
185
- }
186
- create(e) {
187
- let t = globalThis.Object.create(this.messagePrototype);
188
- return t.success = !1, e !== void 0 && i(this, t, e), t;
189
- }
190
- internalBinaryRead(e, n, r, i) {
191
- let o = i ?? this.create(), s = e.pos + n;
192
- for (; e.pos < s;) {
193
- let [n, i] = e.tag();
194
- switch (n) {
195
- case 1:
196
- o.success = e.bool();
197
- break;
198
- case 2:
199
- o.error = a.internalBinaryRead(e, e.uint32(), r, o.error);
200
- break;
201
- default:
202
- let s = r.readUnknownField;
203
- if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
204
- let c = e.skip(i);
205
- s !== !1 && (s === !0 ? t.onRead : s)(this.typeName, o, n, i, c);
206
- }
207
- }
208
- return o;
209
- }
210
- internalBinaryWrite(n, r, i) {
211
- n.success !== !1 && r.tag(1, e.Varint).bool(n.success), n.error && a.internalBinaryWrite(n.error, r.tag(2, e.LengthDelimited).fork(), i).join();
212
- let o = i.writeUnknownFields;
213
- return o !== !1 && (o == 1 ? t.onWrite : o)(this.typeName, n, r), r;
214
- }
215
- }(), b = new f("sagittarius.ModuleService", [{
216
- name: "Update",
217
- options: {},
218
- I: v,
219
- O: y
220
- }]), x = class {
221
- constructor(e) {
222
- this._transport = e, this.typeName = b.typeName, this.methods = b.methods, this.options = b.options;
223
- }
224
- update(e, t) {
225
- let n = this.methods[0], r = this._transport.mergeOptions(t);
226
- return p("unary", this._transport, n, r, e);
227
- }
228
- }, S = new class extends r {
229
- constructor() {
230
- super("sagittarius.PingMessage", [{
231
- no: 1,
232
- name: "ping_id",
233
- kind: "scalar",
234
- T: 3,
235
- L: 0
236
- }]);
237
- }
238
- create(e) {
239
- let t = globalThis.Object.create(this.messagePrototype);
240
- return t.pingId = 0n, e !== void 0 && i(this, t, e), t;
241
- }
242
- internalBinaryRead(e, n, r, i) {
243
- let a = i ?? this.create(), o = e.pos + n;
244
- for (; e.pos < o;) {
245
- let [n, i] = e.tag();
246
- switch (n) {
247
- case 1:
248
- a.pingId = e.int64().toBigInt();
249
- break;
250
- default:
251
- let o = r.readUnknownField;
252
- if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
253
- let s = e.skip(i);
254
- o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
255
- }
256
- }
257
- return a;
258
- }
259
- internalBinaryWrite(n, r, i) {
260
- n.pingId !== 0n && r.tag(1, e.Varint).int64(n.pingId);
261
- let a = i.writeUnknownFields;
262
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
263
- }
264
- }(), C = new f("sagittarius.PingService", [{
265
- name: "Ping",
266
- options: {},
267
- I: S,
268
- O: S
269
- }]), w = class {
270
- constructor(e) {
271
- this._transport = e, this.typeName = C.typeName, this.methods = C.methods, this.options = C.options;
272
- }
273
- ping(e, t) {
274
- let n = this.methods[0], r = this._transport.mergeOptions(t);
275
- return p("unary", this._transport, n, r, e);
276
- }
277
- }, T = new class extends r {
278
- constructor() {
279
- super("sagittarius.RuntimeStatusUpdateRequest", [{
280
- no: 1,
281
- name: "status",
282
- kind: "message",
283
- T: () => l
284
- }]);
285
- }
286
- create(e) {
287
- let t = globalThis.Object.create(this.messagePrototype);
288
- return e !== void 0 && i(this, t, e), t;
289
- }
290
- internalBinaryRead(e, n, r, i) {
291
- let a = i ?? this.create(), o = e.pos + n;
292
- for (; e.pos < o;) {
293
- let [n, i] = e.tag();
294
- switch (n) {
295
- case 1:
296
- a.status = l.internalBinaryRead(e, e.uint32(), r, a.status);
297
- break;
298
- default:
299
- let o = r.readUnknownField;
300
- if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
301
- let s = e.skip(i);
302
- o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
303
- }
304
- }
305
- return a;
306
- }
307
- internalBinaryWrite(n, r, i) {
308
- n.status && l.internalBinaryWrite(n.status, r.tag(1, e.LengthDelimited).fork(), i).join();
309
- let a = i.writeUnknownFields;
310
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
311
- }
312
- }(), E = new class extends r {
313
- constructor() {
314
- super("sagittarius.RuntimeStatusUpdateResponse", [{
315
- no: 1,
316
- name: "success",
317
- kind: "scalar",
318
- T: 8
319
- }, {
320
- no: 2,
321
- name: "error",
322
- kind: "message",
323
- T: () => a
324
- }]);
325
- }
326
- create(e) {
327
- let t = globalThis.Object.create(this.messagePrototype);
328
- return t.success = !1, e !== void 0 && i(this, t, e), t;
329
- }
330
- internalBinaryRead(e, n, r, i) {
331
- let o = i ?? this.create(), s = e.pos + n;
332
- for (; e.pos < s;) {
333
- let [n, i] = e.tag();
334
- switch (n) {
335
- case 1:
336
- o.success = e.bool();
337
- break;
338
- case 2:
339
- o.error = a.internalBinaryRead(e, e.uint32(), r, o.error);
340
- break;
341
- default:
342
- let s = r.readUnknownField;
343
- if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
344
- let c = e.skip(i);
345
- s !== !1 && (s === !0 ? t.onRead : s)(this.typeName, o, n, i, c);
346
- }
347
- }
348
- return o;
349
- }
350
- internalBinaryWrite(n, r, i) {
351
- n.success !== !1 && r.tag(1, e.Varint).bool(n.success), n.error && a.internalBinaryWrite(n.error, r.tag(2, e.LengthDelimited).fork(), i).join();
352
- let o = i.writeUnknownFields;
353
- return o !== !1 && (o == 1 ? t.onWrite : o)(this.typeName, n, r), r;
354
- }
355
- }(), D = new f("sagittarius.RuntimeStatusService", [{
356
- name: "Update",
357
- options: {},
358
- I: T,
359
- O: E
360
- }]), O = class {
361
- constructor(e) {
362
- this._transport = e, this.typeName = D.typeName, this.methods = D.methods, this.options = D.options;
363
- }
364
- update(e, t) {
365
- let n = this.methods[0], r = this._transport.mergeOptions(t);
366
- return p("unary", this._transport, n, r, e);
367
- }
368
- }, k = new class extends r {
369
- constructor() {
370
- super("sagittarius.Logon", []);
371
- }
372
- create(e) {
373
- let t = globalThis.Object.create(this.messagePrototype);
374
- return e !== void 0 && i(this, t, e), t;
375
- }
376
- internalBinaryRead(e, n, r, i) {
377
- let a = i ?? this.create(), o = e.pos + n;
378
- for (; e.pos < o;) {
379
- let [n, i] = e.tag();
380
- switch (n) {
381
- default:
382
- let o = r.readUnknownField;
383
- if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
384
- let s = e.skip(i);
385
- o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
386
- }
387
- }
388
- return a;
389
- }
390
- internalBinaryWrite(e, n, r) {
391
- let i = r.writeUnknownFields;
392
- return i !== !1 && (i == 1 ? t.onWrite : i)(this.typeName, e, n), n;
393
- }
394
- }(), A = new class extends r {
395
- constructor() {
396
- super("sagittarius.TestExecutionRequest", [
397
- {
398
- no: 1,
399
- name: "flow_id",
400
- kind: "scalar",
401
- T: 3,
402
- L: 0
403
- },
404
- {
405
- no: 2,
406
- name: "execution_identifier",
407
- kind: "scalar",
408
- T: 9
409
- },
410
- {
411
- no: 3,
412
- name: "body",
413
- kind: "message",
414
- T: () => n
415
- }
416
- ]);
417
- }
418
- create(e) {
419
- let t = globalThis.Object.create(this.messagePrototype);
420
- return t.flowId = 0n, t.executionIdentifier = "", e !== void 0 && i(this, t, e), t;
421
- }
422
- internalBinaryRead(e, r, i, a) {
423
- let o = a ?? this.create(), s = e.pos + r;
424
- for (; e.pos < s;) {
425
- let [r, a] = e.tag();
426
- switch (r) {
427
- case 1:
428
- o.flowId = e.int64().toBigInt();
429
- break;
430
- case 2:
431
- o.executionIdentifier = e.string();
432
- break;
433
- case 3:
434
- o.body = n.internalBinaryRead(e, e.uint32(), i, o.body);
435
- break;
436
- default:
437
- let s = i.readUnknownField;
438
- if (s === "throw") throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);
439
- let c = e.skip(a);
440
- s !== !1 && (s === !0 ? t.onRead : s)(this.typeName, o, r, a, c);
441
- }
442
- }
443
- return o;
444
- }
445
- internalBinaryWrite(r, i, a) {
446
- r.flowId !== 0n && i.tag(1, e.Varint).int64(r.flowId), r.executionIdentifier !== "" && i.tag(2, e.LengthDelimited).string(r.executionIdentifier), r.body && n.internalBinaryWrite(r.body, i.tag(3, e.LengthDelimited).fork(), a).join();
447
- let o = a.writeUnknownFields;
448
- return o !== !1 && (o == 1 ? t.onWrite : o)(this.typeName, r, i), i;
449
- }
450
- }(), j = new class extends r {
451
- constructor() {
452
- super("sagittarius.ExecutionLogonRequest", [{
453
- no: 1,
454
- name: "logon",
455
- kind: "message",
456
- oneof: "data",
457
- T: () => k
458
- }, {
459
- no: 2,
460
- name: "response",
461
- kind: "message",
462
- oneof: "data",
463
- T: () => o
464
- }]);
465
- }
466
- create(e) {
467
- let t = globalThis.Object.create(this.messagePrototype);
468
- return t.data = { oneofKind: void 0 }, e !== void 0 && i(this, t, e), t;
469
- }
470
- internalBinaryRead(e, n, r, i) {
471
- let a = i ?? this.create(), s = e.pos + n;
472
- for (; e.pos < s;) {
473
- let [n, i] = e.tag();
474
- switch (n) {
475
- case 1:
476
- a.data = {
477
- oneofKind: "logon",
478
- logon: k.internalBinaryRead(e, e.uint32(), r, a.data.logon)
479
- };
480
- break;
481
- case 2:
482
- a.data = {
483
- oneofKind: "response",
484
- response: o.internalBinaryRead(e, e.uint32(), r, a.data.response)
485
- };
486
- break;
487
- default:
488
- let s = r.readUnknownField;
489
- if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
490
- let c = e.skip(i);
491
- s !== !1 && (s === !0 ? t.onRead : s)(this.typeName, a, n, i, c);
492
- }
493
- }
494
- return a;
495
- }
496
- internalBinaryWrite(n, r, i) {
497
- n.data.oneofKind === "logon" && k.internalBinaryWrite(n.data.logon, r.tag(1, e.LengthDelimited).fork(), i).join(), n.data.oneofKind === "response" && o.internalBinaryWrite(n.data.response, r.tag(2, e.LengthDelimited).fork(), i).join();
498
- let a = i.writeUnknownFields;
499
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
500
- }
501
- }(), M = new class extends r {
502
- constructor() {
503
- super("sagittarius.ExecutionLogonResponse", [{
504
- no: 1,
505
- name: "request",
506
- kind: "message",
507
- T: () => A
508
- }]);
509
- }
510
- create(e) {
511
- let t = globalThis.Object.create(this.messagePrototype);
512
- return e !== void 0 && i(this, t, e), t;
513
- }
514
- internalBinaryRead(e, n, r, i) {
515
- let a = i ?? this.create(), o = e.pos + n;
516
- for (; e.pos < o;) {
517
- let [n, i] = e.tag();
518
- switch (n) {
519
- case 1:
520
- a.request = A.internalBinaryRead(e, e.uint32(), r, a.request);
521
- break;
522
- default:
523
- let o = r.readUnknownField;
524
- if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
525
- let s = e.skip(i);
526
- o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
527
- }
528
- }
529
- return a;
530
- }
531
- internalBinaryWrite(n, r, i) {
532
- n.request && A.internalBinaryWrite(n.request, r.tag(1, e.LengthDelimited).fork(), i).join();
533
- let a = i.writeUnknownFields;
534
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
535
- }
536
- }(), N = new f("sagittarius.ExecutionService", [{
537
- name: "Test",
538
- serverStreaming: !0,
539
- clientStreaming: !0,
540
- options: {},
541
- I: j,
542
- O: M
543
- }]), P = class {
544
- constructor(e) {
545
- this._transport = e, this.typeName = N.typeName, this.methods = N.methods, this.options = N.options;
546
- }
547
- test(e) {
548
- let t = this.methods[0], n = this._transport.mergeOptions(e);
549
- return p("duplex", this._transport, t, n);
550
- }
551
- };
552
- //#endregion
553
- export { j as ExecutionLogonRequest, M as ExecutionLogonResponse, N as ExecutionService, P as ExecutionServiceClient, m as FlowLogonRequest, h as FlowResponse, g as FlowService, _ as FlowServiceClient, k as Logon, b as ModuleService, x as ModuleServiceClient, v as ModuleUpdateRequest, y as ModuleUpdateResponse, S as PingMessage, C as PingService, w as PingServiceClient, D as RuntimeStatusService, O as RuntimeStatusServiceClient, T as RuntimeStatusUpdateRequest, E as RuntimeStatusUpdateResponse, A as TestExecutionRequest };