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