brand.dev 0.16.0 → 0.17.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ccf8dd90507c84dcea927392291711080cc1dff713f6033bb87f974573f66417
4
- data.tar.gz: dab13e3371525060dcf6a098cc9d75faba070512dd62aca367addff096cfab1f
3
+ metadata.gz: a38e5450f3f8c92da4c4e057bf22ec7c6ec9710eead156874795337c310e8587
4
+ data.tar.gz: 1bf79e20cc59c58c2894211d677b1a8d575f13d8ceb33f2a4deb01cb35307219
5
5
  SHA512:
6
- metadata.gz: 48199f00792a5f903f0ebb82179675614a0e3f0a68e75b7e03adc7f26cb061b4a44f704b4afcfa6400caf5c539b62c10e2b89120740d3faf661a7e57fe3525db
7
- data.tar.gz: ad14e379feafc54eb6989a0fb16c9b37d1eb29424566344f6b0c442921eeafbaf92826d7a5ef5e3f5e4c5acd04749c4700de34be20336965c3d9653671ebb36f
6
+ metadata.gz: 445911c7f8627497f5483988b6bbdef4dabddc4b568064469fc50cbc5696e110027994545bc7b1efc0c705789ddc9a0f46d12b6ac429bf9e9d21e5bfb621d2ba
7
+ data.tar.gz: 61ae52cd48a35461a8153a5465e84d11587143c8843e3fb44d2a41582080da42847dd2196743a1c7528ec6f4b1a8efb84523f38b1c8fa97daaadc0b2abd14443
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.17.0 (2025-12-11)
4
+
5
+ Full Changelog: [v0.16.0...v0.17.0](https://github.com/brand-dot-dev/ruby-sdk/compare/v0.16.0...v0.17.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([b4c9da1](https://github.com/brand-dot-dev/ruby-sdk/commit/b4c9da15f5563e5e945d4bbc557fa2f5085c9aef))
10
+
3
11
  ## 0.16.0 (2025-12-01)
4
12
 
5
13
  Full Changelog: [v0.15.0...v0.16.0](https://github.com/brand-dot-dev/ruby-sdk/compare/v0.15.0...v0.16.0)
data/README.md CHANGED
@@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application
17
17
  <!-- x-release-please-start-version -->
18
18
 
19
19
  ```ruby
20
- gem "brand.dev", "~> 0.16.0"
20
+ gem "brand.dev", "~> 0.17.0"
21
21
  ```
22
22
 
23
23
  <!-- x-release-please-end -->
@@ -47,6 +47,12 @@ module BrandDev
47
47
  # @return [String, nil]
48
48
  optional :mcc, String
49
49
 
50
+ # @!attribute phone
51
+ # Optional phone number from the transaction to help verify brand match.
52
+ #
53
+ # @return [Float, nil]
54
+ optional :phone, Float
55
+
50
56
  # @!attribute timeout_ms
51
57
  # Optional timeout in milliseconds for the request. If the request takes longer
52
58
  # than this value, it will be aborted with a 408 status code. Maximum allowed
@@ -55,7 +61,7 @@ module BrandDev
55
61
  # @return [Integer, nil]
56
62
  optional :timeout_ms, Integer
57
63
 
58
- # @!method initialize(transaction_info:, city: nil, country_gl: nil, force_language: nil, max_speed: nil, mcc: nil, timeout_ms: nil, request_options: {})
64
+ # @!method initialize(transaction_info:, city: nil, country_gl: nil, force_language: nil, max_speed: nil, mcc: nil, phone: nil, timeout_ms: nil, request_options: {})
59
65
  # Some parameter documentations has been truncated, see
60
66
  # {BrandDev::Models::BrandIdentifyFromTransactionParams} for more details.
61
67
  #
@@ -71,6 +77,8 @@ module BrandDev
71
77
  #
72
78
  # @param mcc [String] Optional Merchant Category Code (MCC) to help identify the business category/ind
73
79
  #
80
+ # @param phone [Float] Optional phone number from the transaction to help verify brand match.
81
+ #
74
82
  # @param timeout_ms [Integer] Optional timeout in milliseconds for the request. If the request takes longer th
75
83
  #
76
84
  # @param request_options [BrandDev::RequestOptions, Hash{Symbol=>Object}]
@@ -102,7 +102,7 @@ module BrandDev
102
102
  # Endpoint specially designed for platforms that want to identify transaction data
103
103
  # by the transaction title.
104
104
  #
105
- # @overload identify_from_transaction(transaction_info:, city: nil, country_gl: nil, force_language: nil, max_speed: nil, mcc: nil, timeout_ms: nil, request_options: {})
105
+ # @overload identify_from_transaction(transaction_info:, city: nil, country_gl: nil, force_language: nil, max_speed: nil, mcc: nil, phone: nil, timeout_ms: nil, request_options: {})
106
106
  #
107
107
  # @param transaction_info [String] Transaction information to identify the brand
108
108
  #
@@ -116,6 +116,8 @@ module BrandDev
116
116
  #
117
117
  # @param mcc [String] Optional Merchant Category Code (MCC) to help identify the business category/ind
118
118
  #
119
+ # @param phone [Float] Optional phone number from the transaction to help verify brand match.
120
+ #
119
121
  # @param timeout_ms [Integer] Optional timeout in milliseconds for the request. If the request takes longer th
120
122
  #
121
123
  # @param request_options [BrandDev::RequestOptions, Hash{Symbol=>Object}, nil]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module BrandDev
4
- VERSION = "0.16.0"
4
+ VERSION = "0.17.0"
5
5
  end
@@ -79,6 +79,13 @@ module BrandDev
79
79
  sig { params(mcc: String).void }
80
80
  attr_writer :mcc
81
81
 
82
+ # Optional phone number from the transaction to help verify brand match.
83
+ sig { returns(T.nilable(Float)) }
84
+ attr_reader :phone
85
+
86
+ sig { params(phone: Float).void }
87
+ attr_writer :phone
88
+
82
89
  # Optional timeout in milliseconds for the request. If the request takes longer
83
90
  # than this value, it will be aborted with a 408 status code. Maximum allowed
84
91
  # value is 300000ms (5 minutes).
@@ -98,6 +105,7 @@ module BrandDev
98
105
  BrandDev::BrandIdentifyFromTransactionParams::ForceLanguage::OrSymbol,
99
106
  max_speed: T::Boolean,
100
107
  mcc: String,
108
+ phone: Float,
101
109
  timeout_ms: Integer,
102
110
  request_options: BrandDev::RequestOptions::OrHash
103
111
  ).returns(T.attached_class)
@@ -119,6 +127,8 @@ module BrandDev
119
127
  # Optional Merchant Category Code (MCC) to help identify the business
120
128
  # category/industry.
121
129
  mcc: nil,
130
+ # Optional phone number from the transaction to help verify brand match.
131
+ phone: nil,
122
132
  # Optional timeout in milliseconds for the request. If the request takes longer
123
133
  # than this value, it will be aborted with a 408 status code. Maximum allowed
124
134
  # value is 300000ms (5 minutes).
@@ -138,6 +148,7 @@ module BrandDev
138
148
  BrandDev::BrandIdentifyFromTransactionParams::ForceLanguage::OrSymbol,
139
149
  max_speed: T::Boolean,
140
150
  mcc: String,
151
+ phone: Float,
141
152
  timeout_ms: Integer,
142
153
  request_options: BrandDev::RequestOptions
143
154
  }
@@ -95,6 +95,7 @@ module BrandDev
95
95
  BrandDev::BrandIdentifyFromTransactionParams::ForceLanguage::OrSymbol,
96
96
  max_speed: T::Boolean,
97
97
  mcc: String,
98
+ phone: Float,
98
99
  timeout_ms: Integer,
99
100
  request_options: BrandDev::RequestOptions::OrHash
100
101
  ).returns(BrandDev::Models::BrandIdentifyFromTransactionResponse)
@@ -116,6 +117,8 @@ module BrandDev
116
117
  # Optional Merchant Category Code (MCC) to help identify the business
117
118
  # category/industry.
118
119
  mcc: nil,
120
+ # Optional phone number from the transaction to help verify brand match.
121
+ phone: nil,
119
122
  # Optional timeout in milliseconds for the request. If the request takes longer
120
123
  # than this value, it will be aborted with a 408 status code. Maximum allowed
121
124
  # value is 300000ms (5 minutes).
@@ -8,6 +8,7 @@ module BrandDev
8
8
  force_language: BrandDev::Models::BrandIdentifyFromTransactionParams::force_language,
9
9
  max_speed: bool,
10
10
  mcc: String,
11
+ phone: Float,
11
12
  timeout_ms: Integer
12
13
  }
13
14
  & BrandDev::Internal::Type::request_parameters
@@ -42,6 +43,10 @@ module BrandDev
42
43
 
43
44
  def mcc=: (String) -> String
44
45
 
46
+ attr_reader phone: Float?
47
+
48
+ def phone=: (Float) -> Float
49
+
45
50
  attr_reader timeout_ms: Integer?
46
51
 
47
52
  def timeout_ms=: (Integer) -> Integer
@@ -53,6 +58,7 @@ module BrandDev
53
58
  ?force_language: BrandDev::Models::BrandIdentifyFromTransactionParams::force_language,
54
59
  ?max_speed: bool,
55
60
  ?mcc: String,
61
+ ?phone: Float,
56
62
  ?timeout_ms: Integer,
57
63
  ?request_options: BrandDev::request_opts
58
64
  ) -> void
@@ -64,6 +70,7 @@ module BrandDev
64
70
  force_language: BrandDev::Models::BrandIdentifyFromTransactionParams::force_language,
65
71
  max_speed: bool,
66
72
  mcc: String,
73
+ phone: Float,
67
74
  timeout_ms: Integer,
68
75
  request_options: BrandDev::RequestOptions
69
76
  }
@@ -30,6 +30,7 @@ module BrandDev
30
30
  ?force_language: BrandDev::Models::BrandIdentifyFromTransactionParams::force_language,
31
31
  ?max_speed: bool,
32
32
  ?mcc: String,
33
+ ?phone: Float,
33
34
  ?timeout_ms: Integer,
34
35
  ?request_options: BrandDev::request_opts
35
36
  ) -> BrandDev::Models::BrandIdentifyFromTransactionResponse
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.16.0
4
+ version: 0.17.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-12-01 00:00:00.000000000 Z
11
+ date: 2025-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool