import type * as ElevenLabs from "../../../../index"; /** * @example * { * rules: [{ * type: "alias", * stringToReplace: "Thailand", * caseSensitive: true, * wordBoundaries: true, * alias: "tie-land" * }], * name: "My Dictionary" * } */ export interface BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPost { /** * List of pronunciation rules. Rule can be either: * an alias rule: {'string_to_replace': 'a', 'type': 'alias', 'alias': 'b', } * or a phoneme rule: {'string_to_replace': 'a', 'type': 'phoneme', 'phoneme': 'b', 'alphabet': 'ipa' } */ rules: ElevenLabs.BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostRulesItem[]; /** The name of the pronunciation dictionary, used for identification only. */ name: string; /** A description of the pronunciation dictionary, used for identification only. */ description?: string; /** Should be one of 'admin', 'editor' or 'viewer'. If not provided, defaults to no access. */ workspaceAccess?: ElevenLabs.BodyAddAPronunciationDictionaryV1PronunciationDictionariesAddFromRulesPostWorkspaceAccess; }