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
|
@@ -317,6 +317,7 @@ module ContextDev
|
|
|
317
317
|
AZERI = :azeri
|
|
318
318
|
BENGALI = :bengali
|
|
319
319
|
BULGARIAN = :bulgarian
|
|
320
|
+
CANTONESE = :cantonese
|
|
320
321
|
CEBUANO = :cebuano
|
|
321
322
|
CROATIAN = :croatian
|
|
322
323
|
CZECH = :czech
|
|
@@ -336,6 +337,7 @@ module ContextDev
|
|
|
336
337
|
INDONESIAN = :indonesian
|
|
337
338
|
ITALIAN = :italian
|
|
338
339
|
KAZAKH = :kazakh
|
|
340
|
+
KOREAN = :korean
|
|
339
341
|
KYRGYZ = :kyrgyz
|
|
340
342
|
LATIN = :latin
|
|
341
343
|
LATVIAN = :latvian
|
|
@@ -358,6 +360,7 @@ module ContextDev
|
|
|
358
360
|
SWAHILI = :swahili
|
|
359
361
|
SWEDISH = :swedish
|
|
360
362
|
TAGALOG = :tagalog
|
|
363
|
+
THAI = :thai
|
|
361
364
|
TURKISH = :turkish
|
|
362
365
|
UKRAINIAN = :ukrainian
|
|
363
366
|
URDU = :urdu
|
|
@@ -67,6 +67,7 @@ module ContextDev
|
|
|
67
67
|
AZERI = :azeri
|
|
68
68
|
BENGALI = :bengali
|
|
69
69
|
BULGARIAN = :bulgarian
|
|
70
|
+
CANTONESE = :cantonese
|
|
70
71
|
CEBUANO = :cebuano
|
|
71
72
|
CROATIAN = :croatian
|
|
72
73
|
CZECH = :czech
|
|
@@ -86,6 +87,7 @@ module ContextDev
|
|
|
86
87
|
INDONESIAN = :indonesian
|
|
87
88
|
ITALIAN = :italian
|
|
88
89
|
KAZAKH = :kazakh
|
|
90
|
+
KOREAN = :korean
|
|
89
91
|
KYRGYZ = :kyrgyz
|
|
90
92
|
LATIN = :latin
|
|
91
93
|
LATVIAN = :latvian
|
|
@@ -108,6 +110,7 @@ module ContextDev
|
|
|
108
110
|
SWAHILI = :swahili
|
|
109
111
|
SWEDISH = :swedish
|
|
110
112
|
TAGALOG = :tagalog
|
|
113
|
+
THAI = :thai
|
|
111
114
|
TURKISH = :turkish
|
|
112
115
|
UKRAINIAN = :ukrainian
|
|
113
116
|
URDU = :urdu
|
|
@@ -61,6 +61,7 @@ module ContextDev
|
|
|
61
61
|
AZERI = :azeri
|
|
62
62
|
BENGALI = :bengali
|
|
63
63
|
BULGARIAN = :bulgarian
|
|
64
|
+
CANTONESE = :cantonese
|
|
64
65
|
CEBUANO = :cebuano
|
|
65
66
|
CROATIAN = :croatian
|
|
66
67
|
CZECH = :czech
|
|
@@ -80,6 +81,7 @@ module ContextDev
|
|
|
80
81
|
INDONESIAN = :indonesian
|
|
81
82
|
ITALIAN = :italian
|
|
82
83
|
KAZAKH = :kazakh
|
|
84
|
+
KOREAN = :korean
|
|
83
85
|
KYRGYZ = :kyrgyz
|
|
84
86
|
LATIN = :latin
|
|
85
87
|
LATVIAN = :latvian
|
|
@@ -102,6 +104,7 @@ module ContextDev
|
|
|
102
104
|
SWAHILI = :swahili
|
|
103
105
|
SWEDISH = :swedish
|
|
104
106
|
TAGALOG = :tagalog
|
|
107
|
+
THAI = :thai
|
|
105
108
|
TURKISH = :turkish
|
|
106
109
|
UKRAINIAN = :ukrainian
|
|
107
110
|
URDU = :urdu
|
data/lib/context_dev/models/{brand_retrieve_naics_params.rb → industry_retrieve_naics_params.rb}
RENAMED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
module ContextDev
|
|
4
4
|
module Models
|
|
5
|
-
# @see ContextDev::Resources::
|
|
6
|
-
class
|
|
5
|
+
# @see ContextDev::Resources::Industry#retrieve_naics
|
|
6
|
+
class IndustryRetrieveNaicsParams < ContextDev::Internal::Type::BaseModel
|
|
7
7
|
extend ContextDev::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include ContextDev::Internal::Type::RequestParameters
|
|
9
9
|
|
|
@@ -38,7 +38,7 @@ module ContextDev
|
|
|
38
38
|
|
|
39
39
|
# @!method initialize(input:, max_results: nil, min_results: nil, timeout_ms: nil, request_options: {})
|
|
40
40
|
# Some parameter documentations has been truncated, see
|
|
41
|
-
# {ContextDev::Models::
|
|
41
|
+
# {ContextDev::Models::IndustryRetrieveNaicsParams} for more details.
|
|
42
42
|
#
|
|
43
43
|
# @param input [String] Brand domain or title to retrieve NAICS code for. If a valid domain is provided
|
|
44
44
|
#
|
data/lib/context_dev/models/{brand_retrieve_naics_response.rb → industry_retrieve_naics_response.rb}
RENAMED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
module ContextDev
|
|
4
4
|
module Models
|
|
5
|
-
# @see ContextDev::Resources::
|
|
6
|
-
class
|
|
5
|
+
# @see ContextDev::Resources::Industry#retrieve_naics
|
|
6
|
+
class IndustryRetrieveNaicsResponse < ContextDev::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute codes
|
|
8
8
|
# Array of NAICS codes and titles.
|
|
9
9
|
#
|
|
10
|
-
# @return [Array<ContextDev::Models::
|
|
10
|
+
# @return [Array<ContextDev::Models::IndustryRetrieveNaicsResponse::Code>, nil]
|
|
11
11
|
optional :codes,
|
|
12
|
-
-> { ContextDev::Internal::Type::ArrayOf[ContextDev::Models::
|
|
12
|
+
-> { ContextDev::Internal::Type::ArrayOf[ContextDev::Models::IndustryRetrieveNaicsResponse::Code] }
|
|
13
13
|
|
|
14
14
|
# @!attribute domain
|
|
15
15
|
# Domain found for the brand
|
|
@@ -30,7 +30,7 @@ module ContextDev
|
|
|
30
30
|
optional :type, String
|
|
31
31
|
|
|
32
32
|
# @!method initialize(codes: nil, domain: nil, status: nil, type: nil)
|
|
33
|
-
# @param codes [Array<ContextDev::Models::
|
|
33
|
+
# @param codes [Array<ContextDev::Models::IndustryRetrieveNaicsResponse::Code>] Array of NAICS codes and titles.
|
|
34
34
|
#
|
|
35
35
|
# @param domain [String] Domain found for the brand
|
|
36
36
|
#
|
|
@@ -48,8 +48,8 @@ module ContextDev
|
|
|
48
48
|
# @!attribute confidence
|
|
49
49
|
# Confidence level for how well this NAICS code matches the company description
|
|
50
50
|
#
|
|
51
|
-
# @return [Symbol, ContextDev::Models::
|
|
52
|
-
required :confidence, enum: -> { ContextDev::Models::
|
|
51
|
+
# @return [Symbol, ContextDev::Models::IndustryRetrieveNaicsResponse::Code::Confidence]
|
|
52
|
+
required :confidence, enum: -> { ContextDev::Models::IndustryRetrieveNaicsResponse::Code::Confidence }
|
|
53
53
|
|
|
54
54
|
# @!attribute name
|
|
55
55
|
# NAICS title
|
|
@@ -60,13 +60,13 @@ module ContextDev
|
|
|
60
60
|
# @!method initialize(code:, confidence:, name:)
|
|
61
61
|
# @param code [String] NAICS code
|
|
62
62
|
#
|
|
63
|
-
# @param confidence [Symbol, ContextDev::Models::
|
|
63
|
+
# @param confidence [Symbol, ContextDev::Models::IndustryRetrieveNaicsResponse::Code::Confidence] Confidence level for how well this NAICS code matches the company description
|
|
64
64
|
#
|
|
65
65
|
# @param name [String] NAICS title
|
|
66
66
|
|
|
67
67
|
# Confidence level for how well this NAICS code matches the company description
|
|
68
68
|
#
|
|
69
|
-
# @see ContextDev::Models::
|
|
69
|
+
# @see ContextDev::Models::IndustryRetrieveNaicsResponse::Code#confidence
|
|
70
70
|
module Confidence
|
|
71
71
|
extend ContextDev::Internal::Type::Enum
|
|
72
72
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
module ContextDev
|
|
4
4
|
module Models
|
|
5
|
-
# @see ContextDev::Resources::
|
|
6
|
-
class
|
|
5
|
+
# @see ContextDev::Resources::Style#extract_fonts
|
|
6
|
+
class StyleExtractFontsParams < ContextDev::Internal::Type::BaseModel
|
|
7
7
|
extend ContextDev::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include ContextDev::Internal::Type::RequestParameters
|
|
9
9
|
|
|
@@ -24,7 +24,7 @@ module ContextDev
|
|
|
24
24
|
|
|
25
25
|
# @!method initialize(domain:, timeout_ms: nil, request_options: {})
|
|
26
26
|
# Some parameter documentations has been truncated, see
|
|
27
|
-
# {ContextDev::Models::
|
|
27
|
+
# {ContextDev::Models::StyleExtractFontsParams} for more details.
|
|
28
28
|
#
|
|
29
29
|
# @param domain [String] Domain name to extract fonts from (e.g., 'example.com', 'google.com'). The domai
|
|
30
30
|
#
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
module ContextDev
|
|
4
4
|
module Models
|
|
5
|
-
# @see ContextDev::Resources::
|
|
6
|
-
class
|
|
5
|
+
# @see ContextDev::Resources::Style#extract_fonts
|
|
6
|
+
class StyleExtractFontsResponse < ContextDev::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute code
|
|
8
8
|
# HTTP status code, e.g., 200
|
|
9
9
|
#
|
|
@@ -19,8 +19,9 @@ module ContextDev
|
|
|
19
19
|
# @!attribute fonts
|
|
20
20
|
# Array of font usage information
|
|
21
21
|
#
|
|
22
|
-
# @return [Array<ContextDev::Models::
|
|
23
|
-
required :fonts,
|
|
22
|
+
# @return [Array<ContextDev::Models::StyleExtractFontsResponse::Font>]
|
|
23
|
+
required :fonts,
|
|
24
|
+
-> { ContextDev::Internal::Type::ArrayOf[ContextDev::Models::StyleExtractFontsResponse::Font] }
|
|
24
25
|
|
|
25
26
|
# @!attribute status
|
|
26
27
|
# Status of the response, e.g., 'ok'
|
|
@@ -33,7 +34,7 @@ module ContextDev
|
|
|
33
34
|
#
|
|
34
35
|
# @param domain [String] The normalized domain that was processed
|
|
35
36
|
#
|
|
36
|
-
# @param fonts [Array<ContextDev::Models::
|
|
37
|
+
# @param fonts [Array<ContextDev::Models::StyleExtractFontsResponse::Font>] Array of font usage information
|
|
37
38
|
#
|
|
38
39
|
# @param status [String] Status of the response, e.g., 'ok'
|
|
39
40
|
|
data/lib/context_dev/models/{brand_styleguide_params.rb → style_extract_styleguide_params.rb}
RENAMED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
module ContextDev
|
|
4
4
|
module Models
|
|
5
|
-
# @see ContextDev::Resources::
|
|
6
|
-
class
|
|
5
|
+
# @see ContextDev::Resources::Style#extract_styleguide
|
|
6
|
+
class StyleExtractStyleguideParams < ContextDev::Internal::Type::BaseModel
|
|
7
7
|
extend ContextDev::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include ContextDev::Internal::Type::RequestParameters
|
|
9
9
|
|
|
@@ -27,8 +27,8 @@ module ContextDev
|
|
|
27
27
|
# optimizes for higher quality with longer wait times. Defaults to 'quality' if
|
|
28
28
|
# not provided.
|
|
29
29
|
#
|
|
30
|
-
# @return [Symbol, ContextDev::Models::
|
|
31
|
-
optional :prioritize, enum: -> { ContextDev::
|
|
30
|
+
# @return [Symbol, ContextDev::Models::StyleExtractStyleguideParams::Prioritize, nil]
|
|
31
|
+
optional :prioritize, enum: -> { ContextDev::StyleExtractStyleguideParams::Prioritize }
|
|
32
32
|
|
|
33
33
|
# @!attribute timeout_ms
|
|
34
34
|
# Optional timeout in milliseconds for the request. If the request takes longer
|
|
@@ -40,13 +40,13 @@ module ContextDev
|
|
|
40
40
|
|
|
41
41
|
# @!method initialize(direct_url: nil, domain: nil, prioritize: nil, timeout_ms: nil, request_options: {})
|
|
42
42
|
# Some parameter documentations has been truncated, see
|
|
43
|
-
# {ContextDev::Models::
|
|
43
|
+
# {ContextDev::Models::StyleExtractStyleguideParams} for more details.
|
|
44
44
|
#
|
|
45
45
|
# @param direct_url [String] A specific URL to fetch the styleguide from directly, bypassing domain resolutio
|
|
46
46
|
#
|
|
47
47
|
# @param domain [String] Domain name to extract styleguide from (e.g., 'example.com', 'google.com'). The
|
|
48
48
|
#
|
|
49
|
-
# @param prioritize [Symbol, ContextDev::Models::
|
|
49
|
+
# @param prioritize [Symbol, ContextDev::Models::StyleExtractStyleguideParams::Prioritize] Optional parameter to prioritize screenshot capture for styleguide extraction. I
|
|
50
50
|
#
|
|
51
51
|
# @param timeout_ms [Integer] Optional timeout in milliseconds for the request. If the request takes longer th
|
|
52
52
|
#
|
data/lib/context_dev/models/{brand_styleguide_response.rb → style_extract_styleguide_response.rb}
RENAMED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
module ContextDev
|
|
4
4
|
module Models
|
|
5
|
-
# @see ContextDev::Resources::
|
|
6
|
-
class
|
|
5
|
+
# @see ContextDev::Resources::Style#extract_styleguide
|
|
6
|
+
class StyleExtractStyleguideResponse < ContextDev::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute code
|
|
8
8
|
# HTTP status code
|
|
9
9
|
#
|
|
@@ -25,8 +25,8 @@ module ContextDev
|
|
|
25
25
|
# @!attribute styleguide
|
|
26
26
|
# Comprehensive styleguide data extracted from the website
|
|
27
27
|
#
|
|
28
|
-
# @return [ContextDev::Models::
|
|
29
|
-
optional :styleguide, -> { ContextDev::Models::
|
|
28
|
+
# @return [ContextDev::Models::StyleExtractStyleguideResponse::Styleguide, nil]
|
|
29
|
+
optional :styleguide, -> { ContextDev::Models::StyleExtractStyleguideResponse::Styleguide }
|
|
30
30
|
|
|
31
31
|
# @!method initialize(code: nil, domain: nil, status: nil, styleguide: nil)
|
|
32
32
|
# @param code [Integer] HTTP status code
|
|
@@ -35,64 +35,64 @@ module ContextDev
|
|
|
35
35
|
#
|
|
36
36
|
# @param status [String] Status of the response, e.g., 'ok'
|
|
37
37
|
#
|
|
38
|
-
# @param styleguide [ContextDev::Models::
|
|
38
|
+
# @param styleguide [ContextDev::Models::StyleExtractStyleguideResponse::Styleguide] Comprehensive styleguide data extracted from the website
|
|
39
39
|
|
|
40
|
-
# @see ContextDev::Models::
|
|
40
|
+
# @see ContextDev::Models::StyleExtractStyleguideResponse#styleguide
|
|
41
41
|
class Styleguide < ContextDev::Internal::Type::BaseModel
|
|
42
42
|
# @!attribute colors
|
|
43
43
|
# Primary colors used on the website
|
|
44
44
|
#
|
|
45
|
-
# @return [ContextDev::Models::
|
|
46
|
-
optional :colors, -> { ContextDev::Models::
|
|
45
|
+
# @return [ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Colors, nil]
|
|
46
|
+
optional :colors, -> { ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Colors }
|
|
47
47
|
|
|
48
48
|
# @!attribute components
|
|
49
49
|
# UI component styles
|
|
50
50
|
#
|
|
51
|
-
# @return [ContextDev::Models::
|
|
52
|
-
optional :components, -> { ContextDev::Models::
|
|
51
|
+
# @return [ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Components, nil]
|
|
52
|
+
optional :components, -> { ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Components }
|
|
53
53
|
|
|
54
54
|
# @!attribute element_spacing
|
|
55
55
|
# Spacing system used on the website
|
|
56
56
|
#
|
|
57
|
-
# @return [ContextDev::Models::
|
|
57
|
+
# @return [ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::ElementSpacing, nil]
|
|
58
58
|
optional :element_spacing,
|
|
59
|
-
-> { ContextDev::Models::
|
|
59
|
+
-> { ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::ElementSpacing },
|
|
60
60
|
api_name: :elementSpacing
|
|
61
61
|
|
|
62
62
|
# @!attribute mode
|
|
63
63
|
# The primary color mode of the website design
|
|
64
64
|
#
|
|
65
|
-
# @return [Symbol, ContextDev::Models::
|
|
66
|
-
optional :mode, enum: -> { ContextDev::Models::
|
|
65
|
+
# @return [Symbol, ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Mode, nil]
|
|
66
|
+
optional :mode, enum: -> { ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Mode }
|
|
67
67
|
|
|
68
68
|
# @!attribute shadows
|
|
69
69
|
# Shadow styles used on the website
|
|
70
70
|
#
|
|
71
|
-
# @return [ContextDev::Models::
|
|
72
|
-
optional :shadows, -> { ContextDev::Models::
|
|
71
|
+
# @return [ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Shadows, nil]
|
|
72
|
+
optional :shadows, -> { ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Shadows }
|
|
73
73
|
|
|
74
74
|
# @!attribute typography
|
|
75
75
|
# Typography styles used on the website
|
|
76
76
|
#
|
|
77
|
-
# @return [ContextDev::Models::
|
|
78
|
-
optional :typography, -> { ContextDev::Models::
|
|
77
|
+
# @return [ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Typography, nil]
|
|
78
|
+
optional :typography, -> { ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Typography }
|
|
79
79
|
|
|
80
80
|
# @!method initialize(colors: nil, components: nil, element_spacing: nil, mode: nil, shadows: nil, typography: nil)
|
|
81
81
|
# Comprehensive styleguide data extracted from the website
|
|
82
82
|
#
|
|
83
|
-
# @param colors [ContextDev::Models::
|
|
83
|
+
# @param colors [ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Colors] Primary colors used on the website
|
|
84
84
|
#
|
|
85
|
-
# @param components [ContextDev::Models::
|
|
85
|
+
# @param components [ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Components] UI component styles
|
|
86
86
|
#
|
|
87
|
-
# @param element_spacing [ContextDev::Models::
|
|
87
|
+
# @param element_spacing [ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::ElementSpacing] Spacing system used on the website
|
|
88
88
|
#
|
|
89
|
-
# @param mode [Symbol, ContextDev::Models::
|
|
89
|
+
# @param mode [Symbol, ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Mode] The primary color mode of the website design
|
|
90
90
|
#
|
|
91
|
-
# @param shadows [ContextDev::Models::
|
|
91
|
+
# @param shadows [ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Shadows] Shadow styles used on the website
|
|
92
92
|
#
|
|
93
|
-
# @param typography [ContextDev::Models::
|
|
93
|
+
# @param typography [ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Typography] Typography styles used on the website
|
|
94
94
|
|
|
95
|
-
# @see ContextDev::Models::
|
|
95
|
+
# @see ContextDev::Models::StyleExtractStyleguideResponse::Styleguide#colors
|
|
96
96
|
class Colors < ContextDev::Internal::Type::BaseModel
|
|
97
97
|
# @!attribute accent
|
|
98
98
|
# Accent color of the website (hex format)
|
|
@@ -122,59 +122,61 @@ module ContextDev
|
|
|
122
122
|
# @param text [String] Text color of the website (hex format)
|
|
123
123
|
end
|
|
124
124
|
|
|
125
|
-
# @see ContextDev::Models::
|
|
125
|
+
# @see ContextDev::Models::StyleExtractStyleguideResponse::Styleguide#components
|
|
126
126
|
class Components < ContextDev::Internal::Type::BaseModel
|
|
127
127
|
# @!attribute button
|
|
128
128
|
# Button component styles
|
|
129
129
|
#
|
|
130
|
-
# @return [ContextDev::Models::
|
|
131
|
-
optional :button,
|
|
130
|
+
# @return [ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Components::Button, nil]
|
|
131
|
+
optional :button,
|
|
132
|
+
-> { ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Components::Button }
|
|
132
133
|
|
|
133
134
|
# @!attribute card
|
|
134
135
|
# Card component style
|
|
135
136
|
#
|
|
136
|
-
# @return [ContextDev::Models::
|
|
137
|
-
optional :card, -> { ContextDev::Models::
|
|
137
|
+
# @return [ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Components::Card, nil]
|
|
138
|
+
optional :card, -> { ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Components::Card }
|
|
138
139
|
|
|
139
140
|
# @!method initialize(button: nil, card: nil)
|
|
140
141
|
# UI component styles
|
|
141
142
|
#
|
|
142
|
-
# @param button [ContextDev::Models::
|
|
143
|
+
# @param button [ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Components::Button] Button component styles
|
|
143
144
|
#
|
|
144
|
-
# @param card [ContextDev::Models::
|
|
145
|
+
# @param card [ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Components::Card] Card component style
|
|
145
146
|
|
|
146
|
-
# @see ContextDev::Models::
|
|
147
|
+
# @see ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Components#button
|
|
147
148
|
class Button < ContextDev::Internal::Type::BaseModel
|
|
148
149
|
# @!attribute link
|
|
149
150
|
# Link button style
|
|
150
151
|
#
|
|
151
|
-
# @return [ContextDev::Models::
|
|
152
|
-
optional :link,
|
|
152
|
+
# @return [ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Components::Button::Link, nil]
|
|
153
|
+
optional :link,
|
|
154
|
+
-> { ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Components::Button::Link }
|
|
153
155
|
|
|
154
156
|
# @!attribute primary
|
|
155
157
|
# Primary button style
|
|
156
158
|
#
|
|
157
|
-
# @return [ContextDev::Models::
|
|
159
|
+
# @return [ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Components::Button::Primary, nil]
|
|
158
160
|
optional :primary,
|
|
159
|
-
-> { ContextDev::Models::
|
|
161
|
+
-> { ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Components::Button::Primary }
|
|
160
162
|
|
|
161
163
|
# @!attribute secondary
|
|
162
164
|
# Secondary button style
|
|
163
165
|
#
|
|
164
|
-
# @return [ContextDev::Models::
|
|
166
|
+
# @return [ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Components::Button::Secondary, nil]
|
|
165
167
|
optional :secondary,
|
|
166
|
-
-> { ContextDev::Models::
|
|
168
|
+
-> { ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Components::Button::Secondary }
|
|
167
169
|
|
|
168
170
|
# @!method initialize(link: nil, primary: nil, secondary: nil)
|
|
169
171
|
# Button component styles
|
|
170
172
|
#
|
|
171
|
-
# @param link [ContextDev::Models::
|
|
173
|
+
# @param link [ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Components::Button::Link] Link button style
|
|
172
174
|
#
|
|
173
|
-
# @param primary [ContextDev::Models::
|
|
175
|
+
# @param primary [ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Components::Button::Primary] Primary button style
|
|
174
176
|
#
|
|
175
|
-
# @param secondary [ContextDev::Models::
|
|
177
|
+
# @param secondary [ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Components::Button::Secondary] Secondary button style
|
|
176
178
|
|
|
177
|
-
# @see ContextDev::Models::
|
|
179
|
+
# @see ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Components::Button#link
|
|
178
180
|
class Link < ContextDev::Internal::Type::BaseModel
|
|
179
181
|
# @!attribute background_color
|
|
180
182
|
#
|
|
@@ -247,7 +249,7 @@ module ContextDev
|
|
|
247
249
|
# @param text_decoration [String]
|
|
248
250
|
end
|
|
249
251
|
|
|
250
|
-
# @see ContextDev::Models::
|
|
252
|
+
# @see ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Components::Button#primary
|
|
251
253
|
class Primary < ContextDev::Internal::Type::BaseModel
|
|
252
254
|
# @!attribute background_color
|
|
253
255
|
#
|
|
@@ -320,7 +322,7 @@ module ContextDev
|
|
|
320
322
|
# @param text_decoration [String]
|
|
321
323
|
end
|
|
322
324
|
|
|
323
|
-
# @see ContextDev::Models::
|
|
325
|
+
# @see ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Components::Button#secondary
|
|
324
326
|
class Secondary < ContextDev::Internal::Type::BaseModel
|
|
325
327
|
# @!attribute background_color
|
|
326
328
|
#
|
|
@@ -394,7 +396,7 @@ module ContextDev
|
|
|
394
396
|
end
|
|
395
397
|
end
|
|
396
398
|
|
|
397
|
-
# @see ContextDev::Models::
|
|
399
|
+
# @see ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Components#card
|
|
398
400
|
class Card < ContextDev::Internal::Type::BaseModel
|
|
399
401
|
# @!attribute background_color
|
|
400
402
|
#
|
|
@@ -450,7 +452,7 @@ module ContextDev
|
|
|
450
452
|
end
|
|
451
453
|
end
|
|
452
454
|
|
|
453
|
-
# @see ContextDev::Models::
|
|
455
|
+
# @see ContextDev::Models::StyleExtractStyleguideResponse::Styleguide#element_spacing
|
|
454
456
|
class ElementSpacing < ContextDev::Internal::Type::BaseModel
|
|
455
457
|
# @!attribute lg
|
|
456
458
|
# Large spacing value
|
|
@@ -498,7 +500,7 @@ module ContextDev
|
|
|
498
500
|
|
|
499
501
|
# The primary color mode of the website design
|
|
500
502
|
#
|
|
501
|
-
# @see ContextDev::Models::
|
|
503
|
+
# @see ContextDev::Models::StyleExtractStyleguideResponse::Styleguide#mode
|
|
502
504
|
module Mode
|
|
503
505
|
extend ContextDev::Internal::Type::Enum
|
|
504
506
|
|
|
@@ -509,7 +511,7 @@ module ContextDev
|
|
|
509
511
|
# @return [Array<Symbol>]
|
|
510
512
|
end
|
|
511
513
|
|
|
512
|
-
# @see ContextDev::Models::
|
|
514
|
+
# @see ContextDev::Models::StyleExtractStyleguideResponse::Styleguide#shadows
|
|
513
515
|
class Shadows < ContextDev::Internal::Type::BaseModel
|
|
514
516
|
# @!attribute inner
|
|
515
517
|
# Inner shadow value
|
|
@@ -555,58 +557,65 @@ module ContextDev
|
|
|
555
557
|
# @param xl [String] Extra large shadow value
|
|
556
558
|
end
|
|
557
559
|
|
|
558
|
-
# @see ContextDev::Models::
|
|
560
|
+
# @see ContextDev::Models::StyleExtractStyleguideResponse::Styleguide#typography
|
|
559
561
|
class Typography < ContextDev::Internal::Type::BaseModel
|
|
560
562
|
# @!attribute headings
|
|
561
563
|
# Heading styles
|
|
562
564
|
#
|
|
563
|
-
# @return [ContextDev::Models::
|
|
564
|
-
optional :headings,
|
|
565
|
+
# @return [ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Typography::Headings, nil]
|
|
566
|
+
optional :headings,
|
|
567
|
+
-> { ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Typography::Headings }
|
|
565
568
|
|
|
566
569
|
# @!attribute p_
|
|
567
570
|
# Paragraph text styles
|
|
568
571
|
#
|
|
569
|
-
# @return [ContextDev::Models::
|
|
570
|
-
optional :p_,
|
|
572
|
+
# @return [ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Typography::P, nil]
|
|
573
|
+
optional :p_,
|
|
574
|
+
-> { ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Typography::P },
|
|
575
|
+
api_name: :p
|
|
571
576
|
|
|
572
577
|
# @!method initialize(headings: nil, p_: nil)
|
|
573
578
|
# Typography styles used on the website
|
|
574
579
|
#
|
|
575
|
-
# @param headings [ContextDev::Models::
|
|
580
|
+
# @param headings [ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Typography::Headings] Heading styles
|
|
576
581
|
#
|
|
577
|
-
# @param p_ [ContextDev::Models::
|
|
582
|
+
# @param p_ [ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Typography::P] Paragraph text styles
|
|
578
583
|
|
|
579
|
-
# @see ContextDev::Models::
|
|
584
|
+
# @see ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Typography#headings
|
|
580
585
|
class Headings < ContextDev::Internal::Type::BaseModel
|
|
581
586
|
# @!attribute h1
|
|
582
587
|
#
|
|
583
|
-
# @return [ContextDev::Models::
|
|
584
|
-
optional :h1,
|
|
588
|
+
# @return [ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Typography::Headings::H1, nil]
|
|
589
|
+
optional :h1,
|
|
590
|
+
-> { ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Typography::Headings::H1 }
|
|
585
591
|
|
|
586
592
|
# @!attribute h2
|
|
587
593
|
#
|
|
588
|
-
# @return [ContextDev::Models::
|
|
589
|
-
optional :h2,
|
|
594
|
+
# @return [ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Typography::Headings::H2, nil]
|
|
595
|
+
optional :h2,
|
|
596
|
+
-> { ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Typography::Headings::H2 }
|
|
590
597
|
|
|
591
598
|
# @!attribute h3
|
|
592
599
|
#
|
|
593
|
-
# @return [ContextDev::Models::
|
|
594
|
-
optional :h3,
|
|
600
|
+
# @return [ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Typography::Headings::H3, nil]
|
|
601
|
+
optional :h3,
|
|
602
|
+
-> { ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Typography::Headings::H3 }
|
|
595
603
|
|
|
596
604
|
# @!attribute h4
|
|
597
605
|
#
|
|
598
|
-
# @return [ContextDev::Models::
|
|
599
|
-
optional :h4,
|
|
606
|
+
# @return [ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Typography::Headings::H4, nil]
|
|
607
|
+
optional :h4,
|
|
608
|
+
-> { ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Typography::Headings::H4 }
|
|
600
609
|
|
|
601
610
|
# @!method initialize(h1: nil, h2: nil, h3: nil, h4: nil)
|
|
602
611
|
# Heading styles
|
|
603
612
|
#
|
|
604
|
-
# @param h1 [ContextDev::Models::
|
|
605
|
-
# @param h2 [ContextDev::Models::
|
|
606
|
-
# @param h3 [ContextDev::Models::
|
|
607
|
-
# @param h4 [ContextDev::Models::
|
|
613
|
+
# @param h1 [ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Typography::Headings::H1]
|
|
614
|
+
# @param h2 [ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Typography::Headings::H2]
|
|
615
|
+
# @param h3 [ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Typography::Headings::H3]
|
|
616
|
+
# @param h4 [ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Typography::Headings::H4]
|
|
608
617
|
|
|
609
|
-
# @see ContextDev::Models::
|
|
618
|
+
# @see ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Typography::Headings#h1
|
|
610
619
|
class H1 < ContextDev::Internal::Type::BaseModel
|
|
611
620
|
# @!attribute font_family
|
|
612
621
|
#
|
|
@@ -641,7 +650,7 @@ module ContextDev
|
|
|
641
650
|
# @param line_height [String]
|
|
642
651
|
end
|
|
643
652
|
|
|
644
|
-
# @see ContextDev::Models::
|
|
653
|
+
# @see ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Typography::Headings#h2
|
|
645
654
|
class H2 < ContextDev::Internal::Type::BaseModel
|
|
646
655
|
# @!attribute font_family
|
|
647
656
|
#
|
|
@@ -676,7 +685,7 @@ module ContextDev
|
|
|
676
685
|
# @param line_height [String]
|
|
677
686
|
end
|
|
678
687
|
|
|
679
|
-
# @see ContextDev::Models::
|
|
688
|
+
# @see ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Typography::Headings#h3
|
|
680
689
|
class H3 < ContextDev::Internal::Type::BaseModel
|
|
681
690
|
# @!attribute font_family
|
|
682
691
|
#
|
|
@@ -711,7 +720,7 @@ module ContextDev
|
|
|
711
720
|
# @param line_height [String]
|
|
712
721
|
end
|
|
713
722
|
|
|
714
|
-
# @see ContextDev::Models::
|
|
723
|
+
# @see ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Typography::Headings#h4
|
|
715
724
|
class H4 < ContextDev::Internal::Type::BaseModel
|
|
716
725
|
# @!attribute font_family
|
|
717
726
|
#
|
|
@@ -747,7 +756,7 @@ module ContextDev
|
|
|
747
756
|
end
|
|
748
757
|
end
|
|
749
758
|
|
|
750
|
-
# @see ContextDev::Models::
|
|
759
|
+
# @see ContextDev::Models::StyleExtractStyleguideResponse::Styleguide::Typography#p_
|
|
751
760
|
class P < ContextDev::Internal::Type::BaseModel
|
|
752
761
|
# @!attribute font_family
|
|
753
762
|
#
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
module ContextDev
|
|
4
4
|
module Models
|
|
5
|
-
# @see ContextDev::Resources::
|
|
6
|
-
class
|
|
5
|
+
# @see ContextDev::Resources::Utility#prefetch_by_email
|
|
6
|
+
class UtilityPrefetchByEmailParams < ContextDev::Internal::Type::BaseModel
|
|
7
7
|
extend ContextDev::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include ContextDev::Internal::Type::RequestParameters
|
|
9
9
|
|
|
@@ -25,7 +25,7 @@ module ContextDev
|
|
|
25
25
|
|
|
26
26
|
# @!method initialize(email:, timeout_ms: nil, request_options: {})
|
|
27
27
|
# Some parameter documentations has been truncated, see
|
|
28
|
-
# {ContextDev::Models::
|
|
28
|
+
# {ContextDev::Models::UtilityPrefetchByEmailParams} for more details.
|
|
29
29
|
#
|
|
30
30
|
# @param email [String] Email address to prefetch brand data for. The domain will be extracted from the
|
|
31
31
|
#
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
module ContextDev
|
|
4
4
|
module Models
|
|
5
|
-
# @see ContextDev::Resources::
|
|
6
|
-
class
|
|
5
|
+
# @see ContextDev::Resources::Utility#prefetch_by_email
|
|
6
|
+
class UtilityPrefetchByEmailResponse < ContextDev::Internal::Type::BaseModel
|
|
7
7
|
# @!attribute domain
|
|
8
8
|
# The domain that was queued for prefetching
|
|
9
9
|
#
|