@code0-tech/tucana 0.0.76 → 0.0.77
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/pb/_generated/sagittarius_gateway.flow_pb.client.d.ts +43 -0
- package/dist/pb/_generated/sagittarius_gateway.flow_pb.d.ts +110 -0
- package/dist/pb/_generated/sagittarius_gateway.module_pb.client.d.ts +59 -0
- package/dist/pb/_generated/sagittarius_gateway.module_pb.d.ts +131 -0
- package/dist/pb/_generated/sagittarius_gateway.runtime_status_pb.client.d.ts +27 -0
- package/dist/pb/_generated/sagittarius_gateway.runtime_status_pb.d.ts +51 -0
- package/dist/pb/_generated/sagittarius_gateway.test_execution_pb.client.d.ts +43 -0
- package/dist/pb/_generated/{sagittarius.text_execution_pb.d.ts → sagittarius_gateway.test_execution_pb.d.ts} +45 -11
- package/dist/pb/_generated/sagittarius_rails.flow_pb.client.d.ts +31 -0
- package/dist/pb/_generated/{sagittarius.flow_pb.d.ts → sagittarius_rails.flow_pb.d.ts} +5 -14
- package/dist/pb/_generated/{sagittarius.module_pb.client.d.ts → sagittarius_rails.module_pb.client.d.ts} +3 -3
- package/dist/pb/_generated/{sagittarius.module_pb.d.ts → sagittarius_rails.module_pb.d.ts} +5 -5
- package/dist/pb/_generated/{sagittarius.runtime_status_pb.client.d.ts → sagittarius_rails.runtime_status_pb.client.d.ts} +3 -3
- package/dist/pb/_generated/{sagittarius.runtime_status_pb.d.ts → sagittarius_rails.runtime_status_pb.d.ts} +5 -5
- package/dist/pb/_generated/sagittarius_rails.test_execution_pb.client.d.ts +27 -0
- package/dist/pb/_generated/sagittarius_rails.test_execution_pb.d.ts +51 -0
- package/dist/pb/_generated/sagittarius_rails.token_pb.client.d.ts +31 -0
- package/dist/pb/_generated/sagittarius_rails.token_pb.d.ts +93 -0
- package/dist/pb/sagittarius_gateway.d.ts +8 -0
- package/dist/pb/sagittarius_rails.d.ts +10 -0
- package/dist/sagittarius_gateway.cjs.js +1 -0
- package/dist/sagittarius_gateway.d.ts +2 -0
- package/dist/sagittarius_gateway.es.js +784 -0
- package/dist/sagittarius_rails.cjs.js +1 -0
- package/dist/sagittarius_rails.d.ts +2 -0
- package/dist/{sagittarius.es.js → sagittarius_rails.es.js} +227 -221
- package/package.json +13 -7
- package/dist/pb/_generated/sagittarius.flow_pb.client.d.ts +0 -27
- package/dist/pb/_generated/sagittarius.ping_pb.client.d.ts +0 -27
- package/dist/pb/_generated/sagittarius.ping_pb.d.ts +0 -26
- package/dist/pb/_generated/sagittarius.text_execution_pb.client.d.ts +0 -27
- package/dist/pb/sagittarius.d.ts +0 -10
- package/dist/sagittarius.cjs.js +0 -1
- package/dist/sagittarius.d.ts +0 -2
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { RpcTransport, ServiceInfo, UnaryCall, ServerStreamingCall, RpcOptions } from '@protobuf-ts/runtime-rpc';
|
|
2
|
+
import { FlowPushResponse, FlowPushRequest, FlowResponse, FlowLogonRequest } from './sagittarius_gateway.flow_pb';
|
|
3
|
+
/**
|
|
4
|
+
* @generated from protobuf service sagittarius_gateway.FlowService
|
|
5
|
+
*/
|
|
6
|
+
export interface IFlowServiceClient {
|
|
7
|
+
/**
|
|
8
|
+
* Called by Aquila
|
|
9
|
+
*
|
|
10
|
+
* @generated from protobuf rpc: Update
|
|
11
|
+
*/
|
|
12
|
+
update(input: FlowLogonRequest, options?: RpcOptions): ServerStreamingCall<FlowLogonRequest, FlowResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* Called by Sagittarius
|
|
15
|
+
*
|
|
16
|
+
* @generated from protobuf rpc: Push
|
|
17
|
+
*/
|
|
18
|
+
push(input: FlowPushRequest, options?: RpcOptions): UnaryCall<FlowPushRequest, FlowPushResponse>;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @generated from protobuf service sagittarius_gateway.FlowService
|
|
22
|
+
*/
|
|
23
|
+
export declare class FlowServiceClient implements IFlowServiceClient, ServiceInfo {
|
|
24
|
+
private readonly _transport;
|
|
25
|
+
typeName: string;
|
|
26
|
+
methods: import('@protobuf-ts/runtime-rpc').MethodInfo<any, any>[];
|
|
27
|
+
options: {
|
|
28
|
+
[extensionName: string]: import('@protobuf-ts/runtime').JsonValue;
|
|
29
|
+
};
|
|
30
|
+
constructor(_transport: RpcTransport);
|
|
31
|
+
/**
|
|
32
|
+
* Called by Aquila
|
|
33
|
+
*
|
|
34
|
+
* @generated from protobuf rpc: Update
|
|
35
|
+
*/
|
|
36
|
+
update(input: FlowLogonRequest, options?: RpcOptions): ServerStreamingCall<FlowLogonRequest, FlowResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* Called by Sagittarius
|
|
39
|
+
*
|
|
40
|
+
* @generated from protobuf rpc: Push
|
|
41
|
+
*/
|
|
42
|
+
push(input: FlowPushRequest, options?: RpcOptions): UnaryCall<FlowPushRequest, FlowPushResponse>;
|
|
43
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { ServiceType } from '@protobuf-ts/runtime-rpc';
|
|
2
|
+
import { BinaryWriteOptions, IBinaryWriter, BinaryReadOptions, IBinaryReader, PartialMessage, MessageType } from '@protobuf-ts/runtime';
|
|
3
|
+
import { Flows, ValidationFlow } from './shared.flow_pb';
|
|
4
|
+
/**
|
|
5
|
+
* Aquila sends a request to initialise stream to Sagittarius
|
|
6
|
+
*
|
|
7
|
+
* @generated from protobuf message sagittarius_gateway.FlowLogonRequest
|
|
8
|
+
*/
|
|
9
|
+
export interface FlowLogonRequest {
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Sagittarius sends flow to be updated
|
|
13
|
+
*
|
|
14
|
+
* @generated from protobuf message sagittarius_gateway.FlowResponse
|
|
15
|
+
*/
|
|
16
|
+
export interface FlowResponse {
|
|
17
|
+
/**
|
|
18
|
+
* @generated from protobuf oneof: data
|
|
19
|
+
*/
|
|
20
|
+
data: {
|
|
21
|
+
oneofKind: "updatedFlow";
|
|
22
|
+
/**
|
|
23
|
+
* Updates a single flow
|
|
24
|
+
*
|
|
25
|
+
* @generated from protobuf field: shared.ValidationFlow updated_flow = 1
|
|
26
|
+
*/
|
|
27
|
+
updatedFlow: ValidationFlow;
|
|
28
|
+
} | {
|
|
29
|
+
oneofKind: "deletedFlowId";
|
|
30
|
+
/**
|
|
31
|
+
* Deletes a single flow
|
|
32
|
+
*
|
|
33
|
+
* @generated from protobuf field: int64 deleted_flow_id = 2
|
|
34
|
+
*/
|
|
35
|
+
deletedFlowId: bigint;
|
|
36
|
+
} | {
|
|
37
|
+
oneofKind: "flows";
|
|
38
|
+
/**
|
|
39
|
+
* Replaces all flows in Aquila (only on startup and for releases)
|
|
40
|
+
*
|
|
41
|
+
* @generated from protobuf field: shared.Flows flows = 3
|
|
42
|
+
*/
|
|
43
|
+
flows: Flows;
|
|
44
|
+
} | {
|
|
45
|
+
oneofKind: undefined;
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* @generated from protobuf message sagittarius_gateway.FlowPushRequest
|
|
50
|
+
*/
|
|
51
|
+
export interface FlowPushRequest {
|
|
52
|
+
/**
|
|
53
|
+
* @generated from protobuf field: int64 runtime_identifier = 1
|
|
54
|
+
*/
|
|
55
|
+
runtimeIdentifier: bigint;
|
|
56
|
+
/**
|
|
57
|
+
* @generated from protobuf field: sagittarius_gateway.FlowResponse response = 2
|
|
58
|
+
*/
|
|
59
|
+
response?: FlowResponse;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* @generated from protobuf message sagittarius_gateway.FlowPushResponse
|
|
63
|
+
*/
|
|
64
|
+
export interface FlowPushResponse {
|
|
65
|
+
}
|
|
66
|
+
declare class FlowLogonRequest$Type extends MessageType<FlowLogonRequest> {
|
|
67
|
+
constructor();
|
|
68
|
+
create(value?: PartialMessage<FlowLogonRequest>): FlowLogonRequest;
|
|
69
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FlowLogonRequest): FlowLogonRequest;
|
|
70
|
+
internalBinaryWrite(message: FlowLogonRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* @generated MessageType for protobuf message sagittarius_gateway.FlowLogonRequest
|
|
74
|
+
*/
|
|
75
|
+
export declare const FlowLogonRequest: FlowLogonRequest$Type;
|
|
76
|
+
declare class FlowResponse$Type extends MessageType<FlowResponse> {
|
|
77
|
+
constructor();
|
|
78
|
+
create(value?: PartialMessage<FlowResponse>): FlowResponse;
|
|
79
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FlowResponse): FlowResponse;
|
|
80
|
+
internalBinaryWrite(message: FlowResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* @generated MessageType for protobuf message sagittarius_gateway.FlowResponse
|
|
84
|
+
*/
|
|
85
|
+
export declare const FlowResponse: FlowResponse$Type;
|
|
86
|
+
declare class FlowPushRequest$Type extends MessageType<FlowPushRequest> {
|
|
87
|
+
constructor();
|
|
88
|
+
create(value?: PartialMessage<FlowPushRequest>): FlowPushRequest;
|
|
89
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FlowPushRequest): FlowPushRequest;
|
|
90
|
+
internalBinaryWrite(message: FlowPushRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* @generated MessageType for protobuf message sagittarius_gateway.FlowPushRequest
|
|
94
|
+
*/
|
|
95
|
+
export declare const FlowPushRequest: FlowPushRequest$Type;
|
|
96
|
+
declare class FlowPushResponse$Type extends MessageType<FlowPushResponse> {
|
|
97
|
+
constructor();
|
|
98
|
+
create(value?: PartialMessage<FlowPushResponse>): FlowPushResponse;
|
|
99
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FlowPushResponse): FlowPushResponse;
|
|
100
|
+
internalBinaryWrite(message: FlowPushResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* @generated MessageType for protobuf message sagittarius_gateway.FlowPushResponse
|
|
104
|
+
*/
|
|
105
|
+
export declare const FlowPushResponse: FlowPushResponse$Type;
|
|
106
|
+
/**
|
|
107
|
+
* @generated ServiceType for protobuf service sagittarius_gateway.FlowService
|
|
108
|
+
*/
|
|
109
|
+
export declare const FlowService: ServiceType;
|
|
110
|
+
export {};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { RpcTransport, ServiceInfo, ServerStreamingCall, UnaryCall, RpcOptions } from '@protobuf-ts/runtime-rpc';
|
|
2
|
+
import { ModuleConfigurationPushResponse, ModuleConfigurationPushRequest, ModuleConfigurationResponse, ModuleConfigurationRequest, ModuleUpdateResponse, ModuleUpdateRequest } from './sagittarius_gateway.module_pb';
|
|
3
|
+
/**
|
|
4
|
+
* This service will be implemented as a server by Sagittarius and as a client by Aquila.
|
|
5
|
+
*
|
|
6
|
+
* @generated from protobuf service sagittarius_gateway.ModuleService
|
|
7
|
+
*/
|
|
8
|
+
export interface IModuleServiceClient {
|
|
9
|
+
/**
|
|
10
|
+
* Aquila will call this method to update modules
|
|
11
|
+
*
|
|
12
|
+
* @generated from protobuf rpc: Update
|
|
13
|
+
*/
|
|
14
|
+
update(input: ModuleUpdateRequest, options?: RpcOptions): UnaryCall<ModuleUpdateRequest, ModuleUpdateResponse>;
|
|
15
|
+
/**
|
|
16
|
+
* Aquila will call this method to open a stream to receive module configurations
|
|
17
|
+
*
|
|
18
|
+
* @generated from protobuf rpc: Configurations
|
|
19
|
+
*/
|
|
20
|
+
configurations(input: ModuleConfigurationRequest, options?: RpcOptions): ServerStreamingCall<ModuleConfigurationRequest, ModuleConfigurationResponse>;
|
|
21
|
+
/**
|
|
22
|
+
* Sagittarius will call this method push new module configurations to aquila
|
|
23
|
+
*
|
|
24
|
+
* @generated from protobuf rpc: Push
|
|
25
|
+
*/
|
|
26
|
+
push(input: ModuleConfigurationPushRequest, options?: RpcOptions): UnaryCall<ModuleConfigurationPushRequest, ModuleConfigurationPushResponse>;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* This service will be implemented as a server by Sagittarius and as a client by Aquila.
|
|
30
|
+
*
|
|
31
|
+
* @generated from protobuf service sagittarius_gateway.ModuleService
|
|
32
|
+
*/
|
|
33
|
+
export declare class ModuleServiceClient implements IModuleServiceClient, ServiceInfo {
|
|
34
|
+
private readonly _transport;
|
|
35
|
+
typeName: string;
|
|
36
|
+
methods: import('@protobuf-ts/runtime-rpc').MethodInfo<any, any>[];
|
|
37
|
+
options: {
|
|
38
|
+
[extensionName: string]: import('@protobuf-ts/runtime').JsonValue;
|
|
39
|
+
};
|
|
40
|
+
constructor(_transport: RpcTransport);
|
|
41
|
+
/**
|
|
42
|
+
* Aquila will call this method to update modules
|
|
43
|
+
*
|
|
44
|
+
* @generated from protobuf rpc: Update
|
|
45
|
+
*/
|
|
46
|
+
update(input: ModuleUpdateRequest, options?: RpcOptions): UnaryCall<ModuleUpdateRequest, ModuleUpdateResponse>;
|
|
47
|
+
/**
|
|
48
|
+
* Aquila will call this method to open a stream to receive module configurations
|
|
49
|
+
*
|
|
50
|
+
* @generated from protobuf rpc: Configurations
|
|
51
|
+
*/
|
|
52
|
+
configurations(input: ModuleConfigurationRequest, options?: RpcOptions): ServerStreamingCall<ModuleConfigurationRequest, ModuleConfigurationResponse>;
|
|
53
|
+
/**
|
|
54
|
+
* Sagittarius will call this method push new module configurations to aquila
|
|
55
|
+
*
|
|
56
|
+
* @generated from protobuf rpc: Push
|
|
57
|
+
*/
|
|
58
|
+
push(input: ModuleConfigurationPushRequest, options?: RpcOptions): UnaryCall<ModuleConfigurationPushRequest, ModuleConfigurationPushResponse>;
|
|
59
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { ServiceType } from '@protobuf-ts/runtime-rpc';
|
|
2
|
+
import { BinaryWriteOptions, IBinaryWriter, BinaryReadOptions, IBinaryReader, PartialMessage, MessageType } from '@protobuf-ts/runtime';
|
|
3
|
+
import { ModuleConfigurations, Module } from './shared.module_pb';
|
|
4
|
+
import { ServiceError } from './shared.errors_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_gateway.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_gateway.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
|
+
/**
|
|
36
|
+
* @generated from protobuf message sagittarius_gateway.ModuleConfigurationRequest
|
|
37
|
+
*/
|
|
38
|
+
export interface ModuleConfigurationRequest {
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* @generated from protobuf message sagittarius_gateway.ModuleConfigurationResponse
|
|
42
|
+
*/
|
|
43
|
+
export interface ModuleConfigurationResponse {
|
|
44
|
+
/**
|
|
45
|
+
* @generated from protobuf field: shared.ModuleConfigurations module_configurations = 1
|
|
46
|
+
*/
|
|
47
|
+
moduleConfigurations?: ModuleConfigurations;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @generated from protobuf message sagittarius_gateway.ModuleConfigurationPushRequest
|
|
51
|
+
*/
|
|
52
|
+
export interface ModuleConfigurationPushRequest {
|
|
53
|
+
/**
|
|
54
|
+
* @generated from protobuf field: int64 runtime_identifier = 1
|
|
55
|
+
*/
|
|
56
|
+
runtimeIdentifier: bigint;
|
|
57
|
+
/**
|
|
58
|
+
* @generated from protobuf field: sagittarius_gateway.ModuleConfigurationResponse response = 2
|
|
59
|
+
*/
|
|
60
|
+
response?: ModuleConfigurationResponse;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* @generated from protobuf message sagittarius_gateway.ModuleConfigurationPushResponse
|
|
64
|
+
*/
|
|
65
|
+
export interface ModuleConfigurationPushResponse {
|
|
66
|
+
}
|
|
67
|
+
declare class ModuleUpdateRequest$Type extends MessageType<ModuleUpdateRequest> {
|
|
68
|
+
constructor();
|
|
69
|
+
create(value?: PartialMessage<ModuleUpdateRequest>): ModuleUpdateRequest;
|
|
70
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ModuleUpdateRequest): ModuleUpdateRequest;
|
|
71
|
+
internalBinaryWrite(message: ModuleUpdateRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* @generated MessageType for protobuf message sagittarius_gateway.ModuleUpdateRequest
|
|
75
|
+
*/
|
|
76
|
+
export declare const ModuleUpdateRequest: ModuleUpdateRequest$Type;
|
|
77
|
+
declare class ModuleUpdateResponse$Type extends MessageType<ModuleUpdateResponse> {
|
|
78
|
+
constructor();
|
|
79
|
+
create(value?: PartialMessage<ModuleUpdateResponse>): ModuleUpdateResponse;
|
|
80
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ModuleUpdateResponse): ModuleUpdateResponse;
|
|
81
|
+
internalBinaryWrite(message: ModuleUpdateResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* @generated MessageType for protobuf message sagittarius_gateway.ModuleUpdateResponse
|
|
85
|
+
*/
|
|
86
|
+
export declare const ModuleUpdateResponse: ModuleUpdateResponse$Type;
|
|
87
|
+
declare class ModuleConfigurationRequest$Type extends MessageType<ModuleConfigurationRequest> {
|
|
88
|
+
constructor();
|
|
89
|
+
create(value?: PartialMessage<ModuleConfigurationRequest>): ModuleConfigurationRequest;
|
|
90
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ModuleConfigurationRequest): ModuleConfigurationRequest;
|
|
91
|
+
internalBinaryWrite(message: ModuleConfigurationRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* @generated MessageType for protobuf message sagittarius_gateway.ModuleConfigurationRequest
|
|
95
|
+
*/
|
|
96
|
+
export declare const ModuleConfigurationRequest: ModuleConfigurationRequest$Type;
|
|
97
|
+
declare class ModuleConfigurationResponse$Type extends MessageType<ModuleConfigurationResponse> {
|
|
98
|
+
constructor();
|
|
99
|
+
create(value?: PartialMessage<ModuleConfigurationResponse>): ModuleConfigurationResponse;
|
|
100
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ModuleConfigurationResponse): ModuleConfigurationResponse;
|
|
101
|
+
internalBinaryWrite(message: ModuleConfigurationResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* @generated MessageType for protobuf message sagittarius_gateway.ModuleConfigurationResponse
|
|
105
|
+
*/
|
|
106
|
+
export declare const ModuleConfigurationResponse: ModuleConfigurationResponse$Type;
|
|
107
|
+
declare class ModuleConfigurationPushRequest$Type extends MessageType<ModuleConfigurationPushRequest> {
|
|
108
|
+
constructor();
|
|
109
|
+
create(value?: PartialMessage<ModuleConfigurationPushRequest>): ModuleConfigurationPushRequest;
|
|
110
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ModuleConfigurationPushRequest): ModuleConfigurationPushRequest;
|
|
111
|
+
internalBinaryWrite(message: ModuleConfigurationPushRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* @generated MessageType for protobuf message sagittarius_gateway.ModuleConfigurationPushRequest
|
|
115
|
+
*/
|
|
116
|
+
export declare const ModuleConfigurationPushRequest: ModuleConfigurationPushRequest$Type;
|
|
117
|
+
declare class ModuleConfigurationPushResponse$Type extends MessageType<ModuleConfigurationPushResponse> {
|
|
118
|
+
constructor();
|
|
119
|
+
create(value?: PartialMessage<ModuleConfigurationPushResponse>): ModuleConfigurationPushResponse;
|
|
120
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ModuleConfigurationPushResponse): ModuleConfigurationPushResponse;
|
|
121
|
+
internalBinaryWrite(message: ModuleConfigurationPushResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* @generated MessageType for protobuf message sagittarius_gateway.ModuleConfigurationPushResponse
|
|
125
|
+
*/
|
|
126
|
+
export declare const ModuleConfigurationPushResponse: ModuleConfigurationPushResponse$Type;
|
|
127
|
+
/**
|
|
128
|
+
* @generated ServiceType for protobuf service sagittarius_gateway.ModuleService
|
|
129
|
+
*/
|
|
130
|
+
export declare const ModuleService: ServiceType;
|
|
131
|
+
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { RpcTransport, ServiceInfo, UnaryCall, RpcOptions } from '@protobuf-ts/runtime-rpc';
|
|
2
|
+
import { RuntimeStatusUpdateResponse, RuntimeStatusUpdateRequest } from './sagittarius_gateway.runtime_status_pb';
|
|
3
|
+
/**
|
|
4
|
+
* @generated from protobuf service sagittarius_gateway.RuntimeStatusService
|
|
5
|
+
*/
|
|
6
|
+
export interface IRuntimeStatusServiceClient {
|
|
7
|
+
/**
|
|
8
|
+
* @generated from protobuf rpc: Update
|
|
9
|
+
*/
|
|
10
|
+
update(input: RuntimeStatusUpdateRequest, options?: RpcOptions): UnaryCall<RuntimeStatusUpdateRequest, RuntimeStatusUpdateResponse>;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* @generated from protobuf service sagittarius_gateway.RuntimeStatusService
|
|
14
|
+
*/
|
|
15
|
+
export declare class RuntimeStatusServiceClient implements IRuntimeStatusServiceClient, ServiceInfo {
|
|
16
|
+
private readonly _transport;
|
|
17
|
+
typeName: string;
|
|
18
|
+
methods: import('@protobuf-ts/runtime-rpc').MethodInfo<any, any>[];
|
|
19
|
+
options: {
|
|
20
|
+
[extensionName: string]: import('@protobuf-ts/runtime').JsonValue;
|
|
21
|
+
};
|
|
22
|
+
constructor(_transport: RpcTransport);
|
|
23
|
+
/**
|
|
24
|
+
* @generated from protobuf rpc: Update
|
|
25
|
+
*/
|
|
26
|
+
update(input: RuntimeStatusUpdateRequest, options?: RpcOptions): UnaryCall<RuntimeStatusUpdateRequest, RuntimeStatusUpdateResponse>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 { ModuleStatus } from './shared.runtime_status_pb';
|
|
5
|
+
/**
|
|
6
|
+
* @generated from protobuf message sagittarius_gateway.RuntimeStatusUpdateRequest
|
|
7
|
+
*/
|
|
8
|
+
export interface RuntimeStatusUpdateRequest {
|
|
9
|
+
/**
|
|
10
|
+
* @generated from protobuf field: shared.ModuleStatus status = 1
|
|
11
|
+
*/
|
|
12
|
+
status?: ModuleStatus;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @generated from protobuf message sagittarius_gateway.RuntimeStatusUpdateResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface RuntimeStatusUpdateResponse {
|
|
18
|
+
/**
|
|
19
|
+
* @generated from protobuf field: bool success = 1
|
|
20
|
+
*/
|
|
21
|
+
success: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* @generated from protobuf field: optional shared.ServiceError error = 2
|
|
24
|
+
*/
|
|
25
|
+
error?: ServiceError;
|
|
26
|
+
}
|
|
27
|
+
declare class RuntimeStatusUpdateRequest$Type extends MessageType<RuntimeStatusUpdateRequest> {
|
|
28
|
+
constructor();
|
|
29
|
+
create(value?: PartialMessage<RuntimeStatusUpdateRequest>): RuntimeStatusUpdateRequest;
|
|
30
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RuntimeStatusUpdateRequest): RuntimeStatusUpdateRequest;
|
|
31
|
+
internalBinaryWrite(message: RuntimeStatusUpdateRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* @generated MessageType for protobuf message sagittarius_gateway.RuntimeStatusUpdateRequest
|
|
35
|
+
*/
|
|
36
|
+
export declare const RuntimeStatusUpdateRequest: RuntimeStatusUpdateRequest$Type;
|
|
37
|
+
declare class RuntimeStatusUpdateResponse$Type extends MessageType<RuntimeStatusUpdateResponse> {
|
|
38
|
+
constructor();
|
|
39
|
+
create(value?: PartialMessage<RuntimeStatusUpdateResponse>): RuntimeStatusUpdateResponse;
|
|
40
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RuntimeStatusUpdateResponse): RuntimeStatusUpdateResponse;
|
|
41
|
+
internalBinaryWrite(message: RuntimeStatusUpdateResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @generated MessageType for protobuf message sagittarius_gateway.RuntimeStatusUpdateResponse
|
|
45
|
+
*/
|
|
46
|
+
export declare const RuntimeStatusUpdateResponse: RuntimeStatusUpdateResponse$Type;
|
|
47
|
+
/**
|
|
48
|
+
* @generated ServiceType for protobuf service sagittarius_gateway.RuntimeStatusService
|
|
49
|
+
*/
|
|
50
|
+
export declare const RuntimeStatusService: ServiceType;
|
|
51
|
+
export {};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { RpcTransport, ServiceInfo, UnaryCall, DuplexStreamingCall, RpcOptions } from '@protobuf-ts/runtime-rpc';
|
|
2
|
+
import { ExecutionPushResponse, ExecutionPushRequest, ExecutionLogonResponse, ExecutionLogonRequest } from './sagittarius_gateway.test_execution_pb';
|
|
3
|
+
/**
|
|
4
|
+
* @generated from protobuf service sagittarius_gateway.ExecutionService
|
|
5
|
+
*/
|
|
6
|
+
export interface IExecutionServiceClient {
|
|
7
|
+
/**
|
|
8
|
+
* Called by Aquila
|
|
9
|
+
*
|
|
10
|
+
* @generated from protobuf rpc: Update
|
|
11
|
+
*/
|
|
12
|
+
update(options?: RpcOptions): DuplexStreamingCall<ExecutionLogonRequest, ExecutionLogonResponse>;
|
|
13
|
+
/**
|
|
14
|
+
* Called by Sagittarius
|
|
15
|
+
*
|
|
16
|
+
* @generated from protobuf rpc: Push
|
|
17
|
+
*/
|
|
18
|
+
push(input: ExecutionPushRequest, options?: RpcOptions): UnaryCall<ExecutionPushRequest, ExecutionPushResponse>;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @generated from protobuf service sagittarius_gateway.ExecutionService
|
|
22
|
+
*/
|
|
23
|
+
export declare class ExecutionServiceClient implements IExecutionServiceClient, ServiceInfo {
|
|
24
|
+
private readonly _transport;
|
|
25
|
+
typeName: string;
|
|
26
|
+
methods: import('@protobuf-ts/runtime-rpc').MethodInfo<any, any>[];
|
|
27
|
+
options: {
|
|
28
|
+
[extensionName: string]: import('@protobuf-ts/runtime').JsonValue;
|
|
29
|
+
};
|
|
30
|
+
constructor(_transport: RpcTransport);
|
|
31
|
+
/**
|
|
32
|
+
* Called by Aquila
|
|
33
|
+
*
|
|
34
|
+
* @generated from protobuf rpc: Update
|
|
35
|
+
*/
|
|
36
|
+
update(options?: RpcOptions): DuplexStreamingCall<ExecutionLogonRequest, ExecutionLogonResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* Called by Sagittarius
|
|
39
|
+
*
|
|
40
|
+
* @generated from protobuf rpc: Push
|
|
41
|
+
*/
|
|
42
|
+
push(input: ExecutionPushRequest, options?: RpcOptions): UnaryCall<ExecutionPushRequest, ExecutionPushResponse>;
|
|
43
|
+
}
|
|
@@ -3,12 +3,12 @@ import { BinaryWriteOptions, IBinaryWriter, BinaryReadOptions, IBinaryReader, Pa
|
|
|
3
3
|
import { ExecutionResult } from './shared.execution_result_pb';
|
|
4
4
|
import { Value } from './shared.struct_pb';
|
|
5
5
|
/**
|
|
6
|
-
* @generated from protobuf message
|
|
6
|
+
* @generated from protobuf message sagittarius_gateway.Logon
|
|
7
7
|
*/
|
|
8
8
|
export interface Logon {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* @generated from protobuf message
|
|
11
|
+
* @generated from protobuf message sagittarius_gateway.TestExecutionRequest
|
|
12
12
|
*/
|
|
13
13
|
export interface TestExecutionRequest {
|
|
14
14
|
/**
|
|
@@ -28,7 +28,7 @@ export interface TestExecutionRequest {
|
|
|
28
28
|
* Aquila sends a logon request to Sagittarius that initiates a stream
|
|
29
29
|
* If the stream is initialized it will return the result after it received a request
|
|
30
30
|
*
|
|
31
|
-
* @generated from protobuf message
|
|
31
|
+
* @generated from protobuf message sagittarius_gateway.ExecutionLogonRequest
|
|
32
32
|
*/
|
|
33
33
|
export interface ExecutionLogonRequest {
|
|
34
34
|
/**
|
|
@@ -37,7 +37,7 @@ export interface ExecutionLogonRequest {
|
|
|
37
37
|
data: {
|
|
38
38
|
oneofKind: "logon";
|
|
39
39
|
/**
|
|
40
|
-
* @generated from protobuf field:
|
|
40
|
+
* @generated from protobuf field: sagittarius_gateway.Logon logon = 1
|
|
41
41
|
*/
|
|
42
42
|
logon: Logon;
|
|
43
43
|
} | {
|
|
@@ -53,14 +53,28 @@ export interface ExecutionLogonRequest {
|
|
|
53
53
|
/**
|
|
54
54
|
* Sagittarius sends execution requests
|
|
55
55
|
*
|
|
56
|
-
* @generated from protobuf message
|
|
56
|
+
* @generated from protobuf message sagittarius_gateway.ExecutionLogonResponse
|
|
57
57
|
*/
|
|
58
58
|
export interface ExecutionLogonResponse {
|
|
59
59
|
/**
|
|
60
|
-
* @generated from protobuf field:
|
|
60
|
+
* @generated from protobuf field: sagittarius_gateway.TestExecutionRequest request = 1
|
|
61
61
|
*/
|
|
62
62
|
request?: TestExecutionRequest;
|
|
63
63
|
}
|
|
64
|
+
/**
|
|
65
|
+
* @generated from protobuf message sagittarius_gateway.ExecutionPushRequest
|
|
66
|
+
*/
|
|
67
|
+
export interface ExecutionPushRequest {
|
|
68
|
+
/**
|
|
69
|
+
* @generated from protobuf field: sagittarius_gateway.TestExecutionRequest request = 1
|
|
70
|
+
*/
|
|
71
|
+
request?: TestExecutionRequest;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* @generated from protobuf message sagittarius_gateway.ExecutionPushResponse
|
|
75
|
+
*/
|
|
76
|
+
export interface ExecutionPushResponse {
|
|
77
|
+
}
|
|
64
78
|
declare class Logon$Type extends MessageType<Logon> {
|
|
65
79
|
constructor();
|
|
66
80
|
create(value?: PartialMessage<Logon>): Logon;
|
|
@@ -68,7 +82,7 @@ declare class Logon$Type extends MessageType<Logon> {
|
|
|
68
82
|
internalBinaryWrite(message: Logon, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
69
83
|
}
|
|
70
84
|
/**
|
|
71
|
-
* @generated MessageType for protobuf message
|
|
85
|
+
* @generated MessageType for protobuf message sagittarius_gateway.Logon
|
|
72
86
|
*/
|
|
73
87
|
export declare const Logon: Logon$Type;
|
|
74
88
|
declare class TestExecutionRequest$Type extends MessageType<TestExecutionRequest> {
|
|
@@ -78,7 +92,7 @@ declare class TestExecutionRequest$Type extends MessageType<TestExecutionRequest
|
|
|
78
92
|
internalBinaryWrite(message: TestExecutionRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
79
93
|
}
|
|
80
94
|
/**
|
|
81
|
-
* @generated MessageType for protobuf message
|
|
95
|
+
* @generated MessageType for protobuf message sagittarius_gateway.TestExecutionRequest
|
|
82
96
|
*/
|
|
83
97
|
export declare const TestExecutionRequest: TestExecutionRequest$Type;
|
|
84
98
|
declare class ExecutionLogonRequest$Type extends MessageType<ExecutionLogonRequest> {
|
|
@@ -88,7 +102,7 @@ declare class ExecutionLogonRequest$Type extends MessageType<ExecutionLogonReque
|
|
|
88
102
|
internalBinaryWrite(message: ExecutionLogonRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
89
103
|
}
|
|
90
104
|
/**
|
|
91
|
-
* @generated MessageType for protobuf message
|
|
105
|
+
* @generated MessageType for protobuf message sagittarius_gateway.ExecutionLogonRequest
|
|
92
106
|
*/
|
|
93
107
|
export declare const ExecutionLogonRequest: ExecutionLogonRequest$Type;
|
|
94
108
|
declare class ExecutionLogonResponse$Type extends MessageType<ExecutionLogonResponse> {
|
|
@@ -98,11 +112,31 @@ declare class ExecutionLogonResponse$Type extends MessageType<ExecutionLogonResp
|
|
|
98
112
|
internalBinaryWrite(message: ExecutionLogonResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
99
113
|
}
|
|
100
114
|
/**
|
|
101
|
-
* @generated MessageType for protobuf message
|
|
115
|
+
* @generated MessageType for protobuf message sagittarius_gateway.ExecutionLogonResponse
|
|
102
116
|
*/
|
|
103
117
|
export declare const ExecutionLogonResponse: ExecutionLogonResponse$Type;
|
|
118
|
+
declare class ExecutionPushRequest$Type extends MessageType<ExecutionPushRequest> {
|
|
119
|
+
constructor();
|
|
120
|
+
create(value?: PartialMessage<ExecutionPushRequest>): ExecutionPushRequest;
|
|
121
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionPushRequest): ExecutionPushRequest;
|
|
122
|
+
internalBinaryWrite(message: ExecutionPushRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* @generated MessageType for protobuf message sagittarius_gateway.ExecutionPushRequest
|
|
126
|
+
*/
|
|
127
|
+
export declare const ExecutionPushRequest: ExecutionPushRequest$Type;
|
|
128
|
+
declare class ExecutionPushResponse$Type extends MessageType<ExecutionPushResponse> {
|
|
129
|
+
constructor();
|
|
130
|
+
create(value?: PartialMessage<ExecutionPushResponse>): ExecutionPushResponse;
|
|
131
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionPushResponse): ExecutionPushResponse;
|
|
132
|
+
internalBinaryWrite(message: ExecutionPushResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* @generated MessageType for protobuf message sagittarius_gateway.ExecutionPushResponse
|
|
136
|
+
*/
|
|
137
|
+
export declare const ExecutionPushResponse: ExecutionPushResponse$Type;
|
|
104
138
|
/**
|
|
105
|
-
* @generated ServiceType for protobuf service
|
|
139
|
+
* @generated ServiceType for protobuf service sagittarius_gateway.ExecutionService
|
|
106
140
|
*/
|
|
107
141
|
export declare const ExecutionService: ServiceType;
|
|
108
142
|
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { RpcTransport, ServiceInfo, UnaryCall, RpcOptions } from '@protobuf-ts/runtime-rpc';
|
|
2
|
+
import { FlowResponse, FlowLogonRequest } from './sagittarius_rails.flow_pb';
|
|
3
|
+
/**
|
|
4
|
+
* @generated from protobuf service sagittarius_rails.FlowService
|
|
5
|
+
*/
|
|
6
|
+
export interface IFlowServiceClient {
|
|
7
|
+
/**
|
|
8
|
+
* Called by Gateway
|
|
9
|
+
*
|
|
10
|
+
* @generated from protobuf rpc: Update
|
|
11
|
+
*/
|
|
12
|
+
update(input: FlowLogonRequest, options?: RpcOptions): UnaryCall<FlowLogonRequest, FlowResponse>;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @generated from protobuf service sagittarius_rails.FlowService
|
|
16
|
+
*/
|
|
17
|
+
export declare class FlowServiceClient implements IFlowServiceClient, ServiceInfo {
|
|
18
|
+
private readonly _transport;
|
|
19
|
+
typeName: string;
|
|
20
|
+
methods: import('@protobuf-ts/runtime-rpc').MethodInfo<any, any>[];
|
|
21
|
+
options: {
|
|
22
|
+
[extensionName: string]: import('@protobuf-ts/runtime').JsonValue;
|
|
23
|
+
};
|
|
24
|
+
constructor(_transport: RpcTransport);
|
|
25
|
+
/**
|
|
26
|
+
* Called by Gateway
|
|
27
|
+
*
|
|
28
|
+
* @generated from protobuf rpc: Update
|
|
29
|
+
*/
|
|
30
|
+
update(input: FlowLogonRequest, options?: RpcOptions): UnaryCall<FlowLogonRequest, FlowResponse>;
|
|
31
|
+
}
|