@anduril-industries/lattice-sdk 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anduril-industries/lattice-sdk",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "The Lattice SDK vended in Javascript",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "repository": {
@@ -150,7 +150,7 @@ export declare type Entity = Message<"anduril.entitymanager.v1.Entity"> & {
150
150
  milView?: MilView;
151
151
 
152
152
  /**
153
- * A standardized representation of the entity.
153
+ * Ontology defines an entity's categorization in Lattice, and improves data retrieval and integration. Builds a standardized representation of the entity.
154
154
  *
155
155
  * @generated from field: anduril.entitymanager.v1.Ontology ontology = 11;
156
156
  */
@@ -20,12 +20,15 @@ export declare const file_anduril_entitymanager_v1_entity_manager_grpcapi_pub: G
20
20
  */
21
21
  export declare type PublishEntityRequest = Message<"anduril.entitymanager.v1.PublishEntityRequest"> & {
22
22
  /**
23
- * Sends an entity object to publish.
23
+ * Create or update an entity.
24
24
  * Required fields:
25
- * * expiry_time. This must be in the future, but less than 30 days from now.
25
+ * * entity_id: Unique string identifier. Can be a Globally Unique Identifier (GUID).
26
+ * * expiry_time: Expiration time that must be greater than the current time and less than 30 days in the future. The Entities API will reject any entity update with an expiry_time in the past. When the expiry_time has passed, the Entities API will delete the entity from the COP and send a DELETE event.
27
+ * * is_live: Boolean that when true, creates or updates the entity. If false and the entity is still live, triggers a DELETE event.
28
+ * * provenance.integration_name: String that uniquely identifies the integration responsible for publishing the entity.
26
29
  * * provenance.data_type.
27
30
  * * provenance.source_update_time. This can be earlier than the RPC call if the data entered is older.
28
- * * aliases.name
31
+ * * aliases.name: Human-readable string that represents the name of an entity.
29
32
  * * ontology.template
30
33
  * For additional required fields that are determined by template, see com.anduril.entitymanager.v1.Template.
31
34
  * if an entity_id is provided, Entity Manager updates the entity. If no entity_id is provided, it creates an entity.
@@ -58,12 +61,15 @@ export declare const PublishEntityResponseSchema: GenMessage<PublishEntityRespon
58
61
  */
59
62
  export declare type PublishEntitiesRequest = Message<"anduril.entitymanager.v1.PublishEntitiesRequest"> & {
60
63
  /**
61
- * Sends a stream of entity objects to publish.
64
+ * Sends a stream of entity objects to create or update.
62
65
  * Each entity requires the following fields:
63
- * * expiry_time. This must be in the future, but less than 30 days from now.
66
+ * * entity_id: Unique string identifier. Can be a Globally Unique Identifier (GUID).
67
+ * * expiry_time: Expiration time that must be greater than the current time and less than 30 days in the future. The Entities API will reject any entity update with an expiry_time in the past. When the expiry_time has passed, the Entities API will delete the entity from the COP and send a DELETE event.
68
+ * * is_live: Boolean that when true, creates or updates the entity. If false and the entity is still live, triggers a DELETE event.
69
+ * * provenance.integration_name: String that uniquely identifies the integration responsible for publishing the entity.
64
70
  * * provenance.data_type.
65
71
  * * provenance.source_update_time. This can be earlier than the RPC call if the data entered is older.
66
- * * aliases.name
72
+ * * aliases.name: Human-readable string that represents the name of an entity.
67
73
  * * ontology.template
68
74
  * For additional required fields that are determined by template, see com.anduril.entitymanager.v1.Template.
69
75
  * If an entity_id is provided, the entity updates. If no entity_id is provided, the entity is created.
@@ -672,14 +672,15 @@ export enum Status {
672
672
  SENT = 3,
673
673
 
674
674
  /**
675
- * In case of a human operated asset assignee, the machine was reachable and responded, but operator did not ACK yet.
675
+ * Task was sent to Assignee, and some system was reachable and responded.
676
+ * However, the system responsible for execution on the Assignee has not yet acknowledged the Task.
676
677
  *
677
678
  * @generated from enum value: STATUS_MACHINE_RECEIPT = 4;
678
679
  */
679
680
  MACHINE_RECEIPT = 4,
680
681
 
681
682
  /**
682
- * Assignee (either human or system in case of autonomous robot) has acknowledged receipt of Task.
683
+ * System responsible for execution on the Assignee has acknowledged the Task.
683
684
  *
684
685
  * @generated from enum value: STATUS_ACK = 5;
685
686
  */
@@ -35,14 +35,11 @@ export declare const TaskCatalogSchema: GenMessage<TaskCatalog>;
35
35
  */
36
36
  export declare type TaskDefinition = Message<"anduril.tasks.v2.TaskDefinition"> & {
37
37
  /**
38
+ * Url path must be prefixed with `type.googleapis.com/`.
39
+ *
38
40
  * @generated from field: string task_specification_url = 1;
39
41
  */
40
42
  taskSpecificationUrl: string;
41
-
42
- /**
43
- * @generated from field: string display_name = 2;
44
- */
45
- displayName: string;
46
43
  };
47
44
 
48
45
  /**
@@ -8,7 +8,7 @@ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
8
8
  * Describes the file anduril/tasks/v2/catalog.pub.proto.
9
9
  */
10
10
  export const file_anduril_tasks_v2_catalog_pub = /*@__PURE__*/
11
- fileDesc("CiJhbmR1cmlsL3Rhc2tzL3YyL2NhdGFsb2cucHViLnByb3RvEhBhbmR1cmlsLnRhc2tzLnYyIk8KC1Rhc2tDYXRhbG9nEjoKEHRhc2tfZGVmaW5pdGlvbnMYASADKAsyIC5hbmR1cmlsLnRhc2tzLnYyLlRhc2tEZWZpbml0aW9uSgQIAhADIkYKDlRhc2tEZWZpbml0aW9uEh4KFnRhc2tfc3BlY2lmaWNhdGlvbl91cmwYASABKAkSFAoMZGlzcGxheV9uYW1lGAIgASgJQsgBChRjb20uYW5kdXJpbC50YXNrcy52MkIPQ2F0YWxvZ1B1YlByb3RvUAFaPWdoZS5hbmR1cmlsLmRldi9hbmR1cmlsL2FuZHVyaWxhcGlzLWdvL2FuZHVyaWwvdGFza3MvdjI7dGFza3OiAgNBVFiqAhBBbmR1cmlsLlRhc2tzLlYyygIQQW5kdXJpbFxUYXNrc1xWMuICHEFuZHVyaWxcVGFza3NcVjJcR1BCTWV0YWRhdGHqAhJBbmR1cmlsOjpUYXNrczo6VjJiBnByb3RvMw");
11
+ fileDesc("CiJhbmR1cmlsL3Rhc2tzL3YyL2NhdGFsb2cucHViLnByb3RvEhBhbmR1cmlsLnRhc2tzLnYyIk8KC1Rhc2tDYXRhbG9nEjoKEHRhc2tfZGVmaW5pdGlvbnMYASADKAsyIC5hbmR1cmlsLnRhc2tzLnYyLlRhc2tEZWZpbml0aW9uSgQIAhADIjAKDlRhc2tEZWZpbml0aW9uEh4KFnRhc2tfc3BlY2lmaWNhdGlvbl91cmwYASABKAlCyAEKFGNvbS5hbmR1cmlsLnRhc2tzLnYyQg9DYXRhbG9nUHViUHJvdG9QAVo9Z2hlLmFuZHVyaWwuZGV2L2FuZHVyaWwvYW5kdXJpbGFwaXMtZ28vYW5kdXJpbC90YXNrcy92Mjt0YXNrc6ICA0FUWKoCEEFuZHVyaWwuVGFza3MuVjLKAhBBbmR1cmlsXFRhc2tzXFYy4gIcQW5kdXJpbFxUYXNrc1xWMlxHUEJNZXRhZGF0YeoCEkFuZHVyaWw6OlRhc2tzOjpWMmIGcHJvdG8z");
12
12
 
13
13
  /**
14
14
  * Describes the message anduril.tasks.v2.TaskCatalog.
@@ -0,0 +1,15 @@
1
+ This file was generated with the generate-license-file npm package!
2
+ https://www.npmjs.com/package/generate-license-file
3
+
4
+ The following npm package may be included in this product:
5
+
6
+ - @bufbuild/protobuf@2.2.2
7
+
8
+ This package contains the following license:
9
+
10
+ (Apache-2.0 AND BSD-3-Clause)
11
+
12
+ -----------
13
+
14
+ This file was generated with the generate-license-file npm package!
15
+ https://www.npmjs.com/package/generate-license-file