UNPKG

umbraco-management-api-client

Version:

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

136 lines (135 loc) 4.34 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 { DocumentTypeCleanupModel } from './DocumentTypeCleanupModel'; import type { PostUserGroupByIdUsersRequestInner } from './PostUserGroupByIdUsersRequestInner'; import type { ReferenceByIdModel } from './ReferenceByIdModel'; import type { CreateDocumentTypeRequestModelAllowedDocumentTypesInner } from './CreateDocumentTypeRequestModelAllowedDocumentTypesInner'; import type { CreateDocumentTypeRequestModelCompositionsInner } from './CreateDocumentTypeRequestModelCompositionsInner'; import type { DocumentTypeResponseModelContainersInner } from './DocumentTypeResponseModelContainersInner'; import type { DocumentTypeResponseModelPropertiesInner } from './DocumentTypeResponseModelPropertiesInner'; /** * * @export * @interface DocumentTypeResponseModel */ export interface DocumentTypeResponseModel { /** * * @type {string} * @memberof DocumentTypeResponseModel */ alias: string; /** * * @type {string} * @memberof DocumentTypeResponseModel */ name: string; /** * * @type {string} * @memberof DocumentTypeResponseModel */ description?: string | null; /** * * @type {string} * @memberof DocumentTypeResponseModel */ icon: string; /** * * @type {boolean} * @memberof DocumentTypeResponseModel */ allowedAsRoot: boolean; /** * * @type {boolean} * @memberof DocumentTypeResponseModel */ variesByCulture: boolean; /** * * @type {boolean} * @memberof DocumentTypeResponseModel */ variesBySegment: boolean; /** * * @type {ReferenceByIdModel} * @memberof DocumentTypeResponseModel */ collection?: ReferenceByIdModel | null; /** * * @type {boolean} * @memberof DocumentTypeResponseModel */ isElement: boolean; /** * * @type {Array<DocumentTypeResponseModelPropertiesInner>} * @memberof DocumentTypeResponseModel */ properties: Array<DocumentTypeResponseModelPropertiesInner>; /** * * @type {Array<DocumentTypeResponseModelContainersInner>} * @memberof DocumentTypeResponseModel */ containers: Array<DocumentTypeResponseModelContainersInner>; /** * * @type {string} * @memberof DocumentTypeResponseModel */ id: string; /** * * @type {Array<PostUserGroupByIdUsersRequestInner>} * @memberof DocumentTypeResponseModel */ allowedTemplates: Array<PostUserGroupByIdUsersRequestInner>; /** * * @type {ReferenceByIdModel} * @memberof DocumentTypeResponseModel */ defaultTemplate?: ReferenceByIdModel | null; /** * * @type {DocumentTypeCleanupModel} * @memberof DocumentTypeResponseModel */ cleanup: DocumentTypeCleanupModel; /** * * @type {Array<CreateDocumentTypeRequestModelAllowedDocumentTypesInner>} * @memberof DocumentTypeResponseModel */ allowedDocumentTypes: Array<CreateDocumentTypeRequestModelAllowedDocumentTypesInner>; /** * * @type {Array<CreateDocumentTypeRequestModelCompositionsInner>} * @memberof DocumentTypeResponseModel */ compositions: Array<CreateDocumentTypeRequestModelCompositionsInner>; } /** * Check if a given object implements the DocumentTypeResponseModel interface. */ export declare function instanceOfDocumentTypeResponseModel(value: object): value is DocumentTypeResponseModel; export declare function DocumentTypeResponseModelFromJSON(json: any): DocumentTypeResponseModel; export declare function DocumentTypeResponseModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): DocumentTypeResponseModel; export declare function DocumentTypeResponseModelToJSON(json: any): DocumentTypeResponseModel; export declare function DocumentTypeResponseModelToJSONTyped(value?: DocumentTypeResponseModel | null, ignoreDiscriminator?: boolean): any;