UNPKG

umbraco-management-api-client

Version:

TypeScript client for the Umbraco Management API (auto-generated by OpenAPI Generator)

137 lines (136 loc) 3.76 kB
/** * Umbraco Management API * This shows all APIs available in this version of Umbraco - including all the legacy apis that are available for backward compatibility * * The version of the OpenAPI document: Latest * * * 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 { PostUserGroupByIdUsersRequestInner } from './PostUserGroupByIdUsersRequestInner'; import type { CreateUserGroupRequestModelPermissionsInner } from './CreateUserGroupRequestModelPermissionsInner'; /** * * @export * @interface CurrentUserResponseModel */ export interface CurrentUserResponseModel { /** * * @type {string} * @memberof CurrentUserResponseModel */ email: string; /** * * @type {string} * @memberof CurrentUserResponseModel */ userName: string; /** * * @type {string} * @memberof CurrentUserResponseModel */ name: string; /** * * @type {Set<PostUserGroupByIdUsersRequestInner>} * @memberof CurrentUserResponseModel */ userGroupIds: Set<PostUserGroupByIdUsersRequestInner>; /** * * @type {string} * @memberof CurrentUserResponseModel */ id: string; /** * * @type {string} * @memberof CurrentUserResponseModel */ languageIsoCode: string | null; /** * * @type {Set<PostUserGroupByIdUsersRequestInner>} * @memberof CurrentUserResponseModel */ documentStartNodeIds: Set<PostUserGroupByIdUsersRequestInner>; /** * * @type {boolean} * @memberof CurrentUserResponseModel */ hasDocumentRootAccess: boolean; /** * * @type {Set<PostUserGroupByIdUsersRequestInner>} * @memberof CurrentUserResponseModel */ mediaStartNodeIds: Set<PostUserGroupByIdUsersRequestInner>; /** * * @type {boolean} * @memberof CurrentUserResponseModel */ hasMediaRootAccess: boolean; /** * * @type {Array<string>} * @memberof CurrentUserResponseModel */ avatarUrls: Array<string>; /** * * @type {Array<string>} * @memberof CurrentUserResponseModel */ languages: Array<string>; /** * * @type {boolean} * @memberof CurrentUserResponseModel */ hasAccessToAllLanguages: boolean; /** * * @type {boolean} * @memberof CurrentUserResponseModel */ hasAccessToSensitiveData: boolean; /** * * @type {Set<string>} * @memberof CurrentUserResponseModel */ fallbackPermissions: Set<string>; /** * * @type {Set<CreateUserGroupRequestModelPermissionsInner>} * @memberof CurrentUserResponseModel */ permissions: Set<CreateUserGroupRequestModelPermissionsInner>; /** * * @type {Set<string>} * @memberof CurrentUserResponseModel */ allowedSections: Set<string>; /** * * @type {boolean} * @memberof CurrentUserResponseModel */ isAdmin: boolean; } /** * Check if a given object implements the CurrentUserResponseModel interface. */ export declare function instanceOfCurrentUserResponseModel(value: object): value is CurrentUserResponseModel; export declare function CurrentUserResponseModelFromJSON(json: any): CurrentUserResponseModel; export declare function CurrentUserResponseModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): CurrentUserResponseModel; export declare function CurrentUserResponseModelToJSON(json: any): CurrentUserResponseModel; export declare function CurrentUserResponseModelToJSONTyped(value?: CurrentUserResponseModel | null, ignoreDiscriminator?: boolean): any;