@code0-tech/tucana 0.0.38 → 0.0.39

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.
Files changed (65) hide show
  1. package/package.json +5 -4
  2. package/pb/{aquila.action_pb.client.ts → aquila.action_pb.client.d.ts} +8 -13
  3. package/pb/aquila.action_pb.client.js +25 -0
  4. package/pb/aquila.action_pb.d.ts +254 -0
  5. package/pb/{aquila.action_pb.ts → aquila.action_pb.js} +49 -215
  6. package/pb/{aquila.data_type_pb.client.ts → aquila.data_type_pb.client.d.ts} +8 -13
  7. package/pb/aquila.data_type_pb.client.js +23 -0
  8. package/pb/aquila.data_type_pb.d.ts +61 -0
  9. package/pb/{aquila.data_type_pb.ts → aquila.data_type_pb.js} +16 -44
  10. package/pb/{aquila.execution_pb.client.ts → aquila.execution_pb.client.d.ts} +15 -24
  11. package/pb/aquila.execution_pb.client.js +49 -0
  12. package/pb/aquila.execution_pb.d.ts +135 -0
  13. package/pb/{aquila.execution_pb.ts → aquila.execution_pb.js} +34 -103
  14. package/pb/{aquila.flow_type_pb.client.ts → aquila.flow_type_pb.client.d.ts} +8 -13
  15. package/pb/aquila.flow_type_pb.client.js +25 -0
  16. package/pb/aquila.flow_type_pb.d.ts +61 -0
  17. package/pb/{aquila.flow_type_pb.ts → aquila.flow_type_pb.js} +16 -44
  18. package/pb/{aquila.runtime_function_pb.client.ts → aquila.runtime_function_pb.client.d.ts} +8 -13
  19. package/pb/aquila.runtime_function_pb.client.js +25 -0
  20. package/pb/aquila.runtime_function_pb.d.ts +61 -0
  21. package/pb/{aquila.runtime_function_pb.ts → aquila.runtime_function_pb.js} +16 -44
  22. package/pb/{sagittarius.action_pb.client.ts → sagittarius.action_pb.client.d.ts} +9 -17
  23. package/pb/sagittarius.action_pb.client.js +32 -0
  24. package/pb/sagittarius.action_pb.d.ts +95 -0
  25. package/pb/{sagittarius.action_pb.ts → sagittarius.action_pb.js} +28 -70
  26. package/pb/{sagittarius.data_type_pb.client.ts → sagittarius.data_type_pb.client.d.ts} +8 -13
  27. package/pb/sagittarius.data_type_pb.client.js +23 -0
  28. package/pb/sagittarius.data_type_pb.d.ts +61 -0
  29. package/pb/{sagittarius.data_type_pb.ts → sagittarius.data_type_pb.js} +16 -44
  30. package/pb/{sagittarius.flow_pb.client.ts → sagittarius.flow_pb.client.d.ts} +8 -13
  31. package/pb/sagittarius.flow_pb.client.js +23 -0
  32. package/pb/sagittarius.flow_pb.d.ts +80 -0
  33. package/pb/{sagittarius.flow_pb.ts → sagittarius.flow_pb.js} +18 -64
  34. package/pb/{sagittarius.flow_type_pb.client.ts → sagittarius.flow_type_pb.client.d.ts} +8 -13
  35. package/pb/sagittarius.flow_type_pb.client.js +25 -0
  36. package/pb/sagittarius.flow_type_pb.d.ts +61 -0
  37. package/pb/{sagittarius.flow_type_pb.ts → sagittarius.flow_type_pb.js} +16 -44
  38. package/pb/{sagittarius.ping_pb.client.ts → sagittarius.ping_pb.client.d.ts} +8 -13
  39. package/pb/sagittarius.ping_pb.client.js +23 -0
  40. package/pb/sagittarius.ping_pb.d.ts +33 -0
  41. package/pb/{sagittarius.ping_pb.ts → sagittarius.ping_pb.js} +10 -21
  42. package/pb/{sagittarius.runtime_function_pb.client.ts → sagittarius.runtime_function_pb.client.d.ts} +8 -13
  43. package/pb/sagittarius.runtime_function_pb.client.js +25 -0
  44. package/pb/sagittarius.runtime_function_pb.d.ts +61 -0
  45. package/pb/{sagittarius.runtime_function_pb.ts → sagittarius.runtime_function_pb.js} +16 -44
  46. package/pb/{sagittarius.text_execution_pb.client.ts → sagittarius.text_execution_pb.client.d.ts} +8 -13
  47. package/pb/sagittarius.text_execution_pb.client.js +23 -0
  48. package/pb/sagittarius.text_execution_pb.d.ts +172 -0
  49. package/pb/{sagittarius.text_execution_pb.ts → sagittarius.text_execution_pb.js} +42 -141
  50. package/pb/shared.data_type_pb.d.ts +614 -0
  51. package/pb/{shared.data_type_pb.ts → shared.data_type_pb.js} +140 -508
  52. package/pb/shared.event_pb.d.ts +120 -0
  53. package/pb/{shared.event_pb.ts → shared.event_pb.js} +19 -101
  54. package/pb/shared.flow_definition_pb.d.ts +105 -0
  55. package/pb/{shared.flow_definition_pb.ts → shared.flow_definition_pb.js} +13 -90
  56. package/pb/shared.flow_pb.d.ts +311 -0
  57. package/pb/{shared.flow_pb.ts → shared.flow_pb.js} +57 -270
  58. package/pb/shared.runtime_function_pb.d.ts +114 -0
  59. package/pb/{shared.runtime_function_pb.ts → shared.runtime_function_pb.js} +13 -98
  60. package/pb/shared.struct_pb.d.ts +198 -0
  61. package/pb/{shared.struct_pb.ts → shared.struct_pb.js} +27 -136
  62. package/pb/shared.translation_pb.d.ts +39 -0
  63. package/pb/{shared.translation_pb.ts → shared.translation_pb.js} +7 -31
  64. package/pb/shared.version_pb.d.ts +37 -0
  65. package/pb/{shared.version_pb.ts → shared.version_pb.js} +7 -29
@@ -0,0 +1,25 @@
1
+ // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
2
+ // @generated from protobuf file "aquila.flow_type.proto" (package "aquila", syntax proto3)
3
+ // tslint:disable
4
+ import { FlowTypeService } from "./aquila.flow_type_pb";
5
+ import { stackIntercept } from "@protobuf-ts/runtime-rpc";
6
+ /**
7
+ * This service will be implemented as a server by Aquila and as a client by Draco.
8
+ *
9
+ * @generated from protobuf service aquila.FlowTypeService
10
+ */
11
+ export class FlowTypeServiceClient {
12
+ constructor(_transport) {
13
+ this._transport = _transport;
14
+ this.typeName = FlowTypeService.typeName;
15
+ this.methods = FlowTypeService.methods;
16
+ this.options = FlowTypeService.options;
17
+ }
18
+ /**
19
+ * @generated from protobuf rpc: Update
20
+ */
21
+ update(input, options) {
22
+ const method = this.methods[0], opt = this._transport.mergeOptions(options);
23
+ return stackIntercept("unary", this._transport, method, opt, input);
24
+ }
25
+ }
@@ -0,0 +1,61 @@
1
+ // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
2
+ // @generated from protobuf file "aquila.flow_type.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 { FlowType } from "./shared.flow_definition_pb";
11
+ /**
12
+ * Request for updating a list of adapter flow types
13
+ *
14
+ * @generated from protobuf message aquila.FlowTypeUpdateRequest
15
+ */
16
+ export interface FlowTypeUpdateRequest {
17
+ /**
18
+ * List of adapter flow types
19
+ *
20
+ * @generated from protobuf field: repeated shared.FlowType flow_types = 1
21
+ */
22
+ flowTypes: FlowType[];
23
+ }
24
+ /**
25
+ * Response of updating adapter flow types
26
+ *
27
+ * @generated from protobuf message aquila.FlowTypeUpdateResponse
28
+ */
29
+ export interface FlowTypeUpdateResponse {
30
+ /**
31
+ * True if was successful, false if not
32
+ *
33
+ * @generated from protobuf field: bool success = 1
34
+ */
35
+ success: boolean;
36
+ }
37
+ declare class FlowTypeUpdateRequest$Type extends MessageType<FlowTypeUpdateRequest> {
38
+ constructor();
39
+ create(value?: PartialMessage<FlowTypeUpdateRequest>): FlowTypeUpdateRequest;
40
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FlowTypeUpdateRequest): FlowTypeUpdateRequest;
41
+ internalBinaryWrite(message: FlowTypeUpdateRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
42
+ }
43
+ /**
44
+ * @generated MessageType for protobuf message aquila.FlowTypeUpdateRequest
45
+ */
46
+ export declare const FlowTypeUpdateRequest: FlowTypeUpdateRequest$Type;
47
+ declare class FlowTypeUpdateResponse$Type extends MessageType<FlowTypeUpdateResponse> {
48
+ constructor();
49
+ create(value?: PartialMessage<FlowTypeUpdateResponse>): FlowTypeUpdateResponse;
50
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FlowTypeUpdateResponse): FlowTypeUpdateResponse;
51
+ internalBinaryWrite(message: FlowTypeUpdateResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
52
+ }
53
+ /**
54
+ * @generated MessageType for protobuf message aquila.FlowTypeUpdateResponse
55
+ */
56
+ export declare const FlowTypeUpdateResponse: FlowTypeUpdateResponse$Type;
57
+ /**
58
+ * @generated ServiceType for protobuf service aquila.FlowTypeService
59
+ */
60
+ export declare const FlowTypeService: any;
61
+ export {};
@@ -1,58 +1,30 @@
1
- // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix
1
+ // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
2
+ // @generated from protobuf file "aquila.flow_type.proto" (package "aquila", syntax proto3)
3
+ // tslint:disable
4
+ // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
2
5
  // @generated from protobuf file "aquila.flow_type.proto" (package "aquila", syntax proto3)
3
6
  // tslint:disable
4
7
  import { ServiceType } from "@protobuf-ts/runtime-rpc";
5
- import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
6
- import type { IBinaryWriter } from "@protobuf-ts/runtime";
7
8
  import { WireType } from "@protobuf-ts/runtime";
8
- import type { BinaryReadOptions } from "@protobuf-ts/runtime";
9
- import type { IBinaryReader } from "@protobuf-ts/runtime";
10
9
  import { UnknownFieldHandler } from "@protobuf-ts/runtime";
11
- import type { PartialMessage } from "@protobuf-ts/runtime";
12
10
  import { reflectionMergePartial } from "@protobuf-ts/runtime";
13
11
  import { MessageType } from "@protobuf-ts/runtime";
14
12
  import { FlowType } from "./shared.flow_definition_pb";
15
- /**
16
- * Request for updating a list of adapter flow types
17
- *
18
- * @generated from protobuf message aquila.FlowTypeUpdateRequest
19
- */
20
- export interface FlowTypeUpdateRequest {
21
- /**
22
- * List of adapter flow types
23
- *
24
- * @generated from protobuf field: repeated shared.FlowType flow_types = 1
25
- */
26
- flowTypes: FlowType[];
27
- }
28
- /**
29
- * Response of updating adapter flow types
30
- *
31
- * @generated from protobuf message aquila.FlowTypeUpdateResponse
32
- */
33
- export interface FlowTypeUpdateResponse {
34
- /**
35
- * True if was successful, false if not
36
- *
37
- * @generated from protobuf field: bool success = 1
38
- */
39
- success: boolean;
40
- }
41
13
  // @generated message type with reflection information, may provide speed optimized methods
42
- class FlowTypeUpdateRequest$Type extends MessageType<FlowTypeUpdateRequest> {
14
+ class FlowTypeUpdateRequest$Type extends MessageType {
43
15
  constructor() {
44
16
  super("aquila.FlowTypeUpdateRequest", [
45
17
  { no: 1, name: "flow_types", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => FlowType }
46
18
  ]);
47
19
  }
48
- create(value?: PartialMessage<FlowTypeUpdateRequest>): FlowTypeUpdateRequest {
49
- const message = globalThis.Object.create((this.messagePrototype!));
20
+ create(value) {
21
+ const message = globalThis.Object.create((this.messagePrototype));
50
22
  message.flowTypes = [];
51
23
  if (value !== undefined)
52
- reflectionMergePartial<FlowTypeUpdateRequest>(this, message, value);
24
+ reflectionMergePartial(this, message, value);
53
25
  return message;
54
26
  }
55
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FlowTypeUpdateRequest): FlowTypeUpdateRequest {
27
+ internalBinaryRead(reader, length, options, target) {
56
28
  let message = target ?? this.create(), end = reader.pos + length;
57
29
  while (reader.pos < end) {
58
30
  let [fieldNo, wireType] = reader.tag();
@@ -71,7 +43,7 @@ class FlowTypeUpdateRequest$Type extends MessageType<FlowTypeUpdateRequest> {
71
43
  }
72
44
  return message;
73
45
  }
74
- internalBinaryWrite(message: FlowTypeUpdateRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
46
+ internalBinaryWrite(message, writer, options) {
75
47
  /* repeated shared.FlowType flow_types = 1; */
76
48
  for (let i = 0; i < message.flowTypes.length; i++)
77
49
  FlowType.internalBinaryWrite(message.flowTypes[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
@@ -86,20 +58,20 @@ class FlowTypeUpdateRequest$Type extends MessageType<FlowTypeUpdateRequest> {
86
58
  */
87
59
  export const FlowTypeUpdateRequest = new FlowTypeUpdateRequest$Type();
88
60
  // @generated message type with reflection information, may provide speed optimized methods
89
- class FlowTypeUpdateResponse$Type extends MessageType<FlowTypeUpdateResponse> {
61
+ class FlowTypeUpdateResponse$Type extends MessageType {
90
62
  constructor() {
91
63
  super("aquila.FlowTypeUpdateResponse", [
92
64
  { no: 1, name: "success", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
93
65
  ]);
94
66
  }
95
- create(value?: PartialMessage<FlowTypeUpdateResponse>): FlowTypeUpdateResponse {
96
- const message = globalThis.Object.create((this.messagePrototype!));
67
+ create(value) {
68
+ const message = globalThis.Object.create((this.messagePrototype));
97
69
  message.success = false;
98
70
  if (value !== undefined)
99
- reflectionMergePartial<FlowTypeUpdateResponse>(this, message, value);
71
+ reflectionMergePartial(this, message, value);
100
72
  return message;
101
73
  }
102
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FlowTypeUpdateResponse): FlowTypeUpdateResponse {
74
+ internalBinaryRead(reader, length, options, target) {
103
75
  let message = target ?? this.create(), end = reader.pos + length;
104
76
  while (reader.pos < end) {
105
77
  let [fieldNo, wireType] = reader.tag();
@@ -118,7 +90,7 @@ class FlowTypeUpdateResponse$Type extends MessageType<FlowTypeUpdateResponse> {
118
90
  }
119
91
  return message;
120
92
  }
121
- internalBinaryWrite(message: FlowTypeUpdateResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
93
+ internalBinaryWrite(message, writer, options) {
122
94
  /* bool success = 1; */
123
95
  if (message.success !== false)
124
96
  writer.tag(1, WireType.Varint).bool(message.success);
@@ -1,10 +1,8 @@
1
- // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix
1
+ // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
2
2
  // @generated from protobuf file "aquila.runtime_function.proto" (package "aquila", syntax proto3)
3
3
  // tslint:disable
4
4
  import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
5
5
  import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
6
- import { RuntimeFunctionDefinitionService } from "./aquila.runtime_function_pb";
7
- import { stackIntercept } from "@protobuf-ts/runtime-rpc";
8
6
  import type { RuntimeFunctionDefinitionUpdateResponse } from "./aquila.runtime_function_pb";
9
7
  import type { RuntimeFunctionDefinitionUpdateRequest } from "./aquila.runtime_function_pb";
10
8
  import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
@@ -25,17 +23,14 @@ export interface IRuntimeFunctionDefinitionServiceClient {
25
23
  *
26
24
  * @generated from protobuf service aquila.RuntimeFunctionDefinitionService
27
25
  */
28
- export class RuntimeFunctionDefinitionServiceClient implements IRuntimeFunctionDefinitionServiceClient, ServiceInfo {
29
- typeName = RuntimeFunctionDefinitionService.typeName;
30
- methods = RuntimeFunctionDefinitionService.methods;
31
- options = RuntimeFunctionDefinitionService.options;
32
- constructor(private readonly _transport: RpcTransport) {
33
- }
26
+ export declare class RuntimeFunctionDefinitionServiceClient implements IRuntimeFunctionDefinitionServiceClient, ServiceInfo {
27
+ private readonly _transport;
28
+ typeName: any;
29
+ methods: any;
30
+ options: any;
31
+ constructor(_transport: RpcTransport);
34
32
  /**
35
33
  * @generated from protobuf rpc: Update
36
34
  */
37
- update(input: RuntimeFunctionDefinitionUpdateRequest, options?: RpcOptions): UnaryCall<RuntimeFunctionDefinitionUpdateRequest, RuntimeFunctionDefinitionUpdateResponse> {
38
- const method = this.methods[0], opt = this._transport.mergeOptions(options);
39
- return stackIntercept<RuntimeFunctionDefinitionUpdateRequest, RuntimeFunctionDefinitionUpdateResponse>("unary", this._transport, method, opt, input);
40
- }
35
+ update(input: RuntimeFunctionDefinitionUpdateRequest, options?: RpcOptions): UnaryCall<RuntimeFunctionDefinitionUpdateRequest, RuntimeFunctionDefinitionUpdateResponse>;
41
36
  }
@@ -0,0 +1,25 @@
1
+ // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
2
+ // @generated from protobuf file "aquila.runtime_function.proto" (package "aquila", syntax proto3)
3
+ // tslint:disable
4
+ import { RuntimeFunctionDefinitionService } from "./aquila.runtime_function_pb";
5
+ import { stackIntercept } from "@protobuf-ts/runtime-rpc";
6
+ /**
7
+ * This service will be implemented as a server by Aquila and as a client by Taurus.
8
+ *
9
+ * @generated from protobuf service aquila.RuntimeFunctionDefinitionService
10
+ */
11
+ export class RuntimeFunctionDefinitionServiceClient {
12
+ constructor(_transport) {
13
+ this._transport = _transport;
14
+ this.typeName = RuntimeFunctionDefinitionService.typeName;
15
+ this.methods = RuntimeFunctionDefinitionService.methods;
16
+ this.options = RuntimeFunctionDefinitionService.options;
17
+ }
18
+ /**
19
+ * @generated from protobuf rpc: Update
20
+ */
21
+ update(input, options) {
22
+ const method = this.methods[0], opt = this._transport.mergeOptions(options);
23
+ return stackIntercept("unary", this._transport, method, opt, input);
24
+ }
25
+ }
@@ -0,0 +1,61 @@
1
+ // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
2
+ // @generated from protobuf file "aquila.runtime_function.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 { RuntimeFunctionDefinition } from "./shared.runtime_function_pb";
11
+ /**
12
+ * Request for updating a list of runtime function definitions
13
+ *
14
+ * @generated from protobuf message aquila.RuntimeFunctionDefinitionUpdateRequest
15
+ */
16
+ export interface RuntimeFunctionDefinitionUpdateRequest {
17
+ /**
18
+ * List of runtime function definitions
19
+ *
20
+ * @generated from protobuf field: repeated shared.RuntimeFunctionDefinition runtime_functions = 1
21
+ */
22
+ runtimeFunctions: RuntimeFunctionDefinition[];
23
+ }
24
+ /**
25
+ * Response of updating runtime function definitions
26
+ *
27
+ * @generated from protobuf message aquila.RuntimeFunctionDefinitionUpdateResponse
28
+ */
29
+ export interface RuntimeFunctionDefinitionUpdateResponse {
30
+ /**
31
+ * True if was successful, false if not
32
+ *
33
+ * @generated from protobuf field: bool success = 1
34
+ */
35
+ success: boolean;
36
+ }
37
+ declare class RuntimeFunctionDefinitionUpdateRequest$Type extends MessageType<RuntimeFunctionDefinitionUpdateRequest> {
38
+ constructor();
39
+ create(value?: PartialMessage<RuntimeFunctionDefinitionUpdateRequest>): RuntimeFunctionDefinitionUpdateRequest;
40
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RuntimeFunctionDefinitionUpdateRequest): RuntimeFunctionDefinitionUpdateRequest;
41
+ internalBinaryWrite(message: RuntimeFunctionDefinitionUpdateRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
42
+ }
43
+ /**
44
+ * @generated MessageType for protobuf message aquila.RuntimeFunctionDefinitionUpdateRequest
45
+ */
46
+ export declare const RuntimeFunctionDefinitionUpdateRequest: RuntimeFunctionDefinitionUpdateRequest$Type;
47
+ declare class RuntimeFunctionDefinitionUpdateResponse$Type extends MessageType<RuntimeFunctionDefinitionUpdateResponse> {
48
+ constructor();
49
+ create(value?: PartialMessage<RuntimeFunctionDefinitionUpdateResponse>): RuntimeFunctionDefinitionUpdateResponse;
50
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RuntimeFunctionDefinitionUpdateResponse): RuntimeFunctionDefinitionUpdateResponse;
51
+ internalBinaryWrite(message: RuntimeFunctionDefinitionUpdateResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
52
+ }
53
+ /**
54
+ * @generated MessageType for protobuf message aquila.RuntimeFunctionDefinitionUpdateResponse
55
+ */
56
+ export declare const RuntimeFunctionDefinitionUpdateResponse: RuntimeFunctionDefinitionUpdateResponse$Type;
57
+ /**
58
+ * @generated ServiceType for protobuf service aquila.RuntimeFunctionDefinitionService
59
+ */
60
+ export declare const RuntimeFunctionDefinitionService: any;
61
+ export {};
@@ -1,58 +1,30 @@
1
- // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix
1
+ // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
2
+ // @generated from protobuf file "aquila.runtime_function.proto" (package "aquila", syntax proto3)
3
+ // tslint:disable
4
+ // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
2
5
  // @generated from protobuf file "aquila.runtime_function.proto" (package "aquila", syntax proto3)
3
6
  // tslint:disable
4
7
  import { ServiceType } from "@protobuf-ts/runtime-rpc";
5
- import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
6
- import type { IBinaryWriter } from "@protobuf-ts/runtime";
7
8
  import { WireType } from "@protobuf-ts/runtime";
8
- import type { BinaryReadOptions } from "@protobuf-ts/runtime";
9
- import type { IBinaryReader } from "@protobuf-ts/runtime";
10
9
  import { UnknownFieldHandler } from "@protobuf-ts/runtime";
11
- import type { PartialMessage } from "@protobuf-ts/runtime";
12
10
  import { reflectionMergePartial } from "@protobuf-ts/runtime";
13
11
  import { MessageType } from "@protobuf-ts/runtime";
14
12
  import { RuntimeFunctionDefinition } from "./shared.runtime_function_pb";
15
- /**
16
- * Request for updating a list of runtime function definitions
17
- *
18
- * @generated from protobuf message aquila.RuntimeFunctionDefinitionUpdateRequest
19
- */
20
- export interface RuntimeFunctionDefinitionUpdateRequest {
21
- /**
22
- * List of runtime function definitions
23
- *
24
- * @generated from protobuf field: repeated shared.RuntimeFunctionDefinition runtime_functions = 1
25
- */
26
- runtimeFunctions: RuntimeFunctionDefinition[];
27
- }
28
- /**
29
- * Response of updating runtime function definitions
30
- *
31
- * @generated from protobuf message aquila.RuntimeFunctionDefinitionUpdateResponse
32
- */
33
- export interface RuntimeFunctionDefinitionUpdateResponse {
34
- /**
35
- * True if was successful, false if not
36
- *
37
- * @generated from protobuf field: bool success = 1
38
- */
39
- success: boolean;
40
- }
41
13
  // @generated message type with reflection information, may provide speed optimized methods
42
- class RuntimeFunctionDefinitionUpdateRequest$Type extends MessageType<RuntimeFunctionDefinitionUpdateRequest> {
14
+ class RuntimeFunctionDefinitionUpdateRequest$Type extends MessageType {
43
15
  constructor() {
44
16
  super("aquila.RuntimeFunctionDefinitionUpdateRequest", [
45
17
  { no: 1, name: "runtime_functions", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => RuntimeFunctionDefinition }
46
18
  ]);
47
19
  }
48
- create(value?: PartialMessage<RuntimeFunctionDefinitionUpdateRequest>): RuntimeFunctionDefinitionUpdateRequest {
49
- const message = globalThis.Object.create((this.messagePrototype!));
20
+ create(value) {
21
+ const message = globalThis.Object.create((this.messagePrototype));
50
22
  message.runtimeFunctions = [];
51
23
  if (value !== undefined)
52
- reflectionMergePartial<RuntimeFunctionDefinitionUpdateRequest>(this, message, value);
24
+ reflectionMergePartial(this, message, value);
53
25
  return message;
54
26
  }
55
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RuntimeFunctionDefinitionUpdateRequest): RuntimeFunctionDefinitionUpdateRequest {
27
+ internalBinaryRead(reader, length, options, target) {
56
28
  let message = target ?? this.create(), end = reader.pos + length;
57
29
  while (reader.pos < end) {
58
30
  let [fieldNo, wireType] = reader.tag();
@@ -71,7 +43,7 @@ class RuntimeFunctionDefinitionUpdateRequest$Type extends MessageType<RuntimeFun
71
43
  }
72
44
  return message;
73
45
  }
74
- internalBinaryWrite(message: RuntimeFunctionDefinitionUpdateRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
46
+ internalBinaryWrite(message, writer, options) {
75
47
  /* repeated shared.RuntimeFunctionDefinition runtime_functions = 1; */
76
48
  for (let i = 0; i < message.runtimeFunctions.length; i++)
77
49
  RuntimeFunctionDefinition.internalBinaryWrite(message.runtimeFunctions[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
@@ -86,20 +58,20 @@ class RuntimeFunctionDefinitionUpdateRequest$Type extends MessageType<RuntimeFun
86
58
  */
87
59
  export const RuntimeFunctionDefinitionUpdateRequest = new RuntimeFunctionDefinitionUpdateRequest$Type();
88
60
  // @generated message type with reflection information, may provide speed optimized methods
89
- class RuntimeFunctionDefinitionUpdateResponse$Type extends MessageType<RuntimeFunctionDefinitionUpdateResponse> {
61
+ class RuntimeFunctionDefinitionUpdateResponse$Type extends MessageType {
90
62
  constructor() {
91
63
  super("aquila.RuntimeFunctionDefinitionUpdateResponse", [
92
64
  { no: 1, name: "success", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
93
65
  ]);
94
66
  }
95
- create(value?: PartialMessage<RuntimeFunctionDefinitionUpdateResponse>): RuntimeFunctionDefinitionUpdateResponse {
96
- const message = globalThis.Object.create((this.messagePrototype!));
67
+ create(value) {
68
+ const message = globalThis.Object.create((this.messagePrototype));
97
69
  message.success = false;
98
70
  if (value !== undefined)
99
- reflectionMergePartial<RuntimeFunctionDefinitionUpdateResponse>(this, message, value);
71
+ reflectionMergePartial(this, message, value);
100
72
  return message;
101
73
  }
102
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: RuntimeFunctionDefinitionUpdateResponse): RuntimeFunctionDefinitionUpdateResponse {
74
+ internalBinaryRead(reader, length, options, target) {
103
75
  let message = target ?? this.create(), end = reader.pos + length;
104
76
  while (reader.pos < end) {
105
77
  let [fieldNo, wireType] = reader.tag();
@@ -118,7 +90,7 @@ class RuntimeFunctionDefinitionUpdateResponse$Type extends MessageType<RuntimeFu
118
90
  }
119
91
  return message;
120
92
  }
121
- internalBinaryWrite(message: RuntimeFunctionDefinitionUpdateResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
93
+ internalBinaryWrite(message, writer, options) {
122
94
  /* bool success = 1; */
123
95
  if (message.success !== false)
124
96
  writer.tag(1, WireType.Varint).bool(message.success);
@@ -1,12 +1,10 @@
1
- // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix
1
+ // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
2
2
  // @generated from protobuf file "sagittarius.action.proto" (package "sagittarius", syntax proto3)
3
3
  // tslint:disable
4
4
  import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
5
5
  import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
6
- import { ActionService } from "./sagittarius.action_pb";
7
6
  import type { ActionLogoffResponse } from "./sagittarius.action_pb";
8
7
  import type { ActionLogoffRequest } from "./sagittarius.action_pb";
9
- import { stackIntercept } from "@protobuf-ts/runtime-rpc";
10
8
  import type { ActionLogonResponse } from "./sagittarius.action_pb";
11
9
  import type { ActionLogonRequest } from "./sagittarius.action_pb";
12
10
  import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
@@ -31,24 +29,18 @@ export interface IActionServiceClient {
31
29
  *
32
30
  * @generated from protobuf service sagittarius.ActionService
33
31
  */
34
- export class ActionServiceClient implements IActionServiceClient, ServiceInfo {
35
- typeName = ActionService.typeName;
36
- methods = ActionService.methods;
37
- options = ActionService.options;
38
- constructor(private readonly _transport: RpcTransport) {
39
- }
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);
40
38
  /**
41
39
  * @generated from protobuf rpc: Logon
42
40
  */
43
- logon(input: ActionLogonRequest, options?: RpcOptions): UnaryCall<ActionLogonRequest, ActionLogonResponse> {
44
- const method = this.methods[0], opt = this._transport.mergeOptions(options);
45
- return stackIntercept<ActionLogonRequest, ActionLogonResponse>("unary", this._transport, method, opt, input);
46
- }
41
+ logon(input: ActionLogonRequest, options?: RpcOptions): UnaryCall<ActionLogonRequest, ActionLogonResponse>;
47
42
  /**
48
43
  * @generated from protobuf rpc: Logoff
49
44
  */
50
- logoff(input: ActionLogoffRequest, options?: RpcOptions): UnaryCall<ActionLogoffRequest, ActionLogoffResponse> {
51
- const method = this.methods[1], opt = this._transport.mergeOptions(options);
52
- return stackIntercept<ActionLogoffRequest, ActionLogoffResponse>("unary", this._transport, method, opt, input);
53
- }
45
+ logoff(input: ActionLogoffRequest, options?: RpcOptions): UnaryCall<ActionLogoffRequest, ActionLogoffResponse>;
54
46
  }
@@ -0,0 +1,32 @@
1
+ // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
2
+ // @generated from protobuf file "sagittarius.action.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
+ }
@@ -0,0 +1,95 @@
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 {};