brand.dev 0.3.1 → 0.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/README.md +1 -1
- data/lib/brand_dev/models/brand_identify_from_transaction_response.rb +63 -1
- data/lib/brand_dev/models/brand_retrieve_response.rb +63 -1
- data/lib/brand_dev/models/brand_styleguide_response.rb +22 -1
- data/lib/brand_dev/version.rb +1 -1
- data/rbi/brand_dev/models/brand_identify_from_transaction_response.rbi +100 -0
- data/rbi/brand_dev/models/brand_retrieve_response.rbi +96 -0
- data/rbi/brand_dev/models/brand_styleguide_response.rbi +59 -0
- data/sig/brand_dev/models/brand_identify_from_transaction_response.rbs +51 -0
- data/sig/brand_dev/models/brand_retrieve_response.rbs +51 -0
- data/sig/brand_dev/models/brand_styleguide_response.rbs +20 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd80bfd3291f6dea751212e0c75b8542ffbd35a44b5d7254dc91fac6b85b4c95
|
4
|
+
data.tar.gz: 918e7e03aaec2ecd1adbaf76c0c8ed0caf9109131825036229af7ffc63b1bf3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29238a926b5fd58a27f2ed145a6dee449b949e30cab58cb531b58a41b58de80e99d8dc943fdb77df6cf7176c5ebc1f0c4bb2fe8b9d7db05c358936df0f94b2d2
|
7
|
+
data.tar.gz: 10bb921f8597fb527a33a37accfd0486795aaa7ffcdbd78c3a84af6e7514ddf25f3dc437d87a6c929204f927136fc03a8c365a64bd2b0ecc596393ed7aa0cb90
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 0.4.0 (2025-09-07)
|
4
|
+
|
5
|
+
Full Changelog: [v0.3.2...v0.4.0](https://github.com/brand-dot-dev/ruby-sdk/compare/v0.3.2...v0.4.0)
|
6
|
+
|
7
|
+
### Features
|
8
|
+
|
9
|
+
* **api:** api update ([9be3c02](https://github.com/brand-dot-dev/ruby-sdk/commit/9be3c02e8fb2cca9d96e153d2bda411423e483ad))
|
10
|
+
|
11
|
+
## 0.3.2 (2025-08-25)
|
12
|
+
|
13
|
+
Full Changelog: [v0.3.1...v0.3.2](https://github.com/brand-dot-dev/ruby-sdk/compare/v0.3.1...v0.3.2)
|
14
|
+
|
15
|
+
### Chores
|
16
|
+
|
17
|
+
* add json schema comment for rubocop.yml ([5262bda](https://github.com/brand-dot-dev/ruby-sdk/commit/5262bdacb001ad4ad901f7bd79c782a04783afdc))
|
18
|
+
|
3
19
|
## 0.3.1 (2025-08-20)
|
4
20
|
|
5
21
|
Full Changelog: [v0.3.0...v0.3.1](https://github.com/brand-dot-dev/ruby-sdk/compare/v0.3.0...v0.3.1)
|
data/README.md
CHANGED
@@ -81,6 +81,12 @@ module BrandDev
|
|
81
81
|
# @return [Boolean, nil]
|
82
82
|
optional :is_nsfw, BrandDev::Internal::Type::Boolean
|
83
83
|
|
84
|
+
# @!attribute links
|
85
|
+
# Important website links for the brand
|
86
|
+
#
|
87
|
+
# @return [BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Links, nil]
|
88
|
+
optional :links, -> { BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Links }
|
89
|
+
|
84
90
|
# @!attribute logos
|
85
91
|
# An array of logos associated with the brand
|
86
92
|
#
|
@@ -120,7 +126,7 @@ module BrandDev
|
|
120
126
|
# @return [String, nil]
|
121
127
|
optional :title, String
|
122
128
|
|
123
|
-
# @!method initialize(address: nil, backdrops: nil, colors: nil, description: nil, domain: nil, email: nil, industries: nil, is_nsfw: nil, logos: nil, phone: nil, slogan: nil, socials: nil, stock: nil, title: nil)
|
129
|
+
# @!method initialize(address: nil, backdrops: nil, colors: nil, description: nil, domain: nil, email: nil, industries: nil, is_nsfw: nil, links: nil, logos: nil, phone: nil, slogan: nil, socials: nil, stock: nil, title: nil)
|
124
130
|
# Some parameter documentations has been truncated, see
|
125
131
|
# {BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand} for more
|
126
132
|
# details.
|
@@ -143,6 +149,8 @@ module BrandDev
|
|
143
149
|
#
|
144
150
|
# @param is_nsfw [Boolean] Indicates whether the brand content is not safe for work (NSFW)
|
145
151
|
#
|
152
|
+
# @param links [BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Links] Important website links for the brand
|
153
|
+
#
|
146
154
|
# @param logos [Array<BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo>] An array of logos associated with the brand
|
147
155
|
#
|
148
156
|
# @param phone [String] Company phone number
|
@@ -616,6 +624,60 @@ module BrandDev
|
|
616
624
|
end
|
617
625
|
end
|
618
626
|
|
627
|
+
# @see BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand#links
|
628
|
+
class Links < BrandDev::Internal::Type::BaseModel
|
629
|
+
# @!attribute blog
|
630
|
+
# URL to the brand's blog or news page
|
631
|
+
#
|
632
|
+
# @return [String, nil]
|
633
|
+
optional :blog, String, nil?: true
|
634
|
+
|
635
|
+
# @!attribute careers
|
636
|
+
# URL to the brand's careers or job opportunities page
|
637
|
+
#
|
638
|
+
# @return [String, nil]
|
639
|
+
optional :careers, String, nil?: true
|
640
|
+
|
641
|
+
# @!attribute contact
|
642
|
+
# URL to the brand's contact or contact us page
|
643
|
+
#
|
644
|
+
# @return [String, nil]
|
645
|
+
optional :contact, String, nil?: true
|
646
|
+
|
647
|
+
# @!attribute pricing
|
648
|
+
# URL to the brand's pricing or plans page
|
649
|
+
#
|
650
|
+
# @return [String, nil]
|
651
|
+
optional :pricing, String, nil?: true
|
652
|
+
|
653
|
+
# @!attribute privacy
|
654
|
+
# URL to the brand's privacy policy page
|
655
|
+
#
|
656
|
+
# @return [String, nil]
|
657
|
+
optional :privacy, String, nil?: true
|
658
|
+
|
659
|
+
# @!attribute terms
|
660
|
+
# URL to the brand's terms of service or terms and conditions page
|
661
|
+
#
|
662
|
+
# @return [String, nil]
|
663
|
+
optional :terms, String, nil?: true
|
664
|
+
|
665
|
+
# @!method initialize(blog: nil, careers: nil, contact: nil, pricing: nil, privacy: nil, terms: nil)
|
666
|
+
# Important website links for the brand
|
667
|
+
#
|
668
|
+
# @param blog [String, nil] URL to the brand's blog or news page
|
669
|
+
#
|
670
|
+
# @param careers [String, nil] URL to the brand's careers or job opportunities page
|
671
|
+
#
|
672
|
+
# @param contact [String, nil] URL to the brand's contact or contact us page
|
673
|
+
#
|
674
|
+
# @param pricing [String, nil] URL to the brand's pricing or plans page
|
675
|
+
#
|
676
|
+
# @param privacy [String, nil] URL to the brand's privacy policy page
|
677
|
+
#
|
678
|
+
# @param terms [String, nil] URL to the brand's terms of service or terms and conditions page
|
679
|
+
end
|
680
|
+
|
619
681
|
class Logo < BrandDev::Internal::Type::BaseModel
|
620
682
|
# @!attribute colors
|
621
683
|
# Array of colors in the logo
|
@@ -81,6 +81,12 @@ module BrandDev
|
|
81
81
|
# @return [Boolean, nil]
|
82
82
|
optional :is_nsfw, BrandDev::Internal::Type::Boolean
|
83
83
|
|
84
|
+
# @!attribute links
|
85
|
+
# Important website links for the brand
|
86
|
+
#
|
87
|
+
# @return [BrandDev::Models::BrandRetrieveResponse::Brand::Links, nil]
|
88
|
+
optional :links, -> { BrandDev::Models::BrandRetrieveResponse::Brand::Links }
|
89
|
+
|
84
90
|
# @!attribute logos
|
85
91
|
# An array of logos associated with the brand
|
86
92
|
#
|
@@ -120,7 +126,7 @@ module BrandDev
|
|
120
126
|
# @return [String, nil]
|
121
127
|
optional :title, String
|
122
128
|
|
123
|
-
# @!method initialize(address: nil, backdrops: nil, colors: nil, description: nil, domain: nil, email: nil, industries: nil, is_nsfw: nil, logos: nil, phone: nil, slogan: nil, socials: nil, stock: nil, title: nil)
|
129
|
+
# @!method initialize(address: nil, backdrops: nil, colors: nil, description: nil, domain: nil, email: nil, industries: nil, is_nsfw: nil, links: nil, logos: nil, phone: nil, slogan: nil, socials: nil, stock: nil, title: nil)
|
124
130
|
# Some parameter documentations has been truncated, see
|
125
131
|
# {BrandDev::Models::BrandRetrieveResponse::Brand} for more details.
|
126
132
|
#
|
@@ -142,6 +148,8 @@ module BrandDev
|
|
142
148
|
#
|
143
149
|
# @param is_nsfw [Boolean] Indicates whether the brand content is not safe for work (NSFW)
|
144
150
|
#
|
151
|
+
# @param links [BrandDev::Models::BrandRetrieveResponse::Brand::Links] Important website links for the brand
|
152
|
+
#
|
145
153
|
# @param logos [Array<BrandDev::Models::BrandRetrieveResponse::Brand::Logo>] An array of logos associated with the brand
|
146
154
|
#
|
147
155
|
# @param phone [String] Company phone number
|
@@ -613,6 +621,60 @@ module BrandDev
|
|
613
621
|
end
|
614
622
|
end
|
615
623
|
|
624
|
+
# @see BrandDev::Models::BrandRetrieveResponse::Brand#links
|
625
|
+
class Links < BrandDev::Internal::Type::BaseModel
|
626
|
+
# @!attribute blog
|
627
|
+
# URL to the brand's blog or news page
|
628
|
+
#
|
629
|
+
# @return [String, nil]
|
630
|
+
optional :blog, String, nil?: true
|
631
|
+
|
632
|
+
# @!attribute careers
|
633
|
+
# URL to the brand's careers or job opportunities page
|
634
|
+
#
|
635
|
+
# @return [String, nil]
|
636
|
+
optional :careers, String, nil?: true
|
637
|
+
|
638
|
+
# @!attribute contact
|
639
|
+
# URL to the brand's contact or contact us page
|
640
|
+
#
|
641
|
+
# @return [String, nil]
|
642
|
+
optional :contact, String, nil?: true
|
643
|
+
|
644
|
+
# @!attribute pricing
|
645
|
+
# URL to the brand's pricing or plans page
|
646
|
+
#
|
647
|
+
# @return [String, nil]
|
648
|
+
optional :pricing, String, nil?: true
|
649
|
+
|
650
|
+
# @!attribute privacy
|
651
|
+
# URL to the brand's privacy policy page
|
652
|
+
#
|
653
|
+
# @return [String, nil]
|
654
|
+
optional :privacy, String, nil?: true
|
655
|
+
|
656
|
+
# @!attribute terms
|
657
|
+
# URL to the brand's terms of service or terms and conditions page
|
658
|
+
#
|
659
|
+
# @return [String, nil]
|
660
|
+
optional :terms, String, nil?: true
|
661
|
+
|
662
|
+
# @!method initialize(blog: nil, careers: nil, contact: nil, pricing: nil, privacy: nil, terms: nil)
|
663
|
+
# Important website links for the brand
|
664
|
+
#
|
665
|
+
# @param blog [String, nil] URL to the brand's blog or news page
|
666
|
+
#
|
667
|
+
# @param careers [String, nil] URL to the brand's careers or job opportunities page
|
668
|
+
#
|
669
|
+
# @param contact [String, nil] URL to the brand's contact or contact us page
|
670
|
+
#
|
671
|
+
# @param pricing [String, nil] URL to the brand's pricing or plans page
|
672
|
+
#
|
673
|
+
# @param privacy [String, nil] URL to the brand's privacy policy page
|
674
|
+
#
|
675
|
+
# @param terms [String, nil] URL to the brand's terms of service or terms and conditions page
|
676
|
+
end
|
677
|
+
|
616
678
|
class Logo < BrandDev::Internal::Type::BaseModel
|
617
679
|
# @!attribute colors
|
618
680
|
# Array of colors in the logo
|
@@ -59,6 +59,12 @@ module BrandDev
|
|
59
59
|
-> { BrandDev::Models::BrandStyleguideResponse::Styleguide::ElementSpacing },
|
60
60
|
api_name: :elementSpacing
|
61
61
|
|
62
|
+
# @!attribute mode
|
63
|
+
# The primary color mode of the website design
|
64
|
+
#
|
65
|
+
# @return [Symbol, BrandDev::Models::BrandStyleguideResponse::Styleguide::Mode, nil]
|
66
|
+
optional :mode, enum: -> { BrandDev::Models::BrandStyleguideResponse::Styleguide::Mode }
|
67
|
+
|
62
68
|
# @!attribute shadows
|
63
69
|
# Shadow styles used on the website
|
64
70
|
#
|
@@ -71,7 +77,7 @@ module BrandDev
|
|
71
77
|
# @return [BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography, nil]
|
72
78
|
optional :typography, -> { BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography }
|
73
79
|
|
74
|
-
# @!method initialize(colors: nil, components: nil, element_spacing: nil, shadows: nil, typography: nil)
|
80
|
+
# @!method initialize(colors: nil, components: nil, element_spacing: nil, mode: nil, shadows: nil, typography: nil)
|
75
81
|
# Comprehensive styleguide data extracted from the website
|
76
82
|
#
|
77
83
|
# @param colors [BrandDev::Models::BrandStyleguideResponse::Styleguide::Colors] Primary colors used on the website
|
@@ -80,6 +86,8 @@ module BrandDev
|
|
80
86
|
#
|
81
87
|
# @param element_spacing [BrandDev::Models::BrandStyleguideResponse::Styleguide::ElementSpacing] Spacing system used on the website
|
82
88
|
#
|
89
|
+
# @param mode [Symbol, BrandDev::Models::BrandStyleguideResponse::Styleguide::Mode] The primary color mode of the website design
|
90
|
+
#
|
83
91
|
# @param shadows [BrandDev::Models::BrandStyleguideResponse::Styleguide::Shadows] Shadow styles used on the website
|
84
92
|
#
|
85
93
|
# @param typography [BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography] Typography styles used on the website
|
@@ -488,6 +496,19 @@ module BrandDev
|
|
488
496
|
# @param xs [String] Extra small spacing value
|
489
497
|
end
|
490
498
|
|
499
|
+
# The primary color mode of the website design
|
500
|
+
#
|
501
|
+
# @see BrandDev::Models::BrandStyleguideResponse::Styleguide#mode
|
502
|
+
module Mode
|
503
|
+
extend BrandDev::Internal::Type::Enum
|
504
|
+
|
505
|
+
LIGHT = :light
|
506
|
+
DARK = :dark
|
507
|
+
|
508
|
+
# @!method self.values
|
509
|
+
# @return [Array<Symbol>]
|
510
|
+
end
|
511
|
+
|
491
512
|
# @see BrandDev::Models::BrandStyleguideResponse::Styleguide#shadows
|
492
513
|
class Shadows < BrandDev::Internal::Type::BaseModel
|
493
514
|
# @!attribute inner
|
data/lib/brand_dev/version.rb
CHANGED
@@ -191,6 +191,24 @@ module BrandDev
|
|
191
191
|
sig { params(is_nsfw: T::Boolean).void }
|
192
192
|
attr_writer :is_nsfw
|
193
193
|
|
194
|
+
# Important website links for the brand
|
195
|
+
sig do
|
196
|
+
returns(
|
197
|
+
T.nilable(
|
198
|
+
BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Links
|
199
|
+
)
|
200
|
+
)
|
201
|
+
end
|
202
|
+
attr_reader :links
|
203
|
+
|
204
|
+
sig do
|
205
|
+
params(
|
206
|
+
links:
|
207
|
+
BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Links::OrHash
|
208
|
+
).void
|
209
|
+
end
|
210
|
+
attr_writer :links
|
211
|
+
|
194
212
|
# An array of logos associated with the brand
|
195
213
|
sig do
|
196
214
|
returns(
|
@@ -294,6 +312,8 @@ module BrandDev
|
|
294
312
|
industries:
|
295
313
|
BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Industries::OrHash,
|
296
314
|
is_nsfw: T::Boolean,
|
315
|
+
links:
|
316
|
+
BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Links::OrHash,
|
297
317
|
logos:
|
298
318
|
T::Array[
|
299
319
|
BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::OrHash
|
@@ -326,6 +346,8 @@ module BrandDev
|
|
326
346
|
industries: nil,
|
327
347
|
# Indicates whether the brand content is not safe for work (NSFW)
|
328
348
|
is_nsfw: nil,
|
349
|
+
# Important website links for the brand
|
350
|
+
links: nil,
|
329
351
|
# An array of logos associated with the brand
|
330
352
|
logos: nil,
|
331
353
|
# Company phone number
|
@@ -361,6 +383,8 @@ module BrandDev
|
|
361
383
|
industries:
|
362
384
|
BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Industries,
|
363
385
|
is_nsfw: T::Boolean,
|
386
|
+
links:
|
387
|
+
BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Links,
|
364
388
|
logos:
|
365
389
|
T::Array[
|
366
390
|
BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo
|
@@ -2095,6 +2119,82 @@ module BrandDev
|
|
2095
2119
|
end
|
2096
2120
|
end
|
2097
2121
|
|
2122
|
+
class Links < BrandDev::Internal::Type::BaseModel
|
2123
|
+
OrHash =
|
2124
|
+
T.type_alias do
|
2125
|
+
T.any(
|
2126
|
+
BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Links,
|
2127
|
+
BrandDev::Internal::AnyHash
|
2128
|
+
)
|
2129
|
+
end
|
2130
|
+
|
2131
|
+
# URL to the brand's blog or news page
|
2132
|
+
sig { returns(T.nilable(String)) }
|
2133
|
+
attr_accessor :blog
|
2134
|
+
|
2135
|
+
# URL to the brand's careers or job opportunities page
|
2136
|
+
sig { returns(T.nilable(String)) }
|
2137
|
+
attr_accessor :careers
|
2138
|
+
|
2139
|
+
# URL to the brand's contact or contact us page
|
2140
|
+
sig { returns(T.nilable(String)) }
|
2141
|
+
attr_accessor :contact
|
2142
|
+
|
2143
|
+
# URL to the brand's pricing or plans page
|
2144
|
+
sig { returns(T.nilable(String)) }
|
2145
|
+
attr_accessor :pricing
|
2146
|
+
|
2147
|
+
# URL to the brand's privacy policy page
|
2148
|
+
sig { returns(T.nilable(String)) }
|
2149
|
+
attr_accessor :privacy
|
2150
|
+
|
2151
|
+
# URL to the brand's terms of service or terms and conditions page
|
2152
|
+
sig { returns(T.nilable(String)) }
|
2153
|
+
attr_accessor :terms
|
2154
|
+
|
2155
|
+
# Important website links for the brand
|
2156
|
+
sig do
|
2157
|
+
params(
|
2158
|
+
blog: T.nilable(String),
|
2159
|
+
careers: T.nilable(String),
|
2160
|
+
contact: T.nilable(String),
|
2161
|
+
pricing: T.nilable(String),
|
2162
|
+
privacy: T.nilable(String),
|
2163
|
+
terms: T.nilable(String)
|
2164
|
+
).returns(T.attached_class)
|
2165
|
+
end
|
2166
|
+
def self.new(
|
2167
|
+
# URL to the brand's blog or news page
|
2168
|
+
blog: nil,
|
2169
|
+
# URL to the brand's careers or job opportunities page
|
2170
|
+
careers: nil,
|
2171
|
+
# URL to the brand's contact or contact us page
|
2172
|
+
contact: nil,
|
2173
|
+
# URL to the brand's pricing or plans page
|
2174
|
+
pricing: nil,
|
2175
|
+
# URL to the brand's privacy policy page
|
2176
|
+
privacy: nil,
|
2177
|
+
# URL to the brand's terms of service or terms and conditions page
|
2178
|
+
terms: nil
|
2179
|
+
)
|
2180
|
+
end
|
2181
|
+
|
2182
|
+
sig do
|
2183
|
+
override.returns(
|
2184
|
+
{
|
2185
|
+
blog: T.nilable(String),
|
2186
|
+
careers: T.nilable(String),
|
2187
|
+
contact: T.nilable(String),
|
2188
|
+
pricing: T.nilable(String),
|
2189
|
+
privacy: T.nilable(String),
|
2190
|
+
terms: T.nilable(String)
|
2191
|
+
}
|
2192
|
+
)
|
2193
|
+
end
|
2194
|
+
def to_hash
|
2195
|
+
end
|
2196
|
+
end
|
2197
|
+
|
2098
2198
|
class Logo < BrandDev::Internal::Type::BaseModel
|
2099
2199
|
OrHash =
|
2100
2200
|
T.type_alias do
|
@@ -176,6 +176,21 @@ module BrandDev
|
|
176
176
|
sig { params(is_nsfw: T::Boolean).void }
|
177
177
|
attr_writer :is_nsfw
|
178
178
|
|
179
|
+
# Important website links for the brand
|
180
|
+
sig do
|
181
|
+
returns(
|
182
|
+
T.nilable(BrandDev::Models::BrandRetrieveResponse::Brand::Links)
|
183
|
+
)
|
184
|
+
end
|
185
|
+
attr_reader :links
|
186
|
+
|
187
|
+
sig do
|
188
|
+
params(
|
189
|
+
links: BrandDev::Models::BrandRetrieveResponse::Brand::Links::OrHash
|
190
|
+
).void
|
191
|
+
end
|
192
|
+
attr_writer :links
|
193
|
+
|
179
194
|
# An array of logos associated with the brand
|
180
195
|
sig do
|
181
196
|
returns(
|
@@ -272,6 +287,8 @@ module BrandDev
|
|
272
287
|
industries:
|
273
288
|
BrandDev::Models::BrandRetrieveResponse::Brand::Industries::OrHash,
|
274
289
|
is_nsfw: T::Boolean,
|
290
|
+
links:
|
291
|
+
BrandDev::Models::BrandRetrieveResponse::Brand::Links::OrHash,
|
275
292
|
logos:
|
276
293
|
T::Array[
|
277
294
|
BrandDev::Models::BrandRetrieveResponse::Brand::Logo::OrHash
|
@@ -304,6 +321,8 @@ module BrandDev
|
|
304
321
|
industries: nil,
|
305
322
|
# Indicates whether the brand content is not safe for work (NSFW)
|
306
323
|
is_nsfw: nil,
|
324
|
+
# Important website links for the brand
|
325
|
+
links: nil,
|
307
326
|
# An array of logos associated with the brand
|
308
327
|
logos: nil,
|
309
328
|
# Company phone number
|
@@ -336,6 +355,7 @@ module BrandDev
|
|
336
355
|
industries:
|
337
356
|
BrandDev::Models::BrandRetrieveResponse::Brand::Industries,
|
338
357
|
is_nsfw: T::Boolean,
|
358
|
+
links: BrandDev::Models::BrandRetrieveResponse::Brand::Links,
|
339
359
|
logos:
|
340
360
|
T::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Logo],
|
341
361
|
phone: String,
|
@@ -2067,6 +2087,82 @@ module BrandDev
|
|
2067
2087
|
end
|
2068
2088
|
end
|
2069
2089
|
|
2090
|
+
class Links < BrandDev::Internal::Type::BaseModel
|
2091
|
+
OrHash =
|
2092
|
+
T.type_alias do
|
2093
|
+
T.any(
|
2094
|
+
BrandDev::Models::BrandRetrieveResponse::Brand::Links,
|
2095
|
+
BrandDev::Internal::AnyHash
|
2096
|
+
)
|
2097
|
+
end
|
2098
|
+
|
2099
|
+
# URL to the brand's blog or news page
|
2100
|
+
sig { returns(T.nilable(String)) }
|
2101
|
+
attr_accessor :blog
|
2102
|
+
|
2103
|
+
# URL to the brand's careers or job opportunities page
|
2104
|
+
sig { returns(T.nilable(String)) }
|
2105
|
+
attr_accessor :careers
|
2106
|
+
|
2107
|
+
# URL to the brand's contact or contact us page
|
2108
|
+
sig { returns(T.nilable(String)) }
|
2109
|
+
attr_accessor :contact
|
2110
|
+
|
2111
|
+
# URL to the brand's pricing or plans page
|
2112
|
+
sig { returns(T.nilable(String)) }
|
2113
|
+
attr_accessor :pricing
|
2114
|
+
|
2115
|
+
# URL to the brand's privacy policy page
|
2116
|
+
sig { returns(T.nilable(String)) }
|
2117
|
+
attr_accessor :privacy
|
2118
|
+
|
2119
|
+
# URL to the brand's terms of service or terms and conditions page
|
2120
|
+
sig { returns(T.nilable(String)) }
|
2121
|
+
attr_accessor :terms
|
2122
|
+
|
2123
|
+
# Important website links for the brand
|
2124
|
+
sig do
|
2125
|
+
params(
|
2126
|
+
blog: T.nilable(String),
|
2127
|
+
careers: T.nilable(String),
|
2128
|
+
contact: T.nilable(String),
|
2129
|
+
pricing: T.nilable(String),
|
2130
|
+
privacy: T.nilable(String),
|
2131
|
+
terms: T.nilable(String)
|
2132
|
+
).returns(T.attached_class)
|
2133
|
+
end
|
2134
|
+
def self.new(
|
2135
|
+
# URL to the brand's blog or news page
|
2136
|
+
blog: nil,
|
2137
|
+
# URL to the brand's careers or job opportunities page
|
2138
|
+
careers: nil,
|
2139
|
+
# URL to the brand's contact or contact us page
|
2140
|
+
contact: nil,
|
2141
|
+
# URL to the brand's pricing or plans page
|
2142
|
+
pricing: nil,
|
2143
|
+
# URL to the brand's privacy policy page
|
2144
|
+
privacy: nil,
|
2145
|
+
# URL to the brand's terms of service or terms and conditions page
|
2146
|
+
terms: nil
|
2147
|
+
)
|
2148
|
+
end
|
2149
|
+
|
2150
|
+
sig do
|
2151
|
+
override.returns(
|
2152
|
+
{
|
2153
|
+
blog: T.nilable(String),
|
2154
|
+
careers: T.nilable(String),
|
2155
|
+
contact: T.nilable(String),
|
2156
|
+
pricing: T.nilable(String),
|
2157
|
+
privacy: T.nilable(String),
|
2158
|
+
terms: T.nilable(String)
|
2159
|
+
}
|
2160
|
+
)
|
2161
|
+
end
|
2162
|
+
def to_hash
|
2163
|
+
end
|
2164
|
+
end
|
2165
|
+
|
2070
2166
|
class Logo < BrandDev::Internal::Type::BaseModel
|
2071
2167
|
OrHash =
|
2072
2168
|
T.type_alias do
|
@@ -145,6 +145,24 @@ module BrandDev
|
|
145
145
|
end
|
146
146
|
attr_writer :element_spacing
|
147
147
|
|
148
|
+
# The primary color mode of the website design
|
149
|
+
sig do
|
150
|
+
returns(
|
151
|
+
T.nilable(
|
152
|
+
BrandDev::Models::BrandStyleguideResponse::Styleguide::Mode::TaggedSymbol
|
153
|
+
)
|
154
|
+
)
|
155
|
+
end
|
156
|
+
attr_reader :mode
|
157
|
+
|
158
|
+
sig do
|
159
|
+
params(
|
160
|
+
mode:
|
161
|
+
BrandDev::Models::BrandStyleguideResponse::Styleguide::Mode::OrSymbol
|
162
|
+
).void
|
163
|
+
end
|
164
|
+
attr_writer :mode
|
165
|
+
|
148
166
|
# Shadow styles used on the website
|
149
167
|
sig do
|
150
168
|
returns(
|
@@ -190,6 +208,8 @@ module BrandDev
|
|
190
208
|
BrandDev::Models::BrandStyleguideResponse::Styleguide::Components::OrHash,
|
191
209
|
element_spacing:
|
192
210
|
BrandDev::Models::BrandStyleguideResponse::Styleguide::ElementSpacing::OrHash,
|
211
|
+
mode:
|
212
|
+
BrandDev::Models::BrandStyleguideResponse::Styleguide::Mode::OrSymbol,
|
193
213
|
shadows:
|
194
214
|
BrandDev::Models::BrandStyleguideResponse::Styleguide::Shadows::OrHash,
|
195
215
|
typography:
|
@@ -203,6 +223,8 @@ module BrandDev
|
|
203
223
|
components: nil,
|
204
224
|
# Spacing system used on the website
|
205
225
|
element_spacing: nil,
|
226
|
+
# The primary color mode of the website design
|
227
|
+
mode: nil,
|
206
228
|
# Shadow styles used on the website
|
207
229
|
shadows: nil,
|
208
230
|
# Typography styles used on the website
|
@@ -219,6 +241,8 @@ module BrandDev
|
|
219
241
|
BrandDev::Models::BrandStyleguideResponse::Styleguide::Components,
|
220
242
|
element_spacing:
|
221
243
|
BrandDev::Models::BrandStyleguideResponse::Styleguide::ElementSpacing,
|
244
|
+
mode:
|
245
|
+
BrandDev::Models::BrandStyleguideResponse::Styleguide::Mode::TaggedSymbol,
|
222
246
|
shadows:
|
223
247
|
BrandDev::Models::BrandStyleguideResponse::Styleguide::Shadows,
|
224
248
|
typography:
|
@@ -1018,6 +1042,41 @@ module BrandDev
|
|
1018
1042
|
end
|
1019
1043
|
end
|
1020
1044
|
|
1045
|
+
# The primary color mode of the website design
|
1046
|
+
module Mode
|
1047
|
+
extend BrandDev::Internal::Type::Enum
|
1048
|
+
|
1049
|
+
TaggedSymbol =
|
1050
|
+
T.type_alias do
|
1051
|
+
T.all(
|
1052
|
+
Symbol,
|
1053
|
+
BrandDev::Models::BrandStyleguideResponse::Styleguide::Mode
|
1054
|
+
)
|
1055
|
+
end
|
1056
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1057
|
+
|
1058
|
+
LIGHT =
|
1059
|
+
T.let(
|
1060
|
+
:light,
|
1061
|
+
BrandDev::Models::BrandStyleguideResponse::Styleguide::Mode::TaggedSymbol
|
1062
|
+
)
|
1063
|
+
DARK =
|
1064
|
+
T.let(
|
1065
|
+
:dark,
|
1066
|
+
BrandDev::Models::BrandStyleguideResponse::Styleguide::Mode::TaggedSymbol
|
1067
|
+
)
|
1068
|
+
|
1069
|
+
sig do
|
1070
|
+
override.returns(
|
1071
|
+
T::Array[
|
1072
|
+
BrandDev::Models::BrandStyleguideResponse::Styleguide::Mode::TaggedSymbol
|
1073
|
+
]
|
1074
|
+
)
|
1075
|
+
end
|
1076
|
+
def self.values
|
1077
|
+
end
|
1078
|
+
end
|
1079
|
+
|
1021
1080
|
class Shadows < BrandDev::Internal::Type::BaseModel
|
1022
1081
|
OrHash =
|
1023
1082
|
T.type_alias do
|
@@ -44,6 +44,7 @@ module BrandDev
|
|
44
44
|
email: String,
|
45
45
|
industries: BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Industries,
|
46
46
|
is_nsfw: bool,
|
47
|
+
links: BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Links,
|
47
48
|
logos: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo],
|
48
49
|
phone: String,
|
49
50
|
slogan: String,
|
@@ -93,6 +94,12 @@ module BrandDev
|
|
93
94
|
|
94
95
|
def is_nsfw=: (bool) -> bool
|
95
96
|
|
97
|
+
attr_reader links: BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Links?
|
98
|
+
|
99
|
+
def links=: (
|
100
|
+
BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Links
|
101
|
+
) -> BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Links
|
102
|
+
|
96
103
|
attr_reader logos: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo]?
|
97
104
|
|
98
105
|
def logos=: (
|
@@ -132,6 +139,7 @@ module BrandDev
|
|
132
139
|
?email: String,
|
133
140
|
?industries: BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Industries,
|
134
141
|
?is_nsfw: bool,
|
142
|
+
?links: BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Links,
|
135
143
|
?logos: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo],
|
136
144
|
?phone: String,
|
137
145
|
?slogan: String,
|
@@ -149,6 +157,7 @@ module BrandDev
|
|
149
157
|
email: String,
|
150
158
|
industries: BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Industries,
|
151
159
|
is_nsfw: bool,
|
160
|
+
links: BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Links,
|
152
161
|
logos: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo],
|
153
162
|
phone: String,
|
154
163
|
slogan: String,
|
@@ -865,6 +874,48 @@ module BrandDev
|
|
865
874
|
end
|
866
875
|
end
|
867
876
|
|
877
|
+
type links =
|
878
|
+
{
|
879
|
+
blog: String?,
|
880
|
+
careers: String?,
|
881
|
+
contact: String?,
|
882
|
+
pricing: String?,
|
883
|
+
privacy: String?,
|
884
|
+
terms: String?
|
885
|
+
}
|
886
|
+
|
887
|
+
class Links < BrandDev::Internal::Type::BaseModel
|
888
|
+
attr_accessor blog: String?
|
889
|
+
|
890
|
+
attr_accessor careers: String?
|
891
|
+
|
892
|
+
attr_accessor contact: String?
|
893
|
+
|
894
|
+
attr_accessor pricing: String?
|
895
|
+
|
896
|
+
attr_accessor privacy: String?
|
897
|
+
|
898
|
+
attr_accessor terms: String?
|
899
|
+
|
900
|
+
def initialize: (
|
901
|
+
?blog: String?,
|
902
|
+
?careers: String?,
|
903
|
+
?contact: String?,
|
904
|
+
?pricing: String?,
|
905
|
+
?privacy: String?,
|
906
|
+
?terms: String?
|
907
|
+
) -> void
|
908
|
+
|
909
|
+
def to_hash: -> {
|
910
|
+
blog: String?,
|
911
|
+
careers: String?,
|
912
|
+
contact: String?,
|
913
|
+
pricing: String?,
|
914
|
+
privacy: String?,
|
915
|
+
terms: String?
|
916
|
+
}
|
917
|
+
end
|
918
|
+
|
868
919
|
type logo =
|
869
920
|
{
|
870
921
|
colors: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::Color],
|
@@ -44,6 +44,7 @@ module BrandDev
|
|
44
44
|
email: String,
|
45
45
|
industries: BrandDev::Models::BrandRetrieveResponse::Brand::Industries,
|
46
46
|
is_nsfw: bool,
|
47
|
+
links: BrandDev::Models::BrandRetrieveResponse::Brand::Links,
|
47
48
|
logos: ::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Logo],
|
48
49
|
phone: String,
|
49
50
|
slogan: String,
|
@@ -93,6 +94,12 @@ module BrandDev
|
|
93
94
|
|
94
95
|
def is_nsfw=: (bool) -> bool
|
95
96
|
|
97
|
+
attr_reader links: BrandDev::Models::BrandRetrieveResponse::Brand::Links?
|
98
|
+
|
99
|
+
def links=: (
|
100
|
+
BrandDev::Models::BrandRetrieveResponse::Brand::Links
|
101
|
+
) -> BrandDev::Models::BrandRetrieveResponse::Brand::Links
|
102
|
+
|
96
103
|
attr_reader logos: ::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Logo]?
|
97
104
|
|
98
105
|
def logos=: (
|
@@ -132,6 +139,7 @@ module BrandDev
|
|
132
139
|
?email: String,
|
133
140
|
?industries: BrandDev::Models::BrandRetrieveResponse::Brand::Industries,
|
134
141
|
?is_nsfw: bool,
|
142
|
+
?links: BrandDev::Models::BrandRetrieveResponse::Brand::Links,
|
135
143
|
?logos: ::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Logo],
|
136
144
|
?phone: String,
|
137
145
|
?slogan: String,
|
@@ -149,6 +157,7 @@ module BrandDev
|
|
149
157
|
email: String,
|
150
158
|
industries: BrandDev::Models::BrandRetrieveResponse::Brand::Industries,
|
151
159
|
is_nsfw: bool,
|
160
|
+
links: BrandDev::Models::BrandRetrieveResponse::Brand::Links,
|
152
161
|
logos: ::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Logo],
|
153
162
|
phone: String,
|
154
163
|
slogan: String,
|
@@ -865,6 +874,48 @@ module BrandDev
|
|
865
874
|
end
|
866
875
|
end
|
867
876
|
|
877
|
+
type links =
|
878
|
+
{
|
879
|
+
blog: String?,
|
880
|
+
careers: String?,
|
881
|
+
contact: String?,
|
882
|
+
pricing: String?,
|
883
|
+
privacy: String?,
|
884
|
+
terms: String?
|
885
|
+
}
|
886
|
+
|
887
|
+
class Links < BrandDev::Internal::Type::BaseModel
|
888
|
+
attr_accessor blog: String?
|
889
|
+
|
890
|
+
attr_accessor careers: String?
|
891
|
+
|
892
|
+
attr_accessor contact: String?
|
893
|
+
|
894
|
+
attr_accessor pricing: String?
|
895
|
+
|
896
|
+
attr_accessor privacy: String?
|
897
|
+
|
898
|
+
attr_accessor terms: String?
|
899
|
+
|
900
|
+
def initialize: (
|
901
|
+
?blog: String?,
|
902
|
+
?careers: String?,
|
903
|
+
?contact: String?,
|
904
|
+
?pricing: String?,
|
905
|
+
?privacy: String?,
|
906
|
+
?terms: String?
|
907
|
+
) -> void
|
908
|
+
|
909
|
+
def to_hash: -> {
|
910
|
+
blog: String?,
|
911
|
+
careers: String?,
|
912
|
+
contact: String?,
|
913
|
+
pricing: String?,
|
914
|
+
privacy: String?,
|
915
|
+
terms: String?
|
916
|
+
}
|
917
|
+
end
|
918
|
+
|
868
919
|
type logo =
|
869
920
|
{
|
870
921
|
colors: ::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Logo::Color],
|
@@ -46,6 +46,7 @@ module BrandDev
|
|
46
46
|
colors: BrandDev::Models::BrandStyleguideResponse::Styleguide::Colors,
|
47
47
|
components: BrandDev::Models::BrandStyleguideResponse::Styleguide::Components,
|
48
48
|
element_spacing: BrandDev::Models::BrandStyleguideResponse::Styleguide::ElementSpacing,
|
49
|
+
mode: BrandDev::Models::BrandStyleguideResponse::Styleguide::mode,
|
49
50
|
shadows: BrandDev::Models::BrandStyleguideResponse::Styleguide::Shadows,
|
50
51
|
typography: BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography
|
51
52
|
}
|
@@ -69,6 +70,12 @@ module BrandDev
|
|
69
70
|
BrandDev::Models::BrandStyleguideResponse::Styleguide::ElementSpacing
|
70
71
|
) -> BrandDev::Models::BrandStyleguideResponse::Styleguide::ElementSpacing
|
71
72
|
|
73
|
+
attr_reader mode: BrandDev::Models::BrandStyleguideResponse::Styleguide::mode?
|
74
|
+
|
75
|
+
def mode=: (
|
76
|
+
BrandDev::Models::BrandStyleguideResponse::Styleguide::mode
|
77
|
+
) -> BrandDev::Models::BrandStyleguideResponse::Styleguide::mode
|
78
|
+
|
72
79
|
attr_reader shadows: BrandDev::Models::BrandStyleguideResponse::Styleguide::Shadows?
|
73
80
|
|
74
81
|
def shadows=: (
|
@@ -85,6 +92,7 @@ module BrandDev
|
|
85
92
|
?colors: BrandDev::Models::BrandStyleguideResponse::Styleguide::Colors,
|
86
93
|
?components: BrandDev::Models::BrandStyleguideResponse::Styleguide::Components,
|
87
94
|
?element_spacing: BrandDev::Models::BrandStyleguideResponse::Styleguide::ElementSpacing,
|
95
|
+
?mode: BrandDev::Models::BrandStyleguideResponse::Styleguide::mode,
|
88
96
|
?shadows: BrandDev::Models::BrandStyleguideResponse::Styleguide::Shadows,
|
89
97
|
?typography: BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography
|
90
98
|
) -> void
|
@@ -93,6 +101,7 @@ module BrandDev
|
|
93
101
|
colors: BrandDev::Models::BrandStyleguideResponse::Styleguide::Colors,
|
94
102
|
components: BrandDev::Models::BrandStyleguideResponse::Styleguide::Components,
|
95
103
|
element_spacing: BrandDev::Models::BrandStyleguideResponse::Styleguide::ElementSpacing,
|
104
|
+
mode: BrandDev::Models::BrandStyleguideResponse::Styleguide::mode,
|
96
105
|
shadows: BrandDev::Models::BrandStyleguideResponse::Styleguide::Shadows,
|
97
106
|
typography: BrandDev::Models::BrandStyleguideResponse::Styleguide::Typography
|
98
107
|
}
|
@@ -566,6 +575,17 @@ module BrandDev
|
|
566
575
|
}
|
567
576
|
end
|
568
577
|
|
578
|
+
type mode = :light | :dark
|
579
|
+
|
580
|
+
module Mode
|
581
|
+
extend BrandDev::Internal::Type::Enum
|
582
|
+
|
583
|
+
LIGHT: :light
|
584
|
+
DARK: :dark
|
585
|
+
|
586
|
+
def self?.values: -> ::Array[BrandDev::Models::BrandStyleguideResponse::Styleguide::mode]
|
587
|
+
end
|
588
|
+
|
569
589
|
type shadows =
|
570
590
|
{ inner: String, lg: String, md: String, sm: String, xl: String }
|
571
591
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: brand.dev
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brand Dev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: connection_pool
|