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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8489d32b9b6fab9c950ab137de8d3cd7a20deff639c8d7c276800ddfe3c0e0be
4
- data.tar.gz: 129c18090fafd4cbff4e8dc593b6b7dee9f120c93a8658e192b65d7e6848a8de
3
+ metadata.gz: 824d292c41a48213239b6d735b4603e5e00e06e78993cf0ef687aa52222c9755
4
+ data.tar.gz: fd40a5b5cab29332c6a1a25654015f31230523e059646ce75be08696c0605fd8
5
5
  SHA512:
6
- metadata.gz: 7023535ddb49dd527e5e63ce9ee57f7c7a84b83439f9360edab750246238159abfcd30e4805d14f097622dfee36267f556e571171756c9fdef68d18ddabdf933
7
- data.tar.gz: 968d17e3084aa9a17b701f4d78c523a198731f1ed8f0d371e2dd3d0b51ac6778d7af963298d5d679356ef4894bc89996356ea265546a312d7f06db4f4d493afb
6
+ metadata.gz: 134eb59e2cf2b53012812e2d0028e488ecfae96cc0a0bd18e79f0042421fde9d121a0e90d152e6093947a538367e121d97e89b6c5264d5b3ece7b884d99154c6
7
+ data.tar.gz: 6dec3e7ad876474973f234021971eb5dd751ac87f638dbee58a95f9915e79c7099c2281b3583e9667c150894409de7edb7cdf72ef5ca9a2b9bdef461de9c3757
data/CHANGELOG.md CHANGED
@@ -1,5 +1,54 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.0 (2025-07-29)
4
+
5
+ Full Changelog: [v0.0.2...v0.1.0](https://github.com/brand-dot-dev/ruby-sdk/compare/v0.0.2...v0.1.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** manual updates ([16b9bdc](https://github.com/brand-dot-dev/ruby-sdk/commit/16b9bdcdbcbac819a1120c93399195b102db34ed))
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * **internal:** ensure sorbet test always runs serially ([b780fe6](https://github.com/brand-dot-dev/ruby-sdk/commit/b780fe622148d3af2db69a59c16470ebf82b3702))
15
+
16
+
17
+ ### Chores
18
+
19
+ * **internal:** version bump ([d7516ea](https://github.com/brand-dot-dev/ruby-sdk/commit/d7516ea2cf7f6c5b21236d90fca254a91476d5ad))
20
+ * update contribute.md ([05a6bc4](https://github.com/brand-dot-dev/ruby-sdk/commit/05a6bc4264abb72f63d72ee43a0ba2fac7fd0511))
21
+
22
+ ## 0.0.2 (2025-07-21)
23
+
24
+ Full Changelog: [v0.0.1...v0.0.2](https://github.com/brand-dot-dev/ruby-sdk/compare/v0.0.1...v0.0.2)
25
+
26
+ ### Chores
27
+
28
+ * **internal:** version bump ([c8553b7](https://github.com/brand-dot-dev/ruby-sdk/commit/c8553b728303284cda46b2a980743c5533932fdd))
29
+
30
+ ## 0.0.1 (2025-07-21)
31
+
32
+ Full Changelog: [v0.1.0-alpha.13...v0.0.1](https://github.com/brand-dot-dev/ruby-sdk/compare/v0.1.0-alpha.13...v0.0.1)
33
+
34
+ ### Features
35
+
36
+ * **api:** manual updates ([cfaabba](https://github.com/brand-dot-dev/ruby-sdk/commit/cfaabbab93b68ba4926f78560d759d788e4b4b98))
37
+
38
+
39
+ ### Chores
40
+
41
+ * **internal:** allow streams to also be unwrapped on a per-row basis ([99d7893](https://github.com/brand-dot-dev/ruby-sdk/commit/99d7893d01a3e111d49fb7c39e53bc9dd524f6b6))
42
+ * **internal:** version bump ([d51ca58](https://github.com/brand-dot-dev/ruby-sdk/commit/d51ca5841eb432576fb2e251d4ebdab02cfb1ad7))
43
+
44
+ ## 0.1.0-alpha.13 (2025-06-29)
45
+
46
+ Full Changelog: [v0.1.0-alpha.12...v0.1.0-alpha.13](https://github.com/brand-dot-dev/ruby-sdk/compare/v0.1.0-alpha.12...v0.1.0-alpha.13)
47
+
48
+ ### Chores
49
+
50
+ * **internal:** version bump ([20129a5](https://github.com/brand-dot-dev/ruby-sdk/commit/20129a56c65cbf2bbe2e6f15ea146213a0b41aa0))
51
+
3
52
  ## 0.1.0-alpha.12 (2025-06-29)
4
53
 
5
54
  Full Changelog: [v0.1.0-alpha.11...v0.1.0-alpha.12](https://github.com/brand-dot-dev/ruby-sdk/compare/v0.1.0-alpha.11...v0.1.0-alpha.12)
data/README.md CHANGED
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
15
15
  <!-- x-release-please-start-version -->
16
16
 
17
17
  ```ruby
18
- gem "brand.dev", "~> 0.1.0.pre.alpha.12"
18
+ gem "brand.dev", "~> 0.1.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -471,6 +471,7 @@ module BrandDev
471
471
  self.class.validate!(req)
472
472
  model = req.fetch(:model) { BrandDev::Internal::Type::Unknown }
473
473
  opts = req[:options].to_h
474
+ unwrap = req[:unwrap]
474
475
  BrandDev::RequestOptions.validate!(opts)
475
476
  request = build_request(req.except(:options), opts)
476
477
  url = request.fetch(:url)
@@ -487,11 +488,18 @@ module BrandDev
487
488
  decoded = BrandDev::Internal::Util.decode_content(response, stream: stream)
488
489
  case req
489
490
  in {stream: Class => st}
490
- st.new(model: model, url: url, status: status, response: response, stream: decoded)
491
+ st.new(
492
+ model: model,
493
+ url: url,
494
+ status: status,
495
+ response: response,
496
+ unwrap: unwrap,
497
+ stream: decoded
498
+ )
491
499
  in {page: Class => page}
492
500
  page.new(client: self, req: req, headers: response, page_data: decoded)
493
501
  else
494
- unwrapped = BrandDev::Internal::Util.dig(decoded, req[:unwrap])
502
+ unwrapped = BrandDev::Internal::Util.dig(decoded, unwrap)
495
503
  BrandDev::Internal::Type::Converter.coerce(model, unwrapped)
496
504
  end
497
505
  end
@@ -4,6 +4,12 @@ module BrandDev
4
4
  module Models
5
5
  # @see BrandDev::Resources::Brand#ai_query
6
6
  class BrandAIQueryResponse < BrandDev::Internal::Type::BaseModel
7
+ # @!attribute code
8
+ # HTTP status code
9
+ #
10
+ # @return [Integer, nil]
11
+ optional :code, Integer
12
+
7
13
  # @!attribute data_extracted
8
14
  # Array of extracted data points
9
15
  #
@@ -17,17 +23,27 @@ module BrandDev
17
23
  # @return [String, nil]
18
24
  optional :domain, String
19
25
 
26
+ # @!attribute status
27
+ # Status of the response, e.g., 'ok'
28
+ #
29
+ # @return [String, nil]
30
+ optional :status, String
31
+
20
32
  # @!attribute urls_analyzed
21
33
  # List of URLs that were analyzed
22
34
  #
23
35
  # @return [Array<String>, nil]
24
36
  optional :urls_analyzed, BrandDev::Internal::Type::ArrayOf[String]
25
37
 
26
- # @!method initialize(data_extracted: nil, domain: nil, urls_analyzed: nil)
38
+ # @!method initialize(code: nil, data_extracted: nil, domain: nil, status: nil, urls_analyzed: nil)
39
+ # @param code [Integer] HTTP status code
40
+ #
27
41
  # @param data_extracted [Array<BrandDev::Models::BrandAIQueryResponse::DataExtracted>] Array of extracted data points
28
42
  #
29
43
  # @param domain [String] The domain that was analyzed
30
44
  #
45
+ # @param status [String] Status of the response, e.g., 'ok'
46
+ #
31
47
  # @param urls_analyzed [Array<String>] List of URLs that were analyzed
32
48
 
33
49
  class DataExtracted < BrandDev::Internal::Type::BaseModel
@@ -63,12 +63,11 @@ module BrandDev
63
63
  # @return [String, nil]
64
64
  optional :domain, String
65
65
 
66
- # @!attribute fonts
67
- # An array of fonts used by the brand's website
66
+ # @!attribute is_nsfw
67
+ # Indicates whether the brand content is not safe for work (NSFW)
68
68
  #
69
- # @return [Array<BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Font>, nil]
70
- optional :fonts,
71
- -> { BrandDev::Internal::Type::ArrayOf[BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Font] }
69
+ # @return [Boolean, nil]
70
+ optional :is_nsfw, BrandDev::Internal::Type::Boolean
72
71
 
73
72
  # @!attribute logos
74
73
  # An array of logos associated with the brand
@@ -103,7 +102,7 @@ module BrandDev
103
102
  # @return [String, nil]
104
103
  optional :title, String
105
104
 
106
- # @!method initialize(address: nil, backdrops: nil, colors: nil, description: nil, domain: nil, fonts: nil, logos: nil, slogan: nil, socials: nil, stock: nil, title: nil)
105
+ # @!method initialize(address: nil, backdrops: nil, colors: nil, description: nil, domain: nil, is_nsfw: nil, logos: nil, slogan: nil, socials: nil, stock: nil, title: nil)
107
106
  # Some parameter documentations has been truncated, see
108
107
  # {BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand} for more
109
108
  # details.
@@ -120,7 +119,7 @@ module BrandDev
120
119
  #
121
120
  # @param domain [String] The domain name of the brand
122
121
  #
123
- # @param fonts [Array<BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Font>] An array of fonts used by the brand's website
122
+ # @param is_nsfw [Boolean] Indicates whether the brand content is not safe for work (NSFW)
124
123
  #
125
124
  # @param logos [Array<BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo>] An array of logos associated with the brand
126
125
  #
@@ -283,25 +282,6 @@ module BrandDev
283
282
  # @param name [String] Name of the color
284
283
  end
285
284
 
286
- class Font < BrandDev::Internal::Type::BaseModel
287
- # @!attribute name
288
- # Name of the font
289
- #
290
- # @return [String, nil]
291
- optional :name, String
292
-
293
- # @!attribute usage
294
- # Usage of the font, e.g., 'title', 'body', 'button'
295
- #
296
- # @return [String, nil]
297
- optional :usage, String
298
-
299
- # @!method initialize(name: nil, usage: nil)
300
- # @param name [String] Name of the font
301
- #
302
- # @param usage [String] Usage of the font, e.g., 'title', 'body', 'button'
303
- end
304
-
305
285
  class Logo < BrandDev::Internal::Type::BaseModel
306
286
  # @!attribute colors
307
287
  # Array of colors in the logo
@@ -63,12 +63,11 @@ module BrandDev
63
63
  # @return [String, nil]
64
64
  optional :domain, String
65
65
 
66
- # @!attribute fonts
67
- # An array of fonts used by the brand's website
66
+ # @!attribute is_nsfw
67
+ # Indicates whether the brand content is not safe for work (NSFW)
68
68
  #
69
- # @return [Array<BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Font>, nil]
70
- optional :fonts,
71
- -> { BrandDev::Internal::Type::ArrayOf[BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Font] }
69
+ # @return [Boolean, nil]
70
+ optional :is_nsfw, BrandDev::Internal::Type::Boolean
72
71
 
73
72
  # @!attribute logos
74
73
  # An array of logos associated with the brand
@@ -103,7 +102,7 @@ module BrandDev
103
102
  # @return [String, nil]
104
103
  optional :title, String
105
104
 
106
- # @!method initialize(address: nil, backdrops: nil, colors: nil, description: nil, domain: nil, fonts: nil, logos: nil, slogan: nil, socials: nil, stock: nil, title: nil)
105
+ # @!method initialize(address: nil, backdrops: nil, colors: nil, description: nil, domain: nil, is_nsfw: nil, logos: nil, slogan: nil, socials: nil, stock: nil, title: nil)
107
106
  # Some parameter documentations has been truncated, see
108
107
  # {BrandDev::Models::BrandRetrieveByTickerResponse::Brand} for more details.
109
108
  #
@@ -119,7 +118,7 @@ module BrandDev
119
118
  #
120
119
  # @param domain [String] The domain name of the brand
121
120
  #
122
- # @param fonts [Array<BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Font>] An array of fonts used by the brand's website
121
+ # @param is_nsfw [Boolean] Indicates whether the brand content is not safe for work (NSFW)
123
122
  #
124
123
  # @param logos [Array<BrandDev::Models::BrandRetrieveByTickerResponse::Brand::Logo>] An array of logos associated with the brand
125
124
  #
@@ -281,25 +280,6 @@ module BrandDev
281
280
  # @param name [String] Name of the color
282
281
  end
283
282
 
284
- class Font < BrandDev::Internal::Type::BaseModel
285
- # @!attribute name
286
- # Name of the font
287
- #
288
- # @return [String, nil]
289
- optional :name, String
290
-
291
- # @!attribute usage
292
- # Usage of the font, e.g., 'title', 'body', 'button'
293
- #
294
- # @return [String, nil]
295
- optional :usage, String
296
-
297
- # @!method initialize(name: nil, usage: nil)
298
- # @param name [String] Name of the font
299
- #
300
- # @param usage [String] Usage of the font, e.g., 'title', 'body', 'button'
301
- end
302
-
303
283
  class Logo < BrandDev::Internal::Type::BaseModel
304
284
  # @!attribute colors
305
285
  # Array of colors in the logo
@@ -63,13 +63,11 @@ module BrandDev
63
63
  # @return [String, nil]
64
64
  optional :domain, String
65
65
 
66
- # @!attribute fonts
67
- # An array of fonts used by the brand's website. NOTE: This is deprecated and will
68
- # be removed in the future. Please migrate to the styleguide API.
66
+ # @!attribute is_nsfw
67
+ # Indicates whether the brand content is not safe for work (NSFW)
69
68
  #
70
- # @return [Array<BrandDev::Models::BrandRetrieveResponse::Brand::Font>, nil]
71
- optional :fonts,
72
- -> { BrandDev::Internal::Type::ArrayOf[BrandDev::Models::BrandRetrieveResponse::Brand::Font] }
69
+ # @return [Boolean, nil]
70
+ optional :is_nsfw, BrandDev::Internal::Type::Boolean
73
71
 
74
72
  # @!attribute logos
75
73
  # An array of logos associated with the brand
@@ -104,7 +102,7 @@ module BrandDev
104
102
  # @return [String, nil]
105
103
  optional :title, String
106
104
 
107
- # @!method initialize(address: nil, backdrops: nil, colors: nil, description: nil, domain: nil, fonts: nil, logos: nil, slogan: nil, socials: nil, stock: nil, title: nil)
105
+ # @!method initialize(address: nil, backdrops: nil, colors: nil, description: nil, domain: nil, is_nsfw: nil, logos: nil, slogan: nil, socials: nil, stock: nil, title: nil)
108
106
  # Some parameter documentations has been truncated, see
109
107
  # {BrandDev::Models::BrandRetrieveResponse::Brand} for more details.
110
108
  #
@@ -120,7 +118,7 @@ module BrandDev
120
118
  #
121
119
  # @param domain [String] The domain name of the brand
122
120
  #
123
- # @param fonts [Array<BrandDev::Models::BrandRetrieveResponse::Brand::Font>] An array of fonts used by the brand's website. NOTE: This is deprecated and will
121
+ # @param is_nsfw [Boolean] Indicates whether the brand content is not safe for work (NSFW)
124
122
  #
125
123
  # @param logos [Array<BrandDev::Models::BrandRetrieveResponse::Brand::Logo>] An array of logos associated with the brand
126
124
  #
@@ -282,25 +280,6 @@ module BrandDev
282
280
  # @param name [String] Name of the color
283
281
  end
284
282
 
285
- class Font < BrandDev::Internal::Type::BaseModel
286
- # @!attribute name
287
- # Name of the font
288
- #
289
- # @return [String, nil]
290
- optional :name, String
291
-
292
- # @!attribute usage
293
- # Usage of the font, e.g., 'title', 'body', 'button'
294
- #
295
- # @return [String, nil]
296
- optional :usage, String
297
-
298
- # @!method initialize(name: nil, usage: nil)
299
- # @param name [String] Name of the font
300
- #
301
- # @param usage [String] Usage of the font, e.g., 'title', 'body', 'button'
302
- end
303
-
304
283
  class Logo < BrandDev::Internal::Type::BaseModel
305
284
  # @!attribute colors
306
285
  # Array of colors in the logo
@@ -55,7 +55,5 @@ module BrandDev
55
55
 
56
56
  BrandScreenshotParams = BrandDev::Models::BrandScreenshotParams
57
57
 
58
- BrandSearchParams = BrandDev::Models::BrandSearchParams
59
-
60
58
  BrandStyleguideParams = BrandDev::Models::BrandStyleguideParams
61
59
  end
@@ -237,33 +237,6 @@ module BrandDev
237
237
  )
238
238
  end
239
239
 
240
- # Some parameter documentations has been truncated, see
241
- # {BrandDev::Models::BrandSearchParams} for more details.
242
- #
243
- # Search brands by query
244
- #
245
- # @overload search(query:, timeout_ms: nil, request_options: {})
246
- #
247
- # @param query [String] Query string to search brands
248
- #
249
- # @param timeout_ms [Integer] Optional timeout in milliseconds for the request. If the request takes longer th
250
- #
251
- # @param request_options [BrandDev::RequestOptions, Hash{Symbol=>Object}, nil]
252
- #
253
- # @return [Array<BrandDev::Models::BrandSearchResponseItem>]
254
- #
255
- # @see BrandDev::Models::BrandSearchParams
256
- def search(params)
257
- parsed, options = BrandDev::BrandSearchParams.dump_request(params)
258
- @client.request(
259
- method: :get,
260
- path: "brand/search",
261
- query: parsed.transform_keys(timeout_ms: "timeoutMS"),
262
- model: BrandDev::Internal::Type::ArrayOf[BrandDev::Models::BrandSearchResponseItem],
263
- options: options
264
- )
265
- end
266
-
267
240
  # Some parameter documentations has been truncated, see
268
241
  # {BrandDev::Models::BrandStyleguideParams} for more details.
269
242
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BrandDev
4
- VERSION = "0.1.0.pre.alpha.12"
4
+ VERSION = "0.1.0"
5
5
  end
data/lib/brand_dev.rb CHANGED
@@ -66,8 +66,6 @@ require_relative "brand_dev/models/brand_retrieve_simplified_params"
66
66
  require_relative "brand_dev/models/brand_retrieve_simplified_response"
67
67
  require_relative "brand_dev/models/brand_screenshot_params"
68
68
  require_relative "brand_dev/models/brand_screenshot_response"
69
- require_relative "brand_dev/models/brand_search_params"
70
- require_relative "brand_dev/models/brand_search_response"
71
69
  require_relative "brand_dev/models/brand_styleguide_params"
72
70
  require_relative "brand_dev/models/brand_styleguide_response"
73
71
  require_relative "brand_dev/models"
@@ -11,6 +11,13 @@ module BrandDev
11
11
  )
12
12
  end
13
13
 
14
+ # HTTP status code
15
+ sig { returns(T.nilable(Integer)) }
16
+ attr_reader :code
17
+
18
+ sig { params(code: Integer).void }
19
+ attr_writer :code
20
+
14
21
  # Array of extracted data points
15
22
  sig do
16
23
  returns(
@@ -38,6 +45,13 @@ module BrandDev
38
45
  sig { params(domain: String).void }
39
46
  attr_writer :domain
40
47
 
48
+ # Status of the response, e.g., 'ok'
49
+ sig { returns(T.nilable(String)) }
50
+ attr_reader :status
51
+
52
+ sig { params(status: String).void }
53
+ attr_writer :status
54
+
41
55
  # List of URLs that were analyzed
42
56
  sig { returns(T.nilable(T::Array[String])) }
43
57
  attr_reader :urls_analyzed
@@ -47,19 +61,25 @@ module BrandDev
47
61
 
48
62
  sig do
49
63
  params(
64
+ code: Integer,
50
65
  data_extracted:
51
66
  T::Array[
52
67
  BrandDev::Models::BrandAIQueryResponse::DataExtracted::OrHash
53
68
  ],
54
69
  domain: String,
70
+ status: String,
55
71
  urls_analyzed: T::Array[String]
56
72
  ).returns(T.attached_class)
57
73
  end
58
74
  def self.new(
75
+ # HTTP status code
76
+ code: nil,
59
77
  # Array of extracted data points
60
78
  data_extracted: nil,
61
79
  # The domain that was analyzed
62
80
  domain: nil,
81
+ # Status of the response, e.g., 'ok'
82
+ status: nil,
63
83
  # List of URLs that were analyzed
64
84
  urls_analyzed: nil
65
85
  )
@@ -68,9 +88,11 @@ module BrandDev
68
88
  sig do
69
89
  override.returns(
70
90
  {
91
+ code: Integer,
71
92
  data_extracted:
72
93
  T::Array[BrandDev::Models::BrandAIQueryResponse::DataExtracted],
73
94
  domain: String,
95
+ status: String,
74
96
  urls_analyzed: T::Array[String]
75
97
  }
76
98
  )
@@ -159,27 +159,12 @@ module BrandDev
159
159
  sig { params(domain: String).void }
160
160
  attr_writer :domain
161
161
 
162
- # An array of fonts used by the brand's website
163
- sig do
164
- returns(
165
- T.nilable(
166
- T::Array[
167
- BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Font
168
- ]
169
- )
170
- )
171
- end
172
- attr_reader :fonts
162
+ # Indicates whether the brand content is not safe for work (NSFW)
163
+ sig { returns(T.nilable(T::Boolean)) }
164
+ attr_reader :is_nsfw
173
165
 
174
- sig do
175
- params(
176
- fonts:
177
- T::Array[
178
- BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Font::OrHash
179
- ]
180
- ).void
181
- end
182
- attr_writer :fonts
166
+ sig { params(is_nsfw: T::Boolean).void }
167
+ attr_writer :is_nsfw
183
168
 
184
169
  # An array of logos associated with the brand
185
170
  sig do
@@ -273,10 +258,7 @@ module BrandDev
273
258
  ],
274
259
  description: String,
275
260
  domain: String,
276
- fonts:
277
- T::Array[
278
- BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Font::OrHash
279
- ],
261
+ is_nsfw: T::Boolean,
280
262
  logos:
281
263
  T::Array[
282
264
  BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo::OrHash
@@ -302,8 +284,8 @@ module BrandDev
302
284
  description: nil,
303
285
  # The domain name of the brand
304
286
  domain: nil,
305
- # An array of fonts used by the brand's website
306
- fonts: nil,
287
+ # Indicates whether the brand content is not safe for work (NSFW)
288
+ is_nsfw: nil,
307
289
  # An array of logos associated with the brand
308
290
  logos: nil,
309
291
  # The brand's slogan
@@ -333,10 +315,7 @@ module BrandDev
333
315
  ],
334
316
  description: String,
335
317
  domain: String,
336
- fonts:
337
- T::Array[
338
- BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Font
339
- ],
318
+ is_nsfw: T::Boolean,
340
319
  logos:
341
320
  T::Array[
342
321
  BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Logo
@@ -668,43 +647,6 @@ module BrandDev
668
647
  end
669
648
  end
670
649
 
671
- class Font < BrandDev::Internal::Type::BaseModel
672
- OrHash =
673
- T.type_alias do
674
- T.any(
675
- BrandDev::Models::BrandIdentifyFromTransactionResponse::Brand::Font,
676
- BrandDev::Internal::AnyHash
677
- )
678
- end
679
-
680
- # Name of the font
681
- sig { returns(T.nilable(String)) }
682
- attr_reader :name
683
-
684
- sig { params(name: String).void }
685
- attr_writer :name
686
-
687
- # Usage of the font, e.g., 'title', 'body', 'button'
688
- sig { returns(T.nilable(String)) }
689
- attr_reader :usage
690
-
691
- sig { params(usage: String).void }
692
- attr_writer :usage
693
-
694
- sig { params(name: String, usage: String).returns(T.attached_class) }
695
- def self.new(
696
- # Name of the font
697
- name: nil,
698
- # Usage of the font, e.g., 'title', 'body', 'button'
699
- usage: nil
700
- )
701
- end
702
-
703
- sig { override.returns({ name: String, usage: String }) }
704
- def to_hash
705
- end
706
- end
707
-
708
650
  class Logo < BrandDev::Internal::Type::BaseModel
709
651
  OrHash =
710
652
  T.type_alias do