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.
Files changed (131) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +23 -0
  3. data/README.md +9 -9
  4. data/lib/context_dev/client.rb +20 -0
  5. data/lib/context_dev/internal/type/base_model.rb +4 -4
  6. data/lib/context_dev/models/{brand_ai_query_params.rb → ai_ai_query_params.rb} +21 -22
  7. data/lib/context_dev/models/{brand_ai_query_response.rb → ai_ai_query_response.rb} +11 -11
  8. data/lib/context_dev/models/{brand_ai_product_params.rb → ai_extract_product_params.rb} +3 -3
  9. data/lib/context_dev/models/{brand_ai_product_response.rb → ai_extract_product_response.rb} +18 -18
  10. data/lib/context_dev/models/{brand_ai_products_params.rb → ai_extract_products_params.rb} +11 -10
  11. data/lib/context_dev/models/{brand_ai_products_response.rb → ai_extract_products_response.rb} +13 -13
  12. data/lib/context_dev/models/brand_identify_from_transaction_params.rb +3 -0
  13. data/lib/context_dev/models/brand_retrieve_by_email_params.rb +3 -0
  14. data/lib/context_dev/models/brand_retrieve_by_isin_params.rb +3 -0
  15. data/lib/context_dev/models/brand_retrieve_by_name_params.rb +262 -1
  16. data/lib/context_dev/models/brand_retrieve_by_ticker_params.rb +3 -0
  17. data/lib/context_dev/models/brand_retrieve_params.rb +3 -0
  18. data/lib/context_dev/models/{brand_retrieve_naics_params.rb → industry_retrieve_naics_params.rb} +3 -3
  19. data/lib/context_dev/models/{brand_retrieve_naics_response.rb → industry_retrieve_naics_response.rb} +9 -9
  20. data/lib/context_dev/models/{brand_fonts_params.rb → style_extract_fonts_params.rb} +3 -3
  21. data/lib/context_dev/models/{brand_fonts_response.rb → style_extract_fonts_response.rb} +6 -5
  22. data/lib/context_dev/models/{brand_styleguide_params.rb → style_extract_styleguide_params.rb} +6 -6
  23. data/lib/context_dev/models/{brand_styleguide_response.rb → style_extract_styleguide_response.rb} +83 -74
  24. data/lib/context_dev/models/{brand_prefetch_by_email_params.rb → utility_prefetch_by_email_params.rb} +3 -3
  25. data/lib/context_dev/models/{brand_prefetch_by_email_response.rb → utility_prefetch_by_email_response.rb} +2 -2
  26. data/lib/context_dev/models/{brand_prefetch_params.rb → utility_prefetch_params.rb} +3 -3
  27. data/lib/context_dev/models/{brand_prefetch_response.rb → utility_prefetch_response.rb} +2 -2
  28. data/lib/context_dev/models/{brand_screenshot_params.rb → web_screenshot_params.rb} +12 -12
  29. data/lib/context_dev/models/{brand_screenshot_response.rb → web_screenshot_response.rb} +6 -6
  30. data/lib/context_dev/models/{brand_web_scrape_html_params.rb → web_web_scrape_html_params.rb} +2 -2
  31. data/lib/context_dev/models/{brand_web_scrape_html_response.rb → web_web_scrape_html_response.rb} +6 -6
  32. data/lib/context_dev/models/{brand_web_scrape_images_params.rb → web_web_scrape_images_params.rb} +2 -2
  33. data/lib/context_dev/models/{brand_web_scrape_images_response.rb → web_web_scrape_images_response.rb} +17 -17
  34. data/lib/context_dev/models/{brand_web_scrape_md_params.rb → web_web_scrape_md_params.rb} +3 -3
  35. data/lib/context_dev/models/{brand_web_scrape_md_response.rb → web_web_scrape_md_response.rb} +6 -6
  36. data/lib/context_dev/models/{brand_web_scrape_sitemap_params.rb → web_web_scrape_sitemap_params.rb} +3 -3
  37. data/lib/context_dev/models/{brand_web_scrape_sitemap_response.rb → web_web_scrape_sitemap_response.rb} +10 -10
  38. data/lib/context_dev/models.rb +17 -17
  39. data/lib/context_dev/resources/ai.rb +99 -0
  40. data/lib/context_dev/resources/brand.rb +3 -398
  41. data/lib/context_dev/resources/industry.rb +50 -0
  42. data/lib/context_dev/resources/style.rb +78 -0
  43. data/lib/context_dev/resources/utility.rb +76 -0
  44. data/lib/context_dev/resources/web.rb +164 -0
  45. data/lib/context_dev/version.rb +1 -1
  46. data/lib/context_dev.rb +31 -26
  47. data/rbi/context_dev/client.rbi +15 -0
  48. data/rbi/context_dev/models/{brand_ai_query_params.rbi → ai_ai_query_params.rbi} +46 -46
  49. data/rbi/context_dev/models/{brand_ai_query_response.rbi → ai_ai_query_response.rbi} +12 -12
  50. data/rbi/context_dev/models/{brand_ai_product_params.rbi → ai_extract_product_params.rbi} +5 -2
  51. data/rbi/context_dev/models/{brand_ai_product_response.rbi → ai_extract_product_response.rbi} +40 -35
  52. data/rbi/context_dev/models/{brand_ai_products_params.rbi → ai_extract_products_params.rbi} +13 -13
  53. data/rbi/context_dev/models/{brand_ai_products_response.rbi → ai_extract_products_response.rbi} +26 -26
  54. data/rbi/context_dev/models/brand_identify_from_transaction_params.rbi +15 -0
  55. data/rbi/context_dev/models/brand_retrieve_by_email_params.rbi +15 -0
  56. data/rbi/context_dev/models/brand_retrieve_by_isin_params.rbi +15 -0
  57. data/rbi/context_dev/models/brand_retrieve_by_name_params.rbi +1326 -70
  58. data/rbi/context_dev/models/brand_retrieve_by_ticker_params.rbi +15 -0
  59. data/rbi/context_dev/models/brand_retrieve_params.rbi +15 -0
  60. data/rbi/context_dev/models/{brand_retrieve_naics_params.rbi → industry_retrieve_naics_params.rbi} +2 -2
  61. data/rbi/context_dev/models/{brand_retrieve_naics_response.rbi → industry_retrieve_naics_response.rbi} +15 -15
  62. data/rbi/context_dev/models/{brand_fonts_params.rbi → style_extract_fonts_params.rbi} +5 -2
  63. data/rbi/context_dev/models/{brand_fonts_response.rbi → style_extract_fonts_response.rbi} +12 -6
  64. data/rbi/context_dev/models/{brand_styleguide_params.rbi → style_extract_styleguide_params.rbi} +15 -10
  65. data/rbi/context_dev/models/{brand_styleguide_response.rbi → style_extract_styleguide_response.rbi} +98 -95
  66. data/rbi/context_dev/models/{brand_prefetch_by_email_params.rbi → utility_prefetch_by_email_params.rbi} +2 -2
  67. data/rbi/context_dev/models/{brand_prefetch_by_email_response.rbi → utility_prefetch_by_email_response.rbi} +2 -2
  68. data/rbi/context_dev/models/{brand_prefetch_params.rbi → utility_prefetch_params.rbi} +5 -2
  69. data/rbi/context_dev/models/{brand_prefetch_response.rbi → utility_prefetch_response.rbi} +2 -2
  70. data/rbi/context_dev/models/{brand_screenshot_params.rbi → web_screenshot_params.rbi} +32 -42
  71. data/rbi/context_dev/models/{brand_screenshot_response.rbi → web_screenshot_response.rbi} +10 -10
  72. data/rbi/context_dev/models/{brand_web_scrape_html_params.rbi → web_web_scrape_html_params.rbi} +2 -2
  73. data/rbi/context_dev/models/{brand_web_scrape_html_response.rbi → web_web_scrape_html_response.rbi} +8 -8
  74. data/rbi/context_dev/models/{brand_web_scrape_images_params.rbi → web_web_scrape_images_params.rbi} +2 -2
  75. data/rbi/context_dev/models/{brand_web_scrape_images_response.rbi → web_web_scrape_images_response.rbi} +30 -32
  76. data/rbi/context_dev/models/{brand_web_scrape_md_params.rbi → web_web_scrape_md_params.rbi} +2 -5
  77. data/rbi/context_dev/models/{brand_web_scrape_md_response.rbi → web_web_scrape_md_response.rbi} +8 -8
  78. data/rbi/context_dev/models/{brand_web_scrape_sitemap_params.rbi → web_web_scrape_sitemap_params.rbi} +2 -2
  79. data/rbi/context_dev/models/{brand_web_scrape_sitemap_response.rbi → web_web_scrape_sitemap_response.rbi} +13 -13
  80. data/rbi/context_dev/models.rbi +19 -17
  81. data/rbi/context_dev/resources/ai.rbi +76 -0
  82. data/rbi/context_dev/resources/brand.rbi +5 -303
  83. data/rbi/context_dev/resources/industry.rbi +40 -0
  84. data/rbi/context_dev/resources/style.rbi +67 -0
  85. data/rbi/context_dev/resources/utility.rbi +60 -0
  86. data/rbi/context_dev/resources/web.rbi +121 -0
  87. data/sig/context_dev/client.rbs +10 -0
  88. data/sig/context_dev/models/{brand_ai_query_params.rbs → ai_ai_query_params.rbs} +31 -31
  89. data/sig/context_dev/models/{brand_ai_query_response.rbs → ai_ai_query_response.rbs} +15 -15
  90. data/sig/context_dev/models/{brand_ai_product_params.rbs → ai_extract_product_params.rbs} +2 -2
  91. data/sig/context_dev/models/{brand_ai_product_response.rbs → ai_extract_product_response.rbs} +21 -21
  92. data/sig/context_dev/models/{brand_ai_products_params.rbs → ai_extract_products_params.rbs} +9 -9
  93. data/sig/context_dev/models/{brand_ai_products_response.rbs → ai_extract_products_response.rbs} +18 -18
  94. data/sig/context_dev/models/brand_identify_from_transaction_params.rbs +6 -0
  95. data/sig/context_dev/models/brand_retrieve_by_email_params.rbs +6 -0
  96. data/sig/context_dev/models/brand_retrieve_by_isin_params.rbs +6 -0
  97. data/sig/context_dev/models/brand_retrieve_by_name_params.rbs +502 -0
  98. data/sig/context_dev/models/brand_retrieve_by_ticker_params.rbs +6 -0
  99. data/sig/context_dev/models/brand_retrieve_params.rbs +6 -0
  100. data/sig/context_dev/models/{brand_retrieve_naics_params.rbs → industry_retrieve_naics_params.rbs} +2 -2
  101. data/sig/context_dev/models/{brand_retrieve_naics_response.rbs → industry_retrieve_naics_response.rbs} +13 -13
  102. data/sig/context_dev/models/{brand_fonts_params.rbs → style_extract_fonts_params.rbs} +2 -2
  103. data/sig/context_dev/models/{brand_fonts_response.rbs → style_extract_fonts_response.rbs} +6 -6
  104. data/sig/context_dev/models/{brand_styleguide_params.rbs → style_extract_styleguide_params.rbs} +9 -9
  105. data/sig/context_dev/models/{brand_styleguide_response.rbs → style_extract_styleguide_response.rbs} +111 -111
  106. data/sig/context_dev/models/{brand_prefetch_by_email_params.rbs → utility_prefetch_by_email_params.rbs} +2 -2
  107. data/sig/context_dev/models/{brand_prefetch_by_email_response.rbs → utility_prefetch_by_email_response.rbs} +2 -2
  108. data/sig/context_dev/models/{brand_prefetch_params.rbs → utility_prefetch_params.rbs} +2 -2
  109. data/sig/context_dev/models/{brand_prefetch_response.rbs → utility_prefetch_response.rbs} +2 -2
  110. data/sig/context_dev/models/web_screenshot_params.rbs +100 -0
  111. data/sig/context_dev/models/{brand_screenshot_response.rbs → web_screenshot_response.rbs} +9 -9
  112. data/sig/context_dev/models/{brand_web_scrape_images_params.rbs → web_web_scrape_html_params.rbs} +2 -2
  113. data/sig/context_dev/models/web_web_scrape_html_response.rbs +40 -0
  114. data/sig/context_dev/models/{brand_web_scrape_html_params.rbs → web_web_scrape_images_params.rbs} +2 -2
  115. data/sig/context_dev/models/web_web_scrape_images_response.rbs +98 -0
  116. data/sig/context_dev/models/{brand_web_scrape_md_params.rbs → web_web_scrape_md_params.rbs} +2 -2
  117. data/sig/context_dev/models/web_web_scrape_md_response.rbs +40 -0
  118. data/sig/context_dev/models/{brand_web_scrape_sitemap_params.rbs → web_web_scrape_sitemap_params.rbs} +2 -2
  119. data/sig/context_dev/models/{brand_web_scrape_sitemap_response.rbs → web_web_scrape_sitemap_response.rbs} +11 -11
  120. data/sig/context_dev/models.rbs +17 -17
  121. data/sig/context_dev/resources/ai.rbs +26 -0
  122. data/sig/context_dev/resources/brand.rbs +1 -84
  123. data/sig/context_dev/resources/industry.rbs +15 -0
  124. data/sig/context_dev/resources/style.rbs +21 -0
  125. data/sig/context_dev/resources/utility.rbs +19 -0
  126. data/sig/context_dev/resources/web.rbs +38 -0
  127. metadata +95 -80
  128. data/sig/context_dev/models/brand_screenshot_params.rbs +0 -100
  129. data/sig/context_dev/models/brand_web_scrape_html_response.rbs +0 -40
  130. data/sig/context_dev/models/brand_web_scrape_images_response.rbs +0 -98
  131. data/sig/context_dev/models/brand_web_scrape_md_response.rbs +0 -40
@@ -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
@@ -14,6 +14,13 @@ module ContextDev
14
14
  # @return [String]
15
15
  required :name, String
16
16
 
17
+ # @!attribute country_gl
18
+ # Optional country code (GL parameter) to specify the country. This affects the
19
+ # geographic location used for search queries.
20
+ #
21
+ # @return [Symbol, ContextDev::Models::BrandRetrieveByNameParams::CountryGl, nil]
22
+ optional :country_gl, enum: -> { ContextDev::BrandRetrieveByNameParams::CountryGl }
23
+
17
24
  # @!attribute force_language
18
25
  # Optional parameter to force the language of the retrieved brand data.
19
26
  #
@@ -36,12 +43,14 @@ module ContextDev
36
43
  # @return [Integer, nil]
37
44
  optional :timeout_ms, Integer
38
45
 
39
- # @!method initialize(name:, force_language: nil, max_speed: nil, timeout_ms: nil, request_options: {})
46
+ # @!method initialize(name:, country_gl: nil, force_language: nil, max_speed: nil, timeout_ms: nil, request_options: {})
40
47
  # Some parameter documentations has been truncated, see
41
48
  # {ContextDev::Models::BrandRetrieveByNameParams} for more details.
42
49
  #
43
50
  # @param name [String] Company name to retrieve brand data for (e.g., 'Apple Inc', 'Microsoft Corporati
44
51
  #
52
+ # @param country_gl [Symbol, ContextDev::Models::BrandRetrieveByNameParams::CountryGl] Optional country code (GL parameter) to specify the country. This affects the ge
53
+ #
45
54
  # @param force_language [Symbol, ContextDev::Models::BrandRetrieveByNameParams::ForceLanguage] Optional parameter to force the language of the retrieved brand data.
46
55
  #
47
56
  # @param max_speed [Boolean] Optional parameter to optimize the API call for maximum speed. When set to true,
@@ -50,6 +59,255 @@ module ContextDev
50
59
  #
51
60
  # @param request_options [ContextDev::RequestOptions, Hash{Symbol=>Object}]
52
61
 
62
+ # Optional country code (GL parameter) to specify the country. This affects the
63
+ # geographic location used for search queries.
64
+ module CountryGl
65
+ extend ContextDev::Internal::Type::Enum
66
+
67
+ AD = :ad
68
+ AE = :ae
69
+ AF = :af
70
+ AG = :ag
71
+ AI = :ai
72
+ AL = :al
73
+ AM = :am
74
+ AN = :an
75
+ AO = :ao
76
+ AQ = :aq
77
+ AR = :ar
78
+ AS = :as
79
+ AT = :at
80
+ AU = :au
81
+ AW = :aw
82
+ AZ = :az
83
+ BA = :ba
84
+ BB = :bb
85
+ BD = :bd
86
+ BE = :be
87
+ BF = :bf
88
+ BG = :bg
89
+ BH = :bh
90
+ BI = :bi
91
+ BJ = :bj
92
+ BM = :bm
93
+ BN = :bn
94
+ BO = :bo
95
+ BR = :br
96
+ BS = :bs
97
+ BT = :bt
98
+ BV = :bv
99
+ BW = :bw
100
+ BY = :by
101
+ BZ = :bz
102
+ CA = :ca
103
+ CC = :cc
104
+ CD = :cd
105
+ CF = :cf
106
+ CG = :cg
107
+ CH = :ch
108
+ CI = :ci
109
+ CK = :ck
110
+ CL = :cl
111
+ CM = :cm
112
+ CN = :cn
113
+ CO = :co
114
+ CR = :cr
115
+ CU = :cu
116
+ CV = :cv
117
+ CX = :cx
118
+ CY = :cy
119
+ CZ = :cz
120
+ DE = :de
121
+ DJ = :dj
122
+ DK = :dk
123
+ DM = :dm
124
+ DO = :do
125
+ DZ = :dz
126
+ EC = :ec
127
+ EE = :ee
128
+ EG = :eg
129
+ EH = :eh
130
+ ER = :er
131
+ ES = :es
132
+ ET = :et
133
+ FI = :fi
134
+ FJ = :fj
135
+ FK = :fk
136
+ FM = :fm
137
+ FO = :fo
138
+ FR = :fr
139
+ GA = :ga
140
+ GB = :gb
141
+ GD = :gd
142
+ GE = :ge
143
+ GF = :gf
144
+ GH = :gh
145
+ GI = :gi
146
+ GL = :gl
147
+ GM = :gm
148
+ GN = :gn
149
+ GP = :gp
150
+ GQ = :gq
151
+ GR = :gr
152
+ GS = :gs
153
+ GT = :gt
154
+ GU = :gu
155
+ GW = :gw
156
+ GY = :gy
157
+ HK = :hk
158
+ HM = :hm
159
+ HN = :hn
160
+ HR = :hr
161
+ HT = :ht
162
+ HU = :hu
163
+ ID = :id
164
+ IE = :ie
165
+ IL = :il
166
+ IN = :in
167
+ IO = :io
168
+ IQ = :iq
169
+ IR = :ir
170
+ IS = :is
171
+ IT = :it
172
+ JM = :jm
173
+ JO = :jo
174
+ JP = :jp
175
+ KE = :ke
176
+ KG = :kg
177
+ KH = :kh
178
+ KI = :ki
179
+ KM = :km
180
+ KN = :kn
181
+ KP = :kp
182
+ KR = :kr
183
+ KW = :kw
184
+ KY = :ky
185
+ KZ = :kz
186
+ LA = :la
187
+ LB = :lb
188
+ LC = :lc
189
+ LI = :li
190
+ LK = :lk
191
+ LR = :lr
192
+ LS = :ls
193
+ LT = :lt
194
+ LU = :lu
195
+ LV = :lv
196
+ LY = :ly
197
+ MA = :ma
198
+ MC = :mc
199
+ MD = :md
200
+ MG = :mg
201
+ MH = :mh
202
+ MK = :mk
203
+ ML = :ml
204
+ MM = :mm
205
+ MN = :mn
206
+ MO = :mo
207
+ MP = :mp
208
+ MQ = :mq
209
+ MR = :mr
210
+ MS = :ms
211
+ MT = :mt
212
+ MU = :mu
213
+ MV = :mv
214
+ MW = :mw
215
+ MX = :mx
216
+ MY = :my
217
+ MZ = :mz
218
+ NA = :na
219
+ NC = :nc
220
+ NE = :ne
221
+ NF = :nf
222
+ NG = :ng
223
+ NI = :ni
224
+ NL = :nl
225
+ NO = :no
226
+ NP = :np
227
+ NR = :nr
228
+ NU = :nu
229
+ NZ = :nz
230
+ OM = :om
231
+ PA = :pa
232
+ PE = :pe
233
+ PF = :pf
234
+ PG = :pg
235
+ PH = :ph
236
+ PK = :pk
237
+ PL = :pl
238
+ PM = :pm
239
+ PN = :pn
240
+ PR = :pr
241
+ PS = :ps
242
+ PT = :pt
243
+ PW = :pw
244
+ PY = :py
245
+ QA = :qa
246
+ RE = :re
247
+ RO = :ro
248
+ RS = :rs
249
+ RU = :ru
250
+ RW = :rw
251
+ SA = :sa
252
+ SB = :sb
253
+ SC = :sc
254
+ SD = :sd
255
+ SE = :se
256
+ SG = :sg
257
+ SH = :sh
258
+ SI = :si
259
+ SJ = :sj
260
+ SK = :sk
261
+ SL = :sl
262
+ SM = :sm
263
+ SN = :sn
264
+ SO = :so
265
+ SR = :sr
266
+ ST = :st
267
+ SV = :sv
268
+ SY = :sy
269
+ SZ = :sz
270
+ TC = :tc
271
+ TD = :td
272
+ TF = :tf
273
+ TG = :tg
274
+ TH = :th
275
+ TJ = :tj
276
+ TK = :tk
277
+ TL = :tl
278
+ TM = :tm
279
+ TN = :tn
280
+ TO = :to
281
+ TR = :tr
282
+ TT = :tt
283
+ TV = :tv
284
+ TW = :tw
285
+ TZ = :tz
286
+ UA = :ua
287
+ UG = :ug
288
+ UM = :um
289
+ US = :us
290
+ UY = :uy
291
+ UZ = :uz
292
+ VA = :va
293
+ VC = :vc
294
+ VE = :ve
295
+ VG = :vg
296
+ VI = :vi
297
+ VN = :vn
298
+ VU = :vu
299
+ WF = :wf
300
+ WS = :ws
301
+ YE = :ye
302
+ YT = :yt
303
+ ZA = :za
304
+ ZM = :zm
305
+ ZW = :zw
306
+
307
+ # @!method self.values
308
+ # @return [Array<Symbol>]
309
+ end
310
+
53
311
  # Optional parameter to force the language of the retrieved brand data.
54
312
  module ForceLanguage
55
313
  extend ContextDev::Internal::Type::Enum
@@ -59,6 +317,7 @@ module ContextDev
59
317
  AZERI = :azeri
60
318
  BENGALI = :bengali
61
319
  BULGARIAN = :bulgarian
320
+ CANTONESE = :cantonese
62
321
  CEBUANO = :cebuano
63
322
  CROATIAN = :croatian
64
323
  CZECH = :czech
@@ -78,6 +337,7 @@ module ContextDev
78
337
  INDONESIAN = :indonesian
79
338
  ITALIAN = :italian
80
339
  KAZAKH = :kazakh
340
+ KOREAN = :korean
81
341
  KYRGYZ = :kyrgyz
82
342
  LATIN = :latin
83
343
  LATVIAN = :latvian
@@ -100,6 +360,7 @@ module ContextDev
100
360
  SWAHILI = :swahili
101
361
  SWEDISH = :swedish
102
362
  TAGALOG = :tagalog
363
+ THAI = :thai
103
364
  TURKISH = :turkish
104
365
  UKRAINIAN = :ukrainian
105
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
@@ -2,8 +2,8 @@
2
2
 
3
3
  module ContextDev
4
4
  module Models
5
- # @see ContextDev::Resources::Brand#retrieve_naics
6
- class BrandRetrieveNaicsParams < ContextDev::Internal::Type::BaseModel
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::BrandRetrieveNaicsParams} for more details.
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
  #
@@ -2,14 +2,14 @@
2
2
 
3
3
  module ContextDev
4
4
  module Models
5
- # @see ContextDev::Resources::Brand#retrieve_naics
6
- class BrandRetrieveNaicsResponse < ContextDev::Internal::Type::BaseModel
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::BrandRetrieveNaicsResponse::Code>, nil]
10
+ # @return [Array<ContextDev::Models::IndustryRetrieveNaicsResponse::Code>, nil]
11
11
  optional :codes,
12
- -> { ContextDev::Internal::Type::ArrayOf[ContextDev::Models::BrandRetrieveNaicsResponse::Code] }
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::BrandRetrieveNaicsResponse::Code>] Array of NAICS codes and titles.
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::BrandRetrieveNaicsResponse::Code::Confidence]
52
- required :confidence, enum: -> { ContextDev::Models::BrandRetrieveNaicsResponse::Code::Confidence }
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::BrandRetrieveNaicsResponse::Code::Confidence] Confidence level for how well this NAICS code matches the company description
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::BrandRetrieveNaicsResponse::Code#confidence
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::Brand#fonts
6
- class BrandFontsParams < ContextDev::Internal::Type::BaseModel
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::BrandFontsParams} for more details.
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::Brand#fonts
6
- class BrandFontsResponse < ContextDev::Internal::Type::BaseModel
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::BrandFontsResponse::Font>]
23
- required :fonts, -> { ContextDev::Internal::Type::ArrayOf[ContextDev::Models::BrandFontsResponse::Font] }
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::BrandFontsResponse::Font>] Array of font usage information
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
 
@@ -2,8 +2,8 @@
2
2
 
3
3
  module ContextDev
4
4
  module Models
5
- # @see ContextDev::Resources::Brand#styleguide
6
- class BrandStyleguideParams < ContextDev::Internal::Type::BaseModel
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::BrandStyleguideParams::Prioritize, nil]
31
- optional :prioritize, enum: -> { ContextDev::BrandStyleguideParams::Prioritize }
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::BrandStyleguideParams} for more details.
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::BrandStyleguideParams::Prioritize] Optional parameter to prioritize screenshot capture for styleguide extraction. I
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
  #