increase 1.46.0 → 1.47.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 +8 -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/version.rb +1 -1
- data/rbi/increase/models/account.rbi +14 -2
- data/sig/increase/models/account.rbs +5 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15c84e9660ac620298c4089187696da8e3ddb9febbe727457b71d907dd6fbc43
|
4
|
+
data.tar.gz: 73bbbc122747b9ee71d55a910840f22049e99ee7cf99432ed3f7cdea6ef73af4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 64fbc4e603956e12c5fe3187f544135174fb279718e75956aa39b44ef39c31de3cccd6c6e51519e3d65f97026d7c892ae8b5de42d5415d3311d28cac444e61fd
|
7
|
+
data.tar.gz: e6950f39c4f83508456af1ba66ceec1713afeaa2ec727b9772c05a18d96d2f9d3459022446a1b0a12b12a6a7839fff1dac03954f87f7dc24652653a2ec8b7367
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 1.47.0 (2025-08-22)
|
4
|
+
|
5
|
+
Full Changelog: [v1.46.0...v1.47.0](https://github.com/Increase/increase-ruby/compare/v1.46.0...v1.47.0)
|
6
|
+
|
7
|
+
### Features
|
8
|
+
|
9
|
+
* **api:** api update ([bde025b](https://github.com/Increase/increase-ruby/commit/bde025b5a1b255929e2a409fd6581d2db4f0ffe0))
|
10
|
+
|
3
11
|
## 1.46.0 (2025-08-22)
|
4
12
|
|
5
13
|
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
|
#
|
data/lib/increase/version.rb
CHANGED
@@ -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,
|
@@ -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,
|