brand.dev 0.0.1.pre.alpha.0 → 0.0.2

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 (89) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +188 -0
  3. data/README.md +7 -3
  4. data/lib/brand_dev/errors.rb +22 -0
  5. data/lib/brand_dev/internal/transport/base_client.rb +10 -2
  6. data/lib/brand_dev/internal/type/array_of.rb +6 -1
  7. data/lib/brand_dev/internal/type/base_model.rb +77 -25
  8. data/lib/brand_dev/internal/type/boolean.rb +7 -1
  9. data/lib/brand_dev/internal/type/converter.rb +42 -34
  10. data/lib/brand_dev/internal/type/enum.rb +16 -5
  11. data/lib/brand_dev/internal/type/file_input.rb +6 -1
  12. data/lib/brand_dev/internal/type/hash_of.rb +6 -1
  13. data/lib/brand_dev/internal/type/union.rb +17 -9
  14. data/lib/brand_dev/internal/type/unknown.rb +7 -1
  15. data/lib/brand_dev/internal/util.rb +8 -9
  16. data/lib/brand_dev/models/brand_ai_query_params.rb +173 -0
  17. data/lib/brand_dev/models/brand_ai_query_response.rb +80 -0
  18. data/lib/brand_dev/models/brand_identify_from_transaction_params.rb +14 -1
  19. data/lib/brand_dev/models/brand_identify_from_transaction_response.rb +1 -29
  20. data/lib/brand_dev/models/brand_prefetch_params.rb +35 -0
  21. data/lib/brand_dev/models/brand_prefetch_response.rb +33 -0
  22. data/lib/brand_dev/models/brand_retrieve_by_ticker_params.rb +14 -1
  23. data/lib/brand_dev/models/brand_retrieve_by_ticker_response.rb +1 -29
  24. data/lib/brand_dev/models/brand_retrieve_naics_params.rb +11 -1
  25. data/lib/brand_dev/models/brand_retrieve_params.rb +24 -1
  26. data/lib/brand_dev/models/brand_retrieve_response.rb +1 -29
  27. data/lib/brand_dev/models/brand_retrieve_simplified_params.rb +35 -0
  28. data/lib/brand_dev/models/brand_retrieve_simplified_response.rb +280 -0
  29. data/lib/brand_dev/models/brand_screenshot_params.rb +49 -0
  30. data/lib/brand_dev/models/brand_screenshot_response.rb +64 -0
  31. data/lib/brand_dev/models/brand_styleguide_params.rb +36 -0
  32. data/lib/brand_dev/models/brand_styleguide_response.rb +769 -0
  33. data/lib/brand_dev/models.rb +13 -5
  34. data/lib/brand_dev/resources/brand.rb +165 -18
  35. data/lib/brand_dev/version.rb +1 -1
  36. data/lib/brand_dev.rb +10 -2
  37. data/rbi/brand_dev/errors.rbi +16 -0
  38. data/rbi/brand_dev/internal/type/boolean.rbi +2 -0
  39. data/rbi/brand_dev/internal/type/converter.rbi +15 -15
  40. data/rbi/brand_dev/internal/type/union.rbi +5 -0
  41. data/rbi/brand_dev/internal/type/unknown.rbi +2 -0
  42. data/rbi/brand_dev/internal/util.rbi +2 -0
  43. data/rbi/brand_dev/models/brand_ai_query_params.rbi +319 -0
  44. data/rbi/brand_dev/models/brand_ai_query_response.rbi +182 -0
  45. data/rbi/brand_dev/models/brand_identify_from_transaction_params.rbi +15 -0
  46. data/rbi/brand_dev/models/brand_identify_from_transaction_response.rbi +0 -69
  47. data/rbi/brand_dev/models/brand_prefetch_params.rbi +58 -0
  48. data/rbi/brand_dev/models/brand_prefetch_response.rbi +57 -0
  49. data/rbi/brand_dev/models/brand_retrieve_by_ticker_params.rbi +19 -1
  50. data/rbi/brand_dev/models/brand_retrieve_by_ticker_response.rbi +0 -69
  51. data/rbi/brand_dev/models/brand_retrieve_naics_params.rbi +19 -1
  52. data/rbi/brand_dev/models/brand_retrieve_params.rbi +30 -0
  53. data/rbi/brand_dev/models/brand_retrieve_response.rbi +0 -65
  54. data/rbi/brand_dev/models/brand_retrieve_simplified_params.rbi +61 -0
  55. data/rbi/brand_dev/models/brand_retrieve_simplified_response.rbi +667 -0
  56. data/rbi/brand_dev/models/brand_screenshot_params.rbi +105 -0
  57. data/rbi/brand_dev/models/brand_screenshot_response.rbi +135 -0
  58. data/rbi/brand_dev/models/brand_styleguide_params.rbi +60 -0
  59. data/rbi/brand_dev/models/brand_styleguide_response.rbi +1648 -0
  60. data/rbi/brand_dev/models.rbi +10 -1
  61. data/rbi/brand_dev/resources/brand.rbi +133 -6
  62. data/sig/brand_dev/errors.rbs +9 -0
  63. data/sig/brand_dev/internal/type/converter.rbs +7 -1
  64. data/sig/brand_dev/models/brand_ai_query_params.rbs +162 -0
  65. data/sig/brand_dev/models/brand_ai_query_response.rbs +79 -0
  66. data/sig/brand_dev/models/brand_identify_from_transaction_params.rbs +7 -1
  67. data/sig/brand_dev/models/brand_identify_from_transaction_response.rbs +0 -25
  68. data/sig/brand_dev/models/brand_prefetch_params.rbs +30 -0
  69. data/sig/brand_dev/models/brand_prefetch_response.rbs +28 -0
  70. data/sig/brand_dev/models/brand_retrieve_by_ticker_params.rbs +8 -1
  71. data/sig/brand_dev/models/brand_retrieve_by_ticker_response.rbs +0 -25
  72. data/sig/brand_dev/models/brand_retrieve_naics_params.rbs +8 -1
  73. data/sig/brand_dev/models/brand_retrieve_params.rbs +15 -1
  74. data/sig/brand_dev/models/brand_retrieve_response.rbs +0 -25
  75. data/sig/brand_dev/models/brand_retrieve_simplified_params.rbs +30 -0
  76. data/sig/brand_dev/models/brand_retrieve_simplified_response.rbs +292 -0
  77. data/sig/brand_dev/models/brand_screenshot_params.rbs +46 -0
  78. data/sig/brand_dev/models/brand_screenshot_response.rbs +63 -0
  79. data/sig/brand_dev/models/brand_styleguide_params.rbs +30 -0
  80. data/sig/brand_dev/models/brand_styleguide_response.rbs +925 -0
  81. data/sig/brand_dev/models.rbs +9 -1
  82. data/sig/brand_dev/resources/brand.rbs +35 -3
  83. metadata +46 -22
  84. data/lib/brand_dev/models/brand_search_params.rb +0 -22
  85. data/lib/brand_dev/models/brand_search_response.rb +0 -35
  86. data/rbi/brand_dev/models/brand_search_params.rbi +0 -40
  87. data/rbi/brand_dev/models/brand_search_response.rbi +0 -63
  88. data/sig/brand_dev/models/brand_search_params.rbs +0 -23
  89. data/sig/brand_dev/models/brand_search_response.rbs +0 -29
@@ -1,11 +1,19 @@
1
1
  module BrandDev
2
+ class BrandAIQueryParams = BrandDev::Models::BrandAIQueryParams
3
+
2
4
  class BrandIdentifyFromTransactionParams = BrandDev::Models::BrandIdentifyFromTransactionParams
3
5
 
6
+ class BrandPrefetchParams = BrandDev::Models::BrandPrefetchParams
7
+
4
8
  class BrandRetrieveByTickerParams = BrandDev::Models::BrandRetrieveByTickerParams
5
9
 
6
10
  class BrandRetrieveNaicsParams = BrandDev::Models::BrandRetrieveNaicsParams
7
11
 
8
12
  class BrandRetrieveParams = BrandDev::Models::BrandRetrieveParams
9
13
 
10
- class BrandSearchParams = BrandDev::Models::BrandSearchParams
14
+ class BrandRetrieveSimplifiedParams = BrandDev::Models::BrandRetrieveSimplifiedParams
15
+
16
+ class BrandScreenshotParams = BrandDev::Models::BrandScreenshotParams
17
+
18
+ class BrandStyleguideParams = BrandDev::Models::BrandStyleguideParams
11
19
  end
@@ -4,28 +4,60 @@ module BrandDev
4
4
  def retrieve: (
5
5
  domain: String,
6
6
  ?force_language: BrandDev::Models::BrandRetrieveParams::force_language,
7
+ ?max_speed: bool,
8
+ ?timeout_ms: Integer,
7
9
  ?request_options: BrandDev::request_opts
8
10
  ) -> BrandDev::Models::BrandRetrieveResponse
9
11
 
12
+ def ai_query: (
13
+ data_to_extract: ::Array[BrandDev::BrandAIQueryParams::DataToExtract],
14
+ domain: String,
15
+ ?specific_pages: BrandDev::BrandAIQueryParams::SpecificPages,
16
+ ?timeout_ms: Integer,
17
+ ?request_options: BrandDev::request_opts
18
+ ) -> BrandDev::Models::BrandAIQueryResponse
19
+
10
20
  def identify_from_transaction: (
11
21
  transaction_info: String,
22
+ ?timeout_ms: Integer,
12
23
  ?request_options: BrandDev::request_opts
13
24
  ) -> BrandDev::Models::BrandIdentifyFromTransactionResponse
14
25
 
26
+ def prefetch: (
27
+ domain: String,
28
+ ?timeout_ms: Integer,
29
+ ?request_options: BrandDev::request_opts
30
+ ) -> BrandDev::Models::BrandPrefetchResponse
31
+
15
32
  def retrieve_by_ticker: (
16
33
  ticker: String,
34
+ ?timeout_ms: Integer,
17
35
  ?request_options: BrandDev::request_opts
18
36
  ) -> BrandDev::Models::BrandRetrieveByTickerResponse
19
37
 
20
38
  def retrieve_naics: (
21
39
  input: String,
40
+ ?timeout_ms: Integer,
22
41
  ?request_options: BrandDev::request_opts
23
42
  ) -> BrandDev::Models::BrandRetrieveNaicsResponse
24
43
 
25
- def search: (
26
- query: String,
44
+ def retrieve_simplified: (
45
+ domain: String,
46
+ ?timeout_ms: Integer,
47
+ ?request_options: BrandDev::request_opts
48
+ ) -> BrandDev::Models::BrandRetrieveSimplifiedResponse
49
+
50
+ def screenshot: (
51
+ domain: String,
52
+ ?full_screenshot: BrandDev::Models::BrandScreenshotParams::full_screenshot,
53
+ ?request_options: BrandDev::request_opts
54
+ ) -> BrandDev::Models::BrandScreenshotResponse
55
+
56
+ def styleguide: (
57
+ domain: String,
58
+ ?timeout_ms: Integer,
27
59
  ?request_options: BrandDev::request_opts
28
- ) -> BrandDev::Models::brand_search_response
60
+ ) -> BrandDev::Models::BrandStyleguideResponse
29
61
 
30
62
  def initialize: (client: BrandDev::Client) -> void
31
63
  end
metadata CHANGED
@@ -1,36 +1,37 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brand.dev
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.pre.alpha.0
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brand Dev
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-05-29 00:00:00.000000000 Z
11
+ date: 2025-07-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '2.2'
19
+ version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '2.2'
27
- description:
26
+ version: '0'
27
+ description:
28
28
  email: ''
29
29
  executables: []
30
30
  extensions: []
31
31
  extra_rdoc_files:
32
32
  - README.md
33
33
  files:
34
+ - CHANGELOG.md
34
35
  - README.md
35
36
  - SECURITY.md
36
37
  - lib/brand_dev.rb
@@ -53,16 +54,24 @@ files:
53
54
  - lib/brand_dev/internal/type/unknown.rb
54
55
  - lib/brand_dev/internal/util.rb
55
56
  - lib/brand_dev/models.rb
57
+ - lib/brand_dev/models/brand_ai_query_params.rb
58
+ - lib/brand_dev/models/brand_ai_query_response.rb
56
59
  - lib/brand_dev/models/brand_identify_from_transaction_params.rb
57
60
  - lib/brand_dev/models/brand_identify_from_transaction_response.rb
61
+ - lib/brand_dev/models/brand_prefetch_params.rb
62
+ - lib/brand_dev/models/brand_prefetch_response.rb
58
63
  - lib/brand_dev/models/brand_retrieve_by_ticker_params.rb
59
64
  - lib/brand_dev/models/brand_retrieve_by_ticker_response.rb
60
65
  - lib/brand_dev/models/brand_retrieve_naics_params.rb
61
66
  - lib/brand_dev/models/brand_retrieve_naics_response.rb
62
67
  - lib/brand_dev/models/brand_retrieve_params.rb
63
68
  - lib/brand_dev/models/brand_retrieve_response.rb
64
- - lib/brand_dev/models/brand_search_params.rb
65
- - lib/brand_dev/models/brand_search_response.rb
69
+ - lib/brand_dev/models/brand_retrieve_simplified_params.rb
70
+ - lib/brand_dev/models/brand_retrieve_simplified_response.rb
71
+ - lib/brand_dev/models/brand_screenshot_params.rb
72
+ - lib/brand_dev/models/brand_screenshot_response.rb
73
+ - lib/brand_dev/models/brand_styleguide_params.rb
74
+ - lib/brand_dev/models/brand_styleguide_response.rb
66
75
  - lib/brand_dev/request_options.rb
67
76
  - lib/brand_dev/resources/brand.rb
68
77
  - lib/brand_dev/version.rb
@@ -86,16 +95,24 @@ files:
86
95
  - rbi/brand_dev/internal/type/unknown.rbi
87
96
  - rbi/brand_dev/internal/util.rbi
88
97
  - rbi/brand_dev/models.rbi
98
+ - rbi/brand_dev/models/brand_ai_query_params.rbi
99
+ - rbi/brand_dev/models/brand_ai_query_response.rbi
89
100
  - rbi/brand_dev/models/brand_identify_from_transaction_params.rbi
90
101
  - rbi/brand_dev/models/brand_identify_from_transaction_response.rbi
102
+ - rbi/brand_dev/models/brand_prefetch_params.rbi
103
+ - rbi/brand_dev/models/brand_prefetch_response.rbi
91
104
  - rbi/brand_dev/models/brand_retrieve_by_ticker_params.rbi
92
105
  - rbi/brand_dev/models/brand_retrieve_by_ticker_response.rbi
93
106
  - rbi/brand_dev/models/brand_retrieve_naics_params.rbi
94
107
  - rbi/brand_dev/models/brand_retrieve_naics_response.rbi
95
108
  - rbi/brand_dev/models/brand_retrieve_params.rbi
96
109
  - rbi/brand_dev/models/brand_retrieve_response.rbi
97
- - rbi/brand_dev/models/brand_search_params.rbi
98
- - rbi/brand_dev/models/brand_search_response.rbi
110
+ - rbi/brand_dev/models/brand_retrieve_simplified_params.rbi
111
+ - rbi/brand_dev/models/brand_retrieve_simplified_response.rbi
112
+ - rbi/brand_dev/models/brand_screenshot_params.rbi
113
+ - rbi/brand_dev/models/brand_screenshot_response.rbi
114
+ - rbi/brand_dev/models/brand_styleguide_params.rbi
115
+ - rbi/brand_dev/models/brand_styleguide_response.rbi
99
116
  - rbi/brand_dev/request_options.rbi
100
117
  - rbi/brand_dev/resources/brand.rbi
101
118
  - rbi/brand_dev/version.rbi
@@ -118,27 +135,34 @@ files:
118
135
  - sig/brand_dev/internal/type/unknown.rbs
119
136
  - sig/brand_dev/internal/util.rbs
120
137
  - sig/brand_dev/models.rbs
138
+ - sig/brand_dev/models/brand_ai_query_params.rbs
139
+ - sig/brand_dev/models/brand_ai_query_response.rbs
121
140
  - sig/brand_dev/models/brand_identify_from_transaction_params.rbs
122
141
  - sig/brand_dev/models/brand_identify_from_transaction_response.rbs
142
+ - sig/brand_dev/models/brand_prefetch_params.rbs
143
+ - sig/brand_dev/models/brand_prefetch_response.rbs
123
144
  - sig/brand_dev/models/brand_retrieve_by_ticker_params.rbs
124
145
  - sig/brand_dev/models/brand_retrieve_by_ticker_response.rbs
125
146
  - sig/brand_dev/models/brand_retrieve_naics_params.rbs
126
147
  - sig/brand_dev/models/brand_retrieve_naics_response.rbs
127
148
  - sig/brand_dev/models/brand_retrieve_params.rbs
128
149
  - sig/brand_dev/models/brand_retrieve_response.rbs
129
- - sig/brand_dev/models/brand_search_params.rbs
130
- - sig/brand_dev/models/brand_search_response.rbs
150
+ - sig/brand_dev/models/brand_retrieve_simplified_params.rbs
151
+ - sig/brand_dev/models/brand_retrieve_simplified_response.rbs
152
+ - sig/brand_dev/models/brand_screenshot_params.rbs
153
+ - sig/brand_dev/models/brand_screenshot_response.rbs
154
+ - sig/brand_dev/models/brand_styleguide_params.rbs
155
+ - sig/brand_dev/models/brand_styleguide_response.rbs
131
156
  - sig/brand_dev/request_options.rbs
132
157
  - sig/brand_dev/resources/brand.rbs
133
158
  - sig/brand_dev/version.rbs
134
159
  homepage: https://gemdocs.org/gems/brand.dev
135
- licenses:
136
- - Apache-2.0
160
+ licenses: []
137
161
  metadata:
138
162
  homepage_uri: https://gemdocs.org/gems/brand.dev
139
- source_code_uri: https://github.com/stainless-sdks/brand.dev-ruby
163
+ source_code_uri: https://github.com/brand-dot-dev/ruby-sdk
140
164
  rubygems_mfa_required: 'false'
141
- post_install_message:
165
+ post_install_message:
142
166
  rdoc_options: []
143
167
  require_paths:
144
168
  - lib
@@ -149,12 +173,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
149
173
  version: 3.2.0
150
174
  required_rubygems_version: !ruby/object:Gem::Requirement
151
175
  requirements:
152
- - - ">"
176
+ - - ">="
153
177
  - !ruby/object:Gem::Version
154
- version: 1.3.1
178
+ version: '0'
155
179
  requirements: []
156
- rubygems_version: 3.0.3.1
157
- signing_key:
180
+ rubygems_version: 3.4.1
181
+ signing_key:
158
182
  specification_version: 4
159
183
  summary: Ruby library to access the Brand Dev API
160
184
  test_files: []
@@ -1,22 +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
- # @!method initialize(query:, request_options: {})
17
- # @param query [String] Query string to search brands
18
- #
19
- # @param request_options [BrandDev::RequestOptions, Hash{Symbol=>Object}]
20
- end
21
- end
22
- 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
@@ -1,40 +0,0 @@
1
- # typed: strong
2
-
3
- module BrandDev
4
- module Models
5
- class BrandSearchParams < BrandDev::Internal::Type::BaseModel
6
- extend BrandDev::Internal::Type::RequestParameters::Converter
7
- include BrandDev::Internal::Type::RequestParameters
8
-
9
- OrHash =
10
- T.type_alias do
11
- T.any(BrandDev::BrandSearchParams, BrandDev::Internal::AnyHash)
12
- end
13
-
14
- # Query string to search brands
15
- sig { returns(String) }
16
- attr_accessor :query
17
-
18
- sig do
19
- params(
20
- query: String,
21
- request_options: BrandDev::RequestOptions::OrHash
22
- ).returns(T.attached_class)
23
- end
24
- def self.new(
25
- # Query string to search brands
26
- query:,
27
- request_options: {}
28
- )
29
- end
30
-
31
- sig do
32
- override.returns(
33
- { query: String, request_options: BrandDev::RequestOptions }
34
- )
35
- end
36
- def to_hash
37
- end
38
- end
39
- end
40
- end
@@ -1,63 +0,0 @@
1
- # typed: strong
2
-
3
- module BrandDev
4
- module Models
5
- class BrandSearchResponseItem < BrandDev::Internal::Type::BaseModel
6
- OrHash =
7
- T.type_alias do
8
- T.any(
9
- BrandDev::Models::BrandSearchResponseItem,
10
- BrandDev::Internal::AnyHash
11
- )
12
- end
13
-
14
- # Domain name of the brand
15
- sig { returns(T.nilable(String)) }
16
- attr_reader :domain
17
-
18
- sig { params(domain: String).void }
19
- attr_writer :domain
20
-
21
- # URL of the brand's logo
22
- sig { returns(T.nilable(String)) }
23
- attr_reader :logo
24
-
25
- sig { params(logo: String).void }
26
- attr_writer :logo
27
-
28
- # Title or name of the brand
29
- sig { returns(T.nilable(String)) }
30
- attr_reader :title
31
-
32
- sig { params(title: String).void }
33
- attr_writer :title
34
-
35
- sig do
36
- params(domain: String, logo: String, title: String).returns(
37
- T.attached_class
38
- )
39
- end
40
- def self.new(
41
- # Domain name of the brand
42
- domain: nil,
43
- # URL of the brand's logo
44
- logo: nil,
45
- # Title or name of the brand
46
- title: nil
47
- )
48
- end
49
-
50
- sig { override.returns({ domain: String, logo: String, title: String }) }
51
- def to_hash
52
- end
53
- end
54
-
55
- BrandSearchResponse =
56
- T.let(
57
- BrandDev::Internal::Type::ArrayOf[
58
- BrandDev::Models::BrandSearchResponseItem
59
- ],
60
- BrandDev::Internal::Type::Converter
61
- )
62
- end
63
- end
@@ -1,23 +0,0 @@
1
- module BrandDev
2
- module Models
3
- type brand_search_params =
4
- { query: String } & BrandDev::Internal::Type::request_parameters
5
-
6
- class BrandSearchParams < BrandDev::Internal::Type::BaseModel
7
- extend BrandDev::Internal::Type::RequestParameters::Converter
8
- include BrandDev::Internal::Type::RequestParameters
9
-
10
- attr_accessor query: String
11
-
12
- def initialize: (
13
- query: String,
14
- ?request_options: BrandDev::request_opts
15
- ) -> void
16
-
17
- def to_hash: -> {
18
- query: String,
19
- request_options: BrandDev::RequestOptions
20
- }
21
- end
22
- end
23
- end
@@ -1,29 +0,0 @@
1
- module BrandDev
2
- module Models
3
- type brand_search_response_item =
4
- { domain: String, logo: String, title: String }
5
-
6
- class BrandSearchResponseItem < BrandDev::Internal::Type::BaseModel
7
- attr_reader domain: String?
8
-
9
- def domain=: (String) -> String
10
-
11
- attr_reader logo: String?
12
-
13
- def logo=: (String) -> String
14
-
15
- attr_reader title: String?
16
-
17
- def title=: (String) -> String
18
-
19
- def initialize: (?domain: String, ?logo: String, ?title: String) -> void
20
-
21
- def to_hash: -> { domain: String, logo: String, title: String }
22
- end
23
-
24
- type brand_search_response =
25
- ::Array[BrandDev::Models::BrandSearchResponseItem]
26
-
27
- BrandSearchResponse: BrandDev::Internal::Type::Converter
28
- end
29
- end