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