/** * BIMData API * BIMData API is a tool to interact with your models stored on BIMData’s servers. Through the API, you can manage your projects, the clouds, upload your IFC files and manage them through endpoints. * * The version of the OpenAPI document: v1 (v1) * Contact: support@bimdata.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { User } from './User'; /** * * @export * @interface CheckProjectAccess */ export interface CheckProjectAccess { /** * * @type {boolean} * @memberof CheckProjectAccess */ has_read_permission: boolean; /** * * @type {boolean} * @memberof CheckProjectAccess */ has_write_permission: boolean; /** * * @type {boolean} * @memberof CheckProjectAccess */ has_admin_permission: boolean; /** * * @type {Array} * @memberof CheckProjectAccess */ token_scopes: Array; /** * Some tokens may have write scopes (eg: model:write) but the user of the token is a guest in the project so they can't use the scopes. * @type {Array} * @memberof CheckProjectAccess */ usable_scopes: Array; /** * * `100` - admin * * `50` - user * * `25` - guest * @type {number} * @memberof CheckProjectAccess */ user_role?: CheckProjectAccessUserRoleEnum; /** * * @type {User} * @memberof CheckProjectAccess */ user?: User | null; } /** * @export * @enum {string} */ export declare enum CheckProjectAccessUserRoleEnum { NUMBER_100 = 100, NUMBER_50 = 50, NUMBER_25 = 25, NUMBER_null } export declare function CheckProjectAccessFromJSON(json: any): CheckProjectAccess; export declare function CheckProjectAccessFromJSONTyped(json: any, ignoreDiscriminator: boolean): CheckProjectAccess; export declare function CheckProjectAccessToJSON(value?: CheckProjectAccess | null): any;