@code0-tech/tucana 0.0.38 → 0.0.40

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 +305 -0
  57. package/pb/{shared.flow_pb.ts → shared.flow_pb.js} +68 -305
  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
@@ -0,0 +1,305 @@
1
+ // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
2
+ // @generated from protobuf file "shared.flow.proto" (package "shared", syntax proto3)
3
+ // tslint:disable
4
+ import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
5
+ import type { IBinaryWriter } from "@protobuf-ts/runtime";
6
+ import type { BinaryReadOptions } from "@protobuf-ts/runtime";
7
+ import type { IBinaryReader } from "@protobuf-ts/runtime";
8
+ import type { PartialMessage } from "@protobuf-ts/runtime";
9
+ import { MessageType } from "@protobuf-ts/runtime";
10
+ import { Struct } from "./shared.struct_pb";
11
+ import { Value } from "./shared.struct_pb";
12
+ import { ExecutionDataType } from "./shared.data_type_pb";
13
+ /**
14
+ * @generated from protobuf message shared.ValidationFlow
15
+ */
16
+ export interface ValidationFlow {
17
+ /**
18
+ * Database ID -> req. for Aquila to identify in FlowStore
19
+ *
20
+ * @generated from protobuf field: int64 flow_id = 1
21
+ */
22
+ flowId: bigint;
23
+ /**
24
+ * @generated from protobuf field: int64 project_id = 2
25
+ */
26
+ projectId: bigint;
27
+ /**
28
+ * The FlowType´s identifier
29
+ *
30
+ * @generated from protobuf field: string type = 3
31
+ */
32
+ type: string;
33
+ /**
34
+ * All custom data types used in this flow
35
+ *
36
+ * @generated from protobuf field: repeated shared.ExecutionDataType data_types = 4
37
+ */
38
+ dataTypes: ExecutionDataType[];
39
+ /**
40
+ * These reference data_types by its identifiers, which is are string
41
+ *
42
+ * @generated from protobuf field: optional string input_type_identifier = 5
43
+ */
44
+ inputTypeIdentifier?: string;
45
+ /**
46
+ * @generated from protobuf field: optional string return_type_identifier = 6
47
+ */
48
+ returnTypeIdentifier?: string;
49
+ /**
50
+ * @generated from protobuf field: repeated shared.FlowSetting settings = 7
51
+ */
52
+ settings: FlowSetting[];
53
+ /**
54
+ * @generated from protobuf field: int64 starting_node_id = 8
55
+ */
56
+ startingNodeId: bigint;
57
+ /**
58
+ * @generated from protobuf field: repeated shared.NodeFunction node_functions = 9
59
+ */
60
+ nodeFunctions: NodeFunction[];
61
+ }
62
+ /**
63
+ * @generated from protobuf message shared.ExecutionFlow
64
+ */
65
+ export interface ExecutionFlow {
66
+ /**
67
+ * Database ID -> req. for Aquila to identify in FlowStore
68
+ *
69
+ * @generated from protobuf field: int64 flow_id = 1
70
+ */
71
+ flowId: bigint;
72
+ /**
73
+ * @generated from protobuf field: int64 starting_node_id = 2
74
+ */
75
+ startingNodeId: bigint;
76
+ /**
77
+ * @generated from protobuf field: repeated shared.NodeFunction node_functions = 4
78
+ */
79
+ nodeFunctions: NodeFunction[];
80
+ /**
81
+ * @generated from protobuf field: optional shared.Value input_value = 3
82
+ */
83
+ inputValue?: Value;
84
+ }
85
+ /**
86
+ * @generated from protobuf message shared.FlowSetting
87
+ */
88
+ export interface FlowSetting {
89
+ /**
90
+ * The database id from sagittarius
91
+ *
92
+ * @generated from protobuf field: int64 database_id = 1
93
+ */
94
+ databaseId: bigint;
95
+ /**
96
+ * @generated from protobuf field: string flow_setting_id = 2
97
+ */
98
+ flowSettingId: string;
99
+ /**
100
+ * @generated from protobuf field: shared.Struct object = 3
101
+ */
102
+ object?: Struct;
103
+ }
104
+ /**
105
+ * @generated from protobuf message shared.NodeFunction
106
+ */
107
+ export interface NodeFunction {
108
+ /**
109
+ * The database id from sagittarius
110
+ *
111
+ * @generated from protobuf field: int64 database_id = 1
112
+ */
113
+ databaseId: bigint;
114
+ /**
115
+ * @generated from protobuf field: string runtime_function_id = 2
116
+ */
117
+ runtimeFunctionId: string;
118
+ /**
119
+ * @generated from protobuf field: repeated shared.NodeParameter parameters = 3
120
+ */
121
+ parameters: NodeParameter[];
122
+ /**
123
+ * @generated from protobuf field: optional int64 next_node_id = 4
124
+ */
125
+ nextNodeId?: bigint;
126
+ }
127
+ /**
128
+ * @generated from protobuf message shared.NodeValue
129
+ */
130
+ export interface NodeValue {
131
+ /**
132
+ * @generated from protobuf oneof: value
133
+ */
134
+ value: {
135
+ oneofKind: "literalValue";
136
+ /**
137
+ * @generated from protobuf field: shared.Value literal_value = 1
138
+ */
139
+ literalValue: Value;
140
+ } | {
141
+ oneofKind: "referenceValue";
142
+ /**
143
+ * @generated from protobuf field: shared.ReferenceValue reference_value = 2
144
+ */
145
+ referenceValue: ReferenceValue;
146
+ } | {
147
+ oneofKind: "nodeFunctionId";
148
+ /**
149
+ * @generated from protobuf field: int64 node_function_id = 3
150
+ */
151
+ nodeFunctionId: bigint;
152
+ } | {
153
+ oneofKind: undefined;
154
+ };
155
+ }
156
+ /**
157
+ * @generated from protobuf message shared.NodeParameter
158
+ */
159
+ export interface NodeParameter {
160
+ /**
161
+ * The database id from sagittarius
162
+ *
163
+ * @generated from protobuf field: int64 database_id = 1
164
+ */
165
+ databaseId: bigint;
166
+ /**
167
+ * @generated from protobuf field: string runtime_parameter_id = 2
168
+ */
169
+ runtimeParameterId: string;
170
+ /**
171
+ * @generated from protobuf field: shared.NodeValue value = 3
172
+ */
173
+ value?: NodeValue;
174
+ }
175
+ /**
176
+ * @generated from protobuf message shared.ReferenceValue
177
+ */
178
+ export interface ReferenceValue {
179
+ /**
180
+ * Database Identifier of node
181
+ *
182
+ * @generated from protobuf field: int64 node_id = 1
183
+ */
184
+ nodeId: bigint;
185
+ /**
186
+ * @generated from protobuf field: repeated shared.ReferencePath paths = 2
187
+ */
188
+ paths: ReferencePath[];
189
+ }
190
+ /**
191
+ * @generated from protobuf message shared.ReferencePath
192
+ */
193
+ export interface ReferencePath {
194
+ /**
195
+ * @generated from protobuf field: optional string path = 1
196
+ */
197
+ path?: string;
198
+ /**
199
+ * @generated from protobuf field: optional int64 array_index = 2
200
+ */
201
+ arrayIndex?: bigint;
202
+ }
203
+ /**
204
+ * Used in sagittarius´s FlowService because oneof can only
205
+ * take in a single message type and not a repeated one
206
+ *
207
+ * @generated from protobuf message shared.Flows
208
+ */
209
+ export interface Flows {
210
+ /**
211
+ * @generated from protobuf field: repeated shared.ValidationFlow flows = 1
212
+ */
213
+ flows: ValidationFlow[];
214
+ }
215
+ declare class ValidationFlow$Type extends MessageType<ValidationFlow> {
216
+ constructor();
217
+ create(value?: PartialMessage<ValidationFlow>): ValidationFlow;
218
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ValidationFlow): ValidationFlow;
219
+ internalBinaryWrite(message: ValidationFlow, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
220
+ }
221
+ /**
222
+ * @generated MessageType for protobuf message shared.ValidationFlow
223
+ */
224
+ export declare const ValidationFlow: ValidationFlow$Type;
225
+ declare class ExecutionFlow$Type extends MessageType<ExecutionFlow> {
226
+ constructor();
227
+ create(value?: PartialMessage<ExecutionFlow>): ExecutionFlow;
228
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionFlow): ExecutionFlow;
229
+ internalBinaryWrite(message: ExecutionFlow, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
230
+ }
231
+ /**
232
+ * @generated MessageType for protobuf message shared.ExecutionFlow
233
+ */
234
+ export declare const ExecutionFlow: ExecutionFlow$Type;
235
+ declare class FlowSetting$Type extends MessageType<FlowSetting> {
236
+ constructor();
237
+ create(value?: PartialMessage<FlowSetting>): FlowSetting;
238
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FlowSetting): FlowSetting;
239
+ internalBinaryWrite(message: FlowSetting, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
240
+ }
241
+ /**
242
+ * @generated MessageType for protobuf message shared.FlowSetting
243
+ */
244
+ export declare const FlowSetting: FlowSetting$Type;
245
+ declare class NodeFunction$Type extends MessageType<NodeFunction> {
246
+ constructor();
247
+ create(value?: PartialMessage<NodeFunction>): NodeFunction;
248
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NodeFunction): NodeFunction;
249
+ internalBinaryWrite(message: NodeFunction, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
250
+ }
251
+ /**
252
+ * @generated MessageType for protobuf message shared.NodeFunction
253
+ */
254
+ export declare const NodeFunction: NodeFunction$Type;
255
+ declare class NodeValue$Type extends MessageType<NodeValue> {
256
+ constructor();
257
+ create(value?: PartialMessage<NodeValue>): NodeValue;
258
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NodeValue): NodeValue;
259
+ internalBinaryWrite(message: NodeValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
260
+ }
261
+ /**
262
+ * @generated MessageType for protobuf message shared.NodeValue
263
+ */
264
+ export declare const NodeValue: NodeValue$Type;
265
+ declare class NodeParameter$Type extends MessageType<NodeParameter> {
266
+ constructor();
267
+ create(value?: PartialMessage<NodeParameter>): NodeParameter;
268
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: NodeParameter): NodeParameter;
269
+ internalBinaryWrite(message: NodeParameter, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
270
+ }
271
+ /**
272
+ * @generated MessageType for protobuf message shared.NodeParameter
273
+ */
274
+ export declare const NodeParameter: NodeParameter$Type;
275
+ declare class ReferenceValue$Type extends MessageType<ReferenceValue> {
276
+ constructor();
277
+ create(value?: PartialMessage<ReferenceValue>): ReferenceValue;
278
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReferenceValue): ReferenceValue;
279
+ internalBinaryWrite(message: ReferenceValue, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
280
+ }
281
+ /**
282
+ * @generated MessageType for protobuf message shared.ReferenceValue
283
+ */
284
+ export declare const ReferenceValue: ReferenceValue$Type;
285
+ declare class ReferencePath$Type extends MessageType<ReferencePath> {
286
+ constructor();
287
+ create(value?: PartialMessage<ReferencePath>): ReferencePath;
288
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReferencePath): ReferencePath;
289
+ internalBinaryWrite(message: ReferencePath, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
290
+ }
291
+ /**
292
+ * @generated MessageType for protobuf message shared.ReferencePath
293
+ */
294
+ export declare const ReferencePath: ReferencePath$Type;
295
+ declare class Flows$Type extends MessageType<Flows> {
296
+ constructor();
297
+ create(value?: PartialMessage<Flows>): Flows;
298
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Flows): Flows;
299
+ internalBinaryWrite(message: Flows, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
300
+ }
301
+ /**
302
+ * @generated MessageType for protobuf message shared.Flows
303
+ */
304
+ export declare const Flows: Flows$Type;
305
+ export {};