brand.dev 0.28.2 → 0.29.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 +13 -0
- data/README.md +1 -1
- data/lib/brand_dev/models/brand_retrieve_by_name_params.rb +259 -1
- data/lib/brand_dev/resources/brand.rb +3 -1
- data/lib/brand_dev/version.rb +1 -1
- data/rbi/brand_dev/models/brand_retrieve_by_name_params.rbi +1240 -0
- data/rbi/brand_dev/resources/brand.rbi +4 -0
- data/sig/brand_dev/models/brand_retrieve_by_name_params.rbs +496 -0
- data/sig/brand_dev/resources/brand.rbs +1 -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: 867fd7ba603e9dfc004a47987356963a494baba659ba3225441ed3f4f8c9087f
|
|
4
|
+
data.tar.gz: 42921f63588e6cb093bb7c1ac1f48266ad80ffdda28c514f80d311c8025783e2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 208aea6f1be6c30b29eea8f786c4b41f2af9ba543acd31366b9972e1f20ef900f9e2d27bc0c0e7d910e9a3fe58717abea26104c32f6d1c0e19f3997cdb804e4d
|
|
7
|
+
data.tar.gz: 8f4f76bddc0c3c756bfe218438daad9cb7d43bded3ac5b76df66f8292780e9eaf0e40c33eda1bd1e70e68294a135e2aada8d4802171aff168746417017d45b1d
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.29.0 (2026-03-18)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.28.2...v0.29.0](https://github.com/brand-dot-dev/ruby-sdk/compare/v0.28.2...v0.29.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([6b3e6eb](https://github.com/brand-dot-dev/ruby-sdk/commit/6b3e6eb32404ba09504f76b9fa73111fb5a49523))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Chores
|
|
13
|
+
|
|
14
|
+
* **internal:** tweak CI branches ([4b44d16](https://github.com/brand-dot-dev/ruby-sdk/commit/4b44d16f3582378f4b156a6b95a32f3383cc640f))
|
|
15
|
+
|
|
3
16
|
## 0.28.2 (2026-03-07)
|
|
4
17
|
|
|
5
18
|
Full Changelog: [v0.28.1...v0.28.2](https://github.com/brand-dot-dev/ruby-sdk/compare/v0.28.1...v0.28.2)
|
data/README.md
CHANGED
|
@@ -14,6 +14,13 @@ module BrandDev
|
|
|
14
14
|
# @return [String]
|
|
15
15
|
required :name, String
|
|
16
16
|
|
|
17
|
+
# @!attribute country_gl
|
|
18
|
+
# Optional country code (GL parameter) to specify the country. This affects the
|
|
19
|
+
# geographic location used for search queries.
|
|
20
|
+
#
|
|
21
|
+
# @return [Symbol, BrandDev::Models::BrandRetrieveByNameParams::CountryGl, nil]
|
|
22
|
+
optional :country_gl, enum: -> { BrandDev::BrandRetrieveByNameParams::CountryGl }
|
|
23
|
+
|
|
17
24
|
# @!attribute force_language
|
|
18
25
|
# Optional parameter to force the language of the retrieved brand data.
|
|
19
26
|
#
|
|
@@ -36,12 +43,14 @@ module BrandDev
|
|
|
36
43
|
# @return [Integer, nil]
|
|
37
44
|
optional :timeout_ms, Integer
|
|
38
45
|
|
|
39
|
-
# @!method initialize(name:, force_language: nil, max_speed: nil, timeout_ms: nil, request_options: {})
|
|
46
|
+
# @!method initialize(name:, country_gl: nil, force_language: nil, max_speed: nil, timeout_ms: nil, request_options: {})
|
|
40
47
|
# Some parameter documentations has been truncated, see
|
|
41
48
|
# {BrandDev::Models::BrandRetrieveByNameParams} for more details.
|
|
42
49
|
#
|
|
43
50
|
# @param name [String] Company name to retrieve brand data for (e.g., 'Apple Inc', 'Microsoft Corporati
|
|
44
51
|
#
|
|
52
|
+
# @param country_gl [Symbol, BrandDev::Models::BrandRetrieveByNameParams::CountryGl] Optional country code (GL parameter) to specify the country. This affects the ge
|
|
53
|
+
#
|
|
45
54
|
# @param force_language [Symbol, BrandDev::Models::BrandRetrieveByNameParams::ForceLanguage] Optional parameter to force the language of the retrieved brand data.
|
|
46
55
|
#
|
|
47
56
|
# @param max_speed [Boolean] Optional parameter to optimize the API call for maximum speed. When set to true,
|
|
@@ -50,6 +59,255 @@ module BrandDev
|
|
|
50
59
|
#
|
|
51
60
|
# @param request_options [BrandDev::RequestOptions, Hash{Symbol=>Object}]
|
|
52
61
|
|
|
62
|
+
# Optional country code (GL parameter) to specify the country. This affects the
|
|
63
|
+
# geographic location used for search queries.
|
|
64
|
+
module CountryGl
|
|
65
|
+
extend BrandDev::Internal::Type::Enum
|
|
66
|
+
|
|
67
|
+
AD = :ad
|
|
68
|
+
AE = :ae
|
|
69
|
+
AF = :af
|
|
70
|
+
AG = :ag
|
|
71
|
+
AI = :ai
|
|
72
|
+
AL = :al
|
|
73
|
+
AM = :am
|
|
74
|
+
AN = :an
|
|
75
|
+
AO = :ao
|
|
76
|
+
AQ = :aq
|
|
77
|
+
AR = :ar
|
|
78
|
+
AS = :as
|
|
79
|
+
AT = :at
|
|
80
|
+
AU = :au
|
|
81
|
+
AW = :aw
|
|
82
|
+
AZ = :az
|
|
83
|
+
BA = :ba
|
|
84
|
+
BB = :bb
|
|
85
|
+
BD = :bd
|
|
86
|
+
BE = :be
|
|
87
|
+
BF = :bf
|
|
88
|
+
BG = :bg
|
|
89
|
+
BH = :bh
|
|
90
|
+
BI = :bi
|
|
91
|
+
BJ = :bj
|
|
92
|
+
BM = :bm
|
|
93
|
+
BN = :bn
|
|
94
|
+
BO = :bo
|
|
95
|
+
BR = :br
|
|
96
|
+
BS = :bs
|
|
97
|
+
BT = :bt
|
|
98
|
+
BV = :bv
|
|
99
|
+
BW = :bw
|
|
100
|
+
BY = :by
|
|
101
|
+
BZ = :bz
|
|
102
|
+
CA = :ca
|
|
103
|
+
CC = :cc
|
|
104
|
+
CD = :cd
|
|
105
|
+
CF = :cf
|
|
106
|
+
CG = :cg
|
|
107
|
+
CH = :ch
|
|
108
|
+
CI = :ci
|
|
109
|
+
CK = :ck
|
|
110
|
+
CL = :cl
|
|
111
|
+
CM = :cm
|
|
112
|
+
CN = :cn
|
|
113
|
+
CO = :co
|
|
114
|
+
CR = :cr
|
|
115
|
+
CU = :cu
|
|
116
|
+
CV = :cv
|
|
117
|
+
CX = :cx
|
|
118
|
+
CY = :cy
|
|
119
|
+
CZ = :cz
|
|
120
|
+
DE = :de
|
|
121
|
+
DJ = :dj
|
|
122
|
+
DK = :dk
|
|
123
|
+
DM = :dm
|
|
124
|
+
DO = :do
|
|
125
|
+
DZ = :dz
|
|
126
|
+
EC = :ec
|
|
127
|
+
EE = :ee
|
|
128
|
+
EG = :eg
|
|
129
|
+
EH = :eh
|
|
130
|
+
ER = :er
|
|
131
|
+
ES = :es
|
|
132
|
+
ET = :et
|
|
133
|
+
FI = :fi
|
|
134
|
+
FJ = :fj
|
|
135
|
+
FK = :fk
|
|
136
|
+
FM = :fm
|
|
137
|
+
FO = :fo
|
|
138
|
+
FR = :fr
|
|
139
|
+
GA = :ga
|
|
140
|
+
GB = :gb
|
|
141
|
+
GD = :gd
|
|
142
|
+
GE = :ge
|
|
143
|
+
GF = :gf
|
|
144
|
+
GH = :gh
|
|
145
|
+
GI = :gi
|
|
146
|
+
GL = :gl
|
|
147
|
+
GM = :gm
|
|
148
|
+
GN = :gn
|
|
149
|
+
GP = :gp
|
|
150
|
+
GQ = :gq
|
|
151
|
+
GR = :gr
|
|
152
|
+
GS = :gs
|
|
153
|
+
GT = :gt
|
|
154
|
+
GU = :gu
|
|
155
|
+
GW = :gw
|
|
156
|
+
GY = :gy
|
|
157
|
+
HK = :hk
|
|
158
|
+
HM = :hm
|
|
159
|
+
HN = :hn
|
|
160
|
+
HR = :hr
|
|
161
|
+
HT = :ht
|
|
162
|
+
HU = :hu
|
|
163
|
+
ID = :id
|
|
164
|
+
IE = :ie
|
|
165
|
+
IL = :il
|
|
166
|
+
IN = :in
|
|
167
|
+
IO = :io
|
|
168
|
+
IQ = :iq
|
|
169
|
+
IR = :ir
|
|
170
|
+
IS = :is
|
|
171
|
+
IT = :it
|
|
172
|
+
JM = :jm
|
|
173
|
+
JO = :jo
|
|
174
|
+
JP = :jp
|
|
175
|
+
KE = :ke
|
|
176
|
+
KG = :kg
|
|
177
|
+
KH = :kh
|
|
178
|
+
KI = :ki
|
|
179
|
+
KM = :km
|
|
180
|
+
KN = :kn
|
|
181
|
+
KP = :kp
|
|
182
|
+
KR = :kr
|
|
183
|
+
KW = :kw
|
|
184
|
+
KY = :ky
|
|
185
|
+
KZ = :kz
|
|
186
|
+
LA = :la
|
|
187
|
+
LB = :lb
|
|
188
|
+
LC = :lc
|
|
189
|
+
LI = :li
|
|
190
|
+
LK = :lk
|
|
191
|
+
LR = :lr
|
|
192
|
+
LS = :ls
|
|
193
|
+
LT = :lt
|
|
194
|
+
LU = :lu
|
|
195
|
+
LV = :lv
|
|
196
|
+
LY = :ly
|
|
197
|
+
MA = :ma
|
|
198
|
+
MC = :mc
|
|
199
|
+
MD = :md
|
|
200
|
+
MG = :mg
|
|
201
|
+
MH = :mh
|
|
202
|
+
MK = :mk
|
|
203
|
+
ML = :ml
|
|
204
|
+
MM = :mm
|
|
205
|
+
MN = :mn
|
|
206
|
+
MO = :mo
|
|
207
|
+
MP = :mp
|
|
208
|
+
MQ = :mq
|
|
209
|
+
MR = :mr
|
|
210
|
+
MS = :ms
|
|
211
|
+
MT = :mt
|
|
212
|
+
MU = :mu
|
|
213
|
+
MV = :mv
|
|
214
|
+
MW = :mw
|
|
215
|
+
MX = :mx
|
|
216
|
+
MY = :my
|
|
217
|
+
MZ = :mz
|
|
218
|
+
NA = :na
|
|
219
|
+
NC = :nc
|
|
220
|
+
NE = :ne
|
|
221
|
+
NF = :nf
|
|
222
|
+
NG = :ng
|
|
223
|
+
NI = :ni
|
|
224
|
+
NL = :nl
|
|
225
|
+
NO = :no
|
|
226
|
+
NP = :np
|
|
227
|
+
NR = :nr
|
|
228
|
+
NU = :nu
|
|
229
|
+
NZ = :nz
|
|
230
|
+
OM = :om
|
|
231
|
+
PA = :pa
|
|
232
|
+
PE = :pe
|
|
233
|
+
PF = :pf
|
|
234
|
+
PG = :pg
|
|
235
|
+
PH = :ph
|
|
236
|
+
PK = :pk
|
|
237
|
+
PL = :pl
|
|
238
|
+
PM = :pm
|
|
239
|
+
PN = :pn
|
|
240
|
+
PR = :pr
|
|
241
|
+
PS = :ps
|
|
242
|
+
PT = :pt
|
|
243
|
+
PW = :pw
|
|
244
|
+
PY = :py
|
|
245
|
+
QA = :qa
|
|
246
|
+
RE = :re
|
|
247
|
+
RO = :ro
|
|
248
|
+
RS = :rs
|
|
249
|
+
RU = :ru
|
|
250
|
+
RW = :rw
|
|
251
|
+
SA = :sa
|
|
252
|
+
SB = :sb
|
|
253
|
+
SC = :sc
|
|
254
|
+
SD = :sd
|
|
255
|
+
SE = :se
|
|
256
|
+
SG = :sg
|
|
257
|
+
SH = :sh
|
|
258
|
+
SI = :si
|
|
259
|
+
SJ = :sj
|
|
260
|
+
SK = :sk
|
|
261
|
+
SL = :sl
|
|
262
|
+
SM = :sm
|
|
263
|
+
SN = :sn
|
|
264
|
+
SO = :so
|
|
265
|
+
SR = :sr
|
|
266
|
+
ST = :st
|
|
267
|
+
SV = :sv
|
|
268
|
+
SY = :sy
|
|
269
|
+
SZ = :sz
|
|
270
|
+
TC = :tc
|
|
271
|
+
TD = :td
|
|
272
|
+
TF = :tf
|
|
273
|
+
TG = :tg
|
|
274
|
+
TH = :th
|
|
275
|
+
TJ = :tj
|
|
276
|
+
TK = :tk
|
|
277
|
+
TL = :tl
|
|
278
|
+
TM = :tm
|
|
279
|
+
TN = :tn
|
|
280
|
+
TO = :to
|
|
281
|
+
TR = :tr
|
|
282
|
+
TT = :tt
|
|
283
|
+
TV = :tv
|
|
284
|
+
TW = :tw
|
|
285
|
+
TZ = :tz
|
|
286
|
+
UA = :ua
|
|
287
|
+
UG = :ug
|
|
288
|
+
UM = :um
|
|
289
|
+
US = :us
|
|
290
|
+
UY = :uy
|
|
291
|
+
UZ = :uz
|
|
292
|
+
VA = :va
|
|
293
|
+
VC = :vc
|
|
294
|
+
VE = :ve
|
|
295
|
+
VG = :vg
|
|
296
|
+
VI = :vi
|
|
297
|
+
VN = :vn
|
|
298
|
+
VU = :vu
|
|
299
|
+
WF = :wf
|
|
300
|
+
WS = :ws
|
|
301
|
+
YE = :ye
|
|
302
|
+
YT = :yt
|
|
303
|
+
ZA = :za
|
|
304
|
+
ZM = :zm
|
|
305
|
+
ZW = :zw
|
|
306
|
+
|
|
307
|
+
# @!method self.values
|
|
308
|
+
# @return [Array<Symbol>]
|
|
309
|
+
end
|
|
310
|
+
|
|
53
311
|
# Optional parameter to force the language of the retrieved brand data.
|
|
54
312
|
module ForceLanguage
|
|
55
313
|
extend BrandDev::Internal::Type::Enum
|
|
@@ -330,10 +330,12 @@ module BrandDev
|
|
|
330
330
|
# Retrieve brand information using a company name. This endpoint searches for the
|
|
331
331
|
# company by name and returns its brand data.
|
|
332
332
|
#
|
|
333
|
-
# @overload retrieve_by_name(name:, force_language: nil, max_speed: nil, timeout_ms: nil, request_options: {})
|
|
333
|
+
# @overload retrieve_by_name(name:, country_gl: nil, force_language: nil, max_speed: nil, timeout_ms: nil, request_options: {})
|
|
334
334
|
#
|
|
335
335
|
# @param name [String] Company name to retrieve brand data for (e.g., 'Apple Inc', 'Microsoft Corporati
|
|
336
336
|
#
|
|
337
|
+
# @param country_gl [Symbol, BrandDev::Models::BrandRetrieveByNameParams::CountryGl] Optional country code (GL parameter) to specify the country. This affects the ge
|
|
338
|
+
#
|
|
337
339
|
# @param force_language [Symbol, BrandDev::Models::BrandRetrieveByNameParams::ForceLanguage] Optional parameter to force the language of the retrieved brand data.
|
|
338
340
|
#
|
|
339
341
|
# @param max_speed [Boolean] Optional parameter to optimize the API call for maximum speed. When set to true,
|
data/lib/brand_dev/version.rb
CHANGED