import { BaseFilterable } from "../../.."; import { FindParams } from "../../common/request"; export interface AdminTranslationsListParams extends FindParams, BaseFilterable { /** * Query or keywords to search the translations searchable fields. */ q?: string; /** * Filter by entity ID. * * @example * "prod_123" */ reference_id?: string | string[]; /** * Filter by the table of the resource being translated. * * @example * "product" */ reference?: string; /** * Filter by locale code in BCP 47 format. * * @example * "en-US" */ locale_code?: string | string[]; } /** * Request body for translation statistics endpoint. */ export interface AdminTranslationStatisticsParams { /** * The locales to check translations for. Can be a single locale or an array of locales. * * @example * ["en-US", "fr-FR"] */ locales: string | string[]; /** * The entity types to get statistics for. Can be a single entity type or an array. * * @example * ["product", "product_variant"] */ entity_types: string | string[]; } /** * Query parameters for translation settings endpoint. */ export interface AdminTranslationSettingsParams { /** * The entity type to get the settings for (e.g., "product"). */ entity_type?: string; /** * Whether to get the settings for active/inactive entities only. */ is_active?: boolean; } /** * Query parameters for translation entities endpoint. */ export interface AdminTranslationEntitiesParams extends FindParams { /** * The entity type to retrieve (e.g., "product", "product_variant"). * This determines which table to query and which translatable fields to return. * * @example * "product" */ type: string; /** * Filter by entity ID(s). Can be a single ID or an array of IDs. * * @example * "prod_123" * * @example * ["prod_123", "prod_456"] */ id?: string | string[]; } //# sourceMappingURL=queries.d.ts.map