context.dev 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/README.md +9 -9
- data/lib/context_dev/client.rb +20 -0
- data/lib/context_dev/internal/type/base_model.rb +4 -4
- data/lib/context_dev/models/{brand_ai_query_params.rb → ai_ai_query_params.rb} +21 -22
- data/lib/context_dev/models/{brand_ai_query_response.rb → ai_ai_query_response.rb} +11 -11
- data/lib/context_dev/models/{brand_ai_product_params.rb → ai_extract_product_params.rb} +3 -3
- data/lib/context_dev/models/{brand_ai_product_response.rb → ai_extract_product_response.rb} +18 -18
- data/lib/context_dev/models/{brand_ai_products_params.rb → ai_extract_products_params.rb} +11 -10
- data/lib/context_dev/models/{brand_ai_products_response.rb → ai_extract_products_response.rb} +13 -13
- data/lib/context_dev/models/brand_identify_from_transaction_params.rb +3 -0
- data/lib/context_dev/models/brand_retrieve_by_email_params.rb +3 -0
- data/lib/context_dev/models/brand_retrieve_by_isin_params.rb +3 -0
- data/lib/context_dev/models/brand_retrieve_by_name_params.rb +3 -0
- data/lib/context_dev/models/brand_retrieve_by_ticker_params.rb +3 -0
- data/lib/context_dev/models/brand_retrieve_params.rb +3 -0
- data/lib/context_dev/models/{brand_retrieve_naics_params.rb → industry_retrieve_naics_params.rb} +3 -3
- data/lib/context_dev/models/{brand_retrieve_naics_response.rb → industry_retrieve_naics_response.rb} +9 -9
- data/lib/context_dev/models/{brand_fonts_params.rb → style_extract_fonts_params.rb} +3 -3
- data/lib/context_dev/models/{brand_fonts_response.rb → style_extract_fonts_response.rb} +6 -5
- data/lib/context_dev/models/{brand_styleguide_params.rb → style_extract_styleguide_params.rb} +6 -6
- data/lib/context_dev/models/{brand_styleguide_response.rb → style_extract_styleguide_response.rb} +83 -74
- data/lib/context_dev/models/{brand_prefetch_by_email_params.rb → utility_prefetch_by_email_params.rb} +3 -3
- data/lib/context_dev/models/{brand_prefetch_by_email_response.rb → utility_prefetch_by_email_response.rb} +2 -2
- data/lib/context_dev/models/{brand_prefetch_params.rb → utility_prefetch_params.rb} +3 -3
- data/lib/context_dev/models/{brand_prefetch_response.rb → utility_prefetch_response.rb} +2 -2
- data/lib/context_dev/models/{brand_screenshot_params.rb → web_screenshot_params.rb} +12 -12
- data/lib/context_dev/models/{brand_screenshot_response.rb → web_screenshot_response.rb} +6 -6
- data/lib/context_dev/models/{brand_web_scrape_html_params.rb → web_web_scrape_html_params.rb} +2 -2
- data/lib/context_dev/models/{brand_web_scrape_html_response.rb → web_web_scrape_html_response.rb} +6 -6
- data/lib/context_dev/models/{brand_web_scrape_images_params.rb → web_web_scrape_images_params.rb} +2 -2
- data/lib/context_dev/models/{brand_web_scrape_images_response.rb → web_web_scrape_images_response.rb} +17 -17
- data/lib/context_dev/models/{brand_web_scrape_md_params.rb → web_web_scrape_md_params.rb} +3 -3
- data/lib/context_dev/models/{brand_web_scrape_md_response.rb → web_web_scrape_md_response.rb} +6 -6
- data/lib/context_dev/models/{brand_web_scrape_sitemap_params.rb → web_web_scrape_sitemap_params.rb} +3 -3
- data/lib/context_dev/models/{brand_web_scrape_sitemap_response.rb → web_web_scrape_sitemap_response.rb} +10 -10
- data/lib/context_dev/models.rb +17 -17
- data/lib/context_dev/resources/ai.rb +99 -0
- data/lib/context_dev/resources/brand.rb +0 -397
- data/lib/context_dev/resources/industry.rb +50 -0
- data/lib/context_dev/resources/style.rb +78 -0
- data/lib/context_dev/resources/utility.rb +76 -0
- data/lib/context_dev/resources/web.rb +164 -0
- data/lib/context_dev/version.rb +1 -1
- data/lib/context_dev.rb +31 -26
- data/rbi/context_dev/client.rbi +15 -0
- data/rbi/context_dev/models/{brand_ai_query_params.rbi → ai_ai_query_params.rbi} +46 -46
- data/rbi/context_dev/models/{brand_ai_query_response.rbi → ai_ai_query_response.rbi} +12 -12
- data/rbi/context_dev/models/{brand_ai_product_params.rbi → ai_extract_product_params.rbi} +5 -2
- data/rbi/context_dev/models/{brand_ai_product_response.rbi → ai_extract_product_response.rbi} +40 -35
- data/rbi/context_dev/models/{brand_ai_products_params.rbi → ai_extract_products_params.rbi} +13 -13
- data/rbi/context_dev/models/{brand_ai_products_response.rbi → ai_extract_products_response.rbi} +26 -26
- data/rbi/context_dev/models/brand_identify_from_transaction_params.rbi +15 -0
- data/rbi/context_dev/models/brand_retrieve_by_email_params.rbi +15 -0
- data/rbi/context_dev/models/brand_retrieve_by_isin_params.rbi +15 -0
- data/rbi/context_dev/models/brand_retrieve_by_name_params.rbi +15 -0
- data/rbi/context_dev/models/brand_retrieve_by_ticker_params.rbi +15 -0
- data/rbi/context_dev/models/brand_retrieve_params.rbi +15 -0
- data/rbi/context_dev/models/{brand_retrieve_naics_params.rbi → industry_retrieve_naics_params.rbi} +2 -2
- data/rbi/context_dev/models/{brand_retrieve_naics_response.rbi → industry_retrieve_naics_response.rbi} +15 -15
- data/rbi/context_dev/models/{brand_fonts_params.rbi → style_extract_fonts_params.rbi} +5 -2
- data/rbi/context_dev/models/{brand_fonts_response.rbi → style_extract_fonts_response.rbi} +12 -6
- data/rbi/context_dev/models/{brand_styleguide_params.rbi → style_extract_styleguide_params.rbi} +15 -10
- data/rbi/context_dev/models/{brand_styleguide_response.rbi → style_extract_styleguide_response.rbi} +98 -95
- data/rbi/context_dev/models/{brand_prefetch_by_email_params.rbi → utility_prefetch_by_email_params.rbi} +2 -2
- data/rbi/context_dev/models/{brand_prefetch_by_email_response.rbi → utility_prefetch_by_email_response.rbi} +2 -2
- data/rbi/context_dev/models/{brand_prefetch_params.rbi → utility_prefetch_params.rbi} +5 -2
- data/rbi/context_dev/models/{brand_prefetch_response.rbi → utility_prefetch_response.rbi} +2 -2
- data/rbi/context_dev/models/{brand_screenshot_params.rbi → web_screenshot_params.rbi} +32 -42
- data/rbi/context_dev/models/{brand_screenshot_response.rbi → web_screenshot_response.rbi} +10 -10
- data/rbi/context_dev/models/{brand_web_scrape_html_params.rbi → web_web_scrape_html_params.rbi} +2 -2
- data/rbi/context_dev/models/{brand_web_scrape_html_response.rbi → web_web_scrape_html_response.rbi} +8 -8
- data/rbi/context_dev/models/{brand_web_scrape_images_params.rbi → web_web_scrape_images_params.rbi} +2 -2
- data/rbi/context_dev/models/{brand_web_scrape_images_response.rbi → web_web_scrape_images_response.rbi} +30 -32
- data/rbi/context_dev/models/{brand_web_scrape_md_params.rbi → web_web_scrape_md_params.rbi} +2 -5
- data/rbi/context_dev/models/{brand_web_scrape_md_response.rbi → web_web_scrape_md_response.rbi} +8 -8
- data/rbi/context_dev/models/{brand_web_scrape_sitemap_params.rbi → web_web_scrape_sitemap_params.rbi} +2 -2
- data/rbi/context_dev/models/{brand_web_scrape_sitemap_response.rbi → web_web_scrape_sitemap_response.rbi} +13 -13
- data/rbi/context_dev/models.rbi +19 -17
- data/rbi/context_dev/resources/ai.rbi +76 -0
- data/rbi/context_dev/resources/brand.rbi +0 -303
- data/rbi/context_dev/resources/industry.rbi +40 -0
- data/rbi/context_dev/resources/style.rbi +67 -0
- data/rbi/context_dev/resources/utility.rbi +60 -0
- data/rbi/context_dev/resources/web.rbi +121 -0
- data/sig/context_dev/client.rbs +10 -0
- data/sig/context_dev/models/{brand_ai_query_params.rbs → ai_ai_query_params.rbs} +31 -31
- data/sig/context_dev/models/{brand_ai_query_response.rbs → ai_ai_query_response.rbs} +15 -15
- data/sig/context_dev/models/{brand_ai_product_params.rbs → ai_extract_product_params.rbs} +2 -2
- data/sig/context_dev/models/{brand_ai_product_response.rbs → ai_extract_product_response.rbs} +21 -21
- data/sig/context_dev/models/{brand_ai_products_params.rbs → ai_extract_products_params.rbs} +9 -9
- data/sig/context_dev/models/{brand_ai_products_response.rbs → ai_extract_products_response.rbs} +18 -18
- data/sig/context_dev/models/brand_identify_from_transaction_params.rbs +6 -0
- data/sig/context_dev/models/brand_retrieve_by_email_params.rbs +6 -0
- data/sig/context_dev/models/brand_retrieve_by_isin_params.rbs +6 -0
- data/sig/context_dev/models/brand_retrieve_by_name_params.rbs +6 -0
- data/sig/context_dev/models/brand_retrieve_by_ticker_params.rbs +6 -0
- data/sig/context_dev/models/brand_retrieve_params.rbs +6 -0
- data/sig/context_dev/models/{brand_retrieve_naics_params.rbs → industry_retrieve_naics_params.rbs} +2 -2
- data/sig/context_dev/models/{brand_retrieve_naics_response.rbs → industry_retrieve_naics_response.rbs} +13 -13
- data/sig/context_dev/models/{brand_fonts_params.rbs → style_extract_fonts_params.rbs} +2 -2
- data/sig/context_dev/models/{brand_fonts_response.rbs → style_extract_fonts_response.rbs} +6 -6
- data/sig/context_dev/models/{brand_styleguide_params.rbs → style_extract_styleguide_params.rbs} +9 -9
- data/sig/context_dev/models/{brand_styleguide_response.rbs → style_extract_styleguide_response.rbs} +111 -111
- data/sig/context_dev/models/{brand_prefetch_by_email_params.rbs → utility_prefetch_by_email_params.rbs} +2 -2
- data/sig/context_dev/models/{brand_prefetch_by_email_response.rbs → utility_prefetch_by_email_response.rbs} +2 -2
- data/sig/context_dev/models/{brand_prefetch_params.rbs → utility_prefetch_params.rbs} +2 -2
- data/sig/context_dev/models/{brand_prefetch_response.rbs → utility_prefetch_response.rbs} +2 -2
- data/sig/context_dev/models/web_screenshot_params.rbs +100 -0
- data/sig/context_dev/models/{brand_screenshot_response.rbs → web_screenshot_response.rbs} +9 -9
- data/sig/context_dev/models/{brand_web_scrape_images_params.rbs → web_web_scrape_html_params.rbs} +2 -2
- data/sig/context_dev/models/web_web_scrape_html_response.rbs +40 -0
- data/sig/context_dev/models/{brand_web_scrape_html_params.rbs → web_web_scrape_images_params.rbs} +2 -2
- data/sig/context_dev/models/web_web_scrape_images_response.rbs +98 -0
- data/sig/context_dev/models/{brand_web_scrape_md_params.rbs → web_web_scrape_md_params.rbs} +2 -2
- data/sig/context_dev/models/web_web_scrape_md_response.rbs +40 -0
- data/sig/context_dev/models/{brand_web_scrape_sitemap_params.rbs → web_web_scrape_sitemap_params.rbs} +2 -2
- data/sig/context_dev/models/{brand_web_scrape_sitemap_response.rbs → web_web_scrape_sitemap_response.rbs} +11 -11
- data/sig/context_dev/models.rbs +17 -17
- data/sig/context_dev/resources/ai.rbs +26 -0
- data/sig/context_dev/resources/brand.rbs +0 -84
- data/sig/context_dev/resources/industry.rbs +15 -0
- data/sig/context_dev/resources/style.rbs +21 -0
- data/sig/context_dev/resources/utility.rbs +19 -0
- data/sig/context_dev/resources/web.rbs +38 -0
- metadata +94 -79
- data/sig/context_dev/models/brand_screenshot_params.rbs +0 -100
- data/sig/context_dev/models/brand_web_scrape_html_response.rbs +0 -40
- data/sig/context_dev/models/brand_web_scrape_images_response.rbs +0 -98
- data/sig/context_dev/models/brand_web_scrape_md_response.rbs +0 -40
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a11e2a19a4e5223960b4d92864c4320f3626a693f335e7ea543b994a94d86694
|
|
4
|
+
data.tar.gz: fe0df6795e552a20c4821be98ef5a6ff2c1093bc1c88de5708f9353a501af141
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: de1a54511bcc1b82e0bc5a2ae613aff300cec59e3499b24061614e6115845f7c19b4744ad0a5f685f448c8e152a3fc221641cd0786df5edd98e558586162fd54
|
|
7
|
+
data.tar.gz: 981e3c321edf7839a3882d8c634a2ef3a66ea1e938415de2565f49fd974824669238b150714aae9ab744011f0756443c6452f12cfa5c630da7c25e43971c3fd8
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.2.0 (2026-03-18)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.1.0...v0.2.0](https://github.com/brand-dot-dev/context-ruby-sdk/compare/v0.1.0...v0.2.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([ff1db16](https://github.com/brand-dot-dev/context-ruby-sdk/commit/ff1db1692a06315279532c93a05722223cb2c7ee))
|
|
10
|
+
* **api:** manual updates ([d120a5d](https://github.com/brand-dot-dev/context-ruby-sdk/commit/d120a5dde6665acced2c75394beb6910389e344e))
|
|
11
|
+
* **api:** manual updates ([fe32a5e](https://github.com/brand-dot-dev/context-ruby-sdk/commit/fe32a5e431bf152d8b0966f9927efcd8ebc3b5c1))
|
|
12
|
+
|
|
3
13
|
## 0.1.0 (2026-03-18)
|
|
4
14
|
|
|
5
15
|
Full Changelog: [v0.0.2...v0.1.0](https://github.com/brand-dot-dev/context-ruby-sdk/compare/v0.0.2...v0.1.0)
|
data/README.md
CHANGED
|
@@ -26,7 +26,7 @@ To use this gem, install via Bundler by adding the following to your application
|
|
|
26
26
|
<!-- x-release-please-start-version -->
|
|
27
27
|
|
|
28
28
|
```ruby
|
|
29
|
-
gem "context.dev", "~> 0.
|
|
29
|
+
gem "context.dev", "~> 0.2.0"
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
<!-- x-release-please-end -->
|
|
@@ -206,25 +206,25 @@ context_dev.brand.retrieve(**params)
|
|
|
206
206
|
Since this library does not depend on `sorbet-runtime`, it cannot provide [`T::Enum`](https://sorbet.org/docs/tenum) instances. Instead, we provide "tagged symbols" instead, which is always a primitive at runtime:
|
|
207
207
|
|
|
208
208
|
```ruby
|
|
209
|
-
# :
|
|
210
|
-
puts(ContextDev::
|
|
209
|
+
# :true
|
|
210
|
+
puts(ContextDev::WebScreenshotParams::FullScreenshot::TRUE)
|
|
211
211
|
|
|
212
|
-
# Revealed type: `T.all(ContextDev::
|
|
213
|
-
T.reveal_type(ContextDev::
|
|
212
|
+
# Revealed type: `T.all(ContextDev::WebScreenshotParams::FullScreenshot, Symbol)`
|
|
213
|
+
T.reveal_type(ContextDev::WebScreenshotParams::FullScreenshot::TRUE)
|
|
214
214
|
```
|
|
215
215
|
|
|
216
216
|
Enum parameters have a "relaxed" type, so you can either pass in enum constants or their literal value:
|
|
217
217
|
|
|
218
218
|
```ruby
|
|
219
219
|
# Using the enum constants preserves the tagged type information:
|
|
220
|
-
context_dev.
|
|
221
|
-
|
|
220
|
+
context_dev.web.screenshot(
|
|
221
|
+
full_screenshot: ContextDev::WebScreenshotParams::FullScreenshot::TRUE,
|
|
222
222
|
# …
|
|
223
223
|
)
|
|
224
224
|
|
|
225
225
|
# Literal values are also permissible:
|
|
226
|
-
context_dev.
|
|
227
|
-
|
|
226
|
+
context_dev.web.screenshot(
|
|
227
|
+
full_screenshot: :true,
|
|
228
228
|
# …
|
|
229
229
|
)
|
|
230
230
|
```
|
data/lib/context_dev/client.rb
CHANGED
|
@@ -18,9 +18,24 @@ module ContextDev
|
|
|
18
18
|
# @return [String]
|
|
19
19
|
attr_reader :api_key
|
|
20
20
|
|
|
21
|
+
# @return [ContextDev::Resources::Web]
|
|
22
|
+
attr_reader :web
|
|
23
|
+
|
|
24
|
+
# @return [ContextDev::Resources::AI]
|
|
25
|
+
attr_reader :ai
|
|
26
|
+
|
|
27
|
+
# @return [ContextDev::Resources::Style]
|
|
28
|
+
attr_reader :style
|
|
29
|
+
|
|
21
30
|
# @return [ContextDev::Resources::Brand]
|
|
22
31
|
attr_reader :brand
|
|
23
32
|
|
|
33
|
+
# @return [ContextDev::Resources::Industry]
|
|
34
|
+
attr_reader :industry
|
|
35
|
+
|
|
36
|
+
# @return [ContextDev::Resources::Utility]
|
|
37
|
+
attr_reader :utility
|
|
38
|
+
|
|
24
39
|
# @api private
|
|
25
40
|
#
|
|
26
41
|
# @return [Hash{String=>String}]
|
|
@@ -68,7 +83,12 @@ module ContextDev
|
|
|
68
83
|
max_retry_delay: max_retry_delay
|
|
69
84
|
)
|
|
70
85
|
|
|
86
|
+
@web = ContextDev::Resources::Web.new(client: self)
|
|
87
|
+
@ai = ContextDev::Resources::AI.new(client: self)
|
|
88
|
+
@style = ContextDev::Resources::Style.new(client: self)
|
|
71
89
|
@brand = ContextDev::Resources::Brand.new(client: self)
|
|
90
|
+
@industry = ContextDev::Resources::Industry.new(client: self)
|
|
91
|
+
@utility = ContextDev::Resources::Utility.new(client: self)
|
|
72
92
|
end
|
|
73
93
|
end
|
|
74
94
|
end
|
|
@@ -438,11 +438,11 @@ module ContextDev
|
|
|
438
438
|
# @return [Hash{Symbol=>Object}]
|
|
439
439
|
#
|
|
440
440
|
# @example
|
|
441
|
-
# # `
|
|
442
|
-
#
|
|
443
|
-
# brand: brand,
|
|
441
|
+
# # `web_screenshot_response` is a `ContextDev::Models::WebScreenshotResponse`
|
|
442
|
+
# web_screenshot_response => {
|
|
444
443
|
# code: code,
|
|
445
|
-
#
|
|
444
|
+
# domain: domain,
|
|
445
|
+
# screenshot: screenshot
|
|
446
446
|
# }
|
|
447
447
|
def deconstruct_keys(keys)
|
|
448
448
|
(keys || self.class.known_fields.keys)
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
module ContextDev
|
|
4
4
|
module Models
|
|
5
|
-
# @see ContextDev::Resources::
|
|
6
|
-
class
|
|
5
|
+
# @see ContextDev::Resources::AI#ai_query
|
|
6
|
+
class AIAIQueryParams < ContextDev::Internal::Type::BaseModel
|
|
7
7
|
extend ContextDev::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include ContextDev::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
10
|
# @!attribute data_to_extract
|
|
11
11
|
# Array of data points to extract from the website
|
|
12
12
|
#
|
|
13
|
-
# @return [Array<ContextDev::Models::
|
|
13
|
+
# @return [Array<ContextDev::Models::AIAIQueryParams::DataToExtract>]
|
|
14
14
|
required :data_to_extract,
|
|
15
|
-
-> { ContextDev::Internal::Type::ArrayOf[ContextDev::
|
|
15
|
+
-> { ContextDev::Internal::Type::ArrayOf[ContextDev::AIAIQueryParams::DataToExtract] }
|
|
16
16
|
|
|
17
17
|
# @!attribute domain
|
|
18
18
|
# The domain name to analyze
|
|
@@ -23,8 +23,8 @@ module ContextDev
|
|
|
23
23
|
# @!attribute specific_pages
|
|
24
24
|
# Optional object specifying which pages to analyze
|
|
25
25
|
#
|
|
26
|
-
# @return [ContextDev::Models::
|
|
27
|
-
optional :specific_pages, -> { ContextDev::
|
|
26
|
+
# @return [ContextDev::Models::AIAIQueryParams::SpecificPages, nil]
|
|
27
|
+
optional :specific_pages, -> { ContextDev::AIAIQueryParams::SpecificPages }
|
|
28
28
|
|
|
29
29
|
# @!attribute timeout_ms
|
|
30
30
|
# Optional timeout in milliseconds for the request. If the request takes longer
|
|
@@ -36,13 +36,13 @@ module ContextDev
|
|
|
36
36
|
|
|
37
37
|
# @!method initialize(data_to_extract:, domain:, specific_pages: nil, timeout_ms: nil, request_options: {})
|
|
38
38
|
# Some parameter documentations has been truncated, see
|
|
39
|
-
# {ContextDev::Models::
|
|
39
|
+
# {ContextDev::Models::AIAIQueryParams} for more details.
|
|
40
40
|
#
|
|
41
|
-
# @param data_to_extract [Array<ContextDev::Models::
|
|
41
|
+
# @param data_to_extract [Array<ContextDev::Models::AIAIQueryParams::DataToExtract>] Array of data points to extract from the website
|
|
42
42
|
#
|
|
43
43
|
# @param domain [String] The domain name to analyze
|
|
44
44
|
#
|
|
45
|
-
# @param specific_pages [ContextDev::Models::
|
|
45
|
+
# @param specific_pages [ContextDev::Models::AIAIQueryParams::SpecificPages] Optional object specifying which pages to analyze
|
|
46
46
|
#
|
|
47
47
|
# @param timeout_ms [Integer] Optional timeout in milliseconds for the request. If the request takes longer th
|
|
48
48
|
#
|
|
@@ -70,28 +70,27 @@ module ContextDev
|
|
|
70
70
|
# @!attribute datapoint_type
|
|
71
71
|
# Type of the data point
|
|
72
72
|
#
|
|
73
|
-
# @return [Symbol, ContextDev::Models::
|
|
74
|
-
required :datapoint_type, enum: -> { ContextDev::
|
|
73
|
+
# @return [Symbol, ContextDev::Models::AIAIQueryParams::DataToExtract::DatapointType]
|
|
74
|
+
required :datapoint_type, enum: -> { ContextDev::AIAIQueryParams::DataToExtract::DatapointType }
|
|
75
75
|
|
|
76
76
|
# @!attribute datapoint_list_type
|
|
77
77
|
# Type of items in the list when datapoint_type is 'list'. Defaults to 'string'.
|
|
78
78
|
# Use 'object' to extract an array of objects matching a schema.
|
|
79
79
|
#
|
|
80
|
-
# @return [Symbol, ContextDev::Models::
|
|
81
|
-
optional :datapoint_list_type,
|
|
82
|
-
enum: -> { ContextDev::BrandAIQueryParams::DataToExtract::DatapointListType }
|
|
80
|
+
# @return [Symbol, ContextDev::Models::AIAIQueryParams::DataToExtract::DatapointListType, nil]
|
|
81
|
+
optional :datapoint_list_type, enum: -> { ContextDev::AIAIQueryParams::DataToExtract::DatapointListType }
|
|
83
82
|
|
|
84
83
|
# @!attribute datapoint_object_schema
|
|
85
84
|
# Schema definition for objects when datapoint_list_type is 'object'. Provide a
|
|
86
85
|
# map of field names to their scalar types.
|
|
87
86
|
#
|
|
88
|
-
# @return [Hash{Symbol=>Symbol, ContextDev::Models::
|
|
87
|
+
# @return [Hash{Symbol=>Symbol, ContextDev::Models::AIAIQueryParams::DataToExtract::DatapointObjectSchema}, nil]
|
|
89
88
|
optional :datapoint_object_schema,
|
|
90
|
-
-> { ContextDev::Internal::Type::HashOf[enum: ContextDev::
|
|
89
|
+
-> { ContextDev::Internal::Type::HashOf[enum: ContextDev::AIAIQueryParams::DataToExtract::DatapointObjectSchema] }
|
|
91
90
|
|
|
92
91
|
# @!method initialize(datapoint_description:, datapoint_example:, datapoint_name:, datapoint_type:, datapoint_list_type: nil, datapoint_object_schema: nil)
|
|
93
92
|
# Some parameter documentations has been truncated, see
|
|
94
|
-
# {ContextDev::Models::
|
|
93
|
+
# {ContextDev::Models::AIAIQueryParams::DataToExtract} for more details.
|
|
95
94
|
#
|
|
96
95
|
# @param datapoint_description [String] Description of what to extract
|
|
97
96
|
#
|
|
@@ -99,15 +98,15 @@ module ContextDev
|
|
|
99
98
|
#
|
|
100
99
|
# @param datapoint_name [String] Name of the data point to extract
|
|
101
100
|
#
|
|
102
|
-
# @param datapoint_type [Symbol, ContextDev::Models::
|
|
101
|
+
# @param datapoint_type [Symbol, ContextDev::Models::AIAIQueryParams::DataToExtract::DatapointType] Type of the data point
|
|
103
102
|
#
|
|
104
|
-
# @param datapoint_list_type [Symbol, ContextDev::Models::
|
|
103
|
+
# @param datapoint_list_type [Symbol, ContextDev::Models::AIAIQueryParams::DataToExtract::DatapointListType] Type of items in the list when datapoint_type is 'list'. Defaults to 'string'. U
|
|
105
104
|
#
|
|
106
|
-
# @param datapoint_object_schema [Hash{Symbol=>Symbol, ContextDev::Models::
|
|
105
|
+
# @param datapoint_object_schema [Hash{Symbol=>Symbol, ContextDev::Models::AIAIQueryParams::DataToExtract::DatapointObjectSchema}] Schema definition for objects when datapoint_list_type is 'object'. Provide a ma
|
|
107
106
|
|
|
108
107
|
# Type of the data point
|
|
109
108
|
#
|
|
110
|
-
# @see ContextDev::Models::
|
|
109
|
+
# @see ContextDev::Models::AIAIQueryParams::DataToExtract#datapoint_type
|
|
111
110
|
module DatapointType
|
|
112
111
|
extend ContextDev::Internal::Type::Enum
|
|
113
112
|
|
|
@@ -125,7 +124,7 @@ module ContextDev
|
|
|
125
124
|
# Type of items in the list when datapoint_type is 'list'. Defaults to 'string'.
|
|
126
125
|
# Use 'object' to extract an array of objects matching a schema.
|
|
127
126
|
#
|
|
128
|
-
# @see ContextDev::Models::
|
|
127
|
+
# @see ContextDev::Models::AIAIQueryParams::DataToExtract#datapoint_list_type
|
|
129
128
|
module DatapointListType
|
|
130
129
|
extend ContextDev::Internal::Type::Enum
|
|
131
130
|
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
module ContextDev
|
|
4
4
|
module Models
|
|
5
|
-
# @see ContextDev::Resources::
|
|
6
|
-
class
|
|
5
|
+
# @see ContextDev::Resources::AI#ai_query
|
|
6
|
+
class AIAIQueryResponse < ContextDev::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute data_extracted
|
|
8
8
|
# Array of extracted data points
|
|
9
9
|
#
|
|
10
|
-
# @return [Array<ContextDev::Models::
|
|
10
|
+
# @return [Array<ContextDev::Models::AIAIQueryResponse::DataExtracted>, nil]
|
|
11
11
|
optional :data_extracted,
|
|
12
|
-
-> { ContextDev::Internal::Type::ArrayOf[ContextDev::Models::
|
|
12
|
+
-> { ContextDev::Internal::Type::ArrayOf[ContextDev::Models::AIAIQueryResponse::DataExtracted] }
|
|
13
13
|
|
|
14
14
|
# @!attribute domain
|
|
15
15
|
# The domain that was analyzed
|
|
@@ -30,7 +30,7 @@ module ContextDev
|
|
|
30
30
|
optional :urls_analyzed, ContextDev::Internal::Type::ArrayOf[String]
|
|
31
31
|
|
|
32
32
|
# @!method initialize(data_extracted: nil, domain: nil, status: nil, urls_analyzed: nil)
|
|
33
|
-
# @param data_extracted [Array<ContextDev::Models::
|
|
33
|
+
# @param data_extracted [Array<ContextDev::Models::AIAIQueryResponse::DataExtracted>] Array of extracted data points
|
|
34
34
|
#
|
|
35
35
|
# @param domain [String] The domain that was analyzed
|
|
36
36
|
#
|
|
@@ -51,11 +51,11 @@ module ContextDev
|
|
|
51
51
|
#
|
|
52
52
|
# @return [String, Float, Boolean, Array<String>, Array<Float>, Array<Object>, nil]
|
|
53
53
|
optional :datapoint_value,
|
|
54
|
-
union: -> { ContextDev::Models::
|
|
54
|
+
union: -> { ContextDev::Models::AIAIQueryResponse::DataExtracted::DatapointValue }
|
|
55
55
|
|
|
56
56
|
# @!method initialize(datapoint_name: nil, datapoint_value: nil)
|
|
57
57
|
# Some parameter documentations has been truncated, see
|
|
58
|
-
# {ContextDev::Models::
|
|
58
|
+
# {ContextDev::Models::AIAIQueryResponse::DataExtracted} for more details.
|
|
59
59
|
#
|
|
60
60
|
# @param datapoint_name [String] Name of the extracted data point
|
|
61
61
|
#
|
|
@@ -64,7 +64,7 @@ module ContextDev
|
|
|
64
64
|
# Value of the extracted data point. Can be a primitive type, an array of
|
|
65
65
|
# primitives, or an array of objects when datapoint_list_type is 'object'.
|
|
66
66
|
#
|
|
67
|
-
# @see ContextDev::Models::
|
|
67
|
+
# @see ContextDev::Models::AIAIQueryResponse::DataExtracted#datapoint_value
|
|
68
68
|
module DatapointValue
|
|
69
69
|
extend ContextDev::Internal::Type::Union
|
|
70
70
|
|
|
@@ -74,11 +74,11 @@ module ContextDev
|
|
|
74
74
|
|
|
75
75
|
variant ContextDev::Internal::Type::Boolean
|
|
76
76
|
|
|
77
|
-
variant -> { ContextDev::Models::
|
|
77
|
+
variant -> { ContextDev::Models::AIAIQueryResponse::DataExtracted::DatapointValue::StringArray }
|
|
78
78
|
|
|
79
|
-
variant -> { ContextDev::Models::
|
|
79
|
+
variant -> { ContextDev::Models::AIAIQueryResponse::DataExtracted::DatapointValue::FloatArray }
|
|
80
80
|
|
|
81
|
-
variant -> { ContextDev::Models::
|
|
81
|
+
variant -> { ContextDev::Models::AIAIQueryResponse::DataExtracted::DatapointValue::UnionMember5Array }
|
|
82
82
|
|
|
83
83
|
# @!method self.variants
|
|
84
84
|
# @return [Array(String, Float, Boolean, Array<String>, Array<Float>, Array<Object>)]
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
module ContextDev
|
|
4
4
|
module Models
|
|
5
|
-
# @see ContextDev::Resources::
|
|
6
|
-
class
|
|
5
|
+
# @see ContextDev::Resources::AI#extract_product
|
|
6
|
+
class AIExtractProductParams < ContextDev::Internal::Type::BaseModel
|
|
7
7
|
extend ContextDev::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include ContextDev::Internal::Type::RequestParameters
|
|
9
9
|
|
|
@@ -22,7 +22,7 @@ module ContextDev
|
|
|
22
22
|
|
|
23
23
|
# @!method initialize(url:, timeout_ms: nil, request_options: {})
|
|
24
24
|
# Some parameter documentations has been truncated, see
|
|
25
|
-
# {ContextDev::Models::
|
|
25
|
+
# {ContextDev::Models::AIExtractProductParams} for more details.
|
|
26
26
|
#
|
|
27
27
|
# @param url [String] The product page URL to extract product data from.
|
|
28
28
|
#
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
module ContextDev
|
|
4
4
|
module Models
|
|
5
|
-
# @see ContextDev::Resources::
|
|
6
|
-
class
|
|
5
|
+
# @see ContextDev::Resources::AI#extract_product
|
|
6
|
+
class AIExtractProductResponse < ContextDev::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute is_product_page
|
|
8
8
|
# Whether the given URL is a product detail page
|
|
9
9
|
#
|
|
@@ -13,25 +13,25 @@ module ContextDev
|
|
|
13
13
|
# @!attribute platform
|
|
14
14
|
# The detected ecommerce platform, or null if not a product page
|
|
15
15
|
#
|
|
16
|
-
# @return [Symbol, ContextDev::Models::
|
|
17
|
-
optional :platform, enum: -> { ContextDev::Models::
|
|
16
|
+
# @return [Symbol, ContextDev::Models::AIExtractProductResponse::Platform, nil]
|
|
17
|
+
optional :platform, enum: -> { ContextDev::Models::AIExtractProductResponse::Platform }, nil?: true
|
|
18
18
|
|
|
19
19
|
# @!attribute product
|
|
20
20
|
# The extracted product data, or null if not a product page
|
|
21
21
|
#
|
|
22
|
-
# @return [ContextDev::Models::
|
|
23
|
-
optional :product, -> { ContextDev::Models::
|
|
22
|
+
# @return [ContextDev::Models::AIExtractProductResponse::Product, nil]
|
|
23
|
+
optional :product, -> { ContextDev::Models::AIExtractProductResponse::Product }, nil?: true
|
|
24
24
|
|
|
25
25
|
# @!method initialize(is_product_page: nil, platform: nil, product: nil)
|
|
26
26
|
# @param is_product_page [Boolean] Whether the given URL is a product detail page
|
|
27
27
|
#
|
|
28
|
-
# @param platform [Symbol, ContextDev::Models::
|
|
28
|
+
# @param platform [Symbol, ContextDev::Models::AIExtractProductResponse::Platform, nil] The detected ecommerce platform, or null if not a product page
|
|
29
29
|
#
|
|
30
|
-
# @param product [ContextDev::Models::
|
|
30
|
+
# @param product [ContextDev::Models::AIExtractProductResponse::Product, nil] The extracted product data, or null if not a product page
|
|
31
31
|
|
|
32
32
|
# The detected ecommerce platform, or null if not a product page
|
|
33
33
|
#
|
|
34
|
-
# @see ContextDev::Models::
|
|
34
|
+
# @see ContextDev::Models::AIExtractProductResponse#platform
|
|
35
35
|
module Platform
|
|
36
36
|
extend ContextDev::Internal::Type::Enum
|
|
37
37
|
|
|
@@ -44,7 +44,7 @@ module ContextDev
|
|
|
44
44
|
# @return [Array<Symbol>]
|
|
45
45
|
end
|
|
46
46
|
|
|
47
|
-
# @see ContextDev::Models::
|
|
47
|
+
# @see ContextDev::Models::AIExtractProductResponse#product
|
|
48
48
|
class Product < ContextDev::Internal::Type::BaseModel
|
|
49
49
|
# @!attribute description
|
|
50
50
|
# Description of the product
|
|
@@ -85,9 +85,9 @@ module ContextDev
|
|
|
85
85
|
# @!attribute billing_frequency
|
|
86
86
|
# Billing frequency for the product
|
|
87
87
|
#
|
|
88
|
-
# @return [Symbol, ContextDev::Models::
|
|
88
|
+
# @return [Symbol, ContextDev::Models::AIExtractProductResponse::Product::BillingFrequency, nil]
|
|
89
89
|
optional :billing_frequency,
|
|
90
|
-
enum: -> { ContextDev::Models::
|
|
90
|
+
enum: -> { ContextDev::Models::AIExtractProductResponse::Product::BillingFrequency },
|
|
91
91
|
nil?: true
|
|
92
92
|
|
|
93
93
|
# @!attribute category
|
|
@@ -117,9 +117,9 @@ module ContextDev
|
|
|
117
117
|
# @!attribute pricing_model
|
|
118
118
|
# Pricing model for the product
|
|
119
119
|
#
|
|
120
|
-
# @return [Symbol, ContextDev::Models::
|
|
120
|
+
# @return [Symbol, ContextDev::Models::AIExtractProductResponse::Product::PricingModel, nil]
|
|
121
121
|
optional :pricing_model,
|
|
122
|
-
enum: -> { ContextDev::Models::
|
|
122
|
+
enum: -> { ContextDev::Models::AIExtractProductResponse::Product::PricingModel },
|
|
123
123
|
nil?: true
|
|
124
124
|
|
|
125
125
|
# @!attribute url
|
|
@@ -143,7 +143,7 @@ module ContextDev
|
|
|
143
143
|
#
|
|
144
144
|
# @param target_audience [Array<String>] Target audience for the product (array of strings)
|
|
145
145
|
#
|
|
146
|
-
# @param billing_frequency [Symbol, ContextDev::Models::
|
|
146
|
+
# @param billing_frequency [Symbol, ContextDev::Models::AIExtractProductResponse::Product::BillingFrequency, nil] Billing frequency for the product
|
|
147
147
|
#
|
|
148
148
|
# @param category [String, nil] Category of the product
|
|
149
149
|
#
|
|
@@ -153,13 +153,13 @@ module ContextDev
|
|
|
153
153
|
#
|
|
154
154
|
# @param price [Float, nil] Price of the product
|
|
155
155
|
#
|
|
156
|
-
# @param pricing_model [Symbol, ContextDev::Models::
|
|
156
|
+
# @param pricing_model [Symbol, ContextDev::Models::AIExtractProductResponse::Product::PricingModel, nil] Pricing model for the product
|
|
157
157
|
#
|
|
158
158
|
# @param url [String, nil] URL to the product page
|
|
159
159
|
|
|
160
160
|
# Billing frequency for the product
|
|
161
161
|
#
|
|
162
|
-
# @see ContextDev::Models::
|
|
162
|
+
# @see ContextDev::Models::AIExtractProductResponse::Product#billing_frequency
|
|
163
163
|
module BillingFrequency
|
|
164
164
|
extend ContextDev::Internal::Type::Enum
|
|
165
165
|
|
|
@@ -174,7 +174,7 @@ module ContextDev
|
|
|
174
174
|
|
|
175
175
|
# Pricing model for the product
|
|
176
176
|
#
|
|
177
|
-
# @see ContextDev::Models::
|
|
177
|
+
# @see ContextDev::Models::AIExtractProductResponse::Product#pricing_model
|
|
178
178
|
module PricingModel
|
|
179
179
|
extend ContextDev::Internal::Type::Enum
|
|
180
180
|
|
|
@@ -2,26 +2,26 @@
|
|
|
2
2
|
|
|
3
3
|
module ContextDev
|
|
4
4
|
module Models
|
|
5
|
-
# @see ContextDev::Resources::
|
|
6
|
-
class
|
|
5
|
+
# @see ContextDev::Resources::AI#extract_products
|
|
6
|
+
class AIExtractProductsParams < ContextDev::Internal::Type::BaseModel
|
|
7
7
|
extend ContextDev::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include ContextDev::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
10
|
# @!attribute body
|
|
11
11
|
#
|
|
12
|
-
# @return [ContextDev::Models::
|
|
13
|
-
required :body, union: -> { ContextDev::
|
|
12
|
+
# @return [ContextDev::Models::AIExtractProductsParams::Body::ByDomain, ContextDev::Models::AIExtractProductsParams::Body::ByDirectURL]
|
|
13
|
+
required :body, union: -> { ContextDev::AIExtractProductsParams::Body }
|
|
14
14
|
|
|
15
15
|
# @!method initialize(body:, request_options: {})
|
|
16
|
-
# @param body [ContextDev::Models::
|
|
16
|
+
# @param body [ContextDev::Models::AIExtractProductsParams::Body::ByDomain, ContextDev::Models::AIExtractProductsParams::Body::ByDirectURL]
|
|
17
17
|
# @param request_options [ContextDev::RequestOptions, Hash{Symbol=>Object}]
|
|
18
18
|
|
|
19
19
|
module Body
|
|
20
20
|
extend ContextDev::Internal::Type::Union
|
|
21
21
|
|
|
22
|
-
variant -> { ContextDev::
|
|
22
|
+
variant -> { ContextDev::AIExtractProductsParams::Body::ByDomain }
|
|
23
23
|
|
|
24
|
-
variant -> { ContextDev::
|
|
24
|
+
variant -> { ContextDev::AIExtractProductsParams::Body::ByDirectURL }
|
|
25
25
|
|
|
26
26
|
class ByDomain < ContextDev::Internal::Type::BaseModel
|
|
27
27
|
# @!attribute domain
|
|
@@ -45,7 +45,7 @@ module ContextDev
|
|
|
45
45
|
|
|
46
46
|
# @!method initialize(domain:, max_products: nil, timeout_ms: nil)
|
|
47
47
|
# Some parameter documentations has been truncated, see
|
|
48
|
-
# {ContextDev::Models::
|
|
48
|
+
# {ContextDev::Models::AIExtractProductsParams::Body::ByDomain} for more details.
|
|
49
49
|
#
|
|
50
50
|
# @param domain [String] The domain name to analyze.
|
|
51
51
|
#
|
|
@@ -77,7 +77,8 @@ module ContextDev
|
|
|
77
77
|
|
|
78
78
|
# @!method initialize(direct_url:, max_products: nil, timeout_ms: nil)
|
|
79
79
|
# Some parameter documentations has been truncated, see
|
|
80
|
-
# {ContextDev::Models::
|
|
80
|
+
# {ContextDev::Models::AIExtractProductsParams::Body::ByDirectURL} for more
|
|
81
|
+
# details.
|
|
81
82
|
#
|
|
82
83
|
# @param direct_url [String] A specific URL to use directly as the starting point for extraction without doma
|
|
83
84
|
#
|
|
@@ -87,7 +88,7 @@ module ContextDev
|
|
|
87
88
|
end
|
|
88
89
|
|
|
89
90
|
# @!method self.variants
|
|
90
|
-
# @return [Array(ContextDev::Models::
|
|
91
|
+
# @return [Array(ContextDev::Models::AIExtractProductsParams::Body::ByDomain, ContextDev::Models::AIExtractProductsParams::Body::ByDirectURL)]
|
|
91
92
|
end
|
|
92
93
|
end
|
|
93
94
|
end
|
data/lib/context_dev/models/{brand_ai_products_response.rb → ai_extract_products_response.rb}
RENAMED
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
module ContextDev
|
|
4
4
|
module Models
|
|
5
|
-
# @see ContextDev::Resources::
|
|
6
|
-
class
|
|
5
|
+
# @see ContextDev::Resources::AI#extract_products
|
|
6
|
+
class AIExtractProductsResponse < ContextDev::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute products
|
|
8
8
|
# Array of products extracted from the website
|
|
9
9
|
#
|
|
10
|
-
# @return [Array<ContextDev::Models::
|
|
10
|
+
# @return [Array<ContextDev::Models::AIExtractProductsResponse::Product>, nil]
|
|
11
11
|
optional :products,
|
|
12
|
-
-> { ContextDev::Internal::Type::ArrayOf[ContextDev::Models::
|
|
12
|
+
-> { ContextDev::Internal::Type::ArrayOf[ContextDev::Models::AIExtractProductsResponse::Product] }
|
|
13
13
|
|
|
14
14
|
# @!method initialize(products: nil)
|
|
15
|
-
# @param products [Array<ContextDev::Models::
|
|
15
|
+
# @param products [Array<ContextDev::Models::AIExtractProductsResponse::Product>] Array of products extracted from the website
|
|
16
16
|
|
|
17
17
|
class Product < ContextDev::Internal::Type::BaseModel
|
|
18
18
|
# @!attribute description
|
|
@@ -54,9 +54,9 @@ module ContextDev
|
|
|
54
54
|
# @!attribute billing_frequency
|
|
55
55
|
# Billing frequency for the product
|
|
56
56
|
#
|
|
57
|
-
# @return [Symbol, ContextDev::Models::
|
|
57
|
+
# @return [Symbol, ContextDev::Models::AIExtractProductsResponse::Product::BillingFrequency, nil]
|
|
58
58
|
optional :billing_frequency,
|
|
59
|
-
enum: -> { ContextDev::Models::
|
|
59
|
+
enum: -> { ContextDev::Models::AIExtractProductsResponse::Product::BillingFrequency },
|
|
60
60
|
nil?: true
|
|
61
61
|
|
|
62
62
|
# @!attribute category
|
|
@@ -86,9 +86,9 @@ module ContextDev
|
|
|
86
86
|
# @!attribute pricing_model
|
|
87
87
|
# Pricing model for the product
|
|
88
88
|
#
|
|
89
|
-
# @return [Symbol, ContextDev::Models::
|
|
89
|
+
# @return [Symbol, ContextDev::Models::AIExtractProductsResponse::Product::PricingModel, nil]
|
|
90
90
|
optional :pricing_model,
|
|
91
|
-
enum: -> { ContextDev::Models::
|
|
91
|
+
enum: -> { ContextDev::Models::AIExtractProductsResponse::Product::PricingModel },
|
|
92
92
|
nil?: true
|
|
93
93
|
|
|
94
94
|
# @!attribute url
|
|
@@ -110,7 +110,7 @@ module ContextDev
|
|
|
110
110
|
#
|
|
111
111
|
# @param target_audience [Array<String>] Target audience for the product (array of strings)
|
|
112
112
|
#
|
|
113
|
-
# @param billing_frequency [Symbol, ContextDev::Models::
|
|
113
|
+
# @param billing_frequency [Symbol, ContextDev::Models::AIExtractProductsResponse::Product::BillingFrequency, nil] Billing frequency for the product
|
|
114
114
|
#
|
|
115
115
|
# @param category [String, nil] Category of the product
|
|
116
116
|
#
|
|
@@ -120,13 +120,13 @@ module ContextDev
|
|
|
120
120
|
#
|
|
121
121
|
# @param price [Float, nil] Price of the product
|
|
122
122
|
#
|
|
123
|
-
# @param pricing_model [Symbol, ContextDev::Models::
|
|
123
|
+
# @param pricing_model [Symbol, ContextDev::Models::AIExtractProductsResponse::Product::PricingModel, nil] Pricing model for the product
|
|
124
124
|
#
|
|
125
125
|
# @param url [String, nil] URL to the product page
|
|
126
126
|
|
|
127
127
|
# Billing frequency for the product
|
|
128
128
|
#
|
|
129
|
-
# @see ContextDev::Models::
|
|
129
|
+
# @see ContextDev::Models::AIExtractProductsResponse::Product#billing_frequency
|
|
130
130
|
module BillingFrequency
|
|
131
131
|
extend ContextDev::Internal::Type::Enum
|
|
132
132
|
|
|
@@ -141,7 +141,7 @@ module ContextDev
|
|
|
141
141
|
|
|
142
142
|
# Pricing model for the product
|
|
143
143
|
#
|
|
144
|
-
# @see ContextDev::Models::
|
|
144
|
+
# @see ContextDev::Models::AIExtractProductsResponse::Product#pricing_model
|
|
145
145
|
module PricingModel
|
|
146
146
|
extend ContextDev::Internal::Type::Enum
|
|
147
147
|
|
|
@@ -351,6 +351,7 @@ module ContextDev
|
|
|
351
351
|
AZERI = :azeri
|
|
352
352
|
BENGALI = :bengali
|
|
353
353
|
BULGARIAN = :bulgarian
|
|
354
|
+
CANTONESE = :cantonese
|
|
354
355
|
CEBUANO = :cebuano
|
|
355
356
|
CROATIAN = :croatian
|
|
356
357
|
CZECH = :czech
|
|
@@ -370,6 +371,7 @@ module ContextDev
|
|
|
370
371
|
INDONESIAN = :indonesian
|
|
371
372
|
ITALIAN = :italian
|
|
372
373
|
KAZAKH = :kazakh
|
|
374
|
+
KOREAN = :korean
|
|
373
375
|
KYRGYZ = :kyrgyz
|
|
374
376
|
LATIN = :latin
|
|
375
377
|
LATVIAN = :latvian
|
|
@@ -392,6 +394,7 @@ module ContextDev
|
|
|
392
394
|
SWAHILI = :swahili
|
|
393
395
|
SWEDISH = :swedish
|
|
394
396
|
TAGALOG = :tagalog
|
|
397
|
+
THAI = :thai
|
|
395
398
|
TURKISH = :turkish
|
|
396
399
|
UKRAINIAN = :ukrainian
|
|
397
400
|
URDU = :urdu
|
|
@@ -60,6 +60,7 @@ module ContextDev
|
|
|
60
60
|
AZERI = :azeri
|
|
61
61
|
BENGALI = :bengali
|
|
62
62
|
BULGARIAN = :bulgarian
|
|
63
|
+
CANTONESE = :cantonese
|
|
63
64
|
CEBUANO = :cebuano
|
|
64
65
|
CROATIAN = :croatian
|
|
65
66
|
CZECH = :czech
|
|
@@ -79,6 +80,7 @@ module ContextDev
|
|
|
79
80
|
INDONESIAN = :indonesian
|
|
80
81
|
ITALIAN = :italian
|
|
81
82
|
KAZAKH = :kazakh
|
|
83
|
+
KOREAN = :korean
|
|
82
84
|
KYRGYZ = :kyrgyz
|
|
83
85
|
LATIN = :latin
|
|
84
86
|
LATVIAN = :latvian
|
|
@@ -101,6 +103,7 @@ module ContextDev
|
|
|
101
103
|
SWAHILI = :swahili
|
|
102
104
|
SWEDISH = :swedish
|
|
103
105
|
TAGALOG = :tagalog
|
|
106
|
+
THAI = :thai
|
|
104
107
|
TURKISH = :turkish
|
|
105
108
|
UKRAINIAN = :ukrainian
|
|
106
109
|
URDU = :urdu
|
|
@@ -60,6 +60,7 @@ module ContextDev
|
|
|
60
60
|
AZERI = :azeri
|
|
61
61
|
BENGALI = :bengali
|
|
62
62
|
BULGARIAN = :bulgarian
|
|
63
|
+
CANTONESE = :cantonese
|
|
63
64
|
CEBUANO = :cebuano
|
|
64
65
|
CROATIAN = :croatian
|
|
65
66
|
CZECH = :czech
|
|
@@ -79,6 +80,7 @@ module ContextDev
|
|
|
79
80
|
INDONESIAN = :indonesian
|
|
80
81
|
ITALIAN = :italian
|
|
81
82
|
KAZAKH = :kazakh
|
|
83
|
+
KOREAN = :korean
|
|
82
84
|
KYRGYZ = :kyrgyz
|
|
83
85
|
LATIN = :latin
|
|
84
86
|
LATVIAN = :latvian
|
|
@@ -101,6 +103,7 @@ module ContextDev
|
|
|
101
103
|
SWAHILI = :swahili
|
|
102
104
|
SWEDISH = :swedish
|
|
103
105
|
TAGALOG = :tagalog
|
|
106
|
+
THAI = :thai
|
|
104
107
|
TURKISH = :turkish
|
|
105
108
|
UKRAINIAN = :ukrainian
|
|
106
109
|
URDU = :urdu
|