increase 1.65.0 → 1.67.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: 5c9e7d2f1ef63512112a8b2a87d64966826584640f9cb49683ccaf79562c4447
4
- data.tar.gz: 54eba55f6851d3cc8729bee1788e1bda14e58c3f2ded96c51934d4fc4cd0e6d7
3
+ metadata.gz: 9466fcaa09f9ec61d32190bb375d3ab087ed0b65fee544da877b25658b7a5ec6
4
+ data.tar.gz: 144ee545505230e27fe0b71489c8b0ea78decc5b2d4973809e44543ac9b9f2d2
5
5
  SHA512:
6
- metadata.gz: 50e8f5b2d156f03522c1ee09a5d494cd34090e510eb074faa9e6fab18fe7fa3cdac3b7b00252b70debabad3e06f9738b9ef651d1bd72bef217d0d425acbe2dbe
7
- data.tar.gz: '084aaf9489dd09f8c22943e659522dcd1acef332093845e07f08bbea5afc31baaf19e011300ffd00d9e98962e56ceb3b4c342a879b914d61ad3e03b594ed99bb'
6
+ metadata.gz: f8c2585ab6bb76b8b24496228b16d933f2cb332d25385bfeb6b09576fa3589be92c522e74f3aebe9949fdc13514a395a458e4d61c3cad48fa55d78f7ac9481db
7
+ data.tar.gz: e275e7a3f906bb92ccf256065d87f3c570e987a75bc8c5a2a3fa30f53f89f26a1ca70296d9d4eca9af8cb6d77aba94713282ce0e6291c01eab20afedb28b1e83
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.67.0 (2025-09-05)
4
+
5
+ Full Changelog: [v1.66.0...v1.67.0](https://github.com/Increase/increase-ruby/compare/v1.66.0...v1.67.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([d2435db](https://github.com/Increase/increase-ruby/commit/d2435dbe228b43ad2a5169303898d45f09005908))
10
+
11
+ ## 1.66.0 (2025-09-05)
12
+
13
+ Full Changelog: [v1.65.0...v1.66.0](https://github.com/Increase/increase-ruby/compare/v1.65.0...v1.66.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([a456344](https://github.com/Increase/increase-ruby/commit/a456344ef7dd123a819153711709dec13edc30ef))
18
+
3
19
  ## 1.65.0 (2025-09-05)
4
20
 
5
21
  Full Changelog: [v1.64.0...v1.65.0](https://github.com/Increase/increase-ruby/compare/v1.64.0...v1.65.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.65.0"
18
+ gem "increase", "~> 1.67.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -29,6 +29,9 @@ module Increase
29
29
  # @return [Increase::Resources::AccountNumbers]
30
30
  attr_reader :account_numbers
31
31
 
32
+ # @return [Increase::Resources::AccountTransfers]
33
+ attr_reader :account_transfers
34
+
32
35
  # @return [Increase::Resources::Cards]
33
36
  attr_reader :cards
34
37
 
@@ -62,9 +65,6 @@ module Increase
62
65
  # @return [Increase::Resources::DeclinedTransactions]
63
66
  attr_reader :declined_transactions
64
67
 
65
- # @return [Increase::Resources::AccountTransfers]
66
- attr_reader :account_transfers
67
-
68
68
  # @return [Increase::Resources::ACHTransfers]
69
69
  attr_reader :ach_transfers
70
70
 
@@ -252,6 +252,7 @@ module Increase
252
252
 
253
253
  @accounts = Increase::Resources::Accounts.new(client: self)
254
254
  @account_numbers = Increase::Resources::AccountNumbers.new(client: self)
255
+ @account_transfers = Increase::Resources::AccountTransfers.new(client: self)
255
256
  @cards = Increase::Resources::Cards.new(client: self)
256
257
  @card_payments = Increase::Resources::CardPayments.new(client: self)
257
258
  @card_purchase_supplements = Increase::Resources::CardPurchaseSupplements.new(client: self)
@@ -263,7 +264,6 @@ module Increase
263
264
  @transactions = Increase::Resources::Transactions.new(client: self)
264
265
  @pending_transactions = Increase::Resources::PendingTransactions.new(client: self)
265
266
  @declined_transactions = Increase::Resources::DeclinedTransactions.new(client: self)
266
- @account_transfers = Increase::Resources::AccountTransfers.new(client: self)
267
267
  @ach_transfers = Increase::Resources::ACHTransfers.new(client: self)
268
268
  @ach_prenotifications = Increase::Resources::ACHPrenotifications.new(client: self)
269
269
  @inbound_ach_transfers = Increase::Resources::InboundACHTransfers.new(client: self)
@@ -8,19 +8,22 @@ module Increase
8
8
  include Increase::Internal::Type::RequestParameters
9
9
 
10
10
  # @!attribute corporation
11
- # Details of the corporation entity to update.
11
+ # Details of the corporation entity to update. If you specify this parameter and
12
+ # the entity is not a corporation, the request will fail.
12
13
  #
13
14
  # @return [Increase::Models::EntityUpdateParams::Corporation, nil]
14
15
  optional :corporation, -> { Increase::EntityUpdateParams::Corporation }
15
16
 
16
17
  # @!attribute government_authority
17
- # Details of the government authority entity to update.
18
+ # Details of the government authority entity to update. If you specify this
19
+ # parameter and the entity is not a government authority, the request will fail.
18
20
  #
19
21
  # @return [Increase::Models::EntityUpdateParams::GovernmentAuthority, nil]
20
22
  optional :government_authority, -> { Increase::EntityUpdateParams::GovernmentAuthority }
21
23
 
22
24
  # @!attribute natural_person
23
- # Details of the natural person entity to update.
25
+ # Details of the natural person entity to update. If you specify this parameter
26
+ # and the entity is not a natural person, the request will fail.
24
27
  #
25
28
  # @return [Increase::Models::EntityUpdateParams::NaturalPerson, nil]
26
29
  optional :natural_person, -> { Increase::EntityUpdateParams::NaturalPerson }
@@ -40,7 +43,8 @@ module Increase
40
43
  optional :third_party_verification, -> { Increase::EntityUpdateParams::ThirdPartyVerification }
41
44
 
42
45
  # @!attribute trust
43
- # Details of the trust entity to update.
46
+ # Details of the trust entity to update. If you specify this parameter and the
47
+ # entity is not a trust, the request will fail.
44
48
  #
45
49
  # @return [Increase::Models::EntityUpdateParams::Trust, nil]
46
50
  optional :trust, -> { Increase::EntityUpdateParams::Trust }
@@ -49,17 +53,17 @@ module Increase
49
53
  # Some parameter documentations has been truncated, see
50
54
  # {Increase::Models::EntityUpdateParams} for more details.
51
55
  #
52
- # @param corporation [Increase::Models::EntityUpdateParams::Corporation] Details of the corporation entity to update.
56
+ # @param corporation [Increase::Models::EntityUpdateParams::Corporation] Details of the corporation entity to update. If you specify this parameter and t
53
57
  #
54
- # @param government_authority [Increase::Models::EntityUpdateParams::GovernmentAuthority] Details of the government authority entity to update.
58
+ # @param government_authority [Increase::Models::EntityUpdateParams::GovernmentAuthority] Details of the government authority entity to update. If you specify this parame
55
59
  #
56
- # @param natural_person [Increase::Models::EntityUpdateParams::NaturalPerson] Details of the natural person entity to update.
60
+ # @param natural_person [Increase::Models::EntityUpdateParams::NaturalPerson] Details of the natural person entity to update. If you specify this parameter an
57
61
  #
58
62
  # @param risk_rating [Increase::Models::EntityUpdateParams::RiskRating] An assessment of the entity’s potential risk of involvement in financial crimes,
59
63
  #
60
64
  # @param third_party_verification [Increase::Models::EntityUpdateParams::ThirdPartyVerification] A reference to data stored in a third-party verification service. Your integrati
61
65
  #
62
- # @param trust [Increase::Models::EntityUpdateParams::Trust] Details of the trust entity to update.
66
+ # @param trust [Increase::Models::EntityUpdateParams::Trust] Details of the trust entity to update. If you specify this parameter and the ent
63
67
  #
64
68
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
65
69
 
@@ -71,7 +75,8 @@ module Increase
71
75
  optional :name, String
72
76
 
73
77
  # @!method initialize(name: nil)
74
- # Details of the corporation entity to update.
78
+ # Details of the corporation entity to update. If you specify this parameter and
79
+ # the entity is not a corporation, the request will fail.
75
80
  #
76
81
  # @param name [String] The legal name of the corporation.
77
82
  end
@@ -84,7 +89,8 @@ module Increase
84
89
  optional :name, String
85
90
 
86
91
  # @!method initialize(name: nil)
87
- # Details of the government authority entity to update.
92
+ # Details of the government authority entity to update. If you specify this
93
+ # parameter and the entity is not a government authority, the request will fail.
88
94
  #
89
95
  # @param name [String] The legal name of the government authority.
90
96
  end
@@ -97,7 +103,8 @@ module Increase
97
103
  optional :name, String
98
104
 
99
105
  # @!method initialize(name: nil)
100
- # Details of the natural person entity to update.
106
+ # Details of the natural person entity to update. If you specify this parameter
107
+ # and the entity is not a natural person, the request will fail.
101
108
  #
102
109
  # @param name [String] The legal name of the natural person.
103
110
  end
@@ -196,7 +203,8 @@ module Increase
196
203
  optional :name, String
197
204
 
198
205
  # @!method initialize(name: nil)
199
- # Details of the trust entity to update.
206
+ # Details of the trust entity to update. If you specify this parameter and the
207
+ # entity is not a trust, the request will fail.
200
208
  #
201
209
  # @param name [String] The legal name of the trust.
202
210
  end
@@ -75,17 +75,17 @@ module Increase
75
75
  #
76
76
  # @param entity_id [String] The entity identifier.
77
77
  #
78
- # @param corporation [Increase::Models::EntityUpdateParams::Corporation] Details of the corporation entity to update.
78
+ # @param corporation [Increase::Models::EntityUpdateParams::Corporation] Details of the corporation entity to update. If you specify this parameter and t
79
79
  #
80
- # @param government_authority [Increase::Models::EntityUpdateParams::GovernmentAuthority] Details of the government authority entity to update.
80
+ # @param government_authority [Increase::Models::EntityUpdateParams::GovernmentAuthority] Details of the government authority entity to update. If you specify this parame
81
81
  #
82
- # @param natural_person [Increase::Models::EntityUpdateParams::NaturalPerson] Details of the natural person entity to update.
82
+ # @param natural_person [Increase::Models::EntityUpdateParams::NaturalPerson] Details of the natural person entity to update. If you specify this parameter an
83
83
  #
84
84
  # @param risk_rating [Increase::Models::EntityUpdateParams::RiskRating] An assessment of the entity’s potential risk of involvement in financial crimes,
85
85
  #
86
86
  # @param third_party_verification [Increase::Models::EntityUpdateParams::ThirdPartyVerification] A reference to data stored in a third-party verification service. Your integrati
87
87
  #
88
- # @param trust [Increase::Models::EntityUpdateParams::Trust] Details of the trust entity to update.
88
+ # @param trust [Increase::Models::EntityUpdateParams::Trust] Details of the trust entity to update. If you specify this parameter and the ent
89
89
  #
90
90
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
91
91
  #
@@ -6,6 +6,9 @@ module Increase
6
6
  # @return [Increase::Resources::Simulations::InterestPayments]
7
7
  attr_reader :interest_payments
8
8
 
9
+ # @return [Increase::Resources::Simulations::AccountTransfers]
10
+ attr_reader :account_transfers
11
+
9
12
  # @return [Increase::Resources::Simulations::CardAuthorizations]
10
13
  attr_reader :card_authorizations
11
14
 
@@ -39,9 +42,6 @@ module Increase
39
42
  # @return [Increase::Resources::Simulations::PendingTransactions]
40
43
  attr_reader :pending_transactions
41
44
 
42
- # @return [Increase::Resources::Simulations::AccountTransfers]
43
- attr_reader :account_transfers
44
-
45
45
  # @return [Increase::Resources::Simulations::ACHTransfers]
46
46
  attr_reader :ach_transfers
47
47
 
@@ -96,6 +96,7 @@ module Increase
96
96
  def initialize(client:)
97
97
  @client = client
98
98
  @interest_payments = Increase::Resources::Simulations::InterestPayments.new(client: client)
99
+ @account_transfers = Increase::Resources::Simulations::AccountTransfers.new(client: client)
99
100
  @card_authorizations = Increase::Resources::Simulations::CardAuthorizations.new(client: client)
100
101
  @card_authorization_expirations =
101
102
  Increase::Resources::Simulations::CardAuthorizationExpirations.new(client: client)
@@ -109,7 +110,6 @@ module Increase
109
110
  @digital_wallet_token_requests =
110
111
  Increase::Resources::Simulations::DigitalWalletTokenRequests.new(client: client)
111
112
  @pending_transactions = Increase::Resources::Simulations::PendingTransactions.new(client: client)
112
- @account_transfers = Increase::Resources::Simulations::AccountTransfers.new(client: client)
113
113
  @ach_transfers = Increase::Resources::Simulations::ACHTransfers.new(client: client)
114
114
  @inbound_ach_transfers = Increase::Resources::Simulations::InboundACHTransfers.new(client: client)
115
115
  @wire_transfers = Increase::Resources::Simulations::WireTransfers.new(client: client)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.65.0"
4
+ VERSION = "1.67.0"
5
5
  end
@@ -28,6 +28,9 @@ module Increase
28
28
  sig { returns(Increase::Resources::AccountNumbers) }
29
29
  attr_reader :account_numbers
30
30
 
31
+ sig { returns(Increase::Resources::AccountTransfers) }
32
+ attr_reader :account_transfers
33
+
31
34
  sig { returns(Increase::Resources::Cards) }
32
35
  attr_reader :cards
33
36
 
@@ -61,9 +64,6 @@ module Increase
61
64
  sig { returns(Increase::Resources::DeclinedTransactions) }
62
65
  attr_reader :declined_transactions
63
66
 
64
- sig { returns(Increase::Resources::AccountTransfers) }
65
- attr_reader :account_transfers
66
-
67
67
  sig { returns(Increase::Resources::ACHTransfers) }
68
68
  attr_reader :ach_transfers
69
69
 
@@ -11,7 +11,8 @@ module Increase
11
11
  T.any(Increase::EntityUpdateParams, Increase::Internal::AnyHash)
12
12
  end
13
13
 
14
- # Details of the corporation entity to update.
14
+ # Details of the corporation entity to update. If you specify this parameter and
15
+ # the entity is not a corporation, the request will fail.
15
16
  sig { returns(T.nilable(Increase::EntityUpdateParams::Corporation)) }
16
17
  attr_reader :corporation
17
18
 
@@ -22,7 +23,8 @@ module Increase
22
23
  end
23
24
  attr_writer :corporation
24
25
 
25
- # Details of the government authority entity to update.
26
+ # Details of the government authority entity to update. If you specify this
27
+ # parameter and the entity is not a government authority, the request will fail.
26
28
  sig do
27
29
  returns(T.nilable(Increase::EntityUpdateParams::GovernmentAuthority))
28
30
  end
@@ -36,7 +38,8 @@ module Increase
36
38
  end
37
39
  attr_writer :government_authority
38
40
 
39
- # Details of the natural person entity to update.
41
+ # Details of the natural person entity to update. If you specify this parameter
42
+ # and the entity is not a natural person, the request will fail.
40
43
  sig { returns(T.nilable(Increase::EntityUpdateParams::NaturalPerson)) }
41
44
  attr_reader :natural_person
42
45
 
@@ -74,7 +77,8 @@ module Increase
74
77
  end
75
78
  attr_writer :third_party_verification
76
79
 
77
- # Details of the trust entity to update.
80
+ # Details of the trust entity to update. If you specify this parameter and the
81
+ # entity is not a trust, the request will fail.
78
82
  sig { returns(T.nilable(Increase::EntityUpdateParams::Trust)) }
79
83
  attr_reader :trust
80
84
 
@@ -95,11 +99,14 @@ module Increase
95
99
  ).returns(T.attached_class)
96
100
  end
97
101
  def self.new(
98
- # Details of the corporation entity to update.
102
+ # Details of the corporation entity to update. If you specify this parameter and
103
+ # the entity is not a corporation, the request will fail.
99
104
  corporation: nil,
100
- # Details of the government authority entity to update.
105
+ # Details of the government authority entity to update. If you specify this
106
+ # parameter and the entity is not a government authority, the request will fail.
101
107
  government_authority: nil,
102
- # Details of the natural person entity to update.
108
+ # Details of the natural person entity to update. If you specify this parameter
109
+ # and the entity is not a natural person, the request will fail.
103
110
  natural_person: nil,
104
111
  # An assessment of the entity’s potential risk of involvement in financial crimes,
105
112
  # such as money laundering.
@@ -107,7 +114,8 @@ module Increase
107
114
  # A reference to data stored in a third-party verification service. Your
108
115
  # integration may or may not use this field.
109
116
  third_party_verification: nil,
110
- # Details of the trust entity to update.
117
+ # Details of the trust entity to update. If you specify this parameter and the
118
+ # entity is not a trust, the request will fail.
111
119
  trust: nil,
112
120
  request_options: {}
113
121
  )
@@ -147,7 +155,8 @@ module Increase
147
155
  sig { params(name: String).void }
148
156
  attr_writer :name
149
157
 
150
- # Details of the corporation entity to update.
158
+ # Details of the corporation entity to update. If you specify this parameter and
159
+ # the entity is not a corporation, the request will fail.
151
160
  sig { params(name: String).returns(T.attached_class) }
152
161
  def self.new(
153
162
  # The legal name of the corporation.
@@ -176,7 +185,8 @@ module Increase
176
185
  sig { params(name: String).void }
177
186
  attr_writer :name
178
187
 
179
- # Details of the government authority entity to update.
188
+ # Details of the government authority entity to update. If you specify this
189
+ # parameter and the entity is not a government authority, the request will fail.
180
190
  sig { params(name: String).returns(T.attached_class) }
181
191
  def self.new(
182
192
  # The legal name of the government authority.
@@ -205,7 +215,8 @@ module Increase
205
215
  sig { params(name: String).void }
206
216
  attr_writer :name
207
217
 
208
- # Details of the natural person entity to update.
218
+ # Details of the natural person entity to update. If you specify this parameter
219
+ # and the entity is not a natural person, the request will fail.
209
220
  sig { params(name: String).returns(T.attached_class) }
210
221
  def self.new(
211
222
  # The legal name of the natural person.
@@ -421,7 +432,8 @@ module Increase
421
432
  sig { params(name: String).void }
422
433
  attr_writer :name
423
434
 
424
- # Details of the trust entity to update.
435
+ # Details of the trust entity to update. If you specify this parameter and the
436
+ # entity is not a trust, the request will fail.
425
437
  sig { params(name: String).returns(T.attached_class) }
426
438
  def self.new(
427
439
  # The legal name of the trust.
@@ -90,11 +90,14 @@ module Increase
90
90
  def update(
91
91
  # The entity identifier.
92
92
  entity_id,
93
- # Details of the corporation entity to update.
93
+ # Details of the corporation entity to update. If you specify this parameter and
94
+ # the entity is not a corporation, the request will fail.
94
95
  corporation: nil,
95
- # Details of the government authority entity to update.
96
+ # Details of the government authority entity to update. If you specify this
97
+ # parameter and the entity is not a government authority, the request will fail.
96
98
  government_authority: nil,
97
- # Details of the natural person entity to update.
99
+ # Details of the natural person entity to update. If you specify this parameter
100
+ # and the entity is not a natural person, the request will fail.
98
101
  natural_person: nil,
99
102
  # An assessment of the entity’s potential risk of involvement in financial crimes,
100
103
  # such as money laundering.
@@ -102,7 +105,8 @@ module Increase
102
105
  # A reference to data stored in a third-party verification service. Your
103
106
  # integration may or may not use this field.
104
107
  third_party_verification: nil,
105
- # Details of the trust entity to update.
108
+ # Details of the trust entity to update. If you specify this parameter and the
109
+ # entity is not a trust, the request will fail.
106
110
  trust: nil,
107
111
  request_options: {}
108
112
  )
@@ -6,6 +6,9 @@ module Increase
6
6
  sig { returns(Increase::Resources::Simulations::InterestPayments) }
7
7
  attr_reader :interest_payments
8
8
 
9
+ sig { returns(Increase::Resources::Simulations::AccountTransfers) }
10
+ attr_reader :account_transfers
11
+
9
12
  sig { returns(Increase::Resources::Simulations::CardAuthorizations) }
10
13
  attr_reader :card_authorizations
11
14
 
@@ -43,9 +46,6 @@ module Increase
43
46
  sig { returns(Increase::Resources::Simulations::PendingTransactions) }
44
47
  attr_reader :pending_transactions
45
48
 
46
- sig { returns(Increase::Resources::Simulations::AccountTransfers) }
47
- attr_reader :account_transfers
48
-
49
49
  sig { returns(Increase::Resources::Simulations::ACHTransfers) }
50
50
  attr_reader :ach_transfers
51
51
 
@@ -19,6 +19,8 @@ module Increase
19
19
 
20
20
  attr_reader account_numbers: Increase::Resources::AccountNumbers
21
21
 
22
+ attr_reader account_transfers: Increase::Resources::AccountTransfers
23
+
22
24
  attr_reader cards: Increase::Resources::Cards
23
25
 
24
26
  attr_reader card_payments: Increase::Resources::CardPayments
@@ -41,8 +43,6 @@ module Increase
41
43
 
42
44
  attr_reader declined_transactions: Increase::Resources::DeclinedTransactions
43
45
 
44
- attr_reader account_transfers: Increase::Resources::AccountTransfers
45
-
46
46
  attr_reader ach_transfers: Increase::Resources::ACHTransfers
47
47
 
48
48
  attr_reader ach_prenotifications: Increase::Resources::ACHPrenotifications
@@ -3,6 +3,8 @@ module Increase
3
3
  class Simulations
4
4
  attr_reader interest_payments: Increase::Resources::Simulations::InterestPayments
5
5
 
6
+ attr_reader account_transfers: Increase::Resources::Simulations::AccountTransfers
7
+
6
8
  attr_reader card_authorizations: Increase::Resources::Simulations::CardAuthorizations
7
9
 
8
10
  attr_reader card_authorization_expirations: Increase::Resources::Simulations::CardAuthorizationExpirations
@@ -25,8 +27,6 @@ module Increase
25
27
 
26
28
  attr_reader pending_transactions: Increase::Resources::Simulations::PendingTransactions
27
29
 
28
- attr_reader account_transfers: Increase::Resources::Simulations::AccountTransfers
29
-
30
30
  attr_reader ach_transfers: Increase::Resources::Simulations::ACHTransfers
31
31
 
32
32
  attr_reader inbound_ach_transfers: Increase::Resources::Simulations::InboundACHTransfers
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: increase
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.65.0
4
+ version: 1.67.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase