/** * Generated by orval v8.19.0 🍺 * Do not edit manually. * Webitel API * OpenAPI spec version: 24.04.0 */ import type { DataField } from './dataField.zod'; import type { DataLookupValue } from './dataLookupValue.zod'; import type { ProtoDataStructIndexes } from './protoDataStructIndexes.zod'; /** * Type of the Structure. * * int64 dc = 0; */ export interface ProtoDataStruct { /** Optional. Short description. */ about?: string; administered?: boolean; createdAt?: string; createdBy?: DataLookupValue; /** * Required. Display [fields.id] key. * Used as [lookup].name setting for this [struct] type. */ display?: string; /** * // Extension fields type. * Extension extension = 23; */ extendable?: boolean; /** Fields of the struct type. */ fields?: DataField[]; /** Deprecated. Use `repo` instead. The [type] name (singular form), e.g.: `country`. */ id?: string; /** * INDEX fields. * * Extension extension = 15; */ indexes?: ProtoDataStructIndexes; /** A User-friendly [id] name ; lang: specific. */ name?: string; /** Readonly. RbAC objclass identity. */ objclass?: string; /** Readonly. Relative path to access the dataset APIs, e.g.: `dictionaries/countries`. */ path?: string; /** * Required. Primary [fields.id] key. * Used as [lookup].id setting for this [struct] type. */ primary?: string; readonly?: boolean; /** Repository (dataset) name (plural form), e.g.: `countries`. */ repo?: string; updatedAt?: string; updatedBy?: DataLookupValue; }