/** * This file was auto-generated by Fern from our API Definition. */ import * as Flatfile from "../../../index"; /** * @example * { * id: "us_usr_YOUR_ID", * email: "john.smith@example.com", * name: "john.smith", * accountId: "us_acc_YOUR_ID", * idp: "FRONTEGG", * idpRef: "ab1cf38e-e617-4547-b37d-376a7ac9e554", * metadata: {}, * createdAt: "2023-10-30T16:59:45.735Z", * updatedAt: "2023-10-30T16:59:45.735Z", * lastSeenAt: "2023-10-30T16:59:45.735Z", * dashboard: 2, * actorRoles: [{ * id: "us_acr_YOUR_ID", * roleId: "us_rol_YOUR_ID", * actorId: "us_usr_YOUR_ID", * resourceId: "us_acc_YOUR_ID", * createdAt: "2021-01-01T00:00:00Z", * updatedAt: "2021-01-01T00:00:00Z" * }, { * id: "us_acr_YOUR_ID", * roleId: "us_rol_YOUR_ID", * actorId: "us_ag_YOUR_ID", * resourceId: "us_env_YOUR_ID", * createdAt: "2021-01-01T00:00:00Z", * updatedAt: "2021-01-01T00:00:00Z" * }] * } */ export interface UserWithRoles extends Flatfile.User { actorRoles: Flatfile.ActorRoleResponse[]; }