/** * Pipedrive API v1 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { UserAccess1 } from './user-access1'; /** * * @export * @interface AddUserRequest */ export interface AddUserRequest { /** * The email of the user * @type {string} */ 'email': string; /** * The access given to the user. Each item in the array represents access to a specific app. Optionally may include either admin flag or permission set ID to specify which access to give within the app. If both are omitted, the default access for the corresponding app will be used. It requires structure as follows: `[{ app: \'sales\', permission_set_id: \'62cc4d7f-4038-4352-abf3-a8c1c822b631\' }, { app: \'global\', admin: true }, { app: \'account_settings\' }]` * @type {Array} */ 'access'?: Array; /** * Whether the user is active or not. `false` = Not activated, `true` = Activated * @type {boolean} */ 'active_flag'?: boolean; }