@code0-tech/tucana 0.0.78 → 0.0.80
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.
- package/dist/aquila.cjs.js +1 -1
- package/dist/aquila.es.js +27 -14
- package/dist/pb/_generated/aquila.action_pb.d.ts +8 -0
- package/dist/pb/_generated/sagittarius_gateway.runtime_status_pb.d.ts +17 -3
- package/dist/pb/_generated/sagittarius_rails.runtime_status_pb.d.ts +17 -3
- package/dist/pb/_generated/shared.runtime_status_pb.d.ts +21 -0
- package/dist/sagittarius_gateway.cjs.js +1 -1
- package/dist/sagittarius_gateway.es.js +112 -96
- package/dist/sagittarius_rails.cjs.js +1 -1
- package/dist/sagittarius_rails.es.js +106 -90
- package/dist/shared.cjs.js +1 -1
- package/dist/shared.es.js +2 -2
- package/dist/{shared.runtime_status_pb-5unRZGw5.js → shared.runtime_status_pb-CP15pmbi.js} +37 -1
- package/dist/{shared.runtime_status_pb-BlKabFnb.cjs → shared.runtime_status_pb-v763gk52.cjs} +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { L as e, N as t, P as n, R as r, T as i, b as a, l as o } from "./shared.function_pb-CPUNe7pa.js";
|
|
2
|
-
import {
|
|
3
|
-
import { n as
|
|
4
|
-
var
|
|
2
|
+
import { a as s, c, g as l, r as u, t as d, x as f } from "./shared.runtime_status_pb-CP15pmbi.js";
|
|
3
|
+
import { n as p, t as m } from "./rpc-interceptor-D0l4GO-c.js";
|
|
4
|
+
var h = new class extends t {
|
|
5
5
|
constructor() {
|
|
6
6
|
super("sagittarius_gateway.FlowLogonRequest", []);
|
|
7
7
|
}
|
|
@@ -27,7 +27,7 @@ var m = new class extends t {
|
|
|
27
27
|
let i = r.writeUnknownFields;
|
|
28
28
|
return i !== !1 && (i == 1 ? e.onWrite : i)(this.typeName, t, n), n;
|
|
29
29
|
}
|
|
30
|
-
}(),
|
|
30
|
+
}(), g = new class extends t {
|
|
31
31
|
constructor() {
|
|
32
32
|
super("sagittarius_gateway.FlowResponse", [
|
|
33
33
|
{
|
|
@@ -95,7 +95,7 @@ var m = new class extends t {
|
|
|
95
95
|
let s = i.writeUnknownFields;
|
|
96
96
|
return s !== !1 && (s == 1 ? e.onWrite : s)(this.typeName, t, n), n;
|
|
97
97
|
}
|
|
98
|
-
}(),
|
|
98
|
+
}(), _ = new class extends t {
|
|
99
99
|
constructor() {
|
|
100
100
|
super("sagittarius_gateway.FlowPushRequest", [{
|
|
101
101
|
no: 1,
|
|
@@ -107,7 +107,7 @@ var m = new class extends t {
|
|
|
107
107
|
no: 2,
|
|
108
108
|
name: "response",
|
|
109
109
|
kind: "message",
|
|
110
|
-
T: () =>
|
|
110
|
+
T: () => g
|
|
111
111
|
}]);
|
|
112
112
|
}
|
|
113
113
|
create(e) {
|
|
@@ -123,7 +123,7 @@ var m = new class extends t {
|
|
|
123
123
|
a.runtimeIdentifier = t.int64().toBigInt();
|
|
124
124
|
break;
|
|
125
125
|
case 2:
|
|
126
|
-
a.response =
|
|
126
|
+
a.response = g.internalBinaryRead(t, t.uint32(), r, a.response);
|
|
127
127
|
break;
|
|
128
128
|
default:
|
|
129
129
|
let o = r.readUnknownField;
|
|
@@ -135,11 +135,11 @@ var m = new class extends t {
|
|
|
135
135
|
return a;
|
|
136
136
|
}
|
|
137
137
|
internalBinaryWrite(t, n, i) {
|
|
138
|
-
t.runtimeIdentifier !== 0n && n.tag(1, r.Varint).int64(t.runtimeIdentifier), t.response &&
|
|
138
|
+
t.runtimeIdentifier !== 0n && n.tag(1, r.Varint).int64(t.runtimeIdentifier), t.response && g.internalBinaryWrite(t.response, n.tag(2, r.LengthDelimited).fork(), i).join();
|
|
139
139
|
let a = i.writeUnknownFields;
|
|
140
140
|
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
|
|
141
141
|
}
|
|
142
|
-
}(),
|
|
142
|
+
}(), v = new class extends t {
|
|
143
143
|
constructor() {
|
|
144
144
|
super("sagittarius_gateway.FlowPushResponse", []);
|
|
145
145
|
}
|
|
@@ -165,37 +165,37 @@ var m = new class extends t {
|
|
|
165
165
|
let i = r.writeUnknownFields;
|
|
166
166
|
return i !== !1 && (i == 1 ? e.onWrite : i)(this.typeName, t, n), n;
|
|
167
167
|
}
|
|
168
|
-
}(),
|
|
168
|
+
}(), y = new p("sagittarius_gateway.FlowService", [{
|
|
169
169
|
name: "Update",
|
|
170
170
|
serverStreaming: !0,
|
|
171
171
|
options: {},
|
|
172
|
-
I:
|
|
173
|
-
O:
|
|
172
|
+
I: h,
|
|
173
|
+
O: g
|
|
174
174
|
}, {
|
|
175
175
|
name: "Push",
|
|
176
176
|
options: {},
|
|
177
|
-
I:
|
|
178
|
-
O:
|
|
179
|
-
}]),
|
|
177
|
+
I: _,
|
|
178
|
+
O: v
|
|
179
|
+
}]), b = class {
|
|
180
180
|
constructor(e) {
|
|
181
|
-
this._transport = e, this.typeName =
|
|
181
|
+
this._transport = e, this.typeName = y.typeName, this.methods = y.methods, this.options = y.options;
|
|
182
182
|
}
|
|
183
183
|
update(e, t) {
|
|
184
184
|
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
185
|
-
return
|
|
185
|
+
return m("serverStreaming", this._transport, n, r, e);
|
|
186
186
|
}
|
|
187
187
|
push(e, t) {
|
|
188
188
|
let n = this.methods[1], r = this._transport.mergeOptions(t);
|
|
189
|
-
return
|
|
189
|
+
return m("unary", this._transport, n, r, e);
|
|
190
190
|
}
|
|
191
|
-
},
|
|
191
|
+
}, x = new class extends t {
|
|
192
192
|
constructor() {
|
|
193
193
|
super("sagittarius_gateway.ModuleUpdateRequest", [{
|
|
194
194
|
no: 1,
|
|
195
195
|
name: "modules",
|
|
196
196
|
kind: "message",
|
|
197
197
|
repeat: 2,
|
|
198
|
-
T: () =>
|
|
198
|
+
T: () => s
|
|
199
199
|
}, {
|
|
200
200
|
no: 2,
|
|
201
201
|
name: "available_definition_sources",
|
|
@@ -214,7 +214,7 @@ var m = new class extends t {
|
|
|
214
214
|
let [n, i] = t.tag();
|
|
215
215
|
switch (n) {
|
|
216
216
|
case 1:
|
|
217
|
-
a.modules.push(
|
|
217
|
+
a.modules.push(s.internalBinaryRead(t, t.uint32(), r));
|
|
218
218
|
break;
|
|
219
219
|
case 2:
|
|
220
220
|
a.availableDefinitionSources.push(t.string());
|
|
@@ -222,19 +222,19 @@ var m = new class extends t {
|
|
|
222
222
|
default:
|
|
223
223
|
let o = r.readUnknownField;
|
|
224
224
|
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
225
|
-
let
|
|
226
|
-
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i,
|
|
225
|
+
let c = t.skip(i);
|
|
226
|
+
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, c);
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
229
|
return a;
|
|
230
230
|
}
|
|
231
231
|
internalBinaryWrite(t, n, i) {
|
|
232
|
-
for (let e = 0; e < t.modules.length; e++)
|
|
232
|
+
for (let e = 0; e < t.modules.length; e++) s.internalBinaryWrite(t.modules[e], n.tag(1, r.LengthDelimited).fork(), i).join();
|
|
233
233
|
for (let e = 0; e < t.availableDefinitionSources.length; e++) n.tag(2, r.LengthDelimited).string(t.availableDefinitionSources[e]);
|
|
234
234
|
let a = i.writeUnknownFields;
|
|
235
235
|
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
|
|
236
236
|
}
|
|
237
|
-
}(),
|
|
237
|
+
}(), S = new class extends t {
|
|
238
238
|
constructor() {
|
|
239
239
|
super("sagittarius_gateway.ModuleUpdateResponse", [{
|
|
240
240
|
no: 1,
|
|
@@ -245,7 +245,7 @@ var m = new class extends t {
|
|
|
245
245
|
no: 2,
|
|
246
246
|
name: "error",
|
|
247
247
|
kind: "message",
|
|
248
|
-
T: () =>
|
|
248
|
+
T: () => f
|
|
249
249
|
}]);
|
|
250
250
|
}
|
|
251
251
|
create(e) {
|
|
@@ -261,23 +261,23 @@ var m = new class extends t {
|
|
|
261
261
|
a.success = t.bool();
|
|
262
262
|
break;
|
|
263
263
|
case 2:
|
|
264
|
-
a.error =
|
|
264
|
+
a.error = f.internalBinaryRead(t, t.uint32(), r, a.error);
|
|
265
265
|
break;
|
|
266
266
|
default:
|
|
267
267
|
let o = r.readUnknownField;
|
|
268
268
|
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
269
|
-
let
|
|
270
|
-
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i,
|
|
269
|
+
let s = t.skip(i);
|
|
270
|
+
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
|
|
271
271
|
}
|
|
272
272
|
}
|
|
273
273
|
return a;
|
|
274
274
|
}
|
|
275
275
|
internalBinaryWrite(t, n, i) {
|
|
276
|
-
t.success !== !1 && n.tag(1, r.Varint).bool(t.success), t.error &&
|
|
276
|
+
t.success !== !1 && n.tag(1, r.Varint).bool(t.success), t.error && f.internalBinaryWrite(t.error, n.tag(2, r.LengthDelimited).fork(), i).join();
|
|
277
277
|
let a = i.writeUnknownFields;
|
|
278
278
|
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
|
|
279
279
|
}
|
|
280
|
-
}(),
|
|
280
|
+
}(), C = new class extends t {
|
|
281
281
|
constructor() {
|
|
282
282
|
super("sagittarius_gateway.ModuleConfigurationRequest", []);
|
|
283
283
|
}
|
|
@@ -303,13 +303,13 @@ var m = new class extends t {
|
|
|
303
303
|
let i = r.writeUnknownFields;
|
|
304
304
|
return i !== !1 && (i == 1 ? e.onWrite : i)(this.typeName, t, n), n;
|
|
305
305
|
}
|
|
306
|
-
}(),
|
|
306
|
+
}(), w = new class extends t {
|
|
307
307
|
constructor() {
|
|
308
308
|
super("sagittarius_gateway.ModuleConfigurationResponse", [{
|
|
309
309
|
no: 1,
|
|
310
310
|
name: "module_configurations",
|
|
311
311
|
kind: "message",
|
|
312
|
-
T: () =>
|
|
312
|
+
T: () => c
|
|
313
313
|
}]);
|
|
314
314
|
}
|
|
315
315
|
create(e) {
|
|
@@ -322,7 +322,7 @@ var m = new class extends t {
|
|
|
322
322
|
let [n, i] = t.tag();
|
|
323
323
|
switch (n) {
|
|
324
324
|
case 1:
|
|
325
|
-
a.moduleConfigurations =
|
|
325
|
+
a.moduleConfigurations = c.internalBinaryRead(t, t.uint32(), r, a.moduleConfigurations);
|
|
326
326
|
break;
|
|
327
327
|
default:
|
|
328
328
|
let o = r.readUnknownField;
|
|
@@ -334,11 +334,11 @@ var m = new class extends t {
|
|
|
334
334
|
return a;
|
|
335
335
|
}
|
|
336
336
|
internalBinaryWrite(t, n, i) {
|
|
337
|
-
t.moduleConfigurations &&
|
|
337
|
+
t.moduleConfigurations && c.internalBinaryWrite(t.moduleConfigurations, n.tag(1, r.LengthDelimited).fork(), i).join();
|
|
338
338
|
let a = i.writeUnknownFields;
|
|
339
339
|
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
|
|
340
340
|
}
|
|
341
|
-
}(),
|
|
341
|
+
}(), T = new class extends t {
|
|
342
342
|
constructor() {
|
|
343
343
|
super("sagittarius_gateway.ModuleConfigurationPushRequest", [{
|
|
344
344
|
no: 1,
|
|
@@ -350,7 +350,7 @@ var m = new class extends t {
|
|
|
350
350
|
no: 2,
|
|
351
351
|
name: "response",
|
|
352
352
|
kind: "message",
|
|
353
|
-
T: () =>
|
|
353
|
+
T: () => w
|
|
354
354
|
}]);
|
|
355
355
|
}
|
|
356
356
|
create(e) {
|
|
@@ -366,7 +366,7 @@ var m = new class extends t {
|
|
|
366
366
|
a.runtimeIdentifier = t.int64().toBigInt();
|
|
367
367
|
break;
|
|
368
368
|
case 2:
|
|
369
|
-
a.response =
|
|
369
|
+
a.response = w.internalBinaryRead(t, t.uint32(), r, a.response);
|
|
370
370
|
break;
|
|
371
371
|
default:
|
|
372
372
|
let o = r.readUnknownField;
|
|
@@ -378,11 +378,11 @@ var m = new class extends t {
|
|
|
378
378
|
return a;
|
|
379
379
|
}
|
|
380
380
|
internalBinaryWrite(t, n, i) {
|
|
381
|
-
t.runtimeIdentifier !== 0n && n.tag(1, r.Varint).int64(t.runtimeIdentifier), t.response &&
|
|
381
|
+
t.runtimeIdentifier !== 0n && n.tag(1, r.Varint).int64(t.runtimeIdentifier), t.response && w.internalBinaryWrite(t.response, n.tag(2, r.LengthDelimited).fork(), i).join();
|
|
382
382
|
let a = i.writeUnknownFields;
|
|
383
383
|
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
|
|
384
384
|
}
|
|
385
|
-
}(),
|
|
385
|
+
}(), E = new class extends t {
|
|
386
386
|
constructor() {
|
|
387
387
|
super("sagittarius_gateway.ModuleConfigurationPushResponse", []);
|
|
388
388
|
}
|
|
@@ -408,54 +408,61 @@ var m = new class extends t {
|
|
|
408
408
|
let i = r.writeUnknownFields;
|
|
409
409
|
return i !== !1 && (i == 1 ? e.onWrite : i)(this.typeName, t, n), n;
|
|
410
410
|
}
|
|
411
|
-
}(),
|
|
411
|
+
}(), D = new p("sagittarius_gateway.ModuleService", [
|
|
412
412
|
{
|
|
413
413
|
name: "Update",
|
|
414
414
|
options: {},
|
|
415
|
-
I:
|
|
416
|
-
O:
|
|
415
|
+
I: x,
|
|
416
|
+
O: S
|
|
417
417
|
},
|
|
418
418
|
{
|
|
419
419
|
name: "Configurations",
|
|
420
420
|
serverStreaming: !0,
|
|
421
421
|
options: {},
|
|
422
|
-
I:
|
|
423
|
-
O:
|
|
422
|
+
I: C,
|
|
423
|
+
O: w
|
|
424
424
|
},
|
|
425
425
|
{
|
|
426
426
|
name: "Push",
|
|
427
427
|
options: {},
|
|
428
|
-
I:
|
|
429
|
-
O:
|
|
428
|
+
I: T,
|
|
429
|
+
O: E
|
|
430
430
|
}
|
|
431
|
-
]),
|
|
431
|
+
]), O = class {
|
|
432
432
|
constructor(e) {
|
|
433
|
-
this._transport = e, this.typeName =
|
|
433
|
+
this._transport = e, this.typeName = D.typeName, this.methods = D.methods, this.options = D.options;
|
|
434
434
|
}
|
|
435
435
|
update(e, t) {
|
|
436
436
|
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
437
|
-
return
|
|
437
|
+
return m("unary", this._transport, n, r, e);
|
|
438
438
|
}
|
|
439
439
|
configurations(e, t) {
|
|
440
440
|
let n = this.methods[1], r = this._transport.mergeOptions(t);
|
|
441
|
-
return
|
|
441
|
+
return m("serverStreaming", this._transport, n, r, e);
|
|
442
442
|
}
|
|
443
443
|
push(e, t) {
|
|
444
444
|
let n = this.methods[2], r = this._transport.mergeOptions(t);
|
|
445
|
-
return
|
|
445
|
+
return m("unary", this._transport, n, r, e);
|
|
446
446
|
}
|
|
447
|
-
},
|
|
447
|
+
}, k = new class extends t {
|
|
448
448
|
constructor() {
|
|
449
449
|
super("sagittarius_gateway.RuntimeStatusUpdateRequest", [{
|
|
450
450
|
no: 1,
|
|
451
|
-
name: "
|
|
451
|
+
name: "module_status",
|
|
452
452
|
kind: "message",
|
|
453
|
+
oneof: "status",
|
|
453
454
|
T: () => d
|
|
455
|
+
}, {
|
|
456
|
+
no: 2,
|
|
457
|
+
name: "runtime_status",
|
|
458
|
+
kind: "message",
|
|
459
|
+
oneof: "status",
|
|
460
|
+
T: () => u
|
|
454
461
|
}]);
|
|
455
462
|
}
|
|
456
463
|
create(e) {
|
|
457
464
|
let t = globalThis.Object.create(this.messagePrototype);
|
|
458
|
-
return e !== void 0 && n(this, t, e), t;
|
|
465
|
+
return t.status = { oneofKind: void 0 }, e !== void 0 && n(this, t, e), t;
|
|
459
466
|
}
|
|
460
467
|
internalBinaryRead(t, n, r, i) {
|
|
461
468
|
let a = i ?? this.create(), o = t.pos + n;
|
|
@@ -463,7 +470,16 @@ var m = new class extends t {
|
|
|
463
470
|
let [n, i] = t.tag();
|
|
464
471
|
switch (n) {
|
|
465
472
|
case 1:
|
|
466
|
-
a.status =
|
|
473
|
+
a.status = {
|
|
474
|
+
oneofKind: "moduleStatus",
|
|
475
|
+
moduleStatus: d.internalBinaryRead(t, t.uint32(), r, a.status.moduleStatus)
|
|
476
|
+
};
|
|
477
|
+
break;
|
|
478
|
+
case 2:
|
|
479
|
+
a.status = {
|
|
480
|
+
oneofKind: "runtimeStatus",
|
|
481
|
+
runtimeStatus: u.internalBinaryRead(t, t.uint32(), r, a.status.runtimeStatus)
|
|
482
|
+
};
|
|
467
483
|
break;
|
|
468
484
|
default:
|
|
469
485
|
let o = r.readUnknownField;
|
|
@@ -475,11 +491,11 @@ var m = new class extends t {
|
|
|
475
491
|
return a;
|
|
476
492
|
}
|
|
477
493
|
internalBinaryWrite(t, n, i) {
|
|
478
|
-
t.status && d.internalBinaryWrite(t.status, n.tag(1, r.LengthDelimited).fork(), i).join();
|
|
494
|
+
t.status.oneofKind === "moduleStatus" && d.internalBinaryWrite(t.status.moduleStatus, n.tag(1, r.LengthDelimited).fork(), i).join(), t.status.oneofKind === "runtimeStatus" && u.internalBinaryWrite(t.status.runtimeStatus, n.tag(2, r.LengthDelimited).fork(), i).join();
|
|
479
495
|
let a = i.writeUnknownFields;
|
|
480
496
|
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
|
|
481
497
|
}
|
|
482
|
-
}(),
|
|
498
|
+
}(), A = new class extends t {
|
|
483
499
|
constructor() {
|
|
484
500
|
super("sagittarius_gateway.RuntimeStatusUpdateResponse", [{
|
|
485
501
|
no: 1,
|
|
@@ -490,7 +506,7 @@ var m = new class extends t {
|
|
|
490
506
|
no: 2,
|
|
491
507
|
name: "error",
|
|
492
508
|
kind: "message",
|
|
493
|
-
T: () =>
|
|
509
|
+
T: () => f
|
|
494
510
|
}]);
|
|
495
511
|
}
|
|
496
512
|
create(e) {
|
|
@@ -506,36 +522,36 @@ var m = new class extends t {
|
|
|
506
522
|
a.success = t.bool();
|
|
507
523
|
break;
|
|
508
524
|
case 2:
|
|
509
|
-
a.error =
|
|
525
|
+
a.error = f.internalBinaryRead(t, t.uint32(), r, a.error);
|
|
510
526
|
break;
|
|
511
527
|
default:
|
|
512
528
|
let o = r.readUnknownField;
|
|
513
529
|
if (o === "throw") throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);
|
|
514
|
-
let
|
|
515
|
-
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i,
|
|
530
|
+
let s = t.skip(i);
|
|
531
|
+
o !== !1 && (o === !0 ? e.onRead : o)(this.typeName, a, n, i, s);
|
|
516
532
|
}
|
|
517
533
|
}
|
|
518
534
|
return a;
|
|
519
535
|
}
|
|
520
536
|
internalBinaryWrite(t, n, i) {
|
|
521
|
-
t.success !== !1 && n.tag(1, r.Varint).bool(t.success), t.error &&
|
|
537
|
+
t.success !== !1 && n.tag(1, r.Varint).bool(t.success), t.error && f.internalBinaryWrite(t.error, n.tag(2, r.LengthDelimited).fork(), i).join();
|
|
522
538
|
let a = i.writeUnknownFields;
|
|
523
539
|
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
|
|
524
540
|
}
|
|
525
|
-
}(),
|
|
541
|
+
}(), j = new p("sagittarius_gateway.RuntimeStatusService", [{
|
|
526
542
|
name: "Update",
|
|
527
543
|
options: {},
|
|
528
|
-
I:
|
|
529
|
-
O:
|
|
530
|
-
}]),
|
|
544
|
+
I: k,
|
|
545
|
+
O: A
|
|
546
|
+
}]), M = class {
|
|
531
547
|
constructor(e) {
|
|
532
|
-
this._transport = e, this.typeName =
|
|
548
|
+
this._transport = e, this.typeName = j.typeName, this.methods = j.methods, this.options = j.options;
|
|
533
549
|
}
|
|
534
550
|
update(e, t) {
|
|
535
551
|
let n = this.methods[0], r = this._transport.mergeOptions(t);
|
|
536
|
-
return
|
|
552
|
+
return m("unary", this._transport, n, r, e);
|
|
537
553
|
}
|
|
538
|
-
},
|
|
554
|
+
}, N = new class extends t {
|
|
539
555
|
constructor() {
|
|
540
556
|
super("sagittarius_gateway.Logon", []);
|
|
541
557
|
}
|
|
@@ -561,7 +577,7 @@ var m = new class extends t {
|
|
|
561
577
|
let i = r.writeUnknownFields;
|
|
562
578
|
return i !== !1 && (i == 1 ? e.onWrite : i)(this.typeName, t, n), n;
|
|
563
579
|
}
|
|
564
|
-
}(),
|
|
580
|
+
}(), P = new class extends t {
|
|
565
581
|
constructor() {
|
|
566
582
|
super("sagittarius_gateway.TestExecutionRequest", [
|
|
567
583
|
{
|
|
@@ -617,20 +633,20 @@ var m = new class extends t {
|
|
|
617
633
|
let o = a.writeUnknownFields;
|
|
618
634
|
return o !== !1 && (o == 1 ? e.onWrite : o)(this.typeName, t, n), n;
|
|
619
635
|
}
|
|
620
|
-
}(),
|
|
636
|
+
}(), F = new class extends t {
|
|
621
637
|
constructor() {
|
|
622
638
|
super("sagittarius_gateway.ExecutionLogonRequest", [{
|
|
623
639
|
no: 1,
|
|
624
640
|
name: "logon",
|
|
625
641
|
kind: "message",
|
|
626
642
|
oneof: "data",
|
|
627
|
-
T: () =>
|
|
643
|
+
T: () => N
|
|
628
644
|
}, {
|
|
629
645
|
no: 2,
|
|
630
646
|
name: "response",
|
|
631
647
|
kind: "message",
|
|
632
648
|
oneof: "data",
|
|
633
|
-
T: () =>
|
|
649
|
+
T: () => l
|
|
634
650
|
}]);
|
|
635
651
|
}
|
|
636
652
|
create(e) {
|
|
@@ -645,13 +661,13 @@ var m = new class extends t {
|
|
|
645
661
|
case 1:
|
|
646
662
|
a.data = {
|
|
647
663
|
oneofKind: "logon",
|
|
648
|
-
logon:
|
|
664
|
+
logon: N.internalBinaryRead(t, t.uint32(), r, a.data.logon)
|
|
649
665
|
};
|
|
650
666
|
break;
|
|
651
667
|
case 2:
|
|
652
668
|
a.data = {
|
|
653
669
|
oneofKind: "response",
|
|
654
|
-
response:
|
|
670
|
+
response: l.internalBinaryRead(t, t.uint32(), r, a.data.response)
|
|
655
671
|
};
|
|
656
672
|
break;
|
|
657
673
|
default:
|
|
@@ -664,17 +680,17 @@ var m = new class extends t {
|
|
|
664
680
|
return a;
|
|
665
681
|
}
|
|
666
682
|
internalBinaryWrite(t, n, i) {
|
|
667
|
-
t.data.oneofKind === "logon" &&
|
|
683
|
+
t.data.oneofKind === "logon" && N.internalBinaryWrite(t.data.logon, n.tag(1, r.LengthDelimited).fork(), i).join(), t.data.oneofKind === "response" && l.internalBinaryWrite(t.data.response, n.tag(2, r.LengthDelimited).fork(), i).join();
|
|
668
684
|
let a = i.writeUnknownFields;
|
|
669
685
|
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
|
|
670
686
|
}
|
|
671
|
-
}(),
|
|
687
|
+
}(), I = new class extends t {
|
|
672
688
|
constructor() {
|
|
673
689
|
super("sagittarius_gateway.ExecutionLogonResponse", [{
|
|
674
690
|
no: 1,
|
|
675
691
|
name: "request",
|
|
676
692
|
kind: "message",
|
|
677
|
-
T: () =>
|
|
693
|
+
T: () => P
|
|
678
694
|
}]);
|
|
679
695
|
}
|
|
680
696
|
create(e) {
|
|
@@ -687,7 +703,7 @@ var m = new class extends t {
|
|
|
687
703
|
let [n, i] = t.tag();
|
|
688
704
|
switch (n) {
|
|
689
705
|
case 1:
|
|
690
|
-
a.request =
|
|
706
|
+
a.request = P.internalBinaryRead(t, t.uint32(), r, a.request);
|
|
691
707
|
break;
|
|
692
708
|
default:
|
|
693
709
|
let o = r.readUnknownField;
|
|
@@ -699,17 +715,17 @@ var m = new class extends t {
|
|
|
699
715
|
return a;
|
|
700
716
|
}
|
|
701
717
|
internalBinaryWrite(t, n, i) {
|
|
702
|
-
t.request &&
|
|
718
|
+
t.request && P.internalBinaryWrite(t.request, n.tag(1, r.LengthDelimited).fork(), i).join();
|
|
703
719
|
let a = i.writeUnknownFields;
|
|
704
720
|
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
|
|
705
721
|
}
|
|
706
|
-
}(),
|
|
722
|
+
}(), L = new class extends t {
|
|
707
723
|
constructor() {
|
|
708
724
|
super("sagittarius_gateway.ExecutionPushRequest", [{
|
|
709
725
|
no: 1,
|
|
710
726
|
name: "request",
|
|
711
727
|
kind: "message",
|
|
712
|
-
T: () =>
|
|
728
|
+
T: () => P
|
|
713
729
|
}]);
|
|
714
730
|
}
|
|
715
731
|
create(e) {
|
|
@@ -722,7 +738,7 @@ var m = new class extends t {
|
|
|
722
738
|
let [n, i] = t.tag();
|
|
723
739
|
switch (n) {
|
|
724
740
|
case 1:
|
|
725
|
-
a.request =
|
|
741
|
+
a.request = P.internalBinaryRead(t, t.uint32(), r, a.request);
|
|
726
742
|
break;
|
|
727
743
|
default:
|
|
728
744
|
let o = r.readUnknownField;
|
|
@@ -734,11 +750,11 @@ var m = new class extends t {
|
|
|
734
750
|
return a;
|
|
735
751
|
}
|
|
736
752
|
internalBinaryWrite(t, n, i) {
|
|
737
|
-
t.request &&
|
|
753
|
+
t.request && P.internalBinaryWrite(t.request, n.tag(1, r.LengthDelimited).fork(), i).join();
|
|
738
754
|
let a = i.writeUnknownFields;
|
|
739
755
|
return a !== !1 && (a == 1 ? e.onWrite : a)(this.typeName, t, n), n;
|
|
740
756
|
}
|
|
741
|
-
}(),
|
|
757
|
+
}(), R = new class extends t {
|
|
742
758
|
constructor() {
|
|
743
759
|
super("sagittarius_gateway.ExecutionPushResponse", []);
|
|
744
760
|
}
|
|
@@ -764,30 +780,30 @@ var m = new class extends t {
|
|
|
764
780
|
let i = r.writeUnknownFields;
|
|
765
781
|
return i !== !1 && (i == 1 ? e.onWrite : i)(this.typeName, t, n), n;
|
|
766
782
|
}
|
|
767
|
-
}(),
|
|
783
|
+
}(), z = new p("sagittarius_gateway.ExecutionService", [{
|
|
768
784
|
name: "Update",
|
|
769
785
|
serverStreaming: !0,
|
|
770
786
|
clientStreaming: !0,
|
|
771
787
|
options: {},
|
|
772
|
-
I:
|
|
773
|
-
O:
|
|
788
|
+
I: F,
|
|
789
|
+
O: I
|
|
774
790
|
}, {
|
|
775
791
|
name: "Push",
|
|
776
792
|
options: {},
|
|
777
|
-
I,
|
|
778
|
-
O:
|
|
779
|
-
}]),
|
|
793
|
+
I: L,
|
|
794
|
+
O: R
|
|
795
|
+
}]), B = class {
|
|
780
796
|
constructor(e) {
|
|
781
|
-
this._transport = e, this.typeName =
|
|
797
|
+
this._transport = e, this.typeName = z.typeName, this.methods = z.methods, this.options = z.options;
|
|
782
798
|
}
|
|
783
799
|
update(e) {
|
|
784
800
|
let t = this.methods[0], n = this._transport.mergeOptions(e);
|
|
785
|
-
return
|
|
801
|
+
return m("duplex", this._transport, t, n);
|
|
786
802
|
}
|
|
787
803
|
push(e, t) {
|
|
788
804
|
let n = this.methods[1], r = this._transport.mergeOptions(t);
|
|
789
|
-
return
|
|
805
|
+
return m("unary", this._transport, n, r, e);
|
|
790
806
|
}
|
|
791
807
|
};
|
|
792
808
|
//#endregion
|
|
793
|
-
export {
|
|
809
|
+
export { F as ExecutionLogonRequest, I as ExecutionLogonResponse, L as ExecutionPushRequest, R as ExecutionPushResponse, z as ExecutionService, B as ExecutionServiceClient, h as FlowLogonRequest, _ as FlowPushRequest, v as FlowPushResponse, g as FlowResponse, y as FlowService, b as FlowServiceClient, N as Logon, T as ModuleConfigurationPushRequest, E as ModuleConfigurationPushResponse, C as ModuleConfigurationRequest, w as ModuleConfigurationResponse, D as ModuleService, O as ModuleServiceClient, x as ModuleUpdateRequest, S as ModuleUpdateResponse, j as RuntimeStatusService, M as RuntimeStatusServiceClient, k as RuntimeStatusUpdateRequest, A as RuntimeStatusUpdateResponse, P as TestExecutionRequest };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./shared.function_pb-BxQgyP8l.cjs"),t=require("./shared.runtime_status_pb-BlKabFnb.cjs"),n=require("./rpc-interceptor-D-IMsC9l.cjs");var r=new class extends e.N{constructor(){super(`sagittarius_rails.FlowLogonRequest`,[])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.P(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.L.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){let i=r.writeUnknownFields;return i!==!1&&(i==1?e.L.onWrite:i)(this.typeName,t,n),n}},i=new class extends e.N{constructor(){super(`sagittarius_rails.FlowResponse`,[{no:1,name:`updated_flow`,kind:`message`,oneof:`data`,T:()=>e.b},{no:2,name:`deleted_flow_id`,kind:`scalar`,oneof:`data`,T:3,L:0},{no:3,name:`flows`,kind:`message`,oneof:`data`,T:()=>e.l}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.data={oneofKind:void 0},t!==void 0&&e.P(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.data={oneofKind:`updatedFlow`,updatedFlow:e.b.internalBinaryRead(t,t.uint32(),r,a.data.updatedFlow)};break;case 2:a.data={oneofKind:`deletedFlowId`,deletedFlowId:t.int64().toBigInt()};break;case 3:a.data={oneofKind:`flows`,flows:e.l.internalBinaryRead(t,t.uint32(),r,a.data.flows)};break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.L.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.data.oneofKind===`updatedFlow`&&e.b.internalBinaryWrite(t.data.updatedFlow,n.tag(1,e.R.LengthDelimited).fork(),r).join(),t.data.oneofKind===`deletedFlowId`&&n.tag(2,e.R.Varint).int64(t.data.deletedFlowId),t.data.oneofKind===`flows`&&e.l.internalBinaryWrite(t.data.flows,n.tag(3,e.R.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.L.onWrite:i)(this.typeName,t,n),n}},a=new n.n(`sagittarius_rails.FlowService`,[{name:`Update`,options:{},I:r,O:i}]),o=class{constructor(e){this._transport=e,this.typeName=a.typeName,this.methods=a.methods,this.options=a.options}update(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},s=new class extends e.N{constructor(){super(`sagittarius_rails.ModuleUpdateRequest`,[{no:1,name:`modules`,kind:`message`,repeat:2,T:()=>t.i},{no:2,name:`available_definition_sources`,kind:`scalar`,repeat:2,T:9}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.modules=[],n.availableDefinitionSources=[],t!==void 0&&e.P(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.modules.push(t.i.internalBinaryRead(n,n.uint32(),i));break;case 2:o.availableDefinitionSources.push(n.string());break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.L.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){for(let a=0;a<n.modules.length;a++)t.i.internalBinaryWrite(n.modules[a],r.tag(1,e.R.LengthDelimited).fork(),i).join();for(let t=0;t<n.availableDefinitionSources.length;t++)r.tag(2,e.R.LengthDelimited).string(n.availableDefinitionSources[t]);let a=i.writeUnknownFields;return a!==!1&&(a==1?e.L.onWrite:a)(this.typeName,n,r),r}},c=new class extends e.N{constructor(){super(`sagittarius_rails.ModuleUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8},{no:2,name:`error`,kind:`message`,T:()=>t.b}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.P(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.success=n.bool();break;case 2:o.error=t.b.internalBinaryRead(n,n.uint32(),i,o.error);break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.L.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.success!==!1&&r.tag(1,e.R.Varint).bool(n.success),n.error&&t.b.internalBinaryWrite(n.error,r.tag(2,e.R.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.L.onWrite:a)(this.typeName,n,r),r}},l=new n.n(`sagittarius_rails.ModuleService`,[{name:`Update`,options:{},I:s,O:c}]),u=class{constructor(e){this._transport=e,this.typeName=l.typeName,this.methods=l.methods,this.options=l.options}update(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},d=new class extends e.N{constructor(){super(`sagittarius_rails.RuntimeStatusUpdateRequest`,[{no:1,name:`status`,kind:`message`,T:()=>t.t}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.P(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.status=t.t.internalBinaryRead(n,n.uint32(),i,o.status);break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.L.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.status&&t.t.internalBinaryWrite(n.status,r.tag(1,e.R.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.L.onWrite:a)(this.typeName,n,r),r}},f=new class extends e.N{constructor(){super(`sagittarius_rails.RuntimeStatusUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8},{no:2,name:`error`,kind:`message`,T:()=>t.b}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.P(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.success=n.bool();break;case 2:o.error=t.b.internalBinaryRead(n,n.uint32(),i,o.error);break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.L.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.success!==!1&&r.tag(1,e.R.Varint).bool(n.success),n.error&&t.b.internalBinaryWrite(n.error,r.tag(2,e.R.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.L.onWrite:a)(this.typeName,n,r),r}},p=new n.n(`sagittarius_rails.RuntimeStatusService`,[{name:`Update`,options:{},I:d,O:f}]),m=class{constructor(e){this._transport=e,this.typeName=p.typeName,this.methods=p.methods,this.options=p.options}update(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},h=new class extends e.N{constructor(){super(`sagittarius_rails.ExecutionRequest`,[{no:1,name:`response`,kind:`message`,T:()=>t.h}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.P(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.response=t.h.internalBinaryRead(n,n.uint32(),i,o.response);break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.L.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.response&&t.h.internalBinaryWrite(n.response,r.tag(1,e.R.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.L.onWrite:a)(this.typeName,n,r),r}},g=new class extends e.N{constructor(){super(`sagittarius_rails.ExecutionResponse`,[{no:1,name:`success`,kind:`scalar`,T:8},{no:2,name:`error`,kind:`message`,T:()=>t.b}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.P(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.success=n.bool();break;case 2:o.error=t.b.internalBinaryRead(n,n.uint32(),i,o.error);break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.L.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.success!==!1&&r.tag(1,e.R.Varint).bool(n.success),n.error&&t.b.internalBinaryWrite(n.error,r.tag(2,e.R.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.L.onWrite:a)(this.typeName,n,r),r}},_=new n.n(`sagittarius_rails.ExecutionService`,[{name:`Update`,options:{},I:h,O:g}]),v=class{constructor(e){this._transport=e,this.typeName=_.typeName,this.methods=_.methods,this.options=_.options}update(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},y=new class extends e.N{constructor(){super(`sagittarius_rails.TokenVerifyRequest`,[{no:1,name:`token`,kind:`scalar`,T:9}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.token=``,t!==void 0&&e.P(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.token=t.string();break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.L.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.token!==``&&n.tag(1,e.R.LengthDelimited).string(t.token);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.L.onWrite:i)(this.typeName,t,n),n}},b=new class extends e.N{constructor(){super(`sagittarius_rails.TokenVerifyResponse`,[{no:1,name:`verified`,kind:`message`,oneof:`data`,T:()=>x},{no:2,name:`unverified`,kind:`message`,oneof:`data`,T:()=>S}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.data={oneofKind:void 0},t!==void 0&&e.P(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.data={oneofKind:`verified`,verified:x.internalBinaryRead(t,t.uint32(),r,a.data.verified)};break;case 2:a.data={oneofKind:`unverified`,unverified:S.internalBinaryRead(t,t.uint32(),r,a.data.unverified)};break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.L.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.data.oneofKind===`verified`&&x.internalBinaryWrite(t.data.verified,n.tag(1,e.R.LengthDelimited).fork(),r).join(),t.data.oneofKind===`unverified`&&S.internalBinaryWrite(t.data.unverified,n.tag(2,e.R.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.L.onWrite:i)(this.typeName,t,n),n}},x=new class extends e.N{constructor(){super(`sagittarius_rails.VerifiedRuntime`,[{no:1,name:`runtime_id`,kind:`scalar`,T:3,L:0}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.runtimeId=0n,t!==void 0&&e.P(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.runtimeId=t.int64().toBigInt();break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.L.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.runtimeId!==0n&&n.tag(1,e.R.Varint).int64(t.runtimeId);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.L.onWrite:i)(this.typeName,t,n),n}},S=new class extends e.N{constructor(){super(`sagittarius_rails.UnverifiedRuntime`,[])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.P(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.L.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){let i=r.writeUnknownFields;return i!==!1&&(i==1?e.L.onWrite:i)(this.typeName,t,n),n}},C=new n.n(`sagittarius_rails.TokenService`,[{name:`Verify`,options:{},I:y,O:b}]),w=class{constructor(e){this._transport=e,this.typeName=C.typeName,this.methods=C.methods,this.options=C.options}verify(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}};exports.ExecutionRequest=h,exports.ExecutionResponse=g,exports.ExecutionService=_,exports.ExecutionServiceClient=v,exports.FlowLogonRequest=r,exports.FlowResponse=i,exports.FlowService=a,exports.FlowServiceClient=o,exports.ModuleService=l,exports.ModuleServiceClient=u,exports.ModuleUpdateRequest=s,exports.ModuleUpdateResponse=c,exports.RuntimeStatusService=p,exports.RuntimeStatusServiceClient=m,exports.RuntimeStatusUpdateRequest=d,exports.RuntimeStatusUpdateResponse=f,exports.TokenService=C,exports.TokenServiceClient=w,exports.TokenVerifyRequest=y,exports.TokenVerifyResponse=b,exports.UnverifiedRuntime=S,exports.VerifiedRuntime=x;
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./shared.function_pb-BxQgyP8l.cjs"),t=require("./shared.runtime_status_pb-v763gk52.cjs"),n=require("./rpc-interceptor-D-IMsC9l.cjs");var r=new class extends e.N{constructor(){super(`sagittarius_rails.FlowLogonRequest`,[])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.P(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.L.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){let i=r.writeUnknownFields;return i!==!1&&(i==1?e.L.onWrite:i)(this.typeName,t,n),n}},i=new class extends e.N{constructor(){super(`sagittarius_rails.FlowResponse`,[{no:1,name:`updated_flow`,kind:`message`,oneof:`data`,T:()=>e.b},{no:2,name:`deleted_flow_id`,kind:`scalar`,oneof:`data`,T:3,L:0},{no:3,name:`flows`,kind:`message`,oneof:`data`,T:()=>e.l}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.data={oneofKind:void 0},t!==void 0&&e.P(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.data={oneofKind:`updatedFlow`,updatedFlow:e.b.internalBinaryRead(t,t.uint32(),r,a.data.updatedFlow)};break;case 2:a.data={oneofKind:`deletedFlowId`,deletedFlowId:t.int64().toBigInt()};break;case 3:a.data={oneofKind:`flows`,flows:e.l.internalBinaryRead(t,t.uint32(),r,a.data.flows)};break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.L.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.data.oneofKind===`updatedFlow`&&e.b.internalBinaryWrite(t.data.updatedFlow,n.tag(1,e.R.LengthDelimited).fork(),r).join(),t.data.oneofKind===`deletedFlowId`&&n.tag(2,e.R.Varint).int64(t.data.deletedFlowId),t.data.oneofKind===`flows`&&e.l.internalBinaryWrite(t.data.flows,n.tag(3,e.R.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.L.onWrite:i)(this.typeName,t,n),n}},a=new n.n(`sagittarius_rails.FlowService`,[{name:`Update`,options:{},I:r,O:i}]),o=class{constructor(e){this._transport=e,this.typeName=a.typeName,this.methods=a.methods,this.options=a.options}update(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},s=new class extends e.N{constructor(){super(`sagittarius_rails.ModuleUpdateRequest`,[{no:1,name:`modules`,kind:`message`,repeat:2,T:()=>t.a},{no:2,name:`available_definition_sources`,kind:`scalar`,repeat:2,T:9}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.modules=[],n.availableDefinitionSources=[],t!==void 0&&e.P(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.modules.push(t.a.internalBinaryRead(n,n.uint32(),i));break;case 2:o.availableDefinitionSources.push(n.string());break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.L.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){for(let a=0;a<n.modules.length;a++)t.a.internalBinaryWrite(n.modules[a],r.tag(1,e.R.LengthDelimited).fork(),i).join();for(let t=0;t<n.availableDefinitionSources.length;t++)r.tag(2,e.R.LengthDelimited).string(n.availableDefinitionSources[t]);let a=i.writeUnknownFields;return a!==!1&&(a==1?e.L.onWrite:a)(this.typeName,n,r),r}},c=new class extends e.N{constructor(){super(`sagittarius_rails.ModuleUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8},{no:2,name:`error`,kind:`message`,T:()=>t.x}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.P(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.success=n.bool();break;case 2:o.error=t.x.internalBinaryRead(n,n.uint32(),i,o.error);break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.L.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.success!==!1&&r.tag(1,e.R.Varint).bool(n.success),n.error&&t.x.internalBinaryWrite(n.error,r.tag(2,e.R.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.L.onWrite:a)(this.typeName,n,r),r}},l=new n.n(`sagittarius_rails.ModuleService`,[{name:`Update`,options:{},I:s,O:c}]),u=class{constructor(e){this._transport=e,this.typeName=l.typeName,this.methods=l.methods,this.options=l.options}update(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},d=new class extends e.N{constructor(){super(`sagittarius_rails.RuntimeStatusUpdateRequest`,[{no:1,name:`module_status`,kind:`message`,oneof:`status`,T:()=>t.t},{no:2,name:`runtime_status`,kind:`message`,oneof:`status`,T:()=>t.r}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.status={oneofKind:void 0},t!==void 0&&e.P(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.status={oneofKind:`moduleStatus`,moduleStatus:t.t.internalBinaryRead(n,n.uint32(),i,o.status.moduleStatus)};break;case 2:o.status={oneofKind:`runtimeStatus`,runtimeStatus:t.r.internalBinaryRead(n,n.uint32(),i,o.status.runtimeStatus)};break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.L.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.status.oneofKind===`moduleStatus`&&t.t.internalBinaryWrite(n.status.moduleStatus,r.tag(1,e.R.LengthDelimited).fork(),i).join(),n.status.oneofKind===`runtimeStatus`&&t.r.internalBinaryWrite(n.status.runtimeStatus,r.tag(2,e.R.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.L.onWrite:a)(this.typeName,n,r),r}},f=new class extends e.N{constructor(){super(`sagittarius_rails.RuntimeStatusUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8},{no:2,name:`error`,kind:`message`,T:()=>t.x}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.P(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.success=n.bool();break;case 2:o.error=t.x.internalBinaryRead(n,n.uint32(),i,o.error);break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.L.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.success!==!1&&r.tag(1,e.R.Varint).bool(n.success),n.error&&t.x.internalBinaryWrite(n.error,r.tag(2,e.R.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.L.onWrite:a)(this.typeName,n,r),r}},p=new n.n(`sagittarius_rails.RuntimeStatusService`,[{name:`Update`,options:{},I:d,O:f}]),m=class{constructor(e){this._transport=e,this.typeName=p.typeName,this.methods=p.methods,this.options=p.options}update(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},h=new class extends e.N{constructor(){super(`sagittarius_rails.ExecutionRequest`,[{no:1,name:`response`,kind:`message`,T:()=>t.g}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.P(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.response=t.g.internalBinaryRead(n,n.uint32(),i,o.response);break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.L.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.response&&t.g.internalBinaryWrite(n.response,r.tag(1,e.R.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.L.onWrite:a)(this.typeName,n,r),r}},g=new class extends e.N{constructor(){super(`sagittarius_rails.ExecutionResponse`,[{no:1,name:`success`,kind:`scalar`,T:8},{no:2,name:`error`,kind:`message`,T:()=>t.x}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.P(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.success=n.bool();break;case 2:o.error=t.x.internalBinaryRead(n,n.uint32(),i,o.error);break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.L.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.success!==!1&&r.tag(1,e.R.Varint).bool(n.success),n.error&&t.x.internalBinaryWrite(n.error,r.tag(2,e.R.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.L.onWrite:a)(this.typeName,n,r),r}},_=new n.n(`sagittarius_rails.ExecutionService`,[{name:`Update`,options:{},I:h,O:g}]),v=class{constructor(e){this._transport=e,this.typeName=_.typeName,this.methods=_.methods,this.options=_.options}update(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},y=new class extends e.N{constructor(){super(`sagittarius_rails.TokenVerifyRequest`,[{no:1,name:`token`,kind:`scalar`,T:9}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.token=``,t!==void 0&&e.P(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.token=t.string();break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.L.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.token!==``&&n.tag(1,e.R.LengthDelimited).string(t.token);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.L.onWrite:i)(this.typeName,t,n),n}},b=new class extends e.N{constructor(){super(`sagittarius_rails.TokenVerifyResponse`,[{no:1,name:`verified`,kind:`message`,oneof:`data`,T:()=>x},{no:2,name:`unverified`,kind:`message`,oneof:`data`,T:()=>S}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.data={oneofKind:void 0},t!==void 0&&e.P(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.data={oneofKind:`verified`,verified:x.internalBinaryRead(t,t.uint32(),r,a.data.verified)};break;case 2:a.data={oneofKind:`unverified`,unverified:S.internalBinaryRead(t,t.uint32(),r,a.data.unverified)};break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.L.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.data.oneofKind===`verified`&&x.internalBinaryWrite(t.data.verified,n.tag(1,e.R.LengthDelimited).fork(),r).join(),t.data.oneofKind===`unverified`&&S.internalBinaryWrite(t.data.unverified,n.tag(2,e.R.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.L.onWrite:i)(this.typeName,t,n),n}},x=new class extends e.N{constructor(){super(`sagittarius_rails.VerifiedRuntime`,[{no:1,name:`runtime_id`,kind:`scalar`,T:3,L:0}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.runtimeId=0n,t!==void 0&&e.P(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.runtimeId=t.int64().toBigInt();break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.L.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.runtimeId!==0n&&n.tag(1,e.R.Varint).int64(t.runtimeId);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.L.onWrite:i)(this.typeName,t,n),n}},S=new class extends e.N{constructor(){super(`sagittarius_rails.UnverifiedRuntime`,[])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.P(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.L.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){let i=r.writeUnknownFields;return i!==!1&&(i==1?e.L.onWrite:i)(this.typeName,t,n),n}},C=new n.n(`sagittarius_rails.TokenService`,[{name:`Verify`,options:{},I:y,O:b}]),w=class{constructor(e){this._transport=e,this.typeName=C.typeName,this.methods=C.methods,this.options=C.options}verify(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}};exports.ExecutionRequest=h,exports.ExecutionResponse=g,exports.ExecutionService=_,exports.ExecutionServiceClient=v,exports.FlowLogonRequest=r,exports.FlowResponse=i,exports.FlowService=a,exports.FlowServiceClient=o,exports.ModuleService=l,exports.ModuleServiceClient=u,exports.ModuleUpdateRequest=s,exports.ModuleUpdateResponse=c,exports.RuntimeStatusService=p,exports.RuntimeStatusServiceClient=m,exports.RuntimeStatusUpdateRequest=d,exports.RuntimeStatusUpdateResponse=f,exports.TokenService=C,exports.TokenServiceClient=w,exports.TokenVerifyRequest=y,exports.TokenVerifyResponse=b,exports.UnverifiedRuntime=S,exports.VerifiedRuntime=x;
|