brand.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 +8 -0
- data/README.md +1 -1
- data/lib/brand_dev/models/brand_ai_query_response.rb +1 -9
- data/lib/brand_dev/models/brand_identify_from_transaction_response.rb +85 -18
- data/lib/brand_dev/models/brand_retrieve_by_ticker_response.rb +84 -18
- data/lib/brand_dev/models/brand_retrieve_response.rb +84 -18
- data/lib/brand_dev/models/brand_retrieve_simplified_response.rb +46 -19
- data/lib/brand_dev/version.rb +1 -1
- data/rbi/brand_dev/models/brand_ai_query_response.rbi +0 -11
- data/rbi/brand_dev/models/brand_identify_from_transaction_response.rbi +186 -23
- data/rbi/brand_dev/models/brand_retrieve_by_ticker_response.rbi +186 -23
- data/rbi/brand_dev/models/brand_retrieve_response.rbi +186 -23
- data/rbi/brand_dev/models/brand_retrieve_simplified_response.rbi +121 -25
- data/sig/brand_dev/models/brand_ai_query_response.rbs +0 -7
- data/sig/brand_dev/models/brand_identify_from_transaction_response.rbs +86 -19
- data/sig/brand_dev/models/brand_retrieve_by_ticker_response.rbs +86 -19
- data/sig/brand_dev/models/brand_retrieve_response.rbs +86 -19
- data/sig/brand_dev/models/brand_retrieve_simplified_response.rbs +37 -17
- metadata +1 -1
@@ -472,18 +472,24 @@ module BrandDev
|
|
472
472
|
end
|
473
473
|
attr_writer :colors
|
474
474
|
|
475
|
-
#
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
475
|
+
# Indicates when this logo is best used: 'light' = best for light mode, 'dark' =
|
476
|
+
# best for dark mode, 'has_opaque_background' = can be used for either as image
|
477
|
+
# has its own background
|
478
|
+
sig do
|
479
|
+
returns(
|
480
|
+
T.nilable(
|
481
|
+
BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::Mode::TaggedSymbol
|
482
|
+
)
|
483
|
+
)
|
484
|
+
end
|
484
485
|
attr_reader :mode
|
485
486
|
|
486
|
-
sig
|
487
|
+
sig do
|
488
|
+
params(
|
489
|
+
mode:
|
490
|
+
BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::Mode::OrSymbol
|
491
|
+
).void
|
492
|
+
end
|
487
493
|
attr_writer :mode
|
488
494
|
|
489
495
|
# Resolution of the logo image
|
@@ -504,14 +510,25 @@ module BrandDev
|
|
504
510
|
end
|
505
511
|
attr_writer :resolution
|
506
512
|
|
507
|
-
# Type of the logo based on resolution (e.g., 'icon', 'logo'
|
508
|
-
sig
|
513
|
+
# Type of the logo based on resolution (e.g., 'icon', 'logo')
|
514
|
+
sig do
|
515
|
+
returns(
|
516
|
+
T.nilable(
|
517
|
+
BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::Type::TaggedSymbol
|
518
|
+
)
|
519
|
+
)
|
520
|
+
end
|
509
521
|
attr_reader :type
|
510
522
|
|
511
|
-
sig
|
523
|
+
sig do
|
524
|
+
params(
|
525
|
+
type:
|
526
|
+
BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::Type::OrSymbol
|
527
|
+
).void
|
528
|
+
end
|
512
529
|
attr_writer :type
|
513
530
|
|
514
|
-
#
|
531
|
+
# CDN hosted url of the logo (ready for display)
|
515
532
|
sig { returns(T.nilable(String)) }
|
516
533
|
attr_reader :url
|
517
534
|
|
@@ -524,26 +541,27 @@ module BrandDev
|
|
524
541
|
T::Array[
|
525
542
|
BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::Color::OrHash
|
526
543
|
],
|
527
|
-
|
528
|
-
|
544
|
+
mode:
|
545
|
+
BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::Mode::OrSymbol,
|
529
546
|
resolution:
|
530
547
|
BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::Resolution::OrHash,
|
531
|
-
type:
|
548
|
+
type:
|
549
|
+
BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::Type::OrSymbol,
|
532
550
|
url: String
|
533
551
|
).returns(T.attached_class)
|
534
552
|
end
|
535
553
|
def self.new(
|
536
554
|
# Array of colors in the logo
|
537
555
|
colors: nil,
|
538
|
-
#
|
539
|
-
|
540
|
-
#
|
556
|
+
# Indicates when this logo is best used: 'light' = best for light mode, 'dark' =
|
557
|
+
# best for dark mode, 'has_opaque_background' = can be used for either as image
|
558
|
+
# has its own background
|
541
559
|
mode: nil,
|
542
560
|
# Resolution of the logo image
|
543
561
|
resolution: nil,
|
544
|
-
# Type of the logo based on resolution (e.g., 'icon', 'logo'
|
562
|
+
# Type of the logo based on resolution (e.g., 'icon', 'logo')
|
545
563
|
type: nil,
|
546
|
-
#
|
564
|
+
# CDN hosted url of the logo (ready for display)
|
547
565
|
url: nil
|
548
566
|
)
|
549
567
|
end
|
@@ -555,11 +573,12 @@ module BrandDev
|
|
555
573
|
T::Array[
|
556
574
|
BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::Color
|
557
575
|
],
|
558
|
-
|
559
|
-
|
576
|
+
mode:
|
577
|
+
BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::Mode::TaggedSymbol,
|
560
578
|
resolution:
|
561
579
|
BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::Resolution,
|
562
|
-
type:
|
580
|
+
type:
|
581
|
+
BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::Type::TaggedSymbol,
|
563
582
|
url: String
|
564
583
|
}
|
565
584
|
)
|
@@ -604,6 +623,48 @@ module BrandDev
|
|
604
623
|
end
|
605
624
|
end
|
606
625
|
|
626
|
+
# Indicates when this logo is best used: 'light' = best for light mode, 'dark' =
|
627
|
+
# best for dark mode, 'has_opaque_background' = can be used for either as image
|
628
|
+
# has its own background
|
629
|
+
module Mode
|
630
|
+
extend BrandDev::Internal::Type::Enum
|
631
|
+
|
632
|
+
TaggedSymbol =
|
633
|
+
T.type_alias do
|
634
|
+
T.all(
|
635
|
+
Symbol,
|
636
|
+
BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::Mode
|
637
|
+
)
|
638
|
+
end
|
639
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
640
|
+
|
641
|
+
LIGHT =
|
642
|
+
T.let(
|
643
|
+
:light,
|
644
|
+
BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::Mode::TaggedSymbol
|
645
|
+
)
|
646
|
+
DARK =
|
647
|
+
T.let(
|
648
|
+
:dark,
|
649
|
+
BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::Mode::TaggedSymbol
|
650
|
+
)
|
651
|
+
HAS_OPAQUE_BACKGROUND =
|
652
|
+
T.let(
|
653
|
+
:has_opaque_background,
|
654
|
+
BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::Mode::TaggedSymbol
|
655
|
+
)
|
656
|
+
|
657
|
+
sig do
|
658
|
+
override.returns(
|
659
|
+
T::Array[
|
660
|
+
BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::Mode::TaggedSymbol
|
661
|
+
]
|
662
|
+
)
|
663
|
+
end
|
664
|
+
def self.values
|
665
|
+
end
|
666
|
+
end
|
667
|
+
|
607
668
|
class Resolution < BrandDev::Internal::Type::BaseModel
|
608
669
|
OrHash =
|
609
670
|
T.type_alias do
|
@@ -660,6 +721,41 @@ module BrandDev
|
|
660
721
|
def to_hash
|
661
722
|
end
|
662
723
|
end
|
724
|
+
|
725
|
+
# Type of the logo based on resolution (e.g., 'icon', 'logo')
|
726
|
+
module Type
|
727
|
+
extend BrandDev::Internal::Type::Enum
|
728
|
+
|
729
|
+
TaggedSymbol =
|
730
|
+
T.type_alias do
|
731
|
+
T.all(
|
732
|
+
Symbol,
|
733
|
+
BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::Type
|
734
|
+
)
|
735
|
+
end
|
736
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
737
|
+
|
738
|
+
ICON =
|
739
|
+
T.let(
|
740
|
+
:icon,
|
741
|
+
BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::Type::TaggedSymbol
|
742
|
+
)
|
743
|
+
LOGO =
|
744
|
+
T.let(
|
745
|
+
:logo,
|
746
|
+
BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::Type::TaggedSymbol
|
747
|
+
)
|
748
|
+
|
749
|
+
sig do
|
750
|
+
override.returns(
|
751
|
+
T::Array[
|
752
|
+
BrandDev::Models::BrandRetrieveSimplifiedResponse::Brand::Logo::Type::TaggedSymbol
|
753
|
+
]
|
754
|
+
)
|
755
|
+
end
|
756
|
+
def self.values
|
757
|
+
end
|
758
|
+
end
|
663
759
|
end
|
664
760
|
end
|
665
761
|
end
|
@@ -2,7 +2,6 @@ module BrandDev
|
|
2
2
|
module Models
|
3
3
|
type brand_ai_query_response =
|
4
4
|
{
|
5
|
-
code: Integer,
|
6
5
|
data_extracted: ::Array[BrandDev::Models::BrandAIQueryResponse::DataExtracted],
|
7
6
|
domain: String,
|
8
7
|
status: String,
|
@@ -10,10 +9,6 @@ module BrandDev
|
|
10
9
|
}
|
11
10
|
|
12
11
|
class BrandAIQueryResponse < BrandDev::Internal::Type::BaseModel
|
13
|
-
attr_reader code: Integer?
|
14
|
-
|
15
|
-
def code=: (Integer) -> Integer
|
16
|
-
|
17
12
|
attr_reader data_extracted: ::Array[BrandDev::Models::BrandAIQueryResponse::DataExtracted]?
|
18
13
|
|
19
14
|
def data_extracted=: (
|
@@ -33,7 +28,6 @@ module BrandDev
|
|
33
28
|
def urls_analyzed=: (::Array[String]) -> ::Array[String]
|
34
29
|
|
35
30
|
def initialize: (
|
36
|
-
?code: Integer,
|
37
31
|
?data_extracted: ::Array[BrandDev::Models::BrandAIQueryResponse::DataExtracted],
|
38
32
|
?domain: String,
|
39
33
|
?status: String,
|
@@ -41,7 +35,6 @@ module BrandDev
|
|
41
35
|
) -> void
|
42
36
|
|
43
37
|
def to_hash: -> {
|
44
|
-
code: Integer,
|
45
38
|
data_extracted: ::Array[BrandDev::Models::BrandAIQueryResponse::DataExtracted],
|
46
39
|
domain: String,
|
47
40
|
status: String,
|
@@ -41,8 +41,10 @@ module BrandDev
|
|
41
41
|
colors: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Color],
|
42
42
|
description: String,
|
43
43
|
domain: String,
|
44
|
+
email: String,
|
44
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,6 +78,10 @@ module BrandDev
|
|
76
78
|
|
77
79
|
def domain=: (String) -> String
|
78
80
|
|
81
|
+
attr_reader email: String?
|
82
|
+
|
83
|
+
def email=: (String) -> String
|
84
|
+
|
79
85
|
attr_reader is_nsfw: bool?
|
80
86
|
|
81
87
|
def is_nsfw=: (bool) -> bool
|
@@ -86,6 +92,10 @@ module BrandDev
|
|
86
92
|
::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo]
|
87
93
|
) -> ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo]
|
88
94
|
|
95
|
+
attr_reader phone: String?
|
96
|
+
|
97
|
+
def phone=: (String) -> String
|
98
|
+
|
89
99
|
attr_reader slogan: String?
|
90
100
|
|
91
101
|
def slogan=: (String) -> String
|
@@ -112,8 +122,10 @@ module BrandDev
|
|
112
122
|
?colors: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Color],
|
113
123
|
?description: String,
|
114
124
|
?domain: String,
|
125
|
+
?email: String,
|
115
126
|
?is_nsfw: bool,
|
116
127
|
?logos: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo],
|
128
|
+
?phone: String,
|
117
129
|
?slogan: String,
|
118
130
|
?socials: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Social],
|
119
131
|
?stock: BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Stock,
|
@@ -126,8 +138,10 @@ module BrandDev
|
|
126
138
|
colors: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Color],
|
127
139
|
description: String,
|
128
140
|
domain: String,
|
141
|
+
email: String,
|
129
142
|
is_nsfw: bool,
|
130
143
|
logos: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo],
|
144
|
+
phone: String,
|
131
145
|
slogan: String,
|
132
146
|
socials: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Social],
|
133
147
|
stock: BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Stock,
|
@@ -247,9 +261,14 @@ module BrandDev
|
|
247
261
|
def to_hash: -> { hex: String, name: String }
|
248
262
|
end
|
249
263
|
|
250
|
-
type resolution =
|
264
|
+
type resolution =
|
265
|
+
{ aspect_ratio: Float, height: Integer, width: Integer }
|
251
266
|
|
252
267
|
class Resolution < BrandDev::Internal::Type::BaseModel
|
268
|
+
attr_reader aspect_ratio: Float?
|
269
|
+
|
270
|
+
def aspect_ratio=: (Float) -> Float
|
271
|
+
|
253
272
|
attr_reader height: Integer?
|
254
273
|
|
255
274
|
def height=: (Integer) -> Integer
|
@@ -258,9 +277,17 @@ module BrandDev
|
|
258
277
|
|
259
278
|
def width=: (Integer) -> Integer
|
260
279
|
|
261
|
-
def initialize: (
|
262
|
-
|
263
|
-
|
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
|
+
}
|
264
291
|
end
|
265
292
|
end
|
266
293
|
|
@@ -283,9 +310,9 @@ module BrandDev
|
|
283
310
|
type logo =
|
284
311
|
{
|
285
312
|
colors: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::Color],
|
286
|
-
|
287
|
-
mode: String,
|
313
|
+
mode: BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::mode,
|
288
314
|
resolution: BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::Resolution,
|
315
|
+
type: BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::type_,
|
289
316
|
url: String
|
290
317
|
}
|
291
318
|
|
@@ -296,13 +323,11 @@ module BrandDev
|
|
296
323
|
::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::Color]
|
297
324
|
) -> ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::Color]
|
298
325
|
|
299
|
-
attr_reader
|
300
|
-
|
301
|
-
def group=: (Integer) -> Integer
|
302
|
-
|
303
|
-
attr_reader mode: String?
|
326
|
+
attr_reader mode: BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::mode?
|
304
327
|
|
305
|
-
def mode=: (
|
328
|
+
def mode=: (
|
329
|
+
BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::mode
|
330
|
+
) -> BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::mode
|
306
331
|
|
307
332
|
attr_reader resolution: BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::Resolution?
|
308
333
|
|
@@ -310,23 +335,29 @@ module BrandDev
|
|
310
335
|
BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::Resolution
|
311
336
|
) -> BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::Resolution
|
312
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
|
+
|
313
344
|
attr_reader url: String?
|
314
345
|
|
315
346
|
def url=: (String) -> String
|
316
347
|
|
317
348
|
def initialize: (
|
318
349
|
?colors: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::Color],
|
319
|
-
?
|
320
|
-
?mode: String,
|
350
|
+
?mode: BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::mode,
|
321
351
|
?resolution: BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::Resolution,
|
352
|
+
?type: BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::type_,
|
322
353
|
?url: String
|
323
354
|
) -> void
|
324
355
|
|
325
356
|
def to_hash: -> {
|
326
357
|
colors: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::Color],
|
327
|
-
|
328
|
-
mode: String,
|
358
|
+
mode: BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::mode,
|
329
359
|
resolution: BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::Resolution,
|
360
|
+
type: BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::type_,
|
330
361
|
url: String
|
331
362
|
}
|
332
363
|
|
@@ -346,9 +377,26 @@ module BrandDev
|
|
346
377
|
def to_hash: -> { hex: String, name: String }
|
347
378
|
end
|
348
379
|
|
349
|
-
type
|
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 }
|
350
394
|
|
351
395
|
class Resolution < BrandDev::Internal::Type::BaseModel
|
396
|
+
attr_reader aspect_ratio: Float?
|
397
|
+
|
398
|
+
def aspect_ratio=: (Float) -> Float
|
399
|
+
|
352
400
|
attr_reader height: Integer?
|
353
401
|
|
354
402
|
def height=: (Integer) -> Integer
|
@@ -357,9 +405,28 @@ module BrandDev
|
|
357
405
|
|
358
406
|
def width=: (Integer) -> Integer
|
359
407
|
|
360
|
-
def initialize: (
|
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
|
361
428
|
|
362
|
-
def
|
429
|
+
def self?.values: -> ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::type_]
|
363
430
|
end
|
364
431
|
end
|
365
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
|
+
email: String,
|
44
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,6 +78,10 @@ module BrandDev
|
|
76
78
|
|
77
79
|
def domain=: (String) -> String
|
78
80
|
|
81
|
+
attr_reader email: String?
|
82
|
+
|
83
|
+
def email=: (String) -> String
|
84
|
+
|
79
85
|
attr_reader is_nsfw: bool?
|
80
86
|
|
81
87
|
def is_nsfw=: (bool) -> bool
|
@@ -86,6 +92,10 @@ module BrandDev
|
|
86
92
|
::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo]
|
87
93
|
) -> ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo]
|
88
94
|
|
95
|
+
attr_reader phone: String?
|
96
|
+
|
97
|
+
def phone=: (String) -> String
|
98
|
+
|
89
99
|
attr_reader slogan: String?
|
90
100
|
|
91
101
|
def slogan=: (String) -> String
|
@@ -112,8 +122,10 @@ module BrandDev
|
|
112
122
|
?colors: ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Color],
|
113
123
|
?description: String,
|
114
124
|
?domain: String,
|
125
|
+
?email: String,
|
115
126
|
?is_nsfw: bool,
|
116
127
|
?logos: ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo],
|
128
|
+
?phone: String,
|
117
129
|
?slogan: String,
|
118
130
|
?socials: ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Social],
|
119
131
|
?stock: BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Stock,
|
@@ -126,8 +138,10 @@ module BrandDev
|
|
126
138
|
colors: ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Color],
|
127
139
|
description: String,
|
128
140
|
domain: String,
|
141
|
+
email: String,
|
129
142
|
is_nsfw: bool,
|
130
143
|
logos: ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo],
|
144
|
+
phone: String,
|
131
145
|
slogan: String,
|
132
146
|
socials: ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Social],
|
133
147
|
stock: BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Stock,
|
@@ -247,9 +261,14 @@ module BrandDev
|
|
247
261
|
def to_hash: -> { hex: String, name: String }
|
248
262
|
end
|
249
263
|
|
250
|
-
type resolution =
|
264
|
+
type resolution =
|
265
|
+
{ aspect_ratio: Float, height: Integer, width: Integer }
|
251
266
|
|
252
267
|
class Resolution < BrandDev::Internal::Type::BaseModel
|
268
|
+
attr_reader aspect_ratio: Float?
|
269
|
+
|
270
|
+
def aspect_ratio=: (Float) -> Float
|
271
|
+
|
253
272
|
attr_reader height: Integer?
|
254
273
|
|
255
274
|
def height=: (Integer) -> Integer
|
@@ -258,9 +277,17 @@ module BrandDev
|
|
258
277
|
|
259
278
|
def width=: (Integer) -> Integer
|
260
279
|
|
261
|
-
def initialize: (
|
262
|
-
|
263
|
-
|
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
|
+
}
|
264
291
|
end
|
265
292
|
end
|
266
293
|
|
@@ -283,9 +310,9 @@ module BrandDev
|
|
283
310
|
type logo =
|
284
311
|
{
|
285
312
|
colors: ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::Color],
|
286
|
-
|
287
|
-
mode: String,
|
313
|
+
mode: BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::mode,
|
288
314
|
resolution: BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::Resolution,
|
315
|
+
type: BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::type_,
|
289
316
|
url: String
|
290
317
|
}
|
291
318
|
|
@@ -296,13 +323,11 @@ module BrandDev
|
|
296
323
|
::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::Color]
|
297
324
|
) -> ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::Color]
|
298
325
|
|
299
|
-
attr_reader
|
300
|
-
|
301
|
-
def group=: (Integer) -> Integer
|
302
|
-
|
303
|
-
attr_reader mode: String?
|
326
|
+
attr_reader mode: BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::mode?
|
304
327
|
|
305
|
-
def mode=: (
|
328
|
+
def mode=: (
|
329
|
+
BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::mode
|
330
|
+
) -> BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::mode
|
306
331
|
|
307
332
|
attr_reader resolution: BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::Resolution?
|
308
333
|
|
@@ -310,23 +335,29 @@ module BrandDev
|
|
310
335
|
BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::Resolution
|
311
336
|
) -> BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::Resolution
|
312
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
|
+
|
313
344
|
attr_reader url: String?
|
314
345
|
|
315
346
|
def url=: (String) -> String
|
316
347
|
|
317
348
|
def initialize: (
|
318
349
|
?colors: ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::Color],
|
319
|
-
?
|
320
|
-
?mode: String,
|
350
|
+
?mode: BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::mode,
|
321
351
|
?resolution: BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::Resolution,
|
352
|
+
?type: BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::type_,
|
322
353
|
?url: String
|
323
354
|
) -> void
|
324
355
|
|
325
356
|
def to_hash: -> {
|
326
357
|
colors: ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::Color],
|
327
|
-
|
328
|
-
mode: String,
|
358
|
+
mode: BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::mode,
|
329
359
|
resolution: BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::Resolution,
|
360
|
+
type: BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::type_,
|
330
361
|
url: String
|
331
362
|
}
|
332
363
|
|
@@ -346,9 +377,26 @@ module BrandDev
|
|
346
377
|
def to_hash: -> { hex: String, name: String }
|
347
378
|
end
|
348
379
|
|
349
|
-
type
|
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 }
|
350
394
|
|
351
395
|
class Resolution < BrandDev::Internal::Type::BaseModel
|
396
|
+
attr_reader aspect_ratio: Float?
|
397
|
+
|
398
|
+
def aspect_ratio=: (Float) -> Float
|
399
|
+
|
352
400
|
attr_reader height: Integer?
|
353
401
|
|
354
402
|
def height=: (Integer) -> Integer
|
@@ -357,9 +405,28 @@ module BrandDev
|
|
357
405
|
|
358
406
|
def width=: (Integer) -> Integer
|
359
407
|
|
360
|
-
def initialize: (
|
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
|
361
428
|
|
362
|
-
def
|
429
|
+
def self?.values: -> ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::type_]
|
363
430
|
end
|
364
431
|
end
|
365
432
|
|