context.dev 0.0.2 → 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 +23 -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 +262 -1
- 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 +3 -398
- 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 +1326 -70
- 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 +5 -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 +502 -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 +1 -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 +95 -80
- 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
data/sig/context_dev/models/{brand_ai_product_response.rbs → ai_extract_product_response.rbs}
RENAMED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
module ContextDev
|
|
2
2
|
module Models
|
|
3
|
-
type
|
|
3
|
+
type ai_extract_product_response =
|
|
4
4
|
{
|
|
5
5
|
is_product_page: bool,
|
|
6
|
-
platform: ContextDev::Models::
|
|
7
|
-
product: ContextDev::Models::
|
|
6
|
+
platform: ContextDev::Models::AIExtractProductResponse::platform?,
|
|
7
|
+
product: ContextDev::Models::AIExtractProductResponse::Product?
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
class
|
|
10
|
+
class AIExtractProductResponse < ContextDev::Internal::Type::BaseModel
|
|
11
11
|
attr_reader is_product_page: bool?
|
|
12
12
|
|
|
13
13
|
def is_product_page=: (bool) -> bool
|
|
14
14
|
|
|
15
|
-
attr_accessor platform: ContextDev::Models::
|
|
15
|
+
attr_accessor platform: ContextDev::Models::AIExtractProductResponse::platform?
|
|
16
16
|
|
|
17
|
-
attr_accessor product: ContextDev::Models::
|
|
17
|
+
attr_accessor product: ContextDev::Models::AIExtractProductResponse::Product?
|
|
18
18
|
|
|
19
19
|
def initialize: (
|
|
20
20
|
?is_product_page: bool,
|
|
21
|
-
?platform: ContextDev::Models::
|
|
22
|
-
?product: ContextDev::Models::
|
|
21
|
+
?platform: ContextDev::Models::AIExtractProductResponse::platform?,
|
|
22
|
+
?product: ContextDev::Models::AIExtractProductResponse::Product?
|
|
23
23
|
) -> void
|
|
24
24
|
|
|
25
25
|
def to_hash: -> {
|
|
26
26
|
is_product_page: bool,
|
|
27
|
-
platform: ContextDev::Models::
|
|
28
|
-
product: ContextDev::Models::
|
|
27
|
+
platform: ContextDev::Models::AIExtractProductResponse::platform?,
|
|
28
|
+
product: ContextDev::Models::AIExtractProductResponse::Product?
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
type platform = :amazon | :tiktok_shop | :etsy | :generic
|
|
@@ -38,7 +38,7 @@ module ContextDev
|
|
|
38
38
|
ETSY: :etsy
|
|
39
39
|
GENERIC: :generic
|
|
40
40
|
|
|
41
|
-
def self?.values: -> ::Array[ContextDev::Models::
|
|
41
|
+
def self?.values: -> ::Array[ContextDev::Models::AIExtractProductResponse::platform]
|
|
42
42
|
end
|
|
43
43
|
|
|
44
44
|
type product =
|
|
@@ -49,12 +49,12 @@ module ContextDev
|
|
|
49
49
|
name: String,
|
|
50
50
|
tags: ::Array[String],
|
|
51
51
|
target_audience: ::Array[String],
|
|
52
|
-
billing_frequency: ContextDev::Models::
|
|
52
|
+
billing_frequency: ContextDev::Models::AIExtractProductResponse::Product::billing_frequency?,
|
|
53
53
|
category: String?,
|
|
54
54
|
currency: String?,
|
|
55
55
|
image_url: String?,
|
|
56
56
|
price: Float?,
|
|
57
|
-
pricing_model: ContextDev::Models::
|
|
57
|
+
pricing_model: ContextDev::Models::AIExtractProductResponse::Product::pricing_model?,
|
|
58
58
|
url: String?
|
|
59
59
|
}
|
|
60
60
|
|
|
@@ -71,7 +71,7 @@ module ContextDev
|
|
|
71
71
|
|
|
72
72
|
attr_accessor target_audience: ::Array[String]
|
|
73
73
|
|
|
74
|
-
attr_accessor billing_frequency: ContextDev::Models::
|
|
74
|
+
attr_accessor billing_frequency: ContextDev::Models::AIExtractProductResponse::Product::billing_frequency?
|
|
75
75
|
|
|
76
76
|
attr_accessor category: String?
|
|
77
77
|
|
|
@@ -81,7 +81,7 @@ module ContextDev
|
|
|
81
81
|
|
|
82
82
|
attr_accessor price: Float?
|
|
83
83
|
|
|
84
|
-
attr_accessor pricing_model: ContextDev::Models::
|
|
84
|
+
attr_accessor pricing_model: ContextDev::Models::AIExtractProductResponse::Product::pricing_model?
|
|
85
85
|
|
|
86
86
|
attr_accessor url: String?
|
|
87
87
|
|
|
@@ -92,12 +92,12 @@ module ContextDev
|
|
|
92
92
|
name: String,
|
|
93
93
|
tags: ::Array[String],
|
|
94
94
|
target_audience: ::Array[String],
|
|
95
|
-
?billing_frequency: ContextDev::Models::
|
|
95
|
+
?billing_frequency: ContextDev::Models::AIExtractProductResponse::Product::billing_frequency?,
|
|
96
96
|
?category: String?,
|
|
97
97
|
?currency: String?,
|
|
98
98
|
?image_url: String?,
|
|
99
99
|
?price: Float?,
|
|
100
|
-
?pricing_model: ContextDev::Models::
|
|
100
|
+
?pricing_model: ContextDev::Models::AIExtractProductResponse::Product::pricing_model?,
|
|
101
101
|
?url: String?
|
|
102
102
|
) -> void
|
|
103
103
|
|
|
@@ -108,12 +108,12 @@ module ContextDev
|
|
|
108
108
|
name: String,
|
|
109
109
|
tags: ::Array[String],
|
|
110
110
|
target_audience: ::Array[String],
|
|
111
|
-
billing_frequency: ContextDev::Models::
|
|
111
|
+
billing_frequency: ContextDev::Models::AIExtractProductResponse::Product::billing_frequency?,
|
|
112
112
|
category: String?,
|
|
113
113
|
currency: String?,
|
|
114
114
|
image_url: String?,
|
|
115
115
|
price: Float?,
|
|
116
|
-
pricing_model: ContextDev::Models::
|
|
116
|
+
pricing_model: ContextDev::Models::AIExtractProductResponse::Product::pricing_model?,
|
|
117
117
|
url: String?
|
|
118
118
|
}
|
|
119
119
|
|
|
@@ -127,7 +127,7 @@ module ContextDev
|
|
|
127
127
|
ONE_TIME: :one_time
|
|
128
128
|
USAGE_BASED: :usage_based
|
|
129
129
|
|
|
130
|
-
def self?.values: -> ::Array[ContextDev::Models::
|
|
130
|
+
def self?.values: -> ::Array[ContextDev::Models::AIExtractProductResponse::Product::billing_frequency]
|
|
131
131
|
end
|
|
132
132
|
|
|
133
133
|
type pricing_model = :per_seat | :flat | :tiered | :freemium | :custom
|
|
@@ -141,7 +141,7 @@ module ContextDev
|
|
|
141
141
|
FREEMIUM: :freemium
|
|
142
142
|
CUSTOM: :custom
|
|
143
143
|
|
|
144
|
-
def self?.values: -> ::Array[ContextDev::Models::
|
|
144
|
+
def self?.values: -> ::Array[ContextDev::Models::AIExtractProductResponse::Product::pricing_model]
|
|
145
145
|
end
|
|
146
146
|
end
|
|
147
147
|
end
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
module ContextDev
|
|
2
2
|
module Models
|
|
3
|
-
type
|
|
4
|
-
{ body: ContextDev::Models::
|
|
3
|
+
type ai_extract_products_params =
|
|
4
|
+
{ body: ContextDev::Models::AIExtractProductsParams::body }
|
|
5
5
|
& ContextDev::Internal::Type::request_parameters
|
|
6
6
|
|
|
7
|
-
class
|
|
7
|
+
class AIExtractProductsParams < ContextDev::Internal::Type::BaseModel
|
|
8
8
|
extend ContextDev::Internal::Type::RequestParameters::Converter
|
|
9
9
|
include ContextDev::Internal::Type::RequestParameters
|
|
10
10
|
|
|
11
|
-
attr_accessor body: ContextDev::Models::
|
|
11
|
+
attr_accessor body: ContextDev::Models::AIExtractProductsParams::body
|
|
12
12
|
|
|
13
13
|
def initialize: (
|
|
14
|
-
body: ContextDev::Models::
|
|
14
|
+
body: ContextDev::Models::AIExtractProductsParams::body,
|
|
15
15
|
?request_options: ContextDev::request_opts
|
|
16
16
|
) -> void
|
|
17
17
|
|
|
18
18
|
def to_hash: -> {
|
|
19
|
-
body: ContextDev::Models::
|
|
19
|
+
body: ContextDev::Models::AIExtractProductsParams::body,
|
|
20
20
|
request_options: ContextDev::RequestOptions
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
type body =
|
|
24
|
-
ContextDev::
|
|
25
|
-
| ContextDev::
|
|
24
|
+
ContextDev::AIExtractProductsParams::Body::ByDomain
|
|
25
|
+
| ContextDev::AIExtractProductsParams::Body::ByDirectURL
|
|
26
26
|
|
|
27
27
|
module Body
|
|
28
28
|
extend ContextDev::Internal::Type::Union
|
|
@@ -81,7 +81,7 @@ module ContextDev
|
|
|
81
81
|
}
|
|
82
82
|
end
|
|
83
83
|
|
|
84
|
-
def self?.variants: -> ::Array[ContextDev::Models::
|
|
84
|
+
def self?.variants: -> ::Array[ContextDev::Models::AIExtractProductsParams::body]
|
|
85
85
|
end
|
|
86
86
|
end
|
|
87
87
|
end
|
data/sig/context_dev/models/{brand_ai_products_response.rbs → ai_extract_products_response.rbs}
RENAMED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
module ContextDev
|
|
2
2
|
module Models
|
|
3
|
-
type
|
|
3
|
+
type ai_extract_products_response =
|
|
4
4
|
{
|
|
5
|
-
products: ::Array[ContextDev::Models::
|
|
5
|
+
products: ::Array[ContextDev::Models::AIExtractProductsResponse::Product]
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
class
|
|
9
|
-
attr_reader products: ::Array[ContextDev::Models::
|
|
8
|
+
class AIExtractProductsResponse < ContextDev::Internal::Type::BaseModel
|
|
9
|
+
attr_reader products: ::Array[ContextDev::Models::AIExtractProductsResponse::Product]?
|
|
10
10
|
|
|
11
11
|
def products=: (
|
|
12
|
-
::Array[ContextDev::Models::
|
|
13
|
-
) -> ::Array[ContextDev::Models::
|
|
12
|
+
::Array[ContextDev::Models::AIExtractProductsResponse::Product]
|
|
13
|
+
) -> ::Array[ContextDev::Models::AIExtractProductsResponse::Product]
|
|
14
14
|
|
|
15
15
|
def initialize: (
|
|
16
|
-
?products: ::Array[ContextDev::Models::
|
|
16
|
+
?products: ::Array[ContextDev::Models::AIExtractProductsResponse::Product]
|
|
17
17
|
) -> void
|
|
18
18
|
|
|
19
19
|
def to_hash: -> {
|
|
20
|
-
products: ::Array[ContextDev::Models::
|
|
20
|
+
products: ::Array[ContextDev::Models::AIExtractProductsResponse::Product]
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
type product =
|
|
@@ -28,12 +28,12 @@ module ContextDev
|
|
|
28
28
|
name: String,
|
|
29
29
|
tags: ::Array[String],
|
|
30
30
|
target_audience: ::Array[String],
|
|
31
|
-
billing_frequency: ContextDev::Models::
|
|
31
|
+
billing_frequency: ContextDev::Models::AIExtractProductsResponse::Product::billing_frequency?,
|
|
32
32
|
category: String?,
|
|
33
33
|
currency: String?,
|
|
34
34
|
image_url: String?,
|
|
35
35
|
price: Float?,
|
|
36
|
-
pricing_model: ContextDev::Models::
|
|
36
|
+
pricing_model: ContextDev::Models::AIExtractProductsResponse::Product::pricing_model?,
|
|
37
37
|
url: String?
|
|
38
38
|
}
|
|
39
39
|
|
|
@@ -50,7 +50,7 @@ module ContextDev
|
|
|
50
50
|
|
|
51
51
|
attr_accessor target_audience: ::Array[String]
|
|
52
52
|
|
|
53
|
-
attr_accessor billing_frequency: ContextDev::Models::
|
|
53
|
+
attr_accessor billing_frequency: ContextDev::Models::AIExtractProductsResponse::Product::billing_frequency?
|
|
54
54
|
|
|
55
55
|
attr_accessor category: String?
|
|
56
56
|
|
|
@@ -60,7 +60,7 @@ module ContextDev
|
|
|
60
60
|
|
|
61
61
|
attr_accessor price: Float?
|
|
62
62
|
|
|
63
|
-
attr_accessor pricing_model: ContextDev::Models::
|
|
63
|
+
attr_accessor pricing_model: ContextDev::Models::AIExtractProductsResponse::Product::pricing_model?
|
|
64
64
|
|
|
65
65
|
attr_accessor url: String?
|
|
66
66
|
|
|
@@ -71,12 +71,12 @@ module ContextDev
|
|
|
71
71
|
name: String,
|
|
72
72
|
tags: ::Array[String],
|
|
73
73
|
target_audience: ::Array[String],
|
|
74
|
-
?billing_frequency: ContextDev::Models::
|
|
74
|
+
?billing_frequency: ContextDev::Models::AIExtractProductsResponse::Product::billing_frequency?,
|
|
75
75
|
?category: String?,
|
|
76
76
|
?currency: String?,
|
|
77
77
|
?image_url: String?,
|
|
78
78
|
?price: Float?,
|
|
79
|
-
?pricing_model: ContextDev::Models::
|
|
79
|
+
?pricing_model: ContextDev::Models::AIExtractProductsResponse::Product::pricing_model?,
|
|
80
80
|
?url: String?
|
|
81
81
|
) -> void
|
|
82
82
|
|
|
@@ -87,12 +87,12 @@ module ContextDev
|
|
|
87
87
|
name: String,
|
|
88
88
|
tags: ::Array[String],
|
|
89
89
|
target_audience: ::Array[String],
|
|
90
|
-
billing_frequency: ContextDev::Models::
|
|
90
|
+
billing_frequency: ContextDev::Models::AIExtractProductsResponse::Product::billing_frequency?,
|
|
91
91
|
category: String?,
|
|
92
92
|
currency: String?,
|
|
93
93
|
image_url: String?,
|
|
94
94
|
price: Float?,
|
|
95
|
-
pricing_model: ContextDev::Models::
|
|
95
|
+
pricing_model: ContextDev::Models::AIExtractProductsResponse::Product::pricing_model?,
|
|
96
96
|
url: String?
|
|
97
97
|
}
|
|
98
98
|
|
|
@@ -106,7 +106,7 @@ module ContextDev
|
|
|
106
106
|
ONE_TIME: :one_time
|
|
107
107
|
USAGE_BASED: :usage_based
|
|
108
108
|
|
|
109
|
-
def self?.values: -> ::Array[ContextDev::Models::
|
|
109
|
+
def self?.values: -> ::Array[ContextDev::Models::AIExtractProductsResponse::Product::billing_frequency]
|
|
110
110
|
end
|
|
111
111
|
|
|
112
112
|
type pricing_model = :per_seat | :flat | :tiered | :freemium | :custom
|
|
@@ -120,7 +120,7 @@ module ContextDev
|
|
|
120
120
|
FREEMIUM: :freemium
|
|
121
121
|
CUSTOM: :custom
|
|
122
122
|
|
|
123
|
-
def self?.values: -> ::Array[ContextDev::Models::
|
|
123
|
+
def self?.values: -> ::Array[ContextDev::Models::AIExtractProductsResponse::Product::pricing_model]
|
|
124
124
|
end
|
|
125
125
|
end
|
|
126
126
|
end
|
|
@@ -575,6 +575,7 @@ module ContextDev
|
|
|
575
575
|
| :azeri
|
|
576
576
|
| :bengali
|
|
577
577
|
| :bulgarian
|
|
578
|
+
| :cantonese
|
|
578
579
|
| :cebuano
|
|
579
580
|
| :croatian
|
|
580
581
|
| :czech
|
|
@@ -594,6 +595,7 @@ module ContextDev
|
|
|
594
595
|
| :indonesian
|
|
595
596
|
| :italian
|
|
596
597
|
| :kazakh
|
|
598
|
+
| :korean
|
|
597
599
|
| :kyrgyz
|
|
598
600
|
| :latin
|
|
599
601
|
| :latvian
|
|
@@ -616,6 +618,7 @@ module ContextDev
|
|
|
616
618
|
| :swahili
|
|
617
619
|
| :swedish
|
|
618
620
|
| :tagalog
|
|
621
|
+
| :thai
|
|
619
622
|
| :turkish
|
|
620
623
|
| :ukrainian
|
|
621
624
|
| :urdu
|
|
@@ -631,6 +634,7 @@ module ContextDev
|
|
|
631
634
|
AZERI: :azeri
|
|
632
635
|
BENGALI: :bengali
|
|
633
636
|
BULGARIAN: :bulgarian
|
|
637
|
+
CANTONESE: :cantonese
|
|
634
638
|
CEBUANO: :cebuano
|
|
635
639
|
CROATIAN: :croatian
|
|
636
640
|
CZECH: :czech
|
|
@@ -650,6 +654,7 @@ module ContextDev
|
|
|
650
654
|
INDONESIAN: :indonesian
|
|
651
655
|
ITALIAN: :italian
|
|
652
656
|
KAZAKH: :kazakh
|
|
657
|
+
KOREAN: :korean
|
|
653
658
|
KYRGYZ: :kyrgyz
|
|
654
659
|
LATIN: :latin
|
|
655
660
|
LATVIAN: :latvian
|
|
@@ -672,6 +677,7 @@ module ContextDev
|
|
|
672
677
|
SWAHILI: :swahili
|
|
673
678
|
SWEDISH: :swedish
|
|
674
679
|
TAGALOG: :tagalog
|
|
680
|
+
THAI: :thai
|
|
675
681
|
TURKISH: :turkish
|
|
676
682
|
UKRAINIAN: :ukrainian
|
|
677
683
|
URDU: :urdu
|
|
@@ -51,6 +51,7 @@ module ContextDev
|
|
|
51
51
|
| :azeri
|
|
52
52
|
| :bengali
|
|
53
53
|
| :bulgarian
|
|
54
|
+
| :cantonese
|
|
54
55
|
| :cebuano
|
|
55
56
|
| :croatian
|
|
56
57
|
| :czech
|
|
@@ -70,6 +71,7 @@ module ContextDev
|
|
|
70
71
|
| :indonesian
|
|
71
72
|
| :italian
|
|
72
73
|
| :kazakh
|
|
74
|
+
| :korean
|
|
73
75
|
| :kyrgyz
|
|
74
76
|
| :latin
|
|
75
77
|
| :latvian
|
|
@@ -92,6 +94,7 @@ module ContextDev
|
|
|
92
94
|
| :swahili
|
|
93
95
|
| :swedish
|
|
94
96
|
| :tagalog
|
|
97
|
+
| :thai
|
|
95
98
|
| :turkish
|
|
96
99
|
| :ukrainian
|
|
97
100
|
| :urdu
|
|
@@ -107,6 +110,7 @@ module ContextDev
|
|
|
107
110
|
AZERI: :azeri
|
|
108
111
|
BENGALI: :bengali
|
|
109
112
|
BULGARIAN: :bulgarian
|
|
113
|
+
CANTONESE: :cantonese
|
|
110
114
|
CEBUANO: :cebuano
|
|
111
115
|
CROATIAN: :croatian
|
|
112
116
|
CZECH: :czech
|
|
@@ -126,6 +130,7 @@ module ContextDev
|
|
|
126
130
|
INDONESIAN: :indonesian
|
|
127
131
|
ITALIAN: :italian
|
|
128
132
|
KAZAKH: :kazakh
|
|
133
|
+
KOREAN: :korean
|
|
129
134
|
KYRGYZ: :kyrgyz
|
|
130
135
|
LATIN: :latin
|
|
131
136
|
LATVIAN: :latvian
|
|
@@ -148,6 +153,7 @@ module ContextDev
|
|
|
148
153
|
SWAHILI: :swahili
|
|
149
154
|
SWEDISH: :swedish
|
|
150
155
|
TAGALOG: :tagalog
|
|
156
|
+
THAI: :thai
|
|
151
157
|
TURKISH: :turkish
|
|
152
158
|
UKRAINIAN: :ukrainian
|
|
153
159
|
URDU: :urdu
|
|
@@ -51,6 +51,7 @@ module ContextDev
|
|
|
51
51
|
| :azeri
|
|
52
52
|
| :bengali
|
|
53
53
|
| :bulgarian
|
|
54
|
+
| :cantonese
|
|
54
55
|
| :cebuano
|
|
55
56
|
| :croatian
|
|
56
57
|
| :czech
|
|
@@ -70,6 +71,7 @@ module ContextDev
|
|
|
70
71
|
| :indonesian
|
|
71
72
|
| :italian
|
|
72
73
|
| :kazakh
|
|
74
|
+
| :korean
|
|
73
75
|
| :kyrgyz
|
|
74
76
|
| :latin
|
|
75
77
|
| :latvian
|
|
@@ -92,6 +94,7 @@ module ContextDev
|
|
|
92
94
|
| :swahili
|
|
93
95
|
| :swedish
|
|
94
96
|
| :tagalog
|
|
97
|
+
| :thai
|
|
95
98
|
| :turkish
|
|
96
99
|
| :ukrainian
|
|
97
100
|
| :urdu
|
|
@@ -107,6 +110,7 @@ module ContextDev
|
|
|
107
110
|
AZERI: :azeri
|
|
108
111
|
BENGALI: :bengali
|
|
109
112
|
BULGARIAN: :bulgarian
|
|
113
|
+
CANTONESE: :cantonese
|
|
110
114
|
CEBUANO: :cebuano
|
|
111
115
|
CROATIAN: :croatian
|
|
112
116
|
CZECH: :czech
|
|
@@ -126,6 +130,7 @@ module ContextDev
|
|
|
126
130
|
INDONESIAN: :indonesian
|
|
127
131
|
ITALIAN: :italian
|
|
128
132
|
KAZAKH: :kazakh
|
|
133
|
+
KOREAN: :korean
|
|
129
134
|
KYRGYZ: :kyrgyz
|
|
130
135
|
LATIN: :latin
|
|
131
136
|
LATVIAN: :latvian
|
|
@@ -148,6 +153,7 @@ module ContextDev
|
|
|
148
153
|
SWAHILI: :swahili
|
|
149
154
|
SWEDISH: :swedish
|
|
150
155
|
TAGALOG: :tagalog
|
|
156
|
+
THAI: :thai
|
|
151
157
|
TURKISH: :turkish
|
|
152
158
|
UKRAINIAN: :ukrainian
|
|
153
159
|
URDU: :urdu
|