@cobotar/protocol 0.19.12 → 0.19.14

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/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # CobotAR-Protocol
2
2
  A collection of protobuf messages for the CobotAR-project
3
3
 
4
- Current version: 0.19.12
4
+ Current version: 0.19.14
5
5
 
6
6
  ## Documentation
7
7
  Find it here: [documentation/README.md](documentation/README.md)
@@ -100,6 +100,8 @@ export type AssetDefinition = Message<"resources.v1.AssetDefinition"> & {
100
100
  vision?: VisionCapability;
101
101
 
102
102
  /**
103
+ * TODO: add ToolRole or similar way to express capabilities?
104
+ *
103
105
  * @generated from field: common.v1.CustomProperties custom = 9;
104
106
  */
105
107
  custom?: CustomProperties;
@@ -0,0 +1,174 @@
1
+ // @generated by protoc-gen-es v2.10.2 with parameter "target=ts,import_extension=ts"
2
+ // @generated from file runtime/v1/runtime_requests.proto (package runtime.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
+ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import type { ActorRef } from "../../common/v1/actor_pb.ts";
8
+ import { file_common_v1_actor } from "../../common/v1/actor_pb.ts";
9
+ import type { Message } from "@bufbuild/protobuf";
10
+
11
+ /**
12
+ * Describes the file runtime/v1/runtime_requests.proto.
13
+ */
14
+ export const file_runtime_v1_runtime_requests: GenFile = /*@__PURE__*/
15
+ fileDesc("CiFydW50aW1lL3YxL3J1bnRpbWVfcmVxdWVzdHMucHJvdG8SCnJ1bnRpbWUudjEiPQoTUHJvY2Vzc0Fib3J0UmVxdWVzdBIWCg5wcm9jZXNzX3J1bl9pZBgBIAEoCRIOCgZyZWFzb24YAiABKAkihQEKFlRhc2tTdGF0ZUNoYW5nZVJlcXVlc3QSEwoLdGFza19ydW5faWQYASABKAkSKwoFc3RhdGUYAiABKA4yHC5ydW50aW1lLnYxLlRhc2tTdGF0ZVJlcXVlc3QSEgoKZXJyb3JfY29kZRgDIAEoCRIVCg1lcnJvcl9tZXNzYWdlGAQgASgJIk4KE1Rhc2tSZWFzc2lnblJlcXVlc3QSEwoLdGFza19ydW5faWQYASABKAkSIgoFYWN0b3IYAiABKAsyEy5jb21tb24udjEuQWN0b3JSZWYikQEKElRhc2tQcm9ncmVzc1VwZGF0ZRITCgt0YXNrX3J1bl9pZBgBIAEoCRIiCgVhY3RvchgCIAEoCzITLmNvbW1vbi52MS5BY3RvclJlZhIPCgdtZXNzYWdlGAMgASgJEhQKDGVsYXBzZWRfdGltZRgEIAEoBRIbChNlc3RpbWF0ZWRfdGltZV9sZWZ0GAUgASgFKtABChBUYXNrU3RhdGVSZXF1ZXN0EiIKHlRBU0tfU1RBVEVfUkVRVUVTVF9VTlNQRUNJRklFRBAAEiIKHlRBU0tfU1RBVEVfUkVRVUVTVF9JTl9QUk9HUkVTUxABEhsKF1RBU0tfU1RBVEVfUkVRVUVTVF9ET05FEAISGwoXVEFTS19TVEFURV9SRVFVRVNUX1VORE8QAxIcChhUQVNLX1NUQVRFX1JFUVVFU1RfRVJST1IQBBIcChhUQVNLX1NUQVRFX1JFUVVFU1RfQUJPUlQQBUKzAQoOY29tLnJ1bnRpbWUudjFCFFJ1bnRpbWVSZXF1ZXN0c1Byb3RvUAFaOWdpdGh1Yi5jb20vY29ib3Rhci9wcm90b2NvbC9tZXNzYWdlcy9ydW50aW1lL3YxO3J1bnRpbWV2MaICA1JYWKoCE01lc3NhZ2VzLlJ1bnRpbWUuVjHKAgpSdW50aW1lXFYx4gIWUnVudGltZVxWMVxHUEJNZXRhZGF0YeoCC1J1bnRpbWU6OlYxYgZwcm90bzM", [file_common_v1_actor]);
16
+
17
+ /**
18
+ * @generated from message runtime.v1.ProcessAbortRequest
19
+ */
20
+ export type ProcessAbortRequest = Message<"runtime.v1.ProcessAbortRequest"> & {
21
+ /**
22
+ * @generated from field: string process_run_id = 1;
23
+ */
24
+ processRunId: string;
25
+
26
+ /**
27
+ * @generated from field: string reason = 2;
28
+ */
29
+ reason: string;
30
+ };
31
+
32
+ /**
33
+ * Describes the message runtime.v1.ProcessAbortRequest.
34
+ * Use `create(ProcessAbortRequestSchema)` to create a new message.
35
+ */
36
+ export const ProcessAbortRequestSchema: GenMessage<ProcessAbortRequest> = /*@__PURE__*/
37
+ messageDesc(file_runtime_v1_runtime_requests, 0);
38
+
39
+ /**
40
+ * @generated from message runtime.v1.TaskStateChangeRequest
41
+ */
42
+ export type TaskStateChangeRequest = Message<"runtime.v1.TaskStateChangeRequest"> & {
43
+ /**
44
+ * @generated from field: string task_run_id = 1;
45
+ */
46
+ taskRunId: string;
47
+
48
+ /**
49
+ * @generated from field: runtime.v1.TaskStateRequest state = 2;
50
+ */
51
+ state: TaskStateRequest;
52
+
53
+ /**
54
+ * @generated from field: string error_code = 3;
55
+ */
56
+ errorCode: string;
57
+
58
+ /**
59
+ * @generated from field: string error_message = 4;
60
+ */
61
+ errorMessage: string;
62
+ };
63
+
64
+ /**
65
+ * Describes the message runtime.v1.TaskStateChangeRequest.
66
+ * Use `create(TaskStateChangeRequestSchema)` to create a new message.
67
+ */
68
+ export const TaskStateChangeRequestSchema: GenMessage<TaskStateChangeRequest> = /*@__PURE__*/
69
+ messageDesc(file_runtime_v1_runtime_requests, 1);
70
+
71
+ /**
72
+ * @generated from message runtime.v1.TaskReassignRequest
73
+ */
74
+ export type TaskReassignRequest = Message<"runtime.v1.TaskReassignRequest"> & {
75
+ /**
76
+ * @generated from field: string task_run_id = 1;
77
+ */
78
+ taskRunId: string;
79
+
80
+ /**
81
+ * @generated from field: common.v1.ActorRef actor = 2;
82
+ */
83
+ actor?: ActorRef;
84
+ };
85
+
86
+ /**
87
+ * Describes the message runtime.v1.TaskReassignRequest.
88
+ * Use `create(TaskReassignRequestSchema)` to create a new message.
89
+ */
90
+ export const TaskReassignRequestSchema: GenMessage<TaskReassignRequest> = /*@__PURE__*/
91
+ messageDesc(file_runtime_v1_runtime_requests, 2);
92
+
93
+ /**
94
+ * @generated from message runtime.v1.TaskProgressUpdate
95
+ */
96
+ export type TaskProgressUpdate = Message<"runtime.v1.TaskProgressUpdate"> & {
97
+ /**
98
+ * @generated from field: string task_run_id = 1;
99
+ */
100
+ taskRunId: string;
101
+
102
+ /**
103
+ * @generated from field: common.v1.ActorRef actor = 2;
104
+ */
105
+ actor?: ActorRef;
106
+
107
+ /**
108
+ * @generated from field: string message = 3;
109
+ */
110
+ message: string;
111
+
112
+ /**
113
+ * elapsed time in seconds
114
+ *
115
+ * @generated from field: int32 elapsed_time = 4;
116
+ */
117
+ elapsedTime: number;
118
+
119
+ /**
120
+ * estimated time left in seconds
121
+ *
122
+ * @generated from field: int32 estimated_time_left = 5;
123
+ */
124
+ estimatedTimeLeft: number;
125
+ };
126
+
127
+ /**
128
+ * Describes the message runtime.v1.TaskProgressUpdate.
129
+ * Use `create(TaskProgressUpdateSchema)` to create a new message.
130
+ */
131
+ export const TaskProgressUpdateSchema: GenMessage<TaskProgressUpdate> = /*@__PURE__*/
132
+ messageDesc(file_runtime_v1_runtime_requests, 3);
133
+
134
+ /**
135
+ * @generated from enum runtime.v1.TaskStateRequest
136
+ */
137
+ export enum TaskStateRequest {
138
+ /**
139
+ * @generated from enum value: TASK_STATE_REQUEST_UNSPECIFIED = 0;
140
+ */
141
+ UNSPECIFIED = 0,
142
+
143
+ /**
144
+ * @generated from enum value: TASK_STATE_REQUEST_IN_PROGRESS = 1;
145
+ */
146
+ IN_PROGRESS = 1,
147
+
148
+ /**
149
+ * @generated from enum value: TASK_STATE_REQUEST_DONE = 2;
150
+ */
151
+ DONE = 2,
152
+
153
+ /**
154
+ * @generated from enum value: TASK_STATE_REQUEST_UNDO = 3;
155
+ */
156
+ UNDO = 3,
157
+
158
+ /**
159
+ * @generated from enum value: TASK_STATE_REQUEST_ERROR = 4;
160
+ */
161
+ ERROR = 4,
162
+
163
+ /**
164
+ * @generated from enum value: TASK_STATE_REQUEST_ABORT = 5;
165
+ */
166
+ ABORT = 5,
167
+ }
168
+
169
+ /**
170
+ * Describes the enum runtime.v1.TaskStateRequest.
171
+ */
172
+ export const TaskStateRequestSchema: GenEnum<TaskStateRequest> = /*@__PURE__*/
173
+ enumDesc(file_runtime_v1_runtime_requests, 0);
174
+
@@ -40,6 +40,8 @@ export type TaskRuntimeBinding = Message<"runtime.v1.TaskRuntimeBinding"> & {
40
40
  assetInstanceId: string;
41
41
 
42
42
  /**
43
+ * TODO: think this should be removed
44
+ *
43
45
  * @generated from field: string robot_instance_id = 2;
44
46
  */
45
47
  robotInstanceId: string;
@@ -0,0 +1,222 @@
1
+ // @generated by protoc-gen-es v2.10.2 with parameter "target=ts,import_extension=ts"
2
+ // @generated from file seed/v1/seed.proto (package seed.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
7
+ import type { ActionMessage } from "../../ar/v1/action_pb.ts";
8
+ import { file_ar_v1_action } from "../../ar/v1/action_pb.ts";
9
+ import type { FeedbackMessage } from "../../ar/v1/feedback_pb.ts";
10
+ import { file_ar_v1_feedback } from "../../ar/v1/feedback_pb.ts";
11
+ import type { ActorSkill } from "../../capability/v1/actor_skill_pb.ts";
12
+ import { file_capability_v1_actor_skill } from "../../capability/v1/actor_skill_pb.ts";
13
+ import type { SkillDefinition } from "../../capability/v1/skill_definition_pb.ts";
14
+ import { file_capability_v1_skill_definition } from "../../capability/v1/skill_definition_pb.ts";
15
+ import type { ProcessRecipe } from "../../process/v1/process_recipe_pb.ts";
16
+ import { file_process_v1_process_recipe } from "../../process/v1/process_recipe_pb.ts";
17
+ import type { SequenceDefinition } from "../../process/v1/sequence_definition_pb.ts";
18
+ import { file_process_v1_sequence_definition } from "../../process/v1/sequence_definition_pb.ts";
19
+ import type { TaskDefinition } from "../../process/v1/task_definition_pb.ts";
20
+ import { file_process_v1_task_definition } from "../../process/v1/task_definition_pb.ts";
21
+ import type { PartDefinition } from "../../product/v1/part_definition_pb.ts";
22
+ import { file_product_v1_part_definition } from "../../product/v1/part_definition_pb.ts";
23
+ import type { PartInstance } from "../../product/v1/part_instance_pb.ts";
24
+ import { file_product_v1_part_instance } from "../../product/v1/part_instance_pb.ts";
25
+ import type { ProductDefinition } from "../../product/v1/product_definition_pb.ts";
26
+ import { file_product_v1_product_definition } from "../../product/v1/product_definition_pb.ts";
27
+ import type { AssetDefinition } from "../../resources/v1/asset_definition_pb.ts";
28
+ import { file_resources_v1_asset_definition } from "../../resources/v1/asset_definition_pb.ts";
29
+ import type { AssetInstance } from "../../resources/v1/asset_instance_pb.ts";
30
+ import { file_resources_v1_asset_instance } from "../../resources/v1/asset_instance_pb.ts";
31
+ import type { CellDefinition } from "../../resources/v1/cell_definition_pb.ts";
32
+ import { file_resources_v1_cell_definition } from "../../resources/v1/cell_definition_pb.ts";
33
+ import type { ContainerDefinition } from "../../resources/v1/container_definition_pb.ts";
34
+ import { file_resources_v1_container_definition } from "../../resources/v1/container_definition_pb.ts";
35
+ import type { ContainerInstance } from "../../resources/v1/container_instance_pb.ts";
36
+ import { file_resources_v1_container_instance } from "../../resources/v1/container_instance_pb.ts";
37
+ import type { DeviceMessage } from "../../resources/v1/device_pb.ts";
38
+ import { file_resources_v1_device } from "../../resources/v1/device_pb.ts";
39
+ import type { LineDefinition } from "../../resources/v1/line_definition_pb.ts";
40
+ import { file_resources_v1_line_definition } from "../../resources/v1/line_definition_pb.ts";
41
+ import type { MarkerInstance } from "../../resources/v1/marker_instance_pb.ts";
42
+ import { file_resources_v1_marker_instance } from "../../resources/v1/marker_instance_pb.ts";
43
+ import type { ModelArtifact } from "../../resources/v1/model_pb.ts";
44
+ import { file_resources_v1_model } from "../../resources/v1/model_pb.ts";
45
+ import type { RobotDefinition } from "../../resources/v1/robot_definition_pb.ts";
46
+ import { file_resources_v1_robot_definition } from "../../resources/v1/robot_definition_pb.ts";
47
+ import type { RobotInstance } from "../../resources/v1/robot_instance_pb.ts";
48
+ import { file_resources_v1_robot_instance } from "../../resources/v1/robot_instance_pb.ts";
49
+ import type { StationDefinition } from "../../resources/v1/station_definition_pb.ts";
50
+ import { file_resources_v1_station_definition } from "../../resources/v1/station_definition_pb.ts";
51
+ import type { ToolDefinition } from "../../resources/v1/tool_definition_pb.ts";
52
+ import { file_resources_v1_tool_definition } from "../../resources/v1/tool_definition_pb.ts";
53
+ import type { ToolInstance } from "../../resources/v1/tool_instance_pb.ts";
54
+ import { file_resources_v1_tool_instance } from "../../resources/v1/tool_instance_pb.ts";
55
+ import type { WorkerDefinition } from "../../resources/v1/worker_definition_pb.ts";
56
+ import { file_resources_v1_worker_definition } from "../../resources/v1/worker_definition_pb.ts";
57
+ import type { ProcessRun } from "../../runtime/v1/process_run_pb.ts";
58
+ import { file_runtime_v1_process_run } from "../../runtime/v1/process_run_pb.ts";
59
+ import type { SequenceRun } from "../../runtime/v1/sequence_run_pb.ts";
60
+ import { file_runtime_v1_sequence_run } from "../../runtime/v1/sequence_run_pb.ts";
61
+ import type { TaskRun } from "../../runtime/v1/task_run_pb.ts";
62
+ import { file_runtime_v1_task_run } from "../../runtime/v1/task_run_pb.ts";
63
+ import type { Message } from "@bufbuild/protobuf";
64
+
65
+ /**
66
+ * Describes the file seed/v1/seed.proto.
67
+ */
68
+ export const file_seed_v1_seed: GenFile = /*@__PURE__*/
69
+ fileDesc("ChJzZWVkL3YxL3NlZWQucHJvdG8SB3NlZWQudjEi8goKBFNlZWQSKwoFbGluZXMYASADKAsyHC5yZXNvdXJjZXMudjEuTGluZURlZmluaXRpb24SKwoFY2VsbHMYAiADKAsyHC5yZXNvdXJjZXMudjEuQ2VsbERlZmluaXRpb24SMQoIc3RhdGlvbnMYAyADKAsyHy5yZXNvdXJjZXMudjEuU3RhdGlvbkRlZmluaXRpb24SLwoHd29ya2VycxgKIAMoCzIeLnJlc291cmNlcy52MS5Xb3JrZXJEZWZpbml0aW9uEjgKEXJvYm90X2RlZmluaXRpb25zGAsgAygLMh0ucmVzb3VyY2VzLnYxLlJvYm90RGVmaW5pdGlvbhI0Cg9yb2JvdF9pbnN0YW5jZXMYDCADKAsyGy5yZXNvdXJjZXMudjEuUm9ib3RJbnN0YW5jZRIuCgZza2lsbHMYDSADKAsyHi5jYXBhYmlsaXR5LnYxLlNraWxsRGVmaW5pdGlvbhIvCgxhY3Rvcl9za2lsbHMYDiADKAsyGS5jYXBhYmlsaXR5LnYxLkFjdG9yU2tpbGwSLAoHZGV2aWNlcxgPIAMoCzIbLnJlc291cmNlcy52MS5EZXZpY2VNZXNzYWdlEisKBm1vZGVscxgUIAMoCzIbLnJlc291cmNlcy52MS5Nb2RlbEFydGlmYWN0EjgKEWFzc2V0X2RlZmluaXRpb25zGB4gAygLMh0ucmVzb3VyY2VzLnYxLkFzc2V0RGVmaW5pdGlvbhI0Cg9hc3NldF9pbnN0YW5jZXMYHyADKAsyGy5yZXNvdXJjZXMudjEuQXNzZXRJbnN0YW5jZRJAChVjb250YWluZXJfZGVmaW5pdGlvbnMYICADKAsyIS5yZXNvdXJjZXMudjEuQ29udGFpbmVyRGVmaW5pdGlvbhI8ChNjb250YWluZXJfaW5zdGFuY2VzGCEgAygLMh8ucmVzb3VyY2VzLnYxLkNvbnRhaW5lckluc3RhbmNlEjYKEHRvb2xfZGVmaW5pdGlvbnMYIiADKAsyHC5yZXNvdXJjZXMudjEuVG9vbERlZmluaXRpb24SMgoOdG9vbF9pbnN0YW5jZXMYIyADKAsyGi5yZXNvdXJjZXMudjEuVG9vbEluc3RhbmNlEi0KB21hcmtlcnMYJCADKAsyHC5yZXNvdXJjZXMudjEuTWFya2VySW5zdGFuY2USNAoQcGFydF9kZWZpbml0aW9ucxgoIAMoCzIaLnByb2R1Y3QudjEuUGFydERlZmluaXRpb24SMAoOcGFydF9pbnN0YW5jZXMYKSADKAsyGC5wcm9kdWN0LnYxLlBhcnRJbnN0YW5jZRIvCghwcm9kdWN0cxgqIAMoCzIdLnByb2R1Y3QudjEuUHJvZHVjdERlZmluaXRpb24SKgoHcmVjaXBlcxgrIAMoCzIZLnByb2Nlc3MudjEuUHJvY2Vzc1JlY2lwZRIxCglzZXF1ZW5jZXMYLCADKAsyHi5wcm9jZXNzLnYxLlNlcXVlbmNlRGVmaW5pdGlvbhIpCgV0YXNrcxgtIAMoCzIaLnByb2Nlc3MudjEuVGFza0RlZmluaXRpb24SKQoJcHJvY2Vzc2VzGDIgAygLMhYucnVudGltZS52MS5Qcm9jZXNzUnVuEi4KDXNlcXVlbmNlX3J1bnMYMyADKAsyFy5ydW50aW1lLnYxLlNlcXVlbmNlUnVuEiYKCXRhc2tfcnVucxg0IAMoCzITLnJ1bnRpbWUudjEuVGFza1J1bhIoCghmZWVkYmFjaxg8IAMoCzIWLmFyLnYxLkZlZWRiYWNrTWVzc2FnZRIlCgdhY3Rpb25zGD0gAygLMhQuYXIudjEuQWN0aW9uTWVzc2FnZUKTAQoLY29tLnNlZWQudjFCCVNlZWRQcm90b1ABWjNnaXRodWIuY29tL2NvYm90YXIvcHJvdG9jb2wvbWVzc2FnZXMvc2VlZC92MTtzZWVkdjGiAgNTWFiqAhBNZXNzYWdlcy5TZWVkLlYxygIHU2VlZFxWMeICE1NlZWRcVjFcR1BCTWV0YWRhdGHqAghTZWVkOjpWMWIGcHJvdG8z", [file_ar_v1_action, file_ar_v1_feedback, file_capability_v1_actor_skill, file_capability_v1_skill_definition, file_process_v1_process_recipe, file_process_v1_sequence_definition, file_process_v1_task_definition, file_product_v1_part_definition, file_product_v1_part_instance, file_product_v1_product_definition, file_resources_v1_asset_definition, file_resources_v1_asset_instance, file_resources_v1_cell_definition, file_resources_v1_container_definition, file_resources_v1_container_instance, file_resources_v1_device, file_resources_v1_line_definition, file_resources_v1_marker_instance, file_resources_v1_model, file_resources_v1_robot_definition, file_resources_v1_robot_instance, file_resources_v1_station_definition, file_resources_v1_tool_definition, file_resources_v1_tool_instance, file_resources_v1_worker_definition, file_runtime_v1_process_run, file_runtime_v1_sequence_run, file_runtime_v1_task_run]);
70
+
71
+ /**
72
+ * @generated from message seed.v1.Seed
73
+ */
74
+ export type Seed = Message<"seed.v1.Seed"> & {
75
+ /**
76
+ * @generated from field: repeated resources.v1.LineDefinition lines = 1;
77
+ */
78
+ lines: LineDefinition[];
79
+
80
+ /**
81
+ * @generated from field: repeated resources.v1.CellDefinition cells = 2;
82
+ */
83
+ cells: CellDefinition[];
84
+
85
+ /**
86
+ * @generated from field: repeated resources.v1.StationDefinition stations = 3;
87
+ */
88
+ stations: StationDefinition[];
89
+
90
+ /**
91
+ * @generated from field: repeated resources.v1.WorkerDefinition workers = 10;
92
+ */
93
+ workers: WorkerDefinition[];
94
+
95
+ /**
96
+ * @generated from field: repeated resources.v1.RobotDefinition robot_definitions = 11;
97
+ */
98
+ robotDefinitions: RobotDefinition[];
99
+
100
+ /**
101
+ * @generated from field: repeated resources.v1.RobotInstance robot_instances = 12;
102
+ */
103
+ robotInstances: RobotInstance[];
104
+
105
+ /**
106
+ * @generated from field: repeated capability.v1.SkillDefinition skills = 13;
107
+ */
108
+ skills: SkillDefinition[];
109
+
110
+ /**
111
+ * @generated from field: repeated capability.v1.ActorSkill actor_skills = 14;
112
+ */
113
+ actorSkills: ActorSkill[];
114
+
115
+ /**
116
+ * @generated from field: repeated resources.v1.DeviceMessage devices = 15;
117
+ */
118
+ devices: DeviceMessage[];
119
+
120
+ /**
121
+ * @generated from field: repeated resources.v1.ModelArtifact models = 20;
122
+ */
123
+ models: ModelArtifact[];
124
+
125
+ /**
126
+ * @generated from field: repeated resources.v1.AssetDefinition asset_definitions = 30;
127
+ */
128
+ assetDefinitions: AssetDefinition[];
129
+
130
+ /**
131
+ * @generated from field: repeated resources.v1.AssetInstance asset_instances = 31;
132
+ */
133
+ assetInstances: AssetInstance[];
134
+
135
+ /**
136
+ * @generated from field: repeated resources.v1.ContainerDefinition container_definitions = 32;
137
+ */
138
+ containerDefinitions: ContainerDefinition[];
139
+
140
+ /**
141
+ * @generated from field: repeated resources.v1.ContainerInstance container_instances = 33;
142
+ */
143
+ containerInstances: ContainerInstance[];
144
+
145
+ /**
146
+ * @generated from field: repeated resources.v1.ToolDefinition tool_definitions = 34;
147
+ */
148
+ toolDefinitions: ToolDefinition[];
149
+
150
+ /**
151
+ * @generated from field: repeated resources.v1.ToolInstance tool_instances = 35;
152
+ */
153
+ toolInstances: ToolInstance[];
154
+
155
+ /**
156
+ * @generated from field: repeated resources.v1.MarkerInstance markers = 36;
157
+ */
158
+ markers: MarkerInstance[];
159
+
160
+ /**
161
+ * @generated from field: repeated product.v1.PartDefinition part_definitions = 40;
162
+ */
163
+ partDefinitions: PartDefinition[];
164
+
165
+ /**
166
+ * @generated from field: repeated product.v1.PartInstance part_instances = 41;
167
+ */
168
+ partInstances: PartInstance[];
169
+
170
+ /**
171
+ * @generated from field: repeated product.v1.ProductDefinition products = 42;
172
+ */
173
+ products: ProductDefinition[];
174
+
175
+ /**
176
+ * @generated from field: repeated process.v1.ProcessRecipe recipes = 43;
177
+ */
178
+ recipes: ProcessRecipe[];
179
+
180
+ /**
181
+ * @generated from field: repeated process.v1.SequenceDefinition sequences = 44;
182
+ */
183
+ sequences: SequenceDefinition[];
184
+
185
+ /**
186
+ * @generated from field: repeated process.v1.TaskDefinition tasks = 45;
187
+ */
188
+ tasks: TaskDefinition[];
189
+
190
+ /**
191
+ * @generated from field: repeated runtime.v1.ProcessRun processes = 50;
192
+ */
193
+ processes: ProcessRun[];
194
+
195
+ /**
196
+ * @generated from field: repeated runtime.v1.SequenceRun sequence_runs = 51;
197
+ */
198
+ sequenceRuns: SequenceRun[];
199
+
200
+ /**
201
+ * @generated from field: repeated runtime.v1.TaskRun task_runs = 52;
202
+ */
203
+ taskRuns: TaskRun[];
204
+
205
+ /**
206
+ * @generated from field: repeated ar.v1.FeedbackMessage feedback = 60;
207
+ */
208
+ feedback: FeedbackMessage[];
209
+
210
+ /**
211
+ * @generated from field: repeated ar.v1.ActionMessage actions = 61;
212
+ */
213
+ actions: ActionMessage[];
214
+ };
215
+
216
+ /**
217
+ * Describes the message seed.v1.Seed.
218
+ * Use `create(SeedSchema)` to create a new message.
219
+ */
220
+ export const SeedSchema: GenMessage<Seed> = /*@__PURE__*/
221
+ messageDesc(file_seed_v1_seed, 0);
222
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cobotar/protocol",
3
- "version": "0.19.12",
3
+ "version": "0.19.14",
4
4
  "description": "A collection of protobuf messages for the CobotAR-project",
5
5
  "homepage": "https://github.com/cobotar/protocol#readme",
6
6
  "files": [
@@ -1,64 +0,0 @@
1
- // @generated by protoc-gen-es v2.10.2 with parameter "target=ts,import_extension=ts"
2
- // @generated from file plm/v1/capability.proto (package plm.v1, syntax proto3)
3
- /* eslint-disable */
4
-
5
- import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
- import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
7
- import type { Message } from "@bufbuild/protobuf";
8
-
9
- /**
10
- * Describes the file plm/v1/capability.proto.
11
- */
12
- export const file_plm_v1_capability: GenFile = /*@__PURE__*/
13
- fileDesc("ChdwbG0vdjEvY2FwYWJpbGl0eS5wcm90bxIGcGxtLnYxIkcKCkNhcGFiaWxpdHkSEAoIYWdlbnRfaWQYASABKAkSDwoHcGFydF9pZBgCIAEoCRIWCg5lc3RpbWF0ZWRfdGltZRgDIAEoAyI4CgxDYXBhYmlsaXRpZXMSKAoMY2FwYWJpbGl0aWVzGAEgAygLMhIucGxtLnYxLkNhcGFiaWxpdHlCkgEKCmNvbS5wbG0udjFCD0NhcGFiaWxpdHlQcm90b1ABWjFnaXRodWIuY29tL2NvYm90YXIvcHJvdG9jb2wvbWVzc2FnZXMvcGxtL3YxO3BsbXYxogIDUFhYqgIPTWVzc2FnZXMuUGxtLlYxygIGUGxtXFYx4gISUGxtXFYxXEdQQk1ldGFkYXRh6gIHUGxtOjpWMWIGcHJvdG8z");
14
-
15
- /**
16
- * @generated from message plm.v1.Capability
17
- */
18
- export type Capability = Message<"plm.v1.Capability"> & {
19
- /**
20
- * Id of the agent (either an operator or robot)
21
- *
22
- * @generated from field: string agent_id = 1;
23
- */
24
- agentId: string;
25
-
26
- /**
27
- * Id of the part that the agent can handle
28
- *
29
- * @generated from field: string part_id = 2;
30
- */
31
- partId: string;
32
-
33
- /**
34
- * Estimated time to complete a task with that part
35
- *
36
- * @generated from field: int64 estimated_time = 3;
37
- */
38
- estimatedTime: bigint;
39
- };
40
-
41
- /**
42
- * Describes the message plm.v1.Capability.
43
- * Use `create(CapabilitySchema)` to create a new message.
44
- */
45
- export const CapabilitySchema: GenMessage<Capability> = /*@__PURE__*/
46
- messageDesc(file_plm_v1_capability, 0);
47
-
48
- /**
49
- * @generated from message plm.v1.Capabilities
50
- */
51
- export type Capabilities = Message<"plm.v1.Capabilities"> & {
52
- /**
53
- * @generated from field: repeated plm.v1.Capability capabilities = 1;
54
- */
55
- capabilities: Capability[];
56
- };
57
-
58
- /**
59
- * Describes the message plm.v1.Capabilities.
60
- * Use `create(CapabilitiesSchema)` to create a new message.
61
- */
62
- export const CapabilitiesSchema: GenMessage<Capabilities> = /*@__PURE__*/
63
- messageDesc(file_plm_v1_capability, 1);
64
-
@@ -1,89 +0,0 @@
1
- // @generated by protoc-gen-es v2.10.2 with parameter "target=ts,import_extension=ts"
2
- // @generated from file plm/v1/fixture.proto (package plm.v1, syntax proto3)
3
- /* eslint-disable */
4
-
5
- import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
- import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
7
- import type { Message } from "@bufbuild/protobuf";
8
-
9
- /**
10
- * Describes the file plm/v1/fixture.proto.
11
- */
12
- export const file_plm_v1_fixture: GenFile = /*@__PURE__*/
13
- fileDesc("ChRwbG0vdjEvZml4dHVyZS5wcm90bxIGcGxtLnYxIosBCg5GaXh0dXJlTWVzc2FnZRIKCgJpZBgBIAEoCRIMCgRuYW1lGAIgASgJEgwKBGljb24YAyABKAkSEwoLZGVzY3JpcHRpb24YBCABKAkSIQoEdHlwZRgFIAEoDjITLnBsbS52MS5GaXh0dXJlVHlwZRIZChFhY2NlcHRlZF9wYXJ0X2lkcxgGIAMoCSI7Cg9GaXh0dXJlTWVzc2FnZXMSKAoIZml4dHVyZXMYASADKAsyFi5wbG0udjEuRml4dHVyZU1lc3NhZ2UqKwoLRml4dHVyZVR5cGUSHAoYRklYVFVSRV9UWVBFX1VOU1BFQ0lGSUVEEABCjwEKCmNvbS5wbG0udjFCDEZpeHR1cmVQcm90b1ABWjFnaXRodWIuY29tL2NvYm90YXIvcHJvdG9jb2wvbWVzc2FnZXMvcGxtL3YxO3BsbXYxogIDUFhYqgIPTWVzc2FnZXMuUGxtLlYxygIGUGxtXFYx4gISUGxtXFYxXEdQQk1ldGFkYXRh6gIHUGxtOjpWMWIGcHJvdG8z");
14
-
15
- /**
16
- * @generated from message plm.v1.FixtureMessage
17
- */
18
- export type FixtureMessage = Message<"plm.v1.FixtureMessage"> & {
19
- /**
20
- * @generated from field: string id = 1;
21
- */
22
- id: string;
23
-
24
- /**
25
- * @generated from field: string name = 2;
26
- */
27
- name: string;
28
-
29
- /**
30
- * @generated from field: string icon = 3;
31
- */
32
- icon: string;
33
-
34
- /**
35
- * @generated from field: string description = 4;
36
- */
37
- description: string;
38
-
39
- /**
40
- * @generated from field: plm.v1.FixtureType type = 5;
41
- */
42
- type: FixtureType;
43
-
44
- /**
45
- * @generated from field: repeated string accepted_part_ids = 6;
46
- */
47
- acceptedPartIds: string[];
48
- };
49
-
50
- /**
51
- * Describes the message plm.v1.FixtureMessage.
52
- * Use `create(FixtureMessageSchema)` to create a new message.
53
- */
54
- export const FixtureMessageSchema: GenMessage<FixtureMessage> = /*@__PURE__*/
55
- messageDesc(file_plm_v1_fixture, 0);
56
-
57
- /**
58
- * @generated from message plm.v1.FixtureMessages
59
- */
60
- export type FixtureMessages = Message<"plm.v1.FixtureMessages"> & {
61
- /**
62
- * @generated from field: repeated plm.v1.FixtureMessage fixtures = 1;
63
- */
64
- fixtures: FixtureMessage[];
65
- };
66
-
67
- /**
68
- * Describes the message plm.v1.FixtureMessages.
69
- * Use `create(FixtureMessagesSchema)` to create a new message.
70
- */
71
- export const FixtureMessagesSchema: GenMessage<FixtureMessages> = /*@__PURE__*/
72
- messageDesc(file_plm_v1_fixture, 1);
73
-
74
- /**
75
- * @generated from enum plm.v1.FixtureType
76
- */
77
- export enum FixtureType {
78
- /**
79
- * @generated from enum value: FIXTURE_TYPE_UNSPECIFIED = 0;
80
- */
81
- UNSPECIFIED = 0,
82
- }
83
-
84
- /**
85
- * Describes the enum plm.v1.FixtureType.
86
- */
87
- export const FixtureTypeSchema: GenEnum<FixtureType> = /*@__PURE__*/
88
- enumDesc(file_plm_v1_fixture, 0);
89
-
@@ -1,41 +0,0 @@
1
- // @generated by protoc-gen-es v2.10.2 with parameter "target=ts,import_extension=ts"
2
- // @generated from file plm/v1/process_abort.proto (package plm.v1, syntax proto3)
3
- /* eslint-disable */
4
-
5
- import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
- import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
7
- import type { Message } from "@bufbuild/protobuf";
8
-
9
- /**
10
- * Describes the file plm/v1/process_abort.proto.
11
- */
12
- export const file_plm_v1_process_abort: GenFile = /*@__PURE__*/
13
- fileDesc("ChpwbG0vdjEvcHJvY2Vzc19hYm9ydC5wcm90bxIGcGxtLnYxIk4KE1Byb2Nlc3NBYm9ydE1lc3NhZ2USEgoKcmVxdWVzdF9pZBgBIAEoCRITCgtpbnN0YW5jZV9pZBgCIAEoCRIOCgZyZWFzb24YAyABKAlClAEKCmNvbS5wbG0udjFCEVByb2Nlc3NBYm9ydFByb3RvUAFaMWdpdGh1Yi5jb20vY29ib3Rhci9wcm90b2NvbC9tZXNzYWdlcy9wbG0vdjE7cGxtdjGiAgNQWFiqAg9NZXNzYWdlcy5QbG0uVjHKAgZQbG1cVjHiAhJQbG1cVjFcR1BCTWV0YWRhdGHqAgdQbG06OlYxYgZwcm90bzM");
14
-
15
- /**
16
- * @generated from message plm.v1.ProcessAbortMessage
17
- */
18
- export type ProcessAbortMessage = Message<"plm.v1.ProcessAbortMessage"> & {
19
- /**
20
- * @generated from field: string request_id = 1;
21
- */
22
- requestId: string;
23
-
24
- /**
25
- * @generated from field: string instance_id = 2;
26
- */
27
- instanceId: string;
28
-
29
- /**
30
- * @generated from field: string reason = 3;
31
- */
32
- reason: string;
33
- };
34
-
35
- /**
36
- * Describes the message plm.v1.ProcessAbortMessage.
37
- * Use `create(ProcessAbortMessageSchema)` to create a new message.
38
- */
39
- export const ProcessAbortMessageSchema: GenMessage<ProcessAbortMessage> = /*@__PURE__*/
40
- messageDesc(file_plm_v1_process_abort, 0);
41
-
@@ -1,65 +0,0 @@
1
- // @generated by protoc-gen-es v2.10.2 with parameter "target=ts,import_extension=ts"
2
- // @generated from file plm/v1/task_progress.proto (package plm.v1, syntax proto3)
3
- /* eslint-disable */
4
-
5
- import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
- import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
7
- import type { Message } from "@bufbuild/protobuf";
8
-
9
- /**
10
- * Describes the file plm/v1/task_progress.proto.
11
- */
12
- export const file_plm_v1_task_progress: GenFile = /*@__PURE__*/
13
- fileDesc("ChpwbG0vdjEvdGFza19wcm9ncmVzcy5wcm90bxIGcGxtLnYxIqUBChNUYXNrUHJvZ3Jlc3NNZXNzYWdlEhIKCnJlcXVlc3RfaWQYASABKAkSEwoLaW5zdGFuY2VfaWQYAiABKAkSDwoHdGFza19pZBgDIAEoCRIQCghhZ2VudF9pZBgEIAEoCRIPCgdtZXNzYWdlGAUgASgJEhQKDGVsYXBzZWRfdGltZRgGIAEoBRIbChNlc3RpbWF0ZWRfdGltZV9sZWZ0GAcgASgFQpQBCgpjb20ucGxtLnYxQhFUYXNrUHJvZ3Jlc3NQcm90b1ABWjFnaXRodWIuY29tL2NvYm90YXIvcHJvdG9jb2wvbWVzc2FnZXMvcGxtL3YxO3BsbXYxogIDUFhYqgIPTWVzc2FnZXMuUGxtLlYxygIGUGxtXFYx4gISUGxtXFYxXEdQQk1ldGFkYXRh6gIHUGxtOjpWMWIGcHJvdG8z");
14
-
15
- /**
16
- * @generated from message plm.v1.TaskProgressMessage
17
- */
18
- export type TaskProgressMessage = Message<"plm.v1.TaskProgressMessage"> & {
19
- /**
20
- * @generated from field: string request_id = 1;
21
- */
22
- requestId: string;
23
-
24
- /**
25
- * @generated from field: string instance_id = 2;
26
- */
27
- instanceId: string;
28
-
29
- /**
30
- * @generated from field: string task_id = 3;
31
- */
32
- taskId: string;
33
-
34
- /**
35
- * @generated from field: string agent_id = 4;
36
- */
37
- agentId: string;
38
-
39
- /**
40
- * @generated from field: string message = 5;
41
- */
42
- message: string;
43
-
44
- /**
45
- * elapsed time in seconds
46
- *
47
- * @generated from field: int32 elapsed_time = 6;
48
- */
49
- elapsedTime: number;
50
-
51
- /**
52
- * estimated time left in seconds
53
- *
54
- * @generated from field: int32 estimated_time_left = 7;
55
- */
56
- estimatedTimeLeft: number;
57
- };
58
-
59
- /**
60
- * Describes the message plm.v1.TaskProgressMessage.
61
- * Use `create(TaskProgressMessageSchema)` to create a new message.
62
- */
63
- export const TaskProgressMessageSchema: GenMessage<TaskProgressMessage> = /*@__PURE__*/
64
- messageDesc(file_plm_v1_task_progress, 0);
65
-
@@ -1,46 +0,0 @@
1
- // @generated by protoc-gen-es v2.10.2 with parameter "target=ts,import_extension=ts"
2
- // @generated from file plm/v1/task_reassign.proto (package plm.v1, syntax proto3)
3
- /* eslint-disable */
4
-
5
- import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
- import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
7
- import type { Message } from "@bufbuild/protobuf";
8
-
9
- /**
10
- * Describes the file plm/v1/task_reassign.proto.
11
- */
12
- export const file_plm_v1_task_reassign: GenFile = /*@__PURE__*/
13
- fileDesc("ChpwbG0vdjEvdGFza19yZWFzc2lnbi5wcm90bxIGcGxtLnYxImEKE1Rhc2tSZWFzc2lnbk1lc3NhZ2USEgoKcmVxdWVzdF9pZBgBIAEoCRITCgtpbnN0YW5jZV9pZBgCIAEoCRIPCgd0YXNrX2lkGAMgASgJEhAKCGFzc2lnbmVlGAQgASgJQpQBCgpjb20ucGxtLnYxQhFUYXNrUmVhc3NpZ25Qcm90b1ABWjFnaXRodWIuY29tL2NvYm90YXIvcHJvdG9jb2wvbWVzc2FnZXMvcGxtL3YxO3BsbXYxogIDUFhYqgIPTWVzc2FnZXMuUGxtLlYxygIGUGxtXFYx4gISUGxtXFYxXEdQQk1ldGFkYXRh6gIHUGxtOjpWMWIGcHJvdG8z");
14
-
15
- /**
16
- * @generated from message plm.v1.TaskReassignMessage
17
- */
18
- export type TaskReassignMessage = Message<"plm.v1.TaskReassignMessage"> & {
19
- /**
20
- * @generated from field: string request_id = 1;
21
- */
22
- requestId: string;
23
-
24
- /**
25
- * @generated from field: string instance_id = 2;
26
- */
27
- instanceId: string;
28
-
29
- /**
30
- * @generated from field: string task_id = 3;
31
- */
32
- taskId: string;
33
-
34
- /**
35
- * @generated from field: string assignee = 4;
36
- */
37
- assignee: string;
38
- };
39
-
40
- /**
41
- * Describes the message plm.v1.TaskReassignMessage.
42
- * Use `create(TaskReassignMessageSchema)` to create a new message.
43
- */
44
- export const TaskReassignMessageSchema: GenMessage<TaskReassignMessage> = /*@__PURE__*/
45
- messageDesc(file_plm_v1_task_reassign, 0);
46
-
@@ -1,82 +0,0 @@
1
- // @generated by protoc-gen-es v2.10.2 with parameter "target=ts,import_extension=ts"
2
- // @generated from file plm/v1/task_state_change.proto (package plm.v1, syntax proto3)
3
- /* eslint-disable */
4
-
5
- import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
6
- import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
7
- import type { Message } from "@bufbuild/protobuf";
8
-
9
- /**
10
- * Describes the file plm/v1/task_state_change.proto.
11
- */
12
- export const file_plm_v1_task_state_change: GenFile = /*@__PURE__*/
13
- fileDesc("Ch5wbG0vdjEvdGFza19zdGF0ZV9jaGFuZ2UucHJvdG8SBnBsbS52MSJ7ChZUYXNrU3RhdGVDaGFuZ2VNZXNzYWdlEhIKCnJlcXVlc3RfaWQYASABKAkSEwoLaW5zdGFuY2VfaWQYAiABKAkSDwoHdGFza19pZBgDIAEoCRInCgVzdGF0ZRgEIAEoDjIYLnBsbS52MS5UYXNrU3RhdGVSZXF1ZXN0KrcBChBUYXNrU3RhdGVSZXF1ZXN0EiIKHlRBU0tfU1RBVEVfUkVRVUVTVF9VTlNQRUNJRklFRBAAEiIKHlRBU0tfU1RBVEVfUkVRVUVTVF9JTl9QUk9HUkVTUxADEiAKHFRBU0tfU1RBVEVfUkVRVUVTVF9DT01QTEVURUQQBBIbChdUQVNLX1NUQVRFX1JFUVVFU1RfVU5ETxAFEhwKGFRBU0tfU1RBVEVfUkVRVUVTVF9FUlJPUhAGQpcBCgpjb20ucGxtLnYxQhRUYXNrU3RhdGVDaGFuZ2VQcm90b1ABWjFnaXRodWIuY29tL2NvYm90YXIvcHJvdG9jb2wvbWVzc2FnZXMvcGxtL3YxO3BsbXYxogIDUFhYqgIPTWVzc2FnZXMuUGxtLlYxygIGUGxtXFYx4gISUGxtXFYxXEdQQk1ldGFkYXRh6gIHUGxtOjpWMWIGcHJvdG8z");
14
-
15
- /**
16
- * @generated from message plm.v1.TaskStateChangeMessage
17
- */
18
- export type TaskStateChangeMessage = Message<"plm.v1.TaskStateChangeMessage"> & {
19
- /**
20
- * @generated from field: string request_id = 1;
21
- */
22
- requestId: string;
23
-
24
- /**
25
- * @generated from field: string instance_id = 2;
26
- */
27
- instanceId: string;
28
-
29
- /**
30
- * @generated from field: string task_id = 3;
31
- */
32
- taskId: string;
33
-
34
- /**
35
- * @generated from field: plm.v1.TaskStateRequest state = 4;
36
- */
37
- state: TaskStateRequest;
38
- };
39
-
40
- /**
41
- * Describes the message plm.v1.TaskStateChangeMessage.
42
- * Use `create(TaskStateChangeMessageSchema)` to create a new message.
43
- */
44
- export const TaskStateChangeMessageSchema: GenMessage<TaskStateChangeMessage> = /*@__PURE__*/
45
- messageDesc(file_plm_v1_task_state_change, 0);
46
-
47
- /**
48
- * @generated from enum plm.v1.TaskStateRequest
49
- */
50
- export enum TaskStateRequest {
51
- /**
52
- * @generated from enum value: TASK_STATE_REQUEST_UNSPECIFIED = 0;
53
- */
54
- UNSPECIFIED = 0,
55
-
56
- /**
57
- * @generated from enum value: TASK_STATE_REQUEST_IN_PROGRESS = 3;
58
- */
59
- IN_PROGRESS = 3,
60
-
61
- /**
62
- * @generated from enum value: TASK_STATE_REQUEST_COMPLETED = 4;
63
- */
64
- COMPLETED = 4,
65
-
66
- /**
67
- * @generated from enum value: TASK_STATE_REQUEST_UNDO = 5;
68
- */
69
- UNDO = 5,
70
-
71
- /**
72
- * @generated from enum value: TASK_STATE_REQUEST_ERROR = 6;
73
- */
74
- ERROR = 6,
75
- }
76
-
77
- /**
78
- * Describes the enum plm.v1.TaskStateRequest.
79
- */
80
- export const TaskStateRequestSchema: GenEnum<TaskStateRequest> = /*@__PURE__*/
81
- enumDesc(file_plm_v1_task_state_change, 0);
82
-