increase 1.292.0 → 1.294.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 +16 -0
- data/README.md +1 -1
- data/lib/increase/models/entity.rb +10 -1
- data/lib/increase/resources/simulations.rb +0 -4
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +0 -2
- data/rbi/increase/models/entity.rbi +10 -0
- data/rbi/increase/resources/simulations.rbi +0 -3
- data/sig/increase/models/entity.rbs +5 -0
- data/sig/increase/resources/simulations.rbs +0 -2
- metadata +2 -8
- data/lib/increase/models/simulations/account_transfer_complete_params.rb +0 -24
- data/lib/increase/resources/simulations/account_transfers.rb +0 -39
- data/rbi/increase/models/simulations/account_transfer_complete_params.rbi +0 -48
- data/rbi/increase/resources/simulations/account_transfers.rbi +0 -31
- data/sig/increase/models/simulations/account_transfer_complete_params.rbs +0 -26
- data/sig/increase/resources/simulations/account_transfers.rbs +0 -14
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9e5dcc8dd08f58f6ae9204e2e9ae0f36352ccb71f23e523aa620651c86b0c614
|
|
4
|
+
data.tar.gz: 0b15784ef624a7adef77a687db26ce2563786db6fffa42fe5e650e397d8a7864
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7b3196b5a27d4e21b7345cb9abebee720a1a1246d108a2f11ca9d9c2e7ec5c0d708f07e61769c6c63baae0769b68673469c47ca21e1d604d942ef77d4f916887
|
|
7
|
+
data.tar.gz: a405a85ed0c105a1f70d54ef1b1bd0cc72ff2d6f64a54dab294bc94c34ffe5eed4bd01ef7c220b4db1e38d54a42228a345e9952f0aa42b334fcb0f5284e30bd8
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.294.0 (2026-04-13)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.293.0...v1.294.0](https://github.com/Increase/increase-ruby/compare/v1.293.0...v1.294.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([18c4e93](https://github.com/Increase/increase-ruby/commit/18c4e93f6c76702b024e728e795e986ff7b80f5e))
|
|
10
|
+
|
|
11
|
+
## 1.293.0 (2026-04-13)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v1.292.0...v1.293.0](https://github.com/Increase/increase-ruby/compare/v1.292.0...v1.293.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** api update ([2bdd4bc](https://github.com/Increase/increase-ruby/commit/2bdd4bc5b465b78277c38a670df00e157d5be7a2))
|
|
18
|
+
|
|
3
19
|
## 1.292.0 (2026-04-12)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v1.291.0...v1.292.0](https://github.com/Increase/increase-ruby/compare/v1.291.0...v1.292.0)
|
data/README.md
CHANGED
|
@@ -24,6 +24,13 @@ module Increase
|
|
|
24
24
|
# @return [Time]
|
|
25
25
|
required :created_at, Time
|
|
26
26
|
|
|
27
|
+
# @!attribute creating_entity_onboarding_session_id
|
|
28
|
+
# The identifier of the Entity Onboarding Session that was used to create this
|
|
29
|
+
# Entity, if any.
|
|
30
|
+
#
|
|
31
|
+
# @return [String, nil]
|
|
32
|
+
required :creating_entity_onboarding_session_id, String, nil?: true
|
|
33
|
+
|
|
27
34
|
# @!attribute description
|
|
28
35
|
# The entity's description for display purposes.
|
|
29
36
|
#
|
|
@@ -128,7 +135,7 @@ module Increase
|
|
|
128
135
|
# @return [Increase::Models::Entity::Validation, nil]
|
|
129
136
|
required :validation, -> { Increase::Entity::Validation }, nil?: true
|
|
130
137
|
|
|
131
|
-
# @!method initialize(id:, corporation:, created_at:, description:, details_confirmed_at:, government_authority:, idempotency_key:, joint:, natural_person:, risk_rating:, status:, structure:, supplemental_documents:, terms_agreements:, third_party_verification:, trust:, type:, validation:)
|
|
138
|
+
# @!method initialize(id:, corporation:, created_at:, creating_entity_onboarding_session_id:, description:, details_confirmed_at:, government_authority:, idempotency_key:, joint:, natural_person:, risk_rating:, status:, structure:, supplemental_documents:, terms_agreements:, third_party_verification:, trust:, type:, validation:)
|
|
132
139
|
# Some parameter documentations has been truncated, see {Increase::Models::Entity}
|
|
133
140
|
# for more details.
|
|
134
141
|
#
|
|
@@ -142,6 +149,8 @@ module Increase
|
|
|
142
149
|
#
|
|
143
150
|
# @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Entity
|
|
144
151
|
#
|
|
152
|
+
# @param creating_entity_onboarding_session_id [String, nil] The identifier of the Entity Onboarding Session that was used to create this Ent
|
|
153
|
+
#
|
|
145
154
|
# @param description [String, nil] The entity's description for display purposes.
|
|
146
155
|
#
|
|
147
156
|
# @param details_confirmed_at [Time, nil] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Entity'
|
|
@@ -6,9 +6,6 @@ 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
|
-
|
|
12
9
|
# @return [Increase::Resources::Simulations::CardAuthorizations]
|
|
13
10
|
attr_reader :card_authorizations
|
|
14
11
|
|
|
@@ -108,7 +105,6 @@ module Increase
|
|
|
108
105
|
def initialize(client:)
|
|
109
106
|
@client = client
|
|
110
107
|
@interest_payments = Increase::Resources::Simulations::InterestPayments.new(client: client)
|
|
111
|
-
@account_transfers = Increase::Resources::Simulations::AccountTransfers.new(client: client)
|
|
112
108
|
@card_authorizations = Increase::Resources::Simulations::CardAuthorizations.new(client: client)
|
|
113
109
|
@card_balance_inquiries = Increase::Resources::Simulations::CardBalanceInquiries.new(client: client)
|
|
114
110
|
@card_authorization_expirations =
|
data/lib/increase/version.rb
CHANGED
data/lib/increase.rb
CHANGED
|
@@ -293,7 +293,6 @@ require_relative "increase/models/real_time_payments_transfer_retrieve_params"
|
|
|
293
293
|
require_relative "increase/models/routing_number_list_params"
|
|
294
294
|
require_relative "increase/models/routing_number_list_response"
|
|
295
295
|
require_relative "increase/models/simulations/account_statement_create_params"
|
|
296
|
-
require_relative "increase/models/simulations/account_transfer_complete_params"
|
|
297
296
|
require_relative "increase/models/simulations/ach_transfer_acknowledge_params"
|
|
298
297
|
require_relative "increase/models/simulations/ach_transfer_create_notification_of_change_params"
|
|
299
298
|
require_relative "increase/models/simulations/ach_transfer_return_params"
|
|
@@ -418,7 +417,6 @@ require_relative "increase/resources/real_time_payments_transfers"
|
|
|
418
417
|
require_relative "increase/resources/routing_numbers"
|
|
419
418
|
require_relative "increase/resources/simulations"
|
|
420
419
|
require_relative "increase/resources/simulations/account_statements"
|
|
421
|
-
require_relative "increase/resources/simulations/account_transfers"
|
|
422
420
|
require_relative "increase/resources/simulations/ach_transfers"
|
|
423
421
|
require_relative "increase/resources/simulations/card_authentications"
|
|
424
422
|
require_relative "increase/resources/simulations/card_authorization_expirations"
|
|
@@ -27,6 +27,11 @@ module Increase
|
|
|
27
27
|
sig { returns(Time) }
|
|
28
28
|
attr_accessor :created_at
|
|
29
29
|
|
|
30
|
+
# The identifier of the Entity Onboarding Session that was used to create this
|
|
31
|
+
# Entity, if any.
|
|
32
|
+
sig { returns(T.nilable(String)) }
|
|
33
|
+
attr_accessor :creating_entity_onboarding_session_id
|
|
34
|
+
|
|
30
35
|
# The entity's description for display purposes.
|
|
31
36
|
sig { returns(T.nilable(String)) }
|
|
32
37
|
attr_accessor :description
|
|
@@ -149,6 +154,7 @@ module Increase
|
|
|
149
154
|
id: String,
|
|
150
155
|
corporation: T.nilable(Increase::Entity::Corporation::OrHash),
|
|
151
156
|
created_at: Time,
|
|
157
|
+
creating_entity_onboarding_session_id: T.nilable(String),
|
|
152
158
|
description: T.nilable(String),
|
|
153
159
|
details_confirmed_at: T.nilable(Time),
|
|
154
160
|
government_authority:
|
|
@@ -178,6 +184,9 @@ module Increase
|
|
|
178
184
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Entity
|
|
179
185
|
# was created.
|
|
180
186
|
created_at:,
|
|
187
|
+
# The identifier of the Entity Onboarding Session that was used to create this
|
|
188
|
+
# Entity, if any.
|
|
189
|
+
creating_entity_onboarding_session_id:,
|
|
181
190
|
# The entity's description for display purposes.
|
|
182
191
|
description:,
|
|
183
192
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the
|
|
@@ -230,6 +239,7 @@ module Increase
|
|
|
230
239
|
id: String,
|
|
231
240
|
corporation: T.nilable(Increase::Entity::Corporation),
|
|
232
241
|
created_at: Time,
|
|
242
|
+
creating_entity_onboarding_session_id: T.nilable(String),
|
|
233
243
|
description: T.nilable(String),
|
|
234
244
|
details_confirmed_at: T.nilable(Time),
|
|
235
245
|
government_authority:
|
|
@@ -6,9 +6,6 @@ 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
|
-
|
|
12
9
|
sig { returns(Increase::Resources::Simulations::CardAuthorizations) }
|
|
13
10
|
attr_reader :card_authorizations
|
|
14
11
|
|
|
@@ -5,6 +5,7 @@ module Increase
|
|
|
5
5
|
id: String,
|
|
6
6
|
corporation: Increase::Entity::Corporation?,
|
|
7
7
|
created_at: Time,
|
|
8
|
+
creating_entity_onboarding_session_id: String?,
|
|
8
9
|
description: String?,
|
|
9
10
|
details_confirmed_at: Time?,
|
|
10
11
|
government_authority: Increase::Entity::GovernmentAuthority?,
|
|
@@ -29,6 +30,8 @@ module Increase
|
|
|
29
30
|
|
|
30
31
|
attr_accessor created_at: Time
|
|
31
32
|
|
|
33
|
+
attr_accessor creating_entity_onboarding_session_id: String?
|
|
34
|
+
|
|
32
35
|
attr_accessor description: String?
|
|
33
36
|
|
|
34
37
|
attr_accessor details_confirmed_at: Time?
|
|
@@ -63,6 +66,7 @@ module Increase
|
|
|
63
66
|
id: String,
|
|
64
67
|
corporation: Increase::Entity::Corporation?,
|
|
65
68
|
created_at: Time,
|
|
69
|
+
creating_entity_onboarding_session_id: String?,
|
|
66
70
|
description: String?,
|
|
67
71
|
details_confirmed_at: Time?,
|
|
68
72
|
government_authority: Increase::Entity::GovernmentAuthority?,
|
|
@@ -84,6 +88,7 @@ module Increase
|
|
|
84
88
|
id: String,
|
|
85
89
|
corporation: Increase::Entity::Corporation?,
|
|
86
90
|
created_at: Time,
|
|
91
|
+
creating_entity_onboarding_session_id: String?,
|
|
87
92
|
description: String?,
|
|
88
93
|
details_confirmed_at: Time?,
|
|
89
94
|
government_authority: Increase::Entity::GovernmentAuthority?,
|
|
@@ -3,8 +3,6 @@ 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
|
-
|
|
8
6
|
attr_reader card_authorizations: Increase::Resources::Simulations::CardAuthorizations
|
|
9
7
|
|
|
10
8
|
attr_reader card_balance_inquiries: Increase::Resources::Simulations::CardBalanceInquiries
|
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.294.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-04-
|
|
11
|
+
date: 2026-04-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|
|
@@ -323,7 +323,6 @@ files:
|
|
|
323
323
|
- lib/increase/models/routing_number_list_params.rb
|
|
324
324
|
- lib/increase/models/routing_number_list_response.rb
|
|
325
325
|
- lib/increase/models/simulations/account_statement_create_params.rb
|
|
326
|
-
- lib/increase/models/simulations/account_transfer_complete_params.rb
|
|
327
326
|
- lib/increase/models/simulations/ach_transfer_acknowledge_params.rb
|
|
328
327
|
- lib/increase/models/simulations/ach_transfer_create_notification_of_change_params.rb
|
|
329
328
|
- lib/increase/models/simulations/ach_transfer_return_params.rb
|
|
@@ -448,7 +447,6 @@ files:
|
|
|
448
447
|
- lib/increase/resources/routing_numbers.rb
|
|
449
448
|
- lib/increase/resources/simulations.rb
|
|
450
449
|
- lib/increase/resources/simulations/account_statements.rb
|
|
451
|
-
- lib/increase/resources/simulations/account_transfers.rb
|
|
452
450
|
- lib/increase/resources/simulations/ach_transfers.rb
|
|
453
451
|
- lib/increase/resources/simulations/card_authentications.rb
|
|
454
452
|
- lib/increase/resources/simulations/card_authorization_expirations.rb
|
|
@@ -746,7 +744,6 @@ files:
|
|
|
746
744
|
- rbi/increase/models/routing_number_list_params.rbi
|
|
747
745
|
- rbi/increase/models/routing_number_list_response.rbi
|
|
748
746
|
- rbi/increase/models/simulations/account_statement_create_params.rbi
|
|
749
|
-
- rbi/increase/models/simulations/account_transfer_complete_params.rbi
|
|
750
747
|
- rbi/increase/models/simulations/ach_transfer_acknowledge_params.rbi
|
|
751
748
|
- rbi/increase/models/simulations/ach_transfer_create_notification_of_change_params.rbi
|
|
752
749
|
- rbi/increase/models/simulations/ach_transfer_return_params.rbi
|
|
@@ -871,7 +868,6 @@ files:
|
|
|
871
868
|
- rbi/increase/resources/routing_numbers.rbi
|
|
872
869
|
- rbi/increase/resources/simulations.rbi
|
|
873
870
|
- rbi/increase/resources/simulations/account_statements.rbi
|
|
874
|
-
- rbi/increase/resources/simulations/account_transfers.rbi
|
|
875
871
|
- rbi/increase/resources/simulations/ach_transfers.rbi
|
|
876
872
|
- rbi/increase/resources/simulations/card_authentications.rbi
|
|
877
873
|
- rbi/increase/resources/simulations/card_authorization_expirations.rbi
|
|
@@ -1168,7 +1164,6 @@ files:
|
|
|
1168
1164
|
- sig/increase/models/routing_number_list_params.rbs
|
|
1169
1165
|
- sig/increase/models/routing_number_list_response.rbs
|
|
1170
1166
|
- sig/increase/models/simulations/account_statement_create_params.rbs
|
|
1171
|
-
- sig/increase/models/simulations/account_transfer_complete_params.rbs
|
|
1172
1167
|
- sig/increase/models/simulations/ach_transfer_acknowledge_params.rbs
|
|
1173
1168
|
- sig/increase/models/simulations/ach_transfer_create_notification_of_change_params.rbs
|
|
1174
1169
|
- sig/increase/models/simulations/ach_transfer_return_params.rbs
|
|
@@ -1293,7 +1288,6 @@ files:
|
|
|
1293
1288
|
- sig/increase/resources/routing_numbers.rbs
|
|
1294
1289
|
- sig/increase/resources/simulations.rbs
|
|
1295
1290
|
- sig/increase/resources/simulations/account_statements.rbs
|
|
1296
|
-
- sig/increase/resources/simulations/account_transfers.rbs
|
|
1297
1291
|
- sig/increase/resources/simulations/ach_transfers.rbs
|
|
1298
1292
|
- sig/increase/resources/simulations/card_authentications.rbs
|
|
1299
1293
|
- sig/increase/resources/simulations/card_authorization_expirations.rbs
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Increase
|
|
4
|
-
module Models
|
|
5
|
-
module Simulations
|
|
6
|
-
# @see Increase::Resources::Simulations::AccountTransfers#complete
|
|
7
|
-
class AccountTransferCompleteParams < Increase::Internal::Type::BaseModel
|
|
8
|
-
extend Increase::Internal::Type::RequestParameters::Converter
|
|
9
|
-
include Increase::Internal::Type::RequestParameters
|
|
10
|
-
|
|
11
|
-
# @!attribute account_transfer_id
|
|
12
|
-
# The identifier of the Account Transfer you wish to complete.
|
|
13
|
-
#
|
|
14
|
-
# @return [String]
|
|
15
|
-
required :account_transfer_id, String
|
|
16
|
-
|
|
17
|
-
# @!method initialize(account_transfer_id:, request_options: {})
|
|
18
|
-
# @param account_transfer_id [String] The identifier of the Account Transfer you wish to complete.
|
|
19
|
-
#
|
|
20
|
-
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
21
|
-
end
|
|
22
|
-
end
|
|
23
|
-
end
|
|
24
|
-
end
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Increase
|
|
4
|
-
module Resources
|
|
5
|
-
class Simulations
|
|
6
|
-
class AccountTransfers
|
|
7
|
-
# If your account is configured to require approval for each transfer, this
|
|
8
|
-
# endpoint simulates the approval of an [Account Transfer](#account-transfers).
|
|
9
|
-
# You can also approve sandbox Account Transfers in the dashboard. This transfer
|
|
10
|
-
# must first have a `status` of `pending_approval`.
|
|
11
|
-
#
|
|
12
|
-
# @overload complete(account_transfer_id, request_options: {})
|
|
13
|
-
#
|
|
14
|
-
# @param account_transfer_id [String] The identifier of the Account Transfer you wish to complete.
|
|
15
|
-
#
|
|
16
|
-
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
17
|
-
#
|
|
18
|
-
# @return [Increase::Models::AccountTransfer]
|
|
19
|
-
#
|
|
20
|
-
# @see Increase::Models::Simulations::AccountTransferCompleteParams
|
|
21
|
-
def complete(account_transfer_id, params = {})
|
|
22
|
-
@client.request(
|
|
23
|
-
method: :post,
|
|
24
|
-
path: ["simulations/account_transfers/%1$s/complete", account_transfer_id],
|
|
25
|
-
model: Increase::AccountTransfer,
|
|
26
|
-
options: params[:request_options]
|
|
27
|
-
)
|
|
28
|
-
end
|
|
29
|
-
|
|
30
|
-
# @api private
|
|
31
|
-
#
|
|
32
|
-
# @param client [Increase::Client]
|
|
33
|
-
def initialize(client:)
|
|
34
|
-
@client = client
|
|
35
|
-
end
|
|
36
|
-
end
|
|
37
|
-
end
|
|
38
|
-
end
|
|
39
|
-
end
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
# typed: strong
|
|
2
|
-
|
|
3
|
-
module Increase
|
|
4
|
-
module Models
|
|
5
|
-
module Simulations
|
|
6
|
-
class AccountTransferCompleteParams < Increase::Internal::Type::BaseModel
|
|
7
|
-
extend Increase::Internal::Type::RequestParameters::Converter
|
|
8
|
-
include Increase::Internal::Type::RequestParameters
|
|
9
|
-
|
|
10
|
-
OrHash =
|
|
11
|
-
T.type_alias do
|
|
12
|
-
T.any(
|
|
13
|
-
Increase::Simulations::AccountTransferCompleteParams,
|
|
14
|
-
Increase::Internal::AnyHash
|
|
15
|
-
)
|
|
16
|
-
end
|
|
17
|
-
|
|
18
|
-
# The identifier of the Account Transfer you wish to complete.
|
|
19
|
-
sig { returns(String) }
|
|
20
|
-
attr_accessor :account_transfer_id
|
|
21
|
-
|
|
22
|
-
sig do
|
|
23
|
-
params(
|
|
24
|
-
account_transfer_id: String,
|
|
25
|
-
request_options: Increase::RequestOptions::OrHash
|
|
26
|
-
).returns(T.attached_class)
|
|
27
|
-
end
|
|
28
|
-
def self.new(
|
|
29
|
-
# The identifier of the Account Transfer you wish to complete.
|
|
30
|
-
account_transfer_id:,
|
|
31
|
-
request_options: {}
|
|
32
|
-
)
|
|
33
|
-
end
|
|
34
|
-
|
|
35
|
-
sig do
|
|
36
|
-
override.returns(
|
|
37
|
-
{
|
|
38
|
-
account_transfer_id: String,
|
|
39
|
-
request_options: Increase::RequestOptions
|
|
40
|
-
}
|
|
41
|
-
)
|
|
42
|
-
end
|
|
43
|
-
def to_hash
|
|
44
|
-
end
|
|
45
|
-
end
|
|
46
|
-
end
|
|
47
|
-
end
|
|
48
|
-
end
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# typed: strong
|
|
2
|
-
|
|
3
|
-
module Increase
|
|
4
|
-
module Resources
|
|
5
|
-
class Simulations
|
|
6
|
-
class AccountTransfers
|
|
7
|
-
# If your account is configured to require approval for each transfer, this
|
|
8
|
-
# endpoint simulates the approval of an [Account Transfer](#account-transfers).
|
|
9
|
-
# You can also approve sandbox Account Transfers in the dashboard. This transfer
|
|
10
|
-
# must first have a `status` of `pending_approval`.
|
|
11
|
-
sig do
|
|
12
|
-
params(
|
|
13
|
-
account_transfer_id: String,
|
|
14
|
-
request_options: Increase::RequestOptions::OrHash
|
|
15
|
-
).returns(Increase::AccountTransfer)
|
|
16
|
-
end
|
|
17
|
-
def complete(
|
|
18
|
-
# The identifier of the Account Transfer you wish to complete.
|
|
19
|
-
account_transfer_id,
|
|
20
|
-
request_options: {}
|
|
21
|
-
)
|
|
22
|
-
end
|
|
23
|
-
|
|
24
|
-
# @api private
|
|
25
|
-
sig { params(client: Increase::Client).returns(T.attached_class) }
|
|
26
|
-
def self.new(client:)
|
|
27
|
-
end
|
|
28
|
-
end
|
|
29
|
-
end
|
|
30
|
-
end
|
|
31
|
-
end
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
module Increase
|
|
2
|
-
module Models
|
|
3
|
-
module Simulations
|
|
4
|
-
type account_transfer_complete_params =
|
|
5
|
-
{ account_transfer_id: String }
|
|
6
|
-
& Increase::Internal::Type::request_parameters
|
|
7
|
-
|
|
8
|
-
class AccountTransferCompleteParams < Increase::Internal::Type::BaseModel
|
|
9
|
-
extend Increase::Internal::Type::RequestParameters::Converter
|
|
10
|
-
include Increase::Internal::Type::RequestParameters
|
|
11
|
-
|
|
12
|
-
attr_accessor account_transfer_id: String
|
|
13
|
-
|
|
14
|
-
def initialize: (
|
|
15
|
-
account_transfer_id: String,
|
|
16
|
-
?request_options: Increase::request_opts
|
|
17
|
-
) -> void
|
|
18
|
-
|
|
19
|
-
def to_hash: -> {
|
|
20
|
-
account_transfer_id: String,
|
|
21
|
-
request_options: Increase::RequestOptions
|
|
22
|
-
}
|
|
23
|
-
end
|
|
24
|
-
end
|
|
25
|
-
end
|
|
26
|
-
end
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
module Increase
|
|
2
|
-
module Resources
|
|
3
|
-
class Simulations
|
|
4
|
-
class AccountTransfers
|
|
5
|
-
def complete: (
|
|
6
|
-
String account_transfer_id,
|
|
7
|
-
?request_options: Increase::request_opts
|
|
8
|
-
) -> Increase::AccountTransfer
|
|
9
|
-
|
|
10
|
-
def initialize: (client: Increase::Client) -> void
|
|
11
|
-
end
|
|
12
|
-
end
|
|
13
|
-
end
|
|
14
|
-
end
|