@code0-tech/tucana 0.0.37 → 0.0.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/package.json +5 -4
  2. package/pb/{aquila.action_pb.client.ts → aquila.action_pb.client.d.ts} +8 -13
  3. package/pb/aquila.action_pb.client.js +25 -0
  4. package/pb/aquila.action_pb.d.ts +254 -0
  5. package/pb/{aquila.action_pb.ts → aquila.action_pb.js} +49 -215
  6. package/pb/{aquila.data_type_pb.client.ts → aquila.data_type_pb.client.d.ts} +8 -13
  7. package/pb/aquila.data_type_pb.client.js +23 -0
  8. package/pb/aquila.data_type_pb.d.ts +61 -0
  9. package/pb/{aquila.data_type_pb.ts → aquila.data_type_pb.js} +16 -44
  10. package/pb/{aquila.execution_pb.client.ts → aquila.execution_pb.client.d.ts} +15 -24
  11. package/pb/aquila.execution_pb.client.js +49 -0
  12. package/pb/aquila.execution_pb.d.ts +135 -0
  13. package/pb/{aquila.execution_pb.ts → aquila.execution_pb.js} +34 -103
  14. package/pb/{aquila.flow_type_pb.client.ts → aquila.flow_type_pb.client.d.ts} +8 -13
  15. package/pb/aquila.flow_type_pb.client.js +25 -0
  16. package/pb/aquila.flow_type_pb.d.ts +61 -0
  17. package/pb/{aquila.flow_type_pb.ts → aquila.flow_type_pb.js} +16 -44
  18. package/pb/{aquila.runtime_function_pb.client.ts → aquila.runtime_function_pb.client.d.ts} +8 -13
  19. package/pb/aquila.runtime_function_pb.client.js +25 -0
  20. package/pb/aquila.runtime_function_pb.d.ts +61 -0
  21. package/pb/{aquila.runtime_function_pb.ts → aquila.runtime_function_pb.js} +16 -44
  22. package/pb/{sagittarius.action_pb.client.ts → sagittarius.action_pb.client.d.ts} +9 -17
  23. package/pb/sagittarius.action_pb.client.js +32 -0
  24. package/pb/sagittarius.action_pb.d.ts +95 -0
  25. package/pb/{sagittarius.action_pb.ts → sagittarius.action_pb.js} +28 -70
  26. package/pb/{sagittarius.data_type_pb.client.ts → sagittarius.data_type_pb.client.d.ts} +8 -13
  27. package/pb/sagittarius.data_type_pb.client.js +23 -0
  28. package/pb/sagittarius.data_type_pb.d.ts +61 -0
  29. package/pb/{sagittarius.data_type_pb.ts → sagittarius.data_type_pb.js} +16 -44
  30. package/pb/{sagittarius.flow_pb.client.ts → sagittarius.flow_pb.client.d.ts} +8 -13
  31. package/pb/sagittarius.flow_pb.client.js +23 -0
  32. package/pb/sagittarius.flow_pb.d.ts +80 -0
  33. package/pb/{sagittarius.flow_pb.ts → sagittarius.flow_pb.js} +18 -64
  34. package/pb/{sagittarius.flow_type_pb.client.ts → sagittarius.flow_type_pb.client.d.ts} +8 -13
  35. package/pb/sagittarius.flow_type_pb.client.js +25 -0
  36. package/pb/sagittarius.flow_type_pb.d.ts +61 -0
  37. package/pb/{sagittarius.flow_type_pb.ts → sagittarius.flow_type_pb.js} +16 -44
  38. package/pb/{sagittarius.ping_pb.client.ts → sagittarius.ping_pb.client.d.ts} +8 -13
  39. package/pb/sagittarius.ping_pb.client.js +23 -0
  40. package/pb/sagittarius.ping_pb.d.ts +33 -0
  41. package/pb/{sagittarius.ping_pb.ts → sagittarius.ping_pb.js} +10 -21
  42. package/pb/{sagittarius.runtime_function_pb.client.ts → sagittarius.runtime_function_pb.client.d.ts} +8 -13
  43. package/pb/sagittarius.runtime_function_pb.client.js +25 -0
  44. package/pb/sagittarius.runtime_function_pb.d.ts +61 -0
  45. package/pb/{sagittarius.runtime_function_pb.ts → sagittarius.runtime_function_pb.js} +16 -44
  46. package/pb/{sagittarius.text_execution_pb.client.ts → sagittarius.text_execution_pb.client.d.ts} +8 -13
  47. package/pb/sagittarius.text_execution_pb.client.js +23 -0
  48. package/pb/sagittarius.text_execution_pb.d.ts +172 -0
  49. package/pb/{sagittarius.text_execution_pb.ts → sagittarius.text_execution_pb.js} +42 -141
  50. package/pb/shared.data_type_pb.d.ts +614 -0
  51. package/pb/{shared.data_type_pb.ts → shared.data_type_pb.js} +140 -508
  52. package/pb/shared.event_pb.d.ts +120 -0
  53. package/pb/{shared.event_pb.ts → shared.event_pb.js} +19 -101
  54. package/pb/shared.flow_definition_pb.d.ts +105 -0
  55. package/pb/{shared.flow_definition_pb.ts → shared.flow_definition_pb.js} +13 -90
  56. package/pb/shared.flow_pb.d.ts +311 -0
  57. package/pb/{shared.flow_pb.ts → shared.flow_pb.js} +57 -270
  58. package/pb/shared.runtime_function_pb.d.ts +114 -0
  59. package/pb/{shared.runtime_function_pb.ts → shared.runtime_function_pb.js} +13 -98
  60. package/pb/shared.struct_pb.d.ts +198 -0
  61. package/pb/{shared.struct_pb.ts → shared.struct_pb.js} +27 -136
  62. package/pb/shared.translation_pb.d.ts +39 -0
  63. package/pb/{shared.translation_pb.ts → shared.translation_pb.js} +7 -31
  64. package/pb/shared.version_pb.d.ts +37 -0
  65. package/pb/{shared.version_pb.ts → shared.version_pb.js} +7 -29
@@ -1,126 +1,27 @@
1
- // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix
1
+ // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
2
+ // @generated from protobuf file "sagittarius.text_execution.proto" (package "sagittarius", syntax proto3)
3
+ // tslint:disable
4
+ // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
2
5
  // @generated from protobuf file "sagittarius.text_execution.proto" (package "sagittarius", syntax proto3)
3
6
  // tslint:disable
4
7
  import { ServiceType } from "@protobuf-ts/runtime-rpc";
5
8
  import { WireType } from "@protobuf-ts/runtime";
6
- import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
7
- import type { IBinaryWriter } from "@protobuf-ts/runtime";
8
- import type { BinaryReadOptions } from "@protobuf-ts/runtime";
9
- import type { IBinaryReader } from "@protobuf-ts/runtime";
10
9
  import { UnknownFieldHandler } from "@protobuf-ts/runtime";
11
- import type { PartialMessage } from "@protobuf-ts/runtime";
12
10
  import { reflectionMergePartial } from "@protobuf-ts/runtime";
13
11
  import { MessageType } from "@protobuf-ts/runtime";
14
12
  import { Value } from "./shared.struct_pb";
15
- /**
16
- * @generated from protobuf message sagittarius.Logon
17
- */
18
- export interface Logon {
19
- }
20
- /**
21
- * @generated from protobuf message sagittarius.TestExecutionRequest
22
- */
23
- export interface TestExecutionRequest {
24
- /**
25
- * @generated from protobuf field: int64 flow_id = 1
26
- */
27
- flowId: bigint;
28
- /**
29
- * @generated from protobuf field: string execution_uuid = 2
30
- */
31
- executionUuid: string;
32
- /**
33
- * @generated from protobuf field: shared.Value body = 3
34
- */
35
- body?: Value;
36
- }
37
- /**
38
- * @generated from protobuf message sagittarius.TestExecutionResponse
39
- */
40
- export interface TestExecutionResponse {
41
- /**
42
- * @generated from protobuf field: int64 flow_id = 1
43
- */
44
- flowId: bigint;
45
- /**
46
- * @generated from protobuf field: string execution_uuid = 2
47
- */
48
- executionUuid: string;
49
- /**
50
- * @generated from protobuf field: shared.Value result = 3
51
- */
52
- result?: Value;
53
- /**
54
- * @generated from protobuf field: repeated sagittarius.Log logs = 4
55
- */
56
- logs: Log[];
57
- }
58
- /**
59
- * @generated from protobuf message sagittarius.Log
60
- */
61
- export interface Log {
62
- /**
63
- * @generated from protobuf field: string message = 1
64
- */
65
- message: string;
66
- /**
67
- * @generated from protobuf field: string level = 2
68
- */
69
- level: string;
70
- /**
71
- * @generated from protobuf field: string timestamp = 3
72
- */
73
- timestamp: string;
74
- }
75
- /**
76
- * Aquila sends a logon request to Sagittarius that initiates a stream
77
- * If the stream is initialized it will return the result after it received a request
78
- *
79
- * @generated from protobuf message sagittarius.ExecutionLogonRequest
80
- */
81
- export interface ExecutionLogonRequest {
82
- /**
83
- * @generated from protobuf oneof: data
84
- */
85
- data: {
86
- oneofKind: "logon";
87
- /**
88
- * @generated from protobuf field: sagittarius.Logon logon = 1
89
- */
90
- logon: Logon;
91
- } | {
92
- oneofKind: "response";
93
- /**
94
- * @generated from protobuf field: sagittarius.TestExecutionResponse response = 2
95
- */
96
- response: TestExecutionResponse;
97
- } | {
98
- oneofKind: undefined;
99
- };
100
- }
101
- /**
102
- * Sagittarius sends execution requests
103
- *
104
- * @generated from protobuf message sagittarius.ExecutionLogonResponse
105
- */
106
- export interface ExecutionLogonResponse {
107
- /**
108
- * @generated from protobuf field: sagittarius.TestExecutionRequest request = 1
109
- */
110
- request?: TestExecutionRequest;
111
- }
112
13
  // @generated message type with reflection information, may provide speed optimized methods
113
- class Logon$Type extends MessageType<Logon> {
14
+ class Logon$Type extends MessageType {
114
15
  constructor() {
115
16
  super("sagittarius.Logon", []);
116
17
  }
117
- create(value?: PartialMessage<Logon>): Logon {
118
- const message = globalThis.Object.create((this.messagePrototype!));
18
+ create(value) {
19
+ const message = globalThis.Object.create((this.messagePrototype));
119
20
  if (value !== undefined)
120
- reflectionMergePartial<Logon>(this, message, value);
21
+ reflectionMergePartial(this, message, value);
121
22
  return message;
122
23
  }
123
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Logon): Logon {
24
+ internalBinaryRead(reader, length, options, target) {
124
25
  let message = target ?? this.create(), end = reader.pos + length;
125
26
  while (reader.pos < end) {
126
27
  let [fieldNo, wireType] = reader.tag();
@@ -136,7 +37,7 @@ class Logon$Type extends MessageType<Logon> {
136
37
  }
137
38
  return message;
138
39
  }
139
- internalBinaryWrite(message: Logon, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
40
+ internalBinaryWrite(message, writer, options) {
140
41
  let u = options.writeUnknownFields;
141
42
  if (u !== false)
142
43
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -148,7 +49,7 @@ class Logon$Type extends MessageType<Logon> {
148
49
  */
149
50
  export const Logon = new Logon$Type();
150
51
  // @generated message type with reflection information, may provide speed optimized methods
151
- class TestExecutionRequest$Type extends MessageType<TestExecutionRequest> {
52
+ class TestExecutionRequest$Type extends MessageType {
152
53
  constructor() {
153
54
  super("sagittarius.TestExecutionRequest", [
154
55
  { no: 1, name: "flow_id", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
@@ -156,15 +57,15 @@ class TestExecutionRequest$Type extends MessageType<TestExecutionRequest> {
156
57
  { no: 3, name: "body", kind: "message", T: () => Value }
157
58
  ]);
158
59
  }
159
- create(value?: PartialMessage<TestExecutionRequest>): TestExecutionRequest {
160
- const message = globalThis.Object.create((this.messagePrototype!));
60
+ create(value) {
61
+ const message = globalThis.Object.create((this.messagePrototype));
161
62
  message.flowId = 0n;
162
63
  message.executionUuid = "";
163
64
  if (value !== undefined)
164
- reflectionMergePartial<TestExecutionRequest>(this, message, value);
65
+ reflectionMergePartial(this, message, value);
165
66
  return message;
166
67
  }
167
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TestExecutionRequest): TestExecutionRequest {
68
+ internalBinaryRead(reader, length, options, target) {
168
69
  let message = target ?? this.create(), end = reader.pos + length;
169
70
  while (reader.pos < end) {
170
71
  let [fieldNo, wireType] = reader.tag();
@@ -189,7 +90,7 @@ class TestExecutionRequest$Type extends MessageType<TestExecutionRequest> {
189
90
  }
190
91
  return message;
191
92
  }
192
- internalBinaryWrite(message: TestExecutionRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
93
+ internalBinaryWrite(message, writer, options) {
193
94
  /* int64 flow_id = 1; */
194
95
  if (message.flowId !== 0n)
195
96
  writer.tag(1, WireType.Varint).int64(message.flowId);
@@ -210,7 +111,7 @@ class TestExecutionRequest$Type extends MessageType<TestExecutionRequest> {
210
111
  */
211
112
  export const TestExecutionRequest = new TestExecutionRequest$Type();
212
113
  // @generated message type with reflection information, may provide speed optimized methods
213
- class TestExecutionResponse$Type extends MessageType<TestExecutionResponse> {
114
+ class TestExecutionResponse$Type extends MessageType {
214
115
  constructor() {
215
116
  super("sagittarius.TestExecutionResponse", [
216
117
  { no: 1, name: "flow_id", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
@@ -219,16 +120,16 @@ class TestExecutionResponse$Type extends MessageType<TestExecutionResponse> {
219
120
  { no: 4, name: "logs", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Log }
220
121
  ]);
221
122
  }
222
- create(value?: PartialMessage<TestExecutionResponse>): TestExecutionResponse {
223
- const message = globalThis.Object.create((this.messagePrototype!));
123
+ create(value) {
124
+ const message = globalThis.Object.create((this.messagePrototype));
224
125
  message.flowId = 0n;
225
126
  message.executionUuid = "";
226
127
  message.logs = [];
227
128
  if (value !== undefined)
228
- reflectionMergePartial<TestExecutionResponse>(this, message, value);
129
+ reflectionMergePartial(this, message, value);
229
130
  return message;
230
131
  }
231
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TestExecutionResponse): TestExecutionResponse {
132
+ internalBinaryRead(reader, length, options, target) {
232
133
  let message = target ?? this.create(), end = reader.pos + length;
233
134
  while (reader.pos < end) {
234
135
  let [fieldNo, wireType] = reader.tag();
@@ -256,7 +157,7 @@ class TestExecutionResponse$Type extends MessageType<TestExecutionResponse> {
256
157
  }
257
158
  return message;
258
159
  }
259
- internalBinaryWrite(message: TestExecutionResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
160
+ internalBinaryWrite(message, writer, options) {
260
161
  /* int64 flow_id = 1; */
261
162
  if (message.flowId !== 0n)
262
163
  writer.tag(1, WireType.Varint).int64(message.flowId);
@@ -280,7 +181,7 @@ class TestExecutionResponse$Type extends MessageType<TestExecutionResponse> {
280
181
  */
281
182
  export const TestExecutionResponse = new TestExecutionResponse$Type();
282
183
  // @generated message type with reflection information, may provide speed optimized methods
283
- class Log$Type extends MessageType<Log> {
184
+ class Log$Type extends MessageType {
284
185
  constructor() {
285
186
  super("sagittarius.Log", [
286
187
  { no: 1, name: "message", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
@@ -288,16 +189,16 @@ class Log$Type extends MessageType<Log> {
288
189
  { no: 3, name: "timestamp", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
289
190
  ]);
290
191
  }
291
- create(value?: PartialMessage<Log>): Log {
292
- const message = globalThis.Object.create((this.messagePrototype!));
192
+ create(value) {
193
+ const message = globalThis.Object.create((this.messagePrototype));
293
194
  message.message = "";
294
195
  message.level = "";
295
196
  message.timestamp = "";
296
197
  if (value !== undefined)
297
- reflectionMergePartial<Log>(this, message, value);
198
+ reflectionMergePartial(this, message, value);
298
199
  return message;
299
200
  }
300
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Log): Log {
201
+ internalBinaryRead(reader, length, options, target) {
301
202
  let message = target ?? this.create(), end = reader.pos + length;
302
203
  while (reader.pos < end) {
303
204
  let [fieldNo, wireType] = reader.tag();
@@ -322,7 +223,7 @@ class Log$Type extends MessageType<Log> {
322
223
  }
323
224
  return message;
324
225
  }
325
- internalBinaryWrite(message: Log, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
226
+ internalBinaryWrite(message, writer, options) {
326
227
  /* string message = 1; */
327
228
  if (message.message !== "")
328
229
  writer.tag(1, WireType.LengthDelimited).string(message.message);
@@ -343,21 +244,21 @@ class Log$Type extends MessageType<Log> {
343
244
  */
344
245
  export const Log = new Log$Type();
345
246
  // @generated message type with reflection information, may provide speed optimized methods
346
- class ExecutionLogonRequest$Type extends MessageType<ExecutionLogonRequest> {
247
+ class ExecutionLogonRequest$Type extends MessageType {
347
248
  constructor() {
348
249
  super("sagittarius.ExecutionLogonRequest", [
349
250
  { no: 1, name: "logon", kind: "message", oneof: "data", T: () => Logon },
350
251
  { no: 2, name: "response", kind: "message", oneof: "data", T: () => TestExecutionResponse }
351
252
  ]);
352
253
  }
353
- create(value?: PartialMessage<ExecutionLogonRequest>): ExecutionLogonRequest {
354
- const message = globalThis.Object.create((this.messagePrototype!));
254
+ create(value) {
255
+ const message = globalThis.Object.create((this.messagePrototype));
355
256
  message.data = { oneofKind: undefined };
356
257
  if (value !== undefined)
357
- reflectionMergePartial<ExecutionLogonRequest>(this, message, value);
258
+ reflectionMergePartial(this, message, value);
358
259
  return message;
359
260
  }
360
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionLogonRequest): ExecutionLogonRequest {
261
+ internalBinaryRead(reader, length, options, target) {
361
262
  let message = target ?? this.create(), end = reader.pos + length;
362
263
  while (reader.pos < end) {
363
264
  let [fieldNo, wireType] = reader.tag();
@@ -365,13 +266,13 @@ class ExecutionLogonRequest$Type extends MessageType<ExecutionLogonRequest> {
365
266
  case /* sagittarius.Logon logon */ 1:
366
267
  message.data = {
367
268
  oneofKind: "logon",
368
- logon: Logon.internalBinaryRead(reader, reader.uint32(), options, (message.data as any).logon)
269
+ logon: Logon.internalBinaryRead(reader, reader.uint32(), options, message.data.logon)
369
270
  };
370
271
  break;
371
272
  case /* sagittarius.TestExecutionResponse response */ 2:
372
273
  message.data = {
373
274
  oneofKind: "response",
374
- response: TestExecutionResponse.internalBinaryRead(reader, reader.uint32(), options, (message.data as any).response)
275
+ response: TestExecutionResponse.internalBinaryRead(reader, reader.uint32(), options, message.data.response)
375
276
  };
376
277
  break;
377
278
  default:
@@ -385,7 +286,7 @@ class ExecutionLogonRequest$Type extends MessageType<ExecutionLogonRequest> {
385
286
  }
386
287
  return message;
387
288
  }
388
- internalBinaryWrite(message: ExecutionLogonRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
289
+ internalBinaryWrite(message, writer, options) {
389
290
  /* sagittarius.Logon logon = 1; */
390
291
  if (message.data.oneofKind === "logon")
391
292
  Logon.internalBinaryWrite(message.data.logon, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
@@ -403,19 +304,19 @@ class ExecutionLogonRequest$Type extends MessageType<ExecutionLogonRequest> {
403
304
  */
404
305
  export const ExecutionLogonRequest = new ExecutionLogonRequest$Type();
405
306
  // @generated message type with reflection information, may provide speed optimized methods
406
- class ExecutionLogonResponse$Type extends MessageType<ExecutionLogonResponse> {
307
+ class ExecutionLogonResponse$Type extends MessageType {
407
308
  constructor() {
408
309
  super("sagittarius.ExecutionLogonResponse", [
409
310
  { no: 1, name: "request", kind: "message", T: () => TestExecutionRequest }
410
311
  ]);
411
312
  }
412
- create(value?: PartialMessage<ExecutionLogonResponse>): ExecutionLogonResponse {
413
- const message = globalThis.Object.create((this.messagePrototype!));
313
+ create(value) {
314
+ const message = globalThis.Object.create((this.messagePrototype));
414
315
  if (value !== undefined)
415
- reflectionMergePartial<ExecutionLogonResponse>(this, message, value);
316
+ reflectionMergePartial(this, message, value);
416
317
  return message;
417
318
  }
418
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionLogonResponse): ExecutionLogonResponse {
319
+ internalBinaryRead(reader, length, options, target) {
419
320
  let message = target ?? this.create(), end = reader.pos + length;
420
321
  while (reader.pos < end) {
421
322
  let [fieldNo, wireType] = reader.tag();
@@ -434,7 +335,7 @@ class ExecutionLogonResponse$Type extends MessageType<ExecutionLogonResponse> {
434
335
  }
435
336
  return message;
436
337
  }
437
- internalBinaryWrite(message: ExecutionLogonResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
338
+ internalBinaryWrite(message, writer, options) {
438
339
  /* sagittarius.TestExecutionRequest request = 1; */
439
340
  if (message.request)
440
341
  TestExecutionRequest.internalBinaryWrite(message.request, writer.tag(1, WireType.LengthDelimited).fork(), options).join();