increase 1.255.0 → 1.256.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/card_push_transfer.rb +25 -1
- data/lib/increase/models/card_validation.rb +25 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/card_push_transfer.rbi +32 -0
- data/rbi/increase/models/card_validation.rbi +32 -0
- data/sig/increase/models/card_push_transfer.rbs +19 -0
- data/sig/increase/models/card_validation.rbs +19 -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: ad61ffa708cc356497acc0d0a9cae7721245e62553ffd4df80f25fa966e75317
|
|
4
|
+
data.tar.gz: ca76dd5b991285b0a21f821b77a90604c7039cbc9cc064b74d94581d035cd077
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 27498b24a428c88e91771be7f1c0fb5b29b57411210b75a0b6f487578e6fe9cd2493fe1d77b26154b4ba3dbb0870bb0ed9eea631058bd0383ea43a0107ff1dde
|
|
7
|
+
data.tar.gz: 76d960e6e27ad1208773e05bb88f88bd68a0b64858ad1d34c59be888ea86ca64a95165d51420ba03e756d54cbe3c0e7f660c171893c6cac9e8d76aaf9b03aeb7
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.256.0 (2026-03-16)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.255.0...v1.256.0](https://github.com/Increase/increase-ruby/compare/v1.255.0...v1.256.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([bdfa9c5](https://github.com/Increase/increase-ruby/commit/bdfa9c5ba103eab87eca3e207beb057765766053))
|
|
10
|
+
|
|
3
11
|
## 1.255.0 (2026-03-13)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v1.254.0...v1.255.0](https://github.com/Increase/increase-ruby/compare/v1.254.0...v1.255.0)
|
data/README.md
CHANGED
|
@@ -136,6 +136,12 @@ module Increase
|
|
|
136
136
|
# @return [String]
|
|
137
137
|
required :recipient_name, String
|
|
138
138
|
|
|
139
|
+
# @!attribute route
|
|
140
|
+
# The card network route used for the transfer.
|
|
141
|
+
#
|
|
142
|
+
# @return [Symbol, Increase::Models::CardPushTransfer::Route]
|
|
143
|
+
required :route, enum: -> { Increase::CardPushTransfer::Route }
|
|
144
|
+
|
|
139
145
|
# @!attribute sender_address_city
|
|
140
146
|
# The city of the sender.
|
|
141
147
|
#
|
|
@@ -192,7 +198,7 @@ module Increase
|
|
|
192
198
|
# @return [Symbol, Increase::Models::CardPushTransfer::Type]
|
|
193
199
|
required :type, enum: -> { Increase::CardPushTransfer::Type }
|
|
194
200
|
|
|
195
|
-
# @!method initialize(id:, acceptance:, account_id:, approval:, business_application_identifier:, cancellation:, card_token_id:, created_at:, created_by:, decline:, idempotency_key:, merchant_category_code:, merchant_city_name:, merchant_name:, merchant_name_prefix:, merchant_postal_code:, merchant_state:, presentment_amount:, recipient_name:, sender_address_city:, sender_address_line1:, sender_address_postal_code:, sender_address_state:, sender_name:, source_account_number_id:, status:, submission:, type:)
|
|
201
|
+
# @!method initialize(id:, acceptance:, account_id:, approval:, business_application_identifier:, cancellation:, card_token_id:, created_at:, created_by:, decline:, idempotency_key:, merchant_category_code:, merchant_city_name:, merchant_name:, merchant_name_prefix:, merchant_postal_code:, merchant_state:, presentment_amount:, recipient_name:, route:, sender_address_city:, sender_address_line1:, sender_address_postal_code:, sender_address_state:, sender_name:, source_account_number_id:, status:, submission:, type:)
|
|
196
202
|
# Some parameter documentations has been truncated, see
|
|
197
203
|
# {Increase::Models::CardPushTransfer} for more details.
|
|
198
204
|
#
|
|
@@ -236,6 +242,8 @@ module Increase
|
|
|
236
242
|
#
|
|
237
243
|
# @param recipient_name [String] The name of the funds recipient.
|
|
238
244
|
#
|
|
245
|
+
# @param route [Symbol, Increase::Models::CardPushTransfer::Route] The card network route used for the transfer.
|
|
246
|
+
#
|
|
239
247
|
# @param sender_address_city [String] The city of the sender.
|
|
240
248
|
#
|
|
241
249
|
# @param sender_address_line1 [String] The address line 1 of the sender.
|
|
@@ -1226,6 +1234,22 @@ module Increase
|
|
|
1226
1234
|
end
|
|
1227
1235
|
end
|
|
1228
1236
|
|
|
1237
|
+
# The card network route used for the transfer.
|
|
1238
|
+
#
|
|
1239
|
+
# @see Increase::Models::CardPushTransfer#route
|
|
1240
|
+
module Route
|
|
1241
|
+
extend Increase::Internal::Type::Enum
|
|
1242
|
+
|
|
1243
|
+
# Visa and Interlink
|
|
1244
|
+
VISA = :visa
|
|
1245
|
+
|
|
1246
|
+
# Mastercard and Maestro
|
|
1247
|
+
MASTERCARD = :mastercard
|
|
1248
|
+
|
|
1249
|
+
# @!method self.values
|
|
1250
|
+
# @return [Array<Symbol>]
|
|
1251
|
+
end
|
|
1252
|
+
|
|
1229
1253
|
# The lifecycle status of the transfer.
|
|
1230
1254
|
#
|
|
1231
1255
|
# @see Increase::Models::CardPushTransfer#status
|
|
@@ -119,6 +119,12 @@ module Increase
|
|
|
119
119
|
# @return [String]
|
|
120
120
|
required :merchant_state, String
|
|
121
121
|
|
|
122
|
+
# @!attribute route
|
|
123
|
+
# The card network route used for the validation.
|
|
124
|
+
#
|
|
125
|
+
# @return [Symbol, Increase::Models::CardValidation::Route]
|
|
126
|
+
required :route, enum: -> { Increase::CardValidation::Route }
|
|
127
|
+
|
|
122
128
|
# @!attribute status
|
|
123
129
|
# The lifecycle status of the validation.
|
|
124
130
|
#
|
|
@@ -139,7 +145,7 @@ module Increase
|
|
|
139
145
|
# @return [Symbol, Increase::Models::CardValidation::Type]
|
|
140
146
|
required :type, enum: -> { Increase::CardValidation::Type }
|
|
141
147
|
|
|
142
|
-
# @!method initialize(id:, acceptance:, account_id:, card_token_id:, cardholder_first_name:, cardholder_last_name:, cardholder_middle_name:, cardholder_postal_code:, cardholder_street_address:, created_at:, created_by:, decline:, idempotency_key:, merchant_category_code:, merchant_city_name:, merchant_name:, merchant_postal_code:, merchant_state:, status:, submission:, type:)
|
|
148
|
+
# @!method initialize(id:, acceptance:, account_id:, card_token_id:, cardholder_first_name:, cardholder_last_name:, cardholder_middle_name:, cardholder_postal_code:, cardholder_street_address:, created_at:, created_by:, decline:, idempotency_key:, merchant_category_code:, merchant_city_name:, merchant_name:, merchant_postal_code:, merchant_state:, route:, status:, submission:, type:)
|
|
143
149
|
# Some parameter documentations has been truncated, see
|
|
144
150
|
# {Increase::Models::CardValidation} for more details.
|
|
145
151
|
#
|
|
@@ -182,6 +188,8 @@ module Increase
|
|
|
182
188
|
#
|
|
183
189
|
# @param merchant_state [String] The U.S. state where the merchant (typically your business) is located.
|
|
184
190
|
#
|
|
191
|
+
# @param route [Symbol, Increase::Models::CardValidation::Route] The card network route used for the validation.
|
|
192
|
+
#
|
|
185
193
|
# @param status [Symbol, Increase::Models::CardValidation::Status] The lifecycle status of the validation.
|
|
186
194
|
#
|
|
187
195
|
# @param submission [Increase::Models::CardValidation::Submission, nil] After the validation is submitted to the card network, this will contain supplem
|
|
@@ -688,6 +696,22 @@ module Increase
|
|
|
688
696
|
end
|
|
689
697
|
end
|
|
690
698
|
|
|
699
|
+
# The card network route used for the validation.
|
|
700
|
+
#
|
|
701
|
+
# @see Increase::Models::CardValidation#route
|
|
702
|
+
module Route
|
|
703
|
+
extend Increase::Internal::Type::Enum
|
|
704
|
+
|
|
705
|
+
# Visa and Interlink
|
|
706
|
+
VISA = :visa
|
|
707
|
+
|
|
708
|
+
# Mastercard and Maestro
|
|
709
|
+
MASTERCARD = :mastercard
|
|
710
|
+
|
|
711
|
+
# @!method self.values
|
|
712
|
+
# @return [Array<Symbol>]
|
|
713
|
+
end
|
|
714
|
+
|
|
691
715
|
# The lifecycle status of the validation.
|
|
692
716
|
#
|
|
693
717
|
# @see Increase::Models::CardValidation#status
|
data/lib/increase/version.rb
CHANGED
|
@@ -149,6 +149,10 @@ module Increase
|
|
|
149
149
|
sig { returns(String) }
|
|
150
150
|
attr_accessor :recipient_name
|
|
151
151
|
|
|
152
|
+
# The card network route used for the transfer.
|
|
153
|
+
sig { returns(Increase::CardPushTransfer::Route::TaggedSymbol) }
|
|
154
|
+
attr_accessor :route
|
|
155
|
+
|
|
152
156
|
# The city of the sender.
|
|
153
157
|
sig { returns(String) }
|
|
154
158
|
attr_accessor :sender_address_city
|
|
@@ -219,6 +223,7 @@ module Increase
|
|
|
219
223
|
presentment_amount:
|
|
220
224
|
Increase::CardPushTransfer::PresentmentAmount::OrHash,
|
|
221
225
|
recipient_name: String,
|
|
226
|
+
route: Increase::CardPushTransfer::Route::OrSymbol,
|
|
222
227
|
sender_address_city: String,
|
|
223
228
|
sender_address_line1: String,
|
|
224
229
|
sender_address_postal_code: String,
|
|
@@ -286,6 +291,8 @@ module Increase
|
|
|
286
291
|
presentment_amount:,
|
|
287
292
|
# The name of the funds recipient.
|
|
288
293
|
recipient_name:,
|
|
294
|
+
# The card network route used for the transfer.
|
|
295
|
+
route:,
|
|
289
296
|
# The city of the sender.
|
|
290
297
|
sender_address_city:,
|
|
291
298
|
# The address line 1 of the sender.
|
|
@@ -332,6 +339,7 @@ module Increase
|
|
|
332
339
|
merchant_state: String,
|
|
333
340
|
presentment_amount: Increase::CardPushTransfer::PresentmentAmount,
|
|
334
341
|
recipient_name: String,
|
|
342
|
+
route: Increase::CardPushTransfer::Route::TaggedSymbol,
|
|
335
343
|
sender_address_city: String,
|
|
336
344
|
sender_address_line1: String,
|
|
337
345
|
sender_address_postal_code: String,
|
|
@@ -2475,6 +2483,30 @@ module Increase
|
|
|
2475
2483
|
end
|
|
2476
2484
|
end
|
|
2477
2485
|
|
|
2486
|
+
# The card network route used for the transfer.
|
|
2487
|
+
module Route
|
|
2488
|
+
extend Increase::Internal::Type::Enum
|
|
2489
|
+
|
|
2490
|
+
TaggedSymbol =
|
|
2491
|
+
T.type_alias { T.all(Symbol, Increase::CardPushTransfer::Route) }
|
|
2492
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
2493
|
+
|
|
2494
|
+
# Visa and Interlink
|
|
2495
|
+
VISA = T.let(:visa, Increase::CardPushTransfer::Route::TaggedSymbol)
|
|
2496
|
+
|
|
2497
|
+
# Mastercard and Maestro
|
|
2498
|
+
MASTERCARD =
|
|
2499
|
+
T.let(:mastercard, Increase::CardPushTransfer::Route::TaggedSymbol)
|
|
2500
|
+
|
|
2501
|
+
sig do
|
|
2502
|
+
override.returns(
|
|
2503
|
+
T::Array[Increase::CardPushTransfer::Route::TaggedSymbol]
|
|
2504
|
+
)
|
|
2505
|
+
end
|
|
2506
|
+
def self.values
|
|
2507
|
+
end
|
|
2508
|
+
end
|
|
2509
|
+
|
|
2478
2510
|
# The lifecycle status of the transfer.
|
|
2479
2511
|
module Status
|
|
2480
2512
|
extend Increase::Internal::Type::Enum
|
|
@@ -108,6 +108,10 @@ module Increase
|
|
|
108
108
|
sig { returns(String) }
|
|
109
109
|
attr_accessor :merchant_state
|
|
110
110
|
|
|
111
|
+
# The card network route used for the validation.
|
|
112
|
+
sig { returns(Increase::CardValidation::Route::TaggedSymbol) }
|
|
113
|
+
attr_accessor :route
|
|
114
|
+
|
|
111
115
|
# The lifecycle status of the validation.
|
|
112
116
|
sig { returns(Increase::CardValidation::Status::TaggedSymbol) }
|
|
113
117
|
attr_accessor :status
|
|
@@ -151,6 +155,7 @@ module Increase
|
|
|
151
155
|
merchant_name: String,
|
|
152
156
|
merchant_postal_code: String,
|
|
153
157
|
merchant_state: String,
|
|
158
|
+
route: Increase::CardValidation::Route::OrSymbol,
|
|
154
159
|
status: Increase::CardValidation::Status::OrSymbol,
|
|
155
160
|
submission: T.nilable(Increase::CardValidation::Submission::OrHash),
|
|
156
161
|
type: Increase::CardValidation::Type::OrSymbol
|
|
@@ -200,6 +205,8 @@ module Increase
|
|
|
200
205
|
merchant_postal_code:,
|
|
201
206
|
# The U.S. state where the merchant (typically your business) is located.
|
|
202
207
|
merchant_state:,
|
|
208
|
+
# The card network route used for the validation.
|
|
209
|
+
route:,
|
|
203
210
|
# The lifecycle status of the validation.
|
|
204
211
|
status:,
|
|
205
212
|
# After the validation is submitted to the card network, this will contain
|
|
@@ -232,6 +239,7 @@ module Increase
|
|
|
232
239
|
merchant_name: String,
|
|
233
240
|
merchant_postal_code: String,
|
|
234
241
|
merchant_state: String,
|
|
242
|
+
route: Increase::CardValidation::Route::TaggedSymbol,
|
|
235
243
|
status: Increase::CardValidation::Status::TaggedSymbol,
|
|
236
244
|
submission: T.nilable(Increase::CardValidation::Submission),
|
|
237
245
|
type: Increase::CardValidation::Type::TaggedSymbol
|
|
@@ -1319,6 +1327,30 @@ module Increase
|
|
|
1319
1327
|
end
|
|
1320
1328
|
end
|
|
1321
1329
|
|
|
1330
|
+
# The card network route used for the validation.
|
|
1331
|
+
module Route
|
|
1332
|
+
extend Increase::Internal::Type::Enum
|
|
1333
|
+
|
|
1334
|
+
TaggedSymbol =
|
|
1335
|
+
T.type_alias { T.all(Symbol, Increase::CardValidation::Route) }
|
|
1336
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
1337
|
+
|
|
1338
|
+
# Visa and Interlink
|
|
1339
|
+
VISA = T.let(:visa, Increase::CardValidation::Route::TaggedSymbol)
|
|
1340
|
+
|
|
1341
|
+
# Mastercard and Maestro
|
|
1342
|
+
MASTERCARD =
|
|
1343
|
+
T.let(:mastercard, Increase::CardValidation::Route::TaggedSymbol)
|
|
1344
|
+
|
|
1345
|
+
sig do
|
|
1346
|
+
override.returns(
|
|
1347
|
+
T::Array[Increase::CardValidation::Route::TaggedSymbol]
|
|
1348
|
+
)
|
|
1349
|
+
end
|
|
1350
|
+
def self.values
|
|
1351
|
+
end
|
|
1352
|
+
end
|
|
1353
|
+
|
|
1322
1354
|
# The lifecycle status of the validation.
|
|
1323
1355
|
module Status
|
|
1324
1356
|
extend Increase::Internal::Type::Enum
|
|
@@ -21,6 +21,7 @@ module Increase
|
|
|
21
21
|
merchant_state: String,
|
|
22
22
|
presentment_amount: Increase::CardPushTransfer::PresentmentAmount,
|
|
23
23
|
recipient_name: String,
|
|
24
|
+
route: Increase::Models::CardPushTransfer::route,
|
|
24
25
|
sender_address_city: String,
|
|
25
26
|
:sender_address_line1 => String,
|
|
26
27
|
sender_address_postal_code: String,
|
|
@@ -71,6 +72,8 @@ module Increase
|
|
|
71
72
|
|
|
72
73
|
attr_accessor recipient_name: String
|
|
73
74
|
|
|
75
|
+
attr_accessor route: Increase::Models::CardPushTransfer::route
|
|
76
|
+
|
|
74
77
|
attr_accessor sender_address_city: String
|
|
75
78
|
|
|
76
79
|
attr_accessor sender_address_line1: String
|
|
@@ -109,6 +112,7 @@ module Increase
|
|
|
109
112
|
merchant_state: String,
|
|
110
113
|
presentment_amount: Increase::CardPushTransfer::PresentmentAmount,
|
|
111
114
|
recipient_name: String,
|
|
115
|
+
route: Increase::Models::CardPushTransfer::route,
|
|
112
116
|
sender_address_city: String,
|
|
113
117
|
sender_address_line1: String,
|
|
114
118
|
sender_address_postal_code: String,
|
|
@@ -140,6 +144,7 @@ module Increase
|
|
|
140
144
|
merchant_state: String,
|
|
141
145
|
presentment_amount: Increase::CardPushTransfer::PresentmentAmount,
|
|
142
146
|
recipient_name: String,
|
|
147
|
+
route: Increase::Models::CardPushTransfer::route,
|
|
143
148
|
sender_address_city: String,
|
|
144
149
|
:sender_address_line1 => String,
|
|
145
150
|
sender_address_postal_code: String,
|
|
@@ -1242,6 +1247,20 @@ module Increase
|
|
|
1242
1247
|
end
|
|
1243
1248
|
end
|
|
1244
1249
|
|
|
1250
|
+
type route = :visa | :mastercard
|
|
1251
|
+
|
|
1252
|
+
module Route
|
|
1253
|
+
extend Increase::Internal::Type::Enum
|
|
1254
|
+
|
|
1255
|
+
# Visa and Interlink
|
|
1256
|
+
VISA: :visa
|
|
1257
|
+
|
|
1258
|
+
# Mastercard and Maestro
|
|
1259
|
+
MASTERCARD: :mastercard
|
|
1260
|
+
|
|
1261
|
+
def self?.values: -> ::Array[Increase::Models::CardPushTransfer::route]
|
|
1262
|
+
end
|
|
1263
|
+
|
|
1245
1264
|
type status =
|
|
1246
1265
|
:pending_approval
|
|
1247
1266
|
| :canceled
|
|
@@ -20,6 +20,7 @@ module Increase
|
|
|
20
20
|
merchant_name: String,
|
|
21
21
|
merchant_postal_code: String,
|
|
22
22
|
merchant_state: String,
|
|
23
|
+
route: Increase::Models::CardValidation::route,
|
|
23
24
|
status: Increase::Models::CardValidation::status,
|
|
24
25
|
submission: Increase::CardValidation::Submission?,
|
|
25
26
|
type: Increase::Models::CardValidation::type_
|
|
@@ -62,6 +63,8 @@ module Increase
|
|
|
62
63
|
|
|
63
64
|
attr_accessor merchant_state: String
|
|
64
65
|
|
|
66
|
+
attr_accessor route: Increase::Models::CardValidation::route
|
|
67
|
+
|
|
65
68
|
attr_accessor status: Increase::Models::CardValidation::status
|
|
66
69
|
|
|
67
70
|
attr_accessor submission: Increase::CardValidation::Submission?
|
|
@@ -87,6 +90,7 @@ module Increase
|
|
|
87
90
|
merchant_name: String,
|
|
88
91
|
merchant_postal_code: String,
|
|
89
92
|
merchant_state: String,
|
|
93
|
+
route: Increase::Models::CardValidation::route,
|
|
90
94
|
status: Increase::Models::CardValidation::status,
|
|
91
95
|
submission: Increase::CardValidation::Submission?,
|
|
92
96
|
type: Increase::Models::CardValidation::type_
|
|
@@ -111,6 +115,7 @@ module Increase
|
|
|
111
115
|
merchant_name: String,
|
|
112
116
|
merchant_postal_code: String,
|
|
113
117
|
merchant_state: String,
|
|
118
|
+
route: Increase::Models::CardValidation::route,
|
|
114
119
|
status: Increase::Models::CardValidation::status,
|
|
115
120
|
submission: Increase::CardValidation::Submission?,
|
|
116
121
|
type: Increase::Models::CardValidation::type_
|
|
@@ -570,6 +575,20 @@ module Increase
|
|
|
570
575
|
end
|
|
571
576
|
end
|
|
572
577
|
|
|
578
|
+
type route = :visa | :mastercard
|
|
579
|
+
|
|
580
|
+
module Route
|
|
581
|
+
extend Increase::Internal::Type::Enum
|
|
582
|
+
|
|
583
|
+
# Visa and Interlink
|
|
584
|
+
VISA: :visa
|
|
585
|
+
|
|
586
|
+
# Mastercard and Maestro
|
|
587
|
+
MASTERCARD: :mastercard
|
|
588
|
+
|
|
589
|
+
def self?.values: -> ::Array[Increase::Models::CardValidation::route]
|
|
590
|
+
end
|
|
591
|
+
|
|
573
592
|
type status =
|
|
574
593
|
:requires_attention
|
|
575
594
|
| :pending_submission
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: increase
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.256.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Increase
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-03-
|
|
11
|
+
date: 2026-03-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|