@code0-tech/tucana 0.0.73 → 0.0.74

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.
@@ -1,8 +1,8 @@
1
1
  import { C as e, S as t, u as n, v as r, y as i } from "./shared.function_pb-e1jkWYE_.js";
2
- import { T as a, a as o, b as s, c, n as l, p as u, t as d, u as f } from "./shared.runtime_usage_pb-Hn8yNrjw.js";
3
- import { i as p, m } from "./shared.flow_pb-C4ewDq2u.js";
4
- import { n as h, t as g } from "./rpc-interceptor-az_TTCBK.js";
5
- var _ = new class extends r {
2
+ import { a, c as o, g as s, n as c, t as l, x as u } from "./shared.runtime_usage_pb-KU8kpcxp.js";
3
+ import { i as d, m as f } from "./shared.flow_pb-C4ewDq2u.js";
4
+ import { n as p, t as m } from "./rpc-interceptor-az_TTCBK.js";
5
+ var h = new class extends r {
6
6
  constructor() {
7
7
  super("sagittarius.FlowLogonRequest", []);
8
8
  }
@@ -28,7 +28,7 @@ var _ = new class extends r {
28
28
  let i = r.writeUnknownFields;
29
29
  return i !== !1 && (i == 1 ? t.onWrite : i)(this.typeName, e, n), n;
30
30
  }
31
- }(), v = new class extends r {
31
+ }(), g = new class extends r {
32
32
  constructor() {
33
33
  super("sagittarius.FlowResponse", [
34
34
  {
@@ -36,7 +36,7 @@ var _ = new class extends r {
36
36
  name: "updated_flow",
37
37
  kind: "message",
38
38
  oneof: "data",
39
- T: () => m
39
+ T: () => f
40
40
  },
41
41
  {
42
42
  no: 2,
@@ -51,14 +51,14 @@ var _ = new class extends r {
51
51
  name: "flows",
52
52
  kind: "message",
53
53
  oneof: "data",
54
- T: () => p
54
+ T: () => d
55
55
  },
56
56
  {
57
57
  no: 4,
58
58
  name: "module_configurations",
59
59
  kind: "message",
60
60
  oneof: "data",
61
- T: () => u
61
+ T: () => o
62
62
  }
63
63
  ]);
64
64
  }
@@ -67,14 +67,14 @@ var _ = new class extends r {
67
67
  return t.data = { oneofKind: void 0 }, e !== void 0 && i(this, t, e), t;
68
68
  }
69
69
  internalBinaryRead(e, n, r, i) {
70
- let a = i ?? this.create(), o = e.pos + n;
71
- for (; e.pos < o;) {
70
+ let a = i ?? this.create(), s = e.pos + n;
71
+ for (; e.pos < s;) {
72
72
  let [n, i] = e.tag();
73
73
  switch (n) {
74
74
  case 1:
75
75
  a.data = {
76
76
  oneofKind: "updatedFlow",
77
- updatedFlow: m.internalBinaryRead(e, e.uint32(), r, a.data.updatedFlow)
77
+ updatedFlow: f.internalBinaryRead(e, e.uint32(), r, a.data.updatedFlow)
78
78
  };
79
79
  break;
80
80
  case 2:
@@ -86,51 +86,51 @@ var _ = new class extends r {
86
86
  case 3:
87
87
  a.data = {
88
88
  oneofKind: "flows",
89
- flows: p.internalBinaryRead(e, e.uint32(), r, a.data.flows)
89
+ flows: d.internalBinaryRead(e, e.uint32(), r, a.data.flows)
90
90
  };
91
91
  break;
92
92
  case 4:
93
93
  a.data = {
94
94
  oneofKind: "moduleConfigurations",
95
- moduleConfigurations: u.internalBinaryRead(e, e.uint32(), r, a.data.moduleConfigurations)
95
+ moduleConfigurations: o.internalBinaryRead(e, e.uint32(), r, a.data.moduleConfigurations)
96
96
  };
97
97
  break;
98
98
  default:
99
- let o = r.readUnknownField;
100
- if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
101
- let s = e.skip(i);
102
- o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
99
+ let s = r.readUnknownField;
100
+ if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
101
+ let c = e.skip(i);
102
+ s !== !1 && (s === !0 ? t.onRead : s)(this.typeName, a, n, i, c);
103
103
  }
104
104
  }
105
105
  return a;
106
106
  }
107
107
  internalBinaryWrite(n, r, i) {
108
- n.data.oneofKind === "updatedFlow" && m.internalBinaryWrite(n.data.updatedFlow, r.tag(1, e.LengthDelimited).fork(), i).join(), n.data.oneofKind === "deletedFlowId" && r.tag(2, e.Varint).int64(n.data.deletedFlowId), n.data.oneofKind === "flows" && p.internalBinaryWrite(n.data.flows, r.tag(3, e.LengthDelimited).fork(), i).join(), n.data.oneofKind === "moduleConfigurations" && u.internalBinaryWrite(n.data.moduleConfigurations, r.tag(4, e.LengthDelimited).fork(), i).join();
108
+ n.data.oneofKind === "updatedFlow" && f.internalBinaryWrite(n.data.updatedFlow, r.tag(1, e.LengthDelimited).fork(), i).join(), n.data.oneofKind === "deletedFlowId" && r.tag(2, e.Varint).int64(n.data.deletedFlowId), n.data.oneofKind === "flows" && d.internalBinaryWrite(n.data.flows, r.tag(3, e.LengthDelimited).fork(), i).join(), n.data.oneofKind === "moduleConfigurations" && o.internalBinaryWrite(n.data.moduleConfigurations, r.tag(4, e.LengthDelimited).fork(), i).join();
109
109
  let a = i.writeUnknownFields;
110
110
  return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
111
111
  }
112
- }(), y = new h("sagittarius.FlowService", [{
112
+ }(), _ = new p("sagittarius.FlowService", [{
113
113
  name: "Update",
114
114
  serverStreaming: !0,
115
115
  options: {},
116
- I: _,
117
- O: v
118
- }]), b = class {
116
+ I: h,
117
+ O: g
118
+ }]), v = class {
119
119
  constructor(e) {
120
- this._transport = e, this.typeName = y.typeName, this.methods = y.methods, this.options = y.options;
120
+ this._transport = e, this.typeName = _.typeName, this.methods = _.methods, this.options = _.options;
121
121
  }
122
122
  update(e, t) {
123
123
  let n = this.methods[0], r = this._transport.mergeOptions(t);
124
- return g("serverStreaming", this._transport, n, r, e);
124
+ return m("serverStreaming", this._transport, n, r, e);
125
125
  }
126
- }, x = new class extends r {
126
+ }, y = new class extends r {
127
127
  constructor() {
128
128
  super("sagittarius.ModuleUpdateRequest", [{
129
129
  no: 1,
130
130
  name: "modules",
131
131
  kind: "message",
132
132
  repeat: 2,
133
- T: () => f
133
+ T: () => a
134
134
  }]);
135
135
  }
136
136
  create(e) {
@@ -138,28 +138,28 @@ var _ = new class extends r {
138
138
  return t.modules = [], e !== void 0 && i(this, t, e), t;
139
139
  }
140
140
  internalBinaryRead(e, n, r, i) {
141
- let a = i ?? this.create(), o = e.pos + n;
142
- for (; e.pos < o;) {
141
+ let o = i ?? this.create(), s = e.pos + n;
142
+ for (; e.pos < s;) {
143
143
  let [n, i] = e.tag();
144
144
  switch (n) {
145
145
  case 1:
146
- a.modules.push(f.internalBinaryRead(e, e.uint32(), r));
146
+ o.modules.push(a.internalBinaryRead(e, e.uint32(), r));
147
147
  break;
148
148
  default:
149
- let o = r.readUnknownField;
150
- if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
151
- let s = e.skip(i);
152
- o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
149
+ let s = r.readUnknownField;
150
+ if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
151
+ let c = e.skip(i);
152
+ s !== !1 && (s === !0 ? t.onRead : s)(this.typeName, o, n, i, c);
153
153
  }
154
154
  }
155
- return a;
155
+ return o;
156
156
  }
157
157
  internalBinaryWrite(n, r, i) {
158
- for (let t = 0; t < n.modules.length; t++) f.internalBinaryWrite(n.modules[t], r.tag(1, e.LengthDelimited).fork(), i).join();
159
- let a = i.writeUnknownFields;
160
- return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
158
+ for (let t = 0; t < n.modules.length; t++) a.internalBinaryWrite(n.modules[t], r.tag(1, e.LengthDelimited).fork(), i).join();
159
+ let o = i.writeUnknownFields;
160
+ return o !== !1 && (o == 1 ? t.onWrite : o)(this.typeName, n, r), r;
161
161
  }
162
- }(), S = new class extends r {
162
+ }(), b = new class extends r {
163
163
  constructor() {
164
164
  super("sagittarius.ModuleUpdateResponse", [{
165
165
  no: 1,
@@ -170,7 +170,7 @@ var _ = new class extends r {
170
170
  no: 2,
171
171
  name: "error",
172
172
  kind: "message",
173
- T: () => a
173
+ T: () => u
174
174
  }]);
175
175
  }
176
176
  create(e) {
@@ -178,44 +178,44 @@ var _ = new class extends r {
178
178
  return t.success = !1, e !== void 0 && i(this, t, e), t;
179
179
  }
180
180
  internalBinaryRead(e, n, r, i) {
181
- let o = i ?? this.create(), s = e.pos + n;
182
- for (; e.pos < s;) {
181
+ let a = i ?? this.create(), o = e.pos + n;
182
+ for (; e.pos < o;) {
183
183
  let [n, i] = e.tag();
184
184
  switch (n) {
185
185
  case 1:
186
- o.success = e.bool();
186
+ a.success = e.bool();
187
187
  break;
188
188
  case 2:
189
- o.error = a.internalBinaryRead(e, e.uint32(), r, o.error);
189
+ a.error = u.internalBinaryRead(e, e.uint32(), r, a.error);
190
190
  break;
191
191
  default:
192
- let s = r.readUnknownField;
193
- if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
194
- let c = e.skip(i);
195
- s !== !1 && (s === !0 ? t.onRead : s)(this.typeName, o, n, i, c);
192
+ let o = r.readUnknownField;
193
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
194
+ let s = e.skip(i);
195
+ o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
196
196
  }
197
197
  }
198
- return o;
198
+ return a;
199
199
  }
200
200
  internalBinaryWrite(n, r, i) {
201
- n.success !== !1 && r.tag(1, e.Varint).bool(n.success), n.error && a.internalBinaryWrite(n.error, r.tag(2, e.LengthDelimited).fork(), i).join();
202
- let o = i.writeUnknownFields;
203
- return o !== !1 && (o == 1 ? t.onWrite : o)(this.typeName, n, r), r;
201
+ n.success !== !1 && r.tag(1, e.Varint).bool(n.success), n.error && u.internalBinaryWrite(n.error, r.tag(2, e.LengthDelimited).fork(), i).join();
202
+ let a = i.writeUnknownFields;
203
+ return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
204
204
  }
205
- }(), C = new h("sagittarius.ModuleService", [{
205
+ }(), x = new p("sagittarius.ModuleService", [{
206
206
  name: "Update",
207
207
  options: {},
208
- I: x,
209
- O: S
210
- }]), w = class {
208
+ I: y,
209
+ O: b
210
+ }]), S = class {
211
211
  constructor(e) {
212
- this._transport = e, this.typeName = C.typeName, this.methods = C.methods, this.options = C.options;
212
+ this._transport = e, this.typeName = x.typeName, this.methods = x.methods, this.options = x.options;
213
213
  }
214
214
  update(e, t) {
215
215
  let n = this.methods[0], r = this._transport.mergeOptions(t);
216
- return g("unary", this._transport, n, r, e);
216
+ return m("unary", this._transport, n, r, e);
217
217
  }
218
- }, T = new class extends r {
218
+ }, C = new class extends r {
219
219
  constructor() {
220
220
  super("sagittarius.PingMessage", [{
221
221
  no: 1,
@@ -251,87 +251,55 @@ var _ = new class extends r {
251
251
  let a = i.writeUnknownFields;
252
252
  return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
253
253
  }
254
- }(), E = new h("sagittarius.PingService", [{
254
+ }(), w = new p("sagittarius.PingService", [{
255
255
  name: "Ping",
256
256
  options: {},
257
- I: T,
258
- O: T
259
- }]), D = class {
257
+ I: C,
258
+ O: C
259
+ }]), T = class {
260
260
  constructor(e) {
261
- this._transport = e, this.typeName = E.typeName, this.methods = E.methods, this.options = E.options;
261
+ this._transport = e, this.typeName = w.typeName, this.methods = w.methods, this.options = w.options;
262
262
  }
263
263
  ping(e, t) {
264
264
  let n = this.methods[0], r = this._transport.mergeOptions(t);
265
- return g("unary", this._transport, n, r, e);
265
+ return m("unary", this._transport, n, r, e);
266
266
  }
267
- }, O = new class extends r {
267
+ }, E = new class extends r {
268
268
  constructor() {
269
- super("sagittarius.RuntimeStatusUpdateRequest", [
270
- {
271
- no: 1,
272
- name: "adapter_runtime_status",
273
- kind: "message",
274
- oneof: "status",
275
- T: () => o
276
- },
277
- {
278
- no: 2,
279
- name: "execution_runtime_status",
280
- kind: "message",
281
- oneof: "status",
282
- T: () => c
283
- },
284
- {
285
- no: 3,
286
- name: "action_status",
287
- kind: "message",
288
- oneof: "status",
289
- T: () => l
290
- }
291
- ]);
269
+ super("sagittarius.RuntimeStatusUpdateRequest", [{
270
+ no: 1,
271
+ name: "status",
272
+ kind: "message",
273
+ T: () => c
274
+ }]);
292
275
  }
293
276
  create(e) {
294
277
  let t = globalThis.Object.create(this.messagePrototype);
295
- return t.status = { oneofKind: void 0 }, e !== void 0 && i(this, t, e), t;
278
+ return e !== void 0 && i(this, t, e), t;
296
279
  }
297
280
  internalBinaryRead(e, n, r, i) {
298
- let a = i ?? this.create(), s = e.pos + n;
299
- for (; e.pos < s;) {
281
+ let a = i ?? this.create(), o = e.pos + n;
282
+ for (; e.pos < o;) {
300
283
  let [n, i] = e.tag();
301
284
  switch (n) {
302
285
  case 1:
303
- a.status = {
304
- oneofKind: "adapterRuntimeStatus",
305
- adapterRuntimeStatus: o.internalBinaryRead(e, e.uint32(), r, a.status.adapterRuntimeStatus)
306
- };
307
- break;
308
- case 2:
309
- a.status = {
310
- oneofKind: "executionRuntimeStatus",
311
- executionRuntimeStatus: c.internalBinaryRead(e, e.uint32(), r, a.status.executionRuntimeStatus)
312
- };
313
- break;
314
- case 3:
315
- a.status = {
316
- oneofKind: "actionStatus",
317
- actionStatus: l.internalBinaryRead(e, e.uint32(), r, a.status.actionStatus)
318
- };
286
+ a.status = c.internalBinaryRead(e, e.uint32(), r, a.status);
319
287
  break;
320
288
  default:
321
- let s = r.readUnknownField;
322
- if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
323
- let u = e.skip(i);
324
- s !== !1 && (s === !0 ? t.onRead : s)(this.typeName, a, n, i, u);
289
+ let o = r.readUnknownField;
290
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
291
+ let s = e.skip(i);
292
+ o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
325
293
  }
326
294
  }
327
295
  return a;
328
296
  }
329
297
  internalBinaryWrite(n, r, i) {
330
- n.status.oneofKind === "adapterRuntimeStatus" && o.internalBinaryWrite(n.status.adapterRuntimeStatus, r.tag(1, e.LengthDelimited).fork(), i).join(), n.status.oneofKind === "executionRuntimeStatus" && c.internalBinaryWrite(n.status.executionRuntimeStatus, r.tag(2, e.LengthDelimited).fork(), i).join(), n.status.oneofKind === "actionStatus" && l.internalBinaryWrite(n.status.actionStatus, r.tag(3, e.LengthDelimited).fork(), i).join();
298
+ n.status && c.internalBinaryWrite(n.status, r.tag(1, e.LengthDelimited).fork(), i).join();
331
299
  let a = i.writeUnknownFields;
332
300
  return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
333
301
  }
334
- }(), k = new class extends r {
302
+ }(), D = new class extends r {
335
303
  constructor() {
336
304
  super("sagittarius.RuntimeStatusUpdateResponse", [{
337
305
  no: 1,
@@ -342,7 +310,7 @@ var _ = new class extends r {
342
310
  no: 2,
343
311
  name: "error",
344
312
  kind: "message",
345
- T: () => a
313
+ T: () => u
346
314
  }]);
347
315
  }
348
316
  create(e) {
@@ -350,51 +318,51 @@ var _ = new class extends r {
350
318
  return t.success = !1, e !== void 0 && i(this, t, e), t;
351
319
  }
352
320
  internalBinaryRead(e, n, r, i) {
353
- let o = i ?? this.create(), s = e.pos + n;
354
- for (; e.pos < s;) {
321
+ let a = i ?? this.create(), o = e.pos + n;
322
+ for (; e.pos < o;) {
355
323
  let [n, i] = e.tag();
356
324
  switch (n) {
357
325
  case 1:
358
- o.success = e.bool();
326
+ a.success = e.bool();
359
327
  break;
360
328
  case 2:
361
- o.error = a.internalBinaryRead(e, e.uint32(), r, o.error);
329
+ a.error = u.internalBinaryRead(e, e.uint32(), r, a.error);
362
330
  break;
363
331
  default:
364
- let s = r.readUnknownField;
365
- if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
366
- let c = e.skip(i);
367
- s !== !1 && (s === !0 ? t.onRead : s)(this.typeName, o, n, i, c);
332
+ let o = r.readUnknownField;
333
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
334
+ let s = e.skip(i);
335
+ o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
368
336
  }
369
337
  }
370
- return o;
338
+ return a;
371
339
  }
372
340
  internalBinaryWrite(n, r, i) {
373
- n.success !== !1 && r.tag(1, e.Varint).bool(n.success), n.error && a.internalBinaryWrite(n.error, r.tag(2, e.LengthDelimited).fork(), i).join();
374
- let o = i.writeUnknownFields;
375
- return o !== !1 && (o == 1 ? t.onWrite : o)(this.typeName, n, r), r;
341
+ n.success !== !1 && r.tag(1, e.Varint).bool(n.success), n.error && u.internalBinaryWrite(n.error, r.tag(2, e.LengthDelimited).fork(), i).join();
342
+ let a = i.writeUnknownFields;
343
+ return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
376
344
  }
377
- }(), A = new h("sagittarius.RuntimeStatusService", [{
345
+ }(), O = new p("sagittarius.RuntimeStatusService", [{
378
346
  name: "Update",
379
347
  options: {},
380
- I: O,
381
- O: k
382
- }]), j = class {
348
+ I: E,
349
+ O: D
350
+ }]), k = class {
383
351
  constructor(e) {
384
- this._transport = e, this.typeName = A.typeName, this.methods = A.methods, this.options = A.options;
352
+ this._transport = e, this.typeName = O.typeName, this.methods = O.methods, this.options = O.options;
385
353
  }
386
354
  update(e, t) {
387
355
  let n = this.methods[0], r = this._transport.mergeOptions(t);
388
- return g("unary", this._transport, n, r, e);
356
+ return m("unary", this._transport, n, r, e);
389
357
  }
390
- }, M = new class extends r {
358
+ }, A = new class extends r {
391
359
  constructor() {
392
360
  super("sagittarius.RuntimeUsageRequest", [{
393
361
  no: 1,
394
362
  name: "runtime_usage",
395
363
  kind: "message",
396
364
  repeat: 2,
397
- T: () => d
365
+ T: () => l
398
366
  }]);
399
367
  }
400
368
  create(e) {
@@ -407,7 +375,7 @@ var _ = new class extends r {
407
375
  let [n, i] = e.tag();
408
376
  switch (n) {
409
377
  case 1:
410
- a.runtimeUsage.push(d.internalBinaryRead(e, e.uint32(), r));
378
+ a.runtimeUsage.push(l.internalBinaryRead(e, e.uint32(), r));
411
379
  break;
412
380
  default:
413
381
  let o = r.readUnknownField;
@@ -419,11 +387,11 @@ var _ = new class extends r {
419
387
  return a;
420
388
  }
421
389
  internalBinaryWrite(n, r, i) {
422
- for (let t = 0; t < n.runtimeUsage.length; t++) d.internalBinaryWrite(n.runtimeUsage[t], r.tag(1, e.LengthDelimited).fork(), i).join();
390
+ for (let t = 0; t < n.runtimeUsage.length; t++) l.internalBinaryWrite(n.runtimeUsage[t], r.tag(1, e.LengthDelimited).fork(), i).join();
423
391
  let a = i.writeUnknownFields;
424
392
  return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
425
393
  }
426
- }(), N = new class extends r {
394
+ }(), j = new class extends r {
427
395
  constructor() {
428
396
  super("sagittarius.RuntimeUsageResponse", [{
429
397
  no: 1,
@@ -434,7 +402,7 @@ var _ = new class extends r {
434
402
  no: 2,
435
403
  name: "error",
436
404
  kind: "message",
437
- T: () => a
405
+ T: () => u
438
406
  }]);
439
407
  }
440
408
  create(e) {
@@ -442,44 +410,44 @@ var _ = new class extends r {
442
410
  return t.success = !1, e !== void 0 && i(this, t, e), t;
443
411
  }
444
412
  internalBinaryRead(e, n, r, i) {
445
- let o = i ?? this.create(), s = e.pos + n;
446
- for (; e.pos < s;) {
413
+ let a = i ?? this.create(), o = e.pos + n;
414
+ for (; e.pos < o;) {
447
415
  let [n, i] = e.tag();
448
416
  switch (n) {
449
417
  case 1:
450
- o.success = e.bool();
418
+ a.success = e.bool();
451
419
  break;
452
420
  case 2:
453
- o.error = a.internalBinaryRead(e, e.uint32(), r, o.error);
421
+ a.error = u.internalBinaryRead(e, e.uint32(), r, a.error);
454
422
  break;
455
423
  default:
456
- let s = r.readUnknownField;
457
- if (s === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
458
- let c = e.skip(i);
459
- s !== !1 && (s === !0 ? t.onRead : s)(this.typeName, o, n, i, c);
424
+ let o = r.readUnknownField;
425
+ if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
426
+ let s = e.skip(i);
427
+ o !== !1 && (o === !0 ? t.onRead : o)(this.typeName, a, n, i, s);
460
428
  }
461
429
  }
462
- return o;
430
+ return a;
463
431
  }
464
432
  internalBinaryWrite(n, r, i) {
465
- n.success !== !1 && r.tag(1, e.Varint).bool(n.success), n.error && a.internalBinaryWrite(n.error, r.tag(2, e.LengthDelimited).fork(), i).join();
466
- let o = i.writeUnknownFields;
467
- return o !== !1 && (o == 1 ? t.onWrite : o)(this.typeName, n, r), r;
433
+ n.success !== !1 && r.tag(1, e.Varint).bool(n.success), n.error && u.internalBinaryWrite(n.error, r.tag(2, e.LengthDelimited).fork(), i).join();
434
+ let a = i.writeUnknownFields;
435
+ return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
468
436
  }
469
- }(), P = new h("sagittarius.RuntimeUsageService", [{
437
+ }(), M = new p("sagittarius.RuntimeUsageService", [{
470
438
  name: "Update",
471
439
  options: {},
472
- I: M,
473
- O: N
474
- }]), F = class {
440
+ I: A,
441
+ O: j
442
+ }]), N = class {
475
443
  constructor(e) {
476
- this._transport = e, this.typeName = P.typeName, this.methods = P.methods, this.options = P.options;
444
+ this._transport = e, this.typeName = M.typeName, this.methods = M.methods, this.options = M.options;
477
445
  }
478
446
  update(e, t) {
479
447
  let n = this.methods[0], r = this._transport.mergeOptions(t);
480
- return g("unary", this._transport, n, r, e);
448
+ return m("unary", this._transport, n, r, e);
481
449
  }
482
- }, I = new class extends r {
450
+ }, P = new class extends r {
483
451
  constructor() {
484
452
  super("sagittarius.Logon", []);
485
453
  }
@@ -505,7 +473,7 @@ var _ = new class extends r {
505
473
  let i = r.writeUnknownFields;
506
474
  return i !== !1 && (i == 1 ? t.onWrite : i)(this.typeName, e, n), n;
507
475
  }
508
- }(), L = new class extends r {
476
+ }(), F = new class extends r {
509
477
  constructor() {
510
478
  super("sagittarius.TestExecutionRequest", [
511
479
  {
@@ -561,14 +529,14 @@ var _ = new class extends r {
561
529
  let o = a.writeUnknownFields;
562
530
  return o !== !1 && (o == 1 ? t.onWrite : o)(this.typeName, r, i), i;
563
531
  }
564
- }(), R = new class extends r {
532
+ }(), I = new class extends r {
565
533
  constructor() {
566
534
  super("sagittarius.ExecutionLogonRequest", [{
567
535
  no: 1,
568
536
  name: "logon",
569
537
  kind: "message",
570
538
  oneof: "data",
571
- T: () => I
539
+ T: () => P
572
540
  }, {
573
541
  no: 2,
574
542
  name: "response",
@@ -589,7 +557,7 @@ var _ = new class extends r {
589
557
  case 1:
590
558
  a.data = {
591
559
  oneofKind: "logon",
592
- logon: I.internalBinaryRead(e, e.uint32(), r, a.data.logon)
560
+ logon: P.internalBinaryRead(e, e.uint32(), r, a.data.logon)
593
561
  };
594
562
  break;
595
563
  case 2:
@@ -608,17 +576,17 @@ var _ = new class extends r {
608
576
  return a;
609
577
  }
610
578
  internalBinaryWrite(n, r, i) {
611
- n.data.oneofKind === "logon" && I.internalBinaryWrite(n.data.logon, r.tag(1, e.LengthDelimited).fork(), i).join(), n.data.oneofKind === "response" && s.internalBinaryWrite(n.data.response, r.tag(2, e.LengthDelimited).fork(), i).join();
579
+ n.data.oneofKind === "logon" && P.internalBinaryWrite(n.data.logon, r.tag(1, e.LengthDelimited).fork(), i).join(), n.data.oneofKind === "response" && s.internalBinaryWrite(n.data.response, r.tag(2, e.LengthDelimited).fork(), i).join();
612
580
  let a = i.writeUnknownFields;
613
581
  return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
614
582
  }
615
- }(), z = new class extends r {
583
+ }(), L = new class extends r {
616
584
  constructor() {
617
585
  super("sagittarius.ExecutionLogonResponse", [{
618
586
  no: 1,
619
587
  name: "request",
620
588
  kind: "message",
621
- T: () => L
589
+ T: () => F
622
590
  }]);
623
591
  }
624
592
  create(e) {
@@ -631,7 +599,7 @@ var _ = new class extends r {
631
599
  let [n, i] = e.tag();
632
600
  switch (n) {
633
601
  case 1:
634
- a.request = L.internalBinaryRead(e, e.uint32(), r, a.request);
602
+ a.request = F.internalBinaryRead(e, e.uint32(), r, a.request);
635
603
  break;
636
604
  default:
637
605
  let o = r.readUnknownField;
@@ -643,25 +611,25 @@ var _ = new class extends r {
643
611
  return a;
644
612
  }
645
613
  internalBinaryWrite(n, r, i) {
646
- n.request && L.internalBinaryWrite(n.request, r.tag(1, e.LengthDelimited).fork(), i).join();
614
+ n.request && F.internalBinaryWrite(n.request, r.tag(1, e.LengthDelimited).fork(), i).join();
647
615
  let a = i.writeUnknownFields;
648
616
  return a !== !1 && (a == 1 ? t.onWrite : a)(this.typeName, n, r), r;
649
617
  }
650
- }(), B = new h("sagittarius.ExecutionService", [{
618
+ }(), R = new p("sagittarius.ExecutionService", [{
651
619
  name: "Test",
652
620
  serverStreaming: !0,
653
621
  clientStreaming: !0,
654
622
  options: {},
655
- I: R,
656
- O: z
657
- }]), V = class {
623
+ I,
624
+ O: L
625
+ }]), z = class {
658
626
  constructor(e) {
659
- this._transport = e, this.typeName = B.typeName, this.methods = B.methods, this.options = B.options;
627
+ this._transport = e, this.typeName = R.typeName, this.methods = R.methods, this.options = R.options;
660
628
  }
661
629
  test(e) {
662
630
  let t = this.methods[0], n = this._transport.mergeOptions(e);
663
- return g("duplex", this._transport, t, n);
631
+ return m("duplex", this._transport, t, n);
664
632
  }
665
633
  };
666
634
  //#endregion
667
- export { R as ExecutionLogonRequest, z as ExecutionLogonResponse, B as ExecutionService, V as ExecutionServiceClient, _ as FlowLogonRequest, v as FlowResponse, y as FlowService, b as FlowServiceClient, I as Logon, C as ModuleService, w as ModuleServiceClient, x as ModuleUpdateRequest, S as ModuleUpdateResponse, T as PingMessage, E as PingService, D as PingServiceClient, A as RuntimeStatusService, j as RuntimeStatusServiceClient, O as RuntimeStatusUpdateRequest, k as RuntimeStatusUpdateResponse, M as RuntimeUsageRequest, N as RuntimeUsageResponse, P as RuntimeUsageService, F as RuntimeUsageServiceClient, L as TestExecutionRequest };
635
+ export { I as ExecutionLogonRequest, L as ExecutionLogonResponse, R as ExecutionService, z as ExecutionServiceClient, h as FlowLogonRequest, g as FlowResponse, _ as FlowService, v as FlowServiceClient, P as Logon, x as ModuleService, S as ModuleServiceClient, y as ModuleUpdateRequest, b as ModuleUpdateResponse, C as PingMessage, w as PingService, T as PingServiceClient, O as RuntimeStatusService, k as RuntimeStatusServiceClient, E as RuntimeStatusUpdateRequest, D as RuntimeStatusUpdateResponse, A as RuntimeUsageRequest, j as RuntimeUsageResponse, M as RuntimeUsageService, N as RuntimeUsageServiceClient, F as TestExecutionRequest };
@@ -1 +1 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./shared.function_pb-BErnwHWO.cjs`),t=require(`./shared.runtime_usage_pb-CSRup69H.cjs`),n=require(`./shared.flow_pb-DrDw61IF.cjs`);exports.ActionStatus=t.n,exports.ActionStatusConfiguration=t.r,exports.ActionStatus_Status=t.i,exports.AdapterRuntimeStatus=t.a,exports.AdapterRuntimeStatus_Status=t.o,exports.AdapterStatusConfiguration=t.s,exports.DataTypeNumberRangeRuleConfig=e.d,exports.DataTypeRegexRuleConfig=e.f,exports.DefinitionDataType=e.p,exports.DefinitionDataTypeRule=e.m,exports.Error=t.C,exports.ExecutionDataType=e.h,exports.ExecutionDataTypeRule=e.g,exports.ExecutionFlow=n.t,exports.ExecutionResult=t.b,exports.ExecutionRuntimeStatus=t.c,exports.ExecutionRuntimeStatus_Status=t.l,exports.FlowInput=n.n,exports.FlowSetting=n.r,exports.FlowType=e.r,exports.FlowTypeSetting=e.i,exports.FlowTypeSetting_UniquenessScope=e.a,exports.Flows=n.i,exports.FunctionDefinition=e.t,exports.GenerationFlow=n.a,exports.InputType=n.o,exports.ListValue=e.o,exports.Module=t.u,exports.ModuleConfiguration=t.d,exports.ModuleConfigurationDefinition=t.f,exports.ModuleConfigurations=t.p,exports.ModuleProjectConfigurations=t.m,exports.NodeExecutionResult=t.x,exports.NodeFunction=n.s,exports.NodeParameter=n.c,exports.NodeParameterNodeExecutionResult=t.S,exports.NodeValue=n.l,exports.NullValue=e.s,exports.NumberValue=e.c,exports.ParameterDefinition=e.n,exports.ReferencePath=n.u,exports.ReferenceValue=n.d,exports.RuntimeFlowType=t.h,exports.RuntimeFlowTypeSetting=t.g,exports.RuntimeFlowTypeSetting_UniquenessScope=t._,exports.RuntimeFunctionDefinition=t.v,exports.RuntimeParameterDefinition=t.y,exports.RuntimeUsage=t.t,exports.ServiceActiveModelError=t.w,exports.ServiceError=t.T,exports.ServiceErrorDetails=t.E,exports.Struct=e.l,exports.SubFlow=n.f,exports.SubFlowSetting=n.p,exports.Translation=e._,exports.ValidationFlow=n.m,exports.Value=e.u;
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./shared.function_pb-BErnwHWO.cjs`),t=require(`./shared.runtime_usage_pb-BWGBeR-4.cjs`),n=require(`./shared.flow_pb-DrDw61IF.cjs`);exports.DataTypeNumberRangeRuleConfig=e.d,exports.DataTypeRegexRuleConfig=e.f,exports.DefinitionDataType=e.p,exports.DefinitionDataTypeRule=e.m,exports.Endpoint=t.i,exports.Error=t.y,exports.ExecutionDataType=e.h,exports.ExecutionDataTypeRule=e.g,exports.ExecutionFlow=n.t,exports.ExecutionResult=t.g,exports.FlowInput=n.n,exports.FlowSetting=n.r,exports.FlowType=e.r,exports.FlowTypeSetting=e.i,exports.FlowTypeSetting_UniquenessScope=e.a,exports.Flows=n.i,exports.FunctionDefinition=e.t,exports.GenerationFlow=n.a,exports.InputType=n.o,exports.ListValue=e.o,exports.Module=t.a,exports.ModuleConfiguration=t.o,exports.ModuleConfigurationDefinition=t.s,exports.ModuleConfigurations=t.c,exports.ModuleDefinition=t.l,exports.ModuleProjectConfigurations=t.u,exports.ModuleStatus=t.n,exports.ModuleStatus_StatusVariant=t.r,exports.NodeExecutionResult=t._,exports.NodeFunction=n.s,exports.NodeParameter=n.c,exports.NodeParameterNodeExecutionResult=t.v,exports.NodeValue=n.l,exports.NullValue=e.s,exports.NumberValue=e.c,exports.ParameterDefinition=e.n,exports.ReferencePath=n.u,exports.ReferenceValue=n.d,exports.RuntimeFlowType=t.d,exports.RuntimeFlowTypeSetting=t.f,exports.RuntimeFlowTypeSetting_UniquenessScope=t.p,exports.RuntimeFunctionDefinition=t.m,exports.RuntimeParameterDefinition=t.h,exports.RuntimeUsage=t.t,exports.ServiceActiveModelError=t.b,exports.ServiceError=t.x,exports.ServiceErrorDetails=t.S,exports.Struct=e.l,exports.SubFlow=n.f,exports.SubFlowSetting=n.p,exports.Translation=e._,exports.ValidationFlow=n.m,exports.Value=e.u;
package/dist/shared.es.js CHANGED
@@ -1,4 +1,4 @@
1
1
  import { _ as e, a as t, c as n, d as r, f as i, g as a, h as o, i as s, l as c, m as l, n as u, o as d, p as f, r as p, s as m, t as h, u as g } from "./shared.function_pb-e1jkWYE_.js";
2
- import { C as _, E as v, S as y, T as b, _ as x, a as S, b as C, c as w, d as T, f as E, g as D, h as O, i as k, l as A, m as j, n as M, o as N, p as P, r as F, s as I, t as L, u as R, v as z, w as B, x as V, y as H } from "./shared.runtime_usage_pb-Hn8yNrjw.js";
3
- import { a as U, c as W, d as G, f as K, i as q, l as J, m as Y, n as X, o as Z, p as Q, r as $, s as ee, t as te, u as ne } from "./shared.flow_pb-C4ewDq2u.js";
4
- export { M as ActionStatus, F as ActionStatusConfiguration, k as ActionStatus_Status, S as AdapterRuntimeStatus, N as AdapterRuntimeStatus_Status, I as AdapterStatusConfiguration, r as DataTypeNumberRangeRuleConfig, i as DataTypeRegexRuleConfig, f as DefinitionDataType, l as DefinitionDataTypeRule, _ as Error, o as ExecutionDataType, a as ExecutionDataTypeRule, te as ExecutionFlow, C as ExecutionResult, w as ExecutionRuntimeStatus, A as ExecutionRuntimeStatus_Status, X as FlowInput, $ as FlowSetting, p as FlowType, s as FlowTypeSetting, t as FlowTypeSetting_UniquenessScope, q as Flows, h as FunctionDefinition, U as GenerationFlow, Z as InputType, d as ListValue, R as Module, T as ModuleConfiguration, E as ModuleConfigurationDefinition, P as ModuleConfigurations, j as ModuleProjectConfigurations, V as NodeExecutionResult, ee as NodeFunction, W as NodeParameter, y as NodeParameterNodeExecutionResult, J as NodeValue, m as NullValue, n as NumberValue, u as ParameterDefinition, ne as ReferencePath, G as ReferenceValue, O as RuntimeFlowType, D as RuntimeFlowTypeSetting, x as RuntimeFlowTypeSetting_UniquenessScope, z as RuntimeFunctionDefinition, H as RuntimeParameterDefinition, L as RuntimeUsage, B as ServiceActiveModelError, b as ServiceError, v as ServiceErrorDetails, c as Struct, K as SubFlow, Q as SubFlowSetting, e as Translation, Y as ValidationFlow, g as Value };
2
+ import { S as _, _ as v, a as y, b, c as x, d as S, f as C, g as w, h as T, i as E, l as D, m as O, n as k, o as A, p as j, r as M, s as N, t as P, u as F, v as I, x as L, y as R } from "./shared.runtime_usage_pb-KU8kpcxp.js";
3
+ import { a as z, c as B, d as V, f as H, i as U, l as W, m as G, n as K, o as q, p as J, r as Y, s as X, t as Z, u as Q } from "./shared.flow_pb-C4ewDq2u.js";
4
+ export { r as DataTypeNumberRangeRuleConfig, i as DataTypeRegexRuleConfig, f as DefinitionDataType, l as DefinitionDataTypeRule, E as Endpoint, R as Error, o as ExecutionDataType, a as ExecutionDataTypeRule, Z as ExecutionFlow, w as ExecutionResult, K as FlowInput, Y as FlowSetting, p as FlowType, s as FlowTypeSetting, t as FlowTypeSetting_UniquenessScope, U as Flows, h as FunctionDefinition, z as GenerationFlow, q as InputType, d as ListValue, y as Module, A as ModuleConfiguration, N as ModuleConfigurationDefinition, x as ModuleConfigurations, D as ModuleDefinition, F as ModuleProjectConfigurations, k as ModuleStatus, M as ModuleStatus_StatusVariant, v as NodeExecutionResult, X as NodeFunction, B as NodeParameter, I as NodeParameterNodeExecutionResult, W as NodeValue, m as NullValue, n as NumberValue, u as ParameterDefinition, Q as ReferencePath, V as ReferenceValue, S as RuntimeFlowType, C as RuntimeFlowTypeSetting, j as RuntimeFlowTypeSetting_UniquenessScope, O as RuntimeFunctionDefinition, T as RuntimeParameterDefinition, P as RuntimeUsage, b as ServiceActiveModelError, L as ServiceError, _ as ServiceErrorDetails, c as Struct, H as SubFlow, J as SubFlowSetting, e as Translation, G as ValidationFlow, g as Value };