increase 1.46.0 → 1.48.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 +21 -0
- data/README.md +1 -1
- data/lib/increase/internal/type/base_model.rb +2 -2
- data/lib/increase/models/account.rb +13 -3
- data/lib/increase/models/simulations/wire_drawdown_request_submit_params.rb +16 -0
- data/lib/increase/resources/simulations/wire_drawdown_requests.rb +20 -0
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +1 -0
- data/rbi/increase/models/account.rbi +14 -2
- data/rbi/increase/models/simulations/wire_drawdown_request_submit_params.rbi +32 -0
- data/rbi/increase/resources/simulations/wire_drawdown_requests.rbi +14 -0
- data/sig/increase/models/account.rbs +5 -0
- data/sig/increase/models/simulations/wire_drawdown_request_submit_params.rbs +17 -0
- data/sig/increase/resources/simulations/wire_drawdown_requests.rbs +5 -0
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7997a5c9e1e534a698cfc7be447203aec7f799a8416de5904202e68beafbaad9
|
4
|
+
data.tar.gz: 294d1eb074de91102e8a08ab52c556682cdc5a7a060991905e98f4e55c9b3fbf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58b1d8467b92139c80ce57d3a79811bab223b2bcc22e2a7e4463e38ab84889f26d9a5bf6b11a101a562d804e66a5938a7c19300d08dc03a6abf7cf92bf0cb377
|
7
|
+
data.tar.gz: 8f4cbd22ddfc19a61430b150ba6d2a01203c00581535c91bfb7acf7befaec77eee9e2ae029bda8f4ffb700041dd25986b06939755ce780273a42f0392d7a36cd
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 1.48.0 (2025-08-25)
|
4
|
+
|
5
|
+
Full Changelog: [v1.47.0...v1.48.0](https://github.com/Increase/increase-ruby/compare/v1.47.0...v1.48.0)
|
6
|
+
|
7
|
+
### Features
|
8
|
+
|
9
|
+
* **api:** api update ([5bf108b](https://github.com/Increase/increase-ruby/commit/5bf108b6bb1dfa41a6d2e0e981edd099ffb13ef6))
|
10
|
+
|
11
|
+
|
12
|
+
### Chores
|
13
|
+
|
14
|
+
* add json schema comment for rubocop.yml ([aabb92c](https://github.com/Increase/increase-ruby/commit/aabb92ccae37972783253afb3506ff429cbedfb5))
|
15
|
+
|
16
|
+
## 1.47.0 (2025-08-22)
|
17
|
+
|
18
|
+
Full Changelog: [v1.46.0...v1.47.0](https://github.com/Increase/increase-ruby/compare/v1.46.0...v1.47.0)
|
19
|
+
|
20
|
+
### Features
|
21
|
+
|
22
|
+
* **api:** api update ([bde025b](https://github.com/Increase/increase-ruby/commit/bde025b5a1b255929e2a409fd6581d2db4f0ffe0))
|
23
|
+
|
3
24
|
## 1.46.0 (2025-08-22)
|
4
25
|
|
5
26
|
Full Changelog: [v1.45.0...v1.46.0](https://github.com/Increase/increase-ruby/compare/v1.45.0...v1.46.0)
|
data/README.md
CHANGED
@@ -441,8 +441,8 @@ module Increase
|
|
441
441
|
# # `account` is a `Increase::Account`
|
442
442
|
# account => {
|
443
443
|
# id: id,
|
444
|
-
#
|
445
|
-
#
|
444
|
+
# account_revenue_rate: account_revenue_rate,
|
445
|
+
# bank: bank
|
446
446
|
# }
|
447
447
|
def deconstruct_keys(keys)
|
448
448
|
(keys || self.class.known_fields.keys)
|
@@ -10,6 +10,14 @@ module Increase
|
|
10
10
|
# @return [String]
|
11
11
|
required :id, String
|
12
12
|
|
13
|
+
# @!attribute account_revenue_rate
|
14
|
+
# The account revenue rate currently being earned on the account, as a string
|
15
|
+
# containing a decimal number. For example, a 1% account revenue rate would be
|
16
|
+
# represented as "0.01".
|
17
|
+
#
|
18
|
+
# @return [String, nil]
|
19
|
+
required :account_revenue_rate, String, nil?: true
|
20
|
+
|
13
21
|
# @!attribute bank
|
14
22
|
# The bank the Account is with.
|
15
23
|
#
|
@@ -73,7 +81,7 @@ module Increase
|
|
73
81
|
required :interest_accrued_at, Date, nil?: true
|
74
82
|
|
75
83
|
# @!attribute interest_rate
|
76
|
-
# The
|
84
|
+
# The interest rate currently being earned on the account, as a string containing
|
77
85
|
# a decimal number. For example, a 1% interest rate would be represented as
|
78
86
|
# "0.01".
|
79
87
|
#
|
@@ -106,7 +114,7 @@ module Increase
|
|
106
114
|
# @return [Symbol, Increase::Models::Account::Type]
|
107
115
|
required :type, enum: -> { Increase::Account::Type }
|
108
116
|
|
109
|
-
# @!method initialize(id:, bank:, closed_at:, created_at:, currency:, entity_id:, idempotency_key:, informational_entity_id:, interest_accrued:, interest_accrued_at:, interest_rate:, name:, program_id:, status:, type:)
|
117
|
+
# @!method initialize(id:, account_revenue_rate:, bank:, closed_at:, created_at:, currency:, entity_id:, idempotency_key:, informational_entity_id:, interest_accrued:, interest_accrued_at:, interest_rate:, name:, program_id:, status:, type:)
|
110
118
|
# Some parameter documentations has been truncated, see
|
111
119
|
# {Increase::Models::Account} for more details.
|
112
120
|
#
|
@@ -115,6 +123,8 @@ module Increase
|
|
115
123
|
#
|
116
124
|
# @param id [String] The Account identifier.
|
117
125
|
#
|
126
|
+
# @param account_revenue_rate [String, nil] The account revenue rate currently being earned on the account, as a string cont
|
127
|
+
#
|
118
128
|
# @param bank [Symbol, Increase::Models::Account::Bank] The bank the Account is with.
|
119
129
|
#
|
120
130
|
# @param closed_at [Time, nil] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Account
|
@@ -133,7 +143,7 @@ module Increase
|
|
133
143
|
#
|
134
144
|
# @param interest_accrued_at [Date, nil] The latest [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which inte
|
135
145
|
#
|
136
|
-
# @param interest_rate [String] The
|
146
|
+
# @param interest_rate [String] The interest rate currently being earned on the account, as a string containing
|
137
147
|
#
|
138
148
|
# @param name [String] The name you choose for the Account.
|
139
149
|
#
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Increase
|
4
|
+
module Models
|
5
|
+
module Simulations
|
6
|
+
# @see Increase::Resources::Simulations::WireDrawdownRequests#submit
|
7
|
+
class WireDrawdownRequestSubmitParams < Increase::Internal::Type::BaseModel
|
8
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
9
|
+
include Increase::Internal::Type::RequestParameters
|
10
|
+
|
11
|
+
# @!method initialize(request_options: {})
|
12
|
+
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
@@ -24,6 +24,26 @@ module Increase
|
|
24
24
|
)
|
25
25
|
end
|
26
26
|
|
27
|
+
# Simulates a Wire Drawdown Request being submitted to Fedwire.
|
28
|
+
#
|
29
|
+
# @overload submit(wire_drawdown_request_id, request_options: {})
|
30
|
+
#
|
31
|
+
# @param wire_drawdown_request_id [String] The identifier of the Wire Drawdown Request you wish to submit.
|
32
|
+
#
|
33
|
+
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
|
34
|
+
#
|
35
|
+
# @return [Increase::Models::WireDrawdownRequest]
|
36
|
+
#
|
37
|
+
# @see Increase::Models::Simulations::WireDrawdownRequestSubmitParams
|
38
|
+
def submit(wire_drawdown_request_id, params = {})
|
39
|
+
@client.request(
|
40
|
+
method: :post,
|
41
|
+
path: ["simulations/wire_drawdown_requests/%1$s/submit", wire_drawdown_request_id],
|
42
|
+
model: Increase::WireDrawdownRequest,
|
43
|
+
options: params[:request_options]
|
44
|
+
)
|
45
|
+
end
|
46
|
+
|
27
47
|
# @api private
|
28
48
|
#
|
29
49
|
# @param client [Increase::Client]
|
data/lib/increase/version.rb
CHANGED
data/lib/increase.rb
CHANGED
@@ -311,6 +311,7 @@ require_relative "increase/models/simulations/physical_card_tracking_updates_par
|
|
311
311
|
require_relative "increase/models/simulations/program_create_params"
|
312
312
|
require_relative "increase/models/simulations/real_time_payments_transfer_complete_params"
|
313
313
|
require_relative "increase/models/simulations/wire_drawdown_request_refuse_params"
|
314
|
+
require_relative "increase/models/simulations/wire_drawdown_request_submit_params"
|
314
315
|
require_relative "increase/models/simulations/wire_transfer_reverse_params"
|
315
316
|
require_relative "increase/models/simulations/wire_transfer_submit_params"
|
316
317
|
require_relative "increase/models/supplemental_document_create_params"
|
@@ -10,6 +10,12 @@ module Increase
|
|
10
10
|
sig { returns(String) }
|
11
11
|
attr_accessor :id
|
12
12
|
|
13
|
+
# The account revenue rate currently being earned on the account, as a string
|
14
|
+
# containing a decimal number. For example, a 1% account revenue rate would be
|
15
|
+
# represented as "0.01".
|
16
|
+
sig { returns(T.nilable(String)) }
|
17
|
+
attr_accessor :account_revenue_rate
|
18
|
+
|
13
19
|
# The bank the Account is with.
|
14
20
|
sig { returns(Increase::Account::Bank::TaggedSymbol) }
|
15
21
|
attr_accessor :bank
|
@@ -54,7 +60,7 @@ module Increase
|
|
54
60
|
sig { returns(T.nilable(Date)) }
|
55
61
|
attr_accessor :interest_accrued_at
|
56
62
|
|
57
|
-
# The
|
63
|
+
# The interest rate currently being earned on the account, as a string containing
|
58
64
|
# a decimal number. For example, a 1% interest rate would be represented as
|
59
65
|
# "0.01".
|
60
66
|
sig { returns(String) }
|
@@ -83,6 +89,7 @@ module Increase
|
|
83
89
|
sig do
|
84
90
|
params(
|
85
91
|
id: String,
|
92
|
+
account_revenue_rate: T.nilable(String),
|
86
93
|
bank: Increase::Account::Bank::OrSymbol,
|
87
94
|
closed_at: T.nilable(Time),
|
88
95
|
created_at: Time,
|
@@ -102,6 +109,10 @@ module Increase
|
|
102
109
|
def self.new(
|
103
110
|
# The Account identifier.
|
104
111
|
id:,
|
112
|
+
# The account revenue rate currently being earned on the account, as a string
|
113
|
+
# containing a decimal number. For example, a 1% account revenue rate would be
|
114
|
+
# represented as "0.01".
|
115
|
+
account_revenue_rate:,
|
105
116
|
# The bank the Account is with.
|
106
117
|
bank:,
|
107
118
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Account
|
@@ -128,7 +139,7 @@ module Increase
|
|
128
139
|
# The latest [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which
|
129
140
|
# interest was accrued.
|
130
141
|
interest_accrued_at:,
|
131
|
-
# The
|
142
|
+
# The interest rate currently being earned on the account, as a string containing
|
132
143
|
# a decimal number. For example, a 1% interest rate would be represented as
|
133
144
|
# "0.01".
|
134
145
|
interest_rate:,
|
@@ -149,6 +160,7 @@ module Increase
|
|
149
160
|
override.returns(
|
150
161
|
{
|
151
162
|
id: String,
|
163
|
+
account_revenue_rate: T.nilable(String),
|
152
164
|
bank: Increase::Account::Bank::TaggedSymbol,
|
153
165
|
closed_at: T.nilable(Time),
|
154
166
|
created_at: Time,
|
@@ -0,0 +1,32 @@
|
|
1
|
+
# typed: strong
|
2
|
+
|
3
|
+
module Increase
|
4
|
+
module Models
|
5
|
+
module Simulations
|
6
|
+
class WireDrawdownRequestSubmitParams < 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::WireDrawdownRequestSubmitParams,
|
14
|
+
Increase::Internal::AnyHash
|
15
|
+
)
|
16
|
+
end
|
17
|
+
|
18
|
+
sig do
|
19
|
+
params(request_options: Increase::RequestOptions::OrHash).returns(
|
20
|
+
T.attached_class
|
21
|
+
)
|
22
|
+
end
|
23
|
+
def self.new(request_options: {})
|
24
|
+
end
|
25
|
+
|
26
|
+
sig { override.returns({ request_options: Increase::RequestOptions }) }
|
27
|
+
def to_hash
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
@@ -18,6 +18,20 @@ module Increase
|
|
18
18
|
)
|
19
19
|
end
|
20
20
|
|
21
|
+
# Simulates a Wire Drawdown Request being submitted to Fedwire.
|
22
|
+
sig do
|
23
|
+
params(
|
24
|
+
wire_drawdown_request_id: String,
|
25
|
+
request_options: Increase::RequestOptions::OrHash
|
26
|
+
).returns(Increase::WireDrawdownRequest)
|
27
|
+
end
|
28
|
+
def submit(
|
29
|
+
# The identifier of the Wire Drawdown Request you wish to submit.
|
30
|
+
wire_drawdown_request_id,
|
31
|
+
request_options: {}
|
32
|
+
)
|
33
|
+
end
|
34
|
+
|
21
35
|
# @api private
|
22
36
|
sig { params(client: Increase::Client).returns(T.attached_class) }
|
23
37
|
def self.new(client:)
|
@@ -3,6 +3,7 @@ module Increase
|
|
3
3
|
type account =
|
4
4
|
{
|
5
5
|
id: String,
|
6
|
+
account_revenue_rate: String?,
|
6
7
|
bank: Increase::Models::Account::bank,
|
7
8
|
closed_at: Time?,
|
8
9
|
created_at: Time,
|
@@ -22,6 +23,8 @@ module Increase
|
|
22
23
|
class Account < Increase::Internal::Type::BaseModel
|
23
24
|
attr_accessor id: String
|
24
25
|
|
26
|
+
attr_accessor account_revenue_rate: String?
|
27
|
+
|
25
28
|
attr_accessor bank: Increase::Models::Account::bank
|
26
29
|
|
27
30
|
attr_accessor closed_at: Time?
|
@@ -52,6 +55,7 @@ module Increase
|
|
52
55
|
|
53
56
|
def initialize: (
|
54
57
|
id: String,
|
58
|
+
account_revenue_rate: String?,
|
55
59
|
bank: Increase::Models::Account::bank,
|
56
60
|
closed_at: Time?,
|
57
61
|
created_at: Time,
|
@@ -70,6 +74,7 @@ module Increase
|
|
70
74
|
|
71
75
|
def to_hash: -> {
|
72
76
|
id: String,
|
77
|
+
account_revenue_rate: String?,
|
73
78
|
bank: Increase::Models::Account::bank,
|
74
79
|
closed_at: Time?,
|
75
80
|
created_at: Time,
|
@@ -0,0 +1,17 @@
|
|
1
|
+
module Increase
|
2
|
+
module Models
|
3
|
+
module Simulations
|
4
|
+
type wire_drawdown_request_submit_params =
|
5
|
+
{ } & Increase::Internal::Type::request_parameters
|
6
|
+
|
7
|
+
class WireDrawdownRequestSubmitParams < Increase::Internal::Type::BaseModel
|
8
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
9
|
+
include Increase::Internal::Type::RequestParameters
|
10
|
+
|
11
|
+
def initialize: (?request_options: Increase::request_opts) -> void
|
12
|
+
|
13
|
+
def to_hash: -> { request_options: Increase::RequestOptions }
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -7,6 +7,11 @@ module Increase
|
|
7
7
|
?request_options: Increase::request_opts
|
8
8
|
) -> Increase::WireDrawdownRequest
|
9
9
|
|
10
|
+
def submit: (
|
11
|
+
String wire_drawdown_request_id,
|
12
|
+
?request_options: Increase::request_opts
|
13
|
+
) -> Increase::WireDrawdownRequest
|
14
|
+
|
10
15
|
def initialize: (client: Increase::Client) -> void
|
11
16
|
end
|
12
17
|
end
|
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.48.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Increase
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-08-
|
11
|
+
date: 2025-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: connection_pool
|
@@ -316,6 +316,7 @@ files:
|
|
316
316
|
- lib/increase/models/simulations/program_create_params.rb
|
317
317
|
- lib/increase/models/simulations/real_time_payments_transfer_complete_params.rb
|
318
318
|
- lib/increase/models/simulations/wire_drawdown_request_refuse_params.rb
|
319
|
+
- lib/increase/models/simulations/wire_drawdown_request_submit_params.rb
|
319
320
|
- lib/increase/models/simulations/wire_transfer_reverse_params.rb
|
320
321
|
- lib/increase/models/simulations/wire_transfer_submit_params.rb
|
321
322
|
- lib/increase/models/supplemental_document_create_params.rb
|
@@ -700,6 +701,7 @@ files:
|
|
700
701
|
- rbi/increase/models/simulations/program_create_params.rbi
|
701
702
|
- rbi/increase/models/simulations/real_time_payments_transfer_complete_params.rbi
|
702
703
|
- rbi/increase/models/simulations/wire_drawdown_request_refuse_params.rbi
|
704
|
+
- rbi/increase/models/simulations/wire_drawdown_request_submit_params.rbi
|
703
705
|
- rbi/increase/models/simulations/wire_transfer_reverse_params.rbi
|
704
706
|
- rbi/increase/models/simulations/wire_transfer_submit_params.rbi
|
705
707
|
- rbi/increase/models/supplemental_document_create_params.rbi
|
@@ -1083,6 +1085,7 @@ files:
|
|
1083
1085
|
- sig/increase/models/simulations/program_create_params.rbs
|
1084
1086
|
- sig/increase/models/simulations/real_time_payments_transfer_complete_params.rbs
|
1085
1087
|
- sig/increase/models/simulations/wire_drawdown_request_refuse_params.rbs
|
1088
|
+
- sig/increase/models/simulations/wire_drawdown_request_submit_params.rbs
|
1086
1089
|
- sig/increase/models/simulations/wire_transfer_reverse_params.rbs
|
1087
1090
|
- sig/increase/models/simulations/wire_transfer_submit_params.rbs
|
1088
1091
|
- sig/increase/models/supplemental_document_create_params.rbs
|