@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
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import { ServiceType } from '@protobuf-ts/runtime-rpc';
|
|
2
2
|
import { BinaryWriteOptions, IBinaryWriter, BinaryReadOptions, IBinaryReader, PartialMessage, MessageType } from '@protobuf-ts/runtime';
|
|
3
|
-
import { ModuleConfigurations } from './shared.module_pb';
|
|
4
3
|
import { Flows, ValidationFlow } from './shared.flow_pb';
|
|
5
4
|
/**
|
|
6
5
|
* Aquila sends a request to initialise stream to Sagittarius
|
|
7
6
|
*
|
|
8
|
-
* @generated from protobuf message
|
|
7
|
+
* @generated from protobuf message sagittarius_rails.FlowLogonRequest
|
|
9
8
|
*/
|
|
10
9
|
export interface FlowLogonRequest {
|
|
11
10
|
}
|
|
12
11
|
/**
|
|
13
12
|
* Sagittarius sends flow to be updated
|
|
14
13
|
*
|
|
15
|
-
* @generated from protobuf message
|
|
14
|
+
* @generated from protobuf message sagittarius_rails.FlowResponse
|
|
16
15
|
*/
|
|
17
16
|
export interface FlowResponse {
|
|
18
17
|
/**
|
|
@@ -42,14 +41,6 @@ export interface FlowResponse {
|
|
|
42
41
|
* @generated from protobuf field: shared.Flows flows = 3
|
|
43
42
|
*/
|
|
44
43
|
flows: Flows;
|
|
45
|
-
} | {
|
|
46
|
-
oneofKind: "moduleConfigurations";
|
|
47
|
-
/**
|
|
48
|
-
* ModuleConfigurations that have been configured by the user
|
|
49
|
-
*
|
|
50
|
-
* @generated from protobuf field: shared.ModuleConfigurations module_configurations = 4
|
|
51
|
-
*/
|
|
52
|
-
moduleConfigurations: ModuleConfigurations;
|
|
53
44
|
} | {
|
|
54
45
|
oneofKind: undefined;
|
|
55
46
|
};
|
|
@@ -61,7 +52,7 @@ declare class FlowLogonRequest$Type extends MessageType<FlowLogonRequest> {
|
|
|
61
52
|
internalBinaryWrite(message: FlowLogonRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
62
53
|
}
|
|
63
54
|
/**
|
|
64
|
-
* @generated MessageType for protobuf message
|
|
55
|
+
* @generated MessageType for protobuf message sagittarius_rails.FlowLogonRequest
|
|
65
56
|
*/
|
|
66
57
|
export declare const FlowLogonRequest: FlowLogonRequest$Type;
|
|
67
58
|
declare class FlowResponse$Type extends MessageType<FlowResponse> {
|
|
@@ -71,11 +62,11 @@ declare class FlowResponse$Type extends MessageType<FlowResponse> {
|
|
|
71
62
|
internalBinaryWrite(message: FlowResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
72
63
|
}
|
|
73
64
|
/**
|
|
74
|
-
* @generated MessageType for protobuf message
|
|
65
|
+
* @generated MessageType for protobuf message sagittarius_rails.FlowResponse
|
|
75
66
|
*/
|
|
76
67
|
export declare const FlowResponse: FlowResponse$Type;
|
|
77
68
|
/**
|
|
78
|
-
* @generated ServiceType for protobuf service
|
|
69
|
+
* @generated ServiceType for protobuf service sagittarius_rails.FlowService
|
|
79
70
|
*/
|
|
80
71
|
export declare const FlowService: ServiceType;
|
|
81
72
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { RpcTransport, ServiceInfo, UnaryCall, RpcOptions } from '@protobuf-ts/runtime-rpc';
|
|
2
|
-
import { ModuleUpdateResponse, ModuleUpdateRequest } from './
|
|
2
|
+
import { ModuleUpdateResponse, ModuleUpdateRequest } from './sagittarius_rails.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
|
|
6
|
+
* @generated from protobuf service sagittarius_rails.ModuleService
|
|
7
7
|
*/
|
|
8
8
|
export interface IModuleServiceClient {
|
|
9
9
|
/**
|
|
@@ -14,7 +14,7 @@ export interface IModuleServiceClient {
|
|
|
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
|
|
17
|
+
* @generated from protobuf service sagittarius_rails.ModuleService
|
|
18
18
|
*/
|
|
19
19
|
export declare class ModuleServiceClient implements IModuleServiceClient, ServiceInfo {
|
|
20
20
|
private readonly _transport;
|
|
@@ -5,7 +5,7 @@ import { Module } from './shared.module_pb';
|
|
|
5
5
|
/**
|
|
6
6
|
* Request for updating a list of modules including data types, flow types and runtime function definitions
|
|
7
7
|
*
|
|
8
|
-
* @generated from protobuf message
|
|
8
|
+
* @generated from protobuf message sagittarius_rails.ModuleUpdateRequest
|
|
9
9
|
*/
|
|
10
10
|
export interface ModuleUpdateRequest {
|
|
11
11
|
/**
|
|
@@ -24,7 +24,7 @@ export interface ModuleUpdateRequest {
|
|
|
24
24
|
/**
|
|
25
25
|
* Response of updating modules including data types, flow types and runtime function definitions
|
|
26
26
|
*
|
|
27
|
-
* @generated from protobuf message
|
|
27
|
+
* @generated from protobuf message sagittarius_rails.ModuleUpdateResponse
|
|
28
28
|
*/
|
|
29
29
|
export interface ModuleUpdateResponse {
|
|
30
30
|
/**
|
|
@@ -45,7 +45,7 @@ declare class ModuleUpdateRequest$Type extends MessageType<ModuleUpdateRequest>
|
|
|
45
45
|
internalBinaryWrite(message: ModuleUpdateRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
46
46
|
}
|
|
47
47
|
/**
|
|
48
|
-
* @generated MessageType for protobuf message
|
|
48
|
+
* @generated MessageType for protobuf message sagittarius_rails.ModuleUpdateRequest
|
|
49
49
|
*/
|
|
50
50
|
export declare const ModuleUpdateRequest: ModuleUpdateRequest$Type;
|
|
51
51
|
declare class ModuleUpdateResponse$Type extends MessageType<ModuleUpdateResponse> {
|
|
@@ -55,11 +55,11 @@ declare class ModuleUpdateResponse$Type extends MessageType<ModuleUpdateResponse
|
|
|
55
55
|
internalBinaryWrite(message: ModuleUpdateResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
56
56
|
}
|
|
57
57
|
/**
|
|
58
|
-
* @generated MessageType for protobuf message
|
|
58
|
+
* @generated MessageType for protobuf message sagittarius_rails.ModuleUpdateResponse
|
|
59
59
|
*/
|
|
60
60
|
export declare const ModuleUpdateResponse: ModuleUpdateResponse$Type;
|
|
61
61
|
/**
|
|
62
|
-
* @generated ServiceType for protobuf service
|
|
62
|
+
* @generated ServiceType for protobuf service sagittarius_rails.ModuleService
|
|
63
63
|
*/
|
|
64
64
|
export declare const ModuleService: ServiceType;
|
|
65
65
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RpcTransport, ServiceInfo, UnaryCall, RpcOptions } from '@protobuf-ts/runtime-rpc';
|
|
2
|
-
import { RuntimeStatusUpdateResponse, RuntimeStatusUpdateRequest } from './
|
|
2
|
+
import { RuntimeStatusUpdateResponse, RuntimeStatusUpdateRequest } from './sagittarius_rails.runtime_status_pb';
|
|
3
3
|
/**
|
|
4
|
-
* @generated from protobuf service
|
|
4
|
+
* @generated from protobuf service sagittarius_rails.RuntimeStatusService
|
|
5
5
|
*/
|
|
6
6
|
export interface IRuntimeStatusServiceClient {
|
|
7
7
|
/**
|
|
@@ -10,7 +10,7 @@ export interface IRuntimeStatusServiceClient {
|
|
|
10
10
|
update(input: RuntimeStatusUpdateRequest, options?: RpcOptions): UnaryCall<RuntimeStatusUpdateRequest, RuntimeStatusUpdateResponse>;
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
|
-
* @generated from protobuf service
|
|
13
|
+
* @generated from protobuf service sagittarius_rails.RuntimeStatusService
|
|
14
14
|
*/
|
|
15
15
|
export declare class RuntimeStatusServiceClient implements IRuntimeStatusServiceClient, ServiceInfo {
|
|
16
16
|
private readonly _transport;
|
|
@@ -3,7 +3,7 @@ import { BinaryWriteOptions, IBinaryWriter, BinaryReadOptions, IBinaryReader, Pa
|
|
|
3
3
|
import { ServiceError } from './shared.errors_pb';
|
|
4
4
|
import { ModuleStatus } from './shared.runtime_status_pb';
|
|
5
5
|
/**
|
|
6
|
-
* @generated from protobuf message
|
|
6
|
+
* @generated from protobuf message sagittarius_rails.RuntimeStatusUpdateRequest
|
|
7
7
|
*/
|
|
8
8
|
export interface RuntimeStatusUpdateRequest {
|
|
9
9
|
/**
|
|
@@ -12,7 +12,7 @@ export interface RuntimeStatusUpdateRequest {
|
|
|
12
12
|
status?: ModuleStatus;
|
|
13
13
|
}
|
|
14
14
|
/**
|
|
15
|
-
* @generated from protobuf message
|
|
15
|
+
* @generated from protobuf message sagittarius_rails.RuntimeStatusUpdateResponse
|
|
16
16
|
*/
|
|
17
17
|
export interface RuntimeStatusUpdateResponse {
|
|
18
18
|
/**
|
|
@@ -31,7 +31,7 @@ declare class RuntimeStatusUpdateRequest$Type extends MessageType<RuntimeStatusU
|
|
|
31
31
|
internalBinaryWrite(message: RuntimeStatusUpdateRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
|
-
* @generated MessageType for protobuf message
|
|
34
|
+
* @generated MessageType for protobuf message sagittarius_rails.RuntimeStatusUpdateRequest
|
|
35
35
|
*/
|
|
36
36
|
export declare const RuntimeStatusUpdateRequest: RuntimeStatusUpdateRequest$Type;
|
|
37
37
|
declare class RuntimeStatusUpdateResponse$Type extends MessageType<RuntimeStatusUpdateResponse> {
|
|
@@ -41,11 +41,11 @@ declare class RuntimeStatusUpdateResponse$Type extends MessageType<RuntimeStatus
|
|
|
41
41
|
internalBinaryWrite(message: RuntimeStatusUpdateResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
44
|
-
* @generated MessageType for protobuf message
|
|
44
|
+
* @generated MessageType for protobuf message sagittarius_rails.RuntimeStatusUpdateResponse
|
|
45
45
|
*/
|
|
46
46
|
export declare const RuntimeStatusUpdateResponse: RuntimeStatusUpdateResponse$Type;
|
|
47
47
|
/**
|
|
48
|
-
* @generated ServiceType for protobuf service
|
|
48
|
+
* @generated ServiceType for protobuf service sagittarius_rails.RuntimeStatusService
|
|
49
49
|
*/
|
|
50
50
|
export declare const RuntimeStatusService: ServiceType;
|
|
51
51
|
export {};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { RpcTransport, ServiceInfo, UnaryCall, RpcOptions } from '@protobuf-ts/runtime-rpc';
|
|
2
|
+
import { ExecutionResponse, ExecutionRequest } from './sagittarius_rails.test_execution_pb';
|
|
3
|
+
/**
|
|
4
|
+
* @generated from protobuf service sagittarius_rails.ExecutionService
|
|
5
|
+
*/
|
|
6
|
+
export interface IExecutionServiceClient {
|
|
7
|
+
/**
|
|
8
|
+
* @generated from protobuf rpc: Update
|
|
9
|
+
*/
|
|
10
|
+
update(input: ExecutionRequest, options?: RpcOptions): UnaryCall<ExecutionRequest, ExecutionResponse>;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* @generated from protobuf service sagittarius_rails.ExecutionService
|
|
14
|
+
*/
|
|
15
|
+
export declare class ExecutionServiceClient implements IExecutionServiceClient, 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: ExecutionRequest, options?: RpcOptions): UnaryCall<ExecutionRequest, ExecutionResponse>;
|
|
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 { ExecutionResult } from './shared.execution_result_pb';
|
|
5
|
+
/**
|
|
6
|
+
* @generated from protobuf message sagittarius_rails.ExecutionRequest
|
|
7
|
+
*/
|
|
8
|
+
export interface ExecutionRequest {
|
|
9
|
+
/**
|
|
10
|
+
* @generated from protobuf field: shared.ExecutionResult response = 1
|
|
11
|
+
*/
|
|
12
|
+
response?: ExecutionResult;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @generated from protobuf message sagittarius_rails.ExecutionResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface ExecutionResponse {
|
|
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 ExecutionRequest$Type extends MessageType<ExecutionRequest> {
|
|
28
|
+
constructor();
|
|
29
|
+
create(value?: PartialMessage<ExecutionRequest>): ExecutionRequest;
|
|
30
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionRequest): ExecutionRequest;
|
|
31
|
+
internalBinaryWrite(message: ExecutionRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* @generated MessageType for protobuf message sagittarius_rails.ExecutionRequest
|
|
35
|
+
*/
|
|
36
|
+
export declare const ExecutionRequest: ExecutionRequest$Type;
|
|
37
|
+
declare class ExecutionResponse$Type extends MessageType<ExecutionResponse> {
|
|
38
|
+
constructor();
|
|
39
|
+
create(value?: PartialMessage<ExecutionResponse>): ExecutionResponse;
|
|
40
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionResponse): ExecutionResponse;
|
|
41
|
+
internalBinaryWrite(message: ExecutionResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @generated MessageType for protobuf message sagittarius_rails.ExecutionResponse
|
|
45
|
+
*/
|
|
46
|
+
export declare const ExecutionResponse: ExecutionResponse$Type;
|
|
47
|
+
/**
|
|
48
|
+
* @generated ServiceType for protobuf service sagittarius_rails.ExecutionService
|
|
49
|
+
*/
|
|
50
|
+
export declare const ExecutionService: ServiceType;
|
|
51
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { RpcTransport, ServiceInfo, UnaryCall, RpcOptions } from '@protobuf-ts/runtime-rpc';
|
|
2
|
+
import { TokenVerifyResponse, TokenVerifyRequest } from './sagittarius_rails.token_pb';
|
|
3
|
+
/**
|
|
4
|
+
* @generated from protobuf service sagittarius_rails.TokenService
|
|
5
|
+
*/
|
|
6
|
+
export interface ITokenServiceClient {
|
|
7
|
+
/**
|
|
8
|
+
* Called by Gateway
|
|
9
|
+
*
|
|
10
|
+
* @generated from protobuf rpc: Verify
|
|
11
|
+
*/
|
|
12
|
+
verify(input: TokenVerifyRequest, options?: RpcOptions): UnaryCall<TokenVerifyRequest, TokenVerifyResponse>;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @generated from protobuf service sagittarius_rails.TokenService
|
|
16
|
+
*/
|
|
17
|
+
export declare class TokenServiceClient implements ITokenServiceClient, 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: Verify
|
|
29
|
+
*/
|
|
30
|
+
verify(input: TokenVerifyRequest, options?: RpcOptions): UnaryCall<TokenVerifyRequest, TokenVerifyResponse>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { ServiceType } from '@protobuf-ts/runtime-rpc';
|
|
2
|
+
import { BinaryWriteOptions, IBinaryWriter, BinaryReadOptions, IBinaryReader, PartialMessage, MessageType } from '@protobuf-ts/runtime';
|
|
3
|
+
/**
|
|
4
|
+
* @generated from protobuf message sagittarius_rails.TokenVerifyRequest
|
|
5
|
+
*/
|
|
6
|
+
export interface TokenVerifyRequest {
|
|
7
|
+
/**
|
|
8
|
+
* @generated from protobuf field: string token = 1
|
|
9
|
+
*/
|
|
10
|
+
token: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* @generated from protobuf message sagittarius_rails.TokenVerifyResponse
|
|
14
|
+
*/
|
|
15
|
+
export interface TokenVerifyResponse {
|
|
16
|
+
/**
|
|
17
|
+
* @generated from protobuf oneof: data
|
|
18
|
+
*/
|
|
19
|
+
data: {
|
|
20
|
+
oneofKind: "verified";
|
|
21
|
+
/**
|
|
22
|
+
* @generated from protobuf field: sagittarius_rails.VerifiedRuntime verified = 1
|
|
23
|
+
*/
|
|
24
|
+
verified: VerifiedRuntime;
|
|
25
|
+
} | {
|
|
26
|
+
oneofKind: "unverified";
|
|
27
|
+
/**
|
|
28
|
+
* @generated from protobuf field: sagittarius_rails.UnverifiedRuntime unverified = 2
|
|
29
|
+
*/
|
|
30
|
+
unverified: UnverifiedRuntime;
|
|
31
|
+
} | {
|
|
32
|
+
oneofKind: undefined;
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* @generated from protobuf message sagittarius_rails.VerifiedRuntime
|
|
37
|
+
*/
|
|
38
|
+
export interface VerifiedRuntime {
|
|
39
|
+
/**
|
|
40
|
+
* @generated from protobuf field: int64 runtime_id = 1
|
|
41
|
+
*/
|
|
42
|
+
runtimeId: bigint;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* @generated from protobuf message sagittarius_rails.UnverifiedRuntime
|
|
46
|
+
*/
|
|
47
|
+
export interface UnverifiedRuntime {
|
|
48
|
+
}
|
|
49
|
+
declare class TokenVerifyRequest$Type extends MessageType<TokenVerifyRequest> {
|
|
50
|
+
constructor();
|
|
51
|
+
create(value?: PartialMessage<TokenVerifyRequest>): TokenVerifyRequest;
|
|
52
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TokenVerifyRequest): TokenVerifyRequest;
|
|
53
|
+
internalBinaryWrite(message: TokenVerifyRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* @generated MessageType for protobuf message sagittarius_rails.TokenVerifyRequest
|
|
57
|
+
*/
|
|
58
|
+
export declare const TokenVerifyRequest: TokenVerifyRequest$Type;
|
|
59
|
+
declare class TokenVerifyResponse$Type extends MessageType<TokenVerifyResponse> {
|
|
60
|
+
constructor();
|
|
61
|
+
create(value?: PartialMessage<TokenVerifyResponse>): TokenVerifyResponse;
|
|
62
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TokenVerifyResponse): TokenVerifyResponse;
|
|
63
|
+
internalBinaryWrite(message: TokenVerifyResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* @generated MessageType for protobuf message sagittarius_rails.TokenVerifyResponse
|
|
67
|
+
*/
|
|
68
|
+
export declare const TokenVerifyResponse: TokenVerifyResponse$Type;
|
|
69
|
+
declare class VerifiedRuntime$Type extends MessageType<VerifiedRuntime> {
|
|
70
|
+
constructor();
|
|
71
|
+
create(value?: PartialMessage<VerifiedRuntime>): VerifiedRuntime;
|
|
72
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: VerifiedRuntime): VerifiedRuntime;
|
|
73
|
+
internalBinaryWrite(message: VerifiedRuntime, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* @generated MessageType for protobuf message sagittarius_rails.VerifiedRuntime
|
|
77
|
+
*/
|
|
78
|
+
export declare const VerifiedRuntime: VerifiedRuntime$Type;
|
|
79
|
+
declare class UnverifiedRuntime$Type extends MessageType<UnverifiedRuntime> {
|
|
80
|
+
constructor();
|
|
81
|
+
create(value?: PartialMessage<UnverifiedRuntime>): UnverifiedRuntime;
|
|
82
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UnverifiedRuntime): UnverifiedRuntime;
|
|
83
|
+
internalBinaryWrite(message: UnverifiedRuntime, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* @generated MessageType for protobuf message sagittarius_rails.UnverifiedRuntime
|
|
87
|
+
*/
|
|
88
|
+
export declare const UnverifiedRuntime: UnverifiedRuntime$Type;
|
|
89
|
+
/**
|
|
90
|
+
* @generated ServiceType for protobuf service sagittarius_rails.TokenService
|
|
91
|
+
*/
|
|
92
|
+
export declare const TokenService: ServiceType;
|
|
93
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './_generated/sagittarius_gateway.flow_pb.client.js';
|
|
2
|
+
export * from './_generated/sagittarius_gateway.flow_pb.js';
|
|
3
|
+
export * from './_generated/sagittarius_gateway.module_pb.client.js';
|
|
4
|
+
export * from './_generated/sagittarius_gateway.module_pb.js';
|
|
5
|
+
export * from './_generated/sagittarius_gateway.runtime_status_pb.client.js';
|
|
6
|
+
export * from './_generated/sagittarius_gateway.runtime_status_pb.js';
|
|
7
|
+
export * from './_generated/sagittarius_gateway.test_execution_pb.client.js';
|
|
8
|
+
export * from './_generated/sagittarius_gateway.test_execution_pb.js';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './_generated/sagittarius_rails.flow_pb.client.js';
|
|
2
|
+
export * from './_generated/sagittarius_rails.flow_pb.js';
|
|
3
|
+
export * from './_generated/sagittarius_rails.module_pb.client.js';
|
|
4
|
+
export * from './_generated/sagittarius_rails.module_pb.js';
|
|
5
|
+
export * from './_generated/sagittarius_rails.runtime_status_pb.client.js';
|
|
6
|
+
export * from './_generated/sagittarius_rails.runtime_status_pb.js';
|
|
7
|
+
export * from './_generated/sagittarius_rails.test_execution_pb.client.js';
|
|
8
|
+
export * from './_generated/sagittarius_rails.test_execution_pb.js';
|
|
9
|
+
export * from './_generated/sagittarius_rails.token_pb.client.js';
|
|
10
|
+
export * from './_generated/sagittarius_rails.token_pb.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./shared.function_pb-C8cj-NCz.cjs"),t=require("./shared.runtime_status_pb-BEEvFfe8.cjs"),n=require("./shared.flow_pb-clFvPGyv.cjs"),r=require("./rpc-interceptor-giFADd4b.cjs");var i=new class extends e.v{constructor(){super(`sagittarius_gateway.FlowLogonRequest`,[])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.y(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.S.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},a=new class extends e.v{constructor(){super(`sagittarius_gateway.FlowResponse`,[{no:1,name:`updated_flow`,kind:`message`,oneof:`data`,T:()=>n.h},{no:2,name:`deleted_flow_id`,kind:`scalar`,oneof:`data`,T:3,L:0},{no:3,name:`flows`,kind:`message`,oneof:`data`,T:()=>n.i}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.data={oneofKind:void 0},t!==void 0&&e.y(this,n,t),n}internalBinaryRead(t,r,i,a){let o=a??this.create(),s=t.pos+r;for(;t.pos<s;){let[r,a]=t.tag();switch(r){case 1:o.data={oneofKind:`updatedFlow`,updatedFlow:n.h.internalBinaryRead(t,t.uint32(),i,o.data.updatedFlow)};break;case 2:o.data={oneofKind:`deletedFlowId`,deletedFlowId:t.int64().toBigInt()};break;case 3:o.data={oneofKind:`flows`,flows:n.i.internalBinaryRead(t,t.uint32(),i,o.data.flows)};break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=t.skip(a);s!==!1&&(s===!0?e.S.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(t,r,i){t.data.oneofKind===`updatedFlow`&&n.h.internalBinaryWrite(t.data.updatedFlow,r.tag(1,e.C.LengthDelimited).fork(),i).join(),t.data.oneofKind===`deletedFlowId`&&r.tag(2,e.C.Varint).int64(t.data.deletedFlowId),t.data.oneofKind===`flows`&&n.i.internalBinaryWrite(t.data.flows,r.tag(3,e.C.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.S.onWrite:a)(this.typeName,t,r),r}},o=new class extends e.v{constructor(){super(`sagittarius_gateway.FlowPushRequest`,[{no:1,name:`runtime_identifier`,kind:`scalar`,T:3,L:0},{no:2,name:`response`,kind:`message`,T:()=>a}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.runtimeIdentifier=0n,t!==void 0&&e.y(this,n,t),n}internalBinaryRead(t,n,r,i){let o=i??this.create(),s=t.pos+n;for(;t.pos<s;){let[n,i]=t.tag();switch(n){case 1:o.runtimeIdentifier=t.int64().toBigInt();break;case 2:o.response=a.internalBinaryRead(t,t.uint32(),r,o.response);break;default:let s=r.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let c=t.skip(i);s!==!1&&(s===!0?e.S.onRead:s)(this.typeName,o,n,i,c)}}return o}internalBinaryWrite(t,n,r){t.runtimeIdentifier!==0n&&n.tag(1,e.C.Varint).int64(t.runtimeIdentifier),t.response&&a.internalBinaryWrite(t.response,n.tag(2,e.C.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},s=new class extends e.v{constructor(){super(`sagittarius_gateway.FlowPushResponse`,[])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.y(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.S.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},c=new r.n(`sagittarius_gateway.FlowService`,[{name:`Update`,serverStreaming:!0,options:{},I:i,O:a},{name:`Push`,options:{},I:o,O:s}]),l=class{constructor(e){this._transport=e,this.typeName=c.typeName,this.methods=c.methods,this.options=c.options}update(e,t){let n=this.methods[0],i=this._transport.mergeOptions(t);return r.t(`serverStreaming`,this._transport,n,i,e)}push(e,t){let n=this.methods[1],i=this._transport.mergeOptions(t);return r.t(`unary`,this._transport,n,i,e)}},u=new class extends e.v{constructor(){super(`sagittarius_gateway.ModuleUpdateRequest`,[{no:1,name:`modules`,kind:`message`,repeat:2,T:()=>t.i}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.modules=[],t!==void 0&&e.y(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.modules.push(t.i.internalBinaryRead(n,n.uint32(),i));break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.S.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){for(let a=0;a<n.modules.length;a++)t.i.internalBinaryWrite(n.modules[a],r.tag(1,e.C.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.S.onWrite:a)(this.typeName,n,r),r}},d=new class extends e.v{constructor(){super(`sagittarius_gateway.ModuleUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8},{no:2,name:`error`,kind:`message`,T:()=>t.b}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.y(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.success=n.bool();break;case 2:o.error=t.b.internalBinaryRead(n,n.uint32(),i,o.error);break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.S.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.success!==!1&&r.tag(1,e.C.Varint).bool(n.success),n.error&&t.b.internalBinaryWrite(n.error,r.tag(2,e.C.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.S.onWrite:a)(this.typeName,n,r),r}},f=new class extends e.v{constructor(){super(`sagittarius_gateway.ModuleConfigurationRequest`,[])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.y(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.S.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},p=new class extends e.v{constructor(){super(`sagittarius_gateway.ModuleConfigurationResponse`,[{no:1,name:`module_configurations`,kind:`message`,T:()=>t.s}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.y(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.moduleConfigurations=t.s.internalBinaryRead(n,n.uint32(),i,o.moduleConfigurations);break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.S.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.moduleConfigurations&&t.s.internalBinaryWrite(n.moduleConfigurations,r.tag(1,e.C.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.S.onWrite:a)(this.typeName,n,r),r}},m=new class extends e.v{constructor(){super(`sagittarius_gateway.ModuleConfigurationPushRequest`,[{no:1,name:`runtime_identifier`,kind:`scalar`,T:3,L:0},{no:2,name:`response`,kind:`message`,T:()=>p}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.runtimeIdentifier=0n,t!==void 0&&e.y(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.runtimeIdentifier=t.int64().toBigInt();break;case 2:a.response=p.internalBinaryRead(t,t.uint32(),r,a.response);break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.S.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.runtimeIdentifier!==0n&&n.tag(1,e.C.Varint).int64(t.runtimeIdentifier),t.response&&p.internalBinaryWrite(t.response,n.tag(2,e.C.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},h=new class extends e.v{constructor(){super(`sagittarius_gateway.ModuleConfigurationPushResponse`,[])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.y(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.S.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},g=new r.n(`sagittarius_gateway.ModuleService`,[{name:`Update`,options:{},I:u,O:d},{name:`Configurations`,serverStreaming:!0,options:{},I:f,O:p},{name:`Push`,options:{},I:m,O:h}]),_=class{constructor(e){this._transport=e,this.typeName=g.typeName,this.methods=g.methods,this.options=g.options}update(e,t){let n=this.methods[0],i=this._transport.mergeOptions(t);return r.t(`unary`,this._transport,n,i,e)}configurations(e,t){let n=this.methods[1],i=this._transport.mergeOptions(t);return r.t(`serverStreaming`,this._transport,n,i,e)}push(e,t){let n=this.methods[2],i=this._transport.mergeOptions(t);return r.t(`unary`,this._transport,n,i,e)}},v=new class extends e.v{constructor(){super(`sagittarius_gateway.RuntimeStatusUpdateRequest`,[{no:1,name:`status`,kind:`message`,T:()=>t.t}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.y(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.status=t.t.internalBinaryRead(n,n.uint32(),i,o.status);break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.S.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.status&&t.t.internalBinaryWrite(n.status,r.tag(1,e.C.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.S.onWrite:a)(this.typeName,n,r),r}},y=new class extends e.v{constructor(){super(`sagittarius_gateway.RuntimeStatusUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8},{no:2,name:`error`,kind:`message`,T:()=>t.b}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.y(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.success=n.bool();break;case 2:o.error=t.b.internalBinaryRead(n,n.uint32(),i,o.error);break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.S.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.success!==!1&&r.tag(1,e.C.Varint).bool(n.success),n.error&&t.b.internalBinaryWrite(n.error,r.tag(2,e.C.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.S.onWrite:a)(this.typeName,n,r),r}},b=new r.n(`sagittarius_gateway.RuntimeStatusService`,[{name:`Update`,options:{},I:v,O:y}]),x=class{constructor(e){this._transport=e,this.typeName=b.typeName,this.methods=b.methods,this.options=b.options}update(e,t){let n=this.methods[0],i=this._transport.mergeOptions(t);return r.t(`unary`,this._transport,n,i,e)}},S=new class extends e.v{constructor(){super(`sagittarius_gateway.Logon`,[])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.y(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.S.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},C=new class extends e.v{constructor(){super(`sagittarius_gateway.TestExecutionRequest`,[{no:1,name:`flow_id`,kind:`scalar`,T:3,L:0},{no:2,name:`execution_identifier`,kind:`scalar`,T:9},{no:3,name:`body`,kind:`message`,T:()=>e.u}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.flowId=0n,n.executionIdentifier=``,t!==void 0&&e.y(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.flowId=t.int64().toBigInt();break;case 2:a.executionIdentifier=t.string();break;case 3:a.body=e.u.internalBinaryRead(t,t.uint32(),r,a.body);break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.S.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.flowId!==0n&&n.tag(1,e.C.Varint).int64(t.flowId),t.executionIdentifier!==``&&n.tag(2,e.C.LengthDelimited).string(t.executionIdentifier),t.body&&e.u.internalBinaryWrite(t.body,n.tag(3,e.C.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},w=new class extends e.v{constructor(){super(`sagittarius_gateway.ExecutionLogonRequest`,[{no:1,name:`logon`,kind:`message`,oneof:`data`,T:()=>S},{no:2,name:`response`,kind:`message`,oneof:`data`,T:()=>t.h}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.data={oneofKind:void 0},t!==void 0&&e.y(this,n,t),n}internalBinaryRead(n,r,i,a){let o=a??this.create(),s=n.pos+r;for(;n.pos<s;){let[r,a]=n.tag();switch(r){case 1:o.data={oneofKind:`logon`,logon:S.internalBinaryRead(n,n.uint32(),i,o.data.logon)};break;case 2:o.data={oneofKind:`response`,response:t.h.internalBinaryRead(n,n.uint32(),i,o.data.response)};break;default:let s=i.readUnknownField;if(s===`throw`)throw new globalThis.Error(`Unknown field ${r} (wire type ${a}) for ${this.typeName}`);let c=n.skip(a);s!==!1&&(s===!0?e.S.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.data.oneofKind===`logon`&&S.internalBinaryWrite(n.data.logon,r.tag(1,e.C.LengthDelimited).fork(),i).join(),n.data.oneofKind===`response`&&t.h.internalBinaryWrite(n.data.response,r.tag(2,e.C.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.S.onWrite:a)(this.typeName,n,r),r}},T=new class extends e.v{constructor(){super(`sagittarius_gateway.ExecutionLogonResponse`,[{no:1,name:`request`,kind:`message`,T:()=>C}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.y(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.request=C.internalBinaryRead(t,t.uint32(),r,a.request);break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.S.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.request&&C.internalBinaryWrite(t.request,n.tag(1,e.C.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},E=new class extends e.v{constructor(){super(`sagittarius_gateway.ExecutionPushRequest`,[{no:1,name:`request`,kind:`message`,T:()=>C}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.y(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){case 1:a.request=C.internalBinaryRead(t,t.uint32(),r,a.request);break;default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.S.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.request&&C.internalBinaryWrite(t.request,n.tag(1,e.C.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},D=new class extends e.v{constructor(){super(`sagittarius_gateway.ExecutionPushResponse`,[])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.y(this,n,t),n}internalBinaryRead(t,n,r,i){let a=i??this.create(),o=t.pos+n;for(;t.pos<o;){let[n,i]=t.tag();switch(n){default:let o=r.readUnknownField;if(o===`throw`)throw new globalThis.Error(`Unknown field ${n} (wire type ${i}) for ${this.typeName}`);let s=t.skip(i);o!==!1&&(o===!0?e.S.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},O=new r.n(`sagittarius_gateway.ExecutionService`,[{name:`Update`,serverStreaming:!0,clientStreaming:!0,options:{},I:w,O:T},{name:`Push`,options:{},I:E,O:D}]),k=class{constructor(e){this._transport=e,this.typeName=O.typeName,this.methods=O.methods,this.options=O.options}update(e){let t=this.methods[0],n=this._transport.mergeOptions(e);return r.t(`duplex`,this._transport,t,n)}push(e,t){let n=this.methods[1],i=this._transport.mergeOptions(t);return r.t(`unary`,this._transport,n,i,e)}};exports.ExecutionLogonRequest=w,exports.ExecutionLogonResponse=T,exports.ExecutionPushRequest=E,exports.ExecutionPushResponse=D,exports.ExecutionService=O,exports.ExecutionServiceClient=k,exports.FlowLogonRequest=i,exports.FlowPushRequest=o,exports.FlowPushResponse=s,exports.FlowResponse=a,exports.FlowService=c,exports.FlowServiceClient=l,exports.Logon=S,exports.ModuleConfigurationPushRequest=m,exports.ModuleConfigurationPushResponse=h,exports.ModuleConfigurationRequest=f,exports.ModuleConfigurationResponse=p,exports.ModuleService=g,exports.ModuleServiceClient=_,exports.ModuleUpdateRequest=u,exports.ModuleUpdateResponse=d,exports.RuntimeStatusService=b,exports.RuntimeStatusServiceClient=x,exports.RuntimeStatusUpdateRequest=v,exports.RuntimeStatusUpdateResponse=y,exports.TestExecutionRequest=C;
|