brand.dev 0.1.0.pre.alpha.12 → 0.1.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 (31) 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 +17 -1
  6. data/lib/brand_dev/models/brand_identify_from_transaction_response.rb +6 -26
  7. data/lib/brand_dev/models/brand_retrieve_by_ticker_response.rb +6 -26
  8. data/lib/brand_dev/models/brand_retrieve_response.rb +6 -27
  9. data/lib/brand_dev/models.rb +0 -2
  10. data/lib/brand_dev/resources/brand.rb +0 -27
  11. data/lib/brand_dev/version.rb +1 -1
  12. data/lib/brand_dev.rb +0 -2
  13. data/rbi/brand_dev/models/brand_ai_query_response.rbi +22 -0
  14. data/rbi/brand_dev/models/brand_identify_from_transaction_response.rbi +9 -67
  15. data/rbi/brand_dev/models/brand_retrieve_by_ticker_response.rbi +9 -67
  16. data/rbi/brand_dev/models/brand_retrieve_response.rbi +9 -65
  17. data/rbi/brand_dev/models.rbi +0 -2
  18. data/rbi/brand_dev/resources/brand.rbi +0 -19
  19. data/sig/brand_dev/models/brand_ai_query_response.rbs +14 -0
  20. data/sig/brand_dev/models/brand_identify_from_transaction_response.rbs +5 -23
  21. data/sig/brand_dev/models/brand_retrieve_by_ticker_response.rbs +5 -23
  22. data/sig/brand_dev/models/brand_retrieve_response.rbs +5 -23
  23. data/sig/brand_dev/models.rbs +0 -2
  24. data/sig/brand_dev/resources/brand.rbs +0 -6
  25. metadata +4 -10
  26. data/lib/brand_dev/models/brand_search_params.rb +0 -35
  27. data/lib/brand_dev/models/brand_search_response.rb +0 -35
  28. data/rbi/brand_dev/models/brand_search_params.rbi +0 -58
  29. data/rbi/brand_dev/models/brand_search_response.rbi +0 -63
  30. data/sig/brand_dev/models/brand_search_params.rbs +0 -30
  31. data/sig/brand_dev/models/brand_search_response.rbs +0 -29
@@ -154,27 +154,12 @@ module BrandDev
154
154
  sig { params(domain: String).void }
155
155
  attr_writer :domain
156
156
 
157
- # An array of fonts used by the brand's website
158
- sig do
159
- returns(
160
- T.nilable(
161
- T::Array[
162
- BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Font
163
- ]
164
- )
165
- )
166
- end
167
- attr_reader :fonts
157
+ # Indicates whether the brand content is not safe for work (NSFW)
158
+ sig { returns(T.nilable(T::Boolean)) }
159
+ attr_reader :is_nsfw
168
160
 
169
- sig do
170
- params(
171
- fonts:
172
- T::Array[
173
- BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Font::OrHash
174
- ]
175
- ).void
176
- end
177
- attr_writer :fonts
161
+ sig { params(is_nsfw: T::Boolean).void }
162
+ attr_writer :is_nsfw
178
163
 
179
164
  # An array of logos associated with the brand
180
165
  sig do
@@ -268,10 +253,7 @@ module BrandDev
268
253
  ],
269
254
  description: String,
270
255
  domain: String,
271
- fonts:
272
- T::Array[
273
- BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Font::OrHash
274
- ],
256
+ is_nsfw: T::Boolean,
275
257
  logos:
276
258
  T::Array[
277
259
  BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::OrHash
@@ -297,8 +279,8 @@ module BrandDev
297
279
  description: nil,
298
280
  # The domain name of the brand
299
281
  domain: nil,
300
- # An array of fonts used by the brand's website
301
- fonts: nil,
282
+ # Indicates whether the brand content is not safe for work (NSFW)
283
+ is_nsfw: nil,
302
284
  # An array of logos associated with the brand
303
285
  logos: nil,
304
286
  # The brand's slogan
@@ -328,10 +310,7 @@ module BrandDev
328
310
  ],
329
311
  description: String,
330
312
  domain: String,
331
- fonts:
332
- T::Array[
333
- BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Font
334
- ],
313
+ is_nsfw: T::Boolean,
335
314
  logos:
336
315
  T::Array[
337
316
  BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo
@@ -663,43 +642,6 @@ module BrandDev
663
642
  end
664
643
  end
665
644
 
666
- class Font < BrandDev::Internal::Type::BaseModel
667
- OrHash =
668
- T.type_alias do
669
- T.any(
670
- BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Font,
671
- BrandDev::Internal::AnyHash
672
- )
673
- end
674
-
675
- # Name of the font
676
- sig { returns(T.nilable(String)) }
677
- attr_reader :name
678
-
679
- sig { params(name: String).void }
680
- attr_writer :name
681
-
682
- # Usage of the font, e.g., 'title', 'body', 'button'
683
- sig { returns(T.nilable(String)) }
684
- attr_reader :usage
685
-
686
- sig { params(usage: String).void }
687
- attr_writer :usage
688
-
689
- sig { params(name: String, usage: String).returns(T.attached_class) }
690
- def self.new(
691
- # Name of the font
692
- name: nil,
693
- # Usage of the font, e.g., 'title', 'body', 'button'
694
- usage: nil
695
- )
696
- end
697
-
698
- sig { override.returns({ name: String, usage: String }) }
699
- def to_hash
700
- end
701
- end
702
-
703
645
  class Logo < BrandDev::Internal::Type::BaseModel
704
646
  OrHash =
705
647
  T.type_alias do
@@ -144,26 +144,12 @@ module BrandDev
144
144
  sig { params(domain: String).void }
145
145
  attr_writer :domain
146
146
 
147
- # An array of fonts used by the brand's website. NOTE: This is deprecated and will
148
- # be removed in the future. Please migrate to the styleguide API.
149
- sig do
150
- returns(
151
- T.nilable(
152
- T::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Font]
153
- )
154
- )
155
- end
156
- attr_reader :fonts
147
+ # Indicates whether the brand content is not safe for work (NSFW)
148
+ sig { returns(T.nilable(T::Boolean)) }
149
+ attr_reader :is_nsfw
157
150
 
158
- sig do
159
- params(
160
- fonts:
161
- T::Array[
162
- BrandDev::Models::BrandRetrieveResponse::Brand::Font::OrHash
163
- ]
164
- ).void
165
- end
166
- attr_writer :fonts
151
+ sig { params(is_nsfw: T::Boolean).void }
152
+ attr_writer :is_nsfw
167
153
 
168
154
  # An array of logos associated with the brand
169
155
  sig do
@@ -250,10 +236,7 @@ module BrandDev
250
236
  ],
251
237
  description: String,
252
238
  domain: String,
253
- fonts:
254
- T::Array[
255
- BrandDev::Models::BrandRetrieveResponse::Brand::Font::OrHash
256
- ],
239
+ is_nsfw: T::Boolean,
257
240
  logos:
258
241
  T::Array[
259
242
  BrandDev::Models::BrandRetrieveResponse::Brand::Logo::OrHash
@@ -279,9 +262,8 @@ module BrandDev
279
262
  description: nil,
280
263
  # The domain name of the brand
281
264
  domain: nil,
282
- # An array of fonts used by the brand's website. NOTE: This is deprecated and will
283
- # be removed in the future. Please migrate to the styleguide API.
284
- fonts: nil,
265
+ # Indicates whether the brand content is not safe for work (NSFW)
266
+ is_nsfw: nil,
285
267
  # An array of logos associated with the brand
286
268
  logos: nil,
287
269
  # The brand's slogan
@@ -308,8 +290,7 @@ module BrandDev
308
290
  T::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Color],
309
291
  description: String,
310
292
  domain: String,
311
- fonts:
312
- T::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Font],
293
+ is_nsfw: T::Boolean,
313
294
  logos:
314
295
  T::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Logo],
315
296
  slogan: String,
@@ -638,43 +619,6 @@ module BrandDev
638
619
  end
639
620
  end
640
621
 
641
- class Font < BrandDev::Internal::Type::BaseModel
642
- OrHash =
643
- T.type_alias do
644
- T.any(
645
- BrandDev::Models::BrandRetrieveResponse::Brand::Font,
646
- BrandDev::Internal::AnyHash
647
- )
648
- end
649
-
650
- # Name of the font
651
- sig { returns(T.nilable(String)) }
652
- attr_reader :name
653
-
654
- sig { params(name: String).void }
655
- attr_writer :name
656
-
657
- # Usage of the font, e.g., 'title', 'body', 'button'
658
- sig { returns(T.nilable(String)) }
659
- attr_reader :usage
660
-
661
- sig { params(usage: String).void }
662
- attr_writer :usage
663
-
664
- sig { params(name: String, usage: String).returns(T.attached_class) }
665
- def self.new(
666
- # Name of the font
667
- name: nil,
668
- # Usage of the font, e.g., 'title', 'body', 'button'
669
- usage: nil
670
- )
671
- end
672
-
673
- sig { override.returns({ name: String, usage: String }) }
674
- def to_hash
675
- end
676
- end
677
-
678
622
  class Logo < BrandDev::Internal::Type::BaseModel
679
623
  OrHash =
680
624
  T.type_alias do
@@ -19,7 +19,5 @@ module BrandDev
19
19
 
20
20
  BrandScreenshotParams = BrandDev::Models::BrandScreenshotParams
21
21
 
22
- BrandSearchParams = BrandDev::Models::BrandSearchParams
23
-
24
22
  BrandStyleguideParams = BrandDev::Models::BrandStyleguideParams
25
23
  end
@@ -185,25 +185,6 @@ module BrandDev
185
185
  )
186
186
  end
187
187
 
188
- # Search brands by query
189
- sig do
190
- params(
191
- query: String,
192
- timeout_ms: Integer,
193
- request_options: BrandDev::RequestOptions::OrHash
194
- ).returns(T::Array[BrandDev::Models::BrandSearchResponseItem])
195
- end
196
- def search(
197
- # Query string to search brands
198
- query:,
199
- # Optional timeout in milliseconds for the request. If the request takes longer
200
- # than this value, it will be aborted with a 408 status code. Maximum allowed
201
- # value is 300000ms (5 minutes).
202
- timeout_ms: nil,
203
- request_options: {}
204
- )
205
- end
206
-
207
188
  # Beta feature: Automatically extract comprehensive design system information from
208
189
  # a brand's website including colors, typography, spacing, shadows, and UI
209
190
  # components.
@@ -2,12 +2,18 @@ module BrandDev
2
2
  module Models
3
3
  type brand_ai_query_response =
4
4
  {
5
+ code: Integer,
5
6
  data_extracted: ::Array[BrandDev::Models::BrandAIQueryResponse::DataExtracted],
6
7
  domain: String,
8
+ status: String,
7
9
  urls_analyzed: ::Array[String]
8
10
  }
9
11
 
10
12
  class BrandAIQueryResponse < BrandDev::Internal::Type::BaseModel
13
+ attr_reader code: Integer?
14
+
15
+ def code=: (Integer) -> Integer
16
+
11
17
  attr_reader data_extracted: ::Array[BrandDev::Models::BrandAIQueryResponse::DataExtracted]?
12
18
 
13
19
  def data_extracted=: (
@@ -18,19 +24,27 @@ module BrandDev
18
24
 
19
25
  def domain=: (String) -> String
20
26
 
27
+ attr_reader status: String?
28
+
29
+ def status=: (String) -> String
30
+
21
31
  attr_reader urls_analyzed: ::Array[String]?
22
32
 
23
33
  def urls_analyzed=: (::Array[String]) -> ::Array[String]
24
34
 
25
35
  def initialize: (
36
+ ?code: Integer,
26
37
  ?data_extracted: ::Array[BrandDev::Models::BrandAIQueryResponse::DataExtracted],
27
38
  ?domain: String,
39
+ ?status: String,
28
40
  ?urls_analyzed: ::Array[String]
29
41
  ) -> void
30
42
 
31
43
  def to_hash: -> {
44
+ code: Integer,
32
45
  data_extracted: ::Array[BrandDev::Models::BrandAIQueryResponse::DataExtracted],
33
46
  domain: String,
47
+ status: String,
34
48
  urls_analyzed: ::Array[String]
35
49
  }
36
50
 
@@ -41,7 +41,7 @@ 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
+ is_nsfw: bool,
45
45
  logos: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo],
46
46
  slogan: String,
47
47
  socials: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Social],
@@ -76,11 +76,9 @@ module BrandDev
76
76
 
77
77
  def domain=: (String) -> String
78
78
 
79
- attr_reader fonts: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Font]?
79
+ attr_reader is_nsfw: bool?
80
80
 
81
- def fonts=: (
82
- ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Font]
83
- ) -> ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Font]
81
+ def is_nsfw=: (bool) -> bool
84
82
 
85
83
  attr_reader logos: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo]?
86
84
 
@@ -114,7 +112,7 @@ module BrandDev
114
112
  ?colors: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Color],
115
113
  ?description: String,
116
114
  ?domain: String,
117
- ?fonts: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Font],
115
+ ?is_nsfw: bool,
118
116
  ?logos: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo],
119
117
  ?slogan: String,
120
118
  ?socials: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Social],
@@ -128,7 +126,7 @@ module BrandDev
128
126
  colors: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Color],
129
127
  description: String,
130
128
  domain: String,
131
- fonts: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Font],
129
+ is_nsfw: bool,
132
130
  logos: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo],
133
131
  slogan: String,
134
132
  socials: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Social],
@@ -282,22 +280,6 @@ module BrandDev
282
280
  def to_hash: -> { hex: String, name: String }
283
281
  end
284
282
 
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
283
  type logo =
302
284
  {
303
285
  colors: ::Array[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::Color],
@@ -41,7 +41,7 @@ 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
+ is_nsfw: bool,
45
45
  logos: ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo],
46
46
  slogan: String,
47
47
  socials: ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Social],
@@ -76,11 +76,9 @@ module BrandDev
76
76
 
77
77
  def domain=: (String) -> String
78
78
 
79
- attr_reader fonts: ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Font]?
79
+ attr_reader is_nsfw: bool?
80
80
 
81
- def fonts=: (
82
- ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Font]
83
- ) -> ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Font]
81
+ def is_nsfw=: (bool) -> bool
84
82
 
85
83
  attr_reader logos: ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo]?
86
84
 
@@ -114,7 +112,7 @@ module BrandDev
114
112
  ?colors: ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Color],
115
113
  ?description: String,
116
114
  ?domain: String,
117
- ?fonts: ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Font],
115
+ ?is_nsfw: bool,
118
116
  ?logos: ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo],
119
117
  ?slogan: String,
120
118
  ?socials: ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Social],
@@ -128,7 +126,7 @@ module BrandDev
128
126
  colors: ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Color],
129
127
  description: String,
130
128
  domain: String,
131
- fonts: ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Font],
129
+ is_nsfw: bool,
132
130
  logos: ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo],
133
131
  slogan: String,
134
132
  socials: ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Social],
@@ -282,22 +280,6 @@ module BrandDev
282
280
  def to_hash: -> { hex: String, name: String }
283
281
  end
284
282
 
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
283
  type logo =
302
284
  {
303
285
  colors: ::Array[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo::Color],
@@ -41,7 +41,7 @@ module BrandDev
41
41
  colors: ::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Color],
42
42
  description: String,
43
43
  domain: String,
44
- fonts: ::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Font],
44
+ is_nsfw: bool,
45
45
  logos: ::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Logo],
46
46
  slogan: String,
47
47
  socials: ::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Social],
@@ -76,11 +76,9 @@ module BrandDev
76
76
 
77
77
  def domain=: (String) -> String
78
78
 
79
- attr_reader fonts: ::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Font]?
79
+ attr_reader is_nsfw: bool?
80
80
 
81
- def fonts=: (
82
- ::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Font]
83
- ) -> ::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Font]
81
+ def is_nsfw=: (bool) -> bool
84
82
 
85
83
  attr_reader logos: ::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Logo]?
86
84
 
@@ -114,7 +112,7 @@ module BrandDev
114
112
  ?colors: ::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Color],
115
113
  ?description: String,
116
114
  ?domain: String,
117
- ?fonts: ::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Font],
115
+ ?is_nsfw: bool,
118
116
  ?logos: ::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Logo],
119
117
  ?slogan: String,
120
118
  ?socials: ::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Social],
@@ -128,7 +126,7 @@ module BrandDev
128
126
  colors: ::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Color],
129
127
  description: String,
130
128
  domain: String,
131
- fonts: ::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Font],
129
+ is_nsfw: bool,
132
130
  logos: ::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Logo],
133
131
  slogan: String,
134
132
  socials: ::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Social],
@@ -282,22 +280,6 @@ module BrandDev
282
280
  def to_hash: -> { hex: String, name: String }
283
281
  end
284
282
 
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
283
  type logo =
302
284
  {
303
285
  colors: ::Array[BrandDev::Models::BrandRetrieveResponse::Brand::Logo::Color],
@@ -15,7 +15,5 @@ module BrandDev
15
15
 
16
16
  class BrandScreenshotParams = BrandDev::Models::BrandScreenshotParams
17
17
 
18
- class BrandSearchParams = BrandDev::Models::BrandSearchParams
19
-
20
18
  class BrandStyleguideParams = BrandDev::Models::BrandStyleguideParams
21
19
  end
@@ -53,12 +53,6 @@ module BrandDev
53
53
  ?request_options: BrandDev::request_opts
54
54
  ) -> BrandDev::Models::BrandScreenshotResponse
55
55
 
56
- def search: (
57
- query: String,
58
- ?timeout_ms: Integer,
59
- ?request_options: BrandDev::request_opts
60
- ) -> BrandDev::Models::brand_search_response
61
-
62
56
  def styleguide: (
63
57
  domain: String,
64
58
  ?timeout_ms: Integer,
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.1.0.pre.alpha.12
4
+ version: 0.1.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-06-29 00:00:00.000000000 Z
11
+ date: 2025-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool
@@ -70,8 +70,6 @@ files:
70
70
  - lib/brand_dev/models/brand_retrieve_simplified_response.rb
71
71
  - lib/brand_dev/models/brand_screenshot_params.rb
72
72
  - lib/brand_dev/models/brand_screenshot_response.rb
73
- - lib/brand_dev/models/brand_search_params.rb
74
- - lib/brand_dev/models/brand_search_response.rb
75
73
  - lib/brand_dev/models/brand_styleguide_params.rb
76
74
  - lib/brand_dev/models/brand_styleguide_response.rb
77
75
  - lib/brand_dev/request_options.rb
@@ -113,8 +111,6 @@ files:
113
111
  - rbi/brand_dev/models/brand_retrieve_simplified_response.rbi
114
112
  - rbi/brand_dev/models/brand_screenshot_params.rbi
115
113
  - rbi/brand_dev/models/brand_screenshot_response.rbi
116
- - rbi/brand_dev/models/brand_search_params.rbi
117
- - rbi/brand_dev/models/brand_search_response.rbi
118
114
  - rbi/brand_dev/models/brand_styleguide_params.rbi
119
115
  - rbi/brand_dev/models/brand_styleguide_response.rbi
120
116
  - rbi/brand_dev/request_options.rbi
@@ -155,8 +151,6 @@ files:
155
151
  - sig/brand_dev/models/brand_retrieve_simplified_response.rbs
156
152
  - sig/brand_dev/models/brand_screenshot_params.rbs
157
153
  - sig/brand_dev/models/brand_screenshot_response.rbs
158
- - sig/brand_dev/models/brand_search_params.rbs
159
- - sig/brand_dev/models/brand_search_response.rbs
160
154
  - sig/brand_dev/models/brand_styleguide_params.rbs
161
155
  - sig/brand_dev/models/brand_styleguide_response.rbs
162
156
  - sig/brand_dev/request_options.rbs
@@ -179,9 +173,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
179
173
  version: 3.2.0
180
174
  required_rubygems_version: !ruby/object:Gem::Requirement
181
175
  requirements:
182
- - - ">"
176
+ - - ">="
183
177
  - !ruby/object:Gem::Version
184
- version: 1.3.1
178
+ version: '0'
185
179
  requirements: []
186
180
  rubygems_version: 3.4.1
187
181
  signing_key:
@@ -1,35 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module BrandDev
4
- module Models
5
- # @see BrandDev::Resources::Brand#search
6
- class BrandSearchParams < BrandDev::Internal::Type::BaseModel
7
- extend BrandDev::Internal::Type::RequestParameters::Converter
8
- include BrandDev::Internal::Type::RequestParameters
9
-
10
- # @!attribute query
11
- # Query string to search brands
12
- #
13
- # @return [String]
14
- required :query, String
15
-
16
- # @!attribute timeout_ms
17
- # Optional timeout in milliseconds for the request. If the request takes longer
18
- # than this value, it will be aborted with a 408 status code. Maximum allowed
19
- # value is 300000ms (5 minutes).
20
- #
21
- # @return [Integer, nil]
22
- optional :timeout_ms, Integer
23
-
24
- # @!method initialize(query:, timeout_ms: nil, request_options: {})
25
- # Some parameter documentations has been truncated, see
26
- # {BrandDev::Models::BrandSearchParams} for more details.
27
- #
28
- # @param query [String] Query string to search brands
29
- #
30
- # @param timeout_ms [Integer] Optional timeout in milliseconds for the request. If the request takes longer th
31
- #
32
- # @param request_options [BrandDev::RequestOptions, Hash{Symbol=>Object}]
33
- end
34
- end
35
- end
@@ -1,35 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- module BrandDev
4
- module Models
5
- class BrandSearchResponseItem < BrandDev::Internal::Type::BaseModel
6
- # @!attribute domain
7
- # Domain name of the brand
8
- #
9
- # @return [String, nil]
10
- optional :domain, String
11
-
12
- # @!attribute logo
13
- # URL of the brand's logo
14
- #
15
- # @return [String, nil]
16
- optional :logo, String
17
-
18
- # @!attribute title
19
- # Title or name of the brand
20
- #
21
- # @return [String, nil]
22
- optional :title, String
23
-
24
- # @!method initialize(domain: nil, logo: nil, title: nil)
25
- # @param domain [String] Domain name of the brand
26
- #
27
- # @param logo [String] URL of the brand's logo
28
- #
29
- # @param title [String] Title or name of the brand
30
- end
31
-
32
- # @type [BrandDev::Internal::Type::Converter]
33
- BrandSearchResponse = BrandDev::Internal::Type::ArrayOf[-> { BrandDev::Models::BrandSearchResponseItem }]
34
- end
35
- end