@code0-tech/tucana 0.0.52 → 0.0.53
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/package.json +1 -1
- package/pb/aquila.action_configuration_pb.client.d.ts +32 -0
- package/pb/aquila.action_configuration_pb.client.js +23 -0
- package/pb/aquila.action_configuration_pb.d.ts +67 -0
- package/pb/aquila.action_configuration_pb.js +120 -0
- package/pb/aquila.action_pb.d.ts +15 -70
- package/pb/aquila.action_pb.js +19 -124
- package/pb/sagittarius.action_configuration_pb.client.d.ts +32 -0
- package/pb/sagittarius.action_configuration_pb.client.js +23 -0
- package/pb/sagittarius.action_configuration_pb.d.ts +67 -0
- package/pb/sagittarius.action_configuration_pb.js +120 -0
- package/pb/shared.action_configuration_pb.d.ts +44 -0
- package/pb/shared.action_configuration_pb.js +79 -0
- package/pb/shared.data_type_pb.d.ts +67 -109
- package/pb/shared.data_type_pb.js +70 -172
- package/pb/shared.flow_definition_pb.d.ts +3 -3
- package/pb/shared.flow_definition_pb.js +6 -6
- package/pb/shared.flow_pb.d.ts +82 -12
- package/pb/shared.flow_pb.js +153 -27
- package/pb/shared.runtime_function_pb.d.ts +3 -3
- package/pb/shared.runtime_function_pb.js +6 -6
- package/pb/sagittarius.action_pb.client.d.ts +0 -46
- package/pb/sagittarius.action_pb.client.js +0 -32
- package/pb/sagittarius.action_pb.d.ts +0 -95
- package/pb/sagittarius.action_pb.js +0 -197
package/package.json
CHANGED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
|
|
2
|
+
// @generated from protobuf file "aquila.action_configuration.proto" (package "aquila", syntax proto3)
|
|
3
|
+
// tslint:disable
|
|
4
|
+
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
5
|
+
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
6
|
+
import type { ActionConfigurationUpdateResponse } from "./aquila.action_configuration_pb";
|
|
7
|
+
import type { ActionConfigurationUpdateRequest } from "./aquila.action_configuration_pb";
|
|
8
|
+
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
9
|
+
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
10
|
+
/**
|
|
11
|
+
* @generated from protobuf service aquila.ActionConfigurationService
|
|
12
|
+
*/
|
|
13
|
+
export interface IActionConfigurationServiceClient {
|
|
14
|
+
/**
|
|
15
|
+
* @generated from protobuf rpc: Update
|
|
16
|
+
*/
|
|
17
|
+
update(input: ActionConfigurationUpdateRequest, options?: RpcOptions): UnaryCall<ActionConfigurationUpdateRequest, ActionConfigurationUpdateResponse>;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* @generated from protobuf service aquila.ActionConfigurationService
|
|
21
|
+
*/
|
|
22
|
+
export declare class ActionConfigurationServiceClient implements IActionConfigurationServiceClient, ServiceInfo {
|
|
23
|
+
private readonly _transport;
|
|
24
|
+
typeName: any;
|
|
25
|
+
methods: any;
|
|
26
|
+
options: any;
|
|
27
|
+
constructor(_transport: RpcTransport);
|
|
28
|
+
/**
|
|
29
|
+
* @generated from protobuf rpc: Update
|
|
30
|
+
*/
|
|
31
|
+
update(input: ActionConfigurationUpdateRequest, options?: RpcOptions): UnaryCall<ActionConfigurationUpdateRequest, ActionConfigurationUpdateResponse>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
|
|
2
|
+
// @generated from protobuf file "aquila.action_configuration.proto" (package "aquila", syntax proto3)
|
|
3
|
+
// tslint:disable
|
|
4
|
+
import { ActionConfigurationService } from "./aquila.action_configuration_pb";
|
|
5
|
+
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
6
|
+
/**
|
|
7
|
+
* @generated from protobuf service aquila.ActionConfigurationService
|
|
8
|
+
*/
|
|
9
|
+
export class ActionConfigurationServiceClient {
|
|
10
|
+
constructor(_transport) {
|
|
11
|
+
this._transport = _transport;
|
|
12
|
+
this.typeName = ActionConfigurationService.typeName;
|
|
13
|
+
this.methods = ActionConfigurationService.methods;
|
|
14
|
+
this.options = ActionConfigurationService.options;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @generated from protobuf rpc: Update
|
|
18
|
+
*/
|
|
19
|
+
update(input, options) {
|
|
20
|
+
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
21
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
|
|
2
|
+
// @generated from protobuf file "aquila.action_configuration.proto" (package "aquila", syntax proto3)
|
|
3
|
+
// tslint:disable
|
|
4
|
+
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
5
|
+
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
6
|
+
import type { BinaryReadOptions } from "@protobuf-ts/runtime";
|
|
7
|
+
import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
8
|
+
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
9
|
+
import { MessageType } from "@protobuf-ts/runtime";
|
|
10
|
+
import { ActionConfiguration } from "./shared.action_configuration_pb";
|
|
11
|
+
/**
|
|
12
|
+
* Request for updating a action configuration
|
|
13
|
+
*
|
|
14
|
+
* @generated from protobuf message aquila.ActionConfigurationUpdateRequest
|
|
15
|
+
*/
|
|
16
|
+
export interface ActionConfigurationUpdateRequest {
|
|
17
|
+
/**
|
|
18
|
+
* Name of the action
|
|
19
|
+
*
|
|
20
|
+
* @generated from protobuf field: string action_identifier = 1
|
|
21
|
+
*/
|
|
22
|
+
actionIdentifier: string;
|
|
23
|
+
/**
|
|
24
|
+
* List of action configurations that should be updated
|
|
25
|
+
*
|
|
26
|
+
* @generated from protobuf field: repeated shared.ActionConfiguration action_configurations = 2
|
|
27
|
+
*/
|
|
28
|
+
actionConfigurations: ActionConfiguration[];
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Response of updating a action configuration
|
|
32
|
+
*
|
|
33
|
+
* @generated from protobuf message aquila.ActionConfigurationUpdateResponse
|
|
34
|
+
*/
|
|
35
|
+
export interface ActionConfigurationUpdateResponse {
|
|
36
|
+
/**
|
|
37
|
+
* True if was successful, false if not
|
|
38
|
+
*
|
|
39
|
+
* @generated from protobuf field: bool success = 1
|
|
40
|
+
*/
|
|
41
|
+
success: boolean;
|
|
42
|
+
}
|
|
43
|
+
declare class ActionConfigurationUpdateRequest$Type extends MessageType<ActionConfigurationUpdateRequest> {
|
|
44
|
+
constructor();
|
|
45
|
+
create(value?: PartialMessage<ActionConfigurationUpdateRequest>): ActionConfigurationUpdateRequest;
|
|
46
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActionConfigurationUpdateRequest): ActionConfigurationUpdateRequest;
|
|
47
|
+
internalBinaryWrite(message: ActionConfigurationUpdateRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* @generated MessageType for protobuf message aquila.ActionConfigurationUpdateRequest
|
|
51
|
+
*/
|
|
52
|
+
export declare const ActionConfigurationUpdateRequest: ActionConfigurationUpdateRequest$Type;
|
|
53
|
+
declare class ActionConfigurationUpdateResponse$Type extends MessageType<ActionConfigurationUpdateResponse> {
|
|
54
|
+
constructor();
|
|
55
|
+
create(value?: PartialMessage<ActionConfigurationUpdateResponse>): ActionConfigurationUpdateResponse;
|
|
56
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActionConfigurationUpdateResponse): ActionConfigurationUpdateResponse;
|
|
57
|
+
internalBinaryWrite(message: ActionConfigurationUpdateResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* @generated MessageType for protobuf message aquila.ActionConfigurationUpdateResponse
|
|
61
|
+
*/
|
|
62
|
+
export declare const ActionConfigurationUpdateResponse: ActionConfigurationUpdateResponse$Type;
|
|
63
|
+
/**
|
|
64
|
+
* @generated ServiceType for protobuf service aquila.ActionConfigurationService
|
|
65
|
+
*/
|
|
66
|
+
export declare const ActionConfigurationService: any;
|
|
67
|
+
export {};
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
|
|
2
|
+
// @generated from protobuf file "aquila.action_configuration.proto" (package "aquila", syntax proto3)
|
|
3
|
+
// tslint:disable
|
|
4
|
+
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
|
|
5
|
+
// @generated from protobuf file "aquila.action_configuration.proto" (package "aquila", syntax proto3)
|
|
6
|
+
// tslint:disable
|
|
7
|
+
import { ServiceType } from "@protobuf-ts/runtime-rpc";
|
|
8
|
+
import { WireType } from "@protobuf-ts/runtime";
|
|
9
|
+
import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
10
|
+
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
11
|
+
import { MessageType } from "@protobuf-ts/runtime";
|
|
12
|
+
import { ActionConfiguration } from "./shared.action_configuration_pb";
|
|
13
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
14
|
+
class ActionConfigurationUpdateRequest$Type extends MessageType {
|
|
15
|
+
constructor() {
|
|
16
|
+
super("aquila.ActionConfigurationUpdateRequest", [
|
|
17
|
+
{ no: 1, name: "action_identifier", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
18
|
+
{ no: 2, name: "action_configurations", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ActionConfiguration }
|
|
19
|
+
]);
|
|
20
|
+
}
|
|
21
|
+
create(value) {
|
|
22
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
23
|
+
message.actionIdentifier = "";
|
|
24
|
+
message.actionConfigurations = [];
|
|
25
|
+
if (value !== undefined)
|
|
26
|
+
reflectionMergePartial(this, message, value);
|
|
27
|
+
return message;
|
|
28
|
+
}
|
|
29
|
+
internalBinaryRead(reader, length, options, target) {
|
|
30
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
31
|
+
while (reader.pos < end) {
|
|
32
|
+
let [fieldNo, wireType] = reader.tag();
|
|
33
|
+
switch (fieldNo) {
|
|
34
|
+
case /* string action_identifier */ 1:
|
|
35
|
+
message.actionIdentifier = reader.string();
|
|
36
|
+
break;
|
|
37
|
+
case /* repeated shared.ActionConfiguration action_configurations */ 2:
|
|
38
|
+
message.actionConfigurations.push(ActionConfiguration.internalBinaryRead(reader, reader.uint32(), options));
|
|
39
|
+
break;
|
|
40
|
+
default:
|
|
41
|
+
let u = options.readUnknownField;
|
|
42
|
+
if (u === "throw")
|
|
43
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
44
|
+
let d = reader.skip(wireType);
|
|
45
|
+
if (u !== false)
|
|
46
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
return message;
|
|
50
|
+
}
|
|
51
|
+
internalBinaryWrite(message, writer, options) {
|
|
52
|
+
/* string action_identifier = 1; */
|
|
53
|
+
if (message.actionIdentifier !== "")
|
|
54
|
+
writer.tag(1, WireType.LengthDelimited).string(message.actionIdentifier);
|
|
55
|
+
/* repeated shared.ActionConfiguration action_configurations = 2; */
|
|
56
|
+
for (let i = 0; i < message.actionConfigurations.length; i++)
|
|
57
|
+
ActionConfiguration.internalBinaryWrite(message.actionConfigurations[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
58
|
+
let u = options.writeUnknownFields;
|
|
59
|
+
if (u !== false)
|
|
60
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
61
|
+
return writer;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* @generated MessageType for protobuf message aquila.ActionConfigurationUpdateRequest
|
|
66
|
+
*/
|
|
67
|
+
export const ActionConfigurationUpdateRequest = new ActionConfigurationUpdateRequest$Type();
|
|
68
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
69
|
+
class ActionConfigurationUpdateResponse$Type extends MessageType {
|
|
70
|
+
constructor() {
|
|
71
|
+
super("aquila.ActionConfigurationUpdateResponse", [
|
|
72
|
+
{ no: 1, name: "success", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
73
|
+
]);
|
|
74
|
+
}
|
|
75
|
+
create(value) {
|
|
76
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
77
|
+
message.success = false;
|
|
78
|
+
if (value !== undefined)
|
|
79
|
+
reflectionMergePartial(this, message, value);
|
|
80
|
+
return message;
|
|
81
|
+
}
|
|
82
|
+
internalBinaryRead(reader, length, options, target) {
|
|
83
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
84
|
+
while (reader.pos < end) {
|
|
85
|
+
let [fieldNo, wireType] = reader.tag();
|
|
86
|
+
switch (fieldNo) {
|
|
87
|
+
case /* bool success */ 1:
|
|
88
|
+
message.success = reader.bool();
|
|
89
|
+
break;
|
|
90
|
+
default:
|
|
91
|
+
let u = options.readUnknownField;
|
|
92
|
+
if (u === "throw")
|
|
93
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
94
|
+
let d = reader.skip(wireType);
|
|
95
|
+
if (u !== false)
|
|
96
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
return message;
|
|
100
|
+
}
|
|
101
|
+
internalBinaryWrite(message, writer, options) {
|
|
102
|
+
/* bool success = 1; */
|
|
103
|
+
if (message.success !== false)
|
|
104
|
+
writer.tag(1, WireType.Varint).bool(message.success);
|
|
105
|
+
let u = options.writeUnknownFields;
|
|
106
|
+
if (u !== false)
|
|
107
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
108
|
+
return writer;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* @generated MessageType for protobuf message aquila.ActionConfigurationUpdateResponse
|
|
113
|
+
*/
|
|
114
|
+
export const ActionConfigurationUpdateResponse = new ActionConfigurationUpdateResponse$Type();
|
|
115
|
+
/**
|
|
116
|
+
* @generated ServiceType for protobuf service aquila.ActionConfigurationService
|
|
117
|
+
*/
|
|
118
|
+
export const ActionConfigurationService = new ServiceType("aquila.ActionConfigurationService", [
|
|
119
|
+
{ name: "Update", options: {}, I: ActionConfigurationUpdateRequest, O: ActionConfigurationUpdateResponse }
|
|
120
|
+
]);
|
package/pb/aquila.action_pb.d.ts
CHANGED
|
@@ -8,10 +8,6 @@ import type { IBinaryReader } from "@protobuf-ts/runtime";
|
|
|
8
8
|
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
9
9
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
10
10
|
import { Struct } from "./shared.struct_pb";
|
|
11
|
-
import { Translation } from "./shared.translation_pb";
|
|
12
|
-
import { FlowType } from "./shared.flow_definition_pb";
|
|
13
|
-
import { DefinitionDataType } from "./shared.data_type_pb";
|
|
14
|
-
import { RuntimeFunctionDefinition } from "./shared.runtime_function_pb";
|
|
15
11
|
import { Value } from "./shared.struct_pb";
|
|
16
12
|
/**
|
|
17
13
|
* Event that gets admitted by an action
|
|
@@ -35,60 +31,19 @@ export interface Event {
|
|
|
35
31
|
/**
|
|
36
32
|
* Action flow/event configuration
|
|
37
33
|
*
|
|
38
|
-
* @generated from protobuf message aquila.
|
|
34
|
+
* @generated from protobuf message aquila.ActionLogon
|
|
39
35
|
*/
|
|
40
|
-
export interface
|
|
36
|
+
export interface ActionLogon {
|
|
41
37
|
/**
|
|
42
38
|
* Action identifier
|
|
43
39
|
*
|
|
44
|
-
* @generated from protobuf field: string
|
|
40
|
+
* @generated from protobuf field: string action_identifier = 1
|
|
45
41
|
*/
|
|
46
|
-
|
|
42
|
+
actionIdentifier: string;
|
|
47
43
|
/**
|
|
48
44
|
* @generated from protobuf field: string version = 2
|
|
49
45
|
*/
|
|
50
46
|
version: string;
|
|
51
|
-
/**
|
|
52
|
-
* Flow Configuration
|
|
53
|
-
*
|
|
54
|
-
* @generated from protobuf field: repeated shared.RuntimeFunctionDefinition function_definitions = 3
|
|
55
|
-
*/
|
|
56
|
-
functionDefinitions: RuntimeFunctionDefinition[];
|
|
57
|
-
/**
|
|
58
|
-
* @generated from protobuf field: repeated shared.DefinitionDataType data_types = 4
|
|
59
|
-
*/
|
|
60
|
-
dataTypes: DefinitionDataType[];
|
|
61
|
-
/**
|
|
62
|
-
* @generated from protobuf field: repeated shared.FlowType flow_types = 5
|
|
63
|
-
*/
|
|
64
|
-
flowTypes: FlowType[];
|
|
65
|
-
/**
|
|
66
|
-
* Application Configuration
|
|
67
|
-
*
|
|
68
|
-
* @generated from protobuf field: repeated aquila.ActionConfiguration action_configurations = 6
|
|
69
|
-
*/
|
|
70
|
-
actionConfigurations: ActionConfiguration[];
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* @generated from protobuf message aquila.ActionConfiguration
|
|
74
|
-
*/
|
|
75
|
-
export interface ActionConfiguration {
|
|
76
|
-
/**
|
|
77
|
-
* @generated from protobuf field: repeated shared.Translation name = 1
|
|
78
|
-
*/
|
|
79
|
-
name: Translation[];
|
|
80
|
-
/**
|
|
81
|
-
* @generated from protobuf field: repeated shared.Translation description = 2
|
|
82
|
-
*/
|
|
83
|
-
description: Translation[];
|
|
84
|
-
/**
|
|
85
|
-
* @generated from protobuf field: shared.DefinitionDataType type = 3
|
|
86
|
-
*/
|
|
87
|
-
type?: DefinitionDataType;
|
|
88
|
-
/**
|
|
89
|
-
* @generated from protobuf field: optional shared.Value default_value = 4
|
|
90
|
-
*/
|
|
91
|
-
defaultValue?: Value;
|
|
92
47
|
}
|
|
93
48
|
/**
|
|
94
49
|
* Request to execute a request a flow
|
|
@@ -142,16 +97,16 @@ export interface TransferRequest {
|
|
|
142
97
|
* @generated from protobuf oneof: data
|
|
143
98
|
*/
|
|
144
99
|
data: {
|
|
145
|
-
oneofKind: "
|
|
100
|
+
oneofKind: "logon";
|
|
146
101
|
/**
|
|
147
|
-
*
|
|
102
|
+
* Identification of the action
|
|
148
103
|
*
|
|
149
104
|
* Expected behavior:
|
|
150
|
-
* Aquila will abort if the first request is not
|
|
105
|
+
* Aquila will abort if the first request is not an ActionLogon
|
|
151
106
|
*
|
|
152
|
-
* @generated from protobuf field: aquila.
|
|
107
|
+
* @generated from protobuf field: aquila.ActionLogon logon = 1
|
|
153
108
|
*/
|
|
154
|
-
|
|
109
|
+
logon: ActionLogon;
|
|
155
110
|
} | {
|
|
156
111
|
oneofKind: "event";
|
|
157
112
|
/**
|
|
@@ -193,26 +148,16 @@ declare class Event$Type extends MessageType<Event> {
|
|
|
193
148
|
* @generated MessageType for protobuf message aquila.Event
|
|
194
149
|
*/
|
|
195
150
|
export declare const Event: Event$Type;
|
|
196
|
-
declare class
|
|
197
|
-
constructor();
|
|
198
|
-
create(value?: PartialMessage<Configuration>): Configuration;
|
|
199
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Configuration): Configuration;
|
|
200
|
-
internalBinaryWrite(message: Configuration, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
201
|
-
}
|
|
202
|
-
/**
|
|
203
|
-
* @generated MessageType for protobuf message aquila.Configuration
|
|
204
|
-
*/
|
|
205
|
-
export declare const Configuration: Configuration$Type;
|
|
206
|
-
declare class ActionConfiguration$Type extends MessageType<ActionConfiguration> {
|
|
151
|
+
declare class ActionLogon$Type extends MessageType<ActionLogon> {
|
|
207
152
|
constructor();
|
|
208
|
-
create(value?: PartialMessage<
|
|
209
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?:
|
|
210
|
-
internalBinaryWrite(message:
|
|
153
|
+
create(value?: PartialMessage<ActionLogon>): ActionLogon;
|
|
154
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActionLogon): ActionLogon;
|
|
155
|
+
internalBinaryWrite(message: ActionLogon, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
211
156
|
}
|
|
212
157
|
/**
|
|
213
|
-
* @generated MessageType for protobuf message aquila.
|
|
158
|
+
* @generated MessageType for protobuf message aquila.ActionLogon
|
|
214
159
|
*/
|
|
215
|
-
export declare const
|
|
160
|
+
export declare const ActionLogon: ActionLogon$Type;
|
|
216
161
|
declare class ExecutionRequest$Type extends MessageType<ExecutionRequest> {
|
|
217
162
|
constructor();
|
|
218
163
|
create(value?: PartialMessage<ExecutionRequest>): ExecutionRequest;
|
package/pb/aquila.action_pb.js
CHANGED
|
@@ -10,10 +10,6 @@ import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
|
10
10
|
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
11
11
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
12
12
|
import { Struct } from "./shared.struct_pb";
|
|
13
|
-
import { Translation } from "./shared.translation_pb";
|
|
14
|
-
import { FlowType } from "./shared.flow_definition_pb";
|
|
15
|
-
import { DefinitionDataType } from "./shared.data_type_pb";
|
|
16
|
-
import { RuntimeFunctionDefinition } from "./shared.runtime_function_pb";
|
|
17
13
|
import { Value } from "./shared.struct_pb";
|
|
18
14
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
19
15
|
class Event$Type extends MessageType {
|
|
@@ -70,25 +66,17 @@ class Event$Type extends MessageType {
|
|
|
70
66
|
*/
|
|
71
67
|
export const Event = new Event$Type();
|
|
72
68
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
73
|
-
class
|
|
69
|
+
class ActionLogon$Type extends MessageType {
|
|
74
70
|
constructor() {
|
|
75
|
-
super("aquila.
|
|
76
|
-
{ no: 1, name: "
|
|
77
|
-
{ no: 2, name: "version", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
78
|
-
{ no: 3, name: "function_definitions", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => RuntimeFunctionDefinition },
|
|
79
|
-
{ no: 4, name: "data_types", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DefinitionDataType },
|
|
80
|
-
{ no: 5, name: "flow_types", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => FlowType },
|
|
81
|
-
{ no: 6, name: "action_configurations", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ActionConfiguration }
|
|
71
|
+
super("aquila.ActionLogon", [
|
|
72
|
+
{ no: 1, name: "action_identifier", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
73
|
+
{ no: 2, name: "version", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
82
74
|
]);
|
|
83
75
|
}
|
|
84
76
|
create(value) {
|
|
85
77
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
86
|
-
message.
|
|
78
|
+
message.actionIdentifier = "";
|
|
87
79
|
message.version = "";
|
|
88
|
-
message.functionDefinitions = [];
|
|
89
|
-
message.dataTypes = [];
|
|
90
|
-
message.flowTypes = [];
|
|
91
|
-
message.actionConfigurations = [];
|
|
92
80
|
if (value !== undefined)
|
|
93
81
|
reflectionMergePartial(this, message, value);
|
|
94
82
|
return message;
|
|
@@ -98,24 +86,12 @@ class Configuration$Type extends MessageType {
|
|
|
98
86
|
while (reader.pos < end) {
|
|
99
87
|
let [fieldNo, wireType] = reader.tag();
|
|
100
88
|
switch (fieldNo) {
|
|
101
|
-
case /* string
|
|
102
|
-
message.
|
|
89
|
+
case /* string action_identifier */ 1:
|
|
90
|
+
message.actionIdentifier = reader.string();
|
|
103
91
|
break;
|
|
104
92
|
case /* string version */ 2:
|
|
105
93
|
message.version = reader.string();
|
|
106
94
|
break;
|
|
107
|
-
case /* repeated shared.RuntimeFunctionDefinition function_definitions */ 3:
|
|
108
|
-
message.functionDefinitions.push(RuntimeFunctionDefinition.internalBinaryRead(reader, reader.uint32(), options));
|
|
109
|
-
break;
|
|
110
|
-
case /* repeated shared.DefinitionDataType data_types */ 4:
|
|
111
|
-
message.dataTypes.push(DefinitionDataType.internalBinaryRead(reader, reader.uint32(), options));
|
|
112
|
-
break;
|
|
113
|
-
case /* repeated shared.FlowType flow_types */ 5:
|
|
114
|
-
message.flowTypes.push(FlowType.internalBinaryRead(reader, reader.uint32(), options));
|
|
115
|
-
break;
|
|
116
|
-
case /* repeated aquila.ActionConfiguration action_configurations */ 6:
|
|
117
|
-
message.actionConfigurations.push(ActionConfiguration.internalBinaryRead(reader, reader.uint32(), options));
|
|
118
|
-
break;
|
|
119
95
|
default:
|
|
120
96
|
let u = options.readUnknownField;
|
|
121
97
|
if (u === "throw")
|
|
@@ -128,93 +104,12 @@ class Configuration$Type extends MessageType {
|
|
|
128
104
|
return message;
|
|
129
105
|
}
|
|
130
106
|
internalBinaryWrite(message, writer, options) {
|
|
131
|
-
/* string
|
|
132
|
-
if (message.
|
|
133
|
-
writer.tag(1, WireType.LengthDelimited).string(message.
|
|
107
|
+
/* string action_identifier = 1; */
|
|
108
|
+
if (message.actionIdentifier !== "")
|
|
109
|
+
writer.tag(1, WireType.LengthDelimited).string(message.actionIdentifier);
|
|
134
110
|
/* string version = 2; */
|
|
135
111
|
if (message.version !== "")
|
|
136
112
|
writer.tag(2, WireType.LengthDelimited).string(message.version);
|
|
137
|
-
/* repeated shared.RuntimeFunctionDefinition function_definitions = 3; */
|
|
138
|
-
for (let i = 0; i < message.functionDefinitions.length; i++)
|
|
139
|
-
RuntimeFunctionDefinition.internalBinaryWrite(message.functionDefinitions[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
140
|
-
/* repeated shared.DefinitionDataType data_types = 4; */
|
|
141
|
-
for (let i = 0; i < message.dataTypes.length; i++)
|
|
142
|
-
DefinitionDataType.internalBinaryWrite(message.dataTypes[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
143
|
-
/* repeated shared.FlowType flow_types = 5; */
|
|
144
|
-
for (let i = 0; i < message.flowTypes.length; i++)
|
|
145
|
-
FlowType.internalBinaryWrite(message.flowTypes[i], writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
|
146
|
-
/* repeated aquila.ActionConfiguration action_configurations = 6; */
|
|
147
|
-
for (let i = 0; i < message.actionConfigurations.length; i++)
|
|
148
|
-
ActionConfiguration.internalBinaryWrite(message.actionConfigurations[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
|
149
|
-
let u = options.writeUnknownFields;
|
|
150
|
-
if (u !== false)
|
|
151
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
152
|
-
return writer;
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
/**
|
|
156
|
-
* @generated MessageType for protobuf message aquila.Configuration
|
|
157
|
-
*/
|
|
158
|
-
export const Configuration = new Configuration$Type();
|
|
159
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
160
|
-
class ActionConfiguration$Type extends MessageType {
|
|
161
|
-
constructor() {
|
|
162
|
-
super("aquila.ActionConfiguration", [
|
|
163
|
-
{ no: 1, name: "name", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
|
|
164
|
-
{ no: 2, name: "description", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
|
|
165
|
-
{ no: 3, name: "type", kind: "message", T: () => DefinitionDataType },
|
|
166
|
-
{ no: 4, name: "default_value", kind: "message", T: () => Value }
|
|
167
|
-
]);
|
|
168
|
-
}
|
|
169
|
-
create(value) {
|
|
170
|
-
const message = globalThis.Object.create((this.messagePrototype));
|
|
171
|
-
message.name = [];
|
|
172
|
-
message.description = [];
|
|
173
|
-
if (value !== undefined)
|
|
174
|
-
reflectionMergePartial(this, message, value);
|
|
175
|
-
return message;
|
|
176
|
-
}
|
|
177
|
-
internalBinaryRead(reader, length, options, target) {
|
|
178
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
179
|
-
while (reader.pos < end) {
|
|
180
|
-
let [fieldNo, wireType] = reader.tag();
|
|
181
|
-
switch (fieldNo) {
|
|
182
|
-
case /* repeated shared.Translation name */ 1:
|
|
183
|
-
message.name.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
|
|
184
|
-
break;
|
|
185
|
-
case /* repeated shared.Translation description */ 2:
|
|
186
|
-
message.description.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
|
|
187
|
-
break;
|
|
188
|
-
case /* shared.DefinitionDataType type */ 3:
|
|
189
|
-
message.type = DefinitionDataType.internalBinaryRead(reader, reader.uint32(), options, message.type);
|
|
190
|
-
break;
|
|
191
|
-
case /* optional shared.Value default_value */ 4:
|
|
192
|
-
message.defaultValue = Value.internalBinaryRead(reader, reader.uint32(), options, message.defaultValue);
|
|
193
|
-
break;
|
|
194
|
-
default:
|
|
195
|
-
let u = options.readUnknownField;
|
|
196
|
-
if (u === "throw")
|
|
197
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
198
|
-
let d = reader.skip(wireType);
|
|
199
|
-
if (u !== false)
|
|
200
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
return message;
|
|
204
|
-
}
|
|
205
|
-
internalBinaryWrite(message, writer, options) {
|
|
206
|
-
/* repeated shared.Translation name = 1; */
|
|
207
|
-
for (let i = 0; i < message.name.length; i++)
|
|
208
|
-
Translation.internalBinaryWrite(message.name[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
209
|
-
/* repeated shared.Translation description = 2; */
|
|
210
|
-
for (let i = 0; i < message.description.length; i++)
|
|
211
|
-
Translation.internalBinaryWrite(message.description[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
212
|
-
/* shared.DefinitionDataType type = 3; */
|
|
213
|
-
if (message.type)
|
|
214
|
-
DefinitionDataType.internalBinaryWrite(message.type, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
215
|
-
/* optional shared.Value default_value = 4; */
|
|
216
|
-
if (message.defaultValue)
|
|
217
|
-
Value.internalBinaryWrite(message.defaultValue, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
218
113
|
let u = options.writeUnknownFields;
|
|
219
114
|
if (u !== false)
|
|
220
115
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -222,9 +117,9 @@ class ActionConfiguration$Type extends MessageType {
|
|
|
222
117
|
}
|
|
223
118
|
}
|
|
224
119
|
/**
|
|
225
|
-
* @generated MessageType for protobuf message aquila.
|
|
120
|
+
* @generated MessageType for protobuf message aquila.ActionLogon
|
|
226
121
|
*/
|
|
227
|
-
export const
|
|
122
|
+
export const ActionLogon = new ActionLogon$Type();
|
|
228
123
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
229
124
|
class ExecutionRequest$Type extends MessageType {
|
|
230
125
|
constructor() {
|
|
@@ -345,7 +240,7 @@ export const ExecutionResult = new ExecutionResult$Type();
|
|
|
345
240
|
class TransferRequest$Type extends MessageType {
|
|
346
241
|
constructor() {
|
|
347
242
|
super("aquila.TransferRequest", [
|
|
348
|
-
{ no: 1, name: "
|
|
243
|
+
{ no: 1, name: "logon", kind: "message", oneof: "data", T: () => ActionLogon },
|
|
349
244
|
{ no: 2, name: "event", kind: "message", oneof: "data", T: () => Event },
|
|
350
245
|
{ no: 3, name: "result", kind: "message", oneof: "data", T: () => ExecutionResult }
|
|
351
246
|
]);
|
|
@@ -362,10 +257,10 @@ class TransferRequest$Type extends MessageType {
|
|
|
362
257
|
while (reader.pos < end) {
|
|
363
258
|
let [fieldNo, wireType] = reader.tag();
|
|
364
259
|
switch (fieldNo) {
|
|
365
|
-
case /* aquila.
|
|
260
|
+
case /* aquila.ActionLogon logon */ 1:
|
|
366
261
|
message.data = {
|
|
367
|
-
oneofKind: "
|
|
368
|
-
|
|
262
|
+
oneofKind: "logon",
|
|
263
|
+
logon: ActionLogon.internalBinaryRead(reader, reader.uint32(), options, message.data.logon)
|
|
369
264
|
};
|
|
370
265
|
break;
|
|
371
266
|
case /* aquila.Event event */ 2:
|
|
@@ -392,9 +287,9 @@ class TransferRequest$Type extends MessageType {
|
|
|
392
287
|
return message;
|
|
393
288
|
}
|
|
394
289
|
internalBinaryWrite(message, writer, options) {
|
|
395
|
-
/* aquila.
|
|
396
|
-
if (message.data.oneofKind === "
|
|
397
|
-
|
|
290
|
+
/* aquila.ActionLogon logon = 1; */
|
|
291
|
+
if (message.data.oneofKind === "logon")
|
|
292
|
+
ActionLogon.internalBinaryWrite(message.data.logon, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
398
293
|
/* aquila.Event event = 2; */
|
|
399
294
|
if (message.data.oneofKind === "event")
|
|
400
295
|
Event.internalBinaryWrite(message.data.event, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
|
|
2
|
+
// @generated from protobuf file "sagittarius.action_configuration.proto" (package "sagittarius", syntax proto3)
|
|
3
|
+
// tslint:disable
|
|
4
|
+
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
|
|
5
|
+
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
|
|
6
|
+
import type { ActionConfigurationUpdateResponse } from "./sagittarius.action_configuration_pb";
|
|
7
|
+
import type { ActionConfigurationUpdateRequest } from "./sagittarius.action_configuration_pb";
|
|
8
|
+
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
|
|
9
|
+
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
|
|
10
|
+
/**
|
|
11
|
+
* @generated from protobuf service sagittarius.ActionConfigurationService
|
|
12
|
+
*/
|
|
13
|
+
export interface IActionConfigurationServiceClient {
|
|
14
|
+
/**
|
|
15
|
+
* @generated from protobuf rpc: Update
|
|
16
|
+
*/
|
|
17
|
+
update(input: ActionConfigurationUpdateRequest, options?: RpcOptions): UnaryCall<ActionConfigurationUpdateRequest, ActionConfigurationUpdateResponse>;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* @generated from protobuf service sagittarius.ActionConfigurationService
|
|
21
|
+
*/
|
|
22
|
+
export declare class ActionConfigurationServiceClient implements IActionConfigurationServiceClient, ServiceInfo {
|
|
23
|
+
private readonly _transport;
|
|
24
|
+
typeName: any;
|
|
25
|
+
methods: any;
|
|
26
|
+
options: any;
|
|
27
|
+
constructor(_transport: RpcTransport);
|
|
28
|
+
/**
|
|
29
|
+
* @generated from protobuf rpc: Update
|
|
30
|
+
*/
|
|
31
|
+
update(input: ActionConfigurationUpdateRequest, options?: RpcOptions): UnaryCall<ActionConfigurationUpdateRequest, ActionConfigurationUpdateResponse>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
|
|
2
|
+
// @generated from protobuf file "sagittarius.action_configuration.proto" (package "sagittarius", syntax proto3)
|
|
3
|
+
// tslint:disable
|
|
4
|
+
import { ActionConfigurationService } from "./sagittarius.action_configuration_pb";
|
|
5
|
+
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
|
|
6
|
+
/**
|
|
7
|
+
* @generated from protobuf service sagittarius.ActionConfigurationService
|
|
8
|
+
*/
|
|
9
|
+
export class ActionConfigurationServiceClient {
|
|
10
|
+
constructor(_transport) {
|
|
11
|
+
this._transport = _transport;
|
|
12
|
+
this.typeName = ActionConfigurationService.typeName;
|
|
13
|
+
this.methods = ActionConfigurationService.methods;
|
|
14
|
+
this.options = ActionConfigurationService.options;
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* @generated from protobuf rpc: Update
|
|
18
|
+
*/
|
|
19
|
+
update(input, options) {
|
|
20
|
+
const method = this.methods[0], opt = this._transport.mergeOptions(options);
|
|
21
|
+
return stackIntercept("unary", this._transport, method, opt, input);
|
|
22
|
+
}
|
|
23
|
+
}
|