increase 1.125.0 → 1.126.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: 800b71d50e8ec6171f00dd0df896fdd3155d1c1c2008755a3bc9c733980fd01c
4
- data.tar.gz: af44d8791175cbef117b55bd83390472bdd49445758721278deaa6285925d80c
3
+ metadata.gz: 9f6806c92bc5ac71203b263c3be8975da68f09f50aa0262e1887872cbe8495ff
4
+ data.tar.gz: b9c32f16982a76dcc4f6e1e87ab45e547e41419958acfe56990641803b64bb1e
5
5
  SHA512:
6
- metadata.gz: 2da92c0620948e1cde9360302c0ab5c566662f2aa2d1a3c3ff249ad3a92e3f488ef356540bd9c88f3e3712f9ee55c176bc42c276986a4d9dbfe5e7b9395451c6
7
- data.tar.gz: 280ce22a240293865a088431a81a55720ab26bd91454023c1b19b08da0aa6697e646a22c41def886f15899416bcc6dd9f36a59a12093798a52a269637b440b47
6
+ metadata.gz: 83a2e833de915d08148090b22da96c268dc636176f60b0d37f1245b3575b3d27a97d1f2f5e2638f1bb9136c22b1a918df894c01cfbfa6d4193cf3c80a83019d3
7
+ data.tar.gz: fc709282b4c1400de8e0718ccbf206616a6846afcf32efa2067050d538a8cdfd85aac8317401a307ea4158d1ce346709c1ba5e73388408943b3c1b056f7061bf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.126.0 (2025-10-31)
4
+
5
+ Full Changelog: [v1.125.0...v1.126.0](https://github.com/Increase/increase-ruby/compare/v1.125.0...v1.126.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([4875d87](https://github.com/Increase/increase-ruby/commit/4875d8772019de4cdbd528c277c2bf4b4b125570))
10
+
3
11
  ## 1.125.0 (2025-10-31)
4
12
 
5
13
  Full Changelog: [v1.124.0...v1.125.0](https://github.com/Increase/increase-ruby/compare/v1.124.0...v1.125.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.125.0"
18
+ gem "increase", "~> 1.126.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -131,7 +131,14 @@ module Increase
131
131
  # @return [Date, nil]
132
132
  optional :effective_date, Date
133
133
 
134
- # @!method initialize(account_id: nil, effective_date: nil)
134
+ # @!attribute program_id
135
+ # The Program to create a BAI2 report for. If not provided, all open accounts will
136
+ # be included.
137
+ #
138
+ # @return [String, nil]
139
+ optional :program_id, String
140
+
141
+ # @!method initialize(account_id: nil, effective_date: nil, program_id: nil)
135
142
  # Some parameter documentations has been truncated, see
136
143
  # {Increase::Models::ExportCreateParams::AccountStatementBai2} for more details.
137
144
  #
@@ -141,6 +148,8 @@ module Increase
141
148
  # @param account_id [String] The Account to create a BAI2 report for. If not provided, all open accounts will
142
149
  #
143
150
  # @param effective_date [Date] The date to create a BAI2 report for. If not provided, the current date will be
151
+ #
152
+ # @param program_id [String] The Program to create a BAI2 report for. If not provided, all open accounts will
144
153
  end
145
154
 
146
155
  class AccountStatementOfx < Increase::Internal::Type::BaseModel
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.125.0"
4
+ VERSION = "1.126.0"
5
5
  end
@@ -258,12 +258,22 @@ module Increase
258
258
  sig { params(effective_date: Date).void }
259
259
  attr_writer :effective_date
260
260
 
261
+ # The Program to create a BAI2 report for. If not provided, all open accounts will
262
+ # be included.
263
+ sig { returns(T.nilable(String)) }
264
+ attr_reader :program_id
265
+
266
+ sig { params(program_id: String).void }
267
+ attr_writer :program_id
268
+
261
269
  # Options for the created export. Required if `category` is equal to
262
270
  # `account_statement_bai2`.
263
271
  sig do
264
- params(account_id: String, effective_date: Date).returns(
265
- T.attached_class
266
- )
272
+ params(
273
+ account_id: String,
274
+ effective_date: Date,
275
+ program_id: String
276
+ ).returns(T.attached_class)
267
277
  end
268
278
  def self.new(
269
279
  # The Account to create a BAI2 report for. If not provided, all open accounts will
@@ -273,11 +283,18 @@ module Increase
273
283
  # used. The timezone is UTC. If the current date is used, the report will include
274
284
  # intraday balances, otherwise it will include end-of-day balances for the
275
285
  # provided date.
276
- effective_date: nil
286
+ effective_date: nil,
287
+ # The Program to create a BAI2 report for. If not provided, all open accounts will
288
+ # be included.
289
+ program_id: nil
277
290
  )
278
291
  end
279
292
 
280
- sig { override.returns({ account_id: String, effective_date: Date }) }
293
+ sig do
294
+ override.returns(
295
+ { account_id: String, effective_date: Date, program_id: String }
296
+ )
297
+ end
281
298
  def to_hash
282
299
  end
283
300
  end
@@ -119,7 +119,8 @@ module Increase
119
119
  def self?.values: -> ::Array[Increase::Models::ExportCreateParams::category]
120
120
  end
121
121
 
122
- type account_statement_bai2 = { account_id: String, effective_date: Date }
122
+ type account_statement_bai2 =
123
+ { account_id: String, effective_date: Date, program_id: String }
123
124
 
124
125
  class AccountStatementBai2 < Increase::Internal::Type::BaseModel
125
126
  attr_reader account_id: String?
@@ -130,9 +131,21 @@ module Increase
130
131
 
131
132
  def effective_date=: (Date) -> Date
132
133
 
133
- def initialize: (?account_id: String, ?effective_date: Date) -> void
134
+ attr_reader program_id: String?
135
+
136
+ def program_id=: (String) -> String
137
+
138
+ def initialize: (
139
+ ?account_id: String,
140
+ ?effective_date: Date,
141
+ ?program_id: String
142
+ ) -> void
134
143
 
135
- def to_hash: -> { account_id: String, effective_date: Date }
144
+ def to_hash: -> {
145
+ account_id: String,
146
+ effective_date: Date,
147
+ program_id: String
148
+ }
136
149
  end
137
150
 
138
151
  type account_statement_ofx =
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.125.0
4
+ version: 1.126.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase