/** * Klaviyo API * The Klaviyo REST API. Please visit https://developers.klaviyo.com for more details. * * Contact: developers@klaviyo.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { RequestFile } from './models'; export class DynamicReviewBlockProperties { 'showRating'?: boolean | null; 'showReviewerName'?: boolean | null; 'showProductName'?: boolean | null; 'showVariantName'?: boolean | null; 'showVerifiedBadge'?: boolean | null; 'authorPlaceholder'?: string | null; 'quotePlaceholder'?: string | null; 'productNamePlaceholder'?: string | null; 'productVariantNamePlaceholder'?: string | null; /** * Review block verified badge language. */ 'verifiedBadgeLanguage'?: DynamicReviewBlockProperties.VerifiedBadgeLanguageEnum | 'dutch' | 'english' | 'french' | 'german' | 'hungarian' | 'italian' | 'japanese' | 'korean' | 'portuguese' | 'spanish' | null; 'dynamic': boolean; /** * Review block fallback options for dynamic selection. */ 'fallbackOptions'?: DynamicReviewBlockProperties.FallbackOptionsEnum | 'high-quality-review' | 'high-quality-review-or-static' | 'no-review' | 'recent' | 'static-only' | null; /** * Review block fallback content type. */ 'fallbackContentType'?: DynamicReviewBlockProperties.FallbackContentTypeEnum | 'full' | 'quote' | null; 'fallbackReviewId'?: string | null; /** * Review block product selection mode. */ 'productSelectionMode'?: DynamicReviewBlockProperties.ProductSelectionModeEnum | 'automatic' | 'manual' | null; 'productId'?: string | null; 'productEventVariable'?: string | null; static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [ { "name": "showRating", "baseName": "show_rating", "type": "boolean" }, { "name": "showReviewerName", "baseName": "show_reviewer_name", "type": "boolean" }, { "name": "showProductName", "baseName": "show_product_name", "type": "boolean" }, { "name": "showVariantName", "baseName": "show_variant_name", "type": "boolean" }, { "name": "showVerifiedBadge", "baseName": "show_verified_badge", "type": "boolean" }, { "name": "authorPlaceholder", "baseName": "author_placeholder", "type": "string" }, { "name": "quotePlaceholder", "baseName": "quote_placeholder", "type": "string" }, { "name": "productNamePlaceholder", "baseName": "product_name_placeholder", "type": "string" }, { "name": "productVariantNamePlaceholder", "baseName": "product_variant_name_placeholder", "type": "string" }, { "name": "verifiedBadgeLanguage", "baseName": "verified_badge_language", "type": "DynamicReviewBlockProperties.VerifiedBadgeLanguageEnum" }, { "name": "dynamic", "baseName": "dynamic", "type": "boolean" }, { "name": "fallbackOptions", "baseName": "fallback_options", "type": "DynamicReviewBlockProperties.FallbackOptionsEnum" }, { "name": "fallbackContentType", "baseName": "fallback_content_type", "type": "DynamicReviewBlockProperties.FallbackContentTypeEnum" }, { "name": "fallbackReviewId", "baseName": "fallback_review_id", "type": "string" }, { "name": "productSelectionMode", "baseName": "product_selection_mode", "type": "DynamicReviewBlockProperties.ProductSelectionModeEnum" }, { "name": "productId", "baseName": "product_id", "type": "string" }, { "name": "productEventVariable", "baseName": "product_event_variable", "type": "string" } ]; static getAttributeTypeMap() { return DynamicReviewBlockProperties.attributeTypeMap; } } export namespace DynamicReviewBlockProperties { export enum VerifiedBadgeLanguageEnum { Dutch = 'dutch', English = 'english', French = 'french', German = 'german', Hungarian = 'hungarian', Italian = 'italian', Japanese = 'japanese', Korean = 'korean', Portuguese = 'portuguese', Spanish = 'spanish' } export enum FallbackOptionsEnum { HighQualityReview = 'high-quality-review', HighQualityReviewOrStatic = 'high-quality-review-or-static', NoReview = 'no-review', Recent = 'recent', StaticOnly = 'static-only' } export enum FallbackContentTypeEnum { Full = 'full', Quote = 'quote' } export enum ProductSelectionModeEnum { Automatic = 'automatic', Manual = 'manual' } }