increase 1.180.0 → 1.181.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 +8 -0
- data/README.md +1 -1
- data/lib/increase/models/digital_wallet_token.rb +33 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/digital_wallet_token.rbi +60 -0
- data/sig/increase/models/digital_wallet_token.rbs +18 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a47e8d321bb37ca7c90f8d3f38ea4caf74adecdb7d41cf863477d17d79cff21d
|
|
4
|
+
data.tar.gz: 4081d98eaa3a83f0c8780762328900a984ce913722bbe2dadfa2f0533cb7546e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 494c044a6b132315040d8b27f50bba19fd958c7be61feb8a367c64770bc01b0657648b2aafaaf5cd05f2cfa3f6d00f886c76a93f5f8422e9f6276222922de712
|
|
7
|
+
data.tar.gz: 76b1eface1663d609151de57ce38a990848e04082f43723e723dd1b9e5b95a4ba0025e239763a3adedc36b17c764f22f28f0c946a86781386a328bcd4aa2a4e5
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.181.0 (2026-01-23)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.180.0...v1.181.0](https://github.com/Increase/increase-ruby/compare/v1.180.0...v1.181.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([2c2739e](https://github.com/Increase/increase-ruby/commit/2c2739ee824cba0971576e7d95b14073034527c6))
|
|
10
|
+
|
|
3
11
|
## 1.180.0 (2026-01-23)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v1.179.0...v1.180.0](https://github.com/Increase/increase-ruby/compare/v1.179.0...v1.180.0)
|
data/README.md
CHANGED
|
@@ -35,6 +35,14 @@ module Increase
|
|
|
35
35
|
# @return [Increase::Models::DigitalWalletToken::Device]
|
|
36
36
|
required :device, -> { Increase::DigitalWalletToken::Device }
|
|
37
37
|
|
|
38
|
+
# @!attribute dynamic_primary_account_number
|
|
39
|
+
# The redacted Dynamic Primary Account Number.
|
|
40
|
+
#
|
|
41
|
+
# @return [Increase::Models::DigitalWalletToken::DynamicPrimaryAccountNumber, nil]
|
|
42
|
+
required :dynamic_primary_account_number,
|
|
43
|
+
-> { Increase::DigitalWalletToken::DynamicPrimaryAccountNumber },
|
|
44
|
+
nil?: true
|
|
45
|
+
|
|
38
46
|
# @!attribute status
|
|
39
47
|
# This indicates if payments can be made with the Digital Wallet Token.
|
|
40
48
|
#
|
|
@@ -60,7 +68,7 @@ module Increase
|
|
|
60
68
|
# @return [Array<Increase::Models::DigitalWalletToken::Update>]
|
|
61
69
|
required :updates, -> { Increase::Internal::Type::ArrayOf[Increase::DigitalWalletToken::Update] }
|
|
62
70
|
|
|
63
|
-
# @!method initialize(id:, card_id:, cardholder:, created_at:, device:, status:, token_requestor:, type:, updates:)
|
|
71
|
+
# @!method initialize(id:, card_id:, cardholder:, created_at:, device:, dynamic_primary_account_number:, status:, token_requestor:, type:, updates:)
|
|
64
72
|
# Some parameter documentations has been truncated, see
|
|
65
73
|
# {Increase::Models::DigitalWalletToken} for more details.
|
|
66
74
|
#
|
|
@@ -78,6 +86,8 @@ module Increase
|
|
|
78
86
|
#
|
|
79
87
|
# @param device [Increase::Models::DigitalWalletToken::Device] The device that was used to create the Digital Wallet Token.
|
|
80
88
|
#
|
|
89
|
+
# @param dynamic_primary_account_number [Increase::Models::DigitalWalletToken::DynamicPrimaryAccountNumber, nil] The redacted Dynamic Primary Account Number.
|
|
90
|
+
#
|
|
81
91
|
# @param status [Symbol, Increase::Models::DigitalWalletToken::Status] This indicates if payments can be made with the Digital Wallet Token.
|
|
82
92
|
#
|
|
83
93
|
# @param token_requestor [Symbol, Increase::Models::DigitalWalletToken::TokenRequestor] The digital wallet app being used.
|
|
@@ -175,6 +185,28 @@ module Increase
|
|
|
175
185
|
end
|
|
176
186
|
end
|
|
177
187
|
|
|
188
|
+
# @see Increase::Models::DigitalWalletToken#dynamic_primary_account_number
|
|
189
|
+
class DynamicPrimaryAccountNumber < Increase::Internal::Type::BaseModel
|
|
190
|
+
# @!attribute first6
|
|
191
|
+
# The first 6 digits of the token's Dynamic Primary Account Number.
|
|
192
|
+
#
|
|
193
|
+
# @return [String]
|
|
194
|
+
required :first6, String
|
|
195
|
+
|
|
196
|
+
# @!attribute last4
|
|
197
|
+
# The last 4 digits of the token's Dynamic Primary Account Number.
|
|
198
|
+
#
|
|
199
|
+
# @return [String]
|
|
200
|
+
required :last4, String
|
|
201
|
+
|
|
202
|
+
# @!method initialize(first6:, last4:)
|
|
203
|
+
# The redacted Dynamic Primary Account Number.
|
|
204
|
+
#
|
|
205
|
+
# @param first6 [String] The first 6 digits of the token's Dynamic Primary Account Number.
|
|
206
|
+
#
|
|
207
|
+
# @param last4 [String] The last 4 digits of the token's Dynamic Primary Account Number.
|
|
208
|
+
end
|
|
209
|
+
|
|
178
210
|
# This indicates if payments can be made with the Digital Wallet Token.
|
|
179
211
|
#
|
|
180
212
|
# @see Increase::Models::DigitalWalletToken#status
|
data/lib/increase/version.rb
CHANGED
|
@@ -39,6 +39,24 @@ module Increase
|
|
|
39
39
|
sig { params(device: Increase::DigitalWalletToken::Device::OrHash).void }
|
|
40
40
|
attr_writer :device
|
|
41
41
|
|
|
42
|
+
# The redacted Dynamic Primary Account Number.
|
|
43
|
+
sig do
|
|
44
|
+
returns(
|
|
45
|
+
T.nilable(Increase::DigitalWalletToken::DynamicPrimaryAccountNumber)
|
|
46
|
+
)
|
|
47
|
+
end
|
|
48
|
+
attr_reader :dynamic_primary_account_number
|
|
49
|
+
|
|
50
|
+
sig do
|
|
51
|
+
params(
|
|
52
|
+
dynamic_primary_account_number:
|
|
53
|
+
T.nilable(
|
|
54
|
+
Increase::DigitalWalletToken::DynamicPrimaryAccountNumber::OrHash
|
|
55
|
+
)
|
|
56
|
+
).void
|
|
57
|
+
end
|
|
58
|
+
attr_writer :dynamic_primary_account_number
|
|
59
|
+
|
|
42
60
|
# This indicates if payments can be made with the Digital Wallet Token.
|
|
43
61
|
sig { returns(Increase::DigitalWalletToken::Status::TaggedSymbol) }
|
|
44
62
|
attr_accessor :status
|
|
@@ -68,6 +86,10 @@ module Increase
|
|
|
68
86
|
cardholder: Increase::DigitalWalletToken::Cardholder::OrHash,
|
|
69
87
|
created_at: Time,
|
|
70
88
|
device: Increase::DigitalWalletToken::Device::OrHash,
|
|
89
|
+
dynamic_primary_account_number:
|
|
90
|
+
T.nilable(
|
|
91
|
+
Increase::DigitalWalletToken::DynamicPrimaryAccountNumber::OrHash
|
|
92
|
+
),
|
|
71
93
|
status: Increase::DigitalWalletToken::Status::OrSymbol,
|
|
72
94
|
token_requestor:
|
|
73
95
|
Increase::DigitalWalletToken::TokenRequestor::OrSymbol,
|
|
@@ -87,6 +109,8 @@ module Increase
|
|
|
87
109
|
created_at:,
|
|
88
110
|
# The device that was used to create the Digital Wallet Token.
|
|
89
111
|
device:,
|
|
112
|
+
# The redacted Dynamic Primary Account Number.
|
|
113
|
+
dynamic_primary_account_number:,
|
|
90
114
|
# This indicates if payments can be made with the Digital Wallet Token.
|
|
91
115
|
status:,
|
|
92
116
|
# The digital wallet app being used.
|
|
@@ -107,6 +131,10 @@ module Increase
|
|
|
107
131
|
cardholder: Increase::DigitalWalletToken::Cardholder,
|
|
108
132
|
created_at: Time,
|
|
109
133
|
device: Increase::DigitalWalletToken::Device,
|
|
134
|
+
dynamic_primary_account_number:
|
|
135
|
+
T.nilable(
|
|
136
|
+
Increase::DigitalWalletToken::DynamicPrimaryAccountNumber
|
|
137
|
+
),
|
|
110
138
|
status: Increase::DigitalWalletToken::Status::TaggedSymbol,
|
|
111
139
|
token_requestor:
|
|
112
140
|
Increase::DigitalWalletToken::TokenRequestor::TaggedSymbol,
|
|
@@ -300,6 +328,38 @@ module Increase
|
|
|
300
328
|
end
|
|
301
329
|
end
|
|
302
330
|
|
|
331
|
+
class DynamicPrimaryAccountNumber < Increase::Internal::Type::BaseModel
|
|
332
|
+
OrHash =
|
|
333
|
+
T.type_alias do
|
|
334
|
+
T.any(
|
|
335
|
+
Increase::DigitalWalletToken::DynamicPrimaryAccountNumber,
|
|
336
|
+
Increase::Internal::AnyHash
|
|
337
|
+
)
|
|
338
|
+
end
|
|
339
|
+
|
|
340
|
+
# The first 6 digits of the token's Dynamic Primary Account Number.
|
|
341
|
+
sig { returns(String) }
|
|
342
|
+
attr_accessor :first6
|
|
343
|
+
|
|
344
|
+
# The last 4 digits of the token's Dynamic Primary Account Number.
|
|
345
|
+
sig { returns(String) }
|
|
346
|
+
attr_accessor :last4
|
|
347
|
+
|
|
348
|
+
# The redacted Dynamic Primary Account Number.
|
|
349
|
+
sig { params(first6: String, last4: String).returns(T.attached_class) }
|
|
350
|
+
def self.new(
|
|
351
|
+
# The first 6 digits of the token's Dynamic Primary Account Number.
|
|
352
|
+
first6:,
|
|
353
|
+
# The last 4 digits of the token's Dynamic Primary Account Number.
|
|
354
|
+
last4:
|
|
355
|
+
)
|
|
356
|
+
end
|
|
357
|
+
|
|
358
|
+
sig { override.returns({ first6: String, last4: String }) }
|
|
359
|
+
def to_hash
|
|
360
|
+
end
|
|
361
|
+
end
|
|
362
|
+
|
|
303
363
|
# This indicates if payments can be made with the Digital Wallet Token.
|
|
304
364
|
module Status
|
|
305
365
|
extend Increase::Internal::Type::Enum
|
|
@@ -7,6 +7,7 @@ module Increase
|
|
|
7
7
|
cardholder: Increase::DigitalWalletToken::Cardholder,
|
|
8
8
|
created_at: Time,
|
|
9
9
|
device: Increase::DigitalWalletToken::Device,
|
|
10
|
+
dynamic_primary_account_number: Increase::DigitalWalletToken::DynamicPrimaryAccountNumber?,
|
|
10
11
|
status: Increase::Models::DigitalWalletToken::status,
|
|
11
12
|
token_requestor: Increase::Models::DigitalWalletToken::token_requestor,
|
|
12
13
|
type: Increase::Models::DigitalWalletToken::type_,
|
|
@@ -24,6 +25,8 @@ module Increase
|
|
|
24
25
|
|
|
25
26
|
attr_accessor device: Increase::DigitalWalletToken::Device
|
|
26
27
|
|
|
28
|
+
attr_accessor dynamic_primary_account_number: Increase::DigitalWalletToken::DynamicPrimaryAccountNumber?
|
|
29
|
+
|
|
27
30
|
attr_accessor status: Increase::Models::DigitalWalletToken::status
|
|
28
31
|
|
|
29
32
|
attr_accessor token_requestor: Increase::Models::DigitalWalletToken::token_requestor
|
|
@@ -38,6 +41,7 @@ module Increase
|
|
|
38
41
|
cardholder: Increase::DigitalWalletToken::Cardholder,
|
|
39
42
|
created_at: Time,
|
|
40
43
|
device: Increase::DigitalWalletToken::Device,
|
|
44
|
+
dynamic_primary_account_number: Increase::DigitalWalletToken::DynamicPrimaryAccountNumber?,
|
|
41
45
|
status: Increase::Models::DigitalWalletToken::status,
|
|
42
46
|
token_requestor: Increase::Models::DigitalWalletToken::token_requestor,
|
|
43
47
|
type: Increase::Models::DigitalWalletToken::type_,
|
|
@@ -50,6 +54,7 @@ module Increase
|
|
|
50
54
|
cardholder: Increase::DigitalWalletToken::Cardholder,
|
|
51
55
|
created_at: Time,
|
|
52
56
|
device: Increase::DigitalWalletToken::Device,
|
|
57
|
+
dynamic_primary_account_number: Increase::DigitalWalletToken::DynamicPrimaryAccountNumber?,
|
|
53
58
|
status: Increase::Models::DigitalWalletToken::status,
|
|
54
59
|
token_requestor: Increase::Models::DigitalWalletToken::token_requestor,
|
|
55
60
|
type: Increase::Models::DigitalWalletToken::type_,
|
|
@@ -142,6 +147,19 @@ module Increase
|
|
|
142
147
|
end
|
|
143
148
|
end
|
|
144
149
|
|
|
150
|
+
type dynamic_primary_account_number =
|
|
151
|
+
{ :first6 => String, :last4 => String }
|
|
152
|
+
|
|
153
|
+
class DynamicPrimaryAccountNumber < Increase::Internal::Type::BaseModel
|
|
154
|
+
attr_accessor first6: String
|
|
155
|
+
|
|
156
|
+
attr_accessor last4: String
|
|
157
|
+
|
|
158
|
+
def initialize: (first6: String, last4: String) -> void
|
|
159
|
+
|
|
160
|
+
def to_hash: -> { :first6 => String, :last4 => String }
|
|
161
|
+
end
|
|
162
|
+
|
|
145
163
|
type status = :active | :inactive | :suspended | :deactivated
|
|
146
164
|
|
|
147
165
|
module Status
|