increase 1.293.0 → 1.295.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/simulations/card_purchase_supplement_create_params.rb +214 -0
- data/lib/increase/resources/simulations/card_purchase_supplements.rb +48 -0
- data/lib/increase/resources/simulations.rb +5 -4
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +2 -2
- data/rbi/increase/models/simulations/card_purchase_supplement_create_params.rbi +381 -0
- data/rbi/increase/resources/simulations/card_purchase_supplements.rbi +41 -0
- data/rbi/increase/resources/simulations.rbi +3 -3
- data/sig/increase/models/simulations/card_purchase_supplement_create_params.rbs +210 -0
- data/sig/increase/resources/simulations/card_purchase_supplements.rbs +16 -0
- data/sig/increase/resources/simulations.rbs +2 -2
- metadata +7 -7
- 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
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.
|
|
4
|
+
version: 1.295.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Increase
|
|
@@ -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
|
|
@@ -339,6 +338,7 @@ files:
|
|
|
339
338
|
- lib/increase/models/simulations/card_dispute_action_params.rb
|
|
340
339
|
- lib/increase/models/simulations/card_fuel_confirmation_create_params.rb
|
|
341
340
|
- lib/increase/models/simulations/card_increment_create_params.rb
|
|
341
|
+
- lib/increase/models/simulations/card_purchase_supplement_create_params.rb
|
|
342
342
|
- lib/increase/models/simulations/card_refund_create_params.rb
|
|
343
343
|
- lib/increase/models/simulations/card_reversal_create_params.rb
|
|
344
344
|
- lib/increase/models/simulations/card_settlement_create_params.rb
|
|
@@ -448,7 +448,6 @@ files:
|
|
|
448
448
|
- lib/increase/resources/routing_numbers.rb
|
|
449
449
|
- lib/increase/resources/simulations.rb
|
|
450
450
|
- lib/increase/resources/simulations/account_statements.rb
|
|
451
|
-
- lib/increase/resources/simulations/account_transfers.rb
|
|
452
451
|
- lib/increase/resources/simulations/ach_transfers.rb
|
|
453
452
|
- lib/increase/resources/simulations/card_authentications.rb
|
|
454
453
|
- lib/increase/resources/simulations/card_authorization_expirations.rb
|
|
@@ -457,6 +456,7 @@ files:
|
|
|
457
456
|
- lib/increase/resources/simulations/card_disputes.rb
|
|
458
457
|
- lib/increase/resources/simulations/card_fuel_confirmations.rb
|
|
459
458
|
- lib/increase/resources/simulations/card_increments.rb
|
|
459
|
+
- lib/increase/resources/simulations/card_purchase_supplements.rb
|
|
460
460
|
- lib/increase/resources/simulations/card_refunds.rb
|
|
461
461
|
- lib/increase/resources/simulations/card_reversals.rb
|
|
462
462
|
- lib/increase/resources/simulations/card_settlements.rb
|
|
@@ -746,7 +746,6 @@ files:
|
|
|
746
746
|
- rbi/increase/models/routing_number_list_params.rbi
|
|
747
747
|
- rbi/increase/models/routing_number_list_response.rbi
|
|
748
748
|
- rbi/increase/models/simulations/account_statement_create_params.rbi
|
|
749
|
-
- rbi/increase/models/simulations/account_transfer_complete_params.rbi
|
|
750
749
|
- rbi/increase/models/simulations/ach_transfer_acknowledge_params.rbi
|
|
751
750
|
- rbi/increase/models/simulations/ach_transfer_create_notification_of_change_params.rbi
|
|
752
751
|
- rbi/increase/models/simulations/ach_transfer_return_params.rbi
|
|
@@ -762,6 +761,7 @@ files:
|
|
|
762
761
|
- rbi/increase/models/simulations/card_dispute_action_params.rbi
|
|
763
762
|
- rbi/increase/models/simulations/card_fuel_confirmation_create_params.rbi
|
|
764
763
|
- rbi/increase/models/simulations/card_increment_create_params.rbi
|
|
764
|
+
- rbi/increase/models/simulations/card_purchase_supplement_create_params.rbi
|
|
765
765
|
- rbi/increase/models/simulations/card_refund_create_params.rbi
|
|
766
766
|
- rbi/increase/models/simulations/card_reversal_create_params.rbi
|
|
767
767
|
- rbi/increase/models/simulations/card_settlement_create_params.rbi
|
|
@@ -871,7 +871,6 @@ files:
|
|
|
871
871
|
- rbi/increase/resources/routing_numbers.rbi
|
|
872
872
|
- rbi/increase/resources/simulations.rbi
|
|
873
873
|
- rbi/increase/resources/simulations/account_statements.rbi
|
|
874
|
-
- rbi/increase/resources/simulations/account_transfers.rbi
|
|
875
874
|
- rbi/increase/resources/simulations/ach_transfers.rbi
|
|
876
875
|
- rbi/increase/resources/simulations/card_authentications.rbi
|
|
877
876
|
- rbi/increase/resources/simulations/card_authorization_expirations.rbi
|
|
@@ -880,6 +879,7 @@ files:
|
|
|
880
879
|
- rbi/increase/resources/simulations/card_disputes.rbi
|
|
881
880
|
- rbi/increase/resources/simulations/card_fuel_confirmations.rbi
|
|
882
881
|
- rbi/increase/resources/simulations/card_increments.rbi
|
|
882
|
+
- rbi/increase/resources/simulations/card_purchase_supplements.rbi
|
|
883
883
|
- rbi/increase/resources/simulations/card_refunds.rbi
|
|
884
884
|
- rbi/increase/resources/simulations/card_reversals.rbi
|
|
885
885
|
- rbi/increase/resources/simulations/card_settlements.rbi
|
|
@@ -1168,7 +1168,6 @@ files:
|
|
|
1168
1168
|
- sig/increase/models/routing_number_list_params.rbs
|
|
1169
1169
|
- sig/increase/models/routing_number_list_response.rbs
|
|
1170
1170
|
- sig/increase/models/simulations/account_statement_create_params.rbs
|
|
1171
|
-
- sig/increase/models/simulations/account_transfer_complete_params.rbs
|
|
1172
1171
|
- sig/increase/models/simulations/ach_transfer_acknowledge_params.rbs
|
|
1173
1172
|
- sig/increase/models/simulations/ach_transfer_create_notification_of_change_params.rbs
|
|
1174
1173
|
- sig/increase/models/simulations/ach_transfer_return_params.rbs
|
|
@@ -1184,6 +1183,7 @@ files:
|
|
|
1184
1183
|
- sig/increase/models/simulations/card_dispute_action_params.rbs
|
|
1185
1184
|
- sig/increase/models/simulations/card_fuel_confirmation_create_params.rbs
|
|
1186
1185
|
- sig/increase/models/simulations/card_increment_create_params.rbs
|
|
1186
|
+
- sig/increase/models/simulations/card_purchase_supplement_create_params.rbs
|
|
1187
1187
|
- sig/increase/models/simulations/card_refund_create_params.rbs
|
|
1188
1188
|
- sig/increase/models/simulations/card_reversal_create_params.rbs
|
|
1189
1189
|
- sig/increase/models/simulations/card_settlement_create_params.rbs
|
|
@@ -1293,7 +1293,6 @@ files:
|
|
|
1293
1293
|
- sig/increase/resources/routing_numbers.rbs
|
|
1294
1294
|
- sig/increase/resources/simulations.rbs
|
|
1295
1295
|
- sig/increase/resources/simulations/account_statements.rbs
|
|
1296
|
-
- sig/increase/resources/simulations/account_transfers.rbs
|
|
1297
1296
|
- sig/increase/resources/simulations/ach_transfers.rbs
|
|
1298
1297
|
- sig/increase/resources/simulations/card_authentications.rbs
|
|
1299
1298
|
- sig/increase/resources/simulations/card_authorization_expirations.rbs
|
|
@@ -1302,6 +1301,7 @@ files:
|
|
|
1302
1301
|
- sig/increase/resources/simulations/card_disputes.rbs
|
|
1303
1302
|
- sig/increase/resources/simulations/card_fuel_confirmations.rbs
|
|
1304
1303
|
- sig/increase/resources/simulations/card_increments.rbs
|
|
1304
|
+
- sig/increase/resources/simulations/card_purchase_supplements.rbs
|
|
1305
1305
|
- sig/increase/resources/simulations/card_refunds.rbs
|
|
1306
1306
|
- sig/increase/resources/simulations/card_reversals.rbs
|
|
1307
1307
|
- sig/increase/resources/simulations/card_settlements.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
|