@@ -9,6 +9,7 @@ import type { Entity, Provenance } from "./entity.pub_pb.js";
99import type { Statement } from "./filter.pub_pb.js" ;
1010import type { RateLimit } from "./rate_limit.pub_pb.js" ;
1111import type { OverrideStatus } from "./types.pub_pb.js" ;
12+ import type { RelationshipType } from "./relationship.pub_pb.js" ;
1213
1314/**
1415 * The type of entity event.
@@ -503,6 +504,172 @@ export declare class DeleteEntityResponse extends Message<DeleteEntityResponse>
503504 static equals ( a : DeleteEntityResponse | PlainMessage < DeleteEntityResponse > | undefined , b : DeleteEntityResponse | PlainMessage < DeleteEntityResponse > | undefined ) : boolean ;
504505}
505506
507+ /**
508+ * The set of relationships to add to an entity. Relationships are specified from the primary entity to the
509+ * other entity specified in the relationship request(s).
510+ *
511+ * @generated from message anduril.entitymanager.v1.RelateEntityRequest
512+ */
513+ export declare class RelateEntityRequest extends Message < RelateEntityRequest > {
514+ /**
515+ * The entity onto which relationships are being added.
516+ *
517+ * @generated from field: string entity_id = 1;
518+ */
519+ entityId : string ;
520+
521+ /**
522+ * The relationships to add to the entity.
523+ *
524+ * @generated from field: repeated anduril.entitymanager.v1.RelationshipRequest relationships = 2;
525+ */
526+ relationships : RelationshipRequest [ ] ;
527+
528+ constructor ( data ?: PartialMessage < RelateEntityRequest > ) ;
529+
530+ static readonly runtime : typeof proto3 ;
531+ static readonly typeName = "anduril.entitymanager.v1.RelateEntityRequest" ;
532+ static readonly fields : FieldList ;
533+
534+ static fromBinary ( bytes : Uint8Array , options ?: Partial < BinaryReadOptions > ) : RelateEntityRequest ;
535+
536+ static fromJson ( jsonValue : JsonValue , options ?: Partial < JsonReadOptions > ) : RelateEntityRequest ;
537+
538+ static fromJsonString ( jsonString : string , options ?: Partial < JsonReadOptions > ) : RelateEntityRequest ;
539+
540+ static equals ( a : RelateEntityRequest | PlainMessage < RelateEntityRequest > | undefined , b : RelateEntityRequest | PlainMessage < RelateEntityRequest > | undefined ) : boolean ;
541+ }
542+
543+ /**
544+ * A request for a relationship on an entity. Forms a partial of the entitymanager.v1.Relationship message.
545+ *
546+ * @generated from message anduril.entitymanager.v1.RelationshipRequest
547+ */
548+ export declare class RelationshipRequest extends Message < RelationshipRequest > {
549+ /**
550+ * The entity ID to which this entity is related.
551+ *
552+ * @generated from field: string related_entity_id = 1;
553+ */
554+ relatedEntityId : string ;
555+
556+ /**
557+ * If RelationshipID is empty, a new relationship is created. Otherwise, the service will attempt
558+ * to update an already existing relationship on the entity.
559+ *
560+ * @generated from field: string relationship_id = 2;
561+ */
562+ relationshipId : string ;
563+
564+ /**
565+ * The relationship type
566+ *
567+ * @generated from field: anduril.entitymanager.v1.RelationshipType relationship_type = 3;
568+ */
569+ relationshipType ?: RelationshipType ;
570+
571+ constructor ( data ?: PartialMessage < RelationshipRequest > ) ;
572+
573+ static readonly runtime : typeof proto3 ;
574+ static readonly typeName = "anduril.entitymanager.v1.RelationshipRequest" ;
575+ static readonly fields : FieldList ;
576+
577+ static fromBinary ( bytes : Uint8Array , options ?: Partial < BinaryReadOptions > ) : RelationshipRequest ;
578+
579+ static fromJson ( jsonValue : JsonValue , options ?: Partial < JsonReadOptions > ) : RelationshipRequest ;
580+
581+ static fromJsonString ( jsonString : string , options ?: Partial < JsonReadOptions > ) : RelationshipRequest ;
582+
583+ static equals ( a : RelationshipRequest | PlainMessage < RelationshipRequest > | undefined , b : RelationshipRequest | PlainMessage < RelationshipRequest > | undefined ) : boolean ;
584+ }
585+
586+ /**
587+ * @generated from message anduril.entitymanager.v1.RelateEntityResponse
588+ */
589+ export declare class RelateEntityResponse extends Message < RelateEntityResponse > {
590+ /**
591+ * Newly related entity object with only Relationships component present.
592+ *
593+ * @generated from field: anduril.entitymanager.v1.Entity entity = 1;
594+ */
595+ entity ?: Entity ;
596+
597+ constructor ( data ?: PartialMessage < RelateEntityResponse > ) ;
598+
599+ static readonly runtime : typeof proto3 ;
600+ static readonly typeName = "anduril.entitymanager.v1.RelateEntityResponse" ;
601+ static readonly fields : FieldList ;
602+
603+ static fromBinary ( bytes : Uint8Array , options ?: Partial < BinaryReadOptions > ) : RelateEntityResponse ;
604+
605+ static fromJson ( jsonValue : JsonValue , options ?: Partial < JsonReadOptions > ) : RelateEntityResponse ;
606+
607+ static fromJsonString ( jsonString : string , options ?: Partial < JsonReadOptions > ) : RelateEntityResponse ;
608+
609+ static equals ( a : RelateEntityResponse | PlainMessage < RelateEntityResponse > | undefined , b : RelateEntityResponse | PlainMessage < RelateEntityResponse > | undefined ) : boolean ;
610+ }
611+
612+ /**
613+ * The relationships to remove from an entity.
614+ *
615+ * @generated from message anduril.entitymanager.v1.UnrelateEntityRequest
616+ */
617+ export declare class UnrelateEntityRequest extends Message < UnrelateEntityRequest > {
618+ /**
619+ * The entity from which relationships are being removed.
620+ *
621+ * @generated from field: string entity_id = 1;
622+ */
623+ entityId : string ;
624+
625+ /**
626+ * The relationships to delete on the entity, specified as relationship id.
627+ *
628+ * @generated from field: repeated string relationship_ids = 2;
629+ */
630+ relationshipIds : string [ ] ;
631+
632+ constructor ( data ?: PartialMessage < UnrelateEntityRequest > ) ;
633+
634+ static readonly runtime : typeof proto3 ;
635+ static readonly typeName = "anduril.entitymanager.v1.UnrelateEntityRequest" ;
636+ static readonly fields : FieldList ;
637+
638+ static fromBinary ( bytes : Uint8Array , options ?: Partial < BinaryReadOptions > ) : UnrelateEntityRequest ;
639+
640+ static fromJson ( jsonValue : JsonValue , options ?: Partial < JsonReadOptions > ) : UnrelateEntityRequest ;
641+
642+ static fromJsonString ( jsonString : string , options ?: Partial < JsonReadOptions > ) : UnrelateEntityRequest ;
643+
644+ static equals ( a : UnrelateEntityRequest | PlainMessage < UnrelateEntityRequest > | undefined , b : UnrelateEntityRequest | PlainMessage < UnrelateEntityRequest > | undefined ) : boolean ;
645+ }
646+
647+ /**
648+ * @generated from message anduril.entitymanager.v1.UnrelateEntityResponse
649+ */
650+ export declare class UnrelateEntityResponse extends Message < UnrelateEntityResponse > {
651+ /**
652+ * Updated entity object with only Relationships component present.
653+ *
654+ * @generated from field: anduril.entitymanager.v1.Entity entity = 1;
655+ */
656+ entity ?: Entity ;
657+
658+ constructor ( data ?: PartialMessage < UnrelateEntityResponse > ) ;
659+
660+ static readonly runtime : typeof proto3 ;
661+ static readonly typeName = "anduril.entitymanager.v1.UnrelateEntityResponse" ;
662+ static readonly fields : FieldList ;
663+
664+ static fromBinary ( bytes : Uint8Array , options ?: Partial < BinaryReadOptions > ) : UnrelateEntityResponse ;
665+
666+ static fromJson ( jsonValue : JsonValue , options ?: Partial < JsonReadOptions > ) : UnrelateEntityResponse ;
667+
668+ static fromJsonString ( jsonString : string , options ?: Partial < JsonReadOptions > ) : UnrelateEntityResponse ;
669+
670+ static equals ( a : UnrelateEntityResponse | PlainMessage < UnrelateEntityResponse > | undefined , b : UnrelateEntityResponse | PlainMessage < UnrelateEntityResponse > | undefined ) : boolean ;
671+ }
672+
506673/**
507674 * Event representing some type of entity change.
508675 *
0 commit comments