@@ -7,11 +7,21 @@ class BrandAIProductsParams < BrandDev::Internal::Type::BaseModel
77 extend BrandDev ::Internal ::Type ::RequestParameters ::Converter
88 include BrandDev ::Internal ::Type ::RequestParameters
99
10+ # @!attribute direct_url
11+ # A specific URL to use directly as the starting point for extraction without
12+ # domain resolution. Useful when you want to extract products from a specific page
13+ # rather than discovering the site's product pages automatically. Either 'domain'
14+ # or 'directUrl' must be provided, but not both.
15+ #
16+ # @return [String, nil]
17+ optional :direct_url , String , api_name : :directUrl
18+
1019 # @!attribute domain
11- # The domain name to analyze
20+ # The domain name to analyze. Either 'domain' or 'directUrl' must be provided, but
21+ # not both.
1222 #
13- # @return [String]
14- required :domain , String
23+ # @return [String, nil ]
24+ optional :domain , String
1525
1626 # @!attribute max_products
1727 # Maximum number of products to extract.
@@ -27,11 +37,13 @@ class BrandAIProductsParams < BrandDev::Internal::Type::BaseModel
2737 # @return [Integer, nil]
2838 optional :timeout_ms , Integer , api_name : :timeoutMS
2939
30- # @!method initialize(domain:, max_products: nil, timeout_ms: nil, request_options: {})
40+ # @!method initialize(direct_url: nil, domain: nil , max_products: nil, timeout_ms: nil, request_options: {})
3141 # Some parameter documentations has been truncated, see
3242 # {BrandDev::Models::BrandAIProductsParams} for more details.
3343 #
34- # @param domain [String] The domain name to analyze
44+ # @param direct_url [String] A specific URL to use directly as the starting point for extraction without doma
45+ #
46+ # @param domain [String] The domain name to analyze. Either 'domain' or 'directUrl' must be provided, but
3547 #
3648 # @param max_products [Integer] Maximum number of products to extract.
3749 #
0 commit comments