From 08b2df17e435fa6fc8591eae7d879b40518d7b1d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 10 Dec 2024 00:01:10 +0000 Subject: [PATCH] feat: APIs update from https://github.com/anduril/apis/commit/2a0211dbdc21c9038a16932cdfcc2f2192185108 --- .../entitymanager/v1/entity.pub_pb.d.ts | 2 +- .../v1/entity_manager_grpcapi.pub_pb.d.ts | 18 ++++++++++++------ src/anduril/taskmanager/v1/task.pub_pb.d.ts | 5 +++-- src/anduril/tasks/v2/catalog.pub_pb.d.ts | 7 ++----- src/anduril/tasks/v2/catalog.pub_pb.js | 2 +- 5 files changed, 19 insertions(+), 15 deletions(-) diff --git a/src/anduril/entitymanager/v1/entity.pub_pb.d.ts b/src/anduril/entitymanager/v1/entity.pub_pb.d.ts index 88f764a..5859d05 100644 --- a/src/anduril/entitymanager/v1/entity.pub_pb.d.ts +++ b/src/anduril/entitymanager/v1/entity.pub_pb.d.ts @@ -150,7 +150,7 @@ export declare type Entity = Message<"anduril.entitymanager.v1.Entity"> & { milView?: MilView; /** - * A standardized representation of the entity. + * Ontology defines an entity's categorization in Lattice, and improves data retrieval and integration. Builds a standardized representation of the entity. * * @generated from field: anduril.entitymanager.v1.Ontology ontology = 11; */ diff --git a/src/anduril/entitymanager/v1/entity_manager_grpcapi.pub_pb.d.ts b/src/anduril/entitymanager/v1/entity_manager_grpcapi.pub_pb.d.ts index 05730f7..bd35a45 100644 --- a/src/anduril/entitymanager/v1/entity_manager_grpcapi.pub_pb.d.ts +++ b/src/anduril/entitymanager/v1/entity_manager_grpcapi.pub_pb.d.ts @@ -20,12 +20,15 @@ export declare const file_anduril_entitymanager_v1_entity_manager_grpcapi_pub: G */ export declare type PublishEntityRequest = Message<"anduril.entitymanager.v1.PublishEntityRequest"> & { /** - * Sends an entity object to publish. + * Create or update an entity. * Required fields: - * * expiry_time. This must be in the future, but less than 30 days from now. + * * entity_id: Unique string identifier. Can be a Globally Unique Identifier (GUID). + * * 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. + * * is_live: Boolean that when true, creates or updates the entity. If false and the entity is still live, triggers a DELETE event. + * * provenance.integration_name: String that uniquely identifies the integration responsible for publishing the entity. * * provenance.data_type. * * provenance.source_update_time. This can be earlier than the RPC call if the data entered is older. - * * aliases.name + * * aliases.name: Human-readable string that represents the name of an entity. * * ontology.template * For additional required fields that are determined by template, see com.anduril.entitymanager.v1.Template. * 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 & { /** - * Sends a stream of entity objects to publish. + * Sends a stream of entity objects to create or update. * Each entity requires the following fields: - * * expiry_time. This must be in the future, but less than 30 days from now. + * * entity_id: Unique string identifier. Can be a Globally Unique Identifier (GUID). + * * 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. + * * is_live: Boolean that when true, creates or updates the entity. If false and the entity is still live, triggers a DELETE event. + * * provenance.integration_name: String that uniquely identifies the integration responsible for publishing the entity. * * provenance.data_type. * * provenance.source_update_time. This can be earlier than the RPC call if the data entered is older. - * * aliases.name + * * aliases.name: Human-readable string that represents the name of an entity. * * ontology.template * For additional required fields that are determined by template, see com.anduril.entitymanager.v1.Template. * If an entity_id is provided, the entity updates. If no entity_id is provided, the entity is created. diff --git a/src/anduril/taskmanager/v1/task.pub_pb.d.ts b/src/anduril/taskmanager/v1/task.pub_pb.d.ts index 2520500..1ac41ff 100644 --- a/src/anduril/taskmanager/v1/task.pub_pb.d.ts +++ b/src/anduril/taskmanager/v1/task.pub_pb.d.ts @@ -672,14 +672,15 @@ export enum Status { SENT = 3, /** - * In case of a human operated asset assignee, the machine was reachable and responded, but operator did not ACK yet. + * Task was sent to Assignee, and some system was reachable and responded. + * However, the system responsible for execution on the Assignee has not yet acknowledged the Task. * * @generated from enum value: STATUS_MACHINE_RECEIPT = 4; */ MACHINE_RECEIPT = 4, /** - * Assignee (either human or system in case of autonomous robot) has acknowledged receipt of Task. + * System responsible for execution on the Assignee has acknowledged the Task. * * @generated from enum value: STATUS_ACK = 5; */ diff --git a/src/anduril/tasks/v2/catalog.pub_pb.d.ts b/src/anduril/tasks/v2/catalog.pub_pb.d.ts index 2a78f94..3d49f30 100644 --- a/src/anduril/tasks/v2/catalog.pub_pb.d.ts +++ b/src/anduril/tasks/v2/catalog.pub_pb.d.ts @@ -35,14 +35,11 @@ export declare const TaskCatalogSchema: GenMessage; */ export declare type TaskDefinition = Message<"anduril.tasks.v2.TaskDefinition"> & { /** + * Url path must be prefixed with `type.googleapis.com/`. + * * @generated from field: string task_specification_url = 1; */ taskSpecificationUrl: string; - - /** - * @generated from field: string display_name = 2; - */ - displayName: string; }; /** diff --git a/src/anduril/tasks/v2/catalog.pub_pb.js b/src/anduril/tasks/v2/catalog.pub_pb.js index 437095b..196c0ea 100644 --- a/src/anduril/tasks/v2/catalog.pub_pb.js +++ b/src/anduril/tasks/v2/catalog.pub_pb.js @@ -8,7 +8,7 @@ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1"; * Describes the file anduril/tasks/v2/catalog.pub.proto. */ export const file_anduril_tasks_v2_catalog_pub = /*@__PURE__*/ - fileDesc("CiJhbmR1cmlsL3Rhc2tzL3YyL2NhdGFsb2cucHViLnByb3RvEhBhbmR1cmlsLnRhc2tzLnYyIk8KC1Rhc2tDYXRhbG9nEjoKEHRhc2tfZGVmaW5pdGlvbnMYASADKAsyIC5hbmR1cmlsLnRhc2tzLnYyLlRhc2tEZWZpbml0aW9uSgQIAhADIkYKDlRhc2tEZWZpbml0aW9uEh4KFnRhc2tfc3BlY2lmaWNhdGlvbl91cmwYASABKAkSFAoMZGlzcGxheV9uYW1lGAIgASgJQsgBChRjb20uYW5kdXJp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