import type * as Samsara from "../../../../index.mjs"; /** * @example * { * authType: "default", * email: "user@company.com", * name: "Bob Smith", * roles: [{ * roleId: "8a9371af-82d1-4158-bf91-4ecc8d3a114c" * }] * } */ export interface CreateUserRequest { /** The authentication type the user uses to authenticate. To use SAML this organization must have a configured SAML integration. Valid values: `default`, `saml`. */ authType: CreateUserRequest.AuthType; /** The email address of this user. */ email: string; /** For users with temporary access, this is the expiration datetime in RFC3339 format */ expireAt?: string; /** The first and last name of the user. */ name: string; /** The list of roles that applies to this user. A user may have "organizational" roles, which apply to the user at the organizational level, and "tag-specific" roles, which apply to the user for a given tag. */ roles: Samsara.CreateUserRequestRoles[]; } export declare namespace CreateUserRequest { /** The authentication type the user uses to authenticate. To use SAML this organization must have a configured SAML integration. Valid values: `default`, `saml`. */ const AuthType: { readonly Default: "default"; readonly Saml: "saml"; }; type AuthType = (typeof AuthType)[keyof typeof AuthType]; }