/** * Squidex API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.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 type { ResourceLink } from './ResourceLink'; /** * * @export * @interface AppDto */ export interface AppDto { /** * The links. * @type {{ [key: string]: ResourceLink; }} * @memberof AppDto */ links: { [key: string]: ResourceLink; }; /** * The ID of the app. * @type {string} * @memberof AppDto */ id: string; /** * The name of the app. * @type {string} * @memberof AppDto */ name: string; /** * The optional label of the app. * @type {string} * @memberof AppDto */ label?: string | null; /** * The optional description of the app. * @type {string} * @memberof AppDto */ description?: string | null; /** * The version of the app. * @type {number} * @memberof AppDto */ version: number; /** * The timestamp when the app has been created. * @type {Date} * @memberof AppDto */ created: Date; /** * The timestamp when the app has been modified last. * @type {Date} * @memberof AppDto */ lastModified: Date; /** * The ID of the team. * @type {string} * @memberof AppDto */ teamId?: string | null; /** * The permission level of the user. * @type {Array} * @memberof AppDto */ permissions: Array; /** * Indicates if the user can access the api. * @type {boolean} * @memberof AppDto * @deprecated */ canAccessApi: boolean; /** * Indicates if the user can access at least one content. * @type {boolean} * @memberof AppDto */ canAccessContent: boolean; /** * The role name of the user. * @type {string} * @memberof AppDto */ roleName?: string | null; /** * The properties from the role. * @type {{ [key: string]: any; }} * @memberof AppDto */ roleProperties: { [key: string]: any; }; } /** * Check if a given object implements the AppDto interface. */ export declare function instanceOfAppDto(value: any): value is AppDto; export declare function AppDtoFromJSON(json: any): AppDto; export declare function AppDtoFromJSONTyped(json: any, _ignoreDiscriminator: boolean): AppDto; export declare function AppDtoToJSON(value?: AppDto | null, _ignoreDiscriminator?: boolean): any;