@code0-tech/tucana 0.0.65 → 0.0.67
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 +434 -350
- package/dist/pb/_generated/aquila.function_pb.client.d.ts +31 -0
- package/dist/pb/_generated/aquila.function_pb.d.ts +54 -0
- package/dist/pb/_generated/sagittarius.function_pb.client.d.ts +31 -0
- package/dist/pb/_generated/sagittarius.function_pb.d.ts +54 -0
- package/dist/pb/_generated/shared.function_pb.d.ts +137 -0
- package/dist/pb/_generated/shared.runtime_function_pb.d.ts +11 -3
- package/dist/pb/aquila.d.ts +2 -0
- package/dist/pb/sagittarius.d.ts +2 -0
- package/dist/pb/shared.d.ts +1 -0
- package/dist/{rpc-interceptor-DARwxsWH.cjs → rpc-interceptor-BlyE8N7q.cjs} +1 -1
- package/dist/{rpc-interceptor-Dzh_AxUX.js → rpc-interceptor-Drf7qHyx.js} +10 -10
- package/dist/sagittarius.cjs.js +1 -1
- package/dist/sagittarius.es.js +531 -447
- package/dist/shared.cjs.js +1 -1
- package/dist/shared.es.js +3 -3
- package/dist/shared.flow_pb-5xI6xoXb.js +717 -0
- package/dist/{shared.flow_pb-BBS51Wou.cjs → shared.flow_pb-BwIQ0MZP.cjs} +1 -1
- package/dist/shared.runtime_usage_pb-CYG2eLDw.cjs +2 -0
- package/dist/{shared.runtime_usage_pb-QD7fpRLv.js → shared.runtime_usage_pb-SKgDYw_k.js} +716 -406
- package/package.json +1 -1
- package/dist/shared.flow_pb-Bt00q6yT.js +0 -717
- package/dist/shared.runtime_usage_pb-Cgr2Xle6.cjs +0 -2
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { RpcTransport, ServiceInfo, UnaryCall, RpcOptions } from '@protobuf-ts/runtime-rpc';
|
|
2
|
+
import { FunctionDefinitionUpdateResponse, FunctionDefinitionUpdateRequest } from './aquila.function_pb';
|
|
3
|
+
/**
|
|
4
|
+
* This service will be implemented as a server by Aquila and as a client by Taurus.
|
|
5
|
+
*
|
|
6
|
+
* @generated from protobuf service aquila.FunctionDefinitionService
|
|
7
|
+
*/
|
|
8
|
+
export interface IFunctionDefinitionServiceClient {
|
|
9
|
+
/**
|
|
10
|
+
* @generated from protobuf rpc: Update
|
|
11
|
+
*/
|
|
12
|
+
update(input: FunctionDefinitionUpdateRequest, options?: RpcOptions): UnaryCall<FunctionDefinitionUpdateRequest, FunctionDefinitionUpdateResponse>;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* This service will be implemented as a server by Aquila and as a client by Taurus.
|
|
16
|
+
*
|
|
17
|
+
* @generated from protobuf service aquila.FunctionDefinitionService
|
|
18
|
+
*/
|
|
19
|
+
export declare class FunctionDefinitionServiceClient implements IFunctionDefinitionServiceClient, ServiceInfo {
|
|
20
|
+
private readonly _transport;
|
|
21
|
+
typeName: string;
|
|
22
|
+
methods: import('@protobuf-ts/runtime-rpc').MethodInfo<any, any>[];
|
|
23
|
+
options: {
|
|
24
|
+
[extensionName: string]: import('@protobuf-ts/runtime').JsonValue;
|
|
25
|
+
};
|
|
26
|
+
constructor(_transport: RpcTransport);
|
|
27
|
+
/**
|
|
28
|
+
* @generated from protobuf rpc: Update
|
|
29
|
+
*/
|
|
30
|
+
update(input: FunctionDefinitionUpdateRequest, options?: RpcOptions): UnaryCall<FunctionDefinitionUpdateRequest, FunctionDefinitionUpdateResponse>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { ServiceType } from '@protobuf-ts/runtime-rpc';
|
|
2
|
+
import { BinaryWriteOptions, IBinaryWriter, BinaryReadOptions, IBinaryReader, PartialMessage, MessageType } from '@protobuf-ts/runtime';
|
|
3
|
+
import { FunctionDefinition } from './shared.function_pb';
|
|
4
|
+
/**
|
|
5
|
+
* Request for updating a list of function definitions
|
|
6
|
+
*
|
|
7
|
+
* @generated from protobuf message aquila.FunctionDefinitionUpdateRequest
|
|
8
|
+
*/
|
|
9
|
+
export interface FunctionDefinitionUpdateRequest {
|
|
10
|
+
/**
|
|
11
|
+
* List of function definitions
|
|
12
|
+
*
|
|
13
|
+
* @generated from protobuf field: repeated shared.FunctionDefinition functions = 1
|
|
14
|
+
*/
|
|
15
|
+
functions: FunctionDefinition[];
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Response of updating function definitions
|
|
19
|
+
*
|
|
20
|
+
* @generated from protobuf message aquila.FunctionDefinitionUpdateResponse
|
|
21
|
+
*/
|
|
22
|
+
export interface FunctionDefinitionUpdateResponse {
|
|
23
|
+
/**
|
|
24
|
+
* True if was successful, false if not
|
|
25
|
+
*
|
|
26
|
+
* @generated from protobuf field: bool success = 1
|
|
27
|
+
*/
|
|
28
|
+
success: boolean;
|
|
29
|
+
}
|
|
30
|
+
declare class FunctionDefinitionUpdateRequest$Type extends MessageType<FunctionDefinitionUpdateRequest> {
|
|
31
|
+
constructor();
|
|
32
|
+
create(value?: PartialMessage<FunctionDefinitionUpdateRequest>): FunctionDefinitionUpdateRequest;
|
|
33
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FunctionDefinitionUpdateRequest): FunctionDefinitionUpdateRequest;
|
|
34
|
+
internalBinaryWrite(message: FunctionDefinitionUpdateRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* @generated MessageType for protobuf message aquila.FunctionDefinitionUpdateRequest
|
|
38
|
+
*/
|
|
39
|
+
export declare const FunctionDefinitionUpdateRequest: FunctionDefinitionUpdateRequest$Type;
|
|
40
|
+
declare class FunctionDefinitionUpdateResponse$Type extends MessageType<FunctionDefinitionUpdateResponse> {
|
|
41
|
+
constructor();
|
|
42
|
+
create(value?: PartialMessage<FunctionDefinitionUpdateResponse>): FunctionDefinitionUpdateResponse;
|
|
43
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FunctionDefinitionUpdateResponse): FunctionDefinitionUpdateResponse;
|
|
44
|
+
internalBinaryWrite(message: FunctionDefinitionUpdateResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* @generated MessageType for protobuf message aquila.FunctionDefinitionUpdateResponse
|
|
48
|
+
*/
|
|
49
|
+
export declare const FunctionDefinitionUpdateResponse: FunctionDefinitionUpdateResponse$Type;
|
|
50
|
+
/**
|
|
51
|
+
* @generated ServiceType for protobuf service aquila.FunctionDefinitionService
|
|
52
|
+
*/
|
|
53
|
+
export declare const FunctionDefinitionService: ServiceType;
|
|
54
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { RpcTransport, ServiceInfo, UnaryCall, RpcOptions } from '@protobuf-ts/runtime-rpc';
|
|
2
|
+
import { FunctionDefinitionUpdateResponse, FunctionDefinitionUpdateRequest } from './sagittarius.function_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.FunctionDefinitionService
|
|
7
|
+
*/
|
|
8
|
+
export interface IFunctionDefinitionServiceClient {
|
|
9
|
+
/**
|
|
10
|
+
* @generated from protobuf rpc: Update
|
|
11
|
+
*/
|
|
12
|
+
update(input: FunctionDefinitionUpdateRequest, options?: RpcOptions): UnaryCall<FunctionDefinitionUpdateRequest, FunctionDefinitionUpdateResponse>;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* This service will be implemented as a server by Sagittarius and as a client by Aquila.
|
|
16
|
+
*
|
|
17
|
+
* @generated from protobuf service sagittarius.FunctionDefinitionService
|
|
18
|
+
*/
|
|
19
|
+
export declare class FunctionDefinitionServiceClient implements IFunctionDefinitionServiceClient, ServiceInfo {
|
|
20
|
+
private readonly _transport;
|
|
21
|
+
typeName: string;
|
|
22
|
+
methods: import('@protobuf-ts/runtime-rpc').MethodInfo<any, any>[];
|
|
23
|
+
options: {
|
|
24
|
+
[extensionName: string]: import('@protobuf-ts/runtime').JsonValue;
|
|
25
|
+
};
|
|
26
|
+
constructor(_transport: RpcTransport);
|
|
27
|
+
/**
|
|
28
|
+
* @generated from protobuf rpc: Update
|
|
29
|
+
*/
|
|
30
|
+
update(input: FunctionDefinitionUpdateRequest, options?: RpcOptions): UnaryCall<FunctionDefinitionUpdateRequest, FunctionDefinitionUpdateResponse>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { ServiceType } from '@protobuf-ts/runtime-rpc';
|
|
2
|
+
import { BinaryWriteOptions, IBinaryWriter, BinaryReadOptions, IBinaryReader, PartialMessage, MessageType } from '@protobuf-ts/runtime';
|
|
3
|
+
import { FunctionDefinition } from './shared.function_pb';
|
|
4
|
+
/**
|
|
5
|
+
* Request for updating a list of function definitions
|
|
6
|
+
*
|
|
7
|
+
* @generated from protobuf message sagittarius.FunctionDefinitionUpdateRequest
|
|
8
|
+
*/
|
|
9
|
+
export interface FunctionDefinitionUpdateRequest {
|
|
10
|
+
/**
|
|
11
|
+
* List of function definitions
|
|
12
|
+
*
|
|
13
|
+
* @generated from protobuf field: repeated shared.FunctionDefinition functions = 1
|
|
14
|
+
*/
|
|
15
|
+
functions: FunctionDefinition[];
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Response of updating function definitions
|
|
19
|
+
*
|
|
20
|
+
* @generated from protobuf message sagittarius.FunctionDefinitionUpdateResponse
|
|
21
|
+
*/
|
|
22
|
+
export interface FunctionDefinitionUpdateResponse {
|
|
23
|
+
/**
|
|
24
|
+
* True if was successful, false if not
|
|
25
|
+
*
|
|
26
|
+
* @generated from protobuf field: bool success = 1
|
|
27
|
+
*/
|
|
28
|
+
success: boolean;
|
|
29
|
+
}
|
|
30
|
+
declare class FunctionDefinitionUpdateRequest$Type extends MessageType<FunctionDefinitionUpdateRequest> {
|
|
31
|
+
constructor();
|
|
32
|
+
create(value?: PartialMessage<FunctionDefinitionUpdateRequest>): FunctionDefinitionUpdateRequest;
|
|
33
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FunctionDefinitionUpdateRequest): FunctionDefinitionUpdateRequest;
|
|
34
|
+
internalBinaryWrite(message: FunctionDefinitionUpdateRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* @generated MessageType for protobuf message sagittarius.FunctionDefinitionUpdateRequest
|
|
38
|
+
*/
|
|
39
|
+
export declare const FunctionDefinitionUpdateRequest: FunctionDefinitionUpdateRequest$Type;
|
|
40
|
+
declare class FunctionDefinitionUpdateResponse$Type extends MessageType<FunctionDefinitionUpdateResponse> {
|
|
41
|
+
constructor();
|
|
42
|
+
create(value?: PartialMessage<FunctionDefinitionUpdateResponse>): FunctionDefinitionUpdateResponse;
|
|
43
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FunctionDefinitionUpdateResponse): FunctionDefinitionUpdateResponse;
|
|
44
|
+
internalBinaryWrite(message: FunctionDefinitionUpdateResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* @generated MessageType for protobuf message sagittarius.FunctionDefinitionUpdateResponse
|
|
48
|
+
*/
|
|
49
|
+
export declare const FunctionDefinitionUpdateResponse: FunctionDefinitionUpdateResponse$Type;
|
|
50
|
+
/**
|
|
51
|
+
* @generated ServiceType for protobuf service sagittarius.FunctionDefinitionService
|
|
52
|
+
*/
|
|
53
|
+
export declare const FunctionDefinitionService: ServiceType;
|
|
54
|
+
export {};
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { BinaryWriteOptions, IBinaryWriter, BinaryReadOptions, IBinaryReader, PartialMessage, MessageType } from '@protobuf-ts/runtime';
|
|
2
|
+
import { Value } from './shared.struct_pb';
|
|
3
|
+
import { Translation } from './shared.translation_pb';
|
|
4
|
+
/**
|
|
5
|
+
* Definition of a function used for execution
|
|
6
|
+
*
|
|
7
|
+
* @generated from protobuf message shared.FunctionDefinition
|
|
8
|
+
*/
|
|
9
|
+
export interface FunctionDefinition {
|
|
10
|
+
/**
|
|
11
|
+
* @generated from protobuf field: string runtime_name = 1
|
|
12
|
+
*/
|
|
13
|
+
runtimeName: string;
|
|
14
|
+
/**
|
|
15
|
+
* @generated from protobuf field: repeated shared.ParameterDefinition parameter_definitions = 2
|
|
16
|
+
*/
|
|
17
|
+
parameterDefinitions: ParameterDefinition[];
|
|
18
|
+
/**
|
|
19
|
+
* @generated from protobuf field: string signature = 3
|
|
20
|
+
*/
|
|
21
|
+
signature: string;
|
|
22
|
+
/**
|
|
23
|
+
* @generated from protobuf field: bool throws_error = 4
|
|
24
|
+
*/
|
|
25
|
+
throwsError: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* @generated from protobuf field: repeated shared.Translation name = 5
|
|
28
|
+
*/
|
|
29
|
+
name: Translation[];
|
|
30
|
+
/**
|
|
31
|
+
* @generated from protobuf field: repeated shared.Translation description = 6
|
|
32
|
+
*/
|
|
33
|
+
description: Translation[];
|
|
34
|
+
/**
|
|
35
|
+
* @generated from protobuf field: repeated shared.Translation documentation = 7
|
|
36
|
+
*/
|
|
37
|
+
documentation: Translation[];
|
|
38
|
+
/**
|
|
39
|
+
* @generated from protobuf field: repeated shared.Translation deprecation_message = 8
|
|
40
|
+
*/
|
|
41
|
+
deprecationMessage: Translation[];
|
|
42
|
+
/**
|
|
43
|
+
* @generated from protobuf field: repeated shared.Translation display_message = 9
|
|
44
|
+
*/
|
|
45
|
+
displayMessage: Translation[];
|
|
46
|
+
/**
|
|
47
|
+
* @generated from protobuf field: repeated shared.Translation alias = 10
|
|
48
|
+
*/
|
|
49
|
+
alias: Translation[];
|
|
50
|
+
/**
|
|
51
|
+
* will link to all data types used in return_type or within the parameters type
|
|
52
|
+
*
|
|
53
|
+
* @generated from protobuf field: repeated string linked_data_type_identifiers = 11
|
|
54
|
+
*/
|
|
55
|
+
linkedDataTypeIdentifiers: string[];
|
|
56
|
+
/**
|
|
57
|
+
* Version of the runtime function
|
|
58
|
+
* Format: "major.minor.patch", e.g. "1.2.3"
|
|
59
|
+
*
|
|
60
|
+
* @generated from protobuf field: string version = 12
|
|
61
|
+
*/
|
|
62
|
+
version: string;
|
|
63
|
+
/**
|
|
64
|
+
* @generated from protobuf field: string display_icon = 13
|
|
65
|
+
*/
|
|
66
|
+
displayIcon: string;
|
|
67
|
+
/**
|
|
68
|
+
* Identifier of the service that defines this definition
|
|
69
|
+
*
|
|
70
|
+
* @generated from protobuf field: string definition_source = 14
|
|
71
|
+
*/
|
|
72
|
+
definitionSource: string;
|
|
73
|
+
/**
|
|
74
|
+
* @generated from protobuf field: string runtime_definition_name = 15
|
|
75
|
+
*/
|
|
76
|
+
runtimeDefinitionName: string;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Definition of a parameter used for execution
|
|
80
|
+
*
|
|
81
|
+
* @generated from protobuf message shared.ParameterDefinition
|
|
82
|
+
*/
|
|
83
|
+
export interface ParameterDefinition {
|
|
84
|
+
/**
|
|
85
|
+
* @generated from protobuf field: string runtime_name = 1
|
|
86
|
+
*/
|
|
87
|
+
runtimeName: string;
|
|
88
|
+
/**
|
|
89
|
+
* @generated from protobuf field: optional shared.Value default_value = 2
|
|
90
|
+
*/
|
|
91
|
+
defaultValue?: Value;
|
|
92
|
+
/**
|
|
93
|
+
* @generated from protobuf field: optional bool optional = 3
|
|
94
|
+
*/
|
|
95
|
+
optional?: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* @generated from protobuf field: optional bool hidden = 4
|
|
98
|
+
*/
|
|
99
|
+
hidden?: boolean;
|
|
100
|
+
/**
|
|
101
|
+
* @generated from protobuf field: repeated shared.Translation name = 5
|
|
102
|
+
*/
|
|
103
|
+
name: Translation[];
|
|
104
|
+
/**
|
|
105
|
+
* @generated from protobuf field: repeated shared.Translation description = 6
|
|
106
|
+
*/
|
|
107
|
+
description: Translation[];
|
|
108
|
+
/**
|
|
109
|
+
* @generated from protobuf field: repeated shared.Translation documentation = 7
|
|
110
|
+
*/
|
|
111
|
+
documentation: Translation[];
|
|
112
|
+
/**
|
|
113
|
+
* @generated from protobuf field: string runtime_definition_name = 8
|
|
114
|
+
*/
|
|
115
|
+
runtimeDefinitionName: string;
|
|
116
|
+
}
|
|
117
|
+
declare class FunctionDefinition$Type extends MessageType<FunctionDefinition> {
|
|
118
|
+
constructor();
|
|
119
|
+
create(value?: PartialMessage<FunctionDefinition>): FunctionDefinition;
|
|
120
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FunctionDefinition): FunctionDefinition;
|
|
121
|
+
internalBinaryWrite(message: FunctionDefinition, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* @generated MessageType for protobuf message shared.FunctionDefinition
|
|
125
|
+
*/
|
|
126
|
+
export declare const FunctionDefinition: FunctionDefinition$Type;
|
|
127
|
+
declare class ParameterDefinition$Type extends MessageType<ParameterDefinition> {
|
|
128
|
+
constructor();
|
|
129
|
+
create(value?: PartialMessage<ParameterDefinition>): ParameterDefinition;
|
|
130
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ParameterDefinition): ParameterDefinition;
|
|
131
|
+
internalBinaryWrite(message: ParameterDefinition, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* @generated MessageType for protobuf message shared.ParameterDefinition
|
|
135
|
+
*/
|
|
136
|
+
export declare const ParameterDefinition: ParameterDefinition$Type;
|
|
137
|
+
export {};
|
|
@@ -86,15 +86,23 @@ export interface RuntimeParameterDefinition {
|
|
|
86
86
|
*/
|
|
87
87
|
defaultValue?: Value;
|
|
88
88
|
/**
|
|
89
|
-
* @generated from protobuf field:
|
|
89
|
+
* @generated from protobuf field: optional bool optional = 3
|
|
90
|
+
*/
|
|
91
|
+
optional?: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* @generated from protobuf field: optional bool hidden = 4
|
|
94
|
+
*/
|
|
95
|
+
hidden?: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* @generated from protobuf field: repeated shared.Translation name = 5
|
|
90
98
|
*/
|
|
91
99
|
name: Translation[];
|
|
92
100
|
/**
|
|
93
|
-
* @generated from protobuf field: repeated shared.Translation description =
|
|
101
|
+
* @generated from protobuf field: repeated shared.Translation description = 6
|
|
94
102
|
*/
|
|
95
103
|
description: Translation[];
|
|
96
104
|
/**
|
|
97
|
-
* @generated from protobuf field: repeated shared.Translation documentation =
|
|
105
|
+
* @generated from protobuf field: repeated shared.Translation documentation = 7
|
|
98
106
|
*/
|
|
99
107
|
documentation: Translation[];
|
|
100
108
|
}
|
package/dist/pb/aquila.d.ts
CHANGED
|
@@ -4,6 +4,8 @@ export * from './_generated/aquila.data_type_pb.client.js';
|
|
|
4
4
|
export * from './_generated/aquila.data_type_pb.js';
|
|
5
5
|
export * from './_generated/aquila.flow_type_pb.client.js';
|
|
6
6
|
export * from './_generated/aquila.flow_type_pb.js';
|
|
7
|
+
export * from './_generated/aquila.function_pb.client.js';
|
|
8
|
+
export * from './_generated/aquila.function_pb.js';
|
|
7
9
|
export * from './_generated/aquila.runtime_function_pb.client.js';
|
|
8
10
|
export * from './_generated/aquila.runtime_function_pb.js';
|
|
9
11
|
export * from './_generated/aquila.runtime_status_pb.client.js';
|
package/dist/pb/sagittarius.d.ts
CHANGED
|
@@ -6,6 +6,8 @@ export * from './_generated/sagittarius.flow_pb.client.js';
|
|
|
6
6
|
export * from './_generated/sagittarius.flow_pb.js';
|
|
7
7
|
export * from './_generated/sagittarius.flow_type_pb.client.js';
|
|
8
8
|
export * from './_generated/sagittarius.flow_type_pb.js';
|
|
9
|
+
export * from './_generated/sagittarius.function_pb.client.js';
|
|
10
|
+
export * from './_generated/sagittarius.function_pb.js';
|
|
9
11
|
export * from './_generated/sagittarius.ping_pb.client.js';
|
|
10
12
|
export * from './_generated/sagittarius.ping_pb.js';
|
|
11
13
|
export * from './_generated/sagittarius.runtime_function_pb.client.js';
|
package/dist/pb/shared.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from './_generated/shared.action_configuration_pb.js';
|
|
|
2
2
|
export * from './_generated/shared.data_type_pb.js';
|
|
3
3
|
export * from './_generated/shared.flow_definition_pb.js';
|
|
4
4
|
export * from './_generated/shared.flow_pb.js';
|
|
5
|
+
export * from './_generated/shared.function_pb.js';
|
|
5
6
|
export * from './_generated/shared.runtime_function_pb.js';
|
|
6
7
|
export * from './_generated/shared.runtime_status_pb.js';
|
|
7
8
|
export * from './_generated/shared.runtime_usage_pb.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`./shared.runtime_usage_pb-
|
|
1
|
+
const e=require(`./shared.runtime_usage_pb-CYG2eLDw.cjs`);function t(t,n){let r=t;return r.service=n,r.localName=r.localName??e.N(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.P(t)}Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return n}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return r}});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { N as e, P as t } from "./shared.runtime_usage_pb-SKgDYw_k.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(t, n) {
|
|
4
|
+
let r = t;
|
|
5
|
+
return r.service = n, r.localName = r.localName ?? e(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(e, n, r, i, a) {
|
|
17
|
+
if (e == "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(t, n, r, i, a) {
|
|
|
22
22
|
}
|
|
23
23
|
return e(r, a, i);
|
|
24
24
|
}
|
|
25
|
-
if (
|
|
25
|
+
if (e == "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(t, n, r, i, a) {
|
|
|
30
30
|
}
|
|
31
31
|
return e(r, a, i);
|
|
32
32
|
}
|
|
33
|
-
if (
|
|
33
|
+
if (e == "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(t, n, r, i, a) {
|
|
|
38
38
|
}
|
|
39
39
|
return e(r, i);
|
|
40
40
|
}
|
|
41
|
-
if (
|
|
41
|
+
if (e == "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(t, n, r, i, a) {
|
|
|
46
46
|
}
|
|
47
47
|
return e(r, i);
|
|
48
48
|
}
|
|
49
|
-
e
|
|
49
|
+
t(e);
|
|
50
50
|
}
|
|
51
51
|
//#endregion
|
|
52
52
|
export { r as n, i as t };
|
package/dist/sagittarius.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./shared.runtime_usage_pb-Cgr2Xle6.cjs`),t=require(`./shared.flow_pb-BBS51Wou.cjs`),n=require(`./rpc-interceptor-DARwxsWH.cjs`);var r=new class extends e.k{constructor(){super(`sagittarius.ActionConfigurationUpdateRequest`,[{no:1,name:`action_identifier`,kind:`scalar`,T:9},{no:2,name:`action_configurations`,kind:`message`,repeat:2,T:()=>e.b}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.actionIdentifier=``,n.actionConfigurations=[],t!==void 0&&e.A(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.actionIdentifier=t.string();break;case 2:a.actionConfigurations.push(e.b.internalBinaryRead(t,t.uint32(),r));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.N.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.actionIdentifier!==``&&n.tag(1,e.P.LengthDelimited).string(t.actionIdentifier);for(let i=0;i<t.actionConfigurations.length;i++)e.b.internalBinaryWrite(t.actionConfigurations[i],n.tag(2,e.P.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.N.onWrite:i)(this.typeName,t,n),n}},i=new class extends e.k{constructor(){super(`sagittarius.ActionConfigurationUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.A(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.success=t.bool();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.N.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.success!==!1&&n.tag(1,e.P.Varint).bool(t.success);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.N.onWrite:i)(this.typeName,t,n),n}},a=new n.n(`sagittarius.ActionConfigurationService`,[{name:`Update`,options:{},I:r,O:i}]),o=class{constructor(e){this._transport=e,this.typeName=a.typeName,this.methods=a.methods,this.options=a.options}update(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},s=new class extends e.k{constructor(){super(`sagittarius.DataTypeUpdateRequest`,[{no:1,name:`data_types`,kind:`message`,repeat:2,T:()=>e.h}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.dataTypes=[],t!==void 0&&e.A(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.dataTypes.push(e.h.internalBinaryRead(t,t.uint32(),r));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.N.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){for(let i=0;i<t.dataTypes.length;i++)e.h.internalBinaryWrite(t.dataTypes[i],n.tag(1,e.P.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.N.onWrite:i)(this.typeName,t,n),n}},c=new class extends e.k{constructor(){super(`sagittarius.DataTypeUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.A(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.success=t.bool();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.N.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.success!==!1&&n.tag(1,e.P.Varint).bool(t.success);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.N.onWrite:i)(this.typeName,t,n),n}},l=new n.n(`sagittarius.DataTypeService`,[{name:`Update`,options:{},I:s,O:c}]),u=class{constructor(e){this._transport=e,this.typeName=l.typeName,this.methods=l.methods,this.options=l.options}update(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},d=new class extends e.k{constructor(){super(`sagittarius.FlowLogonRequest`,[])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.A(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.N.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){let i=r.writeUnknownFields;return i!==!1&&(i==1?e.N.onWrite:i)(this.typeName,t,n),n}},f=new class extends e.k{constructor(){super(`sagittarius.FlowResponse`,[{no:1,name:`updated_flow`,kind:`message`,oneof:`data`,T:()=>t.d},{no:2,name:`deleted_flow_id`,kind:`scalar`,oneof:`data`,T:3,L:0},{no:3,name:`flows`,kind:`message`,oneof:`data`,T:()=>t.i},{no:4,name:`action_configurations`,kind:`message`,oneof:`data`,T:()=>e.x}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.data={oneofKind:void 0},t!==void 0&&e.A(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:`updatedFlow`,updatedFlow:t.d.internalBinaryRead(n,n.uint32(),i,o.data.updatedFlow)};break;case 2:o.data={oneofKind:`deletedFlowId`,deletedFlowId:n.int64().toBigInt()};break;case 3:o.data={oneofKind:`flows`,flows:t.i.internalBinaryRead(n,n.uint32(),i,o.data.flows)};break;case 4:o.data={oneofKind:`actionConfigurations`,actionConfigurations:e.x.internalBinaryRead(n,n.uint32(),i,o.data.actionConfigurations)};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.N.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.data.oneofKind===`updatedFlow`&&t.d.internalBinaryWrite(n.data.updatedFlow,r.tag(1,e.P.LengthDelimited).fork(),i).join(),n.data.oneofKind===`deletedFlowId`&&r.tag(2,e.P.Varint).int64(n.data.deletedFlowId),n.data.oneofKind===`flows`&&t.i.internalBinaryWrite(n.data.flows,r.tag(3,e.P.LengthDelimited).fork(),i).join(),n.data.oneofKind===`actionConfigurations`&&e.x.internalBinaryWrite(n.data.actionConfigurations,r.tag(4,e.P.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.N.onWrite:a)(this.typeName,n,r),r}},p=new n.n(`sagittarius.FlowService`,[{name:`Update`,serverStreaming:!0,options:{},I:d,O:f}]),m=class{constructor(e){this._transport=e,this.typeName=p.typeName,this.methods=p.methods,this.options=p.options}update(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`serverStreaming`,this._transport,r,i,e)}},h=new class extends e.k{constructor(){super(`sagittarius.FlowTypeUpdateRequest`,[{no:1,name:`flow_types`,kind:`message`,repeat:2,T:()=>e.u}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.flowTypes=[],t!==void 0&&e.A(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.flowTypes.push(e.u.internalBinaryRead(t,t.uint32(),r));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.N.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){for(let i=0;i<t.flowTypes.length;i++)e.u.internalBinaryWrite(t.flowTypes[i],n.tag(1,e.P.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.N.onWrite:i)(this.typeName,t,n),n}},g=new class extends e.k{constructor(){super(`sagittarius.FlowTypeUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.A(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.success=t.bool();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.N.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.success!==!1&&n.tag(1,e.P.Varint).bool(t.success);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.N.onWrite:i)(this.typeName,t,n),n}},_=new n.n(`sagittarius.FlowTypeService`,[{name:`Update`,options:{},I:h,O:g}]),v=class{constructor(e){this._transport=e,this.typeName=_.typeName,this.methods=_.methods,this.options=_.options}update(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},y=new class extends e.k{constructor(){super(`sagittarius.PingMessage`,[{no:1,name:`ping_id`,kind:`scalar`,T:3,L:0}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.pingId=0n,t!==void 0&&e.A(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.pingId=t.int64().toBigInt();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.N.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.pingId!==0n&&n.tag(1,e.P.Varint).int64(t.pingId);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.N.onWrite:i)(this.typeName,t,n),n}},b=new n.n(`sagittarius.PingService`,[{name:`Ping`,options:{},I:y,O:y}]),x=class{constructor(e){this._transport=e,this.typeName=b.typeName,this.methods=b.methods,this.options=b.options}ping(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},S=new class extends e.k{constructor(){super(`sagittarius.RuntimeFunctionDefinitionUpdateRequest`,[{no:1,name:`runtime_functions`,kind:`message`,repeat:2,T:()=>e.c}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.runtimeFunctions=[],t!==void 0&&e.A(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.runtimeFunctions.push(e.c.internalBinaryRead(t,t.uint32(),r));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.N.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){for(let i=0;i<t.runtimeFunctions.length;i++)e.c.internalBinaryWrite(t.runtimeFunctions[i],n.tag(1,e.P.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.N.onWrite:i)(this.typeName,t,n),n}},C=new class extends e.k{constructor(){super(`sagittarius.RuntimeFunctionDefinitionUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.A(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.success=t.bool();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.N.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.success!==!1&&n.tag(1,e.P.Varint).bool(t.success);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.N.onWrite:i)(this.typeName,t,n),n}},w=new n.n(`sagittarius.RuntimeFunctionDefinitionService`,[{name:`Update`,options:{},I:S,O:C}]),T=class{constructor(e){this._transport=e,this.typeName=w.typeName,this.methods=w.methods,this.options=w.options}update(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},E=new class extends e.k{constructor(){super(`sagittarius.RuntimeStatusUpdateRequest`,[{no:1,name:`adapter_runtime_status`,kind:`message`,oneof:`status`,T:()=>e.r},{no:2,name:`execution_runtime_status`,kind:`message`,oneof:`status`,T:()=>e.a}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.status={oneofKind:void 0},t!==void 0&&e.A(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.status={oneofKind:`adapterRuntimeStatus`,adapterRuntimeStatus:e.r.internalBinaryRead(t,t.uint32(),r,a.status.adapterRuntimeStatus)};break;case 2:a.status={oneofKind:`executionRuntimeStatus`,executionRuntimeStatus:e.a.internalBinaryRead(t,t.uint32(),r,a.status.executionRuntimeStatus)};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.N.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.status.oneofKind===`adapterRuntimeStatus`&&e.r.internalBinaryWrite(t.status.adapterRuntimeStatus,n.tag(1,e.P.LengthDelimited).fork(),r).join(),t.status.oneofKind===`executionRuntimeStatus`&&e.a.internalBinaryWrite(t.status.executionRuntimeStatus,n.tag(2,e.P.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.N.onWrite:i)(this.typeName,t,n),n}},D=new class extends e.k{constructor(){super(`sagittarius.RuntimeStatusUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.A(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.success=t.bool();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.N.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.success!==!1&&n.tag(1,e.P.Varint).bool(t.success);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.N.onWrite:i)(this.typeName,t,n),n}},O=new n.n(`sagittarius.RuntimeStatusService`,[{name:`Update`,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,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},A=new class extends e.k{constructor(){super(`sagittarius.RuntimeUsageRequest`,[{no:1,name:`runtime_usage`,kind:`message`,repeat:2,T:()=>e.t}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.runtimeUsage=[],t!==void 0&&e.A(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.runtimeUsage.push(e.t.internalBinaryRead(t,t.uint32(),r));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.N.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){for(let i=0;i<t.runtimeUsage.length;i++)e.t.internalBinaryWrite(t.runtimeUsage[i],n.tag(1,e.P.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.N.onWrite:i)(this.typeName,t,n),n}},j=new class extends e.k{constructor(){super(`sagittarius.RuntimeUsageResponse`,[{no:1,name:`success`,kind:`scalar`,T:8}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.A(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.success=t.bool();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.N.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.success!==!1&&n.tag(1,e.P.Varint).bool(t.success);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.N.onWrite:i)(this.typeName,t,n),n}},M=new n.n(`sagittarius.RuntimeUsageService`,[{name:`Update`,options:{},I:A,O:j}]),N=class{constructor(e){this._transport=e,this.typeName=M.typeName,this.methods=M.methods,this.options=M.options}update(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},P=new class extends e.k{constructor(){super(`sagittarius.Logon`,[])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.A(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.N.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){let i=r.writeUnknownFields;return i!==!1&&(i==1?e.N.onWrite:i)(this.typeName,t,n),n}},F=new class extends e.k{constructor(){super(`sagittarius.TestExecutionRequest`,[{no:1,name:`flow_id`,kind:`scalar`,T:3,L:0},{no:2,name:`execution_uuid`,kind:`scalar`,T:9},{no:3,name:`body`,kind:`message`,T:()=>e.D}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.flowId=0n,n.executionUuid=``,t!==void 0&&e.A(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.executionUuid=t.string();break;case 3:a.body=e.D.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.N.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.flowId!==0n&&n.tag(1,e.P.Varint).int64(t.flowId),t.executionUuid!==``&&n.tag(2,e.P.LengthDelimited).string(t.executionUuid),t.body&&e.D.internalBinaryWrite(t.body,n.tag(3,e.P.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.N.onWrite:i)(this.typeName,t,n),n}},I=new class extends e.k{constructor(){super(`sagittarius.TestExecutionResponse`,[{no:1,name:`flow_id`,kind:`scalar`,T:3,L:0},{no:2,name:`execution_uuid`,kind:`scalar`,T:9},{no:3,name:`result`,kind:`message`,T:()=>e.D},{no:4,name:`logs`,kind:`message`,repeat:2,T:()=>L}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.flowId=0n,n.executionUuid=``,n.logs=[],t!==void 0&&e.A(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.executionUuid=t.string();break;case 3:a.result=e.D.internalBinaryRead(t,t.uint32(),r,a.result);break;case 4:a.logs.push(L.internalBinaryRead(t,t.uint32(),r));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.N.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.flowId!==0n&&n.tag(1,e.P.Varint).int64(t.flowId),t.executionUuid!==``&&n.tag(2,e.P.LengthDelimited).string(t.executionUuid),t.result&&e.D.internalBinaryWrite(t.result,n.tag(3,e.P.LengthDelimited).fork(),r).join();for(let i=0;i<t.logs.length;i++)L.internalBinaryWrite(t.logs[i],n.tag(4,e.P.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.N.onWrite:i)(this.typeName,t,n),n}},L=new class extends e.k{constructor(){super(`sagittarius.Log`,[{no:1,name:`application_log`,kind:`message`,oneof:`kind`,T:()=>B},{no:2,name:`success_log`,kind:`message`,oneof:`kind`,T:()=>R},{no:3,name:`error_log`,kind:`message`,oneof:`kind`,T:()=>z}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.kind={oneofKind:void 0},t!==void 0&&e.A(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.kind={oneofKind:`applicationLog`,applicationLog:B.internalBinaryRead(t,t.uint32(),r,a.kind.applicationLog)};break;case 2:a.kind={oneofKind:`successLog`,successLog:R.internalBinaryRead(t,t.uint32(),r,a.kind.successLog)};break;case 3:a.kind={oneofKind:`errorLog`,errorLog:z.internalBinaryRead(t,t.uint32(),r,a.kind.errorLog)};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.N.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.kind.oneofKind===`applicationLog`&&B.internalBinaryWrite(t.kind.applicationLog,n.tag(1,e.P.LengthDelimited).fork(),r).join(),t.kind.oneofKind===`successLog`&&R.internalBinaryWrite(t.kind.successLog,n.tag(2,e.P.LengthDelimited).fork(),r).join(),t.kind.oneofKind===`errorLog`&&z.internalBinaryWrite(t.kind.errorLog,n.tag(3,e.P.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.N.onWrite:i)(this.typeName,t,n),n}},R=new class extends e.k{constructor(){super(`sagittarius.SuccessLog`,[{no:1,name:`node_id`,kind:`scalar`,T:3,L:0},{no:2,name:`result`,kind:`message`,T:()=>e.D},{no:3,name:`parameter`,kind:`message`,repeat:2,T:()=>e.D},{no:4,name:`timestamp`,kind:`scalar`,T:9}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.nodeId=0n,n.parameter=[],n.timestamp=``,t!==void 0&&e.A(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.nodeId=t.int64().toBigInt();break;case 2:a.result=e.D.internalBinaryRead(t,t.uint32(),r,a.result);break;case 3:a.parameter.push(e.D.internalBinaryRead(t,t.uint32(),r));break;case 4:a.timestamp=t.string();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.N.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.nodeId!==0n&&n.tag(1,e.P.Varint).int64(t.nodeId),t.result&&e.D.internalBinaryWrite(t.result,n.tag(2,e.P.LengthDelimited).fork(),r).join();for(let i=0;i<t.parameter.length;i++)e.D.internalBinaryWrite(t.parameter[i],n.tag(3,e.P.LengthDelimited).fork(),r).join();t.timestamp!==``&&n.tag(4,e.P.LengthDelimited).string(t.timestamp);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.N.onWrite:i)(this.typeName,t,n),n}},z=new class extends e.k{constructor(){super(`sagittarius.RuntimeErrorLog`,[{no:1,name:`node_id`,kind:`scalar`,T:3,L:0},{no:2,name:`error`,kind:`scalar`,T:9},{no:3,name:`parameter`,kind:`message`,repeat:2,T:()=>e.D},{no:4,name:`timestamp`,kind:`scalar`,T:9}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.nodeId=0n,n.error=``,n.parameter=[],n.timestamp=``,t!==void 0&&e.A(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.nodeId=t.int64().toBigInt();break;case 2:a.error=t.string();break;case 3:a.parameter.push(e.D.internalBinaryRead(t,t.uint32(),r));break;case 4:a.timestamp=t.string();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.N.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.nodeId!==0n&&n.tag(1,e.P.Varint).int64(t.nodeId),t.error!==``&&n.tag(2,e.P.LengthDelimited).string(t.error);for(let i=0;i<t.parameter.length;i++)e.D.internalBinaryWrite(t.parameter[i],n.tag(3,e.P.LengthDelimited).fork(),r).join();t.timestamp!==``&&n.tag(4,e.P.LengthDelimited).string(t.timestamp);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.N.onWrite:i)(this.typeName,t,n),n}},B=new class extends e.k{constructor(){super(`sagittarius.ApplicationLog`,[{no:1,name:`message`,kind:`scalar`,T:9},{no:2,name:`level`,kind:`scalar`,T:9},{no:3,name:`timestamp`,kind:`scalar`,T:9}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.message=``,n.level=``,n.timestamp=``,t!==void 0&&e.A(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.message=t.string();break;case 2:a.level=t.string();break;case 3:a.timestamp=t.string();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.N.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.message!==``&&n.tag(1,e.P.LengthDelimited).string(t.message),t.level!==``&&n.tag(2,e.P.LengthDelimited).string(t.level),t.timestamp!==``&&n.tag(3,e.P.LengthDelimited).string(t.timestamp);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.N.onWrite:i)(this.typeName,t,n),n}},V=new class extends e.k{constructor(){super(`sagittarius.ExecutionLogonRequest`,[{no:1,name:`logon`,kind:`message`,oneof:`data`,T:()=>P},{no:2,name:`response`,kind:`message`,oneof:`data`,T:()=>I}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.data={oneofKind:void 0},t!==void 0&&e.A(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.data={oneofKind:`logon`,logon:P.internalBinaryRead(t,t.uint32(),r,a.data.logon)};break;case 2:a.data={oneofKind:`response`,response:I.internalBinaryRead(t,t.uint32(),r,a.data.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.N.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.data.oneofKind===`logon`&&P.internalBinaryWrite(t.data.logon,n.tag(1,e.P.LengthDelimited).fork(),r).join(),t.data.oneofKind===`response`&&I.internalBinaryWrite(t.data.response,n.tag(2,e.P.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.N.onWrite:i)(this.typeName,t,n),n}},H=new class extends e.k{constructor(){super(`sagittarius.ExecutionLogonResponse`,[{no:1,name:`request`,kind:`message`,T:()=>F}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.A(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=F.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.N.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.request&&F.internalBinaryWrite(t.request,n.tag(1,e.P.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.N.onWrite:i)(this.typeName,t,n),n}},U=new n.n(`sagittarius.ExecutionService`,[{name:`Test`,serverStreaming:!0,clientStreaming:!0,options:{},I:V,O:H}]),W=class{constructor(e){this._transport=e,this.typeName=U.typeName,this.methods=U.methods,this.options=U.options}test(e){let t=this.methods[0],r=this._transport.mergeOptions(e);return n.t(`duplex`,this._transport,t,r)}};exports.ActionConfigurationService=a,exports.ActionConfigurationServiceClient=o,exports.ActionConfigurationUpdateRequest=r,exports.ActionConfigurationUpdateResponse=i,exports.ApplicationLog=B,exports.DataTypeService=l,exports.DataTypeServiceClient=u,exports.DataTypeUpdateRequest=s,exports.DataTypeUpdateResponse=c,exports.ExecutionLogonRequest=V,exports.ExecutionLogonResponse=H,exports.ExecutionService=U,exports.ExecutionServiceClient=W,exports.FlowLogonRequest=d,exports.FlowResponse=f,exports.FlowService=p,exports.FlowServiceClient=m,exports.FlowTypeService=_,exports.FlowTypeServiceClient=v,exports.FlowTypeUpdateRequest=h,exports.FlowTypeUpdateResponse=g,exports.Log=L,exports.Logon=P,exports.PingMessage=y,exports.PingService=b,exports.PingServiceClient=x,exports.RuntimeErrorLog=z,exports.RuntimeFunctionDefinitionService=w,exports.RuntimeFunctionDefinitionServiceClient=T,exports.RuntimeFunctionDefinitionUpdateRequest=S,exports.RuntimeFunctionDefinitionUpdateResponse=C,exports.RuntimeStatusService=O,exports.RuntimeStatusServiceClient=k,exports.RuntimeStatusUpdateRequest=E,exports.RuntimeStatusUpdateResponse=D,exports.RuntimeUsageRequest=A,exports.RuntimeUsageResponse=j,exports.RuntimeUsageService=M,exports.RuntimeUsageServiceClient=N,exports.SuccessLog=R,exports.TestExecutionRequest=F,exports.TestExecutionResponse=I;
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./shared.runtime_usage_pb-CYG2eLDw.cjs`),t=require(`./shared.flow_pb-BwIQ0MZP.cjs`),n=require(`./rpc-interceptor-BlyE8N7q.cjs`);var r=new class extends e.j{constructor(){super(`sagittarius.ActionConfigurationUpdateRequest`,[{no:1,name:`action_identifier`,kind:`scalar`,T:9},{no:2,name:`action_configurations`,kind:`message`,repeat:2,T:()=>e.S}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.actionIdentifier=``,n.actionConfigurations=[],t!==void 0&&e.M(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.actionIdentifier=t.string();break;case 2:a.actionConfigurations.push(e.S.internalBinaryRead(t,t.uint32(),r));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.F.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.actionIdentifier!==``&&n.tag(1,e.I.LengthDelimited).string(t.actionIdentifier);for(let i=0;i<t.actionConfigurations.length;i++)e.S.internalBinaryWrite(t.actionConfigurations[i],n.tag(2,e.I.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.F.onWrite:i)(this.typeName,t,n),n}},i=new class extends e.j{constructor(){super(`sagittarius.ActionConfigurationUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.M(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.success=t.bool();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.F.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.success!==!1&&n.tag(1,e.I.Varint).bool(t.success);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.F.onWrite:i)(this.typeName,t,n),n}},a=new n.n(`sagittarius.ActionConfigurationService`,[{name:`Update`,options:{},I:r,O:i}]),o=class{constructor(e){this._transport=e,this.typeName=a.typeName,this.methods=a.methods,this.options=a.options}update(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},s=new class extends e.j{constructor(){super(`sagittarius.DataTypeUpdateRequest`,[{no:1,name:`data_types`,kind:`message`,repeat:2,T:()=>e._}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.dataTypes=[],t!==void 0&&e.M(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.dataTypes.push(e._.internalBinaryRead(t,t.uint32(),r));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.F.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){for(let i=0;i<t.dataTypes.length;i++)e._.internalBinaryWrite(t.dataTypes[i],n.tag(1,e.I.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.F.onWrite:i)(this.typeName,t,n),n}},c=new class extends e.j{constructor(){super(`sagittarius.DataTypeUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.M(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.success=t.bool();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.F.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.success!==!1&&n.tag(1,e.I.Varint).bool(t.success);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.F.onWrite:i)(this.typeName,t,n),n}},l=new n.n(`sagittarius.DataTypeService`,[{name:`Update`,options:{},I:s,O:c}]),u=class{constructor(e){this._transport=e,this.typeName=l.typeName,this.methods=l.methods,this.options=l.options}update(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},d=new class extends e.j{constructor(){super(`sagittarius.FlowLogonRequest`,[])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.M(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.F.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){let i=r.writeUnknownFields;return i!==!1&&(i==1?e.F.onWrite:i)(this.typeName,t,n),n}},f=new class extends e.j{constructor(){super(`sagittarius.FlowResponse`,[{no:1,name:`updated_flow`,kind:`message`,oneof:`data`,T:()=>t.d},{no:2,name:`deleted_flow_id`,kind:`scalar`,oneof:`data`,T:3,L:0},{no:3,name:`flows`,kind:`message`,oneof:`data`,T:()=>t.i},{no:4,name:`action_configurations`,kind:`message`,oneof:`data`,T:()=>e.C}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.data={oneofKind:void 0},t!==void 0&&e.M(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:`updatedFlow`,updatedFlow:t.d.internalBinaryRead(n,n.uint32(),i,o.data.updatedFlow)};break;case 2:o.data={oneofKind:`deletedFlowId`,deletedFlowId:n.int64().toBigInt()};break;case 3:o.data={oneofKind:`flows`,flows:t.i.internalBinaryRead(n,n.uint32(),i,o.data.flows)};break;case 4:o.data={oneofKind:`actionConfigurations`,actionConfigurations:e.C.internalBinaryRead(n,n.uint32(),i,o.data.actionConfigurations)};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.F.onRead:s)(this.typeName,o,r,a,c)}}return o}internalBinaryWrite(n,r,i){n.data.oneofKind===`updatedFlow`&&t.d.internalBinaryWrite(n.data.updatedFlow,r.tag(1,e.I.LengthDelimited).fork(),i).join(),n.data.oneofKind===`deletedFlowId`&&r.tag(2,e.I.Varint).int64(n.data.deletedFlowId),n.data.oneofKind===`flows`&&t.i.internalBinaryWrite(n.data.flows,r.tag(3,e.I.LengthDelimited).fork(),i).join(),n.data.oneofKind===`actionConfigurations`&&e.C.internalBinaryWrite(n.data.actionConfigurations,r.tag(4,e.I.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.F.onWrite:a)(this.typeName,n,r),r}},p=new n.n(`sagittarius.FlowService`,[{name:`Update`,serverStreaming:!0,options:{},I:d,O:f}]),m=class{constructor(e){this._transport=e,this.typeName=p.typeName,this.methods=p.methods,this.options=p.options}update(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`serverStreaming`,this._transport,r,i,e)}},h=new class extends e.j{constructor(){super(`sagittarius.FlowTypeUpdateRequest`,[{no:1,name:`flow_types`,kind:`message`,repeat:2,T:()=>e.f}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.flowTypes=[],t!==void 0&&e.M(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.flowTypes.push(e.f.internalBinaryRead(t,t.uint32(),r));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.F.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){for(let i=0;i<t.flowTypes.length;i++)e.f.internalBinaryWrite(t.flowTypes[i],n.tag(1,e.I.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.F.onWrite:i)(this.typeName,t,n),n}},g=new class extends e.j{constructor(){super(`sagittarius.FlowTypeUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.M(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.success=t.bool();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.F.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.success!==!1&&n.tag(1,e.I.Varint).bool(t.success);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.F.onWrite:i)(this.typeName,t,n),n}},_=new n.n(`sagittarius.FlowTypeService`,[{name:`Update`,options:{},I:h,O:g}]),v=class{constructor(e){this._transport=e,this.typeName=_.typeName,this.methods=_.methods,this.options=_.options}update(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},y=new class extends e.j{constructor(){super(`sagittarius.FunctionDefinitionUpdateRequest`,[{no:1,name:`functions`,kind:`message`,repeat:2,T:()=>e.u}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.functions=[],t!==void 0&&e.M(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.functions.push(e.u.internalBinaryRead(t,t.uint32(),r));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.F.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){for(let i=0;i<t.functions.length;i++)e.u.internalBinaryWrite(t.functions[i],n.tag(1,e.I.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.F.onWrite:i)(this.typeName,t,n),n}},b=new class extends e.j{constructor(){super(`sagittarius.FunctionDefinitionUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.M(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.success=t.bool();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.F.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.success!==!1&&n.tag(1,e.I.Varint).bool(t.success);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.F.onWrite:i)(this.typeName,t,n),n}},x=new n.n(`sagittarius.FunctionDefinitionService`,[{name:`Update`,options:{},I:y,O:b}]),S=class{constructor(e){this._transport=e,this.typeName=x.typeName,this.methods=x.methods,this.options=x.options}update(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},C=new class extends e.j{constructor(){super(`sagittarius.PingMessage`,[{no:1,name:`ping_id`,kind:`scalar`,T:3,L:0}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.pingId=0n,t!==void 0&&e.M(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.pingId=t.int64().toBigInt();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.F.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.pingId!==0n&&n.tag(1,e.I.Varint).int64(t.pingId);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.F.onWrite:i)(this.typeName,t,n),n}},w=new n.n(`sagittarius.PingService`,[{name:`Ping`,options:{},I:C,O:C}]),T=class{constructor(e){this._transport=e,this.typeName=w.typeName,this.methods=w.methods,this.options=w.options}ping(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},E=new class extends e.j{constructor(){super(`sagittarius.RuntimeFunctionDefinitionUpdateRequest`,[{no:1,name:`runtime_functions`,kind:`message`,repeat:2,T:()=>e.c}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.runtimeFunctions=[],t!==void 0&&e.M(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.runtimeFunctions.push(e.c.internalBinaryRead(t,t.uint32(),r));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.F.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){for(let i=0;i<t.runtimeFunctions.length;i++)e.c.internalBinaryWrite(t.runtimeFunctions[i],n.tag(1,e.I.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.F.onWrite:i)(this.typeName,t,n),n}},D=new class extends e.j{constructor(){super(`sagittarius.RuntimeFunctionDefinitionUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.M(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.success=t.bool();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.F.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.success!==!1&&n.tag(1,e.I.Varint).bool(t.success);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.F.onWrite:i)(this.typeName,t,n),n}},O=new n.n(`sagittarius.RuntimeFunctionDefinitionService`,[{name:`Update`,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,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},A=new class extends e.j{constructor(){super(`sagittarius.RuntimeStatusUpdateRequest`,[{no:1,name:`adapter_runtime_status`,kind:`message`,oneof:`status`,T:()=>e.r},{no:2,name:`execution_runtime_status`,kind:`message`,oneof:`status`,T:()=>e.a}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.status={oneofKind:void 0},t!==void 0&&e.M(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.status={oneofKind:`adapterRuntimeStatus`,adapterRuntimeStatus:e.r.internalBinaryRead(t,t.uint32(),r,a.status.adapterRuntimeStatus)};break;case 2:a.status={oneofKind:`executionRuntimeStatus`,executionRuntimeStatus:e.a.internalBinaryRead(t,t.uint32(),r,a.status.executionRuntimeStatus)};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.F.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.status.oneofKind===`adapterRuntimeStatus`&&e.r.internalBinaryWrite(t.status.adapterRuntimeStatus,n.tag(1,e.I.LengthDelimited).fork(),r).join(),t.status.oneofKind===`executionRuntimeStatus`&&e.a.internalBinaryWrite(t.status.executionRuntimeStatus,n.tag(2,e.I.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.F.onWrite:i)(this.typeName,t,n),n}},j=new class extends e.j{constructor(){super(`sagittarius.RuntimeStatusUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.M(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.success=t.bool();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.F.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.success!==!1&&n.tag(1,e.I.Varint).bool(t.success);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.F.onWrite:i)(this.typeName,t,n),n}},M=new n.n(`sagittarius.RuntimeStatusService`,[{name:`Update`,options:{},I:A,O:j}]),N=class{constructor(e){this._transport=e,this.typeName=M.typeName,this.methods=M.methods,this.options=M.options}update(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},P=new class extends e.j{constructor(){super(`sagittarius.RuntimeUsageRequest`,[{no:1,name:`runtime_usage`,kind:`message`,repeat:2,T:()=>e.t}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.runtimeUsage=[],t!==void 0&&e.M(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.runtimeUsage.push(e.t.internalBinaryRead(t,t.uint32(),r));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.F.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){for(let i=0;i<t.runtimeUsage.length;i++)e.t.internalBinaryWrite(t.runtimeUsage[i],n.tag(1,e.I.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.F.onWrite:i)(this.typeName,t,n),n}},F=new class extends e.j{constructor(){super(`sagittarius.RuntimeUsageResponse`,[{no:1,name:`success`,kind:`scalar`,T:8}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.success=!1,t!==void 0&&e.M(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.success=t.bool();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.F.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.success!==!1&&n.tag(1,e.I.Varint).bool(t.success);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.F.onWrite:i)(this.typeName,t,n),n}},I=new n.n(`sagittarius.RuntimeUsageService`,[{name:`Update`,options:{},I:P,O:F}]),L=class{constructor(e){this._transport=e,this.typeName=I.typeName,this.methods=I.methods,this.options=I.options}update(e,t){let r=this.methods[0],i=this._transport.mergeOptions(t);return n.t(`unary`,this._transport,r,i,e)}},R=new class extends e.j{constructor(){super(`sagittarius.Logon`,[])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.M(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.F.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){let i=r.writeUnknownFields;return i!==!1&&(i==1?e.F.onWrite:i)(this.typeName,t,n),n}},z=new class extends e.j{constructor(){super(`sagittarius.TestExecutionRequest`,[{no:1,name:`flow_id`,kind:`scalar`,T:3,L:0},{no:2,name:`execution_uuid`,kind:`scalar`,T:9},{no:3,name:`body`,kind:`message`,T:()=>e.k}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.flowId=0n,n.executionUuid=``,t!==void 0&&e.M(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.executionUuid=t.string();break;case 3:a.body=e.k.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.F.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.flowId!==0n&&n.tag(1,e.I.Varint).int64(t.flowId),t.executionUuid!==``&&n.tag(2,e.I.LengthDelimited).string(t.executionUuid),t.body&&e.k.internalBinaryWrite(t.body,n.tag(3,e.I.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.F.onWrite:i)(this.typeName,t,n),n}},B=new class extends e.j{constructor(){super(`sagittarius.TestExecutionResponse`,[{no:1,name:`flow_id`,kind:`scalar`,T:3,L:0},{no:2,name:`execution_uuid`,kind:`scalar`,T:9},{no:3,name:`result`,kind:`message`,T:()=>e.k},{no:4,name:`logs`,kind:`message`,repeat:2,T:()=>V}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.flowId=0n,n.executionUuid=``,n.logs=[],t!==void 0&&e.M(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.executionUuid=t.string();break;case 3:a.result=e.k.internalBinaryRead(t,t.uint32(),r,a.result);break;case 4:a.logs.push(V.internalBinaryRead(t,t.uint32(),r));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.F.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.flowId!==0n&&n.tag(1,e.I.Varint).int64(t.flowId),t.executionUuid!==``&&n.tag(2,e.I.LengthDelimited).string(t.executionUuid),t.result&&e.k.internalBinaryWrite(t.result,n.tag(3,e.I.LengthDelimited).fork(),r).join();for(let i=0;i<t.logs.length;i++)V.internalBinaryWrite(t.logs[i],n.tag(4,e.I.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.F.onWrite:i)(this.typeName,t,n),n}},V=new class extends e.j{constructor(){super(`sagittarius.Log`,[{no:1,name:`application_log`,kind:`message`,oneof:`kind`,T:()=>W},{no:2,name:`success_log`,kind:`message`,oneof:`kind`,T:()=>H},{no:3,name:`error_log`,kind:`message`,oneof:`kind`,T:()=>U}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.kind={oneofKind:void 0},t!==void 0&&e.M(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.kind={oneofKind:`applicationLog`,applicationLog:W.internalBinaryRead(t,t.uint32(),r,a.kind.applicationLog)};break;case 2:a.kind={oneofKind:`successLog`,successLog:H.internalBinaryRead(t,t.uint32(),r,a.kind.successLog)};break;case 3:a.kind={oneofKind:`errorLog`,errorLog:U.internalBinaryRead(t,t.uint32(),r,a.kind.errorLog)};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.F.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.kind.oneofKind===`applicationLog`&&W.internalBinaryWrite(t.kind.applicationLog,n.tag(1,e.I.LengthDelimited).fork(),r).join(),t.kind.oneofKind===`successLog`&&H.internalBinaryWrite(t.kind.successLog,n.tag(2,e.I.LengthDelimited).fork(),r).join(),t.kind.oneofKind===`errorLog`&&U.internalBinaryWrite(t.kind.errorLog,n.tag(3,e.I.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.F.onWrite:i)(this.typeName,t,n),n}},H=new class extends e.j{constructor(){super(`sagittarius.SuccessLog`,[{no:1,name:`node_id`,kind:`scalar`,T:3,L:0},{no:2,name:`result`,kind:`message`,T:()=>e.k},{no:3,name:`parameter`,kind:`message`,repeat:2,T:()=>e.k},{no:4,name:`timestamp`,kind:`scalar`,T:9}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.nodeId=0n,n.parameter=[],n.timestamp=``,t!==void 0&&e.M(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.nodeId=t.int64().toBigInt();break;case 2:a.result=e.k.internalBinaryRead(t,t.uint32(),r,a.result);break;case 3:a.parameter.push(e.k.internalBinaryRead(t,t.uint32(),r));break;case 4:a.timestamp=t.string();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.F.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.nodeId!==0n&&n.tag(1,e.I.Varint).int64(t.nodeId),t.result&&e.k.internalBinaryWrite(t.result,n.tag(2,e.I.LengthDelimited).fork(),r).join();for(let i=0;i<t.parameter.length;i++)e.k.internalBinaryWrite(t.parameter[i],n.tag(3,e.I.LengthDelimited).fork(),r).join();t.timestamp!==``&&n.tag(4,e.I.LengthDelimited).string(t.timestamp);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.F.onWrite:i)(this.typeName,t,n),n}},U=new class extends e.j{constructor(){super(`sagittarius.RuntimeErrorLog`,[{no:1,name:`node_id`,kind:`scalar`,T:3,L:0},{no:2,name:`error`,kind:`scalar`,T:9},{no:3,name:`parameter`,kind:`message`,repeat:2,T:()=>e.k},{no:4,name:`timestamp`,kind:`scalar`,T:9}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.nodeId=0n,n.error=``,n.parameter=[],n.timestamp=``,t!==void 0&&e.M(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.nodeId=t.int64().toBigInt();break;case 2:a.error=t.string();break;case 3:a.parameter.push(e.k.internalBinaryRead(t,t.uint32(),r));break;case 4:a.timestamp=t.string();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.F.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.nodeId!==0n&&n.tag(1,e.I.Varint).int64(t.nodeId),t.error!==``&&n.tag(2,e.I.LengthDelimited).string(t.error);for(let i=0;i<t.parameter.length;i++)e.k.internalBinaryWrite(t.parameter[i],n.tag(3,e.I.LengthDelimited).fork(),r).join();t.timestamp!==``&&n.tag(4,e.I.LengthDelimited).string(t.timestamp);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.F.onWrite:i)(this.typeName,t,n),n}},W=new class extends e.j{constructor(){super(`sagittarius.ApplicationLog`,[{no:1,name:`message`,kind:`scalar`,T:9},{no:2,name:`level`,kind:`scalar`,T:9},{no:3,name:`timestamp`,kind:`scalar`,T:9}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.message=``,n.level=``,n.timestamp=``,t!==void 0&&e.M(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.message=t.string();break;case 2:a.level=t.string();break;case 3:a.timestamp=t.string();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.F.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.message!==``&&n.tag(1,e.I.LengthDelimited).string(t.message),t.level!==``&&n.tag(2,e.I.LengthDelimited).string(t.level),t.timestamp!==``&&n.tag(3,e.I.LengthDelimited).string(t.timestamp);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.F.onWrite:i)(this.typeName,t,n),n}},G=new class extends e.j{constructor(){super(`sagittarius.ExecutionLogonRequest`,[{no:1,name:`logon`,kind:`message`,oneof:`data`,T:()=>R},{no:2,name:`response`,kind:`message`,oneof:`data`,T:()=>B}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.data={oneofKind:void 0},t!==void 0&&e.M(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.data={oneofKind:`logon`,logon:R.internalBinaryRead(t,t.uint32(),r,a.data.logon)};break;case 2:a.data={oneofKind:`response`,response:B.internalBinaryRead(t,t.uint32(),r,a.data.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.F.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.data.oneofKind===`logon`&&R.internalBinaryWrite(t.data.logon,n.tag(1,e.I.LengthDelimited).fork(),r).join(),t.data.oneofKind===`response`&&B.internalBinaryWrite(t.data.response,n.tag(2,e.I.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.F.onWrite:i)(this.typeName,t,n),n}},K=new class extends e.j{constructor(){super(`sagittarius.ExecutionLogonResponse`,[{no:1,name:`request`,kind:`message`,T:()=>z}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return t!==void 0&&e.M(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=z.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.F.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.request&&z.internalBinaryWrite(t.request,n.tag(1,e.I.LengthDelimited).fork(),r).join();let i=r.writeUnknownFields;return i!==!1&&(i==1?e.F.onWrite:i)(this.typeName,t,n),n}},q=new n.n(`sagittarius.ExecutionService`,[{name:`Test`,serverStreaming:!0,clientStreaming:!0,options:{},I:G,O:K}]),J=class{constructor(e){this._transport=e,this.typeName=q.typeName,this.methods=q.methods,this.options=q.options}test(e){let t=this.methods[0],r=this._transport.mergeOptions(e);return n.t(`duplex`,this._transport,t,r)}};exports.ActionConfigurationService=a,exports.ActionConfigurationServiceClient=o,exports.ActionConfigurationUpdateRequest=r,exports.ActionConfigurationUpdateResponse=i,exports.ApplicationLog=W,exports.DataTypeService=l,exports.DataTypeServiceClient=u,exports.DataTypeUpdateRequest=s,exports.DataTypeUpdateResponse=c,exports.ExecutionLogonRequest=G,exports.ExecutionLogonResponse=K,exports.ExecutionService=q,exports.ExecutionServiceClient=J,exports.FlowLogonRequest=d,exports.FlowResponse=f,exports.FlowService=p,exports.FlowServiceClient=m,exports.FlowTypeService=_,exports.FlowTypeServiceClient=v,exports.FlowTypeUpdateRequest=h,exports.FlowTypeUpdateResponse=g,exports.FunctionDefinitionService=x,exports.FunctionDefinitionServiceClient=S,exports.FunctionDefinitionUpdateRequest=y,exports.FunctionDefinitionUpdateResponse=b,exports.Log=V,exports.Logon=R,exports.PingMessage=C,exports.PingService=w,exports.PingServiceClient=T,exports.RuntimeErrorLog=U,exports.RuntimeFunctionDefinitionService=O,exports.RuntimeFunctionDefinitionServiceClient=k,exports.RuntimeFunctionDefinitionUpdateRequest=E,exports.RuntimeFunctionDefinitionUpdateResponse=D,exports.RuntimeStatusService=M,exports.RuntimeStatusServiceClient=N,exports.RuntimeStatusUpdateRequest=A,exports.RuntimeStatusUpdateResponse=j,exports.RuntimeUsageRequest=P,exports.RuntimeUsageResponse=F,exports.RuntimeUsageService=I,exports.RuntimeUsageServiceClient=L,exports.SuccessLog=H,exports.TestExecutionRequest=z,exports.TestExecutionResponse=B;
|