@code0-tech/tucana 0.0.52 → 0.0.54

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.
@@ -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 "sagittarius.action_configuration.proto" (package "sagittarius", 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 sagittarius.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 sagittarius.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 sagittarius.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 sagittarius.ActionConfigurationUpdateResponse
61
+ */
62
+ export declare const ActionConfigurationUpdateResponse: ActionConfigurationUpdateResponse$Type;
63
+ /**
64
+ * @generated ServiceType for protobuf service sagittarius.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 "sagittarius.action_configuration.proto" (package "sagittarius", 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 "sagittarius.action_configuration.proto" (package "sagittarius", 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("sagittarius.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 sagittarius.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("sagittarius.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 sagittarius.ActionConfigurationUpdateResponse
113
+ */
114
+ export const ActionConfigurationUpdateResponse = new ActionConfigurationUpdateResponse$Type();
115
+ /**
116
+ * @generated ServiceType for protobuf service sagittarius.ActionConfigurationService
117
+ */
118
+ export const ActionConfigurationService = new ServiceType("sagittarius.ActionConfigurationService", [
119
+ { name: "Update", options: {}, I: ActionConfigurationUpdateRequest, O: ActionConfigurationUpdateResponse }
120
+ ]);
@@ -7,6 +7,7 @@ import type { BinaryReadOptions } from "@protobuf-ts/runtime";
7
7
  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
+ import { ActionConfigurations } from "./shared.action_configuration_pb";
10
11
  import { Flows } from "./shared.flow_pb";
11
12
  import { ValidationFlow } from "./shared.flow_pb";
12
13
  /**
@@ -49,6 +50,14 @@ export interface FlowResponse {
49
50
  * @generated from protobuf field: shared.Flows flows = 3
50
51
  */
51
52
  flows: Flows;
53
+ } | {
54
+ oneofKind: "actionConfigurations";
55
+ /**
56
+ * ActionConfigurations that have been configured by the user
57
+ *
58
+ * @generated from protobuf field: shared.ActionConfigurations action_configurations = 4
59
+ */
60
+ actionConfigurations: ActionConfigurations;
52
61
  } | {
53
62
  oneofKind: undefined;
54
63
  };
@@ -9,6 +9,7 @@ import { WireType } from "@protobuf-ts/runtime";
9
9
  import { UnknownFieldHandler } from "@protobuf-ts/runtime";
10
10
  import { reflectionMergePartial } from "@protobuf-ts/runtime";
11
11
  import { MessageType } from "@protobuf-ts/runtime";
12
+ import { ActionConfigurations } from "./shared.action_configuration_pb";
12
13
  import { Flows } from "./shared.flow_pb";
13
14
  import { ValidationFlow } from "./shared.flow_pb";
14
15
  // @generated message type with reflection information, may provide speed optimized methods
@@ -55,7 +56,8 @@ class FlowResponse$Type extends MessageType {
55
56
  super("sagittarius.FlowResponse", [
56
57
  { no: 1, name: "updated_flow", kind: "message", oneof: "data", T: () => ValidationFlow },
57
58
  { no: 2, name: "deleted_flow_id", kind: "scalar", oneof: "data", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
58
- { no: 3, name: "flows", kind: "message", oneof: "data", T: () => Flows }
59
+ { no: 3, name: "flows", kind: "message", oneof: "data", T: () => Flows },
60
+ { no: 4, name: "action_configurations", kind: "message", oneof: "data", T: () => ActionConfigurations }
59
61
  ]);
60
62
  }
61
63
  create(value) {
@@ -88,6 +90,12 @@ class FlowResponse$Type extends MessageType {
88
90
  flows: Flows.internalBinaryRead(reader, reader.uint32(), options, message.data.flows)
89
91
  };
90
92
  break;
93
+ case /* shared.ActionConfigurations action_configurations */ 4:
94
+ message.data = {
95
+ oneofKind: "actionConfigurations",
96
+ actionConfigurations: ActionConfigurations.internalBinaryRead(reader, reader.uint32(), options, message.data.actionConfigurations)
97
+ };
98
+ break;
91
99
  default:
92
100
  let u = options.readUnknownField;
93
101
  if (u === "throw")
@@ -109,6 +117,9 @@ class FlowResponse$Type extends MessageType {
109
117
  /* shared.Flows flows = 3; */
110
118
  if (message.data.oneofKind === "flows")
111
119
  Flows.internalBinaryWrite(message.data.flows, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
120
+ /* shared.ActionConfigurations action_configurations = 4; */
121
+ if (message.data.oneofKind === "actionConfigurations")
122
+ ActionConfigurations.internalBinaryWrite(message.data.actionConfigurations, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
112
123
  let u = options.writeUnknownFields;
113
124
  if (u !== false)
114
125
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -0,0 +1,100 @@
1
+ // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
2
+ // @generated from protobuf file "shared.action_configuration.proto" (package "shared", 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 { DefinitionDataType } from "./shared.data_type_pb";
11
+ import { Translation } from "./shared.translation_pb";
12
+ import { Value } from "./shared.struct_pb";
13
+ /**
14
+ * Message sent by Sagittarius to inform the Action about an ActionConfiguration value
15
+ *
16
+ * @generated from protobuf message shared.ActionConfiguration
17
+ */
18
+ export interface ActionConfiguration {
19
+ /**
20
+ * @generated from protobuf field: string identifier = 1
21
+ */
22
+ identifier: string;
23
+ /**
24
+ * @generated from protobuf field: int64 project_id = 2
25
+ */
26
+ projectId: bigint;
27
+ /**
28
+ * @generated from protobuf field: shared.Value value = 3
29
+ */
30
+ value?: Value;
31
+ }
32
+ /**
33
+ * Wrapper message containing a collection of ActionConfiguration instances
34
+ *
35
+ * @generated from protobuf message shared.ActionConfigurations
36
+ */
37
+ export interface ActionConfigurations {
38
+ /**
39
+ * @generated from protobuf field: repeated shared.ActionConfiguration action_configurations = 1
40
+ */
41
+ actionConfigurations: ActionConfiguration[];
42
+ }
43
+ /**
44
+ * Message sent by the Action to define a configuration
45
+ *
46
+ * @generated from protobuf message shared.ActionConfigurationDefinition
47
+ */
48
+ export interface ActionConfigurationDefinition {
49
+ /**
50
+ * @generated from protobuf field: repeated shared.Translation name = 1
51
+ */
52
+ name: Translation[];
53
+ /**
54
+ * @generated from protobuf field: repeated shared.Translation description = 2
55
+ */
56
+ description: Translation[];
57
+ /**
58
+ * @generated from protobuf field: shared.DefinitionDataType type = 3
59
+ */
60
+ type?: DefinitionDataType;
61
+ /**
62
+ * @generated from protobuf field: optional shared.Value default_value = 4
63
+ */
64
+ defaultValue?: Value;
65
+ /**
66
+ * @generated from protobuf field: string identifier = 5
67
+ */
68
+ identifier: string;
69
+ }
70
+ declare class ActionConfiguration$Type extends MessageType<ActionConfiguration> {
71
+ constructor();
72
+ create(value?: PartialMessage<ActionConfiguration>): ActionConfiguration;
73
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActionConfiguration): ActionConfiguration;
74
+ internalBinaryWrite(message: ActionConfiguration, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
75
+ }
76
+ /**
77
+ * @generated MessageType for protobuf message shared.ActionConfiguration
78
+ */
79
+ export declare const ActionConfiguration: ActionConfiguration$Type;
80
+ declare class ActionConfigurations$Type extends MessageType<ActionConfigurations> {
81
+ constructor();
82
+ create(value?: PartialMessage<ActionConfigurations>): ActionConfigurations;
83
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActionConfigurations): ActionConfigurations;
84
+ internalBinaryWrite(message: ActionConfigurations, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
85
+ }
86
+ /**
87
+ * @generated MessageType for protobuf message shared.ActionConfigurations
88
+ */
89
+ export declare const ActionConfigurations: ActionConfigurations$Type;
90
+ declare class ActionConfigurationDefinition$Type extends MessageType<ActionConfigurationDefinition> {
91
+ constructor();
92
+ create(value?: PartialMessage<ActionConfigurationDefinition>): ActionConfigurationDefinition;
93
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActionConfigurationDefinition): ActionConfigurationDefinition;
94
+ internalBinaryWrite(message: ActionConfigurationDefinition, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
95
+ }
96
+ /**
97
+ * @generated MessageType for protobuf message shared.ActionConfigurationDefinition
98
+ */
99
+ export declare const ActionConfigurationDefinition: ActionConfigurationDefinition$Type;
100
+ export {};
@@ -1,27 +1,26 @@
1
1
  // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
2
- // @generated from protobuf file "sagittarius.action.proto" (package "sagittarius", syntax proto3)
2
+ // @generated from protobuf file "shared.action_configuration.proto" (package "shared", syntax proto3)
3
3
  // tslint:disable
4
- // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
5
- // @generated from protobuf file "sagittarius.action.proto" (package "sagittarius", syntax proto3)
6
- // tslint:disable
7
- import { ServiceType } from "@protobuf-ts/runtime-rpc";
8
4
  import { WireType } from "@protobuf-ts/runtime";
9
5
  import { UnknownFieldHandler } from "@protobuf-ts/runtime";
10
6
  import { reflectionMergePartial } from "@protobuf-ts/runtime";
11
7
  import { MessageType } from "@protobuf-ts/runtime";
12
- import { RuntimeFunctionDefinition } from "./shared.runtime_function_pb";
8
+ import { DefinitionDataType } from "./shared.data_type_pb";
9
+ import { Translation } from "./shared.translation_pb";
10
+ import { Value } from "./shared.struct_pb";
13
11
  // @generated message type with reflection information, may provide speed optimized methods
14
- class ActionLogonRequest$Type extends MessageType {
12
+ class ActionConfiguration$Type extends MessageType {
15
13
  constructor() {
16
- super("sagittarius.ActionLogonRequest", [
14
+ super("shared.ActionConfiguration", [
17
15
  { no: 1, name: "identifier", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
18
- { no: 2, name: "function_definition", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => RuntimeFunctionDefinition }
16
+ { no: 2, name: "project_id", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
17
+ { no: 3, name: "value", kind: "message", T: () => Value }
19
18
  ]);
20
19
  }
21
20
  create(value) {
22
21
  const message = globalThis.Object.create((this.messagePrototype));
23
22
  message.identifier = "";
24
- message.functionDefinition = [];
23
+ message.projectId = 0n;
25
24
  if (value !== undefined)
26
25
  reflectionMergePartial(this, message, value);
27
26
  return message;
@@ -34,8 +33,11 @@ class ActionLogonRequest$Type extends MessageType {
34
33
  case /* string identifier */ 1:
35
34
  message.identifier = reader.string();
36
35
  break;
37
- case /* repeated shared.RuntimeFunctionDefinition function_definition */ 2:
38
- message.functionDefinition.push(RuntimeFunctionDefinition.internalBinaryRead(reader, reader.uint32(), options));
36
+ case /* int64 project_id */ 2:
37
+ message.projectId = reader.int64().toBigInt();
38
+ break;
39
+ case /* shared.Value value */ 3:
40
+ message.value = Value.internalBinaryRead(reader, reader.uint32(), options, message.value);
39
41
  break;
40
42
  default:
41
43
  let u = options.readUnknownField;
@@ -52,9 +54,12 @@ class ActionLogonRequest$Type extends MessageType {
52
54
  /* string identifier = 1; */
53
55
  if (message.identifier !== "")
54
56
  writer.tag(1, WireType.LengthDelimited).string(message.identifier);
55
- /* repeated shared.RuntimeFunctionDefinition function_definition = 2; */
56
- for (let i = 0; i < message.functionDefinition.length; i++)
57
- RuntimeFunctionDefinition.internalBinaryWrite(message.functionDefinition[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
57
+ /* int64 project_id = 2; */
58
+ if (message.projectId !== 0n)
59
+ writer.tag(2, WireType.Varint).int64(message.projectId);
60
+ /* shared.Value value = 3; */
61
+ if (message.value)
62
+ Value.internalBinaryWrite(message.value, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
58
63
  let u = options.writeUnknownFields;
59
64
  if (u !== false)
60
65
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -62,16 +67,19 @@ class ActionLogonRequest$Type extends MessageType {
62
67
  }
63
68
  }
64
69
  /**
65
- * @generated MessageType for protobuf message sagittarius.ActionLogonRequest
70
+ * @generated MessageType for protobuf message shared.ActionConfiguration
66
71
  */
67
- export const ActionLogonRequest = new ActionLogonRequest$Type();
72
+ export const ActionConfiguration = new ActionConfiguration$Type();
68
73
  // @generated message type with reflection information, may provide speed optimized methods
69
- class ActionLogonResponse$Type extends MessageType {
74
+ class ActionConfigurations$Type extends MessageType {
70
75
  constructor() {
71
- super("sagittarius.ActionLogonResponse", []);
76
+ super("shared.ActionConfigurations", [
77
+ { no: 1, name: "action_configurations", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ActionConfiguration }
78
+ ]);
72
79
  }
73
80
  create(value) {
74
81
  const message = globalThis.Object.create((this.messagePrototype));
82
+ message.actionConfigurations = [];
75
83
  if (value !== undefined)
76
84
  reflectionMergePartial(this, message, value);
77
85
  return message;
@@ -81,6 +89,9 @@ class ActionLogonResponse$Type extends MessageType {
81
89
  while (reader.pos < end) {
82
90
  let [fieldNo, wireType] = reader.tag();
83
91
  switch (fieldNo) {
92
+ case /* repeated shared.ActionConfiguration action_configurations */ 1:
93
+ message.actionConfigurations.push(ActionConfiguration.internalBinaryRead(reader, reader.uint32(), options));
94
+ break;
84
95
  default:
85
96
  let u = options.readUnknownField;
86
97
  if (u === "throw")
@@ -93,6 +104,9 @@ class ActionLogonResponse$Type extends MessageType {
93
104
  return message;
94
105
  }
95
106
  internalBinaryWrite(message, writer, options) {
107
+ /* repeated shared.ActionConfiguration action_configurations = 1; */
108
+ for (let i = 0; i < message.actionConfigurations.length; i++)
109
+ ActionConfiguration.internalBinaryWrite(message.actionConfigurations[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
96
110
  let u = options.writeUnknownFields;
97
111
  if (u !== false)
98
112
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -100,18 +114,24 @@ class ActionLogonResponse$Type extends MessageType {
100
114
  }
101
115
  }
102
116
  /**
103
- * @generated MessageType for protobuf message sagittarius.ActionLogonResponse
117
+ * @generated MessageType for protobuf message shared.ActionConfigurations
104
118
  */
105
- export const ActionLogonResponse = new ActionLogonResponse$Type();
119
+ export const ActionConfigurations = new ActionConfigurations$Type();
106
120
  // @generated message type with reflection information, may provide speed optimized methods
107
- class ActionLogoffRequest$Type extends MessageType {
121
+ class ActionConfigurationDefinition$Type extends MessageType {
108
122
  constructor() {
109
- super("sagittarius.ActionLogoffRequest", [
110
- { no: 1, name: "identifier", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
123
+ super("shared.ActionConfigurationDefinition", [
124
+ { no: 1, name: "name", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
125
+ { no: 2, name: "description", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
126
+ { no: 3, name: "type", kind: "message", T: () => DefinitionDataType },
127
+ { no: 4, name: "default_value", kind: "message", T: () => Value },
128
+ { no: 5, name: "identifier", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
111
129
  ]);
112
130
  }
113
131
  create(value) {
114
132
  const message = globalThis.Object.create((this.messagePrototype));
133
+ message.name = [];
134
+ message.description = [];
115
135
  message.identifier = "";
116
136
  if (value !== undefined)
117
137
  reflectionMergePartial(this, message, value);
@@ -122,7 +142,19 @@ class ActionLogoffRequest$Type extends MessageType {
122
142
  while (reader.pos < end) {
123
143
  let [fieldNo, wireType] = reader.tag();
124
144
  switch (fieldNo) {
125
- case /* string identifier */ 1:
145
+ case /* repeated shared.Translation name */ 1:
146
+ message.name.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
147
+ break;
148
+ case /* repeated shared.Translation description */ 2:
149
+ message.description.push(Translation.internalBinaryRead(reader, reader.uint32(), options));
150
+ break;
151
+ case /* shared.DefinitionDataType type */ 3:
152
+ message.type = DefinitionDataType.internalBinaryRead(reader, reader.uint32(), options, message.type);
153
+ break;
154
+ case /* optional shared.Value default_value */ 4:
155
+ message.defaultValue = Value.internalBinaryRead(reader, reader.uint32(), options, message.defaultValue);
156
+ break;
157
+ case /* string identifier */ 5:
126
158
  message.identifier = reader.string();
127
159
  break;
128
160
  default:
@@ -137,47 +169,21 @@ class ActionLogoffRequest$Type extends MessageType {
137
169
  return message;
138
170
  }
139
171
  internalBinaryWrite(message, writer, options) {
140
- /* string identifier = 1; */
172
+ /* repeated shared.Translation name = 1; */
173
+ for (let i = 0; i < message.name.length; i++)
174
+ Translation.internalBinaryWrite(message.name[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
175
+ /* repeated shared.Translation description = 2; */
176
+ for (let i = 0; i < message.description.length; i++)
177
+ Translation.internalBinaryWrite(message.description[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
178
+ /* shared.DefinitionDataType type = 3; */
179
+ if (message.type)
180
+ DefinitionDataType.internalBinaryWrite(message.type, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
181
+ /* optional shared.Value default_value = 4; */
182
+ if (message.defaultValue)
183
+ Value.internalBinaryWrite(message.defaultValue, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
184
+ /* string identifier = 5; */
141
185
  if (message.identifier !== "")
142
- writer.tag(1, WireType.LengthDelimited).string(message.identifier);
143
- let u = options.writeUnknownFields;
144
- if (u !== false)
145
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
146
- return writer;
147
- }
148
- }
149
- /**
150
- * @generated MessageType for protobuf message sagittarius.ActionLogoffRequest
151
- */
152
- export const ActionLogoffRequest = new ActionLogoffRequest$Type();
153
- // @generated message type with reflection information, may provide speed optimized methods
154
- class ActionLogoffResponse$Type extends MessageType {
155
- constructor() {
156
- super("sagittarius.ActionLogoffResponse", []);
157
- }
158
- create(value) {
159
- const message = globalThis.Object.create((this.messagePrototype));
160
- if (value !== undefined)
161
- reflectionMergePartial(this, message, value);
162
- return message;
163
- }
164
- internalBinaryRead(reader, length, options, target) {
165
- let message = target ?? this.create(), end = reader.pos + length;
166
- while (reader.pos < end) {
167
- let [fieldNo, wireType] = reader.tag();
168
- switch (fieldNo) {
169
- default:
170
- let u = options.readUnknownField;
171
- if (u === "throw")
172
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
173
- let d = reader.skip(wireType);
174
- if (u !== false)
175
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
176
- }
177
- }
178
- return message;
179
- }
180
- internalBinaryWrite(message, writer, options) {
186
+ writer.tag(5, WireType.LengthDelimited).string(message.identifier);
181
187
  let u = options.writeUnknownFields;
182
188
  if (u !== false)
183
189
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -185,13 +191,6 @@ class ActionLogoffResponse$Type extends MessageType {
185
191
  }
186
192
  }
187
193
  /**
188
- * @generated MessageType for protobuf message sagittarius.ActionLogoffResponse
189
- */
190
- export const ActionLogoffResponse = new ActionLogoffResponse$Type();
191
- /**
192
- * @generated ServiceType for protobuf service sagittarius.ActionService
194
+ * @generated MessageType for protobuf message shared.ActionConfigurationDefinition
193
195
  */
194
- export const ActionService = new ServiceType("sagittarius.ActionService", [
195
- { name: "Logon", options: {}, I: ActionLogonRequest, O: ActionLogonResponse },
196
- { name: "Logoff", options: {}, I: ActionLogoffRequest, O: ActionLogoffResponse }
197
- ]);
196
+ export const ActionConfigurationDefinition = new ActionConfigurationDefinition$Type();