@code0-tech/tucana 0.0.51 → 0.0.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,8 +5,8 @@ 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 { Struct } from "./shared.struct_pb";
9
8
  import { Value } from "./shared.struct_pb";
9
+ import { DataTypeIdentifier } from "./shared.data_type_pb";
10
10
  import { ExecutionDataType } from "./shared.data_type_pb";
11
11
  // @generated message type with reflection information, may provide speed optimized methods
12
12
  class ValidationFlow$Type extends MessageType {
@@ -16,8 +16,8 @@ class ValidationFlow$Type extends MessageType {
16
16
  { no: 2, name: "project_id", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
17
17
  { no: 3, name: "type", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
18
18
  { no: 4, name: "data_types", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ExecutionDataType },
19
- { no: 5, name: "input_type_identifier", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
20
- { no: 6, name: "return_type_identifier", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
19
+ { no: 5, name: "input_type", kind: "message", T: () => DataTypeIdentifier },
20
+ { no: 6, name: "return_type", kind: "message", T: () => DataTypeIdentifier },
21
21
  { no: 7, name: "settings", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => FlowSetting },
22
22
  { no: 8, name: "starting_node_id", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
23
23
  { no: 9, name: "node_functions", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => NodeFunction },
@@ -56,11 +56,11 @@ class ValidationFlow$Type extends MessageType {
56
56
  case /* repeated shared.ExecutionDataType data_types */ 4:
57
57
  message.dataTypes.push(ExecutionDataType.internalBinaryRead(reader, reader.uint32(), options));
58
58
  break;
59
- case /* optional string input_type_identifier */ 5:
60
- message.inputTypeIdentifier = reader.string();
59
+ case /* optional shared.DataTypeIdentifier input_type */ 5:
60
+ message.inputType = DataTypeIdentifier.internalBinaryRead(reader, reader.uint32(), options, message.inputType);
61
61
  break;
62
- case /* optional string return_type_identifier */ 6:
63
- message.returnTypeIdentifier = reader.string();
62
+ case /* optional shared.DataTypeIdentifier return_type */ 6:
63
+ message.returnType = DataTypeIdentifier.internalBinaryRead(reader, reader.uint32(), options, message.returnType);
64
64
  break;
65
65
  case /* repeated shared.FlowSetting settings */ 7:
66
66
  message.settings.push(FlowSetting.internalBinaryRead(reader, reader.uint32(), options));
@@ -101,12 +101,12 @@ class ValidationFlow$Type extends MessageType {
101
101
  /* repeated shared.ExecutionDataType data_types = 4; */
102
102
  for (let i = 0; i < message.dataTypes.length; i++)
103
103
  ExecutionDataType.internalBinaryWrite(message.dataTypes[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
104
- /* optional string input_type_identifier = 5; */
105
- if (message.inputTypeIdentifier !== undefined)
106
- writer.tag(5, WireType.LengthDelimited).string(message.inputTypeIdentifier);
107
- /* optional string return_type_identifier = 6; */
108
- if (message.returnTypeIdentifier !== undefined)
109
- writer.tag(6, WireType.LengthDelimited).string(message.returnTypeIdentifier);
104
+ /* optional shared.DataTypeIdentifier input_type = 5; */
105
+ if (message.inputType)
106
+ DataTypeIdentifier.internalBinaryWrite(message.inputType, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
107
+ /* optional shared.DataTypeIdentifier return_type = 6; */
108
+ if (message.returnType)
109
+ DataTypeIdentifier.internalBinaryWrite(message.returnType, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
110
110
  /* repeated shared.FlowSetting settings = 7; */
111
111
  for (let i = 0; i < message.settings.length; i++)
112
112
  FlowSetting.internalBinaryWrite(message.settings[i], writer.tag(7, WireType.LengthDelimited).fork(), options).join();
@@ -208,7 +208,7 @@ class FlowSetting$Type extends MessageType {
208
208
  super("shared.FlowSetting", [
209
209
  { no: 1, name: "database_id", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
210
210
  { no: 2, name: "flow_setting_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
211
- { no: 3, name: "object", kind: "message", T: () => Struct }
211
+ { no: 3, name: "value", kind: "message", T: () => Value }
212
212
  ]);
213
213
  }
214
214
  create(value) {
@@ -230,8 +230,8 @@ class FlowSetting$Type extends MessageType {
230
230
  case /* string flow_setting_id */ 2:
231
231
  message.flowSettingId = reader.string();
232
232
  break;
233
- case /* shared.Struct object */ 3:
234
- message.object = Struct.internalBinaryRead(reader, reader.uint32(), options, message.object);
233
+ case /* shared.Value value */ 3:
234
+ message.value = Value.internalBinaryRead(reader, reader.uint32(), options, message.value);
235
235
  break;
236
236
  default:
237
237
  let u = options.readUnknownField;
@@ -251,9 +251,9 @@ class FlowSetting$Type extends MessageType {
251
251
  /* string flow_setting_id = 2; */
252
252
  if (message.flowSettingId !== "")
253
253
  writer.tag(2, WireType.LengthDelimited).string(message.flowSettingId);
254
- /* shared.Struct object = 3; */
255
- if (message.object)
256
- Struct.internalBinaryWrite(message.object, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
254
+ /* shared.Value value = 3; */
255
+ if (message.value)
256
+ Value.internalBinaryWrite(message.value, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
257
257
  let u = options.writeUnknownFields;
258
258
  if (u !== false)
259
259
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -272,7 +272,7 @@ class NodeFunction$Type extends MessageType {
272
272
  { no: 2, name: "runtime_function_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
273
273
  { no: 3, name: "parameters", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => NodeParameter },
274
274
  { no: 4, name: "next_node_id", kind: "scalar", opt: true, T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
275
- { no: 5, name: "action_identifier", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
275
+ { no: 5, name: "definition_source", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
276
276
  ]);
277
277
  }
278
278
  create(value) {
@@ -280,6 +280,7 @@ class NodeFunction$Type extends MessageType {
280
280
  message.databaseId = 0n;
281
281
  message.runtimeFunctionId = "";
282
282
  message.parameters = [];
283
+ message.definitionSource = "";
283
284
  if (value !== undefined)
284
285
  reflectionMergePartial(this, message, value);
285
286
  return message;
@@ -301,8 +302,8 @@ class NodeFunction$Type extends MessageType {
301
302
  case /* optional int64 next_node_id */ 4:
302
303
  message.nextNodeId = reader.int64().toBigInt();
303
304
  break;
304
- case /* optional string action_identifier */ 5:
305
- message.actionIdentifier = reader.string();
305
+ case /* string definition_source */ 5:
306
+ message.definitionSource = reader.string();
306
307
  break;
307
308
  default:
308
309
  let u = options.readUnknownField;
@@ -328,9 +329,9 @@ class NodeFunction$Type extends MessageType {
328
329
  /* optional int64 next_node_id = 4; */
329
330
  if (message.nextNodeId !== undefined)
330
331
  writer.tag(4, WireType.Varint).int64(message.nextNodeId);
331
- /* optional string action_identifier = 5; */
332
- if (message.actionIdentifier !== undefined)
333
- writer.tag(5, WireType.LengthDelimited).string(message.actionIdentifier);
332
+ /* string definition_source = 5; */
333
+ if (message.definitionSource !== "")
334
+ writer.tag(5, WireType.LengthDelimited).string(message.definitionSource);
334
335
  let u = options.writeUnknownFields;
335
336
  if (u !== false)
336
337
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -477,14 +478,132 @@ export const NodeParameter = new NodeParameter$Type();
477
478
  class ReferenceValue$Type extends MessageType {
478
479
  constructor() {
479
480
  super("shared.ReferenceValue", [
481
+ { no: 1, name: "flow_input", kind: "message", oneof: "target", T: () => FlowInput },
482
+ { no: 2, name: "node_id", kind: "scalar", oneof: "target", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
483
+ { no: 3, name: "input_type", kind: "message", oneof: "target", T: () => InputType },
484
+ { no: 4, name: "paths", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ReferencePath }
485
+ ]);
486
+ }
487
+ create(value) {
488
+ const message = globalThis.Object.create((this.messagePrototype));
489
+ message.target = { oneofKind: undefined };
490
+ message.paths = [];
491
+ if (value !== undefined)
492
+ reflectionMergePartial(this, message, value);
493
+ return message;
494
+ }
495
+ internalBinaryRead(reader, length, options, target) {
496
+ let message = target ?? this.create(), end = reader.pos + length;
497
+ while (reader.pos < end) {
498
+ let [fieldNo, wireType] = reader.tag();
499
+ switch (fieldNo) {
500
+ case /* shared.FlowInput flow_input */ 1:
501
+ message.target = {
502
+ oneofKind: "flowInput",
503
+ flowInput: FlowInput.internalBinaryRead(reader, reader.uint32(), options, message.target.flowInput)
504
+ };
505
+ break;
506
+ case /* int64 node_id */ 2:
507
+ message.target = {
508
+ oneofKind: "nodeId",
509
+ nodeId: reader.int64().toBigInt()
510
+ };
511
+ break;
512
+ case /* shared.InputType input_type */ 3:
513
+ message.target = {
514
+ oneofKind: "inputType",
515
+ inputType: InputType.internalBinaryRead(reader, reader.uint32(), options, message.target.inputType)
516
+ };
517
+ break;
518
+ case /* repeated shared.ReferencePath paths */ 4:
519
+ message.paths.push(ReferencePath.internalBinaryRead(reader, reader.uint32(), options));
520
+ break;
521
+ default:
522
+ let u = options.readUnknownField;
523
+ if (u === "throw")
524
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
525
+ let d = reader.skip(wireType);
526
+ if (u !== false)
527
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
528
+ }
529
+ }
530
+ return message;
531
+ }
532
+ internalBinaryWrite(message, writer, options) {
533
+ /* shared.FlowInput flow_input = 1; */
534
+ if (message.target.oneofKind === "flowInput")
535
+ FlowInput.internalBinaryWrite(message.target.flowInput, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
536
+ /* int64 node_id = 2; */
537
+ if (message.target.oneofKind === "nodeId")
538
+ writer.tag(2, WireType.Varint).int64(message.target.nodeId);
539
+ /* shared.InputType input_type = 3; */
540
+ if (message.target.oneofKind === "inputType")
541
+ InputType.internalBinaryWrite(message.target.inputType, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
542
+ /* repeated shared.ReferencePath paths = 4; */
543
+ for (let i = 0; i < message.paths.length; i++)
544
+ ReferencePath.internalBinaryWrite(message.paths[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
545
+ let u = options.writeUnknownFields;
546
+ if (u !== false)
547
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
548
+ return writer;
549
+ }
550
+ }
551
+ /**
552
+ * @generated MessageType for protobuf message shared.ReferenceValue
553
+ */
554
+ export const ReferenceValue = new ReferenceValue$Type();
555
+ // @generated message type with reflection information, may provide speed optimized methods
556
+ class FlowInput$Type extends MessageType {
557
+ constructor() {
558
+ super("shared.FlowInput", []);
559
+ }
560
+ create(value) {
561
+ const message = globalThis.Object.create((this.messagePrototype));
562
+ if (value !== undefined)
563
+ reflectionMergePartial(this, message, value);
564
+ return message;
565
+ }
566
+ internalBinaryRead(reader, length, options, target) {
567
+ let message = target ?? this.create(), end = reader.pos + length;
568
+ while (reader.pos < end) {
569
+ let [fieldNo, wireType] = reader.tag();
570
+ switch (fieldNo) {
571
+ default:
572
+ let u = options.readUnknownField;
573
+ if (u === "throw")
574
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
575
+ let d = reader.skip(wireType);
576
+ if (u !== false)
577
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
578
+ }
579
+ }
580
+ return message;
581
+ }
582
+ internalBinaryWrite(message, writer, options) {
583
+ let u = options.writeUnknownFields;
584
+ if (u !== false)
585
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
586
+ return writer;
587
+ }
588
+ }
589
+ /**
590
+ * @generated MessageType for protobuf message shared.FlowInput
591
+ */
592
+ export const FlowInput = new FlowInput$Type();
593
+ // @generated message type with reflection information, may provide speed optimized methods
594
+ class InputType$Type extends MessageType {
595
+ constructor() {
596
+ super("shared.InputType", [
480
597
  { no: 1, name: "node_id", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
481
- { no: 2, name: "paths", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ReferencePath }
598
+ { no: 2, name: "parameter_index", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ },
599
+ { no: 3, name: "input_index", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 0 /*LongType.BIGINT*/ }
482
600
  ]);
483
601
  }
484
602
  create(value) {
485
603
  const message = globalThis.Object.create((this.messagePrototype));
486
604
  message.nodeId = 0n;
487
- message.paths = [];
605
+ message.parameterIndex = 0n;
606
+ message.inputIndex = 0n;
488
607
  if (value !== undefined)
489
608
  reflectionMergePartial(this, message, value);
490
609
  return message;
@@ -497,8 +616,11 @@ class ReferenceValue$Type extends MessageType {
497
616
  case /* int64 node_id */ 1:
498
617
  message.nodeId = reader.int64().toBigInt();
499
618
  break;
500
- case /* repeated shared.ReferencePath paths */ 2:
501
- message.paths.push(ReferencePath.internalBinaryRead(reader, reader.uint32(), options));
619
+ case /* int64 parameter_index */ 2:
620
+ message.parameterIndex = reader.int64().toBigInt();
621
+ break;
622
+ case /* int64 input_index */ 3:
623
+ message.inputIndex = reader.int64().toBigInt();
502
624
  break;
503
625
  default:
504
626
  let u = options.readUnknownField;
@@ -515,9 +637,12 @@ class ReferenceValue$Type extends MessageType {
515
637
  /* int64 node_id = 1; */
516
638
  if (message.nodeId !== 0n)
517
639
  writer.tag(1, WireType.Varint).int64(message.nodeId);
518
- /* repeated shared.ReferencePath paths = 2; */
519
- for (let i = 0; i < message.paths.length; i++)
520
- ReferencePath.internalBinaryWrite(message.paths[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
640
+ /* int64 parameter_index = 2; */
641
+ if (message.parameterIndex !== 0n)
642
+ writer.tag(2, WireType.Varint).int64(message.parameterIndex);
643
+ /* int64 input_index = 3; */
644
+ if (message.inputIndex !== 0n)
645
+ writer.tag(3, WireType.Varint).int64(message.inputIndex);
521
646
  let u = options.writeUnknownFields;
522
647
  if (u !== false)
523
648
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -525,9 +650,9 @@ class ReferenceValue$Type extends MessageType {
525
650
  }
526
651
  }
527
652
  /**
528
- * @generated MessageType for protobuf message shared.ReferenceValue
653
+ * @generated MessageType for protobuf message shared.InputType
529
654
  */
530
- export const ReferenceValue = new ReferenceValue$Type();
655
+ export const InputType = new InputType$Type();
531
656
  // @generated message type with reflection information, may provide speed optimized methods
532
657
  class ReferencePath$Type extends MessageType {
533
658
  constructor() {
@@ -72,11 +72,11 @@ export interface RuntimeFunctionDefinition {
72
72
  */
73
73
  displayIcon: string;
74
74
  /**
75
- * Field will be set by an action to distinguish an action function from a runtime function
75
+ * Identifier of the service that defines this definition
76
76
  *
77
- * @generated from protobuf field: optional string action_identifier = 14
77
+ * @generated from protobuf field: optional string definition_source = 14
78
78
  */
79
- actionIdentifier?: string;
79
+ definitionSource?: string;
80
80
  }
81
81
  /**
82
82
  * Definition of a parameter used for execution
@@ -25,7 +25,7 @@ class RuntimeFunctionDefinition$Type extends MessageType {
25
25
  { no: 11, name: "alias", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Translation },
26
26
  { no: 12, name: "version", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
27
27
  { no: 13, name: "display_icon", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
28
- { no: 14, name: "action_identifier", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
28
+ { no: 14, name: "definition_source", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
29
29
  ]);
30
30
  }
31
31
  create(value) {
@@ -90,8 +90,8 @@ class RuntimeFunctionDefinition$Type extends MessageType {
90
90
  case /* string display_icon */ 13:
91
91
  message.displayIcon = reader.string();
92
92
  break;
93
- case /* optional string action_identifier */ 14:
94
- message.actionIdentifier = reader.string();
93
+ case /* optional string definition_source */ 14:
94
+ message.definitionSource = reader.string();
95
95
  break;
96
96
  default:
97
97
  let u = options.readUnknownField;
@@ -144,9 +144,9 @@ class RuntimeFunctionDefinition$Type extends MessageType {
144
144
  /* string display_icon = 13; */
145
145
  if (message.displayIcon !== "")
146
146
  writer.tag(13, WireType.LengthDelimited).string(message.displayIcon);
147
- /* optional string action_identifier = 14; */
148
- if (message.actionIdentifier !== undefined)
149
- writer.tag(14, WireType.LengthDelimited).string(message.actionIdentifier);
147
+ /* optional string definition_source = 14; */
148
+ if (message.definitionSource !== undefined)
149
+ writer.tag(14, WireType.LengthDelimited).string(message.definitionSource);
150
150
  let u = options.writeUnknownFields;
151
151
  if (u !== false)
152
152
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -1,46 +0,0 @@
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)
3
- // tslint:disable
4
- import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
5
- import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
6
- import type { ActionLogoffResponse } from "./sagittarius.action_pb";
7
- import type { ActionLogoffRequest } from "./sagittarius.action_pb";
8
- import type { ActionLogonResponse } from "./sagittarius.action_pb";
9
- import type { ActionLogonRequest } from "./sagittarius.action_pb";
10
- import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
11
- import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
12
- /**
13
- * Service from Sagittarius to get called by Aquila to get informed of any action behavior & availability
14
- *
15
- * @generated from protobuf service sagittarius.ActionService
16
- */
17
- export interface IActionServiceClient {
18
- /**
19
- * @generated from protobuf rpc: Logon
20
- */
21
- logon(input: ActionLogonRequest, options?: RpcOptions): UnaryCall<ActionLogonRequest, ActionLogonResponse>;
22
- /**
23
- * @generated from protobuf rpc: Logoff
24
- */
25
- logoff(input: ActionLogoffRequest, options?: RpcOptions): UnaryCall<ActionLogoffRequest, ActionLogoffResponse>;
26
- }
27
- /**
28
- * Service from Sagittarius to get called by Aquila to get informed of any action behavior & availability
29
- *
30
- * @generated from protobuf service sagittarius.ActionService
31
- */
32
- export declare class ActionServiceClient implements IActionServiceClient, ServiceInfo {
33
- private readonly _transport;
34
- typeName: any;
35
- methods: any;
36
- options: any;
37
- constructor(_transport: RpcTransport);
38
- /**
39
- * @generated from protobuf rpc: Logon
40
- */
41
- logon(input: ActionLogonRequest, options?: RpcOptions): UnaryCall<ActionLogonRequest, ActionLogonResponse>;
42
- /**
43
- * @generated from protobuf rpc: Logoff
44
- */
45
- logoff(input: ActionLogoffRequest, options?: RpcOptions): UnaryCall<ActionLogoffRequest, ActionLogoffResponse>;
46
- }
@@ -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 "sagittarius.action.proto" (package "sagittarius", syntax proto3)
3
- // tslint:disable
4
- import { ActionService } from "./sagittarius.action_pb";
5
- import { stackIntercept } from "@protobuf-ts/runtime-rpc";
6
- /**
7
- * Service from Sagittarius to get called by Aquila to get informed of any action behavior & availability
8
- *
9
- * @generated from protobuf service sagittarius.ActionService
10
- */
11
- export class ActionServiceClient {
12
- constructor(_transport) {
13
- this._transport = _transport;
14
- this.typeName = ActionService.typeName;
15
- this.methods = ActionService.methods;
16
- this.options = ActionService.options;
17
- }
18
- /**
19
- * @generated from protobuf rpc: Logon
20
- */
21
- logon(input, options) {
22
- const method = this.methods[0], opt = this._transport.mergeOptions(options);
23
- return stackIntercept("unary", this._transport, method, opt, input);
24
- }
25
- /**
26
- * @generated from protobuf rpc: Logoff
27
- */
28
- logoff(input, options) {
29
- const method = this.methods[1], opt = this._transport.mergeOptions(options);
30
- return stackIntercept("unary", this._transport, method, opt, input);
31
- }
32
- }
@@ -1,95 +0,0 @@
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)
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 { RuntimeFunctionDefinition } from "./shared.runtime_function_pb";
11
- /**
12
- * Request for communicating that an action went online
13
- *
14
- * @generated from protobuf message sagittarius.ActionLogonRequest
15
- */
16
- export interface ActionLogonRequest {
17
- /**
18
- * Unique identifier of action
19
- *
20
- * @generated from protobuf field: string identifier = 1
21
- */
22
- identifier: string;
23
- /**
24
- * All function definitions the action holds
25
- *
26
- * @generated from protobuf field: repeated shared.RuntimeFunctionDefinition function_definition = 2
27
- */
28
- functionDefinition: RuntimeFunctionDefinition[];
29
- }
30
- /**
31
- * @generated from protobuf message sagittarius.ActionLogonResponse
32
- */
33
- export interface ActionLogonResponse {
34
- }
35
- /**
36
- * Request for communication that an action went offline
37
- *
38
- * @generated from protobuf message sagittarius.ActionLogoffRequest
39
- */
40
- export interface ActionLogoffRequest {
41
- /**
42
- * @generated from protobuf field: string identifier = 1
43
- */
44
- identifier: string;
45
- }
46
- /**
47
- * @generated from protobuf message sagittarius.ActionLogoffResponse
48
- */
49
- export interface ActionLogoffResponse {
50
- }
51
- declare class ActionLogonRequest$Type extends MessageType<ActionLogonRequest> {
52
- constructor();
53
- create(value?: PartialMessage<ActionLogonRequest>): ActionLogonRequest;
54
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActionLogonRequest): ActionLogonRequest;
55
- internalBinaryWrite(message: ActionLogonRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
56
- }
57
- /**
58
- * @generated MessageType for protobuf message sagittarius.ActionLogonRequest
59
- */
60
- export declare const ActionLogonRequest: ActionLogonRequest$Type;
61
- declare class ActionLogonResponse$Type extends MessageType<ActionLogonResponse> {
62
- constructor();
63
- create(value?: PartialMessage<ActionLogonResponse>): ActionLogonResponse;
64
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActionLogonResponse): ActionLogonResponse;
65
- internalBinaryWrite(message: ActionLogonResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
66
- }
67
- /**
68
- * @generated MessageType for protobuf message sagittarius.ActionLogonResponse
69
- */
70
- export declare const ActionLogonResponse: ActionLogonResponse$Type;
71
- declare class ActionLogoffRequest$Type extends MessageType<ActionLogoffRequest> {
72
- constructor();
73
- create(value?: PartialMessage<ActionLogoffRequest>): ActionLogoffRequest;
74
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActionLogoffRequest): ActionLogoffRequest;
75
- internalBinaryWrite(message: ActionLogoffRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
76
- }
77
- /**
78
- * @generated MessageType for protobuf message sagittarius.ActionLogoffRequest
79
- */
80
- export declare const ActionLogoffRequest: ActionLogoffRequest$Type;
81
- declare class ActionLogoffResponse$Type extends MessageType<ActionLogoffResponse> {
82
- constructor();
83
- create(value?: PartialMessage<ActionLogoffResponse>): ActionLogoffResponse;
84
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActionLogoffResponse): ActionLogoffResponse;
85
- internalBinaryWrite(message: ActionLogoffResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
86
- }
87
- /**
88
- * @generated MessageType for protobuf message sagittarius.ActionLogoffResponse
89
- */
90
- export declare const ActionLogoffResponse: ActionLogoffResponse$Type;
91
- /**
92
- * @generated ServiceType for protobuf service sagittarius.ActionService
93
- */
94
- export declare const ActionService: any;
95
- export {};