@code0-tech/tucana 0.0.53 → 0.0.55

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@code0-tech/tucana",
3
- "version": "0.0.53",
3
+ "version": "0.0.55",
4
4
  "description": "Code0 GRPC Protocol",
5
5
  "homepage": "https://github.com/code0-tech/tucana#readme",
6
6
  "bugs": {
@@ -7,7 +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 { ActionConfiguration } from "./shared.action_configuration_pb";
10
+ import { ActionConfigurationDefinition } from "./shared.action_configuration_pb";
11
11
  /**
12
12
  * Request for updating a action configuration
13
13
  *
@@ -23,9 +23,9 @@ export interface ActionConfigurationUpdateRequest {
23
23
  /**
24
24
  * List of action configurations that should be updated
25
25
  *
26
- * @generated from protobuf field: repeated shared.ActionConfiguration action_configurations = 2
26
+ * @generated from protobuf field: repeated shared.ActionConfigurationDefinition action_configurations = 2
27
27
  */
28
- actionConfigurations: ActionConfiguration[];
28
+ actionConfigurations: ActionConfigurationDefinition[];
29
29
  }
30
30
  /**
31
31
  * Response of updating a action configuration
@@ -9,13 +9,13 @@ 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 { ActionConfiguration } from "./shared.action_configuration_pb";
12
+ import { ActionConfigurationDefinition } from "./shared.action_configuration_pb";
13
13
  // @generated message type with reflection information, may provide speed optimized methods
14
14
  class ActionConfigurationUpdateRequest$Type extends MessageType {
15
15
  constructor() {
16
16
  super("aquila.ActionConfigurationUpdateRequest", [
17
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 }
18
+ { no: 2, name: "action_configurations", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ActionConfigurationDefinition }
19
19
  ]);
20
20
  }
21
21
  create(value) {
@@ -34,8 +34,8 @@ class ActionConfigurationUpdateRequest$Type extends MessageType {
34
34
  case /* string action_identifier */ 1:
35
35
  message.actionIdentifier = reader.string();
36
36
  break;
37
- case /* repeated shared.ActionConfiguration action_configurations */ 2:
38
- message.actionConfigurations.push(ActionConfiguration.internalBinaryRead(reader, reader.uint32(), options));
37
+ case /* repeated shared.ActionConfigurationDefinition action_configurations */ 2:
38
+ message.actionConfigurations.push(ActionConfigurationDefinition.internalBinaryRead(reader, reader.uint32(), options));
39
39
  break;
40
40
  default:
41
41
  let u = options.readUnknownField;
@@ -52,9 +52,9 @@ class ActionConfigurationUpdateRequest$Type extends MessageType {
52
52
  /* string action_identifier = 1; */
53
53
  if (message.actionIdentifier !== "")
54
54
  writer.tag(1, WireType.LengthDelimited).string(message.actionIdentifier);
55
- /* repeated shared.ActionConfiguration action_configurations = 2; */
55
+ /* repeated shared.ActionConfigurationDefinition action_configurations = 2; */
56
56
  for (let i = 0; i < message.actionConfigurations.length; i++)
57
- ActionConfiguration.internalBinaryWrite(message.actionConfigurations[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
57
+ ActionConfigurationDefinition.internalBinaryWrite(message.actionConfigurations[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
58
58
  let u = options.writeUnknownFields;
59
59
  if (u !== false)
60
60
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -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 { Struct } from "./shared.struct_pb";
11
12
  import { Value } from "./shared.struct_pb";
12
13
  /**
@@ -132,11 +133,27 @@ export interface TransferRequest {
132
133
  */
133
134
  export interface TransferResponse {
134
135
  /**
135
- * Execution request
136
- *
137
- * @generated from protobuf field: aquila.ExecutionRequest execution = 1
136
+ * @generated from protobuf oneof: data
138
137
  */
139
- execution?: ExecutionRequest;
138
+ data: {
139
+ oneofKind: "execution";
140
+ /**
141
+ * Execution request
142
+ *
143
+ * @generated from protobuf field: aquila.ExecutionRequest execution = 1
144
+ */
145
+ execution: ExecutionRequest;
146
+ } | {
147
+ oneofKind: "actionConfigurations";
148
+ /**
149
+ * ActionConfigurations that have been configured by the user
150
+ *
151
+ * @generated from protobuf field: shared.ActionConfigurations action_configurations = 2
152
+ */
153
+ actionConfigurations: ActionConfigurations;
154
+ } | {
155
+ oneofKind: undefined;
156
+ };
140
157
  }
141
158
  declare class Event$Type extends MessageType<Event> {
142
159
  constructor();
@@ -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 { Struct } from "./shared.struct_pb";
13
14
  import { Value } from "./shared.struct_pb";
14
15
  // @generated message type with reflection information, may provide speed optimized methods
@@ -310,11 +311,13 @@ export const TransferRequest = new TransferRequest$Type();
310
311
  class TransferResponse$Type extends MessageType {
311
312
  constructor() {
312
313
  super("aquila.TransferResponse", [
313
- { no: 1, name: "execution", kind: "message", T: () => ExecutionRequest }
314
+ { no: 1, name: "execution", kind: "message", oneof: "data", T: () => ExecutionRequest },
315
+ { no: 2, name: "action_configurations", kind: "message", oneof: "data", T: () => ActionConfigurations }
314
316
  ]);
315
317
  }
316
318
  create(value) {
317
319
  const message = globalThis.Object.create((this.messagePrototype));
320
+ message.data = { oneofKind: undefined };
318
321
  if (value !== undefined)
319
322
  reflectionMergePartial(this, message, value);
320
323
  return message;
@@ -325,7 +328,16 @@ class TransferResponse$Type extends MessageType {
325
328
  let [fieldNo, wireType] = reader.tag();
326
329
  switch (fieldNo) {
327
330
  case /* aquila.ExecutionRequest execution */ 1:
328
- message.execution = ExecutionRequest.internalBinaryRead(reader, reader.uint32(), options, message.execution);
331
+ message.data = {
332
+ oneofKind: "execution",
333
+ execution: ExecutionRequest.internalBinaryRead(reader, reader.uint32(), options, message.data.execution)
334
+ };
335
+ break;
336
+ case /* shared.ActionConfigurations action_configurations */ 2:
337
+ message.data = {
338
+ oneofKind: "actionConfigurations",
339
+ actionConfigurations: ActionConfigurations.internalBinaryRead(reader, reader.uint32(), options, message.data.actionConfigurations)
340
+ };
329
341
  break;
330
342
  default:
331
343
  let u = options.readUnknownField;
@@ -340,8 +352,11 @@ class TransferResponse$Type extends MessageType {
340
352
  }
341
353
  internalBinaryWrite(message, writer, options) {
342
354
  /* aquila.ExecutionRequest execution = 1; */
343
- if (message.execution)
344
- ExecutionRequest.internalBinaryWrite(message.execution, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
355
+ if (message.data.oneofKind === "execution")
356
+ ExecutionRequest.internalBinaryWrite(message.data.execution, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
357
+ /* shared.ActionConfigurations action_configurations = 2; */
358
+ if (message.data.oneofKind === "actionConfigurations")
359
+ ActionConfigurations.internalBinaryWrite(message.data.actionConfigurations, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
345
360
  let u = options.writeUnknownFields;
346
361
  if (u !== false)
347
362
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -7,7 +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 { ActionConfiguration } from "./shared.action_configuration_pb";
10
+ import { ActionConfigurationDefinition } from "./shared.action_configuration_pb";
11
11
  /**
12
12
  * Request for updating a action configuration
13
13
  *
@@ -23,9 +23,9 @@ export interface ActionConfigurationUpdateRequest {
23
23
  /**
24
24
  * List of action configurations that should be updated
25
25
  *
26
- * @generated from protobuf field: repeated shared.ActionConfiguration action_configurations = 2
26
+ * @generated from protobuf field: repeated shared.ActionConfigurationDefinition action_configurations = 2
27
27
  */
28
- actionConfigurations: ActionConfiguration[];
28
+ actionConfigurations: ActionConfigurationDefinition[];
29
29
  }
30
30
  /**
31
31
  * Response of updating a action configuration
@@ -9,13 +9,13 @@ 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 { ActionConfiguration } from "./shared.action_configuration_pb";
12
+ import { ActionConfigurationDefinition } from "./shared.action_configuration_pb";
13
13
  // @generated message type with reflection information, may provide speed optimized methods
14
14
  class ActionConfigurationUpdateRequest$Type extends MessageType {
15
15
  constructor() {
16
16
  super("sagittarius.ActionConfigurationUpdateRequest", [
17
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 }
18
+ { no: 2, name: "action_configurations", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ActionConfigurationDefinition }
19
19
  ]);
20
20
  }
21
21
  create(value) {
@@ -34,8 +34,8 @@ class ActionConfigurationUpdateRequest$Type extends MessageType {
34
34
  case /* string action_identifier */ 1:
35
35
  message.actionIdentifier = reader.string();
36
36
  break;
37
- case /* repeated shared.ActionConfiguration action_configurations */ 2:
38
- message.actionConfigurations.push(ActionConfiguration.internalBinaryRead(reader, reader.uint32(), options));
37
+ case /* repeated shared.ActionConfigurationDefinition action_configurations */ 2:
38
+ message.actionConfigurations.push(ActionConfigurationDefinition.internalBinaryRead(reader, reader.uint32(), options));
39
39
  break;
40
40
  default:
41
41
  let u = options.readUnknownField;
@@ -52,9 +52,9 @@ class ActionConfigurationUpdateRequest$Type extends MessageType {
52
52
  /* string action_identifier = 1; */
53
53
  if (message.actionIdentifier !== "")
54
54
  writer.tag(1, WireType.LengthDelimited).string(message.actionIdentifier);
55
- /* repeated shared.ActionConfiguration action_configurations = 2; */
55
+ /* repeated shared.ActionConfigurationDefinition action_configurations = 2; */
56
56
  for (let i = 0; i < message.actionConfigurations.length; i++)
57
- ActionConfiguration.internalBinaryWrite(message.actionConfigurations[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
57
+ ActionConfigurationDefinition.internalBinaryWrite(message.actionConfigurations[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
58
58
  let u = options.writeUnknownFields;
59
59
  if (u !== false)
60
60
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -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);
@@ -7,13 +7,45 @@ 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 { Value } from "./shared.struct_pb";
11
10
  import { DefinitionDataType } from "./shared.data_type_pb";
12
11
  import { Translation } from "./shared.translation_pb";
12
+ import { Value } from "./shared.struct_pb";
13
13
  /**
14
+ * Message sent by Sagittarius to inform the Action about an ActionConfiguration value
15
+ *
14
16
  * @generated from protobuf message shared.ActionConfiguration
15
17
  */
16
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 {
17
49
  /**
18
50
  * @generated from protobuf field: repeated shared.Translation name = 1
19
51
  */
@@ -30,6 +62,10 @@ export interface ActionConfiguration {
30
62
  * @generated from protobuf field: optional shared.Value default_value = 4
31
63
  */
32
64
  defaultValue?: Value;
65
+ /**
66
+ * @generated from protobuf field: string identifier = 5
67
+ */
68
+ identifier: string;
33
69
  }
34
70
  declare class ActionConfiguration$Type extends MessageType<ActionConfiguration> {
35
71
  constructor();
@@ -41,4 +77,24 @@ declare class ActionConfiguration$Type extends MessageType<ActionConfiguration>
41
77
  * @generated MessageType for protobuf message shared.ActionConfiguration
42
78
  */
43
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;
44
100
  export {};
@@ -5,23 +5,134 @@ import { WireType } from "@protobuf-ts/runtime";
5
5
  import { UnknownFieldHandler } from "@protobuf-ts/runtime";
6
6
  import { reflectionMergePartial } from "@protobuf-ts/runtime";
7
7
  import { MessageType } from "@protobuf-ts/runtime";
8
- import { Value } from "./shared.struct_pb";
9
8
  import { DefinitionDataType } from "./shared.data_type_pb";
10
9
  import { Translation } from "./shared.translation_pb";
10
+ import { Value } from "./shared.struct_pb";
11
11
  // @generated message type with reflection information, may provide speed optimized methods
12
12
  class ActionConfiguration$Type extends MessageType {
13
13
  constructor() {
14
14
  super("shared.ActionConfiguration", [
15
+ { no: 1, name: "identifier", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
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 }
18
+ ]);
19
+ }
20
+ create(value) {
21
+ const message = globalThis.Object.create((this.messagePrototype));
22
+ message.identifier = "";
23
+ message.projectId = 0n;
24
+ if (value !== undefined)
25
+ reflectionMergePartial(this, message, value);
26
+ return message;
27
+ }
28
+ internalBinaryRead(reader, length, options, target) {
29
+ let message = target ?? this.create(), end = reader.pos + length;
30
+ while (reader.pos < end) {
31
+ let [fieldNo, wireType] = reader.tag();
32
+ switch (fieldNo) {
33
+ case /* string identifier */ 1:
34
+ message.identifier = reader.string();
35
+ break;
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);
41
+ break;
42
+ default:
43
+ let u = options.readUnknownField;
44
+ if (u === "throw")
45
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
46
+ let d = reader.skip(wireType);
47
+ if (u !== false)
48
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
49
+ }
50
+ }
51
+ return message;
52
+ }
53
+ internalBinaryWrite(message, writer, options) {
54
+ /* string identifier = 1; */
55
+ if (message.identifier !== "")
56
+ writer.tag(1, WireType.LengthDelimited).string(message.identifier);
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();
63
+ let u = options.writeUnknownFields;
64
+ if (u !== false)
65
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
66
+ return writer;
67
+ }
68
+ }
69
+ /**
70
+ * @generated MessageType for protobuf message shared.ActionConfiguration
71
+ */
72
+ export const ActionConfiguration = new ActionConfiguration$Type();
73
+ // @generated message type with reflection information, may provide speed optimized methods
74
+ class ActionConfigurations$Type extends MessageType {
75
+ constructor() {
76
+ super("shared.ActionConfigurations", [
77
+ { no: 1, name: "action_configurations", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ActionConfiguration }
78
+ ]);
79
+ }
80
+ create(value) {
81
+ const message = globalThis.Object.create((this.messagePrototype));
82
+ message.actionConfigurations = [];
83
+ if (value !== undefined)
84
+ reflectionMergePartial(this, message, value);
85
+ return message;
86
+ }
87
+ internalBinaryRead(reader, length, options, target) {
88
+ let message = target ?? this.create(), end = reader.pos + length;
89
+ while (reader.pos < end) {
90
+ let [fieldNo, wireType] = reader.tag();
91
+ switch (fieldNo) {
92
+ case /* repeated shared.ActionConfiguration action_configurations */ 1:
93
+ message.actionConfigurations.push(ActionConfiguration.internalBinaryRead(reader, reader.uint32(), options));
94
+ break;
95
+ default:
96
+ let u = options.readUnknownField;
97
+ if (u === "throw")
98
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
99
+ let d = reader.skip(wireType);
100
+ if (u !== false)
101
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
102
+ }
103
+ }
104
+ return message;
105
+ }
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();
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.ActionConfigurations
118
+ */
119
+ export const ActionConfigurations = new ActionConfigurations$Type();
120
+ // @generated message type with reflection information, may provide speed optimized methods
121
+ class ActionConfigurationDefinition$Type extends MessageType {
122
+ constructor() {
123
+ super("shared.ActionConfigurationDefinition", [
15
124
  { no: 1, name: "name", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
16
125
  { no: 2, name: "description", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
17
126
  { no: 3, name: "type", kind: "message", T: () => DefinitionDataType },
18
- { no: 4, name: "default_value", kind: "message", T: () => Value }
127
+ { no: 4, name: "default_value", kind: "message", T: () => Value },
128
+ { no: 5, name: "identifier", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
19
129
  ]);
20
130
  }
21
131
  create(value) {
22
132
  const message = globalThis.Object.create((this.messagePrototype));
23
133
  message.name = [];
24
134
  message.description = [];
135
+ message.identifier = "";
25
136
  if (value !== undefined)
26
137
  reflectionMergePartial(this, message, value);
27
138
  return message;
@@ -43,6 +154,9 @@ class ActionConfiguration$Type extends MessageType {
43
154
  case /* optional shared.Value default_value */ 4:
44
155
  message.defaultValue = Value.internalBinaryRead(reader, reader.uint32(), options, message.defaultValue);
45
156
  break;
157
+ case /* string identifier */ 5:
158
+ message.identifier = reader.string();
159
+ break;
46
160
  default:
47
161
  let u = options.readUnknownField;
48
162
  if (u === "throw")
@@ -67,6 +181,9 @@ class ActionConfiguration$Type extends MessageType {
67
181
  /* optional shared.Value default_value = 4; */
68
182
  if (message.defaultValue)
69
183
  Value.internalBinaryWrite(message.defaultValue, writer.tag(4, WireType.LengthDelimited).fork(), options).join();
184
+ /* string identifier = 5; */
185
+ if (message.identifier !== "")
186
+ writer.tag(5, WireType.LengthDelimited).string(message.identifier);
70
187
  let u = options.writeUnknownFields;
71
188
  if (u !== false)
72
189
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -74,6 +191,6 @@ class ActionConfiguration$Type extends MessageType {
74
191
  }
75
192
  }
76
193
  /**
77
- * @generated MessageType for protobuf message shared.ActionConfiguration
194
+ * @generated MessageType for protobuf message shared.ActionConfigurationDefinition
78
195
  */
79
- export const ActionConfiguration = new ActionConfiguration$Type();
196
+ export const ActionConfigurationDefinition = new ActionConfigurationDefinition$Type();