syntax = "proto3";

package user;

option go_package = "user";

import "eventbus/owner.proto";
import "google/protobuf/timestamp.proto";

// UserDestroy triggers when a user's data is completely erased (such as for compliance reasons).
message UserDestroy {
  option (eventbus.owner.ldap_group) = "team-identity";
  string user_id = 1;
  string login = 2;
  repeated string associated_device_ids = 3;
  repeated string extension_client_ids = 4;
  // The date the user requested their data to be deleted
  google.protobuf.Timestamp deletion_request_created_at = 5;
}
