brand.dev 0.1.0.pre.alpha.13 → 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 (34) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +49 -0
  3. data/README.md +1 -1
  4. data/lib/brand_dev/internal/transport/base_client.rb +10 -2
  5. data/lib/brand_dev/models/brand_ai_query_response.rb +9 -1
  6. data/lib/brand_dev/models/brand_identify_from_transaction_response.rb +90 -43
  7. data/lib/brand_dev/models/brand_retrieve_by_ticker_response.rb +89 -43
  8. data/lib/brand_dev/models/brand_retrieve_response.rb +89 -44
  9. data/lib/brand_dev/models/brand_retrieve_simplified_response.rb +46 -19
  10. data/lib/brand_dev/models.rb +0 -2
  11. data/lib/brand_dev/resources/brand.rb +0 -27
  12. data/lib/brand_dev/version.rb +1 -1
  13. data/lib/brand_dev.rb +0 -2
  14. data/rbi/brand_dev/models/brand_ai_query_response.rbi +11 -0
  15. data/rbi/brand_dev/models/brand_identify_from_transaction_response.rbi +195 -90
  16. data/rbi/brand_dev/models/brand_retrieve_by_ticker_response.rbi +195 -90
  17. data/rbi/brand_dev/models/brand_retrieve_response.rbi +195 -88
  18. data/rbi/brand_dev/models/brand_retrieve_simplified_response.rbi +121 -25
  19. data/rbi/brand_dev/models.rbi +0 -2
  20. data/rbi/brand_dev/resources/brand.rbi +0 -19
  21. data/sig/brand_dev/models/brand_ai_query_response.rbs +7 -0
  22. data/sig/brand_dev/models/brand_identify_from_transaction_response.rbs +91 -42
  23. data/sig/brand_dev/models/brand_retrieve_by_ticker_response.rbs +91 -42
  24. data/sig/brand_dev/models/brand_retrieve_response.rbs +91 -42
  25. data/sig/brand_dev/models/brand_retrieve_simplified_response.rbs +37 -17
  26. data/sig/brand_dev/models.rbs +0 -2
  27. data/sig/brand_dev/resources/brand.rbs +0 -6
  28. metadata +4 -10
  29. data/lib/brand_dev/models/brand_search_params.rb +0 -35
  30. data/lib/brand_dev/models/brand_search_response.rb +0 -35
  31. data/rbi/brand_dev/models/brand_search_params.rbi +0 -58
  32. data/rbi/brand_dev/models/brand_search_response.rbi +0 -63
  33. data/sig/brand_dev/models/brand_search_params.rbs +0 -30
  34. data/sig/brand_dev/models/brand_search_response.rbs +0 -29
@@ -4,6 +4,7 @@ module BrandDev
4
4
  {
5
5
  data_extracted: ::Array[BrandDev::Models::BrandAIQueryResponse::DataExtracted],
6
6
  domain: String,
7
+ status: String,
7
8
  urls_analyzed: ::Array[String]
8
9
  }
9
10
 
@@ -18,6 +19,10 @@ module BrandDev
18
19
 
19
20
  def domain=: (String) -> String
20
21
 
22
+ attr_reader status: String?
23
+
24
+ def status=: (String) -> String
25
+
21
26
  attr_reader urls_analyzed: ::Array[String]?
22
27
 
23
28
  def urls_analyzed=: (::Array[String]) -> ::Array[String]
@@ -25,12 +30,14 @@ module BrandDev
25
30
  def initialize: (
26
31
  ?data_extracted: ::Array[BrandDev::Models::BrandAIQueryResponse::DataExtracted],
27
32
  ?domain: String,
33
+ ?status: String,
28
34
  ?urls_analyzed: ::Array[String]
29
35
  ) -> void
30
36
 
31
37
  def to_hash: -> {
32
38
  data_extracted: ::Array[BrandDev::Models::BrandAIQueryResponse::DataExtracted],
33
39
  domain: String,
40
+ status: String,
34
41
  urls_analyzed: ::Array[String]
35
42
  }
36
43
 
@@ -41,8 +41,10 @@ module BrandDev
41
41
  colors: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Color],
42
42
  description: String,
43
43
  domain: String,
44
- fonts: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Font],
44
+ email: String,
45
+ is_nsfw: bool,
45
46
  logos: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo],
47
+ phone: String,
46
48
  slogan: String,
47
49
  socials: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Social],
48
50
  stock: BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Stock,
@@ -76,11 +78,13 @@ module BrandDev
76
78
 
77
79
  def domain=: (String) -> String
78
80
 
79
- attr_reader fonts: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Font]?
81
+ attr_reader email: String?
80
82
 
81
- def fonts=: (
82
- ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Font]
83
- ) -> ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Font]
83
+ def email=: (String) -> String
84
+
85
+ attr_reader is_nsfw: bool?
86
+
87
+ def is_nsfw=: (bool) -> bool
84
88
 
85
89
  attr_reader logos: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo]?
86
90
 
@@ -88,6 +92,10 @@ module BrandDev
88
92
  ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo]
89
93
  ) -> ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo]
90
94
 
95
+ attr_reader phone: String?
96
+
97
+ def phone=: (String) -> String
98
+
91
99
  attr_reader slogan: String?
92
100
 
93
101
  def slogan=: (String) -> String
@@ -114,8 +122,10 @@ module BrandDev
114
122
  ?colors: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Color],
115
123
  ?description: String,
116
124
  ?domain: String,
117
- ?fonts: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Font],
125
+ ?email: String,
126
+ ?is_nsfw: bool,
118
127
  ?logos: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo],
128
+ ?phone: String,
119
129
  ?slogan: String,
120
130
  ?socials: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Social],
121
131
  ?stock: BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Stock,
@@ -128,8 +138,10 @@ module BrandDev
128
138
  colors: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Color],
129
139
  description: String,
130
140
  domain: String,
131
- fonts: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Font],
141
+ email: String,
142
+ is_nsfw: bool,
132
143
  logos: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo],
144
+ phone: String,
133
145
  slogan: String,
134
146
  socials: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Social],
135
147
  stock: BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Stock,
@@ -249,9 +261,14 @@ module BrandDev
249
261
  def to_hash: -> { hex: String, name: String }
250
262
  end
251
263
 
252
- type resolution = { height: Integer, width: Integer }
264
+ type resolution =
265
+ { aspect_ratio: Float, height: Integer, width: Integer }
253
266
 
254
267
  class Resolution < BrandDev::Internal::Type::BaseModel
268
+ attr_reader aspect_ratio: Float?
269
+
270
+ def aspect_ratio=: (Float) -> Float
271
+
255
272
  attr_reader height: Integer?
256
273
 
257
274
  def height=: (Integer) -> Integer
@@ -260,9 +277,17 @@ module BrandDev
260
277
 
261
278
  def width=: (Integer) -> Integer
262
279
 
263
- def initialize: (?height: Integer, ?width: Integer) -> void
264
-
265
- def to_hash: -> { height: Integer, width: Integer }
280
+ def initialize: (
281
+ ?aspect_ratio: Float,
282
+ ?height: Integer,
283
+ ?width: Integer
284
+ ) -> void
285
+
286
+ def to_hash: -> {
287
+ aspect_ratio: Float,
288
+ height: Integer,
289
+ width: Integer
290
+ }
266
291
  end
267
292
  end
268
293
 
@@ -282,28 +307,12 @@ module BrandDev
282
307
  def to_hash: -> { hex: String, name: String }
283
308
  end
284
309
 
285
- type font = { name: String, usage: String }
286
-
287
- class Font < BrandDev::Internal::Type::BaseModel
288
- attr_reader name: String?
289
-
290
- def name=: (String) -> String
291
-
292
- attr_reader usage: String?
293
-
294
- def usage=: (String) -> String
295
-
296
- def initialize: (?name: String, ?usage: String) -> void
297
-
298
- def to_hash: -> { name: String, usage: String }
299
- end
300
-
301
310
  type logo =
302
311
  {
303
312
  colors: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::Color],
304
- group: Integer,
305
- mode: String,
313
+ mode: BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::mode,
306
314
  resolution: BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::Resolution,
315
+ type: BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::type_,
307
316
  url: String
308
317
  }
309
318
 
@@ -314,13 +323,11 @@ module BrandDev
314
323
  ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::Color]
315
324
  ) -> ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::Color]
316
325
 
317
- attr_reader group: Integer?
318
-
319
- def group=: (Integer) -> Integer
326
+ attr_reader mode: BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::mode?
320
327
 
321
- attr_reader mode: String?
322
-
323
- def mode=: (String) -> String
328
+ def mode=: (
329
+ BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::mode
330
+ ) -> BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::mode
324
331
 
325
332
  attr_reader resolution: BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::Resolution?
326
333
 
@@ -328,23 +335,29 @@ module BrandDev
328
335
  BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::Resolution
329
336
  ) -> BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::Resolution
330
337
 
338
+ attr_reader type: BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::type_?
339
+
340
+ def type=: (
341
+ BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::type_
342
+ ) -> BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::type_
343
+
331
344
  attr_reader url: String?
332
345
 
333
346
  def url=: (String) -> String
334
347
 
335
348
  def initialize: (
336
349
  ?colors: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::Color],
337
- ?group: Integer,
338
- ?mode: String,
350
+ ?mode: BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::mode,
339
351
  ?resolution: BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::Resolution,
352
+ ?type: BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::type_,
340
353
  ?url: String
341
354
  ) -> void
342
355
 
343
356
  def to_hash: -> {
344
357
  colors: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::Color],
345
- group: Integer,
346
- mode: String,
358
+ mode: BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::mode,
347
359
  resolution: BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::Resolution,
360
+ type: BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::type_,
348
361
  url: String
349
362
  }
350
363
 
@@ -364,9 +377,26 @@ module BrandDev
364
377
  def to_hash: -> { hex: String, name: String }
365
378
  end
366
379
 
367
- type resolution = { height: Integer, width: Integer }
380
+ type mode = :light | :dark | :has_opaque_background
381
+
382
+ module Mode
383
+ extend BrandDev::Internal::Type::Enum
384
+
385
+ LIGHT: :light
386
+ DARK: :dark
387
+ HAS_OPAQUE_BACKGROUND: :has_opaque_background
388
+
389
+ def self?.values: -> ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::mode]
390
+ end
391
+
392
+ type resolution =
393
+ { aspect_ratio: Float, height: Integer, width: Integer }
368
394
 
369
395
  class Resolution < BrandDev::Internal::Type::BaseModel
396
+ attr_reader aspect_ratio: Float?
397
+
398
+ def aspect_ratio=: (Float) -> Float
399
+
370
400
  attr_reader height: Integer?
371
401
 
372
402
  def height=: (Integer) -> Integer
@@ -375,9 +405,28 @@ module BrandDev
375
405
 
376
406
  def width=: (Integer) -> Integer
377
407
 
378
- def initialize: (?height: Integer, ?width: Integer) -> void
408
+ def initialize: (
409
+ ?aspect_ratio: Float,
410
+ ?height: Integer,
411
+ ?width: Integer
412
+ ) -> void
413
+
414
+ def to_hash: -> {
415
+ aspect_ratio: Float,
416
+ height: Integer,
417
+ width: Integer
418
+ }
419
+ end
420
+
421
+ type type_ = :icon | :logo
422
+
423
+ module Type
424
+ extend BrandDev::Internal::Type::Enum
425
+
426
+ ICON: :icon
427
+ LOGO: :logo
379
428
 
380
- def to_hash: -> { height: Integer, width: Integer }
429
+ def self?.values: -> ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::type_]
381
430
  end
382
431
  end
383
432
 
@@ -41,8 +41,10 @@ module BrandDev
41
41
  colors: ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Color],
42
42
  description: String,
43
43
  domain: String,
44
- fonts: ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Font],
44
+ email: String,
45
+ is_nsfw: bool,
45
46
  logos: ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo],
47
+ phone: String,
46
48
  slogan: String,
47
49
  socials: ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Social],
48
50
  stock: BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Stock,
@@ -76,11 +78,13 @@ module BrandDev
76
78
 
77
79
  def domain=: (String) -> String
78
80
 
79
- attr_reader fonts: ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Font]?
81
+ attr_reader email: String?
80
82
 
81
- def fonts=: (
82
- ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Font]
83
- ) -> ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Font]
83
+ def email=: (String) -> String
84
+
85
+ attr_reader is_nsfw: bool?
86
+
87
+ def is_nsfw=: (bool) -> bool
84
88
 
85
89
  attr_reader logos: ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo]?
86
90
 
@@ -88,6 +92,10 @@ module BrandDev
88
92
  ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo]
89
93
  ) -> ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo]
90
94
 
95
+ attr_reader phone: String?
96
+
97
+ def phone=: (String) -> String
98
+
91
99
  attr_reader slogan: String?
92
100
 
93
101
  def slogan=: (String) -> String
@@ -114,8 +122,10 @@ module BrandDev
114
122
  ?colors: ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Color],
115
123
  ?description: String,
116
124
  ?domain: String,
117
- ?fonts: ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Font],
125
+ ?email: String,
126
+ ?is_nsfw: bool,
118
127
  ?logos: ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo],
128
+ ?phone: String,
119
129
  ?slogan: String,
120
130
  ?socials: ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Social],
121
131
  ?stock: BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Stock,
@@ -128,8 +138,10 @@ module BrandDev
128
138
  colors: ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Color],
129
139
  description: String,
130
140
  domain: String,
131
- fonts: ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Font],
141
+ email: String,
142
+ is_nsfw: bool,
132
143
  logos: ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo],
144
+ phone: String,
133
145
  slogan: String,
134
146
  socials: ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Social],
135
147
  stock: BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Stock,
@@ -249,9 +261,14 @@ module BrandDev
249
261
  def to_hash: -> { hex: String, name: String }
250
262
  end
251
263
 
252
- type resolution = { height: Integer, width: Integer }
264
+ type resolution =
265
+ { aspect_ratio: Float, height: Integer, width: Integer }
253
266
 
254
267
  class Resolution < BrandDev::Internal::Type::BaseModel
268
+ attr_reader aspect_ratio: Float?
269
+
270
+ def aspect_ratio=: (Float) -> Float
271
+
255
272
  attr_reader height: Integer?
256
273
 
257
274
  def height=: (Integer) -> Integer
@@ -260,9 +277,17 @@ module BrandDev
260
277
 
261
278
  def width=: (Integer) -> Integer
262
279
 
263
- def initialize: (?height: Integer, ?width: Integer) -> void
264
-
265
- def to_hash: -> { height: Integer, width: Integer }
280
+ def initialize: (
281
+ ?aspect_ratio: Float,
282
+ ?height: Integer,
283
+ ?width: Integer
284
+ ) -> void
285
+
286
+ def to_hash: -> {
287
+ aspect_ratio: Float,
288
+ height: Integer,
289
+ width: Integer
290
+ }
266
291
  end
267
292
  end
268
293
 
@@ -282,28 +307,12 @@ module BrandDev
282
307
  def to_hash: -> { hex: String, name: String }
283
308
  end
284
309
 
285
- type font = { name: String, usage: String }
286
-
287
- class Font < BrandDev::Internal::Type::BaseModel
288
- attr_reader name: String?
289
-
290
- def name=: (String) -> String
291
-
292
- attr_reader usage: String?
293
-
294
- def usage=: (String) -> String
295
-
296
- def initialize: (?name: String, ?usage: String) -> void
297
-
298
- def to_hash: -> { name: String, usage: String }
299
- end
300
-
301
310
  type logo =
302
311
  {
303
312
  colors: ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::Color],
304
- group: Integer,
305
- mode: String,
313
+ mode: BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::mode,
306
314
  resolution: BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::Resolution,
315
+ type: BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::type_,
307
316
  url: String
308
317
  }
309
318
 
@@ -314,13 +323,11 @@ module BrandDev
314
323
  ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::Color]
315
324
  ) -> ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::Color]
316
325
 
317
- attr_reader group: Integer?
318
-
319
- def group=: (Integer) -> Integer
326
+ attr_reader mode: BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::mode?
320
327
 
321
- attr_reader mode: String?
322
-
323
- def mode=: (String) -> String
328
+ def mode=: (
329
+ BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::mode
330
+ ) -> BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::mode
324
331
 
325
332
  attr_reader resolution: BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::Resolution?
326
333
 
@@ -328,23 +335,29 @@ module BrandDev
328
335
  BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::Resolution
329
336
  ) -> BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::Resolution
330
337
 
338
+ attr_reader type: BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::type_?
339
+
340
+ def type=: (
341
+ BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::type_
342
+ ) -> BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::type_
343
+
331
344
  attr_reader url: String?
332
345
 
333
346
  def url=: (String) -> String
334
347
 
335
348
  def initialize: (
336
349
  ?colors: ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::Color],
337
- ?group: Integer,
338
- ?mode: String,
350
+ ?mode: BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::mode,
339
351
  ?resolution: BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::Resolution,
352
+ ?type: BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::type_,
340
353
  ?url: String
341
354
  ) -> void
342
355
 
343
356
  def to_hash: -> {
344
357
  colors: ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::Color],
345
- group: Integer,
346
- mode: String,
358
+ mode: BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::mode,
347
359
  resolution: BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::Resolution,
360
+ type: BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::type_,
348
361
  url: String
349
362
  }
350
363
 
@@ -364,9 +377,26 @@ module BrandDev
364
377
  def to_hash: -> { hex: String, name: String }
365
378
  end
366
379
 
367
- type resolution = { height: Integer, width: Integer }
380
+ type mode = :light | :dark | :has_opaque_background
381
+
382
+ module Mode
383
+ extend BrandDev::Internal::Type::Enum
384
+
385
+ LIGHT: :light
386
+ DARK: :dark
387
+ HAS_OPAQUE_BACKGROUND: :has_opaque_background
388
+
389
+ def self?.values: -> ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::mode]
390
+ end
391
+
392
+ type resolution =
393
+ { aspect_ratio: Float, height: Integer, width: Integer }
368
394
 
369
395
  class Resolution < BrandDev::Internal::Type::BaseModel
396
+ attr_reader aspect_ratio: Float?
397
+
398
+ def aspect_ratio=: (Float) -> Float
399
+
370
400
  attr_reader height: Integer?
371
401
 
372
402
  def height=: (Integer) -> Integer
@@ -375,9 +405,28 @@ module BrandDev
375
405
 
376
406
  def width=: (Integer) -> Integer
377
407
 
378
- def initialize: (?height: Integer, ?width: Integer) -> void
408
+ def initialize: (
409
+ ?aspect_ratio: Float,
410
+ ?height: Integer,
411
+ ?width: Integer
412
+ ) -> void
413
+
414
+ def to_hash: -> {
415
+ aspect_ratio: Float,
416
+ height: Integer,
417
+ width: Integer
418
+ }
419
+ end
420
+
421
+ type type_ = :icon | :logo
422
+
423
+ module Type
424
+ extend BrandDev::Internal::Type::Enum
425
+
426
+ ICON: :icon
427
+ LOGO: :logo
379
428
 
380
- def to_hash: -> { height: Integer, width: Integer }
429
+ def self?.values: -> ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::type_]
381
430
  end
382
431
  end
383
432