const entityFieldsRegistry = {
  "access_log": {
    "id": "id",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "actor_user_id": "actor_user_id",
    "resource_kind": "resource_kind",
    "resource_id": "resource_id",
    "access_type": "access_type",
    "fields_json": "fields_json",
    "context_json": "context_json",
    "created_at": "created_at",
    "deleted_at": "deleted_at"
  },
  "action_log": {
    "id": "id",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "actor_user_id": "actor_user_id",
    "command_id": "command_id",
    "action_label": "action_label",
    "action_type": "action_type",
    "resource_kind": "resource_kind",
    "resource_id": "resource_id",
    "parent_resource_kind": "parent_resource_kind",
    "parent_resource_id": "parent_resource_id",
    "execution_state": "execution_state",
    "undo_token": "undo_token",
    "command_payload": "command_payload",
    "snapshot_before": "snapshot_before",
    "snapshot_after": "snapshot_after",
    "changes_json": "changes_json",
    "changed_fields": "changed_fields",
    "primary_changed_field": "primary_changed_field",
    "context_json": "context_json",
    "source_key": "source_key",
    "related_resource_kind": "related_resource_kind",
    "related_resource_id": "related_resource_id",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "api_key": {
    "id": "id",
    "name": "name",
    "description": "description",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "key_hash": "key_hash",
    "key_prefix": "key_prefix",
    "roles_json": "roles_json",
    "created_by": "created_by",
    "session_token": "session_token",
    "session_user_id": "session_user_id",
    "session_secret_encrypted": "session_secret_encrypted",
    "opencode_session_id": "opencode_session_id",
    "last_used_at": "last_used_at",
    "expires_at": "expires_at",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "attachment": {
    "id": "id",
    "entity_id": "entity_id",
    "record_id": "record_id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "partition_code": "partition_code",
    "file_name": "file_name",
    "mime_type": "mime_type",
    "file_size": "file_size",
    "storage_driver": "storage_driver",
    "storage_path": "storage_path",
    "storage_metadata": "storage_metadata",
    "url": "url",
    "content": "content",
    "created_at": "created_at"
  },
  "attachment_partition": {
    "id": "id",
    "code": "code",
    "title": "title",
    "description": "description",
    "storage_driver": "storage_driver",
    "config_json": "config_json",
    "is_public": "is_public",
    "requires_ocr": "requires_ocr",
    "ocr_model": "ocr_model",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "created_at": "created_at",
    "updated_at": "updated_at"
  },
  "business_rule": {
    "id": "id",
    "rule_id": "rule_id",
    "rule_name": "rule_name",
    "description": "description",
    "rule_type": "rule_type",
    "rule_category": "rule_category",
    "entity_type": "entity_type",
    "event_type": "event_type",
    "condition_expression": "condition_expression",
    "success_actions": "success_actions",
    "failure_actions": "failure_actions",
    "enabled": "enabled",
    "priority": "priority",
    "version": "version",
    "effective_from": "effective_from",
    "effective_to": "effective_to",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "created_by": "created_by",
    "updated_by": "updated_by",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "carrier_shipment": {
    "id": "id",
    "order_id": "order_id",
    "provider_key": "provider_key",
    "carrier_shipment_id": "carrier_shipment_id",
    "tracking_number": "tracking_number",
    "unified_status": "unified_status",
    "carrier_status": "carrier_status",
    "label_url": "label_url",
    "label_data": "label_data",
    "tracking_events": "tracking_events",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "last_webhook_at": "last_webhook_at",
    "last_polled_at": "last_polled_at",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "carrier_shipment_idempotency_key": {
    "id": "id",
    "provider_key": "provider_key",
    "idempotency_key": "idempotency_key",
    "request_hash": "request_hash",
    "shipment_id": "shipment_id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "created_at": "created_at"
  },
  "carrier_webhook_processed_event": {
    "id": "id",
    "provider_key": "provider_key",
    "idempotency_key": "idempotency_key",
    "event_type": "event_type",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "processed_at": "processed_at"
  },
  "catalog_offer": {
    "id": "id",
    "product": "product",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "channel_id": "channel_id",
    "title": "title",
    "description": "description",
    "default_media_id": "default_media_id",
    "default_media_url": "default_media_url",
    "metadata": "metadata",
    "is_active": "is_active",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at",
    "prices": "prices"
  },
  "catalog_option_schema_template": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "name": "name",
    "code": "code",
    "description": "description",
    "schema": "schema",
    "metadata": "metadata",
    "is_active": "is_active",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "catalog_price_kind": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "code": "code",
    "title": "title",
    "display_mode": "display_mode",
    "currency_code": "currency_code",
    "is_promotion": "is_promotion",
    "is_active": "is_active",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at",
    "prices": "prices"
  },
  "catalog_product": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "title": "title",
    "subtitle": "subtitle",
    "description": "description",
    "sku": "sku",
    "handle": "handle",
    "tax_rate_id": "tax_rate_id",
    "tax_rate": "tax_rate",
    "product_type": "product_type",
    "status_entry_id": "status_entry_id",
    "primary_currency_code": "primary_currency_code",
    "default_unit": "default_unit",
    "default_sales_unit": "default_sales_unit",
    "default_sales_unit_quantity": "default_sales_unit_quantity",
    "uom_rounding_scale": "uom_rounding_scale",
    "uom_rounding_mode": "uom_rounding_mode",
    "unit_price_enabled": "unit_price_enabled",
    "unit_price_reference_unit": "unit_price_reference_unit",
    "unit_price_base_quantity": "unit_price_base_quantity",
    "default_media_id": "default_media_id",
    "default_media_url": "default_media_url",
    "weight_value": "weight_value",
    "weight_unit": "weight_unit",
    "dimensions": "dimensions",
    "country_of_origin_code": "country_of_origin_code",
    "pkwiu_code": "pkwiu_code",
    "cn_code": "cn_code",
    "hs_code": "hs_code",
    "tax_classification_code": "tax_classification_code",
    "gtu_codes": "gtu_codes",
    "age_min": "age_min",
    "is_excise_good": "is_excise_good",
    "excise_category": "excise_category",
    "requires_prescription": "requires_prescription",
    "hazmat_class": "hazmat_class",
    "un_number": "un_number",
    "hazmat_packing_group": "hazmat_packing_group",
    "contains_lithium_battery": "contains_lithium_battery",
    "launch_at": "launch_at",
    "end_of_life_at": "end_of_life_at",
    "available_from": "available_from",
    "available_until": "available_until",
    "min_order_qty": "min_order_qty",
    "max_order_qty": "max_order_qty",
    "order_qty_increment": "order_qty_increment",
    "requires_shipping": "requires_shipping",
    "is_quote_only": "is_quote_only",
    "seo_title": "seo_title",
    "seo_description": "seo_description",
    "canonical_url": "canonical_url",
    "metadata": "metadata",
    "custom_fieldset_code": "custom_fieldset_code",
    "option_schema_template": "option_schema_template",
    "is_configurable": "is_configurable",
    "is_active": "is_active",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at",
    "variants": "variants",
    "offers": "offers",
    "category_assignments": "category_assignments",
    "tag_assignments": "tag_assignments",
    "unit_conversions": "unit_conversions"
  },
  "catalog_product_category": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "name": "name",
    "slug": "slug",
    "description": "description",
    "parent_id": "parent_id",
    "root_id": "root_id",
    "tree_path": "tree_path",
    "depth": "depth",
    "ancestor_ids": "ancestor_ids",
    "child_ids": "child_ids",
    "descendant_ids": "descendant_ids",
    "metadata": "metadata",
    "is_active": "is_active",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at",
    "assignments": "assignments"
  },
  "catalog_product_category_assignment": {
    "id": "id",
    "product": "product",
    "category": "category",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "position": "position",
    "created_at": "created_at",
    "updated_at": "updated_at"
  },
  "catalog_product_price": {
    "id": "id",
    "variant": "variant",
    "product": "product",
    "offer": "offer",
    "price_kind": "price_kind",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "currency_code": "currency_code",
    "kind": "kind",
    "min_quantity": "min_quantity",
    "max_quantity": "max_quantity",
    "unit_price_net": "unit_price_net",
    "unit_price_gross": "unit_price_gross",
    "tax_rate": "tax_rate",
    "tax_amount": "tax_amount",
    "channel_id": "channel_id",
    "user_id": "user_id",
    "user_group_id": "user_group_id",
    "customer_id": "customer_id",
    "customer_group_id": "customer_group_id",
    "metadata": "metadata",
    "starts_at": "starts_at",
    "ends_at": "ends_at",
    "created_at": "created_at",
    "updated_at": "updated_at"
  },
  "catalog_product_tag": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "label": "label",
    "slug": "slug",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "assignments": "assignments"
  },
  "catalog_product_tag_assignment": {
    "id": "id",
    "product": "product",
    "tag": "tag",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "created_at": "created_at",
    "updated_at": "updated_at"
  },
  "catalog_product_unit_conversion": {
    "id": "id",
    "product": "product",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "unit_code": "unit_code",
    "to_base_factor": "to_base_factor",
    "sort_order": "sort_order",
    "is_active": "is_active",
    "metadata": "metadata",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "catalog_product_variant": {
    "id": "id",
    "product": "product",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "name": "name",
    "sku": "sku",
    "barcode": "barcode",
    "gtin_type": "gtin_type",
    "hs_code": "hs_code",
    "status_entry_id": "status_entry_id",
    "is_default": "is_default",
    "is_active": "is_active",
    "weight_value": "weight_value",
    "weight_unit": "weight_unit",
    "dimensions": "dimensions",
    "metadata": "metadata",
    "tax_rate_id": "tax_rate_id",
    "tax_rate": "tax_rate",
    "option_values": "option_values",
    "default_media_id": "default_media_id",
    "default_media_url": "default_media_url",
    "custom_fieldset_code": "custom_fieldset_code",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at",
    "prices": "prices",
    "component_relations": "component_relations",
    "parent_relations": "parent_relations"
  },
  "catalog_product_variant_relation": {
    "id": "id",
    "parent_variant": "parent_variant",
    "child_variant": "child_variant",
    "child_product": "child_product",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "relation_type": "relation_type",
    "is_required": "is_required",
    "min_quantity": "min_quantity",
    "max_quantity": "max_quantity",
    "position": "position",
    "metadata": "metadata",
    "created_at": "created_at",
    "updated_at": "updated_at"
  },
  "channel_ingest_dead_letter": {
    "id": "id",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "channel_id": "channel_id",
    "provider_key": "provider_key",
    "external_uid": "external_uid",
    "external_message_id": "external_message_id",
    "error_class": "error_class",
    "error_message": "error_message",
    "raw_body": "raw_body",
    "created_at": "created_at"
  },
  "channel_thread_mapping": {
    "id": "id",
    "external_conversation_id": "external_conversation_id",
    "message_thread_id": "message_thread_id",
    "channel_id": "channel_id",
    "provider_key": "provider_key",
    "external_thread_ref": "external_thread_ref",
    "assigned_user_id": "assigned_user_id",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "created_at": "created_at",
    "updated_at": "updated_at"
  },
  "channel_thread_token": {
    "id": "id",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "message_thread_id": "message_thread_id",
    "token": "token",
    "created_at": "created_at",
    "last_seen_at": "last_seen_at"
  },
  "communication_channel": {
    "id": "id",
    "provider_key": "provider_key",
    "channel_type": "channel_type",
    "display_name": "display_name",
    "external_identifier": "external_identifier",
    "credentials_ref": "credentials_ref",
    "capabilities": "capabilities",
    "is_active": "is_active",
    "user_id": "user_id",
    "is_primary": "is_primary",
    "poll_interval_seconds": "poll_interval_seconds",
    "last_polled_at": "last_polled_at",
    "status": "status",
    "last_error": "last_error",
    "channel_state": "channel_state",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "currency": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "code": "code",
    "name": "name",
    "symbol": "symbol",
    "decimal_places": "decimal_places",
    "thousands_separator": "thousands_separator",
    "decimal_separator": "decimal_separator",
    "is_base": "is_base",
    "is_active": "is_active",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "currency_fetch_config": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "provider": "provider",
    "is_enabled": "is_enabled",
    "sync_time": "sync_time",
    "last_sync_at": "last_sync_at",
    "last_sync_status": "last_sync_status",
    "last_sync_message": "last_sync_message",
    "last_sync_count": "last_sync_count",
    "config": "config",
    "created_at": "created_at",
    "updated_at": "updated_at"
  },
  "custom_entity": {
    "id": "id",
    "entity_id": "entity_id",
    "label": "label",
    "description": "description",
    "label_field": "label_field",
    "default_editor": "default_editor",
    "show_in_sidebar": "show_in_sidebar",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "is_active": "is_active",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "custom_entity_storage": {
    "id": "id",
    "entity_type": "entity_type",
    "entity_id": "entity_id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "doc": "doc",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "custom_field_def": {
    "id": "id",
    "entity_id": "entity_id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "key": "key",
    "kind": "kind",
    "config_json": "config_json",
    "is_active": "is_active",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "custom_field_entity_config": {
    "id": "id",
    "entity_id": "entity_id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "config_json": "config_json",
    "is_active": "is_active",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "custom_field_value": {
    "id": "id",
    "entity_id": "entity_id",
    "record_id": "record_id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "field_key": "field_key",
    "value_text": "value_text",
    "value_multiline": "value_multiline",
    "value_int": "value_int",
    "value_float": "value_float",
    "value_bool": "value_bool",
    "created_at": "created_at",
    "deleted_at": "deleted_at"
  },
  "customer_activity": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "activity_type": "activity_type",
    "subject": "subject",
    "body": "body",
    "occurred_at": "occurred_at",
    "author_user_id": "author_user_id",
    "appearance_icon": "appearance_icon",
    "appearance_color": "appearance_color",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "entity": "entity",
    "deal": "deal"
  },
  "customer_address": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "name": "name",
    "purpose": "purpose",
    "company_name": "company_name",
    "address_line1": "address_line1",
    "address_line2": "address_line2",
    "city": "city",
    "region": "region",
    "postal_code": "postal_code",
    "country": "country",
    "building_number": "building_number",
    "flat_number": "flat_number",
    "latitude": "latitude",
    "longitude": "longitude",
    "is_primary": "is_primary",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "entity": "entity"
  },
  "customer_comment": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "body": "body",
    "author_user_id": "author_user_id",
    "appearance_icon": "appearance_icon",
    "appearance_color": "appearance_color",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at",
    "entity": "entity",
    "deal": "deal"
  },
  "customer_company_billing": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "entity": "entity",
    "bank_name": "bank_name",
    "bank_account_masked": "bank_account_masked",
    "payment_terms": "payment_terms",
    "preferred_currency": "preferred_currency",
    "created_at": "created_at",
    "updated_at": "updated_at"
  },
  "customer_company_profile": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "legal_name": "legal_name",
    "brand_name": "brand_name",
    "domain": "domain",
    "website_url": "website_url",
    "industry": "industry",
    "size_bucket": "size_bucket",
    "annual_revenue": "annual_revenue",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "entity": "entity"
  },
  "customer_deal": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "title": "title",
    "description": "description",
    "status": "status",
    "pipeline_stage": "pipeline_stage",
    "pipeline_id": "pipeline_id",
    "pipeline_stage_id": "pipeline_stage_id",
    "value_amount": "value_amount",
    "value_currency": "value_currency",
    "probability": "probability",
    "expected_close_at": "expected_close_at",
    "owner_user_id": "owner_user_id",
    "source": "source",
    "closure_outcome": "closure_outcome",
    "loss_reason_id": "loss_reason_id",
    "loss_notes": "loss_notes",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at",
    "people": "people",
    "companies": "companies",
    "activities": "activities",
    "comments": "comments",
    "stage_transitions": "stage_transitions"
  },
  "customer_deal_company_link": {
    "id": "id",
    "created_at": "created_at",
    "deal": "deal",
    "company": "company"
  },
  "customer_deal_person_link": {
    "id": "id",
    "role": "role",
    "created_at": "created_at",
    "deal": "deal",
    "person": "person"
  },
  "customer_deal_stage_transition": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "pipeline_id": "pipeline_id",
    "stage_id": "stage_id",
    "stage_label": "stage_label",
    "stage_order": "stage_order",
    "transitioned_at": "transitioned_at",
    "transitioned_by_user_id": "transitioned_by_user_id",
    "is_active": "is_active",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at",
    "deal": "deal"
  },
  "customer_dictionary_entry": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "kind": "kind",
    "value": "value",
    "normalized_value": "normalized_value",
    "label": "label",
    "color": "color",
    "icon": "icon",
    "created_at": "created_at",
    "updated_at": "updated_at"
  },
  "customer_dictionary_kind_setting": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "kind": "kind",
    "selection_mode": "selection_mode",
    "visible_in_tags": "visible_in_tags",
    "sort_order": "sort_order",
    "created_at": "created_at",
    "updated_at": "updated_at"
  },
  "customer_entity": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "kind": "kind",
    "display_name": "display_name",
    "description": "description",
    "owner_user_id": "owner_user_id",
    "primary_email": "primary_email",
    "primary_phone": "primary_phone",
    "status": "status",
    "lifecycle_stage": "lifecycle_stage",
    "source": "source",
    "temperature": "temperature",
    "renewal_quarter": "renewal_quarter",
    "next_interaction_at": "next_interaction_at",
    "next_interaction_name": "next_interaction_name",
    "next_interaction_ref_id": "next_interaction_ref_id",
    "next_interaction_icon": "next_interaction_icon",
    "next_interaction_color": "next_interaction_color",
    "is_active": "is_active",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at",
    "person_profile": "person_profile",
    "company_profile": "company_profile",
    "addresses": "addresses",
    "activities": "activities",
    "comments": "comments",
    "tag_assignments": "tag_assignments",
    "todo_links": "todo_links",
    "interactions": "interactions",
    "deal_person_links": "deal_person_links",
    "deal_company_links": "deal_company_links",
    "person_company_links": "person_company_links",
    "linked_people": "linked_people",
    "company_members": "company_members"
  },
  "customer_entity_role": {
    "id": "id",
    "entity_type": "entity_type",
    "entity_id": "entity_id",
    "user_id": "user_id",
    "role_type": "role_type",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "customer_interaction": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "interaction_type": "interaction_type",
    "title": "title",
    "body": "body",
    "external_message_id": "external_message_id",
    "channel_provider_key": "channel_provider_key",
    "status": "status",
    "scheduled_at": "scheduled_at",
    "occurred_at": "occurred_at",
    "priority": "priority",
    "author_user_id": "author_user_id",
    "owner_user_id": "owner_user_id",
    "appearance_icon": "appearance_icon",
    "appearance_color": "appearance_color",
    "source": "source",
    "deal_id": "deal_id",
    "duration_minutes": "duration_minutes",
    "location": "location",
    "all_day": "all_day",
    "recurrence_rule": "recurrence_rule",
    "recurrence_end": "recurrence_end",
    "participants": "participants",
    "reminder_minutes": "reminder_minutes",
    "visibility": "visibility",
    "linked_entities": "linked_entities",
    "guest_permissions": "guest_permissions",
    "pinned": "pinned",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at",
    "entity": "entity"
  },
  "customer_label": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "user_id": "user_id",
    "slug": "slug",
    "label": "label",
    "created_at": "created_at",
    "updated_at": "updated_at"
  },
  "customer_label_assignment": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "user_id": "user_id",
    "label": "label",
    "entity": "entity",
    "created_at": "created_at"
  },
  "customer_person_company_link": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "is_primary": "is_primary",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at",
    "person": "person",
    "company": "company"
  },
  "customer_person_company_role": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "person_entity": "person_entity",
    "company_entity": "company_entity",
    "role_value": "role_value",
    "created_at": "created_at"
  },
  "customer_person_profile": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "first_name": "first_name",
    "last_name": "last_name",
    "preferred_name": "preferred_name",
    "job_title": "job_title",
    "department": "department",
    "seniority": "seniority",
    "timezone": "timezone",
    "linked_in_url": "linked_in_url",
    "twitter_url": "twitter_url",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "entity": "entity",
    "company": "company"
  },
  "customer_pipeline": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "name": "name",
    "is_default": "is_default",
    "created_at": "created_at",
    "updated_at": "updated_at"
  },
  "customer_pipeline_stage": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "pipeline_id": "pipeline_id",
    "name": "name",
    "position": "position",
    "created_at": "created_at",
    "updated_at": "updated_at"
  },
  "customer_role": {
    "id": "id",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "name": "name",
    "slug": "slug",
    "description": "description",
    "is_default": "is_default",
    "is_system": "is_system",
    "customer_assignable": "customer_assignable",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "customer_role_acl": {
    "id": "id",
    "role": "role",
    "tenant_id": "tenant_id",
    "features_json": "features_json",
    "is_portal_admin": "is_portal_admin",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "customer_settings": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "address_format": "address_format",
    "stuck_threshold_days": "stuck_threshold_days",
    "dictionary_sort_modes": "dictionary_sort_modes",
    "created_at": "created_at",
    "updated_at": "updated_at"
  },
  "customer_tag": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "slug": "slug",
    "label": "label",
    "color": "color",
    "description": "description",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "assignments": "assignments"
  },
  "customer_tag_assignment": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "created_at": "created_at",
    "tag": "tag",
    "entity": "entity"
  },
  "customer_todo_link": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "todo_id": "todo_id",
    "todo_source": "todo_source",
    "created_at": "created_at",
    "created_by_user_id": "created_by_user_id",
    "entity": "entity"
  },
  "customer_user": {
    "id": "id",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "email": "email",
    "email_hash": "email_hash",
    "password_hash": "password_hash",
    "display_name": "display_name",
    "email_verified_at": "email_verified_at",
    "failed_login_attempts": "failed_login_attempts",
    "locked_until": "locked_until",
    "last_login_at": "last_login_at",
    "sessions_revoked_at": "sessions_revoked_at",
    "person_entity_id": "person_entity_id",
    "customer_entity_id": "customer_entity_id",
    "is_active": "is_active",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "customer_user_acl": {
    "id": "id",
    "user": "user",
    "tenant_id": "tenant_id",
    "features_json": "features_json",
    "is_portal_admin": "is_portal_admin",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "customer_user_email_verification": {
    "id": "id",
    "user": "user",
    "token": "token",
    "purpose": "purpose",
    "expires_at": "expires_at",
    "used_at": "used_at",
    "created_at": "created_at"
  },
  "customer_user_invitation": {
    "id": "id",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "email": "email",
    "email_hash": "email_hash",
    "token": "token",
    "customer_entity_id": "customer_entity_id",
    "role_ids_json": "role_ids_json",
    "invited_by_user_id": "invited_by_user_id",
    "invited_by_customer_user_id": "invited_by_customer_user_id",
    "display_name": "display_name",
    "expires_at": "expires_at",
    "accepted_at": "accepted_at",
    "cancelled_at": "cancelled_at",
    "created_at": "created_at"
  },
  "customer_user_password_reset": {
    "id": "id",
    "user": "user",
    "token": "token",
    "expires_at": "expires_at",
    "used_at": "used_at",
    "created_at": "created_at"
  },
  "customer_user_role": {
    "id": "id",
    "user": "user",
    "role": "role",
    "created_at": "created_at",
    "deleted_at": "deleted_at"
  },
  "customer_user_session": {
    "id": "id",
    "user": "user",
    "token_hash": "token_hash",
    "ip_address": "ip_address",
    "user_agent": "user_agent",
    "expires_at": "expires_at",
    "last_used_at": "last_used_at",
    "created_at": "created_at",
    "deleted_at": "deleted_at"
  },
  "dashboard_layout": {
    "id": "id",
    "user_id": "user_id",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "layout_json": "layout_json",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "dashboard_role_widgets": {
    "id": "id",
    "role_id": "role_id",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "widget_ids_json": "widget_ids_json",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "dashboard_user_widgets": {
    "id": "id",
    "user_id": "user_id",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "mode": "mode",
    "widget_ids_json": "widget_ids_json",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "dictionary": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "key": "key",
    "name": "name",
    "description": "description",
    "is_system": "is_system",
    "is_active": "is_active",
    "manager_visibility": "manager_visibility",
    "entry_sort_mode": "entry_sort_mode",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "dictionary_entry": {
    "id": "id",
    "dictionary": "dictionary",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "value": "value",
    "normalized_value": "normalized_value",
    "label": "label",
    "color": "color",
    "icon": "icon",
    "position": "position",
    "is_default": "is_default",
    "created_at": "created_at",
    "updated_at": "updated_at"
  },
  "domain_mapping": {
    "id": "id",
    "hostname": "hostname",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "replaces_domain": "replaces_domain",
    "provider": "provider",
    "status": "status",
    "verified_at": "verified_at",
    "last_dns_check_at": "last_dns_check_at",
    "dns_failure_reason": "dns_failure_reason",
    "tls_failure_reason": "tls_failure_reason",
    "tls_retry_count": "tls_retry_count",
    "created_at": "created_at",
    "updated_at": "updated_at"
  },
  "encryption_map": {
    "id": "id",
    "entity_id": "entity_id",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "fields_json": "fields_json",
    "is_active": "is_active",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "entity_index_coverage": {
    "id": "id",
    "entity_type": "entity_type",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "with_deleted": "with_deleted",
    "base_count": "base_count",
    "indexed_count": "indexed_count",
    "vector_indexed_count": "vector_indexed_count",
    "refreshed_at": "refreshed_at"
  },
  "entity_index_job": {
    "id": "id",
    "entity_type": "entity_type",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "partition_index": "partition_index",
    "partition_count": "partition_count",
    "processed_count": "processed_count",
    "total_count": "total_count",
    "heartbeat_at": "heartbeat_at",
    "status": "status",
    "started_at": "started_at",
    "finished_at": "finished_at"
  },
  "entity_index_row": {
    "id": "id",
    "entity_type": "entity_type",
    "entity_id": "entity_id",
    "organization_id": "organization_id",
    "organization_id_coalesced": "organization_id_coalesced",
    "tenant_id": "tenant_id",
    "doc": "doc",
    "embedding": "embedding",
    "index_version": "index_version",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "entity_translation": {
    "id": "id",
    "entity_type": "entity_type",
    "entity_id": "entity_id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "translations": "translations",
    "created_at": "created_at",
    "updated_at": "updated_at"
  },
  "exchange_rate": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "from_currency_code": "from_currency_code",
    "to_currency_code": "to_currency_code",
    "rate": "rate",
    "date": "date",
    "source": "source",
    "type": "type",
    "is_active": "is_active",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "external_conversation": {
    "id": "id",
    "channel_id": "channel_id",
    "external_conversation_id": "external_conversation_id",
    "subject": "subject",
    "contact_person_id": "contact_person_id",
    "assigned_user_id": "assigned_user_id",
    "last_message_at": "last_message_at",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "created_at": "created_at",
    "updated_at": "updated_at"
  },
  "external_message": {
    "id": "id",
    "channel_id": "channel_id",
    "conversation_id": "conversation_id",
    "external_message_id": "external_message_id",
    "direction": "direction",
    "sender_identifier": "sender_identifier",
    "sender_display_name": "sender_display_name",
    "provider_timestamp": "provider_timestamp",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "created_at": "created_at"
  },
  "feature_toggle": {
    "id": "id",
    "identifier": "identifier",
    "name": "name",
    "description": "description",
    "category": "category",
    "default_value": "default_value",
    "type": "type",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "feature_toggle_override": {
    "id": "id",
    "toggle": "toggle",
    "tenant_id": "tenant_id",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "value": "value"
  },
  "gateway_transaction": {
    "id": "id",
    "payment_id": "payment_id",
    "provider_key": "provider_key",
    "provider_session_id": "provider_session_id",
    "gateway_payment_id": "gateway_payment_id",
    "gateway_refund_id": "gateway_refund_id",
    "unified_status": "unified_status",
    "gateway_status": "gateway_status",
    "redirect_url": "redirect_url",
    "client_secret": "client_secret",
    "amount": "amount",
    "currency_code": "currency_code",
    "gateway_metadata": "gateway_metadata",
    "webhook_log": "webhook_log",
    "last_webhook_at": "last_webhook_at",
    "last_polled_at": "last_polled_at",
    "expires_at": "expires_at",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "inbox_discrepancy": {
    "id": "id",
    "proposal_id": "proposal_id",
    "action_id": "action_id",
    "type": "type",
    "severity": "severity",
    "description": "description",
    "expected_value": "expected_value",
    "found_value": "found_value",
    "resolved": "resolved",
    "metadata": "metadata",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "inbox_email": {
    "id": "id",
    "message_id": "message_id",
    "content_hash": "content_hash",
    "forwarded_by_address": "forwarded_by_address",
    "forwarded_by_name": "forwarded_by_name",
    "to_address": "to_address",
    "subject": "subject",
    "reply_to": "reply_to",
    "in_reply_to": "in_reply_to",
    "references": "references",
    "raw_text": "raw_text",
    "raw_html": "raw_html",
    "cleaned_text": "cleaned_text",
    "thread_messages": "thread_messages",
    "detected_language": "detected_language",
    "attachment_ids": "attachment_ids",
    "received_at": "received_at",
    "status": "status",
    "processing_error": "processing_error",
    "is_active": "is_active",
    "metadata": "metadata",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "inbox_proposal": {
    "id": "id",
    "inbox_email_id": "inbox_email_id",
    "summary": "summary",
    "participants": "participants",
    "confidence": "confidence",
    "detected_language": "detected_language",
    "category": "category",
    "status": "status",
    "possibly_incomplete": "possibly_incomplete",
    "reviewed_by_user_id": "reviewed_by_user_id",
    "reviewed_at": "reviewed_at",
    "llm_model": "llm_model",
    "llm_tokens_used": "llm_tokens_used",
    "working_language": "working_language",
    "translations": "translations",
    "is_active": "is_active",
    "metadata": "metadata",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "inbox_proposal_action": {
    "id": "id",
    "proposal_id": "proposal_id",
    "sort_order": "sort_order",
    "action_type": "action_type",
    "description": "description",
    "payload": "payload",
    "status": "status",
    "confidence": "confidence",
    "required_feature": "required_feature",
    "matched_entity_id": "matched_entity_id",
    "matched_entity_type": "matched_entity_type",
    "created_entity_id": "created_entity_id",
    "created_entity_type": "created_entity_type",
    "execution_error": "execution_error",
    "executed_at": "executed_at",
    "executed_by_user_id": "executed_by_user_id",
    "is_active": "is_active",
    "metadata": "metadata",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "inbox_settings": {
    "id": "id",
    "inbox_address": "inbox_address",
    "webhook_secret": "webhook_secret",
    "is_active": "is_active",
    "working_language": "working_language",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "indexer_error_log": {
    "id": "id",
    "source": "source",
    "handler": "handler",
    "entity_type": "entity_type",
    "record_id": "record_id",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "payload": "payload",
    "message": "message",
    "stack": "stack",
    "occurred_at": "occurred_at"
  },
  "indexer_status_log": {
    "id": "id",
    "source": "source",
    "handler": "handler",
    "level": "level",
    "entity_type": "entity_type",
    "record_id": "record_id",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "message": "message",
    "details": "details",
    "occurred_at": "occurred_at"
  },
  "integration_credentials": {
    "id": "id",
    "integration_id": "integration_id",
    "credentials": "credentials",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "user_id": "user_id",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "integration_log": {
    "id": "id",
    "integration_id": "integration_id",
    "run_id": "run_id",
    "scope_entity_type": "scope_entity_type",
    "scope_entity_id": "scope_entity_id",
    "level": "level",
    "message": "message",
    "code": "code",
    "payload": "payload",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "created_at": "created_at"
  },
  "integration_state": {
    "id": "id",
    "integration_id": "integration_id",
    "is_enabled": "is_enabled",
    "api_version": "api_version",
    "reauth_required": "reauth_required",
    "last_health_status": "last_health_status",
    "last_health_checked_at": "last_health_checked_at",
    "last_health_latency_ms": "last_health_latency_ms",
    "enabled_at": "enabled_at",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "message": {
    "id": "id",
    "type": "type",
    "thread_id": "thread_id",
    "parent_message_id": "parent_message_id",
    "sender_user_id": "sender_user_id",
    "subject": "subject",
    "body": "body",
    "body_format": "body_format",
    "priority": "priority",
    "status": "status",
    "is_draft": "is_draft",
    "sent_at": "sent_at",
    "action_data": "action_data",
    "action_result": "action_result",
    "action_taken": "action_taken",
    "action_taken_by_user_id": "action_taken_by_user_id",
    "action_taken_at": "action_taken_at",
    "send_via_email": "send_via_email",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at",
    "visibility": "visibility",
    "source_entity_type": "source_entity_type",
    "source_entity_id": "source_entity_id",
    "external_email": "external_email",
    "external_email_hash": "external_email_hash",
    "idempotency_key": "idempotency_key",
    "external_name": "external_name",
    "external_email_sent_at": "external_email_sent_at",
    "external_email_failed_at": "external_email_failed_at",
    "external_email_error": "external_email_error"
  },
  "message_access_token": {
    "id": "id",
    "message_id": "message_id",
    "recipient_user_id": "recipient_user_id",
    "token": "token",
    "expires_at": "expires_at",
    "used_at": "used_at",
    "use_count": "use_count",
    "created_at": "created_at"
  },
  "message_channel_link": {
    "id": "id",
    "message_id": "message_id",
    "external_conversation_id": "external_conversation_id",
    "external_message_id": "external_message_id",
    "provider_key": "provider_key",
    "channel_type": "channel_type",
    "direction": "direction",
    "delivery_status": "delivery_status",
    "channel_payload": "channel_payload",
    "channel_content_type": "channel_content_type",
    "interactive_state": "interactive_state",
    "channel_metadata": "channel_metadata",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "created_at": "created_at"
  },
  "message_confirmation": {
    "id": "id",
    "message_id": "message_id",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "confirmed": "confirmed",
    "confirmed_by_user_id": "confirmed_by_user_id",
    "confirmed_at": "confirmed_at",
    "created_at": "created_at",
    "updated_at": "updated_at"
  },
  "message_object": {
    "id": "id",
    "message_id": "message_id",
    "entity_module": "entity_module",
    "entity_type": "entity_type",
    "entity_id": "entity_id",
    "action_required": "action_required",
    "action_type": "action_type",
    "action_label": "action_label",
    "entity_snapshot": "entity_snapshot",
    "created_at": "created_at"
  },
  "message_reaction": {
    "id": "id",
    "message_id": "message_id",
    "emoji": "emoji",
    "reacted_by_user_id": "reacted_by_user_id",
    "reacted_by_external_id": "reacted_by_external_id",
    "reacted_by_display_name": "reacted_by_display_name",
    "provider_key": "provider_key",
    "external_reaction_id": "external_reaction_id",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "created_at": "created_at"
  },
  "message_recipient": {
    "id": "id",
    "message_id": "message_id",
    "recipient_user_id": "recipient_user_id",
    "recipient_type": "recipient_type",
    "status": "status",
    "read_at": "read_at",
    "archived_at": "archived_at",
    "deleted_at": "deleted_at",
    "email_sent_at": "email_sent_at",
    "email_delivered_at": "email_delivered_at",
    "email_opened_at": "email_opened_at",
    "email_failed_at": "email_failed_at",
    "email_error": "email_error",
    "created_at": "created_at"
  },
  "module_config": {
    "id": "id",
    "module_id": "module_id",
    "name": "name",
    "value_json": "value_json",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "created_at": "created_at",
    "updated_at": "updated_at"
  },
  "notification": {
    "id": "id",
    "recipient_user_id": "recipient_user_id",
    "type": "type",
    "title_key": "title_key",
    "body_key": "body_key",
    "title_variables": "title_variables",
    "body_variables": "body_variables",
    "title": "title",
    "body": "body",
    "icon": "icon",
    "severity": "severity",
    "status": "status",
    "action_data": "action_data",
    "action_result": "action_result",
    "action_taken": "action_taken",
    "source_module": "source_module",
    "source_entity_type": "source_entity_type",
    "source_entity_id": "source_entity_id",
    "link_href": "link_href",
    "group_key": "group_key",
    "created_at": "created_at",
    "read_at": "read_at",
    "actioned_at": "actioned_at",
    "dismissed_at": "dismissed_at",
    "expires_at": "expires_at",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id"
  },
  "organization": {
    "id": "id",
    "tenant": "tenant",
    "name": "name",
    "slug": "slug",
    "logo_url": "logo_url",
    "is_active": "is_active",
    "parent_id": "parent_id",
    "root_id": "root_id",
    "tree_path": "tree_path",
    "depth": "depth",
    "ancestor_ids": "ancestor_ids",
    "child_ids": "child_ids",
    "descendant_ids": "descendant_ids",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "password_reset": {
    "id": "id",
    "user": "user",
    "token": "token",
    "expires_at": "expires_at",
    "used_at": "used_at",
    "created_at": "created_at",
    "deleted_at": "deleted_at"
  },
  "perspective": {
    "id": "id",
    "user_id": "user_id",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "table_id": "table_id",
    "name": "name",
    "settings_json": "settings_json",
    "is_default": "is_default",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "planner_availability_rule": {
    "id": "id",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "subject_type": "subject_type",
    "subject_id": "subject_id",
    "timezone": "timezone",
    "rrule": "rrule",
    "exdates": "exdates",
    "kind": "kind",
    "note": "note",
    "unavailability_reason_entry_id": "unavailability_reason_entry_id",
    "unavailability_reason_value": "unavailability_reason_value",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "planner_availability_rule_set": {
    "id": "id",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "name": "name",
    "description": "description",
    "timezone": "timezone",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "progress_job": {
    "id": "id",
    "job_type": "job_type",
    "name": "name",
    "description": "description",
    "status": "status",
    "progress_percent": "progress_percent",
    "processed_count": "processed_count",
    "total_count": "total_count",
    "eta_seconds": "eta_seconds",
    "started_by_user_id": "started_by_user_id",
    "started_at": "started_at",
    "heartbeat_at": "heartbeat_at",
    "finished_at": "finished_at",
    "result_summary": "result_summary",
    "error_message": "error_message",
    "error_stack": "error_stack",
    "meta": "meta",
    "cancellable": "cancellable",
    "cancelled_by_user_id": "cancelled_by_user_id",
    "cancel_requested_at": "cancel_requested_at",
    "parent_job_id": "parent_job_id",
    "partition_index": "partition_index",
    "partition_count": "partition_count",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "created_at": "created_at",
    "updated_at": "updated_at"
  },
  "resources_resource": {
    "id": "id",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "name": "name",
    "description": "description",
    "resource_type_id": "resource_type_id",
    "capacity": "capacity",
    "capacity_unit_value": "capacity_unit_value",
    "capacity_unit_name": "capacity_unit_name",
    "capacity_unit_color": "capacity_unit_color",
    "capacity_unit_icon": "capacity_unit_icon",
    "appearance_icon": "appearance_icon",
    "appearance_color": "appearance_color",
    "is_active": "is_active",
    "availability_rule_set_id": "availability_rule_set_id",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "resources_resource_activity": {
    "id": "id",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "activity_type": "activity_type",
    "subject": "subject",
    "body": "body",
    "occurred_at": "occurred_at",
    "author_user_id": "author_user_id",
    "appearance_icon": "appearance_icon",
    "appearance_color": "appearance_color",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "resource": "resource"
  },
  "resources_resource_comment": {
    "id": "id",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "body": "body",
    "author_user_id": "author_user_id",
    "appearance_icon": "appearance_icon",
    "appearance_color": "appearance_color",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at",
    "resource": "resource"
  },
  "resources_resource_tag": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "slug": "slug",
    "label": "label",
    "color": "color",
    "description": "description",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "assignments": "assignments"
  },
  "resources_resource_tag_assignment": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "tag": "tag",
    "resource": "resource",
    "created_at": "created_at",
    "updated_at": "updated_at"
  },
  "resources_resource_type": {
    "id": "id",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "name": "name",
    "description": "description",
    "appearance_icon": "appearance_icon",
    "appearance_color": "appearance_color",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "role": {
    "id": "id",
    "name": "name",
    "tenant_id": "tenant_id",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "role_acl": {
    "id": "id",
    "role": "role",
    "tenant_id": "tenant_id",
    "features_json": "features_json",
    "is_super_admin": "is_super_admin",
    "organizations_json": "organizations_json",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "role_perspective": {
    "id": "id",
    "role_id": "role_id",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "table_id": "table_id",
    "name": "name",
    "settings_json": "settings_json",
    "is_default": "is_default",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "role_sidebar_preference": {
    "id": "id",
    "role": "role",
    "tenant_id": "tenant_id",
    "locale": "locale",
    "settings_json": "settings_json",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "rule_execution_log": {
    "id": "id",
    "rule": "rule",
    "entity_id": "entity_id",
    "entity_type": "entity_type",
    "execution_result": "execution_result",
    "input_context": "input_context",
    "output_context": "output_context",
    "error_message": "error_message",
    "execution_time_ms": "execution_time_ms",
    "executed_at": "executed_at",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "executed_by": "executed_by"
  },
  "rule_set": {
    "id": "id",
    "set_id": "set_id",
    "set_name": "set_name",
    "description": "description",
    "enabled": "enabled",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "created_by": "created_by",
    "updated_by": "updated_by",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "rule_set_member": {
    "id": "id",
    "rule_set": "rule_set",
    "rule": "rule",
    "sequence": "sequence",
    "enabled": "enabled",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "created_at": "created_at"
  },
  "sales_channel": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "name": "name",
    "code": "code",
    "description": "description",
    "status_entry_id": "status_entry_id",
    "status": "status",
    "website_url": "website_url",
    "contact_email": "contact_email",
    "contact_phone": "contact_phone",
    "address_line1": "address_line1",
    "address_line2": "address_line2",
    "city": "city",
    "region": "region",
    "postal_code": "postal_code",
    "country": "country",
    "latitude": "latitude",
    "longitude": "longitude",
    "is_active": "is_active",
    "metadata": "metadata",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at",
    "orders": "orders"
  },
  "sales_credit_memo": {
    "id": "id",
    "order": "order",
    "invoice": "invoice",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "credit_memo_number": "credit_memo_number",
    "status_entry_id": "status_entry_id",
    "status": "status",
    "reason": "reason",
    "issue_date": "issue_date",
    "currency_code": "currency_code",
    "subtotal_net_amount": "subtotal_net_amount",
    "subtotal_gross_amount": "subtotal_gross_amount",
    "tax_total_amount": "tax_total_amount",
    "grand_total_net_amount": "grand_total_net_amount",
    "grand_total_gross_amount": "grand_total_gross_amount",
    "metadata": "metadata",
    "custom_field_set_id": "custom_field_set_id",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at",
    "lines": "lines"
  },
  "sales_credit_memo_line": {
    "id": "id",
    "credit_memo": "credit_memo",
    "order_line": "order_line",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "line_number": "line_number",
    "name": "name",
    "sku": "sku",
    "description": "description",
    "quantity": "quantity",
    "quantity_unit": "quantity_unit",
    "normalized_quantity": "normalized_quantity",
    "normalized_unit": "normalized_unit",
    "uom_snapshot": "uom_snapshot",
    "currency_code": "currency_code",
    "unit_price_net": "unit_price_net",
    "unit_price_gross": "unit_price_gross",
    "tax_rate": "tax_rate",
    "tax_amount": "tax_amount",
    "total_net_amount": "total_net_amount",
    "total_gross_amount": "total_gross_amount",
    "metadata": "metadata"
  },
  "sales_delivery_window": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "name": "name",
    "code": "code",
    "description": "description",
    "lead_time_days": "lead_time_days",
    "cutoff_time": "cutoff_time",
    "timezone": "timezone",
    "is_active": "is_active",
    "metadata": "metadata",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at",
    "orders": "orders"
  },
  "sales_document_address": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "document_id": "document_id",
    "document_kind": "document_kind",
    "customer_address_id": "customer_address_id",
    "name": "name",
    "purpose": "purpose",
    "company_name": "company_name",
    "address_line1": "address_line1",
    "address_line2": "address_line2",
    "city": "city",
    "region": "region",
    "postal_code": "postal_code",
    "country": "country",
    "building_number": "building_number",
    "flat_number": "flat_number",
    "latitude": "latitude",
    "longitude": "longitude",
    "order": "order",
    "quote": "quote",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "sales_document_sequence": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "document_kind": "document_kind",
    "current_value": "current_value",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "sales_document_tag": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "slug": "slug",
    "label": "label",
    "color": "color",
    "description": "description",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "assignments": "assignments"
  },
  "sales_document_tag_assignment": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "tag": "tag",
    "document_id": "document_id",
    "document_kind": "document_kind",
    "order": "order",
    "quote": "quote",
    "created_at": "created_at",
    "updated_at": "updated_at"
  },
  "sales_invoice": {
    "id": "id",
    "order": "order",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "invoice_number": "invoice_number",
    "status_entry_id": "status_entry_id",
    "status": "status",
    "issue_date": "issue_date",
    "due_date": "due_date",
    "currency_code": "currency_code",
    "subtotal_net_amount": "subtotal_net_amount",
    "subtotal_gross_amount": "subtotal_gross_amount",
    "discount_total_amount": "discount_total_amount",
    "tax_total_amount": "tax_total_amount",
    "grand_total_net_amount": "grand_total_net_amount",
    "grand_total_gross_amount": "grand_total_gross_amount",
    "paid_total_amount": "paid_total_amount",
    "outstanding_amount": "outstanding_amount",
    "metadata": "metadata",
    "custom_field_set_id": "custom_field_set_id",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at",
    "lines": "lines",
    "payment_allocations": "payment_allocations"
  },
  "sales_invoice_line": {
    "id": "id",
    "invoice": "invoice",
    "order_line": "order_line",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "line_number": "line_number",
    "kind": "kind",
    "name": "name",
    "sku": "sku",
    "description": "description",
    "quantity": "quantity",
    "quantity_unit": "quantity_unit",
    "normalized_quantity": "normalized_quantity",
    "normalized_unit": "normalized_unit",
    "uom_snapshot": "uom_snapshot",
    "currency_code": "currency_code",
    "unit_price_net": "unit_price_net",
    "unit_price_gross": "unit_price_gross",
    "discount_amount": "discount_amount",
    "discount_percent": "discount_percent",
    "tax_rate": "tax_rate",
    "tax_amount": "tax_amount",
    "total_net_amount": "total_net_amount",
    "total_gross_amount": "total_gross_amount",
    "metadata": "metadata"
  },
  "sales_note": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "context_type": "context_type",
    "context_id": "context_id",
    "order": "order",
    "quote": "quote",
    "author_user_id": "author_user_id",
    "appearance_icon": "appearance_icon",
    "appearance_color": "appearance_color",
    "body": "body",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "sales_order": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "order_number": "order_number",
    "external_reference": "external_reference",
    "customer_reference": "customer_reference",
    "customer_entity_id": "customer_entity_id",
    "customer_contact_id": "customer_contact_id",
    "customer_snapshot": "customer_snapshot",
    "billing_address_id": "billing_address_id",
    "shipping_address_id": "shipping_address_id",
    "billing_address_snapshot": "billing_address_snapshot",
    "shipping_address_snapshot": "shipping_address_snapshot",
    "currency_code": "currency_code",
    "exchange_rate": "exchange_rate",
    "status_entry_id": "status_entry_id",
    "status": "status",
    "fulfillment_status_entry_id": "fulfillment_status_entry_id",
    "fulfillment_status": "fulfillment_status",
    "payment_status_entry_id": "payment_status_entry_id",
    "payment_status": "payment_status",
    "tax_strategy_key": "tax_strategy_key",
    "discount_strategy_key": "discount_strategy_key",
    "tax_info": "tax_info",
    "shipping_method_snapshot": "shipping_method_snapshot",
    "delivery_window_snapshot": "delivery_window_snapshot",
    "payment_method_snapshot": "payment_method_snapshot",
    "placed_at": "placed_at",
    "expected_delivery_at": "expected_delivery_at",
    "due_at": "due_at",
    "comments": "comments",
    "internal_notes": "internal_notes",
    "subtotal_net_amount": "subtotal_net_amount",
    "subtotal_gross_amount": "subtotal_gross_amount",
    "discount_total_amount": "discount_total_amount",
    "tax_total_amount": "tax_total_amount",
    "shipping_net_amount": "shipping_net_amount",
    "shipping_gross_amount": "shipping_gross_amount",
    "surcharge_total_amount": "surcharge_total_amount",
    "grand_total_net_amount": "grand_total_net_amount",
    "grand_total_gross_amount": "grand_total_gross_amount",
    "totals_snapshot": "totals_snapshot",
    "paid_total_amount": "paid_total_amount",
    "refunded_total_amount": "refunded_total_amount",
    "outstanding_amount": "outstanding_amount",
    "line_item_count": "line_item_count",
    "metadata": "metadata",
    "custom_field_set_id": "custom_field_set_id",
    "channel_id": "channel_id",
    "channel": "channel",
    "shipping_method_id": "shipping_method_id",
    "shipping_method_code": "shipping_method_code",
    "shipping_method": "shipping_method",
    "delivery_window_id": "delivery_window_id",
    "delivery_window_code": "delivery_window_code",
    "delivery_window": "delivery_window",
    "payment_method_id": "payment_method_id",
    "payment_method_code": "payment_method_code",
    "payment_method": "payment_method",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at",
    "lines": "lines",
    "adjustments": "adjustments",
    "shipments": "shipments",
    "invoices": "invoices",
    "credit_memos": "credit_memos",
    "payments": "payments",
    "notes": "notes",
    "addresses": "addresses",
    "tag_assignments": "tag_assignments"
  },
  "sales_order_adjustment": {
    "id": "id",
    "order": "order",
    "order_line": "order_line",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "scope": "scope",
    "kind": "kind",
    "code": "code",
    "label": "label",
    "calculator_key": "calculator_key",
    "promotion_id": "promotion_id",
    "rate": "rate",
    "amount_net": "amount_net",
    "amount_gross": "amount_gross",
    "currency_code": "currency_code",
    "metadata": "metadata",
    "position": "position",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "sales_order_line": {
    "id": "id",
    "order": "order",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "line_number": "line_number",
    "kind": "kind",
    "status_entry_id": "status_entry_id",
    "status": "status",
    "product_id": "product_id",
    "product_variant_id": "product_variant_id",
    "catalog_snapshot": "catalog_snapshot",
    "name": "name",
    "description": "description",
    "comment": "comment",
    "quantity": "quantity",
    "quantity_unit": "quantity_unit",
    "normalized_quantity": "normalized_quantity",
    "normalized_unit": "normalized_unit",
    "uom_snapshot": "uom_snapshot",
    "reserved_quantity": "reserved_quantity",
    "fulfilled_quantity": "fulfilled_quantity",
    "invoiced_quantity": "invoiced_quantity",
    "returned_quantity": "returned_quantity",
    "currency_code": "currency_code",
    "unit_price_net": "unit_price_net",
    "unit_price_gross": "unit_price_gross",
    "discount_amount": "discount_amount",
    "discount_percent": "discount_percent",
    "tax_rate": "tax_rate",
    "tax_amount": "tax_amount",
    "total_net_amount": "total_net_amount",
    "total_gross_amount": "total_gross_amount",
    "configuration": "configuration",
    "promotion_code": "promotion_code",
    "promotion_snapshot": "promotion_snapshot",
    "metadata": "metadata",
    "custom_field_set_id": "custom_field_set_id",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at",
    "adjustments": "adjustments",
    "shipment_items": "shipment_items",
    "invoice_lines": "invoice_lines",
    "credit_memo_lines": "credit_memo_lines"
  },
  "sales_payment": {
    "id": "id",
    "order": "order",
    "payment_method": "payment_method",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "payment_reference": "payment_reference",
    "status_entry_id": "status_entry_id",
    "status": "status",
    "amount": "amount",
    "currency_code": "currency_code",
    "captured_amount": "captured_amount",
    "refunded_amount": "refunded_amount",
    "received_at": "received_at",
    "captured_at": "captured_at",
    "metadata": "metadata",
    "custom_field_set_id": "custom_field_set_id",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at",
    "allocations": "allocations"
  },
  "sales_payment_allocation": {
    "id": "id",
    "payment": "payment",
    "order": "order",
    "invoice": "invoice",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "amount": "amount",
    "currency_code": "currency_code",
    "metadata": "metadata"
  },
  "sales_payment_method": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "name": "name",
    "code": "code",
    "description": "description",
    "provider_key": "provider_key",
    "terms": "terms",
    "is_active": "is_active",
    "metadata": "metadata",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at",
    "orders": "orders",
    "payments": "payments"
  },
  "sales_quote": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "quote_number": "quote_number",
    "external_reference": "external_reference",
    "customer_reference": "customer_reference",
    "status_entry_id": "status_entry_id",
    "status": "status",
    "customer_entity_id": "customer_entity_id",
    "customer_contact_id": "customer_contact_id",
    "customer_snapshot": "customer_snapshot",
    "billing_address_id": "billing_address_id",
    "shipping_address_id": "shipping_address_id",
    "billing_address_snapshot": "billing_address_snapshot",
    "shipping_address_snapshot": "shipping_address_snapshot",
    "currency_code": "currency_code",
    "valid_from": "valid_from",
    "valid_until": "valid_until",
    "placed_at": "placed_at",
    "comments": "comments",
    "tax_info": "tax_info",
    "shipping_method_id": "shipping_method_id",
    "shipping_method_code": "shipping_method_code",
    "shipping_method": "shipping_method",
    "delivery_window_id": "delivery_window_id",
    "delivery_window_code": "delivery_window_code",
    "delivery_window": "delivery_window",
    "payment_method_id": "payment_method_id",
    "payment_method_code": "payment_method_code",
    "payment_method": "payment_method",
    "channel_id": "channel_id",
    "channel": "channel",
    "shipping_method_snapshot": "shipping_method_snapshot",
    "delivery_window_snapshot": "delivery_window_snapshot",
    "payment_method_snapshot": "payment_method_snapshot",
    "subtotal_net_amount": "subtotal_net_amount",
    "subtotal_gross_amount": "subtotal_gross_amount",
    "discount_total_amount": "discount_total_amount",
    "tax_total_amount": "tax_total_amount",
    "grand_total_net_amount": "grand_total_net_amount",
    "grand_total_gross_amount": "grand_total_gross_amount",
    "totals_snapshot": "totals_snapshot",
    "line_item_count": "line_item_count",
    "metadata": "metadata",
    "custom_field_set_id": "custom_field_set_id",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at",
    "converted_order_id": "converted_order_id",
    "acceptance_token": "acceptance_token",
    "sent_at": "sent_at",
    "lines": "lines",
    "adjustments": "adjustments",
    "notes": "notes",
    "addresses": "addresses",
    "tag_assignments": "tag_assignments"
  },
  "sales_quote_adjustment": {
    "id": "id",
    "quote": "quote",
    "quote_line": "quote_line",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "scope": "scope",
    "kind": "kind",
    "code": "code",
    "label": "label",
    "calculator_key": "calculator_key",
    "promotion_id": "promotion_id",
    "rate": "rate",
    "amount_net": "amount_net",
    "amount_gross": "amount_gross",
    "currency_code": "currency_code",
    "metadata": "metadata",
    "position": "position",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "sales_quote_line": {
    "id": "id",
    "quote": "quote",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "line_number": "line_number",
    "kind": "kind",
    "status_entry_id": "status_entry_id",
    "status": "status",
    "product_id": "product_id",
    "product_variant_id": "product_variant_id",
    "catalog_snapshot": "catalog_snapshot",
    "name": "name",
    "description": "description",
    "comment": "comment",
    "quantity": "quantity",
    "quantity_unit": "quantity_unit",
    "normalized_quantity": "normalized_quantity",
    "normalized_unit": "normalized_unit",
    "uom_snapshot": "uom_snapshot",
    "currency_code": "currency_code",
    "unit_price_net": "unit_price_net",
    "unit_price_gross": "unit_price_gross",
    "discount_amount": "discount_amount",
    "discount_percent": "discount_percent",
    "tax_rate": "tax_rate",
    "tax_amount": "tax_amount",
    "total_net_amount": "total_net_amount",
    "total_gross_amount": "total_gross_amount",
    "configuration": "configuration",
    "promotion_code": "promotion_code",
    "promotion_snapshot": "promotion_snapshot",
    "metadata": "metadata",
    "custom_field_set_id": "custom_field_set_id",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at",
    "adjustments": "adjustments"
  },
  "sales_return": {
    "id": "id",
    "order": "order",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "return_number": "return_number",
    "status_entry_id": "status_entry_id",
    "status": "status",
    "reason": "reason",
    "notes": "notes",
    "returned_at": "returned_at",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at",
    "lines": "lines"
  },
  "sales_return_line": {
    "id": "id",
    "sales_return": "sales_return",
    "order_line": "order_line",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "quantity_returned": "quantity_returned",
    "unit_price_net": "unit_price_net",
    "unit_price_gross": "unit_price_gross",
    "total_net_amount": "total_net_amount",
    "total_gross_amount": "total_gross_amount",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "sales_settings": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "order_number_format": "order_number_format",
    "quote_number_format": "quote_number_format",
    "order_customer_editable_statuses": "order_customer_editable_statuses",
    "order_address_editable_statuses": "order_address_editable_statuses",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "sales_shipment": {
    "id": "id",
    "order": "order",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "shipment_number": "shipment_number",
    "shipping_method_id": "shipping_method_id",
    "status_entry_id": "status_entry_id",
    "status": "status",
    "carrier_name": "carrier_name",
    "tracking_numbers": "tracking_numbers",
    "shipped_at": "shipped_at",
    "delivered_at": "delivered_at",
    "weight_value": "weight_value",
    "weight_unit": "weight_unit",
    "declared_value_net": "declared_value_net",
    "declared_value_gross": "declared_value_gross",
    "currency_code": "currency_code",
    "notes": "notes",
    "metadata": "metadata",
    "items_snapshot": "items_snapshot",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at",
    "items": "items"
  },
  "sales_shipment_item": {
    "id": "id",
    "shipment": "shipment",
    "order_line": "order_line",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "quantity": "quantity",
    "metadata": "metadata"
  },
  "sales_shipping_method": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "name": "name",
    "code": "code",
    "description": "description",
    "carrier_code": "carrier_code",
    "provider_key": "provider_key",
    "service_level": "service_level",
    "estimated_transit_days": "estimated_transit_days",
    "base_rate_net": "base_rate_net",
    "base_rate_gross": "base_rate_gross",
    "currency_code": "currency_code",
    "is_active": "is_active",
    "metadata": "metadata",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at",
    "orders": "orders"
  },
  "sales_tax_rate": {
    "id": "id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "name": "name",
    "code": "code",
    "rate": "rate",
    "country_code": "country_code",
    "region_code": "region_code",
    "postal_code": "postal_code",
    "city": "city",
    "customer_group_id": "customer_group_id",
    "product_category_id": "product_category_id",
    "channel_id": "channel_id",
    "priority": "priority",
    "is_compound": "is_compound",
    "is_default": "is_default",
    "metadata": "metadata",
    "starts_at": "starts_at",
    "ends_at": "ends_at",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "search_token": {
    "id": "id",
    "entity_type": "entity_type",
    "entity_id": "entity_id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "field": "field",
    "token_hash": "token_hash",
    "token": "token",
    "created_at": "created_at"
  },
  "session": {
    "id": "id",
    "user": "user",
    "token": "token",
    "expires_at": "expires_at",
    "created_at": "created_at",
    "last_used_at": "last_used_at",
    "deleted_at": "deleted_at"
  },
  "sidebar_variant": {
    "id": "id",
    "user": "user",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "locale": "locale",
    "name": "name",
    "settings_json": "settings_json",
    "is_active": "is_active",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "staff_leave_request": {
    "id": "id",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "member": "member",
    "start_date": "start_date",
    "end_date": "end_date",
    "timezone": "timezone",
    "status": "status",
    "unavailability_reason_entry_id": "unavailability_reason_entry_id",
    "unavailability_reason_value": "unavailability_reason_value",
    "note": "note",
    "decision_comment": "decision_comment",
    "submitted_by_user_id": "submitted_by_user_id",
    "decided_by_user_id": "decided_by_user_id",
    "decided_at": "decided_at",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "staff_team": {
    "id": "id",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "name": "name",
    "description": "description",
    "is_active": "is_active",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "staff_team_member": {
    "id": "id",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "team_id": "team_id",
    "display_name": "display_name",
    "description": "description",
    "user_id": "user_id",
    "role_ids": "role_ids",
    "tags": "tags",
    "availability_rule_set_id": "availability_rule_set_id",
    "is_active": "is_active",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "staff_team_member_activity": {
    "id": "id",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "activity_type": "activity_type",
    "subject": "subject",
    "body": "body",
    "occurred_at": "occurred_at",
    "author_user_id": "author_user_id",
    "appearance_icon": "appearance_icon",
    "appearance_color": "appearance_color",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "member": "member"
  },
  "staff_team_member_address": {
    "id": "id",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "name": "name",
    "purpose": "purpose",
    "company_name": "company_name",
    "address_line1": "address_line1",
    "address_line2": "address_line2",
    "city": "city",
    "region": "region",
    "postal_code": "postal_code",
    "country": "country",
    "building_number": "building_number",
    "flat_number": "flat_number",
    "latitude": "latitude",
    "longitude": "longitude",
    "is_primary": "is_primary",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "member": "member"
  },
  "staff_team_member_comment": {
    "id": "id",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "body": "body",
    "author_user_id": "author_user_id",
    "appearance_icon": "appearance_icon",
    "appearance_color": "appearance_color",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at",
    "member": "member"
  },
  "staff_team_member_job_history": {
    "id": "id",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "name": "name",
    "company_name": "company_name",
    "description": "description",
    "start_date": "start_date",
    "end_date": "end_date",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "member": "member"
  },
  "staff_team_role": {
    "id": "id",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "team_id": "team_id",
    "name": "name",
    "description": "description",
    "appearance_icon": "appearance_icon",
    "appearance_color": "appearance_color",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "staff_time_entry": {
    "id": "id",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "staff_member_id": "staff_member_id",
    "date": "date",
    "duration_minutes": "duration_minutes",
    "started_at": "started_at",
    "ended_at": "ended_at",
    "notes": "notes",
    "time_project_id": "time_project_id",
    "customer_id": "customer_id",
    "deal_id": "deal_id",
    "order_id": "order_id",
    "source": "source",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "staff_time_entry_segment": {
    "id": "id",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "time_entry_id": "time_entry_id",
    "started_at": "started_at",
    "ended_at": "ended_at",
    "segment_type": "segment_type",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "staff_time_project": {
    "id": "id",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "name": "name",
    "customer_id": "customer_id",
    "code": "code",
    "description": "description",
    "project_type": "project_type",
    "color": "color",
    "status": "status",
    "owner_user_id": "owner_user_id",
    "cost_center": "cost_center",
    "start_date": "start_date",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "staff_time_project_member": {
    "id": "id",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "time_project_id": "time_project_id",
    "staff_member_id": "staff_member_id",
    "role": "role",
    "status": "status",
    "show_in_grid": "show_in_grid",
    "assigned_start_date": "assigned_start_date",
    "assigned_end_date": "assigned_end_date",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "step_instance": {
    "id": "id",
    "workflow_instance_id": "workflow_instance_id",
    "branch_instance_id": "branch_instance_id",
    "step_id": "step_id",
    "step_name": "step_name",
    "step_type": "step_type",
    "status": "status",
    "input_data": "input_data",
    "output_data": "output_data",
    "error_data": "error_data",
    "entered_at": "entered_at",
    "exited_at": "exited_at",
    "execution_time_ms": "execution_time_ms",
    "retry_count": "retry_count",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "created_at": "created_at",
    "updated_at": "updated_at"
  },
  "sync_cursor": {
    "id": "id",
    "integration_id": "integration_id",
    "entity_type": "entity_type",
    "direction": "direction",
    "cursor": "cursor",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "updated_at": "updated_at"
  },
  "sync_excel_upload": {
    "id": "id",
    "attachment_id": "attachment_id",
    "filename": "filename",
    "mime_type": "mime_type",
    "file_size": "file_size",
    "entity_type": "entity_type",
    "delimiter": "delimiter",
    "encoding": "encoding",
    "headers": "headers",
    "sample_rows": "sample_rows",
    "total_rows": "total_rows",
    "status": "status",
    "sync_run_id": "sync_run_id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "created_at": "created_at",
    "updated_at": "updated_at"
  },
  "sync_external_id_mapping": {
    "id": "id",
    "integration_id": "integration_id",
    "internal_entity_type": "internal_entity_type",
    "internal_entity_id": "internal_entity_id",
    "external_id": "external_id",
    "sync_status": "sync_status",
    "last_synced_at": "last_synced_at",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "sync_mapping": {
    "id": "id",
    "integration_id": "integration_id",
    "entity_type": "entity_type",
    "mapping": "mapping",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "created_at": "created_at",
    "updated_at": "updated_at"
  },
  "sync_run": {
    "id": "id",
    "integration_id": "integration_id",
    "entity_type": "entity_type",
    "direction": "direction",
    "status": "status",
    "cursor": "cursor",
    "initial_cursor": "initial_cursor",
    "created_count": "created_count",
    "updated_count": "updated_count",
    "skipped_count": "skipped_count",
    "failed_count": "failed_count",
    "batches_completed": "batches_completed",
    "last_error": "last_error",
    "progress_job_id": "progress_job_id",
    "job_id": "job_id",
    "triggered_by": "triggered_by",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "sync_schedule": {
    "id": "id",
    "integration_id": "integration_id",
    "entity_type": "entity_type",
    "direction": "direction",
    "schedule_type": "schedule_type",
    "schedule_value": "schedule_value",
    "timezone": "timezone",
    "full_sync": "full_sync",
    "is_enabled": "is_enabled",
    "scheduled_job_id": "scheduled_job_id",
    "last_run_at": "last_run_at",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "tenant": {
    "id": "id",
    "name": "name",
    "is_active": "is_active",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at",
    "organizations": "organizations"
  },
  "upgrade_action_run": {
    "id": "id",
    "version": "version",
    "action_id": "action_id",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "completed_at": "completed_at",
    "created_at": "created_at"
  },
  "user": {
    "id": "id",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "email": "email",
    "email_hash": "email_hash",
    "name": "name",
    "password_hash": "password_hash",
    "is_confirmed": "is_confirmed",
    "last_login_at": "last_login_at",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "user_acl": {
    "id": "id",
    "user": "user",
    "tenant_id": "tenant_id",
    "features_json": "features_json",
    "is_super_admin": "is_super_admin",
    "organizations_json": "organizations_json",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "user_consent": {
    "id": "id",
    "user_id": "user_id",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "consent_type": "consent_type",
    "is_granted": "is_granted",
    "granted_at": "granted_at",
    "withdrawn_at": "withdrawn_at",
    "source": "source",
    "ip_address": "ip_address",
    "integrity_hash": "integrity_hash",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "user_role": {
    "id": "id",
    "user": "user",
    "role": "role",
    "created_at": "created_at",
    "deleted_at": "deleted_at"
  },
  "user_sidebar_preference": {
    "id": "id",
    "user": "user",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "locale": "locale",
    "settings_json": "settings_json",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "user_task": {
    "id": "id",
    "workflow_instance_id": "workflow_instance_id",
    "step_instance_id": "step_instance_id",
    "branch_instance_id": "branch_instance_id",
    "task_name": "task_name",
    "description": "description",
    "status": "status",
    "form_schema": "form_schema",
    "form_data": "form_data",
    "assigned_to": "assigned_to",
    "assigned_to_roles": "assigned_to_roles",
    "claimed_by": "claimed_by",
    "claimed_at": "claimed_at",
    "due_date": "due_date",
    "escalated_at": "escalated_at",
    "escalated_to": "escalated_to",
    "completed_by": "completed_by",
    "completed_at": "completed_at",
    "comments": "comments",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "created_at": "created_at",
    "updated_at": "updated_at"
  },
  "webhook_processed_event": {
    "id": "id",
    "provider_key": "provider_key",
    "idempotency_key": "idempotency_key",
    "event_type": "event_type",
    "organization_id": "organization_id",
    "tenant_id": "tenant_id",
    "processed_at": "processed_at"
  },
  "workflow_branch_instance": {
    "id": "id",
    "workflow_instance_id": "workflow_instance_id",
    "fork_step_id": "fork_step_id",
    "join_step_id": "join_step_id",
    "branch_key": "branch_key",
    "parent_branch_id": "parent_branch_id",
    "current_step_id": "current_step_id",
    "status": "status",
    "context_namespace": "context_namespace",
    "pending_transition": "pending_transition",
    "error_message": "error_message",
    "error_details": "error_details",
    "started_at": "started_at",
    "completed_at": "completed_at",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "created_at": "created_at",
    "updated_at": "updated_at"
  },
  "workflow_definition": {
    "id": "id",
    "workflow_id": "workflow_id",
    "code_workflow_id": "code_workflow_id",
    "workflow_name": "workflow_name",
    "description": "description",
    "version": "version",
    "definition": "definition",
    "metadata": "metadata",
    "enabled": "enabled",
    "effective_from": "effective_from",
    "effective_to": "effective_to",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "created_by": "created_by",
    "updated_by": "updated_by",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "workflow_event": {
    "id": "id",
    "workflow_instance_id": "workflow_instance_id",
    "step_instance_id": "step_instance_id",
    "branch_instance_id": "branch_instance_id",
    "event_type": "event_type",
    "event_data": "event_data",
    "occurred_at": "occurred_at",
    "user_id": "user_id",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id"
  },
  "workflow_event_trigger": {
    "id": "id",
    "name": "name",
    "description": "description",
    "workflow_definition_id": "workflow_definition_id",
    "event_pattern": "event_pattern",
    "config": "config",
    "enabled": "enabled",
    "priority": "priority",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "created_by": "created_by",
    "updated_by": "updated_by",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  },
  "workflow_instance": {
    "id": "id",
    "definition_id": "definition_id",
    "workflow_id": "workflow_id",
    "version": "version",
    "status": "status",
    "current_step_id": "current_step_id",
    "context": "context",
    "correlation_key": "correlation_key",
    "metadata": "metadata",
    "started_at": "started_at",
    "completed_at": "completed_at",
    "paused_at": "paused_at",
    "cancelled_at": "cancelled_at",
    "error_message": "error_message",
    "error_details": "error_details",
    "pending_transition": "pending_transition",
    "active_fork_step_id": "active_fork_step_id",
    "retry_count": "retry_count",
    "tenant_id": "tenant_id",
    "organization_id": "organization_id",
    "created_at": "created_at",
    "updated_at": "updated_at",
    "deleted_at": "deleted_at"
  }
};
function getEntityFields(slug) {
  return entityFieldsRegistry[slug];
}
export {
  entityFieldsRegistry,
  getEntityFields
};
//# sourceMappingURL=entity-fields-registry.js.map
