@code0-tech/tucana 0.0.75 → 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/aquila.cjs.js +1 -1
- package/dist/aquila.es.js +67 -151
- 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} +11 -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/_generated/shared.flow_pb.d.ts +37 -6
- package/dist/pb/_generated/shared.module_pb.d.ts +8 -0
- package/dist/pb/aquila.d.ts +0 -2
- package/dist/pb/sagittarius_gateway.d.ts +8 -0
- package/dist/pb/sagittarius_rails.d.ts +10 -0
- package/dist/pb/shared.d.ts +0 -1
- package/dist/{rpc-interceptor-az_TTCBK.js → rpc-interceptor-d3qh7P9n.js} +10 -10
- package/dist/{rpc-interceptor-DOeBkZHU.cjs → rpc-interceptor-giFADd4b.cjs} +1 -1
- package/dist/sagittarius_gateway.cjs.js +1 -0
- package/dist/sagittarius_gateway.d.ts +2 -0
- package/dist/{sagittarius.es.js → sagittarius_gateway.es.js} +330 -181
- package/dist/sagittarius_rails.cjs.js +1 -0
- package/dist/sagittarius_rails.d.ts +2 -0
- package/dist/sagittarius_rails.es.js +559 -0
- package/dist/shared.cjs.js +1 -1
- package/dist/shared.es.js +4 -4
- package/dist/{shared.flow_pb-C4ewDq2u.js → shared.flow_pb-DdVuFKPW.js} +179 -117
- package/dist/{shared.flow_pb-DrDw61IF.cjs → shared.flow_pb-clFvPGyv.cjs} +1 -1
- package/dist/shared.function_pb-C8cj-NCz.cjs +2 -0
- package/dist/{shared.function_pb-e1jkWYE_.js → shared.function_pb-Caz-4jvi.js} +1131 -1131
- package/dist/{shared.runtime_usage_pb-DqB5DUDk.cjs → shared.runtime_status_pb-BEEvFfe8.cjs} +1 -1
- package/dist/{shared.runtime_usage_pb-DDUhVHjA.js → shared.runtime_status_pb-D7hH22xO.js} +24 -50
- package/dist/velorum.cjs.js +1 -1
- package/dist/velorum.es.js +3 -3
- package/package.json +13 -7
- package/dist/pb/_generated/aquila.runtime_usage_pb.client.d.ts +0 -27
- package/dist/pb/_generated/aquila.runtime_usage_pb.d.ts +0 -46
- 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.runtime_usage_pb.client.d.ts +0 -27
- package/dist/pb/_generated/sagittarius.runtime_usage_pb.d.ts +0 -51
- package/dist/pb/_generated/sagittarius.text_execution_pb.client.d.ts +0 -27
- package/dist/pb/_generated/shared.runtime_usage_pb.d.ts +0 -25
- package/dist/pb/sagittarius.d.ts +0 -12
- package/dist/sagittarius.cjs.js +0 -1
- package/dist/sagittarius.d.ts +0 -2
- package/dist/shared.function_pb-BErnwHWO.cjs +0 -2
|
@@ -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 {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BinaryWriteOptions, IBinaryWriter, BinaryReadOptions, IBinaryReader, PartialMessage, MessageType } from '@protobuf-ts/runtime';
|
|
2
|
-
import { Value } from './shared.struct_pb';
|
|
2
|
+
import { Struct, Value } from './shared.struct_pb';
|
|
3
3
|
import { ExecutionDataType } from './shared.data_type_pb';
|
|
4
4
|
/**
|
|
5
5
|
* @generated from protobuf message shared.ValidationFlow
|
|
@@ -259,23 +259,44 @@ export interface SubFlow {
|
|
|
259
259
|
*/
|
|
260
260
|
startingNodeId: bigint;
|
|
261
261
|
} | {
|
|
262
|
-
oneofKind: "
|
|
262
|
+
oneofKind: "function";
|
|
263
263
|
/**
|
|
264
|
-
* @generated from protobuf field:
|
|
264
|
+
* @generated from protobuf field: shared.SubFlow.SubFlowFunction function = 2
|
|
265
265
|
*/
|
|
266
|
-
|
|
266
|
+
function: SubFlow_SubFlowFunction;
|
|
267
267
|
} | {
|
|
268
268
|
oneofKind: undefined;
|
|
269
269
|
};
|
|
270
270
|
/**
|
|
271
|
-
* @generated from protobuf field:
|
|
271
|
+
* @generated from protobuf field: shared.Struct input_schema = 3
|
|
272
|
+
*/
|
|
273
|
+
inputSchema?: Struct;
|
|
274
|
+
/**
|
|
275
|
+
* @generated from protobuf field: shared.Struct output_schema = 4
|
|
276
|
+
*/
|
|
277
|
+
outputSchema?: Struct;
|
|
278
|
+
/**
|
|
279
|
+
* @generated from protobuf field: string signature = 5
|
|
272
280
|
*/
|
|
273
281
|
signature: string;
|
|
274
282
|
/**
|
|
275
|
-
* @generated from protobuf field: repeated shared.SubFlowSetting settings =
|
|
283
|
+
* @generated from protobuf field: repeated shared.SubFlowSetting settings = 6
|
|
276
284
|
*/
|
|
277
285
|
settings: SubFlowSetting[];
|
|
278
286
|
}
|
|
287
|
+
/**
|
|
288
|
+
* @generated from protobuf message shared.SubFlow.SubFlowFunction
|
|
289
|
+
*/
|
|
290
|
+
export interface SubFlow_SubFlowFunction {
|
|
291
|
+
/**
|
|
292
|
+
* @generated from protobuf field: string function_identifier = 1
|
|
293
|
+
*/
|
|
294
|
+
functionIdentifier: string;
|
|
295
|
+
/**
|
|
296
|
+
* @generated from protobuf field: optional string definition_source = 2
|
|
297
|
+
*/
|
|
298
|
+
definitionSource?: string;
|
|
299
|
+
}
|
|
279
300
|
/**
|
|
280
301
|
* @generated from protobuf message shared.SubFlowSetting
|
|
281
302
|
*/
|
|
@@ -440,6 +461,16 @@ declare class SubFlow$Type extends MessageType<SubFlow> {
|
|
|
440
461
|
* @generated MessageType for protobuf message shared.SubFlow
|
|
441
462
|
*/
|
|
442
463
|
export declare const SubFlow: SubFlow$Type;
|
|
464
|
+
declare class SubFlow_SubFlowFunction$Type extends MessageType<SubFlow_SubFlowFunction> {
|
|
465
|
+
constructor();
|
|
466
|
+
create(value?: PartialMessage<SubFlow_SubFlowFunction>): SubFlow_SubFlowFunction;
|
|
467
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SubFlow_SubFlowFunction): SubFlow_SubFlowFunction;
|
|
468
|
+
internalBinaryWrite(message: SubFlow_SubFlowFunction, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
469
|
+
}
|
|
470
|
+
/**
|
|
471
|
+
* @generated MessageType for protobuf message shared.SubFlow.SubFlowFunction
|
|
472
|
+
*/
|
|
473
|
+
export declare const SubFlow_SubFlowFunction: SubFlow_SubFlowFunction$Type;
|
|
443
474
|
declare class SubFlowSetting$Type extends MessageType<SubFlowSetting> {
|
|
444
475
|
constructor();
|
|
445
476
|
create(value?: PartialMessage<SubFlowSetting>): SubFlowSetting;
|
|
@@ -66,6 +66,10 @@ export interface Module {
|
|
|
66
66
|
* @generated from protobuf field: repeated shared.ModuleDefinition definitions = 15
|
|
67
67
|
*/
|
|
68
68
|
definitions: ModuleDefinition[];
|
|
69
|
+
/**
|
|
70
|
+
* @generated from protobuf field: string definition_source = 16
|
|
71
|
+
*/
|
|
72
|
+
definitionSource: string;
|
|
69
73
|
}
|
|
70
74
|
/**
|
|
71
75
|
* @generated from protobuf message shared.ModuleDefinition
|
|
@@ -108,6 +112,10 @@ export interface Endpoint {
|
|
|
108
112
|
* @generated from protobuf field: string endpoint = 3
|
|
109
113
|
*/
|
|
110
114
|
endpoint: string;
|
|
115
|
+
/**
|
|
116
|
+
* @generated from protobuf field: string protocol = 4
|
|
117
|
+
*/
|
|
118
|
+
protocol: string;
|
|
111
119
|
}
|
|
112
120
|
/**
|
|
113
121
|
* send by sagittarius to inform a module of the real config set by the user
|
package/dist/pb/aquila.d.ts
CHANGED
|
@@ -6,5 +6,3 @@ export * from './_generated/aquila.module_pb.client.js';
|
|
|
6
6
|
export * from './_generated/aquila.module_pb.js';
|
|
7
7
|
export * from './_generated/aquila.runtime_status_pb.client.js';
|
|
8
8
|
export * from './_generated/aquila.runtime_status_pb.js';
|
|
9
|
-
export * from './_generated/aquila.runtime_usage_pb.client.js';
|
|
10
|
-
export * from './_generated/aquila.runtime_usage_pb.js';
|
|
@@ -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';
|
package/dist/pb/shared.d.ts
CHANGED
|
@@ -8,6 +8,5 @@ export * from './_generated/shared.module_pb.js';
|
|
|
8
8
|
export * from './_generated/shared.runtime_flow_type_pb.js';
|
|
9
9
|
export * from './_generated/shared.runtime_function_pb.js';
|
|
10
10
|
export * from './_generated/shared.runtime_status_pb.js';
|
|
11
|
-
export * from './_generated/shared.runtime_usage_pb.js';
|
|
12
11
|
export * from './_generated/shared.struct_pb.js';
|
|
13
12
|
export * from './_generated/shared.translation_pb.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { b as e, x as t } from "./shared.function_pb-
|
|
1
|
+
import { b as e, x as t } from "./shared.function_pb-Caz-4jvi.js";
|
|
2
2
|
//#region node_modules/@protobuf-ts/runtime-rpc/build/es2015/reflection-info.js
|
|
3
|
-
function n(
|
|
4
|
-
let r =
|
|
5
|
-
return r.service = n, r.localName = r.localName ??
|
|
3
|
+
function n(e, n) {
|
|
4
|
+
let r = e;
|
|
5
|
+
return r.service = n, r.localName = r.localName ?? t(r.name), r.serverStreaming = !!r.serverStreaming, r.clientStreaming = !!r.clientStreaming, r.options = r.options ?? {}, r.idempotency = r.idempotency ?? void 0, r;
|
|
6
6
|
}
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region node_modules/@protobuf-ts/runtime-rpc/build/es2015/service-type.js
|
|
@@ -13,8 +13,8 @@ var r = class {
|
|
|
13
13
|
};
|
|
14
14
|
//#endregion
|
|
15
15
|
//#region node_modules/@protobuf-ts/runtime-rpc/build/es2015/rpc-interceptor.js
|
|
16
|
-
function i(
|
|
17
|
-
if (
|
|
16
|
+
function i(t, n, r, i, a) {
|
|
17
|
+
if (t == "unary") {
|
|
18
18
|
let e = (e, t, r) => n.unary(e, t, r);
|
|
19
19
|
for (let t of (i.interceptors ?? []).filter((e) => e.interceptUnary).reverse()) {
|
|
20
20
|
let n = e;
|
|
@@ -22,7 +22,7 @@ function i(e, n, r, i, a) {
|
|
|
22
22
|
}
|
|
23
23
|
return e(r, a, i);
|
|
24
24
|
}
|
|
25
|
-
if (
|
|
25
|
+
if (t == "serverStreaming") {
|
|
26
26
|
let e = (e, t, r) => n.serverStreaming(e, t, r);
|
|
27
27
|
for (let t of (i.interceptors ?? []).filter((e) => e.interceptServerStreaming).reverse()) {
|
|
28
28
|
let n = e;
|
|
@@ -30,7 +30,7 @@ function i(e, n, r, i, a) {
|
|
|
30
30
|
}
|
|
31
31
|
return e(r, a, i);
|
|
32
32
|
}
|
|
33
|
-
if (
|
|
33
|
+
if (t == "clientStreaming") {
|
|
34
34
|
let e = (e, t) => n.clientStreaming(e, t);
|
|
35
35
|
for (let t of (i.interceptors ?? []).filter((e) => e.interceptClientStreaming).reverse()) {
|
|
36
36
|
let n = e;
|
|
@@ -38,7 +38,7 @@ function i(e, n, r, i, a) {
|
|
|
38
38
|
}
|
|
39
39
|
return e(r, i);
|
|
40
40
|
}
|
|
41
|
-
if (
|
|
41
|
+
if (t == "duplex") {
|
|
42
42
|
let e = (e, t) => n.duplex(e, t);
|
|
43
43
|
for (let t of (i.interceptors ?? []).filter((e) => e.interceptDuplex).reverse()) {
|
|
44
44
|
let n = e;
|
|
@@ -46,7 +46,7 @@ function i(e, n, r, i, a) {
|
|
|
46
46
|
}
|
|
47
47
|
return e(r, i);
|
|
48
48
|
}
|
|
49
|
-
t
|
|
49
|
+
e(t);
|
|
50
50
|
}
|
|
51
51
|
//#endregion
|
|
52
52
|
export { r as n, i as t };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(
|
|
1
|
+
const e=require("./shared.function_pb-C8cj-NCz.cjs");function t(t,n){let r=t;return r.service=n,r.localName=r.localName??e.x(r.name),r.serverStreaming=!!r.serverStreaming,r.clientStreaming=!!r.clientStreaming,r.options=r.options??{},r.idempotency=r.idempotency??void 0,r}var n=class{constructor(e,n,r){this.typeName=e,this.methods=n.map(e=>t(e,this)),this.options=r??{}}};function r(t,n,r,i,a){if(t==`unary`){let e=(e,t,r)=>n.unary(e,t,r);for(let t of(i.interceptors??[]).filter(e=>e.interceptUnary).reverse()){let n=e;e=(e,r,i)=>t.interceptUnary(n,e,r,i)}return e(r,a,i)}if(t==`serverStreaming`){let e=(e,t,r)=>n.serverStreaming(e,t,r);for(let t of(i.interceptors??[]).filter(e=>e.interceptServerStreaming).reverse()){let n=e;e=(e,r,i)=>t.interceptServerStreaming(n,e,r,i)}return e(r,a,i)}if(t==`clientStreaming`){let e=(e,t)=>n.clientStreaming(e,t);for(let t of(i.interceptors??[]).filter(e=>e.interceptClientStreaming).reverse()){let n=e;e=(e,r)=>t.interceptClientStreaming(n,e,r)}return e(r,i)}if(t==`duplex`){let e=(e,t)=>n.duplex(e,t);for(let t of(i.interceptors??[]).filter(e=>e.interceptDuplex).reverse()){let n=e;e=(e,r)=>t.interceptDuplex(n,e,r)}return e(r,i)}e.b(t)}Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return r}});
|
|
@@ -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;
|