/** * EMIL Tenant Service * The EMIL TenantService API description * * The version of the OpenAPI document: 1.0 * Contact: kontakt@emil.de * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { OrganizationClass } from './organization-class'; import { RoleClass } from './role-class'; /** * * @export * @interface InviteClass */ export interface InviteClass { /** * Internal unique identifier for the object. You should not have to use this, use code instead. * @type {number} * @memberof InviteClass */ 'id': number; /** * User email address. * @type {string} * @memberof InviteClass */ 'email': string; /** * Permissions associated with the invite. * @type {Array} * @memberof InviteClass */ 'roles': Array; /** * Expiry date of invitation email. * @type {string} * @memberof InviteClass */ 'expiresOn': string; /** * Time at which the object was created. * @type {string} * @memberof InviteClass */ 'createdAt': string; /** * Time at which the object was updated. * @type {string} * @memberof InviteClass */ 'updatedAt': string; /** * Emil Resources Names (ERN) identifies the most specific owner of a resource. * @type {string} * @memberof InviteClass */ 'ern': string; /** * Indicates if a new partner will be created as part of the invitation flow. * @type {boolean} * @memberof InviteClass */ 'shouldCreateNewPartner': boolean; /** * Optional metadata associated with the invite - useful for passing data to the front end for custom logic. * @type {object} * @memberof InviteClass */ 'metadata'?: object; /** * Organization ID associated with the invite. * @type {number} * @memberof InviteClass */ 'organizationId'?: number; /** * Identifier of the user who created the record. * @type {string} * @memberof InviteClass */ 'createdBy': string; /** * Identifier of the user who last updated the record. * @type {string} * @memberof InviteClass */ 'updatedBy': string; /** * Organization associated with the user * @type {OrganizationClass} * @memberof InviteClass */ 'organization'?: OrganizationClass; }