@code0-tech/tucana 0.0.73 → 0.0.75
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 +98 -130
- package/dist/pb/_generated/aquila.runtime_status_pb.d.ts +3 -23
- package/dist/pb/_generated/sagittarius.runtime_status_pb.d.ts +3 -23
- package/dist/pb/_generated/shared.execution_result_pb.d.ts +21 -7
- package/dist/pb/_generated/shared.module_pb.d.ts +66 -0
- package/dist/pb/_generated/shared.runtime_status_pb.d.ts +16 -190
- package/dist/sagittarius.cjs.js +1 -1
- package/dist/sagittarius.es.js +141 -173
- package/dist/shared.cjs.js +1 -1
- package/dist/shared.es.js +3 -3
- package/dist/{shared.runtime_usage_pb-Hn8yNrjw.js → shared.runtime_usage_pb-DDUhVHjA.js} +168 -271
- package/dist/shared.runtime_usage_pb-DqB5DUDk.cjs +1 -0
- package/package.json +1 -1
- package/dist/shared.runtime_usage_pb-CSRup69H.cjs +0 -1
|
@@ -1,35 +1,15 @@
|
|
|
1
1
|
import { ServiceType } from '@protobuf-ts/runtime-rpc';
|
|
2
2
|
import { BinaryWriteOptions, IBinaryWriter, BinaryReadOptions, IBinaryReader, PartialMessage, MessageType } from '@protobuf-ts/runtime';
|
|
3
3
|
import { ServiceError } from './shared.errors_pb';
|
|
4
|
-
import {
|
|
4
|
+
import { ModuleStatus } from './shared.runtime_status_pb';
|
|
5
5
|
/**
|
|
6
6
|
* @generated from protobuf message sagittarius.RuntimeStatusUpdateRequest
|
|
7
7
|
*/
|
|
8
8
|
export interface RuntimeStatusUpdateRequest {
|
|
9
9
|
/**
|
|
10
|
-
* @generated from protobuf
|
|
10
|
+
* @generated from protobuf field: shared.ModuleStatus status = 1
|
|
11
11
|
*/
|
|
12
|
-
status
|
|
13
|
-
oneofKind: "adapterRuntimeStatus";
|
|
14
|
-
/**
|
|
15
|
-
* @generated from protobuf field: shared.AdapterRuntimeStatus adapter_runtime_status = 1
|
|
16
|
-
*/
|
|
17
|
-
adapterRuntimeStatus: AdapterRuntimeStatus;
|
|
18
|
-
} | {
|
|
19
|
-
oneofKind: "executionRuntimeStatus";
|
|
20
|
-
/**
|
|
21
|
-
* @generated from protobuf field: shared.ExecutionRuntimeStatus execution_runtime_status = 2
|
|
22
|
-
*/
|
|
23
|
-
executionRuntimeStatus: ExecutionRuntimeStatus;
|
|
24
|
-
} | {
|
|
25
|
-
oneofKind: "actionStatus";
|
|
26
|
-
/**
|
|
27
|
-
* @generated from protobuf field: shared.ActionStatus action_status = 3
|
|
28
|
-
*/
|
|
29
|
-
actionStatus: ActionStatus;
|
|
30
|
-
} | {
|
|
31
|
-
oneofKind: undefined;
|
|
32
|
-
};
|
|
12
|
+
status?: ModuleStatus;
|
|
33
13
|
}
|
|
34
14
|
/**
|
|
35
15
|
* @generated from protobuf message sagittarius.RuntimeStatusUpdateResponse
|
|
@@ -15,19 +15,33 @@ export interface NodeParameterNodeExecutionResult {
|
|
|
15
15
|
*/
|
|
16
16
|
export interface NodeExecutionResult {
|
|
17
17
|
/**
|
|
18
|
-
* @generated from protobuf
|
|
18
|
+
* @generated from protobuf oneof: id
|
|
19
19
|
*/
|
|
20
|
-
|
|
20
|
+
id: {
|
|
21
|
+
oneofKind: "nodeId";
|
|
22
|
+
/**
|
|
23
|
+
* @generated from protobuf field: int64 node_id = 1
|
|
24
|
+
*/
|
|
25
|
+
nodeId: bigint;
|
|
26
|
+
} | {
|
|
27
|
+
oneofKind: "functionIdentifier";
|
|
28
|
+
/**
|
|
29
|
+
* @generated from protobuf field: string function_identifier = 2
|
|
30
|
+
*/
|
|
31
|
+
functionIdentifier: string;
|
|
32
|
+
} | {
|
|
33
|
+
oneofKind: undefined;
|
|
34
|
+
};
|
|
21
35
|
/**
|
|
22
|
-
* @generated from protobuf field: int64 started_at =
|
|
36
|
+
* @generated from protobuf field: int64 started_at = 3
|
|
23
37
|
*/
|
|
24
38
|
startedAt: bigint;
|
|
25
39
|
/**
|
|
26
|
-
* @generated from protobuf field: int64 finished_at =
|
|
40
|
+
* @generated from protobuf field: int64 finished_at = 4
|
|
27
41
|
*/
|
|
28
42
|
finishedAt: bigint;
|
|
29
43
|
/**
|
|
30
|
-
* @generated from protobuf field: repeated shared.NodeParameterNodeExecutionResult parameter_results =
|
|
44
|
+
* @generated from protobuf field: repeated shared.NodeParameterNodeExecutionResult parameter_results = 5
|
|
31
45
|
*/
|
|
32
46
|
parameterResults: NodeParameterNodeExecutionResult[];
|
|
33
47
|
/**
|
|
@@ -36,13 +50,13 @@ export interface NodeExecutionResult {
|
|
|
36
50
|
result: {
|
|
37
51
|
oneofKind: "success";
|
|
38
52
|
/**
|
|
39
|
-
* @generated from protobuf field: shared.Value success =
|
|
53
|
+
* @generated from protobuf field: shared.Value success = 6
|
|
40
54
|
*/
|
|
41
55
|
success: Value;
|
|
42
56
|
} | {
|
|
43
57
|
oneofKind: "error";
|
|
44
58
|
/**
|
|
45
|
-
* @generated from protobuf field: shared.Error error =
|
|
59
|
+
* @generated from protobuf field: shared.Error error = 7
|
|
46
60
|
*/
|
|
47
61
|
error: Error;
|
|
48
62
|
} | {
|
|
@@ -62,6 +62,52 @@ export interface Module {
|
|
|
62
62
|
* @generated from protobuf field: repeated shared.ModuleConfigurationDefinition configurations = 14
|
|
63
63
|
*/
|
|
64
64
|
configurations: ModuleConfigurationDefinition[];
|
|
65
|
+
/**
|
|
66
|
+
* @generated from protobuf field: repeated shared.ModuleDefinition definitions = 15
|
|
67
|
+
*/
|
|
68
|
+
definitions: ModuleDefinition[];
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* @generated from protobuf message shared.ModuleDefinition
|
|
72
|
+
*/
|
|
73
|
+
export interface ModuleDefinition {
|
|
74
|
+
/**
|
|
75
|
+
* A list of flow type identifier to which the value appies
|
|
76
|
+
*
|
|
77
|
+
* @generated from protobuf field: repeated string flow_type_identifier = 1
|
|
78
|
+
*/
|
|
79
|
+
flowTypeIdentifier: string[];
|
|
80
|
+
/**
|
|
81
|
+
* @generated from protobuf oneof: value
|
|
82
|
+
*/
|
|
83
|
+
value: {
|
|
84
|
+
oneofKind: "endpoint";
|
|
85
|
+
/**
|
|
86
|
+
* Endpoint URL
|
|
87
|
+
*
|
|
88
|
+
* @generated from protobuf field: shared.Endpoint endpoint = 2
|
|
89
|
+
*/
|
|
90
|
+
endpoint: Endpoint;
|
|
91
|
+
} | {
|
|
92
|
+
oneofKind: undefined;
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* @generated from protobuf message shared.Endpoint
|
|
97
|
+
*/
|
|
98
|
+
export interface Endpoint {
|
|
99
|
+
/**
|
|
100
|
+
* @generated from protobuf field: string host = 1
|
|
101
|
+
*/
|
|
102
|
+
host: string;
|
|
103
|
+
/**
|
|
104
|
+
* @generated from protobuf field: int64 port = 2
|
|
105
|
+
*/
|
|
106
|
+
port: bigint;
|
|
107
|
+
/**
|
|
108
|
+
* @generated from protobuf field: string endpoint = 3
|
|
109
|
+
*/
|
|
110
|
+
endpoint: string;
|
|
65
111
|
}
|
|
66
112
|
/**
|
|
67
113
|
* send by sagittarius to inform a module of the real config set by the user
|
|
@@ -153,6 +199,26 @@ declare class Module$Type extends MessageType<Module> {
|
|
|
153
199
|
* @generated MessageType for protobuf message shared.Module
|
|
154
200
|
*/
|
|
155
201
|
export declare const Module: Module$Type;
|
|
202
|
+
declare class ModuleDefinition$Type extends MessageType<ModuleDefinition> {
|
|
203
|
+
constructor();
|
|
204
|
+
create(value?: PartialMessage<ModuleDefinition>): ModuleDefinition;
|
|
205
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ModuleDefinition): ModuleDefinition;
|
|
206
|
+
internalBinaryWrite(message: ModuleDefinition, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* @generated MessageType for protobuf message shared.ModuleDefinition
|
|
210
|
+
*/
|
|
211
|
+
export declare const ModuleDefinition: ModuleDefinition$Type;
|
|
212
|
+
declare class Endpoint$Type extends MessageType<Endpoint> {
|
|
213
|
+
constructor();
|
|
214
|
+
create(value?: PartialMessage<Endpoint>): Endpoint;
|
|
215
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Endpoint): Endpoint;
|
|
216
|
+
internalBinaryWrite(message: Endpoint, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* @generated MessageType for protobuf message shared.Endpoint
|
|
220
|
+
*/
|
|
221
|
+
export declare const Endpoint: Endpoint$Type;
|
|
156
222
|
declare class ModuleConfiguration$Type extends MessageType<ModuleConfiguration> {
|
|
157
223
|
constructor();
|
|
158
224
|
create(value?: PartialMessage<ModuleConfiguration>): ModuleConfiguration;
|
|
@@ -1,163 +1,29 @@
|
|
|
1
1
|
import { BinaryWriteOptions, IBinaryWriter, BinaryReadOptions, IBinaryReader, PartialMessage, MessageType } from '@protobuf-ts/runtime';
|
|
2
2
|
/**
|
|
3
|
-
* @generated from protobuf message shared.
|
|
3
|
+
* @generated from protobuf message shared.ModuleStatus
|
|
4
4
|
*/
|
|
5
|
-
export interface
|
|
5
|
+
export interface ModuleStatus {
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Identifier of this module
|
|
8
8
|
*
|
|
9
|
-
* @generated from protobuf field:
|
|
10
|
-
*/
|
|
11
|
-
flowTypeIdentifiers: string[];
|
|
12
|
-
/**
|
|
13
|
-
* @generated from protobuf oneof: data
|
|
14
|
-
*/
|
|
15
|
-
data: {
|
|
16
|
-
oneofKind: "endpoint";
|
|
17
|
-
/**
|
|
18
|
-
* @generated from protobuf field: string endpoint = 2
|
|
19
|
-
*/
|
|
20
|
-
endpoint: string;
|
|
21
|
-
} | {
|
|
22
|
-
oneofKind: undefined;
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* @generated from protobuf message shared.ActionStatusConfiguration
|
|
27
|
-
*/
|
|
28
|
-
export interface ActionStatusConfiguration {
|
|
29
|
-
/**
|
|
30
|
-
* List of flow type identifiers for this specific ActionStatusConfiguration
|
|
31
|
-
*
|
|
32
|
-
* @generated from protobuf field: repeated string flow_type_identifiers = 1
|
|
33
|
-
*/
|
|
34
|
-
flowTypeIdentifiers: string[];
|
|
35
|
-
/**
|
|
36
|
-
* @generated from protobuf oneof: data
|
|
37
|
-
*/
|
|
38
|
-
data: {
|
|
39
|
-
oneofKind: "endpoint";
|
|
40
|
-
/**
|
|
41
|
-
* @generated from protobuf field: string endpoint = 2
|
|
42
|
-
*/
|
|
43
|
-
endpoint: string;
|
|
44
|
-
} | {
|
|
45
|
-
oneofKind: undefined;
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* @generated from protobuf message shared.AdapterRuntimeStatus
|
|
50
|
-
*/
|
|
51
|
-
export interface AdapterRuntimeStatus {
|
|
52
|
-
/**
|
|
53
|
-
* @generated from protobuf field: shared.AdapterRuntimeStatus.Status status = 1
|
|
54
|
-
*/
|
|
55
|
-
status: AdapterRuntimeStatus_Status;
|
|
56
|
-
/**
|
|
57
|
-
* @generated from protobuf field: int64 timestamp = 2
|
|
58
|
-
*/
|
|
59
|
-
timestamp: bigint;
|
|
60
|
-
/**
|
|
61
|
-
* @generated from protobuf field: string identifier = 3
|
|
62
|
-
*/
|
|
63
|
-
identifier: string;
|
|
64
|
-
/**
|
|
65
|
-
* @generated from protobuf field: repeated shared.AdapterStatusConfiguration configurations = 4
|
|
66
|
-
*/
|
|
67
|
-
configurations: AdapterStatusConfiguration[];
|
|
68
|
-
}
|
|
69
|
-
/**
|
|
70
|
-
* @generated from protobuf enum shared.AdapterRuntimeStatus.Status
|
|
71
|
-
*/
|
|
72
|
-
export declare enum AdapterRuntimeStatus_Status {
|
|
73
|
-
/**
|
|
74
|
-
* @generated from protobuf enum value: UNKNOWN = 0;
|
|
75
|
-
*/
|
|
76
|
-
UNKNOWN = 0,
|
|
77
|
-
/**
|
|
78
|
-
* @generated from protobuf enum value: NOT_RESPONDING = 1;
|
|
79
|
-
*/
|
|
80
|
-
NOT_RESPONDING = 1,
|
|
81
|
-
/**
|
|
82
|
-
* @generated from protobuf enum value: NOT_READY = 2;
|
|
83
|
-
*/
|
|
84
|
-
NOT_READY = 2,
|
|
85
|
-
/**
|
|
86
|
-
* @generated from protobuf enum value: RUNNING = 3;
|
|
87
|
-
*/
|
|
88
|
-
RUNNING = 3,
|
|
89
|
-
/**
|
|
90
|
-
* @generated from protobuf enum value: STOPPED = 4;
|
|
91
|
-
*/
|
|
92
|
-
STOPPED = 4
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* @generated from protobuf message shared.ExecutionRuntimeStatus
|
|
96
|
-
*/
|
|
97
|
-
export interface ExecutionRuntimeStatus {
|
|
98
|
-
/**
|
|
99
|
-
* @generated from protobuf field: shared.ExecutionRuntimeStatus.Status status = 1
|
|
100
|
-
*/
|
|
101
|
-
status: ExecutionRuntimeStatus_Status;
|
|
102
|
-
/**
|
|
103
|
-
* @generated from protobuf field: int64 timestamp = 2
|
|
104
|
-
*/
|
|
105
|
-
timestamp: bigint;
|
|
106
|
-
/**
|
|
107
|
-
* @generated from protobuf field: string identifier = 3
|
|
9
|
+
* @generated from protobuf field: string identifier = 1
|
|
108
10
|
*/
|
|
109
11
|
identifier: string;
|
|
110
|
-
}
|
|
111
|
-
/**
|
|
112
|
-
* @generated from protobuf enum shared.ExecutionRuntimeStatus.Status
|
|
113
|
-
*/
|
|
114
|
-
export declare enum ExecutionRuntimeStatus_Status {
|
|
115
|
-
/**
|
|
116
|
-
* @generated from protobuf enum value: UNKNOWN = 0;
|
|
117
|
-
*/
|
|
118
|
-
UNKNOWN = 0,
|
|
119
|
-
/**
|
|
120
|
-
* @generated from protobuf enum value: NOT_RESPONDING = 1;
|
|
121
|
-
*/
|
|
122
|
-
NOT_RESPONDING = 1,
|
|
123
|
-
/**
|
|
124
|
-
* @generated from protobuf enum value: NOT_READY = 2;
|
|
125
|
-
*/
|
|
126
|
-
NOT_READY = 2,
|
|
127
|
-
/**
|
|
128
|
-
* @generated from protobuf enum value: RUNNING = 3;
|
|
129
|
-
*/
|
|
130
|
-
RUNNING = 3,
|
|
131
|
-
/**
|
|
132
|
-
* @generated from protobuf enum value: STOPPED = 4;
|
|
133
|
-
*/
|
|
134
|
-
STOPPED = 4
|
|
135
|
-
}
|
|
136
|
-
/**
|
|
137
|
-
* @generated from protobuf message shared.ActionStatus
|
|
138
|
-
*/
|
|
139
|
-
export interface ActionStatus {
|
|
140
|
-
/**
|
|
141
|
-
* @generated from protobuf field: shared.ActionStatus.Status status = 1
|
|
142
|
-
*/
|
|
143
|
-
status: ActionStatus_Status;
|
|
144
12
|
/**
|
|
13
|
+
* epoch timestamp in seconds
|
|
14
|
+
*
|
|
145
15
|
* @generated from protobuf field: int64 timestamp = 2
|
|
146
16
|
*/
|
|
147
17
|
timestamp: bigint;
|
|
148
18
|
/**
|
|
149
|
-
* @generated from protobuf field:
|
|
19
|
+
* @generated from protobuf field: shared.ModuleStatus.StatusVariant status = 3
|
|
150
20
|
*/
|
|
151
|
-
|
|
152
|
-
/**
|
|
153
|
-
* @generated from protobuf field: repeated shared.ActionStatusConfiguration configurations = 4
|
|
154
|
-
*/
|
|
155
|
-
configurations: ActionStatusConfiguration[];
|
|
21
|
+
status: ModuleStatus_StatusVariant;
|
|
156
22
|
}
|
|
157
23
|
/**
|
|
158
|
-
* @generated from protobuf enum shared.
|
|
24
|
+
* @generated from protobuf enum shared.ModuleStatus.StatusVariant
|
|
159
25
|
*/
|
|
160
|
-
export declare enum
|
|
26
|
+
export declare enum ModuleStatus_StatusVariant {
|
|
161
27
|
/**
|
|
162
28
|
* @generated from protobuf enum value: UNKNOWN = 0;
|
|
163
29
|
*/
|
|
@@ -179,54 +45,14 @@ export declare enum ActionStatus_Status {
|
|
|
179
45
|
*/
|
|
180
46
|
STOPPED = 4
|
|
181
47
|
}
|
|
182
|
-
declare class
|
|
183
|
-
constructor();
|
|
184
|
-
create(value?: PartialMessage<AdapterStatusConfiguration>): AdapterStatusConfiguration;
|
|
185
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AdapterStatusConfiguration): AdapterStatusConfiguration;
|
|
186
|
-
internalBinaryWrite(message: AdapterStatusConfiguration, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
187
|
-
}
|
|
188
|
-
/**
|
|
189
|
-
* @generated MessageType for protobuf message shared.AdapterStatusConfiguration
|
|
190
|
-
*/
|
|
191
|
-
export declare const AdapterStatusConfiguration: AdapterStatusConfiguration$Type;
|
|
192
|
-
declare class ActionStatusConfiguration$Type extends MessageType<ActionStatusConfiguration> {
|
|
193
|
-
constructor();
|
|
194
|
-
create(value?: PartialMessage<ActionStatusConfiguration>): ActionStatusConfiguration;
|
|
195
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActionStatusConfiguration): ActionStatusConfiguration;
|
|
196
|
-
internalBinaryWrite(message: ActionStatusConfiguration, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
197
|
-
}
|
|
198
|
-
/**
|
|
199
|
-
* @generated MessageType for protobuf message shared.ActionStatusConfiguration
|
|
200
|
-
*/
|
|
201
|
-
export declare const ActionStatusConfiguration: ActionStatusConfiguration$Type;
|
|
202
|
-
declare class AdapterRuntimeStatus$Type extends MessageType<AdapterRuntimeStatus> {
|
|
203
|
-
constructor();
|
|
204
|
-
create(value?: PartialMessage<AdapterRuntimeStatus>): AdapterRuntimeStatus;
|
|
205
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: AdapterRuntimeStatus): AdapterRuntimeStatus;
|
|
206
|
-
internalBinaryWrite(message: AdapterRuntimeStatus, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
207
|
-
}
|
|
208
|
-
/**
|
|
209
|
-
* @generated MessageType for protobuf message shared.AdapterRuntimeStatus
|
|
210
|
-
*/
|
|
211
|
-
export declare const AdapterRuntimeStatus: AdapterRuntimeStatus$Type;
|
|
212
|
-
declare class ExecutionRuntimeStatus$Type extends MessageType<ExecutionRuntimeStatus> {
|
|
213
|
-
constructor();
|
|
214
|
-
create(value?: PartialMessage<ExecutionRuntimeStatus>): ExecutionRuntimeStatus;
|
|
215
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExecutionRuntimeStatus): ExecutionRuntimeStatus;
|
|
216
|
-
internalBinaryWrite(message: ExecutionRuntimeStatus, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
217
|
-
}
|
|
218
|
-
/**
|
|
219
|
-
* @generated MessageType for protobuf message shared.ExecutionRuntimeStatus
|
|
220
|
-
*/
|
|
221
|
-
export declare const ExecutionRuntimeStatus: ExecutionRuntimeStatus$Type;
|
|
222
|
-
declare class ActionStatus$Type extends MessageType<ActionStatus> {
|
|
48
|
+
declare class ModuleStatus$Type extends MessageType<ModuleStatus> {
|
|
223
49
|
constructor();
|
|
224
|
-
create(value?: PartialMessage<
|
|
225
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?:
|
|
226
|
-
internalBinaryWrite(message:
|
|
50
|
+
create(value?: PartialMessage<ModuleStatus>): ModuleStatus;
|
|
51
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ModuleStatus): ModuleStatus;
|
|
52
|
+
internalBinaryWrite(message: ModuleStatus, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
227
53
|
}
|
|
228
54
|
/**
|
|
229
|
-
* @generated MessageType for protobuf message shared.
|
|
55
|
+
* @generated MessageType for protobuf message shared.ModuleStatus
|
|
230
56
|
*/
|
|
231
|
-
export declare const
|
|
57
|
+
export declare const ModuleStatus: ModuleStatus$Type;
|
|
232
58
|
export {};
|
package/dist/sagittarius.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./shared.function_pb-BErnwHWO.cjs`),t=require(`./shared.runtime_usage_pb-CSRup69H.cjs`),n=require(`./shared.flow_pb-DrDw61IF.cjs`),r=require(`./rpc-interceptor-DOeBkZHU.cjs`);var i=new class extends e.v{constructor(){super(`sagittarius.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.FlowResponse`,[{no:1,name:`updated_flow`,kind:`message`,oneof:`data`,T:()=>n.m},{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},{no:4,name:`module_configurations`,kind:`message`,oneof:`data`,T:()=>t.p}])}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(r,i,a,o){let s=o??this.create(),c=r.pos+i;for(;r.pos<c;){let[i,o]=r.tag();switch(i){case 1:s.data={oneofKind:`updatedFlow`,updatedFlow:n.m.internalBinaryRead(r,r.uint32(),a,s.data.updatedFlow)};break;case 2:s.data={oneofKind:`deletedFlowId`,deletedFlowId:r.int64().toBigInt()};break;case 3:s.data={oneofKind:`flows`,flows:n.i.internalBinaryRead(r,r.uint32(),a,s.data.flows)};break;case 4:s.data={oneofKind:`moduleConfigurations`,moduleConfigurations:t.p.internalBinaryRead(r,r.uint32(),a,s.data.moduleConfigurations)};break;default:let c=a.readUnknownField;if(c===`throw`)throw new globalThis.Error(`Unknown field ${i} (wire type ${o}) for ${this.typeName}`);let l=r.skip(o);c!==!1&&(c===!0?e.S.onRead:c)(this.typeName,s,i,o,l)}}return s}internalBinaryWrite(r,i,a){r.data.oneofKind===`updatedFlow`&&n.m.internalBinaryWrite(r.data.updatedFlow,i.tag(1,e.C.LengthDelimited).fork(),a).join(),r.data.oneofKind===`deletedFlowId`&&i.tag(2,e.C.Varint).int64(r.data.deletedFlowId),r.data.oneofKind===`flows`&&n.i.internalBinaryWrite(r.data.flows,i.tag(3,e.C.LengthDelimited).fork(),a).join(),r.data.oneofKind===`moduleConfigurations`&&t.p.internalBinaryWrite(r.data.moduleConfigurations,i.tag(4,e.C.LengthDelimited).fork(),a).join();let o=a.writeUnknownFields;return o!==!1&&(o==1?e.S.onWrite:o)(this.typeName,r,i),i}},o=new r.n(`sagittarius.FlowService`,[{name:`Update`,serverStreaming:!0,options:{},I:i,O:a}]),s=class{constructor(e){this._transport=e,this.typeName=o.typeName,this.methods=o.methods,this.options=o.options}update(e,t){let n=this.methods[0],i=this._transport.mergeOptions(t);return r.t(`serverStreaming`,this._transport,n,i,e)}},c=new class extends e.v{constructor(){super(`sagittarius.ModuleUpdateRequest`,[{no:1,name:`modules`,kind:`message`,repeat:2,T:()=>t.u}])}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.u.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.u.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}},l=new class extends e.v{constructor(){super(`sagittarius.ModuleUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8},{no:2,name:`error`,kind:`message`,T:()=>t.T}])}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.T.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.T.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}},u=new r.n(`sagittarius.ModuleService`,[{name:`Update`,options:{},I:c,O:l}]),d=class{constructor(e){this._transport=e,this.typeName=u.typeName,this.methods=u.methods,this.options=u.options}update(e,t){let n=this.methods[0],i=this._transport.mergeOptions(t);return r.t(`unary`,this._transport,n,i,e)}},f=new class extends e.v{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.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.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.S.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.pingId!==0n&&n.tag(1,e.C.Varint).int64(t.pingId);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},p=new r.n(`sagittarius.PingService`,[{name:`Ping`,options:{},I:f,O:f}]),m=class{constructor(e){this._transport=e,this.typeName=p.typeName,this.methods=p.methods,this.options=p.options}ping(e,t){let n=this.methods[0],i=this._transport.mergeOptions(t);return r.t(`unary`,this._transport,n,i,e)}},h=new class extends e.v{constructor(){super(`sagittarius.RuntimeStatusUpdateRequest`,[{no:1,name:`adapter_runtime_status`,kind:`message`,oneof:`status`,T:()=>t.a},{no:2,name:`execution_runtime_status`,kind:`message`,oneof:`status`,T:()=>t.c},{no:3,name:`action_status`,kind:`message`,oneof:`status`,T:()=>t.n}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.status={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.status={oneofKind:`adapterRuntimeStatus`,adapterRuntimeStatus:t.a.internalBinaryRead(n,n.uint32(),i,o.status.adapterRuntimeStatus)};break;case 2:o.status={oneofKind:`executionRuntimeStatus`,executionRuntimeStatus:t.c.internalBinaryRead(n,n.uint32(),i,o.status.executionRuntimeStatus)};break;case 3:o.status={oneofKind:`actionStatus`,actionStatus:t.n.internalBinaryRead(n,n.uint32(),i,o.status.actionStatus)};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.oneofKind===`adapterRuntimeStatus`&&t.a.internalBinaryWrite(n.status.adapterRuntimeStatus,r.tag(1,e.C.LengthDelimited).fork(),i).join(),n.status.oneofKind===`executionRuntimeStatus`&&t.c.internalBinaryWrite(n.status.executionRuntimeStatus,r.tag(2,e.C.LengthDelimited).fork(),i).join(),n.status.oneofKind===`actionStatus`&&t.n.internalBinaryWrite(n.status.actionStatus,r.tag(3,e.C.LengthDelimited).fork(),i).join();let a=i.writeUnknownFields;return a!==!1&&(a==1?e.S.onWrite:a)(this.typeName,n,r),r}},g=new class extends e.v{constructor(){super(`sagittarius.RuntimeStatusUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8},{no:2,name:`error`,kind:`message`,T:()=>t.T}])}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.T.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.T.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}},_=new r.n(`sagittarius.RuntimeStatusService`,[{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 n=this.methods[0],i=this._transport.mergeOptions(t);return r.t(`unary`,this._transport,n,i,e)}},y=new class extends e.v{constructor(){super(`sagittarius.RuntimeUsageRequest`,[{no:1,name:`runtime_usage`,kind:`message`,repeat:2,T:()=>t.t}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.runtimeUsage=[],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.runtimeUsage.push(t.t.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.runtimeUsage.length;a++)t.t.internalBinaryWrite(n.runtimeUsage[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}},b=new class extends e.v{constructor(){super(`sagittarius.RuntimeUsageResponse`,[{no:1,name:`success`,kind:`scalar`,T:8},{no:2,name:`error`,kind:`message`,T:()=>t.T}])}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.T.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.T.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}},x=new r.n(`sagittarius.RuntimeUsageService`,[{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 n=this.methods[0],i=this._transport.mergeOptions(t);return r.t(`unary`,this._transport,n,i,e)}},C=new class extends e.v{constructor(){super(`sagittarius.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}},w=new class extends e.v{constructor(){super(`sagittarius.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}},T=new class extends e.v{constructor(){super(`sagittarius.ExecutionLogonRequest`,[{no:1,name:`logon`,kind:`message`,oneof:`data`,T:()=>C},{no:2,name:`response`,kind:`message`,oneof:`data`,T:()=>t.b}])}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:C.internalBinaryRead(n,n.uint32(),i,o.data.logon)};break;case 2:o.data={oneofKind:`response`,response:t.b.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`&&C.internalBinaryWrite(n.data.logon,r.tag(1,e.C.LengthDelimited).fork(),i).join(),n.data.oneofKind===`response`&&t.b.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}},E=new class extends e.v{constructor(){super(`sagittarius.ExecutionLogonResponse`,[{no:1,name:`request`,kind:`message`,T:()=>w}])}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=w.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&&w.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 r.n(`sagittarius.ExecutionService`,[{name:`Test`,serverStreaming:!0,clientStreaming:!0,options:{},I:T,O:E}]),O=class{constructor(e){this._transport=e,this.typeName=D.typeName,this.methods=D.methods,this.options=D.options}test(e){let t=this.methods[0],n=this._transport.mergeOptions(e);return r.t(`duplex`,this._transport,t,n)}};exports.ExecutionLogonRequest=T,exports.ExecutionLogonResponse=E,exports.ExecutionService=D,exports.ExecutionServiceClient=O,exports.FlowLogonRequest=i,exports.FlowResponse=a,exports.FlowService=o,exports.FlowServiceClient=s,exports.Logon=C,exports.ModuleService=u,exports.ModuleServiceClient=d,exports.ModuleUpdateRequest=c,exports.ModuleUpdateResponse=l,exports.PingMessage=f,exports.PingService=p,exports.PingServiceClient=m,exports.RuntimeStatusService=_,exports.RuntimeStatusServiceClient=v,exports.RuntimeStatusUpdateRequest=h,exports.RuntimeStatusUpdateResponse=g,exports.RuntimeUsageRequest=y,exports.RuntimeUsageResponse=b,exports.RuntimeUsageService=x,exports.RuntimeUsageServiceClient=S,exports.TestExecutionRequest=w;
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./shared.function_pb-BErnwHWO.cjs`),t=require(`./shared.runtime_usage_pb-DqB5DUDk.cjs`),n=require(`./shared.flow_pb-DrDw61IF.cjs`),r=require(`./rpc-interceptor-DOeBkZHU.cjs`);var i=new class extends e.v{constructor(){super(`sagittarius.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.FlowResponse`,[{no:1,name:`updated_flow`,kind:`message`,oneof:`data`,T:()=>n.m},{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},{no:4,name:`module_configurations`,kind:`message`,oneof:`data`,T:()=>t.c}])}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(r,i,a,o){let s=o??this.create(),c=r.pos+i;for(;r.pos<c;){let[i,o]=r.tag();switch(i){case 1:s.data={oneofKind:`updatedFlow`,updatedFlow:n.m.internalBinaryRead(r,r.uint32(),a,s.data.updatedFlow)};break;case 2:s.data={oneofKind:`deletedFlowId`,deletedFlowId:r.int64().toBigInt()};break;case 3:s.data={oneofKind:`flows`,flows:n.i.internalBinaryRead(r,r.uint32(),a,s.data.flows)};break;case 4:s.data={oneofKind:`moduleConfigurations`,moduleConfigurations:t.c.internalBinaryRead(r,r.uint32(),a,s.data.moduleConfigurations)};break;default:let c=a.readUnknownField;if(c===`throw`)throw new globalThis.Error(`Unknown field ${i} (wire type ${o}) for ${this.typeName}`);let l=r.skip(o);c!==!1&&(c===!0?e.S.onRead:c)(this.typeName,s,i,o,l)}}return s}internalBinaryWrite(r,i,a){r.data.oneofKind===`updatedFlow`&&n.m.internalBinaryWrite(r.data.updatedFlow,i.tag(1,e.C.LengthDelimited).fork(),a).join(),r.data.oneofKind===`deletedFlowId`&&i.tag(2,e.C.Varint).int64(r.data.deletedFlowId),r.data.oneofKind===`flows`&&n.i.internalBinaryWrite(r.data.flows,i.tag(3,e.C.LengthDelimited).fork(),a).join(),r.data.oneofKind===`moduleConfigurations`&&t.c.internalBinaryWrite(r.data.moduleConfigurations,i.tag(4,e.C.LengthDelimited).fork(),a).join();let o=a.writeUnknownFields;return o!==!1&&(o==1?e.S.onWrite:o)(this.typeName,r,i),i}},o=new r.n(`sagittarius.FlowService`,[{name:`Update`,serverStreaming:!0,options:{},I:i,O:a}]),s=class{constructor(e){this._transport=e,this.typeName=o.typeName,this.methods=o.methods,this.options=o.options}update(e,t){let n=this.methods[0],i=this._transport.mergeOptions(t);return r.t(`serverStreaming`,this._transport,n,i,e)}},c=new class extends e.v{constructor(){super(`sagittarius.ModuleUpdateRequest`,[{no:1,name:`modules`,kind:`message`,repeat:2,T:()=>t.a}])}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.a.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.a.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}},l=new class extends e.v{constructor(){super(`sagittarius.ModuleUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8},{no:2,name:`error`,kind:`message`,T:()=>t.x}])}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.x.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.x.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}},u=new r.n(`sagittarius.ModuleService`,[{name:`Update`,options:{},I:c,O:l}]),d=class{constructor(e){this._transport=e,this.typeName=u.typeName,this.methods=u.methods,this.options=u.options}update(e,t){let n=this.methods[0],i=this._transport.mergeOptions(t);return r.t(`unary`,this._transport,n,i,e)}},f=new class extends e.v{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.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.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.S.onRead:o)(this.typeName,a,n,i,s)}}return a}internalBinaryWrite(t,n,r){t.pingId!==0n&&n.tag(1,e.C.Varint).int64(t.pingId);let i=r.writeUnknownFields;return i!==!1&&(i==1?e.S.onWrite:i)(this.typeName,t,n),n}},p=new r.n(`sagittarius.PingService`,[{name:`Ping`,options:{},I:f,O:f}]),m=class{constructor(e){this._transport=e,this.typeName=p.typeName,this.methods=p.methods,this.options=p.options}ping(e,t){let n=this.methods[0],i=this._transport.mergeOptions(t);return r.t(`unary`,this._transport,n,i,e)}},h=new class extends e.v{constructor(){super(`sagittarius.RuntimeStatusUpdateRequest`,[{no:1,name:`status`,kind:`message`,T:()=>t.n}])}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.n.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.n.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}},g=new class extends e.v{constructor(){super(`sagittarius.RuntimeStatusUpdateResponse`,[{no:1,name:`success`,kind:`scalar`,T:8},{no:2,name:`error`,kind:`message`,T:()=>t.x}])}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.x.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.x.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}},_=new r.n(`sagittarius.RuntimeStatusService`,[{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 n=this.methods[0],i=this._transport.mergeOptions(t);return r.t(`unary`,this._transport,n,i,e)}},y=new class extends e.v{constructor(){super(`sagittarius.RuntimeUsageRequest`,[{no:1,name:`runtime_usage`,kind:`message`,repeat:2,T:()=>t.t}])}create(t){let n=globalThis.Object.create(this.messagePrototype);return n.runtimeUsage=[],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.runtimeUsage.push(t.t.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.runtimeUsage.length;a++)t.t.internalBinaryWrite(n.runtimeUsage[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}},b=new class extends e.v{constructor(){super(`sagittarius.RuntimeUsageResponse`,[{no:1,name:`success`,kind:`scalar`,T:8},{no:2,name:`error`,kind:`message`,T:()=>t.x}])}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.x.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.x.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}},x=new r.n(`sagittarius.RuntimeUsageService`,[{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 n=this.methods[0],i=this._transport.mergeOptions(t);return r.t(`unary`,this._transport,n,i,e)}},C=new class extends e.v{constructor(){super(`sagittarius.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}},w=new class extends e.v{constructor(){super(`sagittarius.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}},T=new class extends e.v{constructor(){super(`sagittarius.ExecutionLogonRequest`,[{no:1,name:`logon`,kind:`message`,oneof:`data`,T:()=>C},{no:2,name:`response`,kind:`message`,oneof:`data`,T:()=>t.g}])}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:C.internalBinaryRead(n,n.uint32(),i,o.data.logon)};break;case 2:o.data={oneofKind:`response`,response:t.g.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`&&C.internalBinaryWrite(n.data.logon,r.tag(1,e.C.LengthDelimited).fork(),i).join(),n.data.oneofKind===`response`&&t.g.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}},E=new class extends e.v{constructor(){super(`sagittarius.ExecutionLogonResponse`,[{no:1,name:`request`,kind:`message`,T:()=>w}])}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=w.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&&w.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 r.n(`sagittarius.ExecutionService`,[{name:`Test`,serverStreaming:!0,clientStreaming:!0,options:{},I:T,O:E}]),O=class{constructor(e){this._transport=e,this.typeName=D.typeName,this.methods=D.methods,this.options=D.options}test(e){let t=this.methods[0],n=this._transport.mergeOptions(e);return r.t(`duplex`,this._transport,t,n)}};exports.ExecutionLogonRequest=T,exports.ExecutionLogonResponse=E,exports.ExecutionService=D,exports.ExecutionServiceClient=O,exports.FlowLogonRequest=i,exports.FlowResponse=a,exports.FlowService=o,exports.FlowServiceClient=s,exports.Logon=C,exports.ModuleService=u,exports.ModuleServiceClient=d,exports.ModuleUpdateRequest=c,exports.ModuleUpdateResponse=l,exports.PingMessage=f,exports.PingService=p,exports.PingServiceClient=m,exports.RuntimeStatusService=_,exports.RuntimeStatusServiceClient=v,exports.RuntimeStatusUpdateRequest=h,exports.RuntimeStatusUpdateResponse=g,exports.RuntimeUsageRequest=y,exports.RuntimeUsageResponse=b,exports.RuntimeUsageService=x,exports.RuntimeUsageServiceClient=S,exports.TestExecutionRequest=w;
|