increase 1.255.0 → 1.257.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: 683352ad52d099065ff04b06cf99b1218e208be33fd0d826e1613a1c4a7e8f1c
4
- data.tar.gz: 5ddcc6b136e2b6b46c46957ef5f512094ae462b76cc26f4f55a25569f83b5723
3
+ metadata.gz: 4b4d6b2fc83727cfe5579a8c720a8e60d117dae117ca41a4926ad21b85ebb1aa
4
+ data.tar.gz: 7552bf5b94ef626edcf2318f4f8ed88762a8c2f4c90466637231402291686732
5
5
  SHA512:
6
- metadata.gz: a980a16528107b988dfb151d1db89dfbe7af0ff8b65cdba2a2976c7cd355e27f6fda619ee46f26d2785cac96f1f98ee10f2949163bb2b7890629682e2a995741
7
- data.tar.gz: d6015813d1ad39971b7b8338092f2c10665aedcf3012a66b3518b0b8229e268e97ba559cd718e96ed76decbbb123e39141c48b45cc8351551b2b5e62f5768d03
6
+ metadata.gz: 8b5b8238076bd445e42aeff71747342dd2aaebc5a4080188dd3deca612cccf20f8accab14b4ad63433d09f8aed8e0318eb6f8b8de421bb5d698460599b283147
7
+ data.tar.gz: 9fa78ea094efeb63d4dab046ffcca97f93919401c2d69c9f9274d063fac32081b8407f6e29833ee2d1f4682654f05fc5071d1b9b1f1d75069306cadd8a484cc7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.257.0 (2026-03-16)
4
+
5
+ Full Changelog: [v1.256.0...v1.257.0](https://github.com/Increase/increase-ruby/compare/v1.256.0...v1.257.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([12de5d2](https://github.com/Increase/increase-ruby/commit/12de5d2f8c42641a9ed33e406715876089cebd9b))
10
+
11
+ ## 1.256.0 (2026-03-16)
12
+
13
+ Full Changelog: [v1.255.0...v1.256.0](https://github.com/Increase/increase-ruby/compare/v1.255.0...v1.256.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([bdfa9c5](https://github.com/Increase/increase-ruby/commit/bdfa9c5ba103eab87eca3e207beb057765766053))
18
+
3
19
  ## 1.255.0 (2026-03-13)
4
20
 
5
21
  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
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
15
15
  <!-- x-release-please-start-version -->
16
16
 
17
17
  ```ruby
18
- gem "increase", "~> 1.255.0"
18
+ gem "increase", "~> 1.257.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -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
@@ -122,7 +122,8 @@ module Increase
122
122
  required :type, enum: -> { Increase::Entity::Type }
123
123
 
124
124
  # @!attribute validation
125
- # The validation results for the entity.
125
+ # The validation results for the entity. Learn more about
126
+ # [validations](/documentation/entity-validation).
126
127
  #
127
128
  # @return [Increase::Models::Entity::Validation, nil]
128
129
  required :validation, -> { Increase::Entity::Validation }, nil?: true
@@ -169,7 +170,7 @@ module Increase
169
170
  #
170
171
  # @param type [Symbol, Increase::Models::Entity::Type] A constant representing the object's type. For this resource it will always be `
171
172
  #
172
- # @param validation [Increase::Models::Entity::Validation, nil] The validation results for the entity.
173
+ # @param validation [Increase::Models::Entity::Validation, nil] The validation results for the entity. Learn more about [validations](/documenta
173
174
 
174
175
  # @see Increase::Models::Entity#corporation
175
176
  class Corporation < Increase::Internal::Type::BaseModel
@@ -1615,7 +1616,8 @@ module Increase
1615
1616
  # Some parameter documentations has been truncated, see
1616
1617
  # {Increase::Models::Entity::Validation} for more details.
1617
1618
  #
1618
- # The validation results for the entity.
1619
+ # The validation results for the entity. Learn more about
1620
+ # [validations](/documentation/entity-validation).
1619
1621
  #
1620
1622
  # @param issues [Array<Increase::Models::Entity::Validation::Issue>] The list of issues that need to be addressed.
1621
1623
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.255.0"
4
+ VERSION = "1.257.0"
5
5
  end
@@ -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
@@ -131,7 +131,8 @@ module Increase
131
131
  sig { returns(Increase::Entity::Type::TaggedSymbol) }
132
132
  attr_accessor :type
133
133
 
134
- # The validation results for the entity.
134
+ # The validation results for the entity. Learn more about
135
+ # [validations](/documentation/entity-validation).
135
136
  sig { returns(T.nilable(Increase::Entity::Validation)) }
136
137
  attr_reader :validation
137
138
 
@@ -217,7 +218,8 @@ module Increase
217
218
  # A constant representing the object's type. For this resource it will always be
218
219
  # `entity`.
219
220
  type:,
220
- # The validation results for the entity.
221
+ # The validation results for the entity. Learn more about
222
+ # [validations](/documentation/entity-validation).
221
223
  validation:
222
224
  )
223
225
  end
@@ -2750,7 +2752,8 @@ module Increase
2750
2752
  sig { returns(Increase::Entity::Validation::Status::TaggedSymbol) }
2751
2753
  attr_accessor :status
2752
2754
 
2753
- # The validation results for the entity.
2755
+ # The validation results for the entity. Learn more about
2756
+ # [validations](/documentation/entity-validation).
2754
2757
  sig do
2755
2758
  params(
2756
2759
  issues: T::Array[Increase::Entity::Validation::Issue::OrHash],
@@ -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.255.0
4
+ version: 1.257.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-13 00:00:00.000000000 Z
11
+ date: 2026-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi