@code0-tech/tucana 0.0.62 → 0.0.66

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 (124) hide show
  1. package/dist/aquila.cjs.js +1 -0
  2. package/dist/aquila.d.ts +2 -0
  3. package/dist/aquila.es.js +942 -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/dist/pb/_generated/aquila.function_pb.client.d.ts +31 -0
  16. package/dist/pb/_generated/aquila.function_pb.d.ts +54 -0
  17. package/{pb → dist/pb}/_generated/aquila.runtime_function_pb.client.d.ts +7 -12
  18. package/{pb → dist/pb}/_generated/aquila.runtime_function_pb.d.ts +4 -11
  19. package/{pb → dist/pb}/_generated/aquila.runtime_status_pb.client.d.ts +7 -12
  20. package/{pb → dist/pb}/_generated/aquila.runtime_status_pb.d.ts +4 -12
  21. package/{pb → dist/pb}/_generated/aquila.runtime_usage_pb.client.d.ts +7 -12
  22. package/{pb → dist/pb}/_generated/aquila.runtime_usage_pb.d.ts +4 -11
  23. package/{pb → dist/pb}/_generated/sagittarius.action_configuration_pb.client.d.ts +7 -12
  24. package/{pb → dist/pb}/_generated/sagittarius.action_configuration_pb.d.ts +4 -11
  25. package/{pb → dist/pb}/_generated/sagittarius.data_type_pb.client.d.ts +7 -12
  26. package/{pb → dist/pb}/_generated/sagittarius.data_type_pb.d.ts +4 -11
  27. package/{pb → dist/pb}/_generated/sagittarius.flow_pb.client.d.ts +7 -12
  28. package/{pb → dist/pb}/_generated/sagittarius.flow_pb.d.ts +5 -13
  29. package/{pb → dist/pb}/_generated/sagittarius.flow_type_pb.client.d.ts +7 -12
  30. package/{pb → dist/pb}/_generated/sagittarius.flow_type_pb.d.ts +4 -11
  31. package/dist/pb/_generated/sagittarius.function_pb.client.d.ts +31 -0
  32. package/dist/pb/_generated/sagittarius.function_pb.d.ts +54 -0
  33. package/{pb → dist/pb}/_generated/sagittarius.ping_pb.client.d.ts +7 -11
  34. package/{pb → dist/pb}/_generated/sagittarius.ping_pb.d.ts +3 -10
  35. package/{pb → dist/pb}/_generated/sagittarius.runtime_function_pb.client.d.ts +7 -12
  36. package/{pb → dist/pb}/_generated/sagittarius.runtime_function_pb.d.ts +4 -11
  37. package/{pb → dist/pb}/_generated/sagittarius.runtime_status_pb.client.d.ts +7 -12
  38. package/{pb → dist/pb}/_generated/sagittarius.runtime_status_pb.d.ts +4 -12
  39. package/{pb → dist/pb}/_generated/sagittarius.runtime_usage_pb.client.d.ts +7 -12
  40. package/{pb → dist/pb}/_generated/sagittarius.runtime_usage_pb.d.ts +4 -11
  41. package/dist/pb/_generated/sagittarius.text_execution_pb.client.d.ts +27 -0
  42. package/{pb → dist/pb}/_generated/sagittarius.text_execution_pb.d.ts +4 -11
  43. package/{pb → dist/pb}/_generated/shared.action_configuration_pb.d.ts +3 -11
  44. package/{pb → dist/pb}/_generated/shared.data_type_pb.d.ts +2 -10
  45. package/{pb → dist/pb}/_generated/shared.flow_definition_pb.d.ts +35 -47
  46. package/{pb → dist/pb}/_generated/shared.flow_pb.d.ts +12 -24
  47. package/dist/pb/_generated/shared.function_pb.d.ts +121 -0
  48. package/{pb → dist/pb}/_generated/shared.runtime_function_pb.d.ts +3 -11
  49. package/{pb → dist/pb}/_generated/shared.runtime_status_pb.d.ts +52 -32
  50. package/{pb → dist/pb}/_generated/shared.runtime_usage_pb.d.ts +1 -9
  51. package/{pb → dist/pb}/_generated/shared.struct_pb.d.ts +62 -55
  52. package/{pb → dist/pb}/_generated/shared.translation_pb.d.ts +1 -9
  53. package/dist/pb/aquila.d.ts +14 -0
  54. package/dist/pb/sagittarius.d.ts +20 -0
  55. package/dist/pb/shared.d.ts +10 -0
  56. package/dist/rpc-interceptor-DoXs3DS5.js +52 -0
  57. package/dist/rpc-interceptor-HyblNryO.cjs +1 -0
  58. package/dist/sagittarius.cjs.js +1 -0
  59. package/dist/sagittarius.d.ts +2 -0
  60. package/dist/sagittarius.es.js +1296 -0
  61. package/dist/shared.cjs.js +1 -0
  62. package/dist/shared.d.ts +2 -0
  63. package/dist/shared.es.js +3 -0
  64. package/dist/shared.flow_pb-B6NUNPA6.js +717 -0
  65. package/dist/shared.flow_pb-DxbQUcL4.cjs +1 -0
  66. package/dist/shared.runtime_usage_pb-aFASLTvC.js +3320 -0
  67. package/dist/shared.runtime_usage_pb-auJkQYdP.cjs +2 -0
  68. package/package.json +24 -22
  69. package/helpers/helpers.d.ts +0 -1
  70. package/helpers/helpers.js +0 -1
  71. package/helpers/helpers.ts +0 -1
  72. package/helpers/shared.struct_helper.js +0 -59
  73. package/helpers/shared.struct_helper.ts +0 -70
  74. package/index.js +0 -0
  75. package/pb/_generated/.gitkeep +0 -0
  76. package/pb/_generated/aquila.action_pb.client.js +0 -25
  77. package/pb/_generated/aquila.action_pb.js +0 -468
  78. package/pb/_generated/aquila.data_type_pb.client.js +0 -23
  79. package/pb/_generated/aquila.data_type_pb.js +0 -112
  80. package/pb/_generated/aquila.flow_type_pb.client.js +0 -25
  81. package/pb/_generated/aquila.flow_type_pb.js +0 -112
  82. package/pb/_generated/aquila.runtime_function_pb.client.js +0 -25
  83. package/pb/_generated/aquila.runtime_function_pb.js +0 -112
  84. package/pb/_generated/aquila.runtime_status_pb.client.js +0 -23
  85. package/pb/_generated/aquila.runtime_status_pb.js +0 -126
  86. package/pb/_generated/aquila.runtime_usage_pb.client.js +0 -23
  87. package/pb/_generated/aquila.runtime_usage_pb.js +0 -112
  88. package/pb/_generated/sagittarius.action_configuration_pb.client.js +0 -23
  89. package/pb/_generated/sagittarius.action_configuration_pb.js +0 -120
  90. package/pb/_generated/sagittarius.data_type_pb.client.js +0 -23
  91. package/pb/_generated/sagittarius.data_type_pb.js +0 -112
  92. package/pb/_generated/sagittarius.flow_pb.client.js +0 -23
  93. package/pb/_generated/sagittarius.flow_pb.js +0 -138
  94. package/pb/_generated/sagittarius.flow_type_pb.client.js +0 -25
  95. package/pb/_generated/sagittarius.flow_type_pb.js +0 -112
  96. package/pb/_generated/sagittarius.ping_pb.client.js +0 -23
  97. package/pb/_generated/sagittarius.ping_pb.js +0 -64
  98. package/pb/_generated/sagittarius.runtime_function_pb.client.js +0 -25
  99. package/pb/_generated/sagittarius.runtime_function_pb.js +0 -112
  100. package/pb/_generated/sagittarius.runtime_status_pb.client.js +0 -23
  101. package/pb/_generated/sagittarius.runtime_status_pb.js +0 -126
  102. package/pb/_generated/sagittarius.runtime_usage_pb.client.js +0 -23
  103. package/pb/_generated/sagittarius.runtime_usage_pb.js +0 -112
  104. package/pb/_generated/sagittarius.text_execution_pb.client.d.ts +0 -32
  105. package/pb/_generated/sagittarius.text_execution_pb.client.js +0 -23
  106. package/pb/_generated/sagittarius.text_execution_pb.js +0 -568
  107. package/pb/_generated/shared.action_configuration_pb.js +0 -251
  108. package/pb/_generated/shared.data_type_pb.js +0 -411
  109. package/pb/_generated/shared.flow_definition_pb.js +0 -269
  110. package/pb/_generated/shared.flow_pb.js +0 -762
  111. package/pb/_generated/shared.runtime_function_pb.js +0 -238
  112. package/pb/_generated/shared.runtime_status_pb.js +0 -315
  113. package/pb/_generated/shared.runtime_usage_pb.js +0 -62
  114. package/pb/_generated/shared.struct_pb.js +0 -274
  115. package/pb/_generated/shared.translation_pb.js +0 -62
  116. package/pb/aquila.d.ts +0 -24
  117. package/pb/aquila.js +0 -24
  118. package/pb/aquila.ts +0 -24
  119. package/pb/sagittarius.d.ts +0 -36
  120. package/pb/sagittarius.js +0 -36
  121. package/pb/sagittarius.ts +0 -36
  122. package/pb/shared.d.ts +0 -18
  123. package/pb/shared.js +0 -18
  124. package/pb/shared.ts +0 -18
@@ -0,0 +1,1296 @@
1
+ import { C as e, F as t, I as n, M as r, S as i, _ as a, a as o, c as s, f as c, j as l, k as u, r as d, t as f, u as p } from "./shared.runtime_usage_pb-aFASLTvC.js";
2
+ import { d as m, i as h } from "./shared.flow_pb-B6NUNPA6.js";
3
+ import { n as g, t as _ } from "./rpc-interceptor-DoXs3DS5.js";
4
+ var v = new class extends l {
5
+ constructor() {
6
+ super("sagittarius.ActionConfigurationUpdateRequest", [{
7
+ no: 1,
8
+ name: "action_identifier",
9
+ kind: "scalar",
10
+ T: 9
11
+ }, {
12
+ no: 2,
13
+ name: "action_configurations",
14
+ kind: "message",
15
+ repeat: 2,
16
+ T: () => i
17
+ }]);
18
+ }
19
+ create(e) {
20
+ let t = globalThis.Object.create(this.messagePrototype);
21
+ return t.actionIdentifier = "", t.actionConfigurations = [], e !== void 0 && r(this, t, e), t;
22
+ }
23
+ internalBinaryRead(e, n, r, a) {
24
+ let o = a ?? this.create(), s = e.pos + n;
25
+ for (; e.pos < s;) {
26
+ let [n, a] = e.tag();
27
+ switch (n) {
28
+ case 1:
29
+ o.actionIdentifier = e.string();
30
+ break;
31
+ case 2:
32
+ o.actionConfigurations.push(i.internalBinaryRead(e, e.uint32(), r));
33
+ break;
34
+ default:
35
+ let s = r.readUnknownField;
36
+ if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${a}) for ${this.typeName}`);
37
+ let c = e.skip(a);
38
+ s !== !1 && (s === !0 ? t.onRead : s)(this.typeName, o, n, a, c);
39
+ }
40
+ }
41
+ return o;
42
+ }
43
+ internalBinaryWrite(e, r, a) {
44
+ e.actionIdentifier !== "" && r.tag(1, n.LengthDelimited).string(e.actionIdentifier);
45
+ for (let t = 0; t < e.actionConfigurations.length; t++) i.internalBinaryWrite(e.actionConfigurations[t], r.tag(2, n.LengthDelimited).fork(), a).join();
46
+ let o = a.writeUnknownFields;
47
+ return o !== !1 && (o == 1 ? t.onWrite : o)(this.typeName, e, r), r;
48
+ }
49
+ }(), y = new class extends l {
50
+ constructor() {
51
+ super("sagittarius.ActionConfigurationUpdateResponse", [{
52
+ no: 1,
53
+ name: "success",
54
+ kind: "scalar",
55
+ T: 8
56
+ }]);
57
+ }
58
+ create(e) {
59
+ let t = globalThis.Object.create(this.messagePrototype);
60
+ return t.success = !1, e !== void 0 && r(this, t, e), t;
61
+ }
62
+ internalBinaryRead(e, n, r, i) {
63
+ let a = i ?? this.create(), o = e.pos + n;
64
+ for (; e.pos < o;) {
65
+ let [n, i] = e.tag();
66
+ switch (n) {
67
+ case 1:
68
+ a.success = e.bool();
69
+ break;
70
+ default:
71
+ let o = r.readUnknownField;
72
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
73
+ let s = e.skip(i);
74
+ o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
75
+ }
76
+ }
77
+ return a;
78
+ }
79
+ internalBinaryWrite(e, r, i) {
80
+ e.success !== !1 && r.tag(1, n.Varint).bool(e.success);
81
+ let a = i.writeUnknownFields;
82
+ return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
83
+ }
84
+ }(), b = new g("sagittarius.ActionConfigurationService", [{
85
+ name: "Update",
86
+ options: {},
87
+ I: v,
88
+ O: y
89
+ }]), ee = class {
90
+ constructor(e) {
91
+ this._transport = e, this.typeName = b.typeName, this.methods = b.methods, this.options = b.options;
92
+ }
93
+ update(e, t) {
94
+ let n = this.methods[0], r = this._transport.mergeOptions(t);
95
+ return _("unary", this._transport, n, r, e);
96
+ }
97
+ }, x = new class extends l {
98
+ constructor() {
99
+ super("sagittarius.DataTypeUpdateRequest", [{
100
+ no: 1,
101
+ name: "data_types",
102
+ kind: "message",
103
+ repeat: 2,
104
+ T: () => a
105
+ }]);
106
+ }
107
+ create(e) {
108
+ let t = globalThis.Object.create(this.messagePrototype);
109
+ return t.dataTypes = [], e !== void 0 && r(this, t, e), t;
110
+ }
111
+ internalBinaryRead(e, n, r, i) {
112
+ let o = i ?? this.create(), s = e.pos + n;
113
+ for (; e.pos < s;) {
114
+ let [n, i] = e.tag();
115
+ switch (n) {
116
+ case 1:
117
+ o.dataTypes.push(a.internalBinaryRead(e, e.uint32(), r));
118
+ break;
119
+ default:
120
+ let s = r.readUnknownField;
121
+ if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
122
+ let c = e.skip(i);
123
+ s !== !1 && (s === !0 ? t.onRead : s)(this.typeName, o, n, i, c);
124
+ }
125
+ }
126
+ return o;
127
+ }
128
+ internalBinaryWrite(e, r, i) {
129
+ for (let t = 0; t < e.dataTypes.length; t++) a.internalBinaryWrite(e.dataTypes[t], r.tag(1, n.LengthDelimited).fork(), i).join();
130
+ let o = i.writeUnknownFields;
131
+ return o !== !1 && (o == 1 ? t.onWrite : o)(this.typeName, e, r), r;
132
+ }
133
+ }(), S = new class extends l {
134
+ constructor() {
135
+ super("sagittarius.DataTypeUpdateResponse", [{
136
+ no: 1,
137
+ name: "success",
138
+ kind: "scalar",
139
+ T: 8
140
+ }]);
141
+ }
142
+ create(e) {
143
+ let t = globalThis.Object.create(this.messagePrototype);
144
+ return t.success = !1, e !== void 0 && r(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.success = e.bool();
153
+ break;
154
+ default:
155
+ let o = r.readUnknownField;
156
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
157
+ let s = e.skip(i);
158
+ o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
159
+ }
160
+ }
161
+ return a;
162
+ }
163
+ internalBinaryWrite(e, r, i) {
164
+ e.success !== !1 && r.tag(1, n.Varint).bool(e.success);
165
+ let a = i.writeUnknownFields;
166
+ return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
167
+ }
168
+ }(), C = new g("sagittarius.DataTypeService", [{
169
+ name: "Update",
170
+ options: {},
171
+ I: x,
172
+ O: S
173
+ }]), te = class {
174
+ constructor(e) {
175
+ this._transport = e, this.typeName = C.typeName, this.methods = C.methods, this.options = C.options;
176
+ }
177
+ update(e, t) {
178
+ let n = this.methods[0], r = this._transport.mergeOptions(t);
179
+ return _("unary", this._transport, n, r, e);
180
+ }
181
+ }, w = new class extends l {
182
+ constructor() {
183
+ super("sagittarius.FlowLogonRequest", []);
184
+ }
185
+ create(e) {
186
+ let t = globalThis.Object.create(this.messagePrototype);
187
+ return e !== void 0 && r(this, t, e), t;
188
+ }
189
+ internalBinaryRead(e, n, r, i) {
190
+ let a = i ?? this.create(), o = e.pos + n;
191
+ for (; e.pos < o;) {
192
+ let [n, i] = e.tag();
193
+ switch (n) {
194
+ default:
195
+ let o = r.readUnknownField;
196
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
197
+ let s = e.skip(i);
198
+ o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
199
+ }
200
+ }
201
+ return a;
202
+ }
203
+ internalBinaryWrite(e, n, r) {
204
+ let i = r.writeUnknownFields;
205
+ return i !== !1 && (i == 1 ? t.onWrite : i)(this.typeName, e, n), n;
206
+ }
207
+ }(), T = new class extends l {
208
+ constructor() {
209
+ super("sagittarius.FlowResponse", [
210
+ {
211
+ no: 1,
212
+ name: "updated_flow",
213
+ kind: "message",
214
+ oneof: "data",
215
+ T: () => m
216
+ },
217
+ {
218
+ no: 2,
219
+ name: "deleted_flow_id",
220
+ kind: "scalar",
221
+ oneof: "data",
222
+ T: 3,
223
+ L: 0
224
+ },
225
+ {
226
+ no: 3,
227
+ name: "flows",
228
+ kind: "message",
229
+ oneof: "data",
230
+ T: () => h
231
+ },
232
+ {
233
+ no: 4,
234
+ name: "action_configurations",
235
+ kind: "message",
236
+ oneof: "data",
237
+ T: () => e
238
+ }
239
+ ]);
240
+ }
241
+ create(e) {
242
+ let t = globalThis.Object.create(this.messagePrototype);
243
+ return t.data = { oneofKind: void 0 }, e !== void 0 && r(this, t, e), t;
244
+ }
245
+ internalBinaryRead(n, r, i, a) {
246
+ let o = a ?? this.create(), s = n.pos + r;
247
+ for (; n.pos < s;) {
248
+ let [r, a] = n.tag();
249
+ switch (r) {
250
+ case 1:
251
+ o.data = {
252
+ oneofKind: "updatedFlow",
253
+ updatedFlow: m.internalBinaryRead(n, n.uint32(), i, o.data.updatedFlow)
254
+ };
255
+ break;
256
+ case 2:
257
+ o.data = {
258
+ oneofKind: "deletedFlowId",
259
+ deletedFlowId: n.int64().toBigInt()
260
+ };
261
+ break;
262
+ case 3:
263
+ o.data = {
264
+ oneofKind: "flows",
265
+ flows: h.internalBinaryRead(n, n.uint32(), i, o.data.flows)
266
+ };
267
+ break;
268
+ case 4:
269
+ o.data = {
270
+ oneofKind: "actionConfigurations",
271
+ actionConfigurations: e.internalBinaryRead(n, n.uint32(), i, o.data.actionConfigurations)
272
+ };
273
+ break;
274
+ default:
275
+ let s = i.readUnknownField;
276
+ if (s === "throw") throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);
277
+ let c = n.skip(a);
278
+ s !== !1 && (s === !0 ? t.onRead : s)(this.typeName, o, r, a, c);
279
+ }
280
+ }
281
+ return o;
282
+ }
283
+ internalBinaryWrite(r, i, a) {
284
+ r.data.oneofKind === "updatedFlow" && m.internalBinaryWrite(r.data.updatedFlow, i.tag(1, n.LengthDelimited).fork(), a).join(), r.data.oneofKind === "deletedFlowId" && i.tag(2, n.Varint).int64(r.data.deletedFlowId), r.data.oneofKind === "flows" && h.internalBinaryWrite(r.data.flows, i.tag(3, n.LengthDelimited).fork(), a).join(), r.data.oneofKind === "actionConfigurations" && e.internalBinaryWrite(r.data.actionConfigurations, i.tag(4, n.LengthDelimited).fork(), a).join();
285
+ let o = a.writeUnknownFields;
286
+ return o !== !1 && (o == 1 ? t.onWrite : o)(this.typeName, r, i), i;
287
+ }
288
+ }(), E = new g("sagittarius.FlowService", [{
289
+ name: "Update",
290
+ serverStreaming: !0,
291
+ options: {},
292
+ I: w,
293
+ O: T
294
+ }]), ne = class {
295
+ constructor(e) {
296
+ this._transport = e, this.typeName = E.typeName, this.methods = E.methods, this.options = E.options;
297
+ }
298
+ update(e, t) {
299
+ let n = this.methods[0], r = this._transport.mergeOptions(t);
300
+ return _("serverStreaming", this._transport, n, r, e);
301
+ }
302
+ }, D = new class extends l {
303
+ constructor() {
304
+ super("sagittarius.FlowTypeUpdateRequest", [{
305
+ no: 1,
306
+ name: "flow_types",
307
+ kind: "message",
308
+ repeat: 2,
309
+ T: () => c
310
+ }]);
311
+ }
312
+ create(e) {
313
+ let t = globalThis.Object.create(this.messagePrototype);
314
+ return t.flowTypes = [], e !== void 0 && r(this, t, e), t;
315
+ }
316
+ internalBinaryRead(e, n, r, i) {
317
+ let a = i ?? this.create(), o = e.pos + n;
318
+ for (; e.pos < o;) {
319
+ let [n, i] = e.tag();
320
+ switch (n) {
321
+ case 1:
322
+ a.flowTypes.push(c.internalBinaryRead(e, e.uint32(), r));
323
+ break;
324
+ default:
325
+ let o = r.readUnknownField;
326
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
327
+ let s = e.skip(i);
328
+ o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
329
+ }
330
+ }
331
+ return a;
332
+ }
333
+ internalBinaryWrite(e, r, i) {
334
+ for (let t = 0; t < e.flowTypes.length; t++) c.internalBinaryWrite(e.flowTypes[t], r.tag(1, n.LengthDelimited).fork(), i).join();
335
+ let a = i.writeUnknownFields;
336
+ return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
337
+ }
338
+ }(), O = new class extends l {
339
+ constructor() {
340
+ super("sagittarius.FlowTypeUpdateResponse", [{
341
+ no: 1,
342
+ name: "success",
343
+ kind: "scalar",
344
+ T: 8
345
+ }]);
346
+ }
347
+ create(e) {
348
+ let t = globalThis.Object.create(this.messagePrototype);
349
+ return t.success = !1, e !== void 0 && r(this, t, e), t;
350
+ }
351
+ internalBinaryRead(e, n, r, i) {
352
+ let a = i ?? this.create(), o = e.pos + n;
353
+ for (; e.pos < o;) {
354
+ let [n, i] = e.tag();
355
+ switch (n) {
356
+ case 1:
357
+ a.success = e.bool();
358
+ break;
359
+ default:
360
+ let o = r.readUnknownField;
361
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
362
+ let s = e.skip(i);
363
+ o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
364
+ }
365
+ }
366
+ return a;
367
+ }
368
+ internalBinaryWrite(e, r, i) {
369
+ e.success !== !1 && r.tag(1, n.Varint).bool(e.success);
370
+ let a = i.writeUnknownFields;
371
+ return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
372
+ }
373
+ }(), k = new g("sagittarius.FlowTypeService", [{
374
+ name: "Update",
375
+ options: {},
376
+ I: D,
377
+ O
378
+ }]), re = class {
379
+ constructor(e) {
380
+ this._transport = e, this.typeName = k.typeName, this.methods = k.methods, this.options = k.options;
381
+ }
382
+ update(e, t) {
383
+ let n = this.methods[0], r = this._transport.mergeOptions(t);
384
+ return _("unary", this._transport, n, r, e);
385
+ }
386
+ }, A = new class extends l {
387
+ constructor() {
388
+ super("sagittarius.FunctionDefinitionUpdateRequest", [{
389
+ no: 1,
390
+ name: "functions",
391
+ kind: "message",
392
+ repeat: 2,
393
+ T: () => p
394
+ }]);
395
+ }
396
+ create(e) {
397
+ let t = globalThis.Object.create(this.messagePrototype);
398
+ return t.functions = [], e !== void 0 && r(this, t, e), t;
399
+ }
400
+ internalBinaryRead(e, n, r, i) {
401
+ let a = i ?? this.create(), o = e.pos + n;
402
+ for (; e.pos < o;) {
403
+ let [n, i] = e.tag();
404
+ switch (n) {
405
+ case 1:
406
+ a.functions.push(p.internalBinaryRead(e, e.uint32(), r));
407
+ break;
408
+ default:
409
+ let o = r.readUnknownField;
410
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
411
+ let s = e.skip(i);
412
+ o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
413
+ }
414
+ }
415
+ return a;
416
+ }
417
+ internalBinaryWrite(e, r, i) {
418
+ for (let t = 0; t < e.functions.length; t++) p.internalBinaryWrite(e.functions[t], r.tag(1, n.LengthDelimited).fork(), i).join();
419
+ let a = i.writeUnknownFields;
420
+ return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
421
+ }
422
+ }(), j = new class extends l {
423
+ constructor() {
424
+ super("sagittarius.FunctionDefinitionUpdateResponse", [{
425
+ no: 1,
426
+ name: "success",
427
+ kind: "scalar",
428
+ T: 8
429
+ }]);
430
+ }
431
+ create(e) {
432
+ let t = globalThis.Object.create(this.messagePrototype);
433
+ return t.success = !1, e !== void 0 && r(this, t, e), t;
434
+ }
435
+ internalBinaryRead(e, n, r, i) {
436
+ let a = i ?? this.create(), o = e.pos + n;
437
+ for (; e.pos < o;) {
438
+ let [n, i] = e.tag();
439
+ switch (n) {
440
+ case 1:
441
+ a.success = e.bool();
442
+ break;
443
+ default:
444
+ let o = r.readUnknownField;
445
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
446
+ let s = e.skip(i);
447
+ o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
448
+ }
449
+ }
450
+ return a;
451
+ }
452
+ internalBinaryWrite(e, r, i) {
453
+ e.success !== !1 && r.tag(1, n.Varint).bool(e.success);
454
+ let a = i.writeUnknownFields;
455
+ return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
456
+ }
457
+ }(), M = new g("sagittarius.FunctionDefinitionService", [{
458
+ name: "Update",
459
+ options: {},
460
+ I: A,
461
+ O: j
462
+ }]), ie = class {
463
+ constructor(e) {
464
+ this._transport = e, this.typeName = M.typeName, this.methods = M.methods, this.options = M.options;
465
+ }
466
+ update(e, t) {
467
+ let n = this.methods[0], r = this._transport.mergeOptions(t);
468
+ return _("unary", this._transport, n, r, e);
469
+ }
470
+ }, N = new class extends l {
471
+ constructor() {
472
+ super("sagittarius.PingMessage", [{
473
+ no: 1,
474
+ name: "ping_id",
475
+ kind: "scalar",
476
+ T: 3,
477
+ L: 0
478
+ }]);
479
+ }
480
+ create(e) {
481
+ let t = globalThis.Object.create(this.messagePrototype);
482
+ return t.pingId = 0n, e !== void 0 && r(this, t, e), t;
483
+ }
484
+ internalBinaryRead(e, n, r, i) {
485
+ let a = i ?? this.create(), o = e.pos + n;
486
+ for (; e.pos < o;) {
487
+ let [n, i] = e.tag();
488
+ switch (n) {
489
+ case 1:
490
+ a.pingId = e.int64().toBigInt();
491
+ break;
492
+ default:
493
+ let o = r.readUnknownField;
494
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
495
+ let s = e.skip(i);
496
+ o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
497
+ }
498
+ }
499
+ return a;
500
+ }
501
+ internalBinaryWrite(e, r, i) {
502
+ e.pingId !== 0n && r.tag(1, n.Varint).int64(e.pingId);
503
+ let a = i.writeUnknownFields;
504
+ return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
505
+ }
506
+ }(), P = new g("sagittarius.PingService", [{
507
+ name: "Ping",
508
+ options: {},
509
+ I: N,
510
+ O: N
511
+ }]), ae = class {
512
+ constructor(e) {
513
+ this._transport = e, this.typeName = P.typeName, this.methods = P.methods, this.options = P.options;
514
+ }
515
+ ping(e, t) {
516
+ let n = this.methods[0], r = this._transport.mergeOptions(t);
517
+ return _("unary", this._transport, n, r, e);
518
+ }
519
+ }, F = new class extends l {
520
+ constructor() {
521
+ super("sagittarius.RuntimeFunctionDefinitionUpdateRequest", [{
522
+ no: 1,
523
+ name: "runtime_functions",
524
+ kind: "message",
525
+ repeat: 2,
526
+ T: () => s
527
+ }]);
528
+ }
529
+ create(e) {
530
+ let t = globalThis.Object.create(this.messagePrototype);
531
+ return t.runtimeFunctions = [], e !== void 0 && r(this, t, e), t;
532
+ }
533
+ internalBinaryRead(e, n, r, i) {
534
+ let a = i ?? this.create(), o = e.pos + n;
535
+ for (; e.pos < o;) {
536
+ let [n, i] = e.tag();
537
+ switch (n) {
538
+ case 1:
539
+ a.runtimeFunctions.push(s.internalBinaryRead(e, e.uint32(), r));
540
+ break;
541
+ default:
542
+ let o = r.readUnknownField;
543
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
544
+ let c = e.skip(i);
545
+ o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, c);
546
+ }
547
+ }
548
+ return a;
549
+ }
550
+ internalBinaryWrite(e, r, i) {
551
+ for (let t = 0; t < e.runtimeFunctions.length; t++) s.internalBinaryWrite(e.runtimeFunctions[t], r.tag(1, n.LengthDelimited).fork(), i).join();
552
+ let a = i.writeUnknownFields;
553
+ return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
554
+ }
555
+ }(), I = new class extends l {
556
+ constructor() {
557
+ super("sagittarius.RuntimeFunctionDefinitionUpdateResponse", [{
558
+ no: 1,
559
+ name: "success",
560
+ kind: "scalar",
561
+ T: 8
562
+ }]);
563
+ }
564
+ create(e) {
565
+ let t = globalThis.Object.create(this.messagePrototype);
566
+ return t.success = !1, e !== void 0 && r(this, t, e), t;
567
+ }
568
+ internalBinaryRead(e, n, r, i) {
569
+ let a = i ?? this.create(), o = e.pos + n;
570
+ for (; e.pos < o;) {
571
+ let [n, i] = e.tag();
572
+ switch (n) {
573
+ case 1:
574
+ a.success = e.bool();
575
+ break;
576
+ default:
577
+ let o = r.readUnknownField;
578
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
579
+ let s = e.skip(i);
580
+ o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
581
+ }
582
+ }
583
+ return a;
584
+ }
585
+ internalBinaryWrite(e, r, i) {
586
+ e.success !== !1 && r.tag(1, n.Varint).bool(e.success);
587
+ let a = i.writeUnknownFields;
588
+ return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
589
+ }
590
+ }(), L = new g("sagittarius.RuntimeFunctionDefinitionService", [{
591
+ name: "Update",
592
+ options: {},
593
+ I: F,
594
+ O: I
595
+ }]), oe = class {
596
+ constructor(e) {
597
+ this._transport = e, this.typeName = L.typeName, this.methods = L.methods, this.options = L.options;
598
+ }
599
+ update(e, t) {
600
+ let n = this.methods[0], r = this._transport.mergeOptions(t);
601
+ return _("unary", this._transport, n, r, e);
602
+ }
603
+ }, R = new class extends l {
604
+ constructor() {
605
+ super("sagittarius.RuntimeStatusUpdateRequest", [{
606
+ no: 1,
607
+ name: "adapter_runtime_status",
608
+ kind: "message",
609
+ oneof: "status",
610
+ T: () => d
611
+ }, {
612
+ no: 2,
613
+ name: "execution_runtime_status",
614
+ kind: "message",
615
+ oneof: "status",
616
+ T: () => o
617
+ }]);
618
+ }
619
+ create(e) {
620
+ let t = globalThis.Object.create(this.messagePrototype);
621
+ return t.status = { oneofKind: void 0 }, e !== void 0 && r(this, t, e), t;
622
+ }
623
+ internalBinaryRead(e, n, r, i) {
624
+ let a = i ?? this.create(), s = e.pos + n;
625
+ for (; e.pos < s;) {
626
+ let [n, i] = e.tag();
627
+ switch (n) {
628
+ case 1:
629
+ a.status = {
630
+ oneofKind: "adapterRuntimeStatus",
631
+ adapterRuntimeStatus: d.internalBinaryRead(e, e.uint32(), r, a.status.adapterRuntimeStatus)
632
+ };
633
+ break;
634
+ case 2:
635
+ a.status = {
636
+ oneofKind: "executionRuntimeStatus",
637
+ executionRuntimeStatus: o.internalBinaryRead(e, e.uint32(), r, a.status.executionRuntimeStatus)
638
+ };
639
+ break;
640
+ default:
641
+ let s = r.readUnknownField;
642
+ if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
643
+ let c = e.skip(i);
644
+ s !== !1 && (s === !0 ? t.onRead : s)(this.typeName, a, n, i, c);
645
+ }
646
+ }
647
+ return a;
648
+ }
649
+ internalBinaryWrite(e, r, i) {
650
+ e.status.oneofKind === "adapterRuntimeStatus" && d.internalBinaryWrite(e.status.adapterRuntimeStatus, r.tag(1, n.LengthDelimited).fork(), i).join(), e.status.oneofKind === "executionRuntimeStatus" && o.internalBinaryWrite(e.status.executionRuntimeStatus, r.tag(2, n.LengthDelimited).fork(), i).join();
651
+ let a = i.writeUnknownFields;
652
+ return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
653
+ }
654
+ }(), z = new class extends l {
655
+ constructor() {
656
+ super("sagittarius.RuntimeStatusUpdateResponse", [{
657
+ no: 1,
658
+ name: "success",
659
+ kind: "scalar",
660
+ T: 8
661
+ }]);
662
+ }
663
+ create(e) {
664
+ let t = globalThis.Object.create(this.messagePrototype);
665
+ return t.success = !1, e !== void 0 && r(this, t, e), t;
666
+ }
667
+ internalBinaryRead(e, n, r, i) {
668
+ let a = i ?? this.create(), o = e.pos + n;
669
+ for (; e.pos < o;) {
670
+ let [n, i] = e.tag();
671
+ switch (n) {
672
+ case 1:
673
+ a.success = e.bool();
674
+ break;
675
+ default:
676
+ let o = r.readUnknownField;
677
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
678
+ let s = e.skip(i);
679
+ o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
680
+ }
681
+ }
682
+ return a;
683
+ }
684
+ internalBinaryWrite(e, r, i) {
685
+ e.success !== !1 && r.tag(1, n.Varint).bool(e.success);
686
+ let a = i.writeUnknownFields;
687
+ return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
688
+ }
689
+ }(), B = new g("sagittarius.RuntimeStatusService", [{
690
+ name: "Update",
691
+ options: {},
692
+ I: R,
693
+ O: z
694
+ }]), se = class {
695
+ constructor(e) {
696
+ this._transport = e, this.typeName = B.typeName, this.methods = B.methods, this.options = B.options;
697
+ }
698
+ update(e, t) {
699
+ let n = this.methods[0], r = this._transport.mergeOptions(t);
700
+ return _("unary", this._transport, n, r, e);
701
+ }
702
+ }, V = new class extends l {
703
+ constructor() {
704
+ super("sagittarius.RuntimeUsageRequest", [{
705
+ no: 1,
706
+ name: "runtime_usage",
707
+ kind: "message",
708
+ repeat: 2,
709
+ T: () => f
710
+ }]);
711
+ }
712
+ create(e) {
713
+ let t = globalThis.Object.create(this.messagePrototype);
714
+ return t.runtimeUsage = [], e !== void 0 && r(this, t, e), t;
715
+ }
716
+ internalBinaryRead(e, n, r, i) {
717
+ let a = i ?? this.create(), o = e.pos + n;
718
+ for (; e.pos < o;) {
719
+ let [n, i] = e.tag();
720
+ switch (n) {
721
+ case 1:
722
+ a.runtimeUsage.push(f.internalBinaryRead(e, e.uint32(), r));
723
+ break;
724
+ default:
725
+ let o = r.readUnknownField;
726
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
727
+ let s = e.skip(i);
728
+ o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
729
+ }
730
+ }
731
+ return a;
732
+ }
733
+ internalBinaryWrite(e, r, i) {
734
+ for (let t = 0; t < e.runtimeUsage.length; t++) f.internalBinaryWrite(e.runtimeUsage[t], r.tag(1, n.LengthDelimited).fork(), i).join();
735
+ let a = i.writeUnknownFields;
736
+ return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
737
+ }
738
+ }(), H = new class extends l {
739
+ constructor() {
740
+ super("sagittarius.RuntimeUsageResponse", [{
741
+ no: 1,
742
+ name: "success",
743
+ kind: "scalar",
744
+ T: 8
745
+ }]);
746
+ }
747
+ create(e) {
748
+ let t = globalThis.Object.create(this.messagePrototype);
749
+ return t.success = !1, e !== void 0 && r(this, t, e), t;
750
+ }
751
+ internalBinaryRead(e, n, r, i) {
752
+ let a = i ?? this.create(), o = e.pos + n;
753
+ for (; e.pos < o;) {
754
+ let [n, i] = e.tag();
755
+ switch (n) {
756
+ case 1:
757
+ a.success = e.bool();
758
+ break;
759
+ default:
760
+ let o = r.readUnknownField;
761
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
762
+ let s = e.skip(i);
763
+ o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
764
+ }
765
+ }
766
+ return a;
767
+ }
768
+ internalBinaryWrite(e, r, i) {
769
+ e.success !== !1 && r.tag(1, n.Varint).bool(e.success);
770
+ let a = i.writeUnknownFields;
771
+ return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
772
+ }
773
+ }(), U = new g("sagittarius.RuntimeUsageService", [{
774
+ name: "Update",
775
+ options: {},
776
+ I: V,
777
+ O: H
778
+ }]), ce = class {
779
+ constructor(e) {
780
+ this._transport = e, this.typeName = U.typeName, this.methods = U.methods, this.options = U.options;
781
+ }
782
+ update(e, t) {
783
+ let n = this.methods[0], r = this._transport.mergeOptions(t);
784
+ return _("unary", this._transport, n, r, e);
785
+ }
786
+ }, W = new class extends l {
787
+ constructor() {
788
+ super("sagittarius.Logon", []);
789
+ }
790
+ create(e) {
791
+ let t = globalThis.Object.create(this.messagePrototype);
792
+ return e !== void 0 && r(this, t, e), t;
793
+ }
794
+ internalBinaryRead(e, n, r, i) {
795
+ let a = i ?? this.create(), o = e.pos + n;
796
+ for (; e.pos < o;) {
797
+ let [n, i] = e.tag();
798
+ switch (n) {
799
+ default:
800
+ let o = r.readUnknownField;
801
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
802
+ let s = e.skip(i);
803
+ o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
804
+ }
805
+ }
806
+ return a;
807
+ }
808
+ internalBinaryWrite(e, n, r) {
809
+ let i = r.writeUnknownFields;
810
+ return i !== !1 && (i == 1 ? t.onWrite : i)(this.typeName, e, n), n;
811
+ }
812
+ }(), G = new class extends l {
813
+ constructor() {
814
+ super("sagittarius.TestExecutionRequest", [
815
+ {
816
+ no: 1,
817
+ name: "flow_id",
818
+ kind: "scalar",
819
+ T: 3,
820
+ L: 0
821
+ },
822
+ {
823
+ no: 2,
824
+ name: "execution_uuid",
825
+ kind: "scalar",
826
+ T: 9
827
+ },
828
+ {
829
+ no: 3,
830
+ name: "body",
831
+ kind: "message",
832
+ T: () => u
833
+ }
834
+ ]);
835
+ }
836
+ create(e) {
837
+ let t = globalThis.Object.create(this.messagePrototype);
838
+ return t.flowId = 0n, t.executionUuid = "", e !== void 0 && r(this, t, e), t;
839
+ }
840
+ internalBinaryRead(e, n, r, i) {
841
+ let a = i ?? this.create(), o = e.pos + n;
842
+ for (; e.pos < o;) {
843
+ let [n, i] = e.tag();
844
+ switch (n) {
845
+ case 1:
846
+ a.flowId = e.int64().toBigInt();
847
+ break;
848
+ case 2:
849
+ a.executionUuid = e.string();
850
+ break;
851
+ case 3:
852
+ a.body = u.internalBinaryRead(e, e.uint32(), r, a.body);
853
+ break;
854
+ default:
855
+ let o = r.readUnknownField;
856
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
857
+ let s = e.skip(i);
858
+ o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
859
+ }
860
+ }
861
+ return a;
862
+ }
863
+ internalBinaryWrite(e, r, i) {
864
+ e.flowId !== 0n && r.tag(1, n.Varint).int64(e.flowId), e.executionUuid !== "" && r.tag(2, n.LengthDelimited).string(e.executionUuid), e.body && u.internalBinaryWrite(e.body, r.tag(3, n.LengthDelimited).fork(), i).join();
865
+ let a = i.writeUnknownFields;
866
+ return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
867
+ }
868
+ }(), K = new class extends l {
869
+ constructor() {
870
+ super("sagittarius.TestExecutionResponse", [
871
+ {
872
+ no: 1,
873
+ name: "flow_id",
874
+ kind: "scalar",
875
+ T: 3,
876
+ L: 0
877
+ },
878
+ {
879
+ no: 2,
880
+ name: "execution_uuid",
881
+ kind: "scalar",
882
+ T: 9
883
+ },
884
+ {
885
+ no: 3,
886
+ name: "result",
887
+ kind: "message",
888
+ T: () => u
889
+ },
890
+ {
891
+ no: 4,
892
+ name: "logs",
893
+ kind: "message",
894
+ repeat: 2,
895
+ T: () => q
896
+ }
897
+ ]);
898
+ }
899
+ create(e) {
900
+ let t = globalThis.Object.create(this.messagePrototype);
901
+ return t.flowId = 0n, t.executionUuid = "", t.logs = [], e !== void 0 && r(this, t, e), t;
902
+ }
903
+ internalBinaryRead(e, n, r, i) {
904
+ let a = i ?? this.create(), o = e.pos + n;
905
+ for (; e.pos < o;) {
906
+ let [n, i] = e.tag();
907
+ switch (n) {
908
+ case 1:
909
+ a.flowId = e.int64().toBigInt();
910
+ break;
911
+ case 2:
912
+ a.executionUuid = e.string();
913
+ break;
914
+ case 3:
915
+ a.result = u.internalBinaryRead(e, e.uint32(), r, a.result);
916
+ break;
917
+ case 4:
918
+ a.logs.push(q.internalBinaryRead(e, e.uint32(), r));
919
+ break;
920
+ default:
921
+ let o = r.readUnknownField;
922
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
923
+ let s = e.skip(i);
924
+ o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
925
+ }
926
+ }
927
+ return a;
928
+ }
929
+ internalBinaryWrite(e, r, i) {
930
+ e.flowId !== 0n && r.tag(1, n.Varint).int64(e.flowId), e.executionUuid !== "" && r.tag(2, n.LengthDelimited).string(e.executionUuid), e.result && u.internalBinaryWrite(e.result, r.tag(3, n.LengthDelimited).fork(), i).join();
931
+ for (let t = 0; t < e.logs.length; t++) q.internalBinaryWrite(e.logs[t], r.tag(4, n.LengthDelimited).fork(), i).join();
932
+ let a = i.writeUnknownFields;
933
+ return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
934
+ }
935
+ }(), q = new class extends l {
936
+ constructor() {
937
+ super("sagittarius.Log", [
938
+ {
939
+ no: 1,
940
+ name: "application_log",
941
+ kind: "message",
942
+ oneof: "kind",
943
+ T: () => X
944
+ },
945
+ {
946
+ no: 2,
947
+ name: "success_log",
948
+ kind: "message",
949
+ oneof: "kind",
950
+ T: () => J
951
+ },
952
+ {
953
+ no: 3,
954
+ name: "error_log",
955
+ kind: "message",
956
+ oneof: "kind",
957
+ T: () => Y
958
+ }
959
+ ]);
960
+ }
961
+ create(e) {
962
+ let t = globalThis.Object.create(this.messagePrototype);
963
+ return t.kind = { oneofKind: void 0 }, e !== void 0 && r(this, t, e), t;
964
+ }
965
+ internalBinaryRead(e, n, r, i) {
966
+ let a = i ?? this.create(), o = e.pos + n;
967
+ for (; e.pos < o;) {
968
+ let [n, i] = e.tag();
969
+ switch (n) {
970
+ case 1:
971
+ a.kind = {
972
+ oneofKind: "applicationLog",
973
+ applicationLog: X.internalBinaryRead(e, e.uint32(), r, a.kind.applicationLog)
974
+ };
975
+ break;
976
+ case 2:
977
+ a.kind = {
978
+ oneofKind: "successLog",
979
+ successLog: J.internalBinaryRead(e, e.uint32(), r, a.kind.successLog)
980
+ };
981
+ break;
982
+ case 3:
983
+ a.kind = {
984
+ oneofKind: "errorLog",
985
+ errorLog: Y.internalBinaryRead(e, e.uint32(), r, a.kind.errorLog)
986
+ };
987
+ break;
988
+ default:
989
+ let o = r.readUnknownField;
990
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
991
+ let s = e.skip(i);
992
+ o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
993
+ }
994
+ }
995
+ return a;
996
+ }
997
+ internalBinaryWrite(e, r, i) {
998
+ e.kind.oneofKind === "applicationLog" && X.internalBinaryWrite(e.kind.applicationLog, r.tag(1, n.LengthDelimited).fork(), i).join(), e.kind.oneofKind === "successLog" && J.internalBinaryWrite(e.kind.successLog, r.tag(2, n.LengthDelimited).fork(), i).join(), e.kind.oneofKind === "errorLog" && Y.internalBinaryWrite(e.kind.errorLog, r.tag(3, n.LengthDelimited).fork(), i).join();
999
+ let a = i.writeUnknownFields;
1000
+ return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
1001
+ }
1002
+ }(), J = new class extends l {
1003
+ constructor() {
1004
+ super("sagittarius.SuccessLog", [
1005
+ {
1006
+ no: 1,
1007
+ name: "node_id",
1008
+ kind: "scalar",
1009
+ T: 3,
1010
+ L: 0
1011
+ },
1012
+ {
1013
+ no: 2,
1014
+ name: "result",
1015
+ kind: "message",
1016
+ T: () => u
1017
+ },
1018
+ {
1019
+ no: 3,
1020
+ name: "parameter",
1021
+ kind: "message",
1022
+ repeat: 2,
1023
+ T: () => u
1024
+ },
1025
+ {
1026
+ no: 4,
1027
+ name: "timestamp",
1028
+ kind: "scalar",
1029
+ T: 9
1030
+ }
1031
+ ]);
1032
+ }
1033
+ create(e) {
1034
+ let t = globalThis.Object.create(this.messagePrototype);
1035
+ return t.nodeId = 0n, t.parameter = [], t.timestamp = "", e !== void 0 && r(this, t, e), t;
1036
+ }
1037
+ internalBinaryRead(e, n, r, i) {
1038
+ let a = i ?? this.create(), o = e.pos + n;
1039
+ for (; e.pos < o;) {
1040
+ let [n, i] = e.tag();
1041
+ switch (n) {
1042
+ case 1:
1043
+ a.nodeId = e.int64().toBigInt();
1044
+ break;
1045
+ case 2:
1046
+ a.result = u.internalBinaryRead(e, e.uint32(), r, a.result);
1047
+ break;
1048
+ case 3:
1049
+ a.parameter.push(u.internalBinaryRead(e, e.uint32(), r));
1050
+ break;
1051
+ case 4:
1052
+ a.timestamp = e.string();
1053
+ break;
1054
+ default:
1055
+ let o = r.readUnknownField;
1056
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
1057
+ let s = e.skip(i);
1058
+ o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
1059
+ }
1060
+ }
1061
+ return a;
1062
+ }
1063
+ internalBinaryWrite(e, r, i) {
1064
+ e.nodeId !== 0n && r.tag(1, n.Varint).int64(e.nodeId), e.result && u.internalBinaryWrite(e.result, r.tag(2, n.LengthDelimited).fork(), i).join();
1065
+ for (let t = 0; t < e.parameter.length; t++) u.internalBinaryWrite(e.parameter[t], r.tag(3, n.LengthDelimited).fork(), i).join();
1066
+ e.timestamp !== "" && r.tag(4, n.LengthDelimited).string(e.timestamp);
1067
+ let a = i.writeUnknownFields;
1068
+ return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
1069
+ }
1070
+ }(), Y = new class extends l {
1071
+ constructor() {
1072
+ super("sagittarius.RuntimeErrorLog", [
1073
+ {
1074
+ no: 1,
1075
+ name: "node_id",
1076
+ kind: "scalar",
1077
+ T: 3,
1078
+ L: 0
1079
+ },
1080
+ {
1081
+ no: 2,
1082
+ name: "error",
1083
+ kind: "scalar",
1084
+ T: 9
1085
+ },
1086
+ {
1087
+ no: 3,
1088
+ name: "parameter",
1089
+ kind: "message",
1090
+ repeat: 2,
1091
+ T: () => u
1092
+ },
1093
+ {
1094
+ no: 4,
1095
+ name: "timestamp",
1096
+ kind: "scalar",
1097
+ T: 9
1098
+ }
1099
+ ]);
1100
+ }
1101
+ create(e) {
1102
+ let t = globalThis.Object.create(this.messagePrototype);
1103
+ return t.nodeId = 0n, t.error = "", t.parameter = [], t.timestamp = "", e !== void 0 && r(this, t, e), t;
1104
+ }
1105
+ internalBinaryRead(e, n, r, i) {
1106
+ let a = i ?? this.create(), o = e.pos + n;
1107
+ for (; e.pos < o;) {
1108
+ let [n, i] = e.tag();
1109
+ switch (n) {
1110
+ case 1:
1111
+ a.nodeId = e.int64().toBigInt();
1112
+ break;
1113
+ case 2:
1114
+ a.error = e.string();
1115
+ break;
1116
+ case 3:
1117
+ a.parameter.push(u.internalBinaryRead(e, e.uint32(), r));
1118
+ break;
1119
+ case 4:
1120
+ a.timestamp = e.string();
1121
+ break;
1122
+ default:
1123
+ let o = r.readUnknownField;
1124
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
1125
+ let s = e.skip(i);
1126
+ o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
1127
+ }
1128
+ }
1129
+ return a;
1130
+ }
1131
+ internalBinaryWrite(e, r, i) {
1132
+ e.nodeId !== 0n && r.tag(1, n.Varint).int64(e.nodeId), e.error !== "" && r.tag(2, n.LengthDelimited).string(e.error);
1133
+ for (let t = 0; t < e.parameter.length; t++) u.internalBinaryWrite(e.parameter[t], r.tag(3, n.LengthDelimited).fork(), i).join();
1134
+ e.timestamp !== "" && r.tag(4, n.LengthDelimited).string(e.timestamp);
1135
+ let a = i.writeUnknownFields;
1136
+ return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
1137
+ }
1138
+ }(), X = new class extends l {
1139
+ constructor() {
1140
+ super("sagittarius.ApplicationLog", [
1141
+ {
1142
+ no: 1,
1143
+ name: "message",
1144
+ kind: "scalar",
1145
+ T: 9
1146
+ },
1147
+ {
1148
+ no: 2,
1149
+ name: "level",
1150
+ kind: "scalar",
1151
+ T: 9
1152
+ },
1153
+ {
1154
+ no: 3,
1155
+ name: "timestamp",
1156
+ kind: "scalar",
1157
+ T: 9
1158
+ }
1159
+ ]);
1160
+ }
1161
+ create(e) {
1162
+ let t = globalThis.Object.create(this.messagePrototype);
1163
+ return t.message = "", t.level = "", t.timestamp = "", e !== void 0 && r(this, t, e), t;
1164
+ }
1165
+ internalBinaryRead(e, n, r, i) {
1166
+ let a = i ?? this.create(), o = e.pos + n;
1167
+ for (; e.pos < o;) {
1168
+ let [n, i] = e.tag();
1169
+ switch (n) {
1170
+ case 1:
1171
+ a.message = e.string();
1172
+ break;
1173
+ case 2:
1174
+ a.level = e.string();
1175
+ break;
1176
+ case 3:
1177
+ a.timestamp = e.string();
1178
+ break;
1179
+ default:
1180
+ let o = r.readUnknownField;
1181
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
1182
+ let s = e.skip(i);
1183
+ o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
1184
+ }
1185
+ }
1186
+ return a;
1187
+ }
1188
+ internalBinaryWrite(e, r, i) {
1189
+ e.message !== "" && r.tag(1, n.LengthDelimited).string(e.message), e.level !== "" && r.tag(2, n.LengthDelimited).string(e.level), e.timestamp !== "" && r.tag(3, n.LengthDelimited).string(e.timestamp);
1190
+ let a = i.writeUnknownFields;
1191
+ return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
1192
+ }
1193
+ }(), Z = new class extends l {
1194
+ constructor() {
1195
+ super("sagittarius.ExecutionLogonRequest", [{
1196
+ no: 1,
1197
+ name: "logon",
1198
+ kind: "message",
1199
+ oneof: "data",
1200
+ T: () => W
1201
+ }, {
1202
+ no: 2,
1203
+ name: "response",
1204
+ kind: "message",
1205
+ oneof: "data",
1206
+ T: () => K
1207
+ }]);
1208
+ }
1209
+ create(e) {
1210
+ let t = globalThis.Object.create(this.messagePrototype);
1211
+ return t.data = { oneofKind: void 0 }, e !== void 0 && r(this, t, e), t;
1212
+ }
1213
+ internalBinaryRead(e, n, r, i) {
1214
+ let a = i ?? this.create(), o = e.pos + n;
1215
+ for (; e.pos < o;) {
1216
+ let [n, i] = e.tag();
1217
+ switch (n) {
1218
+ case 1:
1219
+ a.data = {
1220
+ oneofKind: "logon",
1221
+ logon: W.internalBinaryRead(e, e.uint32(), r, a.data.logon)
1222
+ };
1223
+ break;
1224
+ case 2:
1225
+ a.data = {
1226
+ oneofKind: "response",
1227
+ response: K.internalBinaryRead(e, e.uint32(), r, a.data.response)
1228
+ };
1229
+ break;
1230
+ default:
1231
+ let o = r.readUnknownField;
1232
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
1233
+ let s = e.skip(i);
1234
+ o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
1235
+ }
1236
+ }
1237
+ return a;
1238
+ }
1239
+ internalBinaryWrite(e, r, i) {
1240
+ e.data.oneofKind === "logon" && W.internalBinaryWrite(e.data.logon, r.tag(1, n.LengthDelimited).fork(), i).join(), e.data.oneofKind === "response" && K.internalBinaryWrite(e.data.response, r.tag(2, n.LengthDelimited).fork(), i).join();
1241
+ let a = i.writeUnknownFields;
1242
+ return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
1243
+ }
1244
+ }(), Q = new class extends l {
1245
+ constructor() {
1246
+ super("sagittarius.ExecutionLogonResponse", [{
1247
+ no: 1,
1248
+ name: "request",
1249
+ kind: "message",
1250
+ T: () => G
1251
+ }]);
1252
+ }
1253
+ create(e) {
1254
+ let t = globalThis.Object.create(this.messagePrototype);
1255
+ return e !== void 0 && r(this, t, e), t;
1256
+ }
1257
+ internalBinaryRead(e, n, r, i) {
1258
+ let a = i ?? this.create(), o = e.pos + n;
1259
+ for (; e.pos < o;) {
1260
+ let [n, i] = e.tag();
1261
+ switch (n) {
1262
+ case 1:
1263
+ a.request = G.internalBinaryRead(e, e.uint32(), r, a.request);
1264
+ break;
1265
+ default:
1266
+ let o = r.readUnknownField;
1267
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
1268
+ let s = e.skip(i);
1269
+ o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
1270
+ }
1271
+ }
1272
+ return a;
1273
+ }
1274
+ internalBinaryWrite(e, r, i) {
1275
+ e.request && G.internalBinaryWrite(e.request, r.tag(1, n.LengthDelimited).fork(), i).join();
1276
+ let a = i.writeUnknownFields;
1277
+ return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, e, r), r;
1278
+ }
1279
+ }(), $ = new g("sagittarius.ExecutionService", [{
1280
+ name: "Test",
1281
+ serverStreaming: !0,
1282
+ clientStreaming: !0,
1283
+ options: {},
1284
+ I: Z,
1285
+ O: Q
1286
+ }]), le = class {
1287
+ constructor(e) {
1288
+ this._transport = e, this.typeName = $.typeName, this.methods = $.methods, this.options = $.options;
1289
+ }
1290
+ test(e) {
1291
+ let t = this.methods[0], n = this._transport.mergeOptions(e);
1292
+ return _("duplex", this._transport, t, n);
1293
+ }
1294
+ };
1295
+ //#endregion
1296
+ export { b as ActionConfigurationService, ee as ActionConfigurationServiceClient, v as ActionConfigurationUpdateRequest, y as ActionConfigurationUpdateResponse, X as ApplicationLog, C as DataTypeService, te as DataTypeServiceClient, x as DataTypeUpdateRequest, S as DataTypeUpdateResponse, Z as ExecutionLogonRequest, Q as ExecutionLogonResponse, $ as ExecutionService, le as ExecutionServiceClient, w as FlowLogonRequest, T as FlowResponse, E as FlowService, ne as FlowServiceClient, k as FlowTypeService, re as FlowTypeServiceClient, D as FlowTypeUpdateRequest, O as FlowTypeUpdateResponse, M as FunctionDefinitionService, ie as FunctionDefinitionServiceClient, A as FunctionDefinitionUpdateRequest, j as FunctionDefinitionUpdateResponse, q as Log, W as Logon, N as PingMessage, P as PingService, ae as PingServiceClient, Y as RuntimeErrorLog, L as RuntimeFunctionDefinitionService, oe as RuntimeFunctionDefinitionServiceClient, F as RuntimeFunctionDefinitionUpdateRequest, I as RuntimeFunctionDefinitionUpdateResponse, B as RuntimeStatusService, se as RuntimeStatusServiceClient, R as RuntimeStatusUpdateRequest, z as RuntimeStatusUpdateResponse, V as RuntimeUsageRequest, H as RuntimeUsageResponse, U as RuntimeUsageService, ce as RuntimeUsageServiceClient, J as SuccessLog, G as TestExecutionRequest, K as TestExecutionResponse };