//#region src/generated/mapi/types-aliased.gen.d.ts type Component = { /** * Unique identifier for the component */ readonly id: number; /** * Technical name of the component. */ name: string; /** * Human-readable display name */ display_name?: string | null; /** * Component description */ description?: string | null; /** * Creation timestamp (format is ISO 8601 standard in UTC). */ readonly created_at: string; /** * Latest update timestamp (format is ISO 8601 standard in UTC). */ updated_at: string; /** * Component field schema definition */ schema: { [key: string]: { type?: 'bloks' | 'text' | 'textarea' | 'richtext' | 'markdown' | 'number' | 'datetime' | 'boolean' | 'options' | 'option' | 'asset' | 'multiasset' | 'multilink' | 'table' | 'section' | 'commerce' | 'custom' | 'image' | 'file' | 'tab' | 'link' | 'group'; /** * Field ID */ id?: string; [key: string]: unknown | 'bloks' | 'text' | 'textarea' | 'richtext' | 'markdown' | 'number' | 'datetime' | 'boolean' | 'options' | 'option' | 'asset' | 'multiasset' | 'multilink' | 'table' | 'section' | 'commerce' | 'custom' | 'image' | 'file' | 'tab' | 'link' | 'group' | string | undefined; }; }; /** * Component image URL */ image?: string | null; /** * Field used for preview. */ preview_field?: string | null; /** * Whether this component can be used as a root component. */ is_root: boolean; /** * Preview template HTML. */ preview_tmpl?: string | null; /** * Whether this component can be nested inside other components. */ is_nestable: boolean; /** * All presets associated with this component. */ all_presets?: Array<{ /** * Preset ID */ id?: number; /** * Preset name */ name?: string; /** * Preset schema */ preset?: { [key: string]: unknown; }; /** * ID of the component this preset belongs to */ component_id?: number; /** * Image URL for the preset preview */ image?: string | null; /** * Icon name for the preset */ icon?: string | null; /** * Color for the preset display */ color?: string | null; /** * Description of the preset */ description?: string | null; }>; /** * Default preset ID. */ preset_id?: number | null; /** * Display name if available, otherwise technical name. */ real_name?: string; /** * UUID of the component group this component belongs to. */ component_group_uuid?: string | null; /** * Component color for UI display */ color?: string | null; /** * Component icon name */ icon?: string | null; internal_tags_list?: Array<{ /** * ID */ id?: number; /** * Name */ name?: string; }>; /** * List of internal tag IDs */ internal_tag_ids?: Array; /** * Content Type Asset preview. */ content_type_asset_preview?: string | null; /** * Component metadata. */ metadata?: { [key: string]: unknown; } | null; }; type ComponentCreate = { /** * Name of the component */ name: string; /** * Human-readable display name */ display_name?: string; /** * Component description */ description?: string; /** * Preview template HTML */ preview_tmpl?: string; /** * Component image URL */ image?: string; /** * Field used for preview */ preview_field?: string; /** * Whether this component can be used as a root component */ is_root?: boolean; /** * Whether this component can be nested inside other components */ is_nestable?: boolean; /** * Default preset ID */ preset_id?: number; /** * UUID */ component_group_uuid?: string | null; /** * Component color for UI display */ color?: string; /** * Component icon name */ icon?: string; /** * Asset preview URL for content type */ content_type_asset_preview?: string; /** * List of internal tag IDs */ internal_tag_ids?: Array; /** * Component field schema definition */ schema?: { [key: string]: { type?: 'bloks' | 'text' | 'textarea' | 'richtext' | 'markdown' | 'number' | 'datetime' | 'boolean' | 'options' | 'option' | 'asset' | 'multiasset' | 'multilink' | 'table' | 'section' | 'commerce' | 'custom' | 'image' | 'file' | 'tab' | 'link' | 'group'; /** * Human-readable field name */ display_name?: string; /** * Whether this field is required */ required?: boolean; /** * Whether this field is translatable */ translatable?: boolean; [key: string]: unknown | 'bloks' | 'text' | 'textarea' | 'richtext' | 'markdown' | 'number' | 'datetime' | 'boolean' | 'options' | 'option' | 'asset' | 'multiasset' | 'multilink' | 'table' | 'section' | 'commerce' | 'custom' | 'image' | 'file' | 'tab' | 'link' | 'group' | string | boolean | undefined; }; }; /** * Component metadata */ metadata?: { [key: string]: unknown; }; }; type ComponentUpdate = { /** * Name of the component */ name?: string; /** * Human-readable display name */ display_name?: string; /** * Component description */ description?: string; /** * Preview template HTML */ preview_tmpl?: string; /** * Component image URL */ image?: string; /** * Field used for preview */ preview_field?: string; /** * Whether this component can be used as a root component */ is_root?: boolean; /** * Whether this component can be nested inside other components */ is_nestable?: boolean; /** * Default preset ID */ preset_id?: number; /** * UUID */ component_group_uuid?: string | null; /** * Component color for UI display */ color?: string; /** * Component icon name */ icon?: string; /** * Asset preview URL for content type */ content_type_asset_preview?: string; /** * List of internal tag IDs */ internal_tag_ids?: Array; /** * Component field schema definition */ schema?: { [key: string]: { type?: 'bloks' | 'text' | 'textarea' | 'richtext' | 'markdown' | 'number' | 'datetime' | 'boolean' | 'options' | 'option' | 'asset' | 'multiasset' | 'multilink' | 'table' | 'section' | 'commerce' | 'custom' | 'image' | 'file' | 'tab' | 'link' | 'group'; /** * Human-readable field name */ display_name?: string; /** * Whether this field is required */ required?: boolean; /** * Whether this field is translatable */ translatable?: boolean; [key: string]: unknown | 'bloks' | 'text' | 'textarea' | 'richtext' | 'markdown' | 'number' | 'datetime' | 'boolean' | 'options' | 'option' | 'asset' | 'multiasset' | 'multilink' | 'table' | 'section' | 'commerce' | 'custom' | 'image' | 'file' | 'tab' | 'link' | 'group' | string | boolean | undefined; }; }; /** * Component metadata */ metadata?: { [key: string]: unknown; }; }; type Asset = { /** * Id of the asset. */ id: number; /** * Full path of the asset, including the file name. */ filename: string; /** * ID of the space this asset belongs to */ space_id: number; /** * Creation timestamp (format is ISO 8601 standard in UTC). */ created_at: string; /** * Latest update timestamp (format is ISO 8601 standard in UTC). */ updated_at: string; /** * File object with upload details */ file?: { [key: string]: unknown; } | null; /** * Id of the folder containing this asset. */ asset_folder_id?: number | null; deleted_at?: string | null; /** * file name */ short_filename?: string; /** * The content length in bytes. */ content_length?: number | null; /** * The content type. */ content_type?: string | null; /** * deleted?. */ permanently_deleted?: boolean | null; /** * Alt text for the asset (default language). */ alt?: string | null; /** * Copyright text. */ copyright?: string | null; /** * User's job title or role. */ title?: string | null; /** * Focus point. */ focus?: string | null; /** * Ext id */ ext_id?: string | null; expire_at?: string | null; /** * source */ source?: string | null; /** * List of internal tag IDs */ internal_tag_ids?: Array; /** * If locked */ locked?: boolean; /** * Defines if the asset should be inaccessible to the public. */ is_private: boolean; publish_at?: string | null; /** * Additional metadata */ meta_data?: { [key: string]: unknown; } | null; /** * List of internal tags */ internal_tags_list?: Array<{ id: number; name: string; }>; }; type AssetCreate = { fields: { /** * acl */ acl: string; /** * Cache Control */ 'Cache-Control': string; /** * Content Type */ 'Content-Type': string; /** * key */ key: string; /** * Expiration date (optional) */ Expires?: string; /** * policy */ policy: string; /** * credential */ 'x-amz-credential': string; /** * algorithm */ 'x-amz-algorithm': string; /** * date */ 'x-amz-date': string; /** * signature */ 'x-amz-signature': string; }; post_url: string; pretty_url: string; public_url: string; id: number; locked: boolean; /** * Custom metadata for the asset */ meta_data: { [key: string]: unknown; }; }; type AssetUpdate = { /** * Publish date */ publish_at?: string; /** * Expire date */ expire_at?: string; /** * Whether the asset is private */ is_private?: boolean | null; /** * Asset folder ID */ asset_folder_id?: number | null; /** * Alt */ alt?: string | null; /** * Title */ title?: string | null; /** * Copyright */ copyright?: string | null; /** * Focus */ focus?: string | null; /** * External ID */ ext_id?: string | null; /** * Source */ source?: string | null; /** * Internal tag IDs */ internal_tag_ids?: Array; /** * Metadata */ meta_data?: { [key: string]: unknown; }; }; /** * Folder for organizing assets within a space */ type AssetFolder = { id: number; name: string; /** * ID of parent space if this is a child space. */ parent_id: number | null; /** * Unique UUID identifier for the discussion. */ uuid: string; parent_uuid: string | null; }; type AssetFolderCreate = { name: string; parent_id?: number | null; }; type AssetFolderUpdate = { name?: string; parent_id?: number | null; }; /** * Logical grouping of components for organizational purposes */ type ComponentFolder = { /** * Unique ID. */ id: number; /** * The name of the component group. */ name: string; /** * Unique UUID identifier for the discussion. */ uuid: string; /** * ID of parent space if this is a child space. */ parent_id: number | null; /** * The UUID of the parent component group */ parent_uuid: string | null; }; type ComponentFolderCreate = { /** * Name of the component group */ name: string; /** * Parent component group ID */ parent_id?: number | null; }; type ComponentFolderUpdate = ComponentFolderCreate; /** * A named collection of key-value entries used for structured content options */ type MapiDatasource = { /** * ID. */ id: number; /** * Name. */ name: string; /** * URL-friendly identifier for the app category. */ slug: string; /** * Dimensions of the datasource. */ dimensions: Array; /** * Creation timestamp (format is ISO 8601 standard in UTC). */ created_at?: string; /** * Latest update timestamp (format is ISO 8601 standard in UTC). */ updated_at?: string; }; type DatasourceCreate = { /** * The name of the datasource */ name: string; /** * The unique slug of the datasource */ slug: string; /** * Array of dimensions to create for this datasource */ dimensions_attributes?: Array<{ /** * ID of existing dimension (for updates) */ id?: number; /** * Name of the dimension */ name?: string; /** * Value for the dimension entry */ entry_value?: string; /** * Set to true to delete this dimension */ _destroy?: boolean; }>; }; type DatasourceUpdate = { /** * The name of the datasource */ name?: string; /** * The unique slug of the datasource */ slug?: string; /** * Array of dimensions to update or create for this datasource */ dimensions_attributes?: Array<{ /** * ID of existing dimension (for updates) */ id?: number; /** * Name of the dimension */ name?: string; /** * Value for the dimension entry */ entry_value?: string; /** * Set to true to delete this dimension */ _destroy?: boolean; }>; }; /** * A single key-value entry within a datasource */ type MapiDatasourceEntry = { /** * ID. */ id: number; /** * Name. */ name: string; /** * Given value in default dimension */ value: string; /** * Given value in the requested dimension. */ dimension_value: string | null; }; type InternalTag = { /** * Unique ID */ id: number; /** * The name of the internal tag */ name: string; /** * The type of object this tag is associated with */ object_type: 'asset' | 'component' | 'idea'; /** * Count of assets associated with this tag (only present when with_assets_count parameter is used) */ assets_count?: number | null; }; type InternalTagCreate = { /** * The name of the internal tag */ name: string; /** * The type of object this tag is associated with */ object_type?: 'asset' | 'component' | 'idea'; }; type InternalTagUpdate = InternalTagCreate; type SharedAssetFolder = { id: number; name: string; /** * ID of parent space if this is a child space. */ parent_id: number | null; /** * Unique UUID identifier for the discussion. */ uuid: string; parent_uuid: string | null; description?: string | null; color?: string | null; regions?: Array<'eu' | 'ap' | 'ca' | 'us' | 'cn' | 'all'>; asset_folder_access?: Array<{ space_id?: number; access_level?: 'write' | 'read'; }>; }; type SharedAssetFolderCreate = { name: string; parent_id?: number; description?: string; color?: string; regions?: Array<'eu' | 'ap' | 'ca' | 'us' | 'cn' | 'all'>; asset_folder_access?: Array<{ space_id?: number; access_level?: 'read' | 'write'; }>; }; type SharedAssetFolderUpdate = { name?: string; parent_id?: number | null; description?: string; color?: string; regions?: Array<'eu' | 'ap' | 'ca' | 'us' | 'cn' | 'all'>; asset_folder_access?: Array<{ space_id?: number; access_level?: 'read' | 'write'; }>; }; type SharedInternalTagCreate = { /** * The name of the shared internal tag */ name: string; /** * The type of object this tag is associated with */ object_type?: 'asset' | 'component' | 'idea'; /** * The id of the root Shared Library asset_folder this tag is scoped to */ asset_folder_id: number; }; type Preset = { /** * Unique identifier of the preset */ id: number; /** * Name of the preset */ name: string; /** * The preset content configuration as JSON object */ preset: { [key: string]: unknown; } | null; /** * ID of the component this preset belongs to */ component_id: number; /** * ID of the space this preset belongs to */ space_id: number; /** * URL of the preset preview image */ image?: string | null; /** * Color associated with the preset */ color?: string | null; /** * Icon identifier for the preset */ icon?: string | null; /** * Description of the preset */ description?: string | null; /** * Creation timestamp (format is ISO 8601 standard in UTC). */ created_at: string; /** * Latest update timestamp (format is ISO 8601 standard in UTC). */ updated_at: string; }; type PresetCreate = { /** * Name of the preset */ name: string; /** * The preset content configuration as JSON object */ preset?: { [key: string]: unknown; }; /** * ID of the component this preset belongs to */ component_id: number; /** * URL of the preset preview image */ image?: string; /** * Icon identifier for the preset */ icon?: string; /** * Color associated with the preset */ color?: string; /** * Description of the preset */ description?: string; }; type PresetUpdate = { /** * Name of the preset */ name?: string; /** * The preset content configuration as JSON object */ preset?: { [key: string]: unknown; }; /** * ID of the component this preset belongs to */ component_id?: number; /** * URL of the preset preview image */ image?: string; /** * Icon identifier for the preset */ icon?: string; /** * Color associated with the preset */ color?: string; /** * Description of the preset */ description?: string; }; type Space = { /** * The unique identifier of the space */ readonly id: number; /** * The name of the space. */ name: string; /** * External unique identifier */ euid?: string | null; /** * The region where the space is hosted */ region: string; /** * The ID of the space owner */ owner_id: number; /** * Latest update timestamp (format is ISO 8601 standard in UTC). */ updated_at: string; /** * Creation timestamp (format is ISO 8601 standard in UTC). */ readonly created_at: string; /** * The subscription plan name */ plan: string; /** * The plan level identifier */ plan_level: number; /** * Number of pending traffic boosts */ pending_traffic_boosts?: number | null; /** * Number of pending limit boosts */ pending_limit_boosts?: number | null; /** * Whether the space is on a trial plan */ trial: boolean; /** * Whether two-factor authentication is required */ requires_2fa: boolean; /** * The organization ID if space belongs to an organization */ org_id?: number | null; /** * The partner ID if space is associated with a partner */ partner_id?: number | null; /** * The subscription status */ subscription_status?: string | null; /** * Stripe trial status */ stripe_trial_status?: string | null; /** * Stripe trial end date */ stripe_trial_end?: string | null; /** * The type of space (e.g., personal, team) */ space_type?: string | null; /** * The timestamp when the space was canceled */ canceled_at?: string | null; /** * Whether the organization requires 2FA. */ org_requires_2fa: boolean; /** * The timestamp when the space became unpaid */ unpaid_at?: string | null; /** * The timestamp when the space was blocked */ blocked_at?: string | null; /** * Whether the space is in development mode */ development_mode: boolean; /** * Flags indicating which feature limits have been exceeded */ feature_limit_exceeded_flags: { [key: string]: boolean | null; }; /** * The status of the organization. */ org_status?: string | null; /** * Available roles in the space */ space_roles?: Array; /** * Whether the space is on a Joyride trial */ joyride_trial?: boolean; /** * When the Joyride trial expires */ joyride_trial_expires_at?: string | null; /** * When the Joyride trial started */ joyride_trial_started_at?: string | null; /** * Whether the Joyride trial traffic limit has been exceeded. */ joyride_traffic_limit_exceeded?: boolean; [key: string]: unknown | number | string | string | null | number | null | number | null | boolean | number | null | number | null | string | null | string | null | string | null | string | null | string | null | string | null | string | null | { [key: string]: boolean | null; } | string | null | Array | string | null | string | null | undefined; }; type SpaceCreate = { /** * The name of the space */ name: string; /** * The domain associated with the space */ domain?: string | null; /** * ID of parent space if creating a child space */ parent_id?: number | null; /** * Webhook URL for story published events */ story_published_hook?: string | null; /** * Searchblok integration ID */ searchblok_id?: string | null; /** * Whether this is a demo space */ is_demo?: boolean; /** * Blueprint reference for space initialization */ blueprint_reference?: string | null; /** * Whether to disable the onboarding tour */ onboarding_tour_disabled?: boolean; /** * Initial environments configuration */ environments?: Array<{ name: string; location: string; }>; }; type SpaceUpdate = { /** * The name of the space */ name?: string; /** * The domain associated with the space */ domain?: string; /** * Webhook URL for story published events */ story_published_hook?: string | null; /** * Unique domain for the space */ uniq_domain?: string | null; /** * ID of the new owner (only changeable by current owner) */ owner_id?: number; /** * Whether this is a demo space */ is_demo?: boolean; /** * Searchblok integration ID */ searchblok_id?: string | null; /** * ID of parent space */ parent_id?: number | null; /** * Cache version */ version?: number; /** * Whether the space can be duplicated */ duplicatable?: boolean; /** * Default root component type */ default_root?: string; /** * AWS role for asset management */ asset_aws_role?: string | null; /** * Personal S3 bucket for assets */ personal_s3_asset_bucket?: string | null; /** * AWS region for assets */ asset_region?: string | null; /** * Token for webhook authentication */ webhook_token?: string | null; /** * Whether to use translated stories feature */ use_translated_stories?: boolean; /** * Backup schedule time */ backup_time?: string | null; /** * Current onboarding step */ onboarding_step?: string | null; /** * Webhook URL for release merged events */ release_merged_hook?: string | null; /** * Webhook URL for branch deployed events */ branch_deployed_hook?: string | null; /** * Webhook URL for datasource entry saved events */ datasource_entry_saved_hook?: string | null; /** * Webhook URL for story saved events */ story_saved_hook?: string | null; /** * Webhook URL for stage changed events */ stage_changed_hook?: string | null; /** * S3 bucket name */ s3_bucket?: string | null; /** * AWS ARN for external integrations */ aws_arn?: string | null; /** * Cloudinary cloud name */ cloudinary_cloud_name?: string | null; /** * Cloudinary API key */ cloudinary_api_key?: string | null; /** * Backup frequency setting */ backup_frequency?: string | null; /** * Day of week for weekly backups (0-6) */ backup_week_day?: number | null; /** * Default language name */ default_lang_name?: string | null; /** * Default AI translation language code (AiServices::TextService::LANGUAGES); defaults to en */ default_ai_lang_code?: string | null; /** * Whether to use hosted backups */ hosted_backup?: boolean; /** * Whether space is in maintenance mode */ maintenance?: boolean; /** * Tablet screen size in pixels */ tablet_size?: number | null; /** * Mobile screen size in pixels */ mobile_size?: number | null; /** * Whether visual mode is disabled */ visual_mode_disable?: boolean; /** * Whether AI text generation is disabled */ ai_text_generator_disabled?: boolean; /** * Whether to track usage statistics */ track_statistics?: boolean; /** * Custom upload limit in megabytes */ custom_upload_limit_in_mb?: number | null; /** * Whether strong authentication is required */ strong_auth?: boolean; /** * Auto-delete old versions after specified days */ auto_delete_old_versions_after_days?: number | null; /** * Whether to encode preview URLs */ encode_preview_urls?: boolean; /** * Whether to enable extended character set in story slugs */ enable_extended_char_set_in_stories_slug?: boolean; /** * Whether to show alternative versions of stories */ show_stories_alternative_versions?: boolean; /** * Blueprint reference */ blueprint_reference?: string | null; /** * Whether to inherit organization AI configuration */ inherit_org_ai_configuration?: boolean; /** * Whether to disable the onboarding tour */ onboarding_tour_disabled?: boolean; /** * Language configuration */ languages?: Array<{ code: string; name: string; ai_translation_code?: string | null; }>; /** * Custom routes configuration */ routes?: Array<{ pattern: string; template: string; }>; /** * Environment configuration */ environments?: Array<{ name: string; location: string; }>; /** * Web crawling configuration */ crawl_config?: { base_url?: string; enabled?: boolean; }; /** * Billing address information */ billing_address?: { tax_number?: string; order_number?: string; company?: string; email?: string; name?: string; address_city?: string; address_country?: string; address_iso_country?: string; address_line1?: string; address_zip?: string; }; /** * Required asset fields configuration */ required_assest_fields?: Array; /** * Custom metadata schema for assets */ asset_custom_meta_data_schema?: Array<{ key?: string; display_name?: string; regex?: string | null; regex_message?: string | null; required?: boolean; translatable?: boolean; filetypes?: Array; }>; /** * Translatable asset fields configuration */ translatable_asset_fields?: Array; /** * Dimension app folder configurations with full metadata. Each item represents a dimension with its associated root folder. */ dimensions_app_folders?: Array<{ /** * The ID of the linked folder */ folder_id: number; /** * The AI translation code for this folder */ ai_translation_code: string | null; }>; /** * Whether to enable AI translation for the dimensions app */ enable_dimensions_app_ai_translation?: boolean; }; type User = { userid: string; email: string; organization?: string | null; /** * Username */ username?: string | null; use_username: boolean; alt_email?: string | null; firstname?: string | null; lastname?: string | null; phone?: string | null; readonly id: number; login_strategy: 'otp_email' | 'otp_sms' | 'password' | 'twilio_totp'; /** * Creation timestamp (format is ISO 8601 standard in UTC). */ readonly created_at: string; /** * User's role in the organization. Null if user has no org. */ org_role?: 'admin' | 'owner' | 'member' | null; has_org: boolean; has_partner: boolean; /** * Delegated from partner association. Null if user has no partner. */ partner_status?: string | null; /** * Organization details. Returns empty object {} when user has no organization. */ org: { id?: number; /** * Organization settings stored as JSONB. Contains keys like track_statistics, strong_auth, sso_servers_webhook, etc. */ settings?: { [key: string]: unknown; }; name?: string; status?: 'active' | 'disabled' | 'deactivated'; }; timezone?: string | null; avatar?: string | null; /** * Display name derived from firstname/lastname or email */ friendly_name: string; notified: Array; /** * The language code for this translation. */ lang?: string | null; partner_role?: string | null; favourite_spaces: Array; /** * Array of idea UUIDs marked as favourite. */ favourite_ideas: Array; /** * User's system role */ role?: 'admin' | 'normal' | 'banned' | 'sso' | 'superuser' | 'devops' | 'marketer' | null; /** * Always returns true. */ beta_user: boolean; /** * Defaults to true if not set */ track_statistics: boolean; /** * User UI theme preferences. Defaults to {"theme": "default"} if not set. */ ui_theme: { [key: string]: unknown; }; is_editor?: boolean | null; /** * Whether the user authenticates via SSO. */ sso?: boolean | null; job_role?: string | null; job_title?: string | null; /** * Whether user has verified TOTP 2FA. */ totp_factor_verified: boolean; /** * Available 2FA methods for this user. Always includes otp_email; otp_sms if phone set; twilio_totp if TOTP configured. */ configured_2fa_options: Array<'otp_email' | 'otp_sms' | 'twilio_totp'>; disclaimer_ids: Array; company_name?: string | null; live_chat_enabled: boolean; /** * True if user confirmed email or uses SSO */ confirmed: boolean; }; type UserUpdate = { email?: string; password?: string; password_confirmation?: string; current_password?: string; firstname?: string; lastname?: string; username?: string; lang?: string; timezone?: string; use_username?: boolean; alt_email?: string; login_strategy?: 'password' | 'otp_email' | 'otp_sms'; phone?: string; is_editor?: boolean; job_role?: string; job_title?: string; company_name?: string; company_size?: string; usage_type?: string; framework_used?: string; beta_user?: boolean; track_statistics?: boolean; ui_theme?: { [key: string]: unknown; }; favourite_spaces?: Array; favourite_ideas?: Array; notified?: Array; disclaimer_ids?: Array; }; type StoryTranslatedSlug = { /** * id */ id: number; /** * The name for this translated slug */ name: string | null; /** * URL-friendly identifier for the app category. */ slug: string; /** * The language code for this translation. */ lang: string; published: boolean | null; }; type StoryLocalizedPath = { /** * The localized path */ path: string; /** * The translated name */ name: string | null; /** * The language code for this translation. */ lang: string; /** * Published status or date */ published: boolean | string | null; /** * The translated slug (only present when folders are used). */ translated_slug?: string; }; /** * A dimension for datasource entries, enabling localized or context-specific values */ type Dimension = { /** * ID */ id: number; /** * Name */ name: string; /** * The value provided for the datasource dimension. */ entry_value: string; /** * The numeric ID of the datasource that the dimension belongs to. */ datasource_id?: number; /** * Creation timestamp (format is ISO 8601 standard in UTC). */ created_at?: string; /** * Latest update timestamp (format is ISO 8601 standard in UTC). */ updated_at?: string; }; /** * Custom role definition controlling permissions within a space */ type SpaceRole = { /** * The unique identifier of the space role. */ id: number; /** * The role name */ role: string; /** * Optional subtitle for the role. */ subtitle?: string | null; /** * External ID for integrations */ ext_id?: string | null; /** * List of permissions */ permissions: Array; /** * Allowed content paths. */ allowed_paths: Array; /** * Resolved allowed paths with slugs. */ resolved_allowed_paths: Array; /** * Blocked content paths. */ blocked_paths: Array; /** * Resolved blocked paths with slugs. */ resolved_blocked_paths: Array | null; /** * Field-level permissions */ field_permissions: Array; /** * Allowed field permissions. */ allowed_field_permissions: Array; /** * Read-only field permissions. */ readonly_field_permissions: Array; /** * Allowed datasource IDs. */ datasource_ids: Array; /** * Blocked datasource IDs. */ blocked_datasource_ids: Array; /** * Blocked component IDs for usage. */ component_ids: Array; /** * Allowed component IDs for usage. */ allowed_component_ids: Array; /** * Managed component IDs. */ managed_component_ids: Array; /** * Blocked manage component IDs. */ blocked_manage_component_ids: Array; /** * Managed component group UUIDs. */ managed_component_group_uuids: Array; /** * Blocked manage component group UUIDs. */ blocked_manage_component_group_uuids: Array; /** * Allowed component group UUIDs for usage. */ component_group_uuids: Array; /** * Blocked component group UUIDs for usage. */ blocked_component_group_uuids: Array; /** * Allowed branch IDs. */ branch_ids: Array; /** * Blocked branch IDs. */ blocked_branch_ids: Array; /** * Allowed language codes. */ allowed_languages: Array; /** * Blocked language codes. */ blocked_languages: Array; /** * Allowed asset folder IDs. */ asset_folder_ids: Array; /** * Blocked asset folder IDs. */ blocked_asset_folder_ids: Array; }; //#endregion export { Asset, AssetCreate, AssetFolder, AssetFolderCreate, AssetFolderUpdate, AssetUpdate, Component, ComponentCreate, ComponentFolder, ComponentFolderCreate, ComponentFolderUpdate, ComponentUpdate, DatasourceCreate, DatasourceUpdate, Dimension, InternalTag, InternalTagCreate, InternalTagUpdate, MapiDatasource, MapiDatasourceEntry, Preset, PresetCreate, PresetUpdate, SharedAssetFolder, SharedAssetFolderCreate, SharedAssetFolderUpdate, SharedInternalTagCreate, Space, SpaceCreate, SpaceRole, SpaceUpdate, StoryLocalizedPath, StoryTranslatedSlug, User, UserUpdate }; //# sourceMappingURL=types-aliased.gen.d.cts.map