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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9272f228d3e02ecc716d64cd4706f3f8c8a5b2f9fcc08f1e6a565612fbd0c931
4
- data.tar.gz: bb171a176040acbc7b9d3b06f5db0e0a30f9ba4f9429b629d937b142d24e1292
3
+ metadata.gz: 15c84e9660ac620298c4089187696da8e3ddb9febbe727457b71d907dd6fbc43
4
+ data.tar.gz: 73bbbc122747b9ee71d55a910840f22049e99ee7cf99432ed3f7cdea6ef73af4
5
5
  SHA512:
6
- metadata.gz: 9badfb5ae5ccf34fb49b2fcc38d183a7483d2762db4ae1a29fc4fd83c6274b0415ef1e14705c3b36698bb731515374d766c4d39da6076a6f18b72931c7401ad2
7
- data.tar.gz: 3ca9e68fdab25220c420cc577d25e566f801c53c30ae90a99c615fa2d6aeea5831fb73ef2b9cc006cdeb7de8f8b827aacdbe25e0056346eeeebb2beefbe7e2b0
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
@@ -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.46.0"
18
+ gem "increase", "~> 1.47.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -441,8 +441,8 @@ module Increase
441
441
  # # `account` is a `Increase::Account`
442
442
  # account => {
443
443
  # id: id,
444
- # bank: bank,
445
- # closed_at: closed_at
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 Interest Rate currently being earned on the account, as a string containing
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 Interest Rate currently being earned on the account, as a string containing
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
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.46.0"
4
+ VERSION = "1.47.0"
5
5
  end
@@ -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 Interest Rate currently being earned on the account, as a string containing
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 Interest Rate currently being earned on the account, as a string containing
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,
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.46.0
4
+ version: 1.47.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase