@code0-tech/tucana 0.0.68 → 0.0.69

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 (56) hide show
  1. package/dist/aquila.cjs.js +1 -1
  2. package/dist/aquila.es.js +252 -617
  3. package/dist/pb/_generated/aquila.action_pb.client.d.ts +3 -3
  4. package/dist/pb/_generated/aquila.action_pb.d.ts +46 -119
  5. package/dist/pb/_generated/{aquila.flow_type_pb.client.d.ts → aquila.module_pb.client.d.ts} +9 -9
  6. package/dist/pb/_generated/aquila.module_pb.d.ts +54 -0
  7. package/dist/pb/_generated/aquila.runtime_status_pb.d.ts +7 -1
  8. package/dist/pb/_generated/sagittarius.flow_pb.d.ts +5 -5
  9. package/dist/pb/_generated/{sagittarius.flow_type_pb.client.d.ts → sagittarius.module_pb.client.d.ts} +7 -7
  10. package/dist/pb/_generated/sagittarius.module_pb.d.ts +59 -0
  11. package/dist/pb/_generated/sagittarius.runtime_status_pb.d.ts +12 -1
  12. package/dist/pb/_generated/sagittarius.runtime_usage_pb.d.ts +5 -0
  13. package/dist/pb/_generated/sagittarius.text_execution_pb.d.ts +5 -163
  14. package/dist/pb/_generated/shared.errors_pb.d.ts +122 -0
  15. package/dist/pb/_generated/shared.execution_result_pb.d.ts +131 -0
  16. package/dist/pb/_generated/shared.flow_pb.d.ts +83 -5
  17. package/dist/pb/_generated/{shared.flow_definition_pb.d.ts → shared.flow_type_pb.d.ts} +12 -0
  18. package/dist/pb/_generated/shared.function_pb.d.ts +4 -0
  19. package/dist/pb/_generated/shared.module_pb.d.ts +196 -0
  20. package/dist/pb/_generated/shared.runtime_flow_type_pb.d.ts +136 -0
  21. package/dist/pb/_generated/shared.runtime_function_pb.d.ts +4 -0
  22. package/dist/pb/_generated/shared.runtime_status_pb.d.ts +95 -32
  23. package/dist/pb/aquila.d.ts +2 -8
  24. package/dist/pb/sagittarius.d.ts +2 -10
  25. package/dist/pb/shared.d.ts +5 -2
  26. package/dist/{rpc-interceptor-CMOWd86Q.cjs → rpc-interceptor-4ZNqeHp7.cjs} +1 -1
  27. package/dist/{rpc-interceptor-DTRGJkmz.js → rpc-interceptor-DpAjfIVk.js} +1 -1
  28. package/dist/sagittarius.cjs.js +1 -1
  29. package/dist/sagittarius.es.js +366 -996
  30. package/dist/shared.cjs.js +1 -1
  31. package/dist/shared.es.js +3 -3
  32. package/dist/shared.flow_pb-CAu-uZAs.cjs +1 -0
  33. package/dist/shared.flow_pb-YdrVU_yH.js +877 -0
  34. package/dist/shared.runtime_usage_pb-6pp995qK.cjs +2 -0
  35. package/dist/{shared.runtime_usage_pb-C4_UdBmo.js → shared.runtime_usage_pb-Qa9pCiee.js} +2099 -1057
  36. package/package.json +1 -1
  37. package/dist/pb/_generated/aquila.data_type_pb.client.d.ts +0 -27
  38. package/dist/pb/_generated/aquila.data_type_pb.d.ts +0 -54
  39. package/dist/pb/_generated/aquila.flow_type_pb.d.ts +0 -54
  40. package/dist/pb/_generated/aquila.function_pb.client.d.ts +0 -31
  41. package/dist/pb/_generated/aquila.function_pb.d.ts +0 -54
  42. package/dist/pb/_generated/aquila.runtime_function_pb.client.d.ts +0 -31
  43. package/dist/pb/_generated/aquila.runtime_function_pb.d.ts +0 -54
  44. package/dist/pb/_generated/sagittarius.action_configuration_pb.client.d.ts +0 -27
  45. package/dist/pb/_generated/sagittarius.action_configuration_pb.d.ts +0 -60
  46. package/dist/pb/_generated/sagittarius.data_type_pb.client.d.ts +0 -27
  47. package/dist/pb/_generated/sagittarius.data_type_pb.d.ts +0 -54
  48. package/dist/pb/_generated/sagittarius.flow_type_pb.d.ts +0 -54
  49. package/dist/pb/_generated/sagittarius.function_pb.client.d.ts +0 -31
  50. package/dist/pb/_generated/sagittarius.function_pb.d.ts +0 -54
  51. package/dist/pb/_generated/sagittarius.runtime_function_pb.client.d.ts +0 -31
  52. package/dist/pb/_generated/sagittarius.runtime_function_pb.d.ts +0 -54
  53. package/dist/pb/_generated/shared.action_configuration_pb.d.ts +0 -120
  54. package/dist/shared.flow_pb-B3074C-y.js +0 -717
  55. package/dist/shared.flow_pb-CWFj5vbi.cjs +0 -1
  56. package/dist/shared.runtime_usage_pb-D4aGN4uQ.cjs +0 -2
@@ -1,5 +1,5 @@
1
1
  import { RpcTransport, ServiceInfo, DuplexStreamingCall, RpcOptions } from '@protobuf-ts/runtime-rpc';
2
- import { TransferResponse, TransferRequest } from './aquila.action_pb';
2
+ import { ActionTransferResponse, ActionTransferRequest } from './aquila.action_pb';
3
3
  /**
4
4
  * @generated from protobuf service aquila.ActionTransferService
5
5
  */
@@ -9,7 +9,7 @@ export interface IActionTransferServiceClient {
9
9
  *
10
10
  * @generated from protobuf rpc: Transfer
11
11
  */
12
- transfer(options?: RpcOptions): DuplexStreamingCall<TransferRequest, TransferResponse>;
12
+ transfer(options?: RpcOptions): DuplexStreamingCall<ActionTransferRequest, ActionTransferResponse>;
13
13
  }
14
14
  /**
15
15
  * @generated from protobuf service aquila.ActionTransferService
@@ -27,5 +27,5 @@ export declare class ActionTransferServiceClient implements IActionTransferServi
27
27
  *
28
28
  * @generated from protobuf rpc: Transfer
29
29
  */
30
- transfer(options?: RpcOptions): DuplexStreamingCall<TransferRequest, TransferResponse>;
30
+ transfer(options?: RpcOptions): DuplexStreamingCall<ActionTransferRequest, ActionTransferResponse>;
31
31
  }
@@ -1,13 +1,14 @@
1
1
  import { ServiceType } from '@protobuf-ts/runtime-rpc';
2
2
  import { BinaryWriteOptions, IBinaryWriter, BinaryReadOptions, IBinaryReader, PartialMessage, MessageType } from '@protobuf-ts/runtime';
3
- import { ActionConfigurations, ActionConfigurationDefinition } from './shared.action_configuration_pb';
3
+ import { ModuleConfigurations, Module } from './shared.module_pb';
4
+ import { NodeExecutionResult } from './shared.execution_result_pb';
4
5
  import { Struct, Value } from './shared.struct_pb';
5
6
  /**
6
7
  * Event that gets admitted by an action
7
8
  *
8
- * @generated from protobuf message aquila.Event
9
+ * @generated from protobuf message aquila.ActionEvent
9
10
  */
10
- export interface Event {
11
+ export interface ActionEvent {
11
12
  /**
12
13
  * Id of Event type
13
14
  *
@@ -36,24 +37,16 @@ export interface ActionLogon {
36
37
  /**
37
38
  * Action identifier
38
39
  *
39
- * @generated from protobuf field: string action_identifier = 1
40
+ * @generated from protobuf field: shared.Module module = 1
40
41
  */
41
- actionIdentifier: string;
42
- /**
43
- * @generated from protobuf field: string version = 2
44
- */
45
- version: string;
46
- /**
47
- * @generated from protobuf field: repeated shared.ActionConfigurationDefinition action_configurations = 3
48
- */
49
- actionConfigurations: ActionConfigurationDefinition[];
42
+ module?: Module;
50
43
  }
51
44
  /**
52
45
  * Request to execute a request a flow
53
46
  *
54
- * @generated from protobuf message aquila.ExecutionRequest
47
+ * @generated from protobuf message aquila.ActionExecutionRequest
55
48
  */
56
- export interface ExecutionRequest {
49
+ export interface ActionExecutionRequest {
57
50
  /**
58
51
  * Execution identifier of execution
59
52
  *
@@ -80,55 +73,9 @@ export interface ExecutionRequest {
80
73
  projectId: bigint;
81
74
  }
82
75
  /**
83
- * @generated from protobuf message aquila.ActionRuntimeError
84
- */
85
- export interface ActionRuntimeError {
86
- /**
87
- * @generated from protobuf field: string code = 1
88
- */
89
- code: string;
90
- /**
91
- * @generated from protobuf field: optional string description = 2
92
- */
93
- description?: string;
94
- }
95
- /**
96
- * Result from executed flows by an action
97
- *
98
- * @generated from protobuf message aquila.ExecutionResult
76
+ * @generated from protobuf message aquila.ActionTransferRequest
99
77
  */
100
- export interface ExecutionResult {
101
- /**
102
- * Identifier of flow to execute
103
- *
104
- * @generated from protobuf field: string execution_identifier = 1
105
- */
106
- executionIdentifier: string;
107
- /**
108
- * Result of executed flow
109
- *
110
- * @generated from protobuf oneof: result
111
- */
112
- result: {
113
- oneofKind: "success";
114
- /**
115
- * @generated from protobuf field: shared.Value success = 2
116
- */
117
- success: Value;
118
- } | {
119
- oneofKind: "error";
120
- /**
121
- * @generated from protobuf field: aquila.ActionRuntimeError error = 3
122
- */
123
- error: ActionRuntimeError;
124
- } | {
125
- oneofKind: undefined;
126
- };
127
- }
128
- /**
129
- * @generated from protobuf message aquila.TransferRequest
130
- */
131
- export interface TransferRequest {
78
+ export interface ActionTransferRequest {
132
79
  /**
133
80
  * @generated from protobuf oneof: data
134
81
  */
@@ -148,25 +95,25 @@ export interface TransferRequest {
148
95
  /**
149
96
  * Event that got admitted
150
97
  *
151
- * @generated from protobuf field: aquila.Event event = 2
98
+ * @generated from protobuf field: aquila.ActionEvent event = 2
152
99
  */
153
- event: Event;
100
+ event: ActionEvent;
154
101
  } | {
155
102
  oneofKind: "result";
156
103
  /**
157
104
  * Result of execution that was triggered by a execution request
158
105
  *
159
- * @generated from protobuf field: aquila.ExecutionResult result = 3
106
+ * @generated from protobuf field: shared.NodeExecutionResult result = 3
160
107
  */
161
- result: ExecutionResult;
108
+ result: NodeExecutionResult;
162
109
  } | {
163
110
  oneofKind: undefined;
164
111
  };
165
112
  }
166
113
  /**
167
- * @generated from protobuf message aquila.TransferResponse
114
+ * @generated from protobuf message aquila.ActionTransferResponse
168
115
  */
169
- export interface TransferResponse {
116
+ export interface ActionTransferResponse {
170
117
  /**
171
118
  * @generated from protobuf oneof: data
172
119
  */
@@ -175,31 +122,31 @@ export interface TransferResponse {
175
122
  /**
176
123
  * Execution request
177
124
  *
178
- * @generated from protobuf field: aquila.ExecutionRequest execution = 1
125
+ * @generated from protobuf field: aquila.ActionExecutionRequest execution = 1
179
126
  */
180
- execution: ExecutionRequest;
127
+ execution: ActionExecutionRequest;
181
128
  } | {
182
- oneofKind: "actionConfigurations";
129
+ oneofKind: "moduleConfigurations";
183
130
  /**
184
- * ActionConfigurations that have been configured by the user
131
+ * ModuleConfigurations that have been configured by the user
185
132
  *
186
- * @generated from protobuf field: shared.ActionConfigurations action_configurations = 2
133
+ * @generated from protobuf field: shared.ModuleConfigurations module_configurations = 2
187
134
  */
188
- actionConfigurations: ActionConfigurations;
135
+ moduleConfigurations: ModuleConfigurations;
189
136
  } | {
190
137
  oneofKind: undefined;
191
138
  };
192
139
  }
193
- declare class Event$Type extends MessageType<Event> {
140
+ declare class ActionEvent$Type extends MessageType<ActionEvent> {
194
141
  constructor();
195
- create(value?: PartialMessage<Event>): Event;
196
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Event): Event;
197
- internalBinaryWrite(message: Event, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
142
+ create(value?: PartialMessage<ActionEvent>): ActionEvent;
143
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActionEvent): ActionEvent;
144
+ internalBinaryWrite(message: ActionEvent, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
198
145
  }
199
146
  /**
200
- * @generated MessageType for protobuf message aquila.Event
147
+ * @generated MessageType for protobuf message aquila.ActionEvent
201
148
  */
202
- export declare const Event: Event$Type;
149
+ export declare const ActionEvent: ActionEvent$Type;
203
150
  declare class ActionLogon$Type extends MessageType<ActionLogon> {
204
151
  constructor();
205
152
  create(value?: PartialMessage<ActionLogon>): ActionLogon;
@@ -210,56 +157,36 @@ declare class ActionLogon$Type extends MessageType<ActionLogon> {
210
157
  * @generated MessageType for protobuf message aquila.ActionLogon
211
158
  */
212
159
  export declare const ActionLogon: ActionLogon$Type;
213
- declare class ExecutionRequest$Type extends MessageType<ExecutionRequest> {
214
- constructor();
215
- create(value?: PartialMessage<ExecutionRequest>): ExecutionRequest;
216
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionRequest): ExecutionRequest;
217
- internalBinaryWrite(message: ExecutionRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
218
- }
219
- /**
220
- * @generated MessageType for protobuf message aquila.ExecutionRequest
221
- */
222
- export declare const ExecutionRequest: ExecutionRequest$Type;
223
- declare class ActionRuntimeError$Type extends MessageType<ActionRuntimeError> {
224
- constructor();
225
- create(value?: PartialMessage<ActionRuntimeError>): ActionRuntimeError;
226
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActionRuntimeError): ActionRuntimeError;
227
- internalBinaryWrite(message: ActionRuntimeError, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
228
- }
229
- /**
230
- * @generated MessageType for protobuf message aquila.ActionRuntimeError
231
- */
232
- export declare const ActionRuntimeError: ActionRuntimeError$Type;
233
- declare class ExecutionResult$Type extends MessageType<ExecutionResult> {
160
+ declare class ActionExecutionRequest$Type extends MessageType<ActionExecutionRequest> {
234
161
  constructor();
235
- create(value?: PartialMessage<ExecutionResult>): ExecutionResult;
236
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionResult): ExecutionResult;
237
- internalBinaryWrite(message: ExecutionResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
162
+ create(value?: PartialMessage<ActionExecutionRequest>): ActionExecutionRequest;
163
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActionExecutionRequest): ActionExecutionRequest;
164
+ internalBinaryWrite(message: ActionExecutionRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
238
165
  }
239
166
  /**
240
- * @generated MessageType for protobuf message aquila.ExecutionResult
167
+ * @generated MessageType for protobuf message aquila.ActionExecutionRequest
241
168
  */
242
- export declare const ExecutionResult: ExecutionResult$Type;
243
- declare class TransferRequest$Type extends MessageType<TransferRequest> {
169
+ export declare const ActionExecutionRequest: ActionExecutionRequest$Type;
170
+ declare class ActionTransferRequest$Type extends MessageType<ActionTransferRequest> {
244
171
  constructor();
245
- create(value?: PartialMessage<TransferRequest>): TransferRequest;
246
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TransferRequest): TransferRequest;
247
- internalBinaryWrite(message: TransferRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
172
+ create(value?: PartialMessage<ActionTransferRequest>): ActionTransferRequest;
173
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActionTransferRequest): ActionTransferRequest;
174
+ internalBinaryWrite(message: ActionTransferRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
248
175
  }
249
176
  /**
250
- * @generated MessageType for protobuf message aquila.TransferRequest
177
+ * @generated MessageType for protobuf message aquila.ActionTransferRequest
251
178
  */
252
- export declare const TransferRequest: TransferRequest$Type;
253
- declare class TransferResponse$Type extends MessageType<TransferResponse> {
179
+ export declare const ActionTransferRequest: ActionTransferRequest$Type;
180
+ declare class ActionTransferResponse$Type extends MessageType<ActionTransferResponse> {
254
181
  constructor();
255
- create(value?: PartialMessage<TransferResponse>): TransferResponse;
256
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TransferResponse): TransferResponse;
257
- internalBinaryWrite(message: TransferResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
182
+ create(value?: PartialMessage<ActionTransferResponse>): ActionTransferResponse;
183
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActionTransferResponse): ActionTransferResponse;
184
+ internalBinaryWrite(message: ActionTransferResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
258
185
  }
259
186
  /**
260
- * @generated MessageType for protobuf message aquila.TransferResponse
187
+ * @generated MessageType for protobuf message aquila.ActionTransferResponse
261
188
  */
262
- export declare const TransferResponse: TransferResponse$Type;
189
+ export declare const ActionTransferResponse: ActionTransferResponse$Type;
263
190
  /**
264
191
  * @generated ServiceType for protobuf service aquila.ActionTransferService
265
192
  */
@@ -1,22 +1,22 @@
1
1
  import { RpcTransport, ServiceInfo, UnaryCall, RpcOptions } from '@protobuf-ts/runtime-rpc';
2
- import { FlowTypeUpdateResponse, FlowTypeUpdateRequest } from './aquila.flow_type_pb';
2
+ import { ModuleUpdateResponse, ModuleUpdateRequest } from './aquila.module_pb';
3
3
  /**
4
- * This service will be implemented as a server by Aquila and as a client by Draco.
4
+ * This service will be implemented as a server by Aquila and as a client by Taurus.
5
5
  *
6
- * @generated from protobuf service aquila.FlowTypeService
6
+ * @generated from protobuf service aquila.ModuleService
7
7
  */
8
- export interface IFlowTypeServiceClient {
8
+ export interface IModuleServiceClient {
9
9
  /**
10
10
  * @generated from protobuf rpc: Update
11
11
  */
12
- update(input: FlowTypeUpdateRequest, options?: RpcOptions): UnaryCall<FlowTypeUpdateRequest, FlowTypeUpdateResponse>;
12
+ update(input: ModuleUpdateRequest, options?: RpcOptions): UnaryCall<ModuleUpdateRequest, ModuleUpdateResponse>;
13
13
  }
14
14
  /**
15
- * This service will be implemented as a server by Aquila and as a client by Draco.
15
+ * This service will be implemented as a server by Aquila and as a client by Taurus.
16
16
  *
17
- * @generated from protobuf service aquila.FlowTypeService
17
+ * @generated from protobuf service aquila.ModuleService
18
18
  */
19
- export declare class FlowTypeServiceClient implements IFlowTypeServiceClient, ServiceInfo {
19
+ export declare class ModuleServiceClient implements IModuleServiceClient, ServiceInfo {
20
20
  private readonly _transport;
21
21
  typeName: string;
22
22
  methods: import('@protobuf-ts/runtime-rpc').MethodInfo<any, any>[];
@@ -27,5 +27,5 @@ export declare class FlowTypeServiceClient implements IFlowTypeServiceClient, Se
27
27
  /**
28
28
  * @generated from protobuf rpc: Update
29
29
  */
30
- update(input: FlowTypeUpdateRequest, options?: RpcOptions): UnaryCall<FlowTypeUpdateRequest, FlowTypeUpdateResponse>;
30
+ update(input: ModuleUpdateRequest, options?: RpcOptions): UnaryCall<ModuleUpdateRequest, ModuleUpdateResponse>;
31
31
  }
@@ -0,0 +1,54 @@
1
+ import { ServiceType } from '@protobuf-ts/runtime-rpc';
2
+ import { BinaryWriteOptions, IBinaryWriter, BinaryReadOptions, IBinaryReader, PartialMessage, MessageType } from '@protobuf-ts/runtime';
3
+ import { Module } from './shared.module_pb';
4
+ /**
5
+ * Request for updating a list of modules including data types, flow types and runtime function definitions
6
+ *
7
+ * @generated from protobuf message aquila.ModuleUpdateRequest
8
+ */
9
+ export interface ModuleUpdateRequest {
10
+ /**
11
+ * List of modules
12
+ *
13
+ * @generated from protobuf field: repeated shared.Module modules = 1
14
+ */
15
+ modules: Module[];
16
+ }
17
+ /**
18
+ * Response of updating modules including data types, flow types and runtime function definitions
19
+ *
20
+ * @generated from protobuf message aquila.ModuleUpdateResponse
21
+ */
22
+ export interface ModuleUpdateResponse {
23
+ /**
24
+ * True if was successful, false if not
25
+ *
26
+ * @generated from protobuf field: bool success = 1
27
+ */
28
+ success: boolean;
29
+ }
30
+ declare class ModuleUpdateRequest$Type extends MessageType<ModuleUpdateRequest> {
31
+ constructor();
32
+ create(value?: PartialMessage<ModuleUpdateRequest>): ModuleUpdateRequest;
33
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ModuleUpdateRequest): ModuleUpdateRequest;
34
+ internalBinaryWrite(message: ModuleUpdateRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
35
+ }
36
+ /**
37
+ * @generated MessageType for protobuf message aquila.ModuleUpdateRequest
38
+ */
39
+ export declare const ModuleUpdateRequest: ModuleUpdateRequest$Type;
40
+ declare class ModuleUpdateResponse$Type extends MessageType<ModuleUpdateResponse> {
41
+ constructor();
42
+ create(value?: PartialMessage<ModuleUpdateResponse>): ModuleUpdateResponse;
43
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ModuleUpdateResponse): ModuleUpdateResponse;
44
+ internalBinaryWrite(message: ModuleUpdateResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
45
+ }
46
+ /**
47
+ * @generated MessageType for protobuf message aquila.ModuleUpdateResponse
48
+ */
49
+ export declare const ModuleUpdateResponse: ModuleUpdateResponse$Type;
50
+ /**
51
+ * @generated ServiceType for protobuf service aquila.ModuleService
52
+ */
53
+ export declare const ModuleService: ServiceType;
54
+ export {};
@@ -1,6 +1,6 @@
1
1
  import { ServiceType } from '@protobuf-ts/runtime-rpc';
2
2
  import { BinaryWriteOptions, IBinaryWriter, BinaryReadOptions, IBinaryReader, PartialMessage, MessageType } from '@protobuf-ts/runtime';
3
- import { ExecutionRuntimeStatus, AdapterRuntimeStatus } from './shared.runtime_status_pb';
3
+ import { ActionStatus, ExecutionRuntimeStatus, AdapterRuntimeStatus } from './shared.runtime_status_pb';
4
4
  /**
5
5
  * @generated from protobuf message aquila.RuntimeStatusUpdateRequest
6
6
  */
@@ -20,6 +20,12 @@ export interface RuntimeStatusUpdateRequest {
20
20
  * @generated from protobuf field: shared.ExecutionRuntimeStatus execution_runtime_status = 2
21
21
  */
22
22
  executionRuntimeStatus: ExecutionRuntimeStatus;
23
+ } | {
24
+ oneofKind: "actionStatus";
25
+ /**
26
+ * @generated from protobuf field: shared.ActionStatus action_status = 3
27
+ */
28
+ actionStatus: ActionStatus;
23
29
  } | {
24
30
  oneofKind: undefined;
25
31
  };
@@ -1,6 +1,6 @@
1
1
  import { ServiceType } from '@protobuf-ts/runtime-rpc';
2
2
  import { BinaryWriteOptions, IBinaryWriter, BinaryReadOptions, IBinaryReader, PartialMessage, MessageType } from '@protobuf-ts/runtime';
3
- import { ActionConfigurations } from './shared.action_configuration_pb';
3
+ import { ModuleConfigurations } from './shared.module_pb';
4
4
  import { Flows, ValidationFlow } from './shared.flow_pb';
5
5
  /**
6
6
  * Aquila sends a request to initialise stream to Sagittarius
@@ -43,13 +43,13 @@ export interface FlowResponse {
43
43
  */
44
44
  flows: Flows;
45
45
  } | {
46
- oneofKind: "actionConfigurations";
46
+ oneofKind: "moduleConfigurations";
47
47
  /**
48
- * ActionConfigurations that have been configured by the user
48
+ * ModuleConfigurations that have been configured by the user
49
49
  *
50
- * @generated from protobuf field: shared.ActionConfigurations action_configurations = 4
50
+ * @generated from protobuf field: shared.ModuleConfigurations module_configurations = 4
51
51
  */
52
- actionConfigurations: ActionConfigurations;
52
+ moduleConfigurations: ModuleConfigurations;
53
53
  } | {
54
54
  oneofKind: undefined;
55
55
  };
@@ -1,22 +1,22 @@
1
1
  import { RpcTransport, ServiceInfo, UnaryCall, RpcOptions } from '@protobuf-ts/runtime-rpc';
2
- import { FlowTypeUpdateResponse, FlowTypeUpdateRequest } from './sagittarius.flow_type_pb';
2
+ import { ModuleUpdateResponse, ModuleUpdateRequest } from './sagittarius.module_pb';
3
3
  /**
4
4
  * This service will be implemented as a server by Sagittarius and as a client by Aquila.
5
5
  *
6
- * @generated from protobuf service sagittarius.FlowTypeService
6
+ * @generated from protobuf service sagittarius.ModuleService
7
7
  */
8
- export interface IFlowTypeServiceClient {
8
+ export interface IModuleServiceClient {
9
9
  /**
10
10
  * @generated from protobuf rpc: Update
11
11
  */
12
- update(input: FlowTypeUpdateRequest, options?: RpcOptions): UnaryCall<FlowTypeUpdateRequest, FlowTypeUpdateResponse>;
12
+ update(input: ModuleUpdateRequest, options?: RpcOptions): UnaryCall<ModuleUpdateRequest, ModuleUpdateResponse>;
13
13
  }
14
14
  /**
15
15
  * This service will be implemented as a server by Sagittarius and as a client by Aquila.
16
16
  *
17
- * @generated from protobuf service sagittarius.FlowTypeService
17
+ * @generated from protobuf service sagittarius.ModuleService
18
18
  */
19
- export declare class FlowTypeServiceClient implements IFlowTypeServiceClient, ServiceInfo {
19
+ export declare class ModuleServiceClient implements IModuleServiceClient, ServiceInfo {
20
20
  private readonly _transport;
21
21
  typeName: string;
22
22
  methods: import('@protobuf-ts/runtime-rpc').MethodInfo<any, any>[];
@@ -27,5 +27,5 @@ export declare class FlowTypeServiceClient implements IFlowTypeServiceClient, Se
27
27
  /**
28
28
  * @generated from protobuf rpc: Update
29
29
  */
30
- update(input: FlowTypeUpdateRequest, options?: RpcOptions): UnaryCall<FlowTypeUpdateRequest, FlowTypeUpdateResponse>;
30
+ update(input: ModuleUpdateRequest, options?: RpcOptions): UnaryCall<ModuleUpdateRequest, ModuleUpdateResponse>;
31
31
  }
@@ -0,0 +1,59 @@
1
+ import { ServiceType } from '@protobuf-ts/runtime-rpc';
2
+ import { BinaryWriteOptions, IBinaryWriter, BinaryReadOptions, IBinaryReader, PartialMessage, MessageType } from '@protobuf-ts/runtime';
3
+ import { ServiceError } from './shared.errors_pb';
4
+ import { Module } from './shared.module_pb';
5
+ /**
6
+ * Request for updating a list of modules including data types, flow types and runtime function definitions
7
+ *
8
+ * @generated from protobuf message sagittarius.ModuleUpdateRequest
9
+ */
10
+ export interface ModuleUpdateRequest {
11
+ /**
12
+ * List of modules
13
+ *
14
+ * @generated from protobuf field: repeated shared.Module modules = 1
15
+ */
16
+ modules: Module[];
17
+ }
18
+ /**
19
+ * Response of updating modules including data types, flow types and runtime function definitions
20
+ *
21
+ * @generated from protobuf message sagittarius.ModuleUpdateResponse
22
+ */
23
+ export interface ModuleUpdateResponse {
24
+ /**
25
+ * True if was successful, false if not
26
+ *
27
+ * @generated from protobuf field: bool success = 1
28
+ */
29
+ success: boolean;
30
+ /**
31
+ * @generated from protobuf field: optional shared.ServiceError error = 2
32
+ */
33
+ error?: ServiceError;
34
+ }
35
+ declare class ModuleUpdateRequest$Type extends MessageType<ModuleUpdateRequest> {
36
+ constructor();
37
+ create(value?: PartialMessage<ModuleUpdateRequest>): ModuleUpdateRequest;
38
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ModuleUpdateRequest): ModuleUpdateRequest;
39
+ internalBinaryWrite(message: ModuleUpdateRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
40
+ }
41
+ /**
42
+ * @generated MessageType for protobuf message sagittarius.ModuleUpdateRequest
43
+ */
44
+ export declare const ModuleUpdateRequest: ModuleUpdateRequest$Type;
45
+ declare class ModuleUpdateResponse$Type extends MessageType<ModuleUpdateResponse> {
46
+ constructor();
47
+ create(value?: PartialMessage<ModuleUpdateResponse>): ModuleUpdateResponse;
48
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ModuleUpdateResponse): ModuleUpdateResponse;
49
+ internalBinaryWrite(message: ModuleUpdateResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
50
+ }
51
+ /**
52
+ * @generated MessageType for protobuf message sagittarius.ModuleUpdateResponse
53
+ */
54
+ export declare const ModuleUpdateResponse: ModuleUpdateResponse$Type;
55
+ /**
56
+ * @generated ServiceType for protobuf service sagittarius.ModuleService
57
+ */
58
+ export declare const ModuleService: ServiceType;
59
+ export {};
@@ -1,6 +1,7 @@
1
1
  import { ServiceType } from '@protobuf-ts/runtime-rpc';
2
2
  import { BinaryWriteOptions, IBinaryWriter, BinaryReadOptions, IBinaryReader, PartialMessage, MessageType } from '@protobuf-ts/runtime';
3
- import { ExecutionRuntimeStatus, AdapterRuntimeStatus } from './shared.runtime_status_pb';
3
+ import { ServiceError } from './shared.errors_pb';
4
+ import { ActionStatus, ExecutionRuntimeStatus, AdapterRuntimeStatus } from './shared.runtime_status_pb';
4
5
  /**
5
6
  * @generated from protobuf message sagittarius.RuntimeStatusUpdateRequest
6
7
  */
@@ -20,6 +21,12 @@ export interface RuntimeStatusUpdateRequest {
20
21
  * @generated from protobuf field: shared.ExecutionRuntimeStatus execution_runtime_status = 2
21
22
  */
22
23
  executionRuntimeStatus: ExecutionRuntimeStatus;
24
+ } | {
25
+ oneofKind: "actionStatus";
26
+ /**
27
+ * @generated from protobuf field: shared.ActionStatus action_status = 3
28
+ */
29
+ actionStatus: ActionStatus;
23
30
  } | {
24
31
  oneofKind: undefined;
25
32
  };
@@ -32,6 +39,10 @@ export interface RuntimeStatusUpdateResponse {
32
39
  * @generated from protobuf field: bool success = 1
33
40
  */
34
41
  success: boolean;
42
+ /**
43
+ * @generated from protobuf field: optional shared.ServiceError error = 2
44
+ */
45
+ error?: ServiceError;
35
46
  }
36
47
  declare class RuntimeStatusUpdateRequest$Type extends MessageType<RuntimeStatusUpdateRequest> {
37
48
  constructor();
@@ -1,5 +1,6 @@
1
1
  import { ServiceType } from '@protobuf-ts/runtime-rpc';
2
2
  import { BinaryWriteOptions, IBinaryWriter, BinaryReadOptions, IBinaryReader, PartialMessage, MessageType } from '@protobuf-ts/runtime';
3
+ import { ServiceError } from './shared.errors_pb';
3
4
  import { RuntimeUsage } from './shared.runtime_usage_pb';
4
5
  /**
5
6
  * @generated from protobuf message sagittarius.RuntimeUsageRequest
@@ -18,6 +19,10 @@ export interface RuntimeUsageResponse {
18
19
  * @generated from protobuf field: bool success = 1
19
20
  */
20
21
  success: boolean;
22
+ /**
23
+ * @generated from protobuf field: optional shared.ServiceError error = 2
24
+ */
25
+ error?: ServiceError;
21
26
  }
22
27
  declare class RuntimeUsageRequest$Type extends MessageType<RuntimeUsageRequest> {
23
28
  constructor();