@code0-tech/tucana 0.0.55 → 0.0.57

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.
@@ -1,67 +0,0 @@
1
- // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
2
- // @generated from protobuf file "aquila.action_configuration.proto" (package "aquila", syntax proto3)
3
- // tslint:disable
4
- import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
5
- import type { IBinaryWriter } from "@protobuf-ts/runtime";
6
- import type { BinaryReadOptions } from "@protobuf-ts/runtime";
7
- import type { IBinaryReader } from "@protobuf-ts/runtime";
8
- import type { PartialMessage } from "@protobuf-ts/runtime";
9
- import { MessageType } from "@protobuf-ts/runtime";
10
- import { ActionConfigurationDefinition } from "./shared.action_configuration_pb";
11
- /**
12
- * Request for updating a action configuration
13
- *
14
- * @generated from protobuf message aquila.ActionConfigurationUpdateRequest
15
- */
16
- export interface ActionConfigurationUpdateRequest {
17
- /**
18
- * Name of the action
19
- *
20
- * @generated from protobuf field: string action_identifier = 1
21
- */
22
- actionIdentifier: string;
23
- /**
24
- * List of action configurations that should be updated
25
- *
26
- * @generated from protobuf field: repeated shared.ActionConfigurationDefinition action_configurations = 2
27
- */
28
- actionConfigurations: ActionConfigurationDefinition[];
29
- }
30
- /**
31
- * Response of updating a action configuration
32
- *
33
- * @generated from protobuf message aquila.ActionConfigurationUpdateResponse
34
- */
35
- export interface ActionConfigurationUpdateResponse {
36
- /**
37
- * True if was successful, false if not
38
- *
39
- * @generated from protobuf field: bool success = 1
40
- */
41
- success: boolean;
42
- }
43
- declare class ActionConfigurationUpdateRequest$Type extends MessageType<ActionConfigurationUpdateRequest> {
44
- constructor();
45
- create(value?: PartialMessage<ActionConfigurationUpdateRequest>): ActionConfigurationUpdateRequest;
46
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActionConfigurationUpdateRequest): ActionConfigurationUpdateRequest;
47
- internalBinaryWrite(message: ActionConfigurationUpdateRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
48
- }
49
- /**
50
- * @generated MessageType for protobuf message aquila.ActionConfigurationUpdateRequest
51
- */
52
- export declare const ActionConfigurationUpdateRequest: ActionConfigurationUpdateRequest$Type;
53
- declare class ActionConfigurationUpdateResponse$Type extends MessageType<ActionConfigurationUpdateResponse> {
54
- constructor();
55
- create(value?: PartialMessage<ActionConfigurationUpdateResponse>): ActionConfigurationUpdateResponse;
56
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActionConfigurationUpdateResponse): ActionConfigurationUpdateResponse;
57
- internalBinaryWrite(message: ActionConfigurationUpdateResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
58
- }
59
- /**
60
- * @generated MessageType for protobuf message aquila.ActionConfigurationUpdateResponse
61
- */
62
- export declare const ActionConfigurationUpdateResponse: ActionConfigurationUpdateResponse$Type;
63
- /**
64
- * @generated ServiceType for protobuf service aquila.ActionConfigurationService
65
- */
66
- export declare const ActionConfigurationService: any;
67
- export {};
@@ -1,120 +0,0 @@
1
- // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
2
- // @generated from protobuf file "aquila.action_configuration.proto" (package "aquila", syntax proto3)
3
- // tslint:disable
4
- // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
5
- // @generated from protobuf file "aquila.action_configuration.proto" (package "aquila", syntax proto3)
6
- // tslint:disable
7
- import { ServiceType } from "@protobuf-ts/runtime-rpc";
8
- import { WireType } from "@protobuf-ts/runtime";
9
- import { UnknownFieldHandler } from "@protobuf-ts/runtime";
10
- import { reflectionMergePartial } from "@protobuf-ts/runtime";
11
- import { MessageType } from "@protobuf-ts/runtime";
12
- import { ActionConfigurationDefinition } from "./shared.action_configuration_pb";
13
- // @generated message type with reflection information, may provide speed optimized methods
14
- class ActionConfigurationUpdateRequest$Type extends MessageType {
15
- constructor() {
16
- super("aquila.ActionConfigurationUpdateRequest", [
17
- { no: 1, name: "action_identifier", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
18
- { no: 2, name: "action_configurations", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => ActionConfigurationDefinition }
19
- ]);
20
- }
21
- create(value) {
22
- const message = globalThis.Object.create((this.messagePrototype));
23
- message.actionIdentifier = "";
24
- message.actionConfigurations = [];
25
- if (value !== undefined)
26
- reflectionMergePartial(this, message, value);
27
- return message;
28
- }
29
- internalBinaryRead(reader, length, options, target) {
30
- let message = target ?? this.create(), end = reader.pos + length;
31
- while (reader.pos < end) {
32
- let [fieldNo, wireType] = reader.tag();
33
- switch (fieldNo) {
34
- case /* string action_identifier */ 1:
35
- message.actionIdentifier = reader.string();
36
- break;
37
- case /* repeated shared.ActionConfigurationDefinition action_configurations */ 2:
38
- message.actionConfigurations.push(ActionConfigurationDefinition.internalBinaryRead(reader, reader.uint32(), options));
39
- break;
40
- default:
41
- let u = options.readUnknownField;
42
- if (u === "throw")
43
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
44
- let d = reader.skip(wireType);
45
- if (u !== false)
46
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
47
- }
48
- }
49
- return message;
50
- }
51
- internalBinaryWrite(message, writer, options) {
52
- /* string action_identifier = 1; */
53
- if (message.actionIdentifier !== "")
54
- writer.tag(1, WireType.LengthDelimited).string(message.actionIdentifier);
55
- /* repeated shared.ActionConfigurationDefinition action_configurations = 2; */
56
- for (let i = 0; i < message.actionConfigurations.length; i++)
57
- ActionConfigurationDefinition.internalBinaryWrite(message.actionConfigurations[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
58
- let u = options.writeUnknownFields;
59
- if (u !== false)
60
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
61
- return writer;
62
- }
63
- }
64
- /**
65
- * @generated MessageType for protobuf message aquila.ActionConfigurationUpdateRequest
66
- */
67
- export const ActionConfigurationUpdateRequest = new ActionConfigurationUpdateRequest$Type();
68
- // @generated message type with reflection information, may provide speed optimized methods
69
- class ActionConfigurationUpdateResponse$Type extends MessageType {
70
- constructor() {
71
- super("aquila.ActionConfigurationUpdateResponse", [
72
- { no: 1, name: "success", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
73
- ]);
74
- }
75
- create(value) {
76
- const message = globalThis.Object.create((this.messagePrototype));
77
- message.success = false;
78
- if (value !== undefined)
79
- reflectionMergePartial(this, message, value);
80
- return message;
81
- }
82
- internalBinaryRead(reader, length, options, target) {
83
- let message = target ?? this.create(), end = reader.pos + length;
84
- while (reader.pos < end) {
85
- let [fieldNo, wireType] = reader.tag();
86
- switch (fieldNo) {
87
- case /* bool success */ 1:
88
- message.success = reader.bool();
89
- break;
90
- default:
91
- let u = options.readUnknownField;
92
- if (u === "throw")
93
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
94
- let d = reader.skip(wireType);
95
- if (u !== false)
96
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
97
- }
98
- }
99
- return message;
100
- }
101
- internalBinaryWrite(message, writer, options) {
102
- /* bool success = 1; */
103
- if (message.success !== false)
104
- writer.tag(1, WireType.Varint).bool(message.success);
105
- let u = options.writeUnknownFields;
106
- if (u !== false)
107
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
108
- return writer;
109
- }
110
- }
111
- /**
112
- * @generated MessageType for protobuf message aquila.ActionConfigurationUpdateResponse
113
- */
114
- export const ActionConfigurationUpdateResponse = new ActionConfigurationUpdateResponse$Type();
115
- /**
116
- * @generated ServiceType for protobuf service aquila.ActionConfigurationService
117
- */
118
- export const ActionConfigurationService = new ServiceType("aquila.ActionConfigurationService", [
119
- { name: "Update", options: {}, I: ActionConfigurationUpdateRequest, O: ActionConfigurationUpdateResponse }
120
- ]);
@@ -1,65 +0,0 @@
1
- // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
2
- // @generated from protobuf file "aquila.execution.proto" (package "aquila", syntax proto3)
3
- // tslint:disable
4
- import type { ActionResultResponse } from "./aquila.execution_pb";
5
- import type { ActionResultRequest } from "./aquila.execution_pb";
6
- import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
7
- import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
8
- import type { ActionCallResponse } from "./aquila.execution_pb";
9
- import type { ActionCallRequest } from "./aquila.execution_pb";
10
- import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
11
- import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
12
- /**
13
- * Service for calling an execution with the given parameter
14
- *
15
- * @generated from protobuf service aquila.ActionCallService
16
- */
17
- export interface IActionCallServiceClient {
18
- /**
19
- * @generated from protobuf rpc: Call
20
- */
21
- call(input: ActionCallRequest, options?: RpcOptions): UnaryCall<ActionCallRequest, ActionCallResponse>;
22
- }
23
- /**
24
- * Service for calling an execution with the given parameter
25
- *
26
- * @generated from protobuf service aquila.ActionCallService
27
- */
28
- export declare class ActionCallServiceClient implements IActionCallServiceClient, ServiceInfo {
29
- private readonly _transport;
30
- typeName: any;
31
- methods: any;
32
- options: any;
33
- constructor(_transport: RpcTransport);
34
- /**
35
- * @generated from protobuf rpc: Call
36
- */
37
- call(input: ActionCallRequest, options?: RpcOptions): UnaryCall<ActionCallRequest, ActionCallResponse>;
38
- }
39
- /**
40
- * Service for getting a result of an execution
41
- *
42
- * @generated from protobuf service aquila.ActionResultService
43
- */
44
- export interface IActionResultServiceClient {
45
- /**
46
- * @generated from protobuf rpc: GetResult
47
- */
48
- getResult(input: ActionResultRequest, options?: RpcOptions): UnaryCall<ActionResultRequest, ActionResultResponse>;
49
- }
50
- /**
51
- * Service for getting a result of an execution
52
- *
53
- * @generated from protobuf service aquila.ActionResultService
54
- */
55
- export declare class ActionResultServiceClient implements IActionResultServiceClient, ServiceInfo {
56
- private readonly _transport;
57
- typeName: any;
58
- methods: any;
59
- options: any;
60
- constructor(_transport: RpcTransport);
61
- /**
62
- * @generated from protobuf rpc: GetResult
63
- */
64
- getResult(input: ActionResultRequest, options?: RpcOptions): UnaryCall<ActionResultRequest, ActionResultResponse>;
65
- }
@@ -1,49 +0,0 @@
1
- // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
2
- // @generated from protobuf file "aquila.execution.proto" (package "aquila", syntax proto3)
3
- // tslint:disable
4
- // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
5
- // @generated from protobuf file "aquila.execution.proto" (package "aquila", syntax proto3)
6
- // tslint:disable
7
- import { ActionResultService } from "./aquila.execution_pb";
8
- import { ActionCallService } from "./aquila.execution_pb";
9
- import { stackIntercept } from "@protobuf-ts/runtime-rpc";
10
- /**
11
- * Service for calling an execution with the given parameter
12
- *
13
- * @generated from protobuf service aquila.ActionCallService
14
- */
15
- export class ActionCallServiceClient {
16
- constructor(_transport) {
17
- this._transport = _transport;
18
- this.typeName = ActionCallService.typeName;
19
- this.methods = ActionCallService.methods;
20
- this.options = ActionCallService.options;
21
- }
22
- /**
23
- * @generated from protobuf rpc: Call
24
- */
25
- call(input, options) {
26
- const method = this.methods[0], opt = this._transport.mergeOptions(options);
27
- return stackIntercept("unary", this._transport, method, opt, input);
28
- }
29
- }
30
- /**
31
- * Service for getting a result of an execution
32
- *
33
- * @generated from protobuf service aquila.ActionResultService
34
- */
35
- export class ActionResultServiceClient {
36
- constructor(_transport) {
37
- this._transport = _transport;
38
- this.typeName = ActionResultService.typeName;
39
- this.methods = ActionResultService.methods;
40
- this.options = ActionResultService.options;
41
- }
42
- /**
43
- * @generated from protobuf rpc: GetResult
44
- */
45
- getResult(input, options) {
46
- const method = this.methods[0], opt = this._transport.mergeOptions(options);
47
- return stackIntercept("unary", this._transport, method, opt, input);
48
- }
49
- }
@@ -1,135 +0,0 @@
1
- // @generated by protobuf-ts 2.11.1 with parameter add_pb_suffix,output_javascript_es2020
2
- // @generated from protobuf file "aquila.execution.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
- /**
11
- * Request to call an action with param. Request will be routed over Aquila
12
- *
13
- * @generated from protobuf message aquila.ActionCallRequest
14
- */
15
- export interface ActionCallRequest {
16
- /**
17
- * Function identifier
18
- *
19
- * @generated from protobuf field: string identifier = 1
20
- */
21
- identifier: string;
22
- /**
23
- * List of parameters (json format --> also can just be a primitive)
24
- *
25
- * @generated from protobuf field: repeated string parameters = 2
26
- */
27
- parameters: string[];
28
- }
29
- /**
30
- * Response of execution call
31
- *
32
- * @generated from protobuf message aquila.ActionCallResponse
33
- */
34
- export interface ActionCallResponse {
35
- /**
36
- * Identifier of the execution id given by Aquila for the parameter
37
- *
38
- * @generated from protobuf field: string execution_identifier = 1
39
- */
40
- executionIdentifier: string;
41
- }
42
- /**
43
- * List of results
44
- *
45
- * @generated from protobuf message aquila.ActionResult
46
- */
47
- export interface ActionResult {
48
- /**
49
- * @generated from protobuf field: repeated string result = 1
50
- */
51
- result: string[];
52
- }
53
- /**
54
- * Request to check if there are results for the given identifier
55
- *
56
- * @generated from protobuf message aquila.ActionResultRequest
57
- */
58
- export interface ActionResultRequest {
59
- /**
60
- * Identifier that is connected to the parameter
61
- *
62
- * @generated from protobuf field: string execution_identifier = 1
63
- */
64
- executionIdentifier: string;
65
- }
66
- /**
67
- * @generated from protobuf message aquila.ActionResultResponse
68
- */
69
- export interface ActionResultResponse {
70
- /**
71
- * Result of the given parameter!
72
- *
73
- * @generated from protobuf field: optional aquila.ActionResult action_result = 1
74
- */
75
- actionResult?: ActionResult;
76
- }
77
- declare class ActionCallRequest$Type extends MessageType<ActionCallRequest> {
78
- constructor();
79
- create(value?: PartialMessage<ActionCallRequest>): ActionCallRequest;
80
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActionCallRequest): ActionCallRequest;
81
- internalBinaryWrite(message: ActionCallRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
82
- }
83
- /**
84
- * @generated MessageType for protobuf message aquila.ActionCallRequest
85
- */
86
- export declare const ActionCallRequest: ActionCallRequest$Type;
87
- declare class ActionCallResponse$Type extends MessageType<ActionCallResponse> {
88
- constructor();
89
- create(value?: PartialMessage<ActionCallResponse>): ActionCallResponse;
90
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActionCallResponse): ActionCallResponse;
91
- internalBinaryWrite(message: ActionCallResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
92
- }
93
- /**
94
- * @generated MessageType for protobuf message aquila.ActionCallResponse
95
- */
96
- export declare const ActionCallResponse: ActionCallResponse$Type;
97
- declare class ActionResult$Type extends MessageType<ActionResult> {
98
- constructor();
99
- create(value?: PartialMessage<ActionResult>): ActionResult;
100
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActionResult): ActionResult;
101
- internalBinaryWrite(message: ActionResult, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
102
- }
103
- /**
104
- * @generated MessageType for protobuf message aquila.ActionResult
105
- */
106
- export declare const ActionResult: ActionResult$Type;
107
- declare class ActionResultRequest$Type extends MessageType<ActionResultRequest> {
108
- constructor();
109
- create(value?: PartialMessage<ActionResultRequest>): ActionResultRequest;
110
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActionResultRequest): ActionResultRequest;
111
- internalBinaryWrite(message: ActionResultRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
112
- }
113
- /**
114
- * @generated MessageType for protobuf message aquila.ActionResultRequest
115
- */
116
- export declare const ActionResultRequest: ActionResultRequest$Type;
117
- declare class ActionResultResponse$Type extends MessageType<ActionResultResponse> {
118
- constructor();
119
- create(value?: PartialMessage<ActionResultResponse>): ActionResultResponse;
120
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ActionResultResponse): ActionResultResponse;
121
- internalBinaryWrite(message: ActionResultResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
122
- }
123
- /**
124
- * @generated MessageType for protobuf message aquila.ActionResultResponse
125
- */
126
- export declare const ActionResultResponse: ActionResultResponse$Type;
127
- /**
128
- * @generated ServiceType for protobuf service aquila.ActionCallService
129
- */
130
- export declare const ActionCallService: any;
131
- /**
132
- * @generated ServiceType for protobuf service aquila.ActionResultService
133
- */
134
- export declare const ActionResultService: any;
135
- export {};