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