@code0-tech/tucana 0.0.55 → 0.0.56
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_pb.d.ts +12 -1
- package/pb/aquila.action_pb.js +22 -5
- package/pb/shared.action_configuration_pb.d.ts +27 -6
- package/pb/shared.action_configuration_pb.js +64 -17
- package/pb/shared.runtime_function_pb.d.ts +17 -25
- package/pb/shared.runtime_function_pb.js +67 -82
- package/pb/aquila.action_configuration_pb.client.d.ts +0 -32
- package/pb/aquila.action_configuration_pb.client.js +0 -23
- package/pb/aquila.action_configuration_pb.d.ts +0 -67
- package/pb/aquila.action_configuration_pb.js +0 -120
package/package.json
CHANGED
package/pb/aquila.action_pb.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
|
9
9
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
10
10
|
import { ActionConfigurations } from "./shared.action_configuration_pb";
|
|
11
11
|
import { Struct } from "./shared.struct_pb";
|
|
12
|
+
import { ActionConfigurationDefinition } from "./shared.action_configuration_pb";
|
|
12
13
|
import { Value } from "./shared.struct_pb";
|
|
13
14
|
/**
|
|
14
15
|
* Event that gets admitted by an action
|
|
@@ -22,10 +23,16 @@ export interface Event {
|
|
|
22
23
|
* @generated from protobuf field: string event_type = 1
|
|
23
24
|
*/
|
|
24
25
|
eventType: string;
|
|
26
|
+
/**
|
|
27
|
+
* Project Id that this event is emitted for
|
|
28
|
+
*
|
|
29
|
+
* @generated from protobuf field: int64 project_id = 2
|
|
30
|
+
*/
|
|
31
|
+
projectId: bigint;
|
|
25
32
|
/**
|
|
26
33
|
* Payload (JSON) of event params
|
|
27
34
|
*
|
|
28
|
-
* @generated from protobuf field: shared.Value payload =
|
|
35
|
+
* @generated from protobuf field: shared.Value payload = 3
|
|
29
36
|
*/
|
|
30
37
|
payload?: Value;
|
|
31
38
|
}
|
|
@@ -45,6 +52,10 @@ export interface ActionLogon {
|
|
|
45
52
|
* @generated from protobuf field: string version = 2
|
|
46
53
|
*/
|
|
47
54
|
version: string;
|
|
55
|
+
/**
|
|
56
|
+
* @generated from protobuf field: repeated shared.ActionConfigurationDefinition action_configurations = 3
|
|
57
|
+
*/
|
|
58
|
+
actionConfigurations: ActionConfigurationDefinition[];
|
|
48
59
|
}
|
|
49
60
|
/**
|
|
50
61
|
* Request to execute a request a flow
|
package/pb/aquila.action_pb.js
CHANGED
|
@@ -11,18 +11,21 @@ import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
|
11
11
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
12
12
|
import { ActionConfigurations } from "./shared.action_configuration_pb";
|
|
13
13
|
import { Struct } from "./shared.struct_pb";
|
|
14
|
+
import { ActionConfigurationDefinition } from "./shared.action_configuration_pb";
|
|
14
15
|
import { Value } from "./shared.struct_pb";
|
|
15
16
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
16
17
|
class Event$Type extends MessageType {
|
|
17
18
|
constructor() {
|
|
18
19
|
super("aquila.Event", [
|
|
19
20
|
{ no: 1, name: "event_type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
20
|
-
{ no: 2, name: "
|
|
21
|
+
{ no: 2, name: "project_id", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
22
|
+
{ no: 3, name: "payload", kind: "message", T: () => Value }
|
|
21
23
|
]);
|
|
22
24
|
}
|
|
23
25
|
create(value) {
|
|
24
26
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
25
27
|
message.eventType = "";
|
|
28
|
+
message.projectId = 0n;
|
|
26
29
|
if (value !== undefined)
|
|
27
30
|
reflectionMergePartial(this, message, value);
|
|
28
31
|
return message;
|
|
@@ -35,7 +38,10 @@ class Event$Type extends MessageType {
|
|
|
35
38
|
case /* string event_type */ 1:
|
|
36
39
|
message.eventType = reader.string();
|
|
37
40
|
break;
|
|
38
|
-
case /*
|
|
41
|
+
case /* int64 project_id */ 2:
|
|
42
|
+
message.projectId = reader.int64().toBigInt();
|
|
43
|
+
break;
|
|
44
|
+
case /* shared.Value payload */ 3:
|
|
39
45
|
message.payload = Value.internalBinaryRead(reader, reader.uint32(), options, message.payload);
|
|
40
46
|
break;
|
|
41
47
|
default:
|
|
@@ -53,9 +59,12 @@ class Event$Type extends MessageType {
|
|
|
53
59
|
/* string event_type = 1; */
|
|
54
60
|
if (message.eventType !== "")
|
|
55
61
|
writer.tag(1, WireType.LengthDelimited).string(message.eventType);
|
|
56
|
-
/*
|
|
62
|
+
/* int64 project_id = 2; */
|
|
63
|
+
if (message.projectId !== 0n)
|
|
64
|
+
writer.tag(2, WireType.Varint).int64(message.projectId);
|
|
65
|
+
/* shared.Value payload = 3; */
|
|
57
66
|
if (message.payload)
|
|
58
|
-
Value.internalBinaryWrite(message.payload, writer.tag(
|
|
67
|
+
Value.internalBinaryWrite(message.payload, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
59
68
|
let u = options.writeUnknownFields;
|
|
60
69
|
if (u !== false)
|
|
61
70
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -71,13 +80,15 @@ class ActionLogon$Type extends MessageType {
|
|
|
71
80
|
constructor() {
|
|
72
81
|
super("aquila.ActionLogon", [
|
|
73
82
|
{ no: 1, name: "action_identifier", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
74
|
-
{ no: 2, name: "version", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
83
|
+
{ no: 2, name: "version", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
84
|
+
{ no: 3, name: "action_configurations", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ActionConfigurationDefinition }
|
|
75
85
|
]);
|
|
76
86
|
}
|
|
77
87
|
create(value) {
|
|
78
88
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
79
89
|
message.actionIdentifier = "";
|
|
80
90
|
message.version = "";
|
|
91
|
+
message.actionConfigurations = [];
|
|
81
92
|
if (value !== undefined)
|
|
82
93
|
reflectionMergePartial(this, message, value);
|
|
83
94
|
return message;
|
|
@@ -93,6 +104,9 @@ class ActionLogon$Type extends MessageType {
|
|
|
93
104
|
case /* string version */ 2:
|
|
94
105
|
message.version = reader.string();
|
|
95
106
|
break;
|
|
107
|
+
case /* repeated shared.ActionConfigurationDefinition action_configurations */ 3:
|
|
108
|
+
message.actionConfigurations.push(ActionConfigurationDefinition.internalBinaryRead(reader, reader.uint32(), options));
|
|
109
|
+
break;
|
|
96
110
|
default:
|
|
97
111
|
let u = options.readUnknownField;
|
|
98
112
|
if (u === "throw")
|
|
@@ -111,6 +125,9 @@ class ActionLogon$Type extends MessageType {
|
|
|
111
125
|
/* string version = 2; */
|
|
112
126
|
if (message.version !== "")
|
|
113
127
|
writer.tag(2, WireType.LengthDelimited).string(message.version);
|
|
128
|
+
/* repeated shared.ActionConfigurationDefinition action_configurations = 3; */
|
|
129
|
+
for (let i = 0; i < message.actionConfigurations.length; i++)
|
|
130
|
+
ActionConfigurationDefinition.internalBinaryWrite(message.actionConfigurations[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
114
131
|
let u = options.writeUnknownFields;
|
|
115
132
|
if (u !== false)
|
|
116
133
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -21,24 +21,35 @@ export interface ActionConfiguration {
|
|
|
21
21
|
*/
|
|
22
22
|
identifier: string;
|
|
23
23
|
/**
|
|
24
|
-
* @generated from protobuf field:
|
|
24
|
+
* @generated from protobuf field: shared.Value value = 2
|
|
25
|
+
*/
|
|
26
|
+
value?: Value;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Message representing a project configuration for an action
|
|
30
|
+
*
|
|
31
|
+
* @generated from protobuf message shared.ActionProjectConfiguration
|
|
32
|
+
*/
|
|
33
|
+
export interface ActionProjectConfiguration {
|
|
34
|
+
/**
|
|
35
|
+
* @generated from protobuf field: int64 project_id = 1
|
|
25
36
|
*/
|
|
26
37
|
projectId: bigint;
|
|
27
38
|
/**
|
|
28
|
-
* @generated from protobuf field: shared.
|
|
39
|
+
* @generated from protobuf field: repeated shared.ActionConfiguration action_configurations = 2
|
|
29
40
|
*/
|
|
30
|
-
|
|
41
|
+
actionConfigurations: ActionConfiguration[];
|
|
31
42
|
}
|
|
32
43
|
/**
|
|
33
|
-
* Wrapper message containing a collection of
|
|
44
|
+
* Wrapper message containing a collection of ActionProjectConfiguration instances
|
|
34
45
|
*
|
|
35
46
|
* @generated from protobuf message shared.ActionConfigurations
|
|
36
47
|
*/
|
|
37
48
|
export interface ActionConfigurations {
|
|
38
49
|
/**
|
|
39
|
-
* @generated from protobuf field: repeated shared.
|
|
50
|
+
* @generated from protobuf field: repeated shared.ActionProjectConfiguration action_configurations = 1
|
|
40
51
|
*/
|
|
41
|
-
actionConfigurations:
|
|
52
|
+
actionConfigurations: ActionProjectConfiguration[];
|
|
42
53
|
}
|
|
43
54
|
/**
|
|
44
55
|
* Message sent by the Action to define a configuration
|
|
@@ -77,6 +88,16 @@ declare class ActionConfiguration$Type extends MessageType<ActionConfiguration>
|
|
|
77
88
|
* @generated MessageType for protobuf message shared.ActionConfiguration
|
|
78
89
|
*/
|
|
79
90
|
export declare const ActionConfiguration: ActionConfiguration$Type;
|
|
91
|
+
declare class ActionProjectConfiguration$Type extends MessageType<ActionProjectConfiguration> {
|
|
92
|
+
constructor();
|
|
93
|
+
create(value?: PartialMessage<ActionProjectConfiguration>): ActionProjectConfiguration;
|
|
94
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActionProjectConfiguration): ActionProjectConfiguration;
|
|
95
|
+
internalBinaryWrite(message: ActionProjectConfiguration, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* @generated MessageType for protobuf message shared.ActionProjectConfiguration
|
|
99
|
+
*/
|
|
100
|
+
export declare const ActionProjectConfiguration: ActionProjectConfiguration$Type;
|
|
80
101
|
declare class ActionConfigurations$Type extends MessageType<ActionConfigurations> {
|
|
81
102
|
constructor();
|
|
82
103
|
create(value?: PartialMessage<ActionConfigurations>): ActionConfigurations;
|
|
@@ -13,14 +13,12 @@ class ActionConfiguration$Type extends MessageType {
|
|
|
13
13
|
constructor() {
|
|
14
14
|
super("shared.ActionConfiguration", [
|
|
15
15
|
{ no: 1, name: "identifier", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
16
|
-
{ no: 2, name: "
|
|
17
|
-
{ no: 3, name: "value", kind: "message", T: () => Value }
|
|
16
|
+
{ no: 2, name: "value", kind: "message", T: () => Value }
|
|
18
17
|
]);
|
|
19
18
|
}
|
|
20
19
|
create(value) {
|
|
21
20
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
22
21
|
message.identifier = "";
|
|
23
|
-
message.projectId = 0n;
|
|
24
22
|
if (value !== undefined)
|
|
25
23
|
reflectionMergePartial(this, message, value);
|
|
26
24
|
return message;
|
|
@@ -33,10 +31,7 @@ class ActionConfiguration$Type extends MessageType {
|
|
|
33
31
|
case /* string identifier */ 1:
|
|
34
32
|
message.identifier = reader.string();
|
|
35
33
|
break;
|
|
36
|
-
case /*
|
|
37
|
-
message.projectId = reader.int64().toBigInt();
|
|
38
|
-
break;
|
|
39
|
-
case /* shared.Value value */ 3:
|
|
34
|
+
case /* shared.Value value */ 2:
|
|
40
35
|
message.value = Value.internalBinaryRead(reader, reader.uint32(), options, message.value);
|
|
41
36
|
break;
|
|
42
37
|
default:
|
|
@@ -54,12 +49,9 @@ class ActionConfiguration$Type extends MessageType {
|
|
|
54
49
|
/* string identifier = 1; */
|
|
55
50
|
if (message.identifier !== "")
|
|
56
51
|
writer.tag(1, WireType.LengthDelimited).string(message.identifier);
|
|
57
|
-
/*
|
|
58
|
-
if (message.projectId !== 0n)
|
|
59
|
-
writer.tag(2, WireType.Varint).int64(message.projectId);
|
|
60
|
-
/* shared.Value value = 3; */
|
|
52
|
+
/* shared.Value value = 2; */
|
|
61
53
|
if (message.value)
|
|
62
|
-
Value.internalBinaryWrite(message.value, writer.tag(
|
|
54
|
+
Value.internalBinaryWrite(message.value, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
63
55
|
let u = options.writeUnknownFields;
|
|
64
56
|
if (u !== false)
|
|
65
57
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -71,10 +63,65 @@ class ActionConfiguration$Type extends MessageType {
|
|
|
71
63
|
*/
|
|
72
64
|
export const ActionConfiguration = new ActionConfiguration$Type();
|
|
73
65
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
66
|
+
class ActionProjectConfiguration$Type extends MessageType {
|
|
67
|
+
constructor() {
|
|
68
|
+
super("shared.ActionProjectConfiguration", [
|
|
69
|
+
{ no: 1, name: "project_id", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
|
|
70
|
+
{ no: 2, name: "action_configurations", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ActionConfiguration }
|
|
71
|
+
]);
|
|
72
|
+
}
|
|
73
|
+
create(value) {
|
|
74
|
+
const message = globalThis.Object.create((this.messagePrototype));
|
|
75
|
+
message.projectId = 0n;
|
|
76
|
+
message.actionConfigurations = [];
|
|
77
|
+
if (value !== undefined)
|
|
78
|
+
reflectionMergePartial(this, message, value);
|
|
79
|
+
return message;
|
|
80
|
+
}
|
|
81
|
+
internalBinaryRead(reader, length, options, target) {
|
|
82
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
83
|
+
while (reader.pos < end) {
|
|
84
|
+
let [fieldNo, wireType] = reader.tag();
|
|
85
|
+
switch (fieldNo) {
|
|
86
|
+
case /* int64 project_id */ 1:
|
|
87
|
+
message.projectId = reader.int64().toBigInt();
|
|
88
|
+
break;
|
|
89
|
+
case /* repeated shared.ActionConfiguration action_configurations */ 2:
|
|
90
|
+
message.actionConfigurations.push(ActionConfiguration.internalBinaryRead(reader, reader.uint32(), options));
|
|
91
|
+
break;
|
|
92
|
+
default:
|
|
93
|
+
let u = options.readUnknownField;
|
|
94
|
+
if (u === "throw")
|
|
95
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
96
|
+
let d = reader.skip(wireType);
|
|
97
|
+
if (u !== false)
|
|
98
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
return message;
|
|
102
|
+
}
|
|
103
|
+
internalBinaryWrite(message, writer, options) {
|
|
104
|
+
/* int64 project_id = 1; */
|
|
105
|
+
if (message.projectId !== 0n)
|
|
106
|
+
writer.tag(1, WireType.Varint).int64(message.projectId);
|
|
107
|
+
/* repeated shared.ActionConfiguration action_configurations = 2; */
|
|
108
|
+
for (let i = 0; i < message.actionConfigurations.length; i++)
|
|
109
|
+
ActionConfiguration.internalBinaryWrite(message.actionConfigurations[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
110
|
+
let u = options.writeUnknownFields;
|
|
111
|
+
if (u !== false)
|
|
112
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
113
|
+
return writer;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* @generated MessageType for protobuf message shared.ActionProjectConfiguration
|
|
118
|
+
*/
|
|
119
|
+
export const ActionProjectConfiguration = new ActionProjectConfiguration$Type();
|
|
120
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
74
121
|
class ActionConfigurations$Type extends MessageType {
|
|
75
122
|
constructor() {
|
|
76
123
|
super("shared.ActionConfigurations", [
|
|
77
|
-
{ no: 1, name: "action_configurations", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () =>
|
|
124
|
+
{ no: 1, name: "action_configurations", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ActionProjectConfiguration }
|
|
78
125
|
]);
|
|
79
126
|
}
|
|
80
127
|
create(value) {
|
|
@@ -89,8 +136,8 @@ class ActionConfigurations$Type extends MessageType {
|
|
|
89
136
|
while (reader.pos < end) {
|
|
90
137
|
let [fieldNo, wireType] = reader.tag();
|
|
91
138
|
switch (fieldNo) {
|
|
92
|
-
case /* repeated shared.
|
|
93
|
-
message.actionConfigurations.push(
|
|
139
|
+
case /* repeated shared.ActionProjectConfiguration action_configurations */ 1:
|
|
140
|
+
message.actionConfigurations.push(ActionProjectConfiguration.internalBinaryRead(reader, reader.uint32(), options));
|
|
94
141
|
break;
|
|
95
142
|
default:
|
|
96
143
|
let u = options.readUnknownField;
|
|
@@ -104,9 +151,9 @@ class ActionConfigurations$Type extends MessageType {
|
|
|
104
151
|
return message;
|
|
105
152
|
}
|
|
106
153
|
internalBinaryWrite(message, writer, options) {
|
|
107
|
-
/* repeated shared.
|
|
154
|
+
/* repeated shared.ActionProjectConfiguration action_configurations = 1; */
|
|
108
155
|
for (let i = 0; i < message.actionConfigurations.length; i++)
|
|
109
|
-
|
|
156
|
+
ActionProjectConfiguration.internalBinaryWrite(message.actionConfigurations[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
110
157
|
let u = options.writeUnknownFields;
|
|
111
158
|
if (u !== false)
|
|
112
159
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -24,62 +24,58 @@ export interface RuntimeFunctionDefinition {
|
|
|
24
24
|
*/
|
|
25
25
|
runtimeParameterDefinitions: RuntimeParameterDefinition[];
|
|
26
26
|
/**
|
|
27
|
-
* @generated from protobuf field:
|
|
27
|
+
* @generated from protobuf field: string signature = 3
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
signature: string;
|
|
30
30
|
/**
|
|
31
31
|
* @generated from protobuf field: bool throws_error = 4
|
|
32
32
|
*/
|
|
33
33
|
throwsError: boolean;
|
|
34
34
|
/**
|
|
35
|
-
* @generated from protobuf field: repeated
|
|
36
|
-
*/
|
|
37
|
-
genericKeys: string[];
|
|
38
|
-
/**
|
|
39
|
-
* @generated from protobuf field: repeated shared.Translation name = 6
|
|
35
|
+
* @generated from protobuf field: repeated shared.Translation name = 5
|
|
40
36
|
*/
|
|
41
37
|
name: Translation[];
|
|
42
38
|
/**
|
|
43
|
-
* @generated from protobuf field: repeated shared.Translation description =
|
|
39
|
+
* @generated from protobuf field: repeated shared.Translation description = 6
|
|
44
40
|
*/
|
|
45
41
|
description: Translation[];
|
|
46
42
|
/**
|
|
47
|
-
* @generated from protobuf field: repeated shared.Translation documentation =
|
|
43
|
+
* @generated from protobuf field: repeated shared.Translation documentation = 7
|
|
48
44
|
*/
|
|
49
45
|
documentation: Translation[];
|
|
50
46
|
/**
|
|
51
|
-
* @generated from protobuf field: repeated shared.Translation deprecation_message =
|
|
47
|
+
* @generated from protobuf field: repeated shared.Translation deprecation_message = 8
|
|
52
48
|
*/
|
|
53
49
|
deprecationMessage: Translation[];
|
|
54
50
|
/**
|
|
55
|
-
* @generated from protobuf field: repeated shared.Translation display_message =
|
|
51
|
+
* @generated from protobuf field: repeated shared.Translation display_message = 9
|
|
56
52
|
*/
|
|
57
53
|
displayMessage: Translation[];
|
|
58
54
|
/**
|
|
59
|
-
* @generated from protobuf field: repeated shared.Translation alias =
|
|
55
|
+
* @generated from protobuf field: repeated shared.Translation alias = 10
|
|
60
56
|
*/
|
|
61
57
|
alias: Translation[];
|
|
62
58
|
/**
|
|
63
59
|
* will link to all data types used in return_type or within the parameters type
|
|
64
60
|
*
|
|
65
|
-
* @generated from protobuf field: repeated string linked_data_type_identifiers =
|
|
61
|
+
* @generated from protobuf field: repeated string linked_data_type_identifiers = 11
|
|
66
62
|
*/
|
|
67
63
|
linkedDataTypeIdentifiers: string[];
|
|
68
64
|
/**
|
|
69
65
|
* Version of the runtime function
|
|
70
66
|
* Format: "major.minor.patch", e.g. "1.2.3"
|
|
71
67
|
*
|
|
72
|
-
* @generated from protobuf field: string version =
|
|
68
|
+
* @generated from protobuf field: string version = 12
|
|
73
69
|
*/
|
|
74
70
|
version: string;
|
|
75
71
|
/**
|
|
76
|
-
* @generated from protobuf field: string display_icon =
|
|
72
|
+
* @generated from protobuf field: string display_icon = 13
|
|
77
73
|
*/
|
|
78
74
|
displayIcon: string;
|
|
79
75
|
/**
|
|
80
76
|
* Identifier of the service that defines this definition
|
|
81
77
|
*
|
|
82
|
-
* @generated from protobuf field: string definition_source =
|
|
78
|
+
* @generated from protobuf field: string definition_source = 14
|
|
83
79
|
*/
|
|
84
80
|
definitionSource: string;
|
|
85
81
|
}
|
|
@@ -90,27 +86,23 @@ export interface RuntimeFunctionDefinition {
|
|
|
90
86
|
*/
|
|
91
87
|
export interface RuntimeParameterDefinition {
|
|
92
88
|
/**
|
|
93
|
-
* @generated from protobuf field: string
|
|
94
|
-
*/
|
|
95
|
-
type: string;
|
|
96
|
-
/**
|
|
97
|
-
* @generated from protobuf field: string runtime_name = 2
|
|
89
|
+
* @generated from protobuf field: string runtime_name = 1
|
|
98
90
|
*/
|
|
99
91
|
runtimeName: string;
|
|
100
92
|
/**
|
|
101
|
-
* @generated from protobuf field: optional shared.Value default_value =
|
|
93
|
+
* @generated from protobuf field: optional shared.Value default_value = 2
|
|
102
94
|
*/
|
|
103
95
|
defaultValue?: Value;
|
|
104
96
|
/**
|
|
105
|
-
* @generated from protobuf field: repeated shared.Translation name =
|
|
97
|
+
* @generated from protobuf field: repeated shared.Translation name = 3
|
|
106
98
|
*/
|
|
107
99
|
name: Translation[];
|
|
108
100
|
/**
|
|
109
|
-
* @generated from protobuf field: repeated shared.Translation description =
|
|
101
|
+
* @generated from protobuf field: repeated shared.Translation description = 4
|
|
110
102
|
*/
|
|
111
103
|
description: Translation[];
|
|
112
104
|
/**
|
|
113
|
-
* @generated from protobuf field: repeated shared.Translation documentation =
|
|
105
|
+
* @generated from protobuf field: repeated shared.Translation documentation = 5
|
|
114
106
|
*/
|
|
115
107
|
documentation: Translation[];
|
|
116
108
|
}
|
|
@@ -13,27 +13,26 @@ class RuntimeFunctionDefinition$Type extends MessageType {
|
|
|
13
13
|
super("shared.RuntimeFunctionDefinition", [
|
|
14
14
|
{ no: 1, name: "runtime_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
15
15
|
{ no: 2, name: "runtime_parameter_definitions", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => RuntimeParameterDefinition },
|
|
16
|
-
{ no: 3, name: "
|
|
16
|
+
{ no: 3, name: "signature", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
17
17
|
{ no: 4, name: "throws_error", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
18
|
-
{ no: 5, name: "
|
|
19
|
-
{ no: 6, name: "
|
|
20
|
-
{ no: 7, name: "
|
|
21
|
-
{ no: 8, name: "
|
|
22
|
-
{ no: 9, name: "
|
|
23
|
-
{ no: 10, name: "
|
|
24
|
-
{ no: 11, name: "
|
|
25
|
-
{ no: 12, name: "
|
|
26
|
-
{ no: 13, name: "
|
|
27
|
-
{ no: 14, name: "
|
|
28
|
-
{ no: 15, name: "definition_source", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
18
|
+
{ no: 5, name: "name", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
|
|
19
|
+
{ no: 6, name: "description", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
|
|
20
|
+
{ no: 7, name: "documentation", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
|
|
21
|
+
{ no: 8, name: "deprecation_message", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
|
|
22
|
+
{ no: 9, name: "display_message", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
|
|
23
|
+
{ no: 10, name: "alias", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
|
|
24
|
+
{ no: 11, name: "linked_data_type_identifiers", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
|
|
25
|
+
{ no: 12, name: "version", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
26
|
+
{ no: 13, name: "display_icon", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
27
|
+
{ no: 14, name: "definition_source", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
29
28
|
]);
|
|
30
29
|
}
|
|
31
30
|
create(value) {
|
|
32
31
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
33
32
|
message.runtimeName = "";
|
|
34
33
|
message.runtimeParameterDefinitions = [];
|
|
34
|
+
message.signature = "";
|
|
35
35
|
message.throwsError = false;
|
|
36
|
-
message.genericKeys = [];
|
|
37
36
|
message.name = [];
|
|
38
37
|
message.description = [];
|
|
39
38
|
message.documentation = [];
|
|
@@ -59,43 +58,40 @@ class RuntimeFunctionDefinition$Type extends MessageType {
|
|
|
59
58
|
case /* repeated shared.RuntimeParameterDefinition runtime_parameter_definitions */ 2:
|
|
60
59
|
message.runtimeParameterDefinitions.push(RuntimeParameterDefinition.internalBinaryRead(reader, reader.uint32(), options));
|
|
61
60
|
break;
|
|
62
|
-
case /*
|
|
63
|
-
message.
|
|
61
|
+
case /* string signature */ 3:
|
|
62
|
+
message.signature = reader.string();
|
|
64
63
|
break;
|
|
65
64
|
case /* bool throws_error */ 4:
|
|
66
65
|
message.throwsError = reader.bool();
|
|
67
66
|
break;
|
|
68
|
-
case /* repeated
|
|
69
|
-
message.genericKeys.push(reader.string());
|
|
70
|
-
break;
|
|
71
|
-
case /* repeated shared.Translation name */ 6:
|
|
67
|
+
case /* repeated shared.Translation name */ 5:
|
|
72
68
|
message.name.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
|
|
73
69
|
break;
|
|
74
|
-
case /* repeated shared.Translation description */
|
|
70
|
+
case /* repeated shared.Translation description */ 6:
|
|
75
71
|
message.description.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
|
|
76
72
|
break;
|
|
77
|
-
case /* repeated shared.Translation documentation */
|
|
73
|
+
case /* repeated shared.Translation documentation */ 7:
|
|
78
74
|
message.documentation.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
|
|
79
75
|
break;
|
|
80
|
-
case /* repeated shared.Translation deprecation_message */
|
|
76
|
+
case /* repeated shared.Translation deprecation_message */ 8:
|
|
81
77
|
message.deprecationMessage.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
|
|
82
78
|
break;
|
|
83
|
-
case /* repeated shared.Translation display_message */
|
|
79
|
+
case /* repeated shared.Translation display_message */ 9:
|
|
84
80
|
message.displayMessage.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
|
|
85
81
|
break;
|
|
86
|
-
case /* repeated shared.Translation alias */
|
|
82
|
+
case /* repeated shared.Translation alias */ 10:
|
|
87
83
|
message.alias.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
|
|
88
84
|
break;
|
|
89
|
-
case /* repeated string linked_data_type_identifiers */
|
|
85
|
+
case /* repeated string linked_data_type_identifiers */ 11:
|
|
90
86
|
message.linkedDataTypeIdentifiers.push(reader.string());
|
|
91
87
|
break;
|
|
92
|
-
case /* string version */
|
|
88
|
+
case /* string version */ 12:
|
|
93
89
|
message.version = reader.string();
|
|
94
90
|
break;
|
|
95
|
-
case /* string display_icon */
|
|
91
|
+
case /* string display_icon */ 13:
|
|
96
92
|
message.displayIcon = reader.string();
|
|
97
93
|
break;
|
|
98
|
-
case /* string definition_source */
|
|
94
|
+
case /* string definition_source */ 14:
|
|
99
95
|
message.definitionSource = reader.string();
|
|
100
96
|
break;
|
|
101
97
|
default:
|
|
@@ -116,45 +112,42 @@ class RuntimeFunctionDefinition$Type extends MessageType {
|
|
|
116
112
|
/* repeated shared.RuntimeParameterDefinition runtime_parameter_definitions = 2; */
|
|
117
113
|
for (let i = 0; i < message.runtimeParameterDefinitions.length; i++)
|
|
118
114
|
RuntimeParameterDefinition.internalBinaryWrite(message.runtimeParameterDefinitions[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
119
|
-
/*
|
|
120
|
-
if (message.
|
|
121
|
-
writer.tag(3, WireType.LengthDelimited).string(message.
|
|
115
|
+
/* string signature = 3; */
|
|
116
|
+
if (message.signature !== "")
|
|
117
|
+
writer.tag(3, WireType.LengthDelimited).string(message.signature);
|
|
122
118
|
/* bool throws_error = 4; */
|
|
123
119
|
if (message.throwsError !== false)
|
|
124
120
|
writer.tag(4, WireType.Varint).bool(message.throwsError);
|
|
125
|
-
/* repeated
|
|
126
|
-
for (let i = 0; i < message.genericKeys.length; i++)
|
|
127
|
-
writer.tag(5, WireType.LengthDelimited).string(message.genericKeys[i]);
|
|
128
|
-
/* repeated shared.Translation name = 6; */
|
|
121
|
+
/* repeated shared.Translation name = 5; */
|
|
129
122
|
for (let i = 0; i < message.name.length; i++)
|
|
130
|
-
Translation.internalBinaryWrite(message.name[i], writer.tag(
|
|
131
|
-
/* repeated shared.Translation description =
|
|
123
|
+
Translation.internalBinaryWrite(message.name[i], writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
|
124
|
+
/* repeated shared.Translation description = 6; */
|
|
132
125
|
for (let i = 0; i < message.description.length; i++)
|
|
133
|
-
Translation.internalBinaryWrite(message.description[i], writer.tag(
|
|
134
|
-
/* repeated shared.Translation documentation =
|
|
126
|
+
Translation.internalBinaryWrite(message.description[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
|
127
|
+
/* repeated shared.Translation documentation = 7; */
|
|
135
128
|
for (let i = 0; i < message.documentation.length; i++)
|
|
136
|
-
Translation.internalBinaryWrite(message.documentation[i], writer.tag(
|
|
137
|
-
/* repeated shared.Translation deprecation_message =
|
|
129
|
+
Translation.internalBinaryWrite(message.documentation[i], writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
|
130
|
+
/* repeated shared.Translation deprecation_message = 8; */
|
|
138
131
|
for (let i = 0; i < message.deprecationMessage.length; i++)
|
|
139
|
-
Translation.internalBinaryWrite(message.deprecationMessage[i], writer.tag(
|
|
140
|
-
/* repeated shared.Translation display_message =
|
|
132
|
+
Translation.internalBinaryWrite(message.deprecationMessage[i], writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
|
133
|
+
/* repeated shared.Translation display_message = 9; */
|
|
141
134
|
for (let i = 0; i < message.displayMessage.length; i++)
|
|
142
|
-
Translation.internalBinaryWrite(message.displayMessage[i], writer.tag(
|
|
143
|
-
/* repeated shared.Translation alias =
|
|
135
|
+
Translation.internalBinaryWrite(message.displayMessage[i], writer.tag(9, WireType.LengthDelimited).fork(), options).join();
|
|
136
|
+
/* repeated shared.Translation alias = 10; */
|
|
144
137
|
for (let i = 0; i < message.alias.length; i++)
|
|
145
|
-
Translation.internalBinaryWrite(message.alias[i], writer.tag(
|
|
146
|
-
/* repeated string linked_data_type_identifiers =
|
|
138
|
+
Translation.internalBinaryWrite(message.alias[i], writer.tag(10, WireType.LengthDelimited).fork(), options).join();
|
|
139
|
+
/* repeated string linked_data_type_identifiers = 11; */
|
|
147
140
|
for (let i = 0; i < message.linkedDataTypeIdentifiers.length; i++)
|
|
148
|
-
writer.tag(
|
|
149
|
-
/* string version =
|
|
141
|
+
writer.tag(11, WireType.LengthDelimited).string(message.linkedDataTypeIdentifiers[i]);
|
|
142
|
+
/* string version = 12; */
|
|
150
143
|
if (message.version !== "")
|
|
151
|
-
writer.tag(
|
|
152
|
-
/* string display_icon =
|
|
144
|
+
writer.tag(12, WireType.LengthDelimited).string(message.version);
|
|
145
|
+
/* string display_icon = 13; */
|
|
153
146
|
if (message.displayIcon !== "")
|
|
154
|
-
writer.tag(
|
|
155
|
-
/* string definition_source =
|
|
147
|
+
writer.tag(13, WireType.LengthDelimited).string(message.displayIcon);
|
|
148
|
+
/* string definition_source = 14; */
|
|
156
149
|
if (message.definitionSource !== "")
|
|
157
|
-
writer.tag(
|
|
150
|
+
writer.tag(14, WireType.LengthDelimited).string(message.definitionSource);
|
|
158
151
|
let u = options.writeUnknownFields;
|
|
159
152
|
if (u !== false)
|
|
160
153
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -169,17 +162,15 @@ export const RuntimeFunctionDefinition = new RuntimeFunctionDefinition$Type();
|
|
|
169
162
|
class RuntimeParameterDefinition$Type extends MessageType {
|
|
170
163
|
constructor() {
|
|
171
164
|
super("shared.RuntimeParameterDefinition", [
|
|
172
|
-
{ no: 1, name: "
|
|
173
|
-
{ no: 2, name: "
|
|
174
|
-
{ no: 3, name: "
|
|
175
|
-
{ no: 4, name: "
|
|
176
|
-
{ no: 5, name: "
|
|
177
|
-
{ no: 6, name: "documentation", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation }
|
|
165
|
+
{ no: 1, name: "runtime_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
166
|
+
{ no: 2, name: "default_value", kind: "message", T: () => Value },
|
|
167
|
+
{ no: 3, name: "name", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
|
|
168
|
+
{ no: 4, name: "description", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
|
|
169
|
+
{ no: 5, name: "documentation", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation }
|
|
178
170
|
]);
|
|
179
171
|
}
|
|
180
172
|
create(value) {
|
|
181
173
|
const message = globalThis.Object.create((this.messagePrototype));
|
|
182
|
-
message.type = "";
|
|
183
174
|
message.runtimeName = "";
|
|
184
175
|
message.name = [];
|
|
185
176
|
message.description = [];
|
|
@@ -193,22 +184,19 @@ class RuntimeParameterDefinition$Type extends MessageType {
|
|
|
193
184
|
while (reader.pos < end) {
|
|
194
185
|
let [fieldNo, wireType] = reader.tag();
|
|
195
186
|
switch (fieldNo) {
|
|
196
|
-
case /* string
|
|
197
|
-
message.type = reader.string();
|
|
198
|
-
break;
|
|
199
|
-
case /* string runtime_name */ 2:
|
|
187
|
+
case /* string runtime_name */ 1:
|
|
200
188
|
message.runtimeName = reader.string();
|
|
201
189
|
break;
|
|
202
|
-
case /* optional shared.Value default_value */
|
|
190
|
+
case /* optional shared.Value default_value */ 2:
|
|
203
191
|
message.defaultValue = Value.internalBinaryRead(reader, reader.uint32(), options, message.defaultValue);
|
|
204
192
|
break;
|
|
205
|
-
case /* repeated shared.Translation name */
|
|
193
|
+
case /* repeated shared.Translation name */ 3:
|
|
206
194
|
message.name.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
|
|
207
195
|
break;
|
|
208
|
-
case /* repeated shared.Translation description */
|
|
196
|
+
case /* repeated shared.Translation description */ 4:
|
|
209
197
|
message.description.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
|
|
210
198
|
break;
|
|
211
|
-
case /* repeated shared.Translation documentation */
|
|
199
|
+
case /* repeated shared.Translation documentation */ 5:
|
|
212
200
|
message.documentation.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
|
|
213
201
|
break;
|
|
214
202
|
default:
|
|
@@ -223,24 +211,21 @@ class RuntimeParameterDefinition$Type extends MessageType {
|
|
|
223
211
|
return message;
|
|
224
212
|
}
|
|
225
213
|
internalBinaryWrite(message, writer, options) {
|
|
226
|
-
/* string
|
|
227
|
-
if (message.type !== "")
|
|
228
|
-
writer.tag(1, WireType.LengthDelimited).string(message.type);
|
|
229
|
-
/* string runtime_name = 2; */
|
|
214
|
+
/* string runtime_name = 1; */
|
|
230
215
|
if (message.runtimeName !== "")
|
|
231
|
-
writer.tag(
|
|
232
|
-
/* optional shared.Value default_value =
|
|
216
|
+
writer.tag(1, WireType.LengthDelimited).string(message.runtimeName);
|
|
217
|
+
/* optional shared.Value default_value = 2; */
|
|
233
218
|
if (message.defaultValue)
|
|
234
|
-
Value.internalBinaryWrite(message.defaultValue, writer.tag(
|
|
235
|
-
/* repeated shared.Translation name =
|
|
219
|
+
Value.internalBinaryWrite(message.defaultValue, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
220
|
+
/* repeated shared.Translation name = 3; */
|
|
236
221
|
for (let i = 0; i < message.name.length; i++)
|
|
237
|
-
Translation.internalBinaryWrite(message.name[i], writer.tag(
|
|
238
|
-
/* repeated shared.Translation description =
|
|
222
|
+
Translation.internalBinaryWrite(message.name[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
223
|
+
/* repeated shared.Translation description = 4; */
|
|
239
224
|
for (let i = 0; i < message.description.length; i++)
|
|
240
|
-
Translation.internalBinaryWrite(message.description[i], writer.tag(
|
|
241
|
-
/* repeated shared.Translation documentation =
|
|
225
|
+
Translation.internalBinaryWrite(message.description[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
|
|
226
|
+
/* repeated shared.Translation documentation = 5; */
|
|
242
227
|
for (let i = 0; i < message.documentation.length; i++)
|
|
243
|
-
Translation.internalBinaryWrite(message.documentation[i], writer.tag(
|
|
228
|
+
Translation.internalBinaryWrite(message.documentation[i], writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
|
244
229
|
let u = options.writeUnknownFields;
|
|
245
230
|
if (u !== false)
|
|
246
231
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
@@ -1,32 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,67 +0,0 @@
|
|
|
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 { ActionConfigurationDefinition } 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.ActionConfigurationDefinition action_configurations = 2
|
|
27
|
-
*/
|
|
28
|
-
actionConfigurations: ActionConfigurationDefinition[];
|
|
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 {};
|
|
@@ -1,120 +0,0 @@
|
|
|
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 { ActionConfigurationDefinition } 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: () => ActionConfigurationDefinition }
|
|
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.ActionConfigurationDefinition action_configurations */ 2:
|
|
38
|
-
message.actionConfigurations.push(ActionConfigurationDefinition.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.ActionConfigurationDefinition action_configurations = 2; */
|
|
56
|
-
for (let i = 0; i < message.actionConfigurations.length; i++)
|
|
57
|
-
ActionConfigurationDefinition.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
|
-
]);
|