context.dev 1.3.0 → 1.4.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 (50) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +15 -0
  3. data/README.md +1 -1
  4. data/lib/context_dev/internal/util.rb +3 -1
  5. data/lib/context_dev/models/brand_identify_from_transaction_params.rb +65 -0
  6. data/lib/context_dev/models/brand_identify_from_transaction_response.rb +190 -5
  7. data/lib/context_dev/models/brand_retrieve_by_email_params.rb +65 -0
  8. data/lib/context_dev/models/brand_retrieve_by_email_response.rb +190 -5
  9. data/lib/context_dev/models/brand_retrieve_by_isin_params.rb +65 -0
  10. data/lib/context_dev/models/brand_retrieve_by_isin_response.rb +190 -5
  11. data/lib/context_dev/models/brand_retrieve_by_name_params.rb +65 -0
  12. data/lib/context_dev/models/brand_retrieve_by_name_response.rb +190 -5
  13. data/lib/context_dev/models/brand_retrieve_by_ticker_params.rb +65 -0
  14. data/lib/context_dev/models/brand_retrieve_by_ticker_response.rb +190 -5
  15. data/lib/context_dev/models/brand_retrieve_params.rb +68 -5
  16. data/lib/context_dev/models/brand_retrieve_response.rb +190 -5
  17. data/lib/context_dev/models/web_screenshot_params.rb +17 -5
  18. data/lib/context_dev/resources/brand.rb +1 -1
  19. data/lib/context_dev/resources/web.rb +8 -5
  20. data/lib/context_dev/version.rb +1 -1
  21. data/rbi/context_dev/models/brand_identify_from_transaction_params.rbi +325 -0
  22. data/rbi/context_dev/models/brand_identify_from_transaction_response.rbi +859 -6
  23. data/rbi/context_dev/models/brand_retrieve_by_email_params.rbi +325 -0
  24. data/rbi/context_dev/models/brand_retrieve_by_email_response.rbi +859 -6
  25. data/rbi/context_dev/models/brand_retrieve_by_isin_params.rbi +325 -0
  26. data/rbi/context_dev/models/brand_retrieve_by_isin_response.rbi +859 -6
  27. data/rbi/context_dev/models/brand_retrieve_by_name_params.rbi +325 -0
  28. data/rbi/context_dev/models/brand_retrieve_by_name_response.rbi +859 -6
  29. data/rbi/context_dev/models/brand_retrieve_by_ticker_params.rbi +325 -0
  30. data/rbi/context_dev/models/brand_retrieve_by_ticker_response.rbi +859 -6
  31. data/rbi/context_dev/models/brand_retrieve_params.rbi +328 -6
  32. data/rbi/context_dev/models/brand_retrieve_response.rbi +859 -6
  33. data/rbi/context_dev/models/web_screenshot_params.rbi +27 -6
  34. data/rbi/context_dev/resources/brand.rbi +1 -2
  35. data/rbi/context_dev/resources/web.rbi +11 -4
  36. data/sig/context_dev/models/brand_identify_from_transaction_params.rbs +131 -1
  37. data/sig/context_dev/models/brand_identify_from_transaction_response.rbs +342 -5
  38. data/sig/context_dev/models/brand_retrieve_by_email_params.rbs +131 -1
  39. data/sig/context_dev/models/brand_retrieve_by_email_response.rbs +342 -5
  40. data/sig/context_dev/models/brand_retrieve_by_isin_params.rbs +131 -1
  41. data/sig/context_dev/models/brand_retrieve_by_isin_response.rbs +342 -5
  42. data/sig/context_dev/models/brand_retrieve_by_name_params.rbs +131 -1
  43. data/sig/context_dev/models/brand_retrieve_by_name_response.rbs +342 -5
  44. data/sig/context_dev/models/brand_retrieve_by_ticker_params.rbs +131 -1
  45. data/sig/context_dev/models/brand_retrieve_by_ticker_response.rbs +342 -5
  46. data/sig/context_dev/models/brand_retrieve_params.rbs +131 -1
  47. data/sig/context_dev/models/brand_retrieve_response.rbs +342 -5
  48. data/sig/context_dev/models/web_screenshot_params.rbs +11 -2
  49. data/sig/context_dev/resources/web.rbs +2 -1
  50. metadata +2 -2
@@ -47,6 +47,7 @@ module ContextDev
47
47
  links: ContextDev::Models::BrandRetrieveResponse::Brand::Links,
48
48
  logos: ::Array[ContextDev::Models::BrandRetrieveResponse::Brand::Logo],
49
49
  phone: String,
50
+ primary_language: ContextDev::Models::BrandRetrieveResponse::Brand::primary_language?,
50
51
  slogan: String,
51
52
  socials: ::Array[ContextDev::Models::BrandRetrieveResponse::Brand::Social],
52
53
  stock: ContextDev::Models::BrandRetrieveResponse::Brand::Stock,
@@ -110,6 +111,8 @@ module ContextDev
110
111
 
111
112
  def phone=: (String) -> String
112
113
 
114
+ attr_accessor primary_language: ContextDev::Models::BrandRetrieveResponse::Brand::primary_language?
115
+
113
116
  attr_reader slogan: String?
114
117
 
115
118
  def slogan=: (String) -> String
@@ -142,6 +145,7 @@ module ContextDev
142
145
  ?links: ContextDev::Models::BrandRetrieveResponse::Brand::Links,
143
146
  ?logos: ::Array[ContextDev::Models::BrandRetrieveResponse::Brand::Logo],
144
147
  ?phone: String,
148
+ ?primary_language: ContextDev::Models::BrandRetrieveResponse::Brand::primary_language?,
145
149
  ?slogan: String,
146
150
  ?socials: ::Array[ContextDev::Models::BrandRetrieveResponse::Brand::Social],
147
151
  ?stock: ContextDev::Models::BrandRetrieveResponse::Brand::Stock,
@@ -160,6 +164,7 @@ module ContextDev
160
164
  links: ContextDev::Models::BrandRetrieveResponse::Brand::Links,
161
165
  logos: ::Array[ContextDev::Models::BrandRetrieveResponse::Brand::Logo],
162
166
  phone: String,
167
+ primary_language: ContextDev::Models::BrandRetrieveResponse::Brand::primary_language?,
163
168
  slogan: String,
164
169
  socials: ::Array[ContextDev::Models::BrandRetrieveResponse::Brand::Social],
165
170
  stock: ContextDev::Models::BrandRetrieveResponse::Brand::Stock,
@@ -1039,20 +1044,352 @@ module ContextDev
1039
1044
  end
1040
1045
  end
1041
1046
 
1042
- type social = { type: String, url: String }
1047
+ type primary_language =
1048
+ :afrikaans
1049
+ | :albanian
1050
+ | :amharic
1051
+ | :arabic
1052
+ | :armenian
1053
+ | :assamese
1054
+ | :aymara
1055
+ | :azeri
1056
+ | :basque
1057
+ | :belarusian
1058
+ | :bengali
1059
+ | :bosnian
1060
+ | :bulgarian
1061
+ | :burmese
1062
+ | :cantonese
1063
+ | :catalan
1064
+ | :cebuano
1065
+ | :chinese
1066
+ | :corsican
1067
+ | :croatian
1068
+ | :czech
1069
+ | :danish
1070
+ | :dutch
1071
+ | :english
1072
+ | :esperanto
1073
+ | :estonian
1074
+ | :farsi
1075
+ | :fijian
1076
+ | :finnish
1077
+ | :french
1078
+ | :galician
1079
+ | :georgian
1080
+ | :german
1081
+ | :greek
1082
+ | :guarani
1083
+ | :gujarati
1084
+ | :"haitian-creole"
1085
+ | :hausa
1086
+ | :hawaiian
1087
+ | :hebrew
1088
+ | :hindi
1089
+ | :hmong
1090
+ | :hungarian
1091
+ | :icelandic
1092
+ | :igbo
1093
+ | :indonesian
1094
+ | :irish
1095
+ | :italian
1096
+ | :japanese
1097
+ | :javanese
1098
+ | :kannada
1099
+ | :kazakh
1100
+ | :khmer
1101
+ | :kinyarwanda
1102
+ | :korean
1103
+ | :kurdish
1104
+ | :kyrgyz
1105
+ | :lao
1106
+ | :latin
1107
+ | :latvian
1108
+ | :lingala
1109
+ | :lithuanian
1110
+ | :luxembourgish
1111
+ | :macedonian
1112
+ | :malagasy
1113
+ | :malay
1114
+ | :malayalam
1115
+ | :maltese
1116
+ | :maori
1117
+ | :marathi
1118
+ | :mongolian
1119
+ | :nepali
1120
+ | :norwegian
1121
+ | :odia
1122
+ | :oromo
1123
+ | :pashto
1124
+ | :pidgin
1125
+ | :polish
1126
+ | :portuguese
1127
+ | :punjabi
1128
+ | :quechua
1129
+ | :romanian
1130
+ | :russian
1131
+ | :samoan
1132
+ | :"scottish-gaelic"
1133
+ | :serbian
1134
+ | :sesotho
1135
+ | :shona
1136
+ | :sindhi
1137
+ | :sinhala
1138
+ | :slovak
1139
+ | :slovene
1140
+ | :somali
1141
+ | :spanish
1142
+ | :sundanese
1143
+ | :swahili
1144
+ | :swedish
1145
+ | :tagalog
1146
+ | :tajik
1147
+ | :tamil
1148
+ | :tatar
1149
+ | :telugu
1150
+ | :thai
1151
+ | :tibetan
1152
+ | :tigrinya
1153
+ | :tongan
1154
+ | :tswana
1155
+ | :turkish
1156
+ | :turkmen
1157
+ | :ukrainian
1158
+ | :urdu
1159
+ | :uyghur
1160
+ | :uzbek
1161
+ | :vietnamese
1162
+ | :welsh
1163
+ | :wolof
1164
+ | :xhosa
1165
+ | :yiddish
1166
+ | :yoruba
1167
+ | :zulu
1168
+
1169
+ module PrimaryLanguage
1170
+ extend ContextDev::Internal::Type::Enum
1171
+
1172
+ AFRIKAANS: :afrikaans
1173
+ ALBANIAN: :albanian
1174
+ AMHARIC: :amharic
1175
+ ARABIC: :arabic
1176
+ ARMENIAN: :armenian
1177
+ ASSAMESE: :assamese
1178
+ AYMARA: :aymara
1179
+ AZERI: :azeri
1180
+ BASQUE: :basque
1181
+ BELARUSIAN: :belarusian
1182
+ BENGALI: :bengali
1183
+ BOSNIAN: :bosnian
1184
+ BULGARIAN: :bulgarian
1185
+ BURMESE: :burmese
1186
+ CANTONESE: :cantonese
1187
+ CATALAN: :catalan
1188
+ CEBUANO: :cebuano
1189
+ CHINESE: :chinese
1190
+ CORSICAN: :corsican
1191
+ CROATIAN: :croatian
1192
+ CZECH: :czech
1193
+ DANISH: :danish
1194
+ DUTCH: :dutch
1195
+ ENGLISH: :english
1196
+ ESPERANTO: :esperanto
1197
+ ESTONIAN: :estonian
1198
+ FARSI: :farsi
1199
+ FIJIAN: :fijian
1200
+ FINNISH: :finnish
1201
+ FRENCH: :french
1202
+ GALICIAN: :galician
1203
+ GEORGIAN: :georgian
1204
+ GERMAN: :german
1205
+ GREEK: :greek
1206
+ GUARANI: :guarani
1207
+ GUJARATI: :gujarati
1208
+ HAITIAN_CREOLE: :"haitian-creole"
1209
+ HAUSA: :hausa
1210
+ HAWAIIAN: :hawaiian
1211
+ HEBREW: :hebrew
1212
+ HINDI: :hindi
1213
+ HMONG: :hmong
1214
+ HUNGARIAN: :hungarian
1215
+ ICELANDIC: :icelandic
1216
+ IGBO: :igbo
1217
+ INDONESIAN: :indonesian
1218
+ IRISH: :irish
1219
+ ITALIAN: :italian
1220
+ JAPANESE: :japanese
1221
+ JAVANESE: :javanese
1222
+ KANNADA: :kannada
1223
+ KAZAKH: :kazakh
1224
+ KHMER: :khmer
1225
+ KINYARWANDA: :kinyarwanda
1226
+ KOREAN: :korean
1227
+ KURDISH: :kurdish
1228
+ KYRGYZ: :kyrgyz
1229
+ LAO: :lao
1230
+ LATIN: :latin
1231
+ LATVIAN: :latvian
1232
+ LINGALA: :lingala
1233
+ LITHUANIAN: :lithuanian
1234
+ LUXEMBOURGISH: :luxembourgish
1235
+ MACEDONIAN: :macedonian
1236
+ MALAGASY: :malagasy
1237
+ MALAY: :malay
1238
+ MALAYALAM: :malayalam
1239
+ MALTESE: :maltese
1240
+ MAORI: :maori
1241
+ MARATHI: :marathi
1242
+ MONGOLIAN: :mongolian
1243
+ NEPALI: :nepali
1244
+ NORWEGIAN: :norwegian
1245
+ ODIA: :odia
1246
+ OROMO: :oromo
1247
+ PASHTO: :pashto
1248
+ PIDGIN: :pidgin
1249
+ POLISH: :polish
1250
+ PORTUGUESE: :portuguese
1251
+ PUNJABI: :punjabi
1252
+ QUECHUA: :quechua
1253
+ ROMANIAN: :romanian
1254
+ RUSSIAN: :russian
1255
+ SAMOAN: :samoan
1256
+ SCOTTISH_GAELIC: :"scottish-gaelic"
1257
+ SERBIAN: :serbian
1258
+ SESOTHO: :sesotho
1259
+ SHONA: :shona
1260
+ SINDHI: :sindhi
1261
+ SINHALA: :sinhala
1262
+ SLOVAK: :slovak
1263
+ SLOVENE: :slovene
1264
+ SOMALI: :somali
1265
+ SPANISH: :spanish
1266
+ SUNDANESE: :sundanese
1267
+ SWAHILI: :swahili
1268
+ SWEDISH: :swedish
1269
+ TAGALOG: :tagalog
1270
+ TAJIK: :tajik
1271
+ TAMIL: :tamil
1272
+ TATAR: :tatar
1273
+ TELUGU: :telugu
1274
+ THAI: :thai
1275
+ TIBETAN: :tibetan
1276
+ TIGRINYA: :tigrinya
1277
+ TONGAN: :tongan
1278
+ TSWANA: :tswana
1279
+ TURKISH: :turkish
1280
+ TURKMEN: :turkmen
1281
+ UKRAINIAN: :ukrainian
1282
+ URDU: :urdu
1283
+ UYGHUR: :uyghur
1284
+ UZBEK: :uzbek
1285
+ VIETNAMESE: :vietnamese
1286
+ WELSH: :welsh
1287
+ WOLOF: :wolof
1288
+ XHOSA: :xhosa
1289
+ YIDDISH: :yiddish
1290
+ YORUBA: :yoruba
1291
+ ZULU: :zulu
1292
+
1293
+ def self?.values: -> ::Array[ContextDev::Models::BrandRetrieveResponse::Brand::primary_language]
1294
+ end
1295
+
1296
+ type social =
1297
+ {
1298
+ type: ContextDev::Models::BrandRetrieveResponse::Brand::Social::type_,
1299
+ url: String
1300
+ }
1043
1301
 
1044
1302
  class Social < ContextDev::Internal::Type::BaseModel
1045
- attr_reader type: String?
1303
+ attr_reader type: ContextDev::Models::BrandRetrieveResponse::Brand::Social::type_?
1046
1304
 
1047
- def type=: (String) -> String
1305
+ def type=: (
1306
+ ContextDev::Models::BrandRetrieveResponse::Brand::Social::type_
1307
+ ) -> ContextDev::Models::BrandRetrieveResponse::Brand::Social::type_
1048
1308
 
1049
1309
  attr_reader url: String?
1050
1310
 
1051
1311
  def url=: (String) -> String
1052
1312
 
1053
- def initialize: (?type: String, ?url: String) -> void
1313
+ def initialize: (
1314
+ ?type: ContextDev::Models::BrandRetrieveResponse::Brand::Social::type_,
1315
+ ?url: String
1316
+ ) -> void
1054
1317
 
1055
- def to_hash: -> { type: String, url: String }
1318
+ def to_hash: -> {
1319
+ type: ContextDev::Models::BrandRetrieveResponse::Brand::Social::type_,
1320
+ url: String
1321
+ }
1322
+
1323
+ type type_ =
1324
+ :x
1325
+ | :facebook
1326
+ | :instagram
1327
+ | :linkedin
1328
+ | :youtube
1329
+ | :pinterest
1330
+ | :tiktok
1331
+ | :dribbble
1332
+ | :github
1333
+ | :behance
1334
+ | :snapchat
1335
+ | :whatsapp
1336
+ | :telegram
1337
+ | :line
1338
+ | :discord
1339
+ | :twitch
1340
+ | :vimeo
1341
+ | :imdb
1342
+ | :tumblr
1343
+ | :flickr
1344
+ | :giphy
1345
+ | :medium
1346
+ | :spotify
1347
+ | :soundcloud
1348
+ | :tripadvisor
1349
+ | :yelp
1350
+ | :producthunt
1351
+ | :reddit
1352
+ | :crunchbase
1353
+ | :appstore
1354
+ | :playstore
1355
+
1356
+ module Type
1357
+ extend ContextDev::Internal::Type::Enum
1358
+
1359
+ X: :x
1360
+ FACEBOOK: :facebook
1361
+ INSTAGRAM: :instagram
1362
+ LINKEDIN: :linkedin
1363
+ YOUTUBE: :youtube
1364
+ PINTEREST: :pinterest
1365
+ TIKTOK: :tiktok
1366
+ DRIBBBLE: :dribbble
1367
+ GITHUB: :github
1368
+ BEHANCE: :behance
1369
+ SNAPCHAT: :snapchat
1370
+ WHATSAPP: :whatsapp
1371
+ TELEGRAM: :telegram
1372
+ LINE: :line
1373
+ DISCORD: :discord
1374
+ TWITCH: :twitch
1375
+ VIMEO: :vimeo
1376
+ IMDB: :imdb
1377
+ TUMBLR: :tumblr
1378
+ FLICKR: :flickr
1379
+ GIPHY: :giphy
1380
+ MEDIUM: :medium
1381
+ SPOTIFY: :spotify
1382
+ SOUNDCLOUD: :soundcloud
1383
+ TRIPADVISOR: :tripadvisor
1384
+ YELP: :yelp
1385
+ PRODUCTHUNT: :producthunt
1386
+ REDDIT: :reddit
1387
+ CRUNCHBASE: :crunchbase
1388
+ APPSTORE: :appstore
1389
+ PLAYSTORE: :playstore
1390
+
1391
+ def self?.values: -> ::Array[ContextDev::Models::BrandRetrieveResponse::Brand::Social::type_]
1392
+ end
1056
1393
  end
1057
1394
 
1058
1395
  type stock = { exchange: String, ticker: String }
@@ -2,6 +2,7 @@ module ContextDev
2
2
  module Models
3
3
  type web_screenshot_params =
4
4
  {
5
+ direct_url: String,
5
6
  domain: String,
6
7
  full_screenshot: ContextDev::Models::WebScreenshotParams::full_screenshot,
7
8
  page: ContextDev::Models::WebScreenshotParams::page,
@@ -13,7 +14,13 @@ module ContextDev
13
14
  extend ContextDev::Internal::Type::RequestParameters::Converter
14
15
  include ContextDev::Internal::Type::RequestParameters
15
16
 
16
- attr_accessor domain: String
17
+ attr_reader direct_url: String?
18
+
19
+ def direct_url=: (String) -> String
20
+
21
+ attr_reader domain: String?
22
+
23
+ def domain=: (String) -> String
17
24
 
18
25
  attr_reader full_screenshot: ContextDev::Models::WebScreenshotParams::full_screenshot?
19
26
 
@@ -34,7 +41,8 @@ module ContextDev
34
41
  ) -> ContextDev::Models::WebScreenshotParams::prioritize
35
42
 
36
43
  def initialize: (
37
- domain: String,
44
+ ?direct_url: String,
45
+ ?domain: String,
38
46
  ?full_screenshot: ContextDev::Models::WebScreenshotParams::full_screenshot,
39
47
  ?page: ContextDev::Models::WebScreenshotParams::page,
40
48
  ?prioritize: ContextDev::Models::WebScreenshotParams::prioritize,
@@ -42,6 +50,7 @@ module ContextDev
42
50
  ) -> void
43
51
 
44
52
  def to_hash: -> {
53
+ direct_url: String,
45
54
  domain: String,
46
55
  full_screenshot: ContextDev::Models::WebScreenshotParams::full_screenshot,
47
56
  page: ContextDev::Models::WebScreenshotParams::page,
@@ -2,7 +2,8 @@ module ContextDev
2
2
  module Resources
3
3
  class Web
4
4
  def screenshot: (
5
- domain: String,
5
+ ?direct_url: String,
6
+ ?domain: String,
6
7
  ?full_screenshot: ContextDev::Models::WebScreenshotParams::full_screenshot,
7
8
  ?page: ContextDev::Models::WebScreenshotParams::page,
8
9
  ?prioritize: ContextDev::Models::WebScreenshotParams::prioritize,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: context.dev
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Context Dev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-04-04 00:00:00.000000000 Z
11
+ date: 2026-04-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi