increase 1.124.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: 6315a93ae9dff308ad0da9c6bfb3e71528e2efce2d74ea4cf08fa7e72ac62499
4
- data.tar.gz: 5ae2291980caf35e12cf07fe469a3af5996dd8d5f0547b5c8282c5be6e018ce5
3
+ metadata.gz: 9f6806c92bc5ac71203b263c3be8975da68f09f50aa0262e1887872cbe8495ff
4
+ data.tar.gz: b9c32f16982a76dcc4f6e1e87ab45e547e41419958acfe56990641803b64bb1e
5
5
  SHA512:
6
- metadata.gz: 8243e5fb2507403e64cf8949fcc86699e27c8a227e1097d087364b917091e3d0ef6819eb9dab59367d170cba87117d6817d1f3d7c6b383720043374b8e9ae02c
7
- data.tar.gz: 0d7b0c1e14b82ed2a100eae59a99c8301208ebe39a3f5f36ef233fdec4619b73444a470ea6fab91b5a3ad09945899ffb8fdb2ac21f8c8f7041a9120f48297d2c
6
+ metadata.gz: 83a2e833de915d08148090b22da96c268dc636176f60b0d37f1245b3575b3d27a97d1f2f5e2638f1bb9136c22b1a918df894c01cfbfa6d4193cf3c80a83019d3
7
+ data.tar.gz: fc709282b4c1400de8e0718ccbf206616a6846afcf32efa2067050d538a8cdfd85aac8317401a307ea4158d1ce346709c1ba5e73388408943b3c1b056f7061bf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
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
+
11
+ ## 1.125.0 (2025-10-31)
12
+
13
+ Full Changelog: [v1.124.0...v1.125.0](https://github.com/Increase/increase-ruby/compare/v1.124.0...v1.125.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([c4fbf12](https://github.com/Increase/increase-ruby/commit/c4fbf127f45a7146bbbc2a3bdfc25fa94d1ee5be))
18
+
3
19
  ## 1.124.0 (2025-10-30)
4
20
 
5
21
  Full Changelog: [v1.123.0...v1.124.0](https://github.com/Increase/increase-ruby/compare/v1.123.0...v1.124.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.124.0"
18
+ gem "increase", "~> 1.126.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -253,7 +253,7 @@ module Increase
253
253
  module BalanceCheck
254
254
  extend Increase::Internal::Type::Enum
255
255
 
256
- # The available balance of the account must be at least the amount of the check, and a Pending Transaction will be created for the full amount.
256
+ # The available balance of the account must be at least the amount of the check, and a Pending Transaction will be created for the full amount. This is the default behavior if `balance_check` is omitted.
257
257
  FULL = :full
258
258
 
259
259
  # No balance check will performed when the check transfer is initiated. A zero-dollar Pending Transaction will be created. The balance will still be checked when the Inbound Check Deposit is created.
@@ -33,8 +33,8 @@ module Increase
33
33
  required :source_account_number_id, String
34
34
 
35
35
  # @!attribute balance_check
36
- # How the account's available balance should be checked. Please contact
37
- # [support@increase.com](mailto:support@increase.com) to enable this parameter.
36
+ # How the account's available balance should be checked. If omitted, the default
37
+ # behavior is `balance_check: full`.
38
38
  #
39
39
  # @return [Symbol, Increase::Models::CheckTransferCreateParams::BalanceCheck, nil]
40
40
  optional :balance_check, enum: -> { Increase::CheckTransferCreateParams::BalanceCheck }
@@ -81,7 +81,7 @@ module Increase
81
81
  #
82
82
  # @param source_account_number_id [String] The identifier of the Account Number from which to send the transfer and print o
83
83
  #
84
- # @param balance_check [Symbol, Increase::Models::CheckTransferCreateParams::BalanceCheck] How the account's available balance should be checked. Please contact [support@i
84
+ # @param balance_check [Symbol, Increase::Models::CheckTransferCreateParams::BalanceCheck] How the account's available balance should be checked. If omitted, the default b
85
85
  #
86
86
  # @param check_number [String] The check number Increase should use for the check. This should not contain lead
87
87
  #
@@ -107,12 +107,12 @@ module Increase
107
107
  # @return [Array<Symbol>]
108
108
  end
109
109
 
110
- # How the account's available balance should be checked. Please contact
111
- # [support@increase.com](mailto:support@increase.com) to enable this parameter.
110
+ # How the account's available balance should be checked. If omitted, the default
111
+ # behavior is `balance_check: full`.
112
112
  module BalanceCheck
113
113
  extend Increase::Internal::Type::Enum
114
114
 
115
- # The available balance of the account must be at least the amount of the check, and a Pending Transaction will be created for the full amount.
115
+ # The available balance of the account must be at least the amount of the check, and a Pending Transaction will be created for the full amount. This is the default behavior if `balance_check` is omitted.
116
116
  FULL = :full
117
117
 
118
118
  # No balance check will performed when the check transfer is initiated. A zero-dollar Pending Transaction will be created. The balance will still be checked when the Inbound Check Deposit is created.
@@ -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
@@ -18,7 +18,7 @@ module Increase
18
18
  #
19
19
  # @param source_account_number_id [String] The identifier of the Account Number from which to send the transfer and print o
20
20
  #
21
- # @param balance_check [Symbol, Increase::Models::CheckTransferCreateParams::BalanceCheck] How the account's available balance should be checked. Please contact [support@i
21
+ # @param balance_check [Symbol, Increase::Models::CheckTransferCreateParams::BalanceCheck] How the account's available balance should be checked. If omitted, the default b
22
22
  #
23
23
  # @param check_number [String] The check number Increase should use for the check. This should not contain lead
24
24
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.124.0"
4
+ VERSION = "1.126.0"
5
5
  end
@@ -372,7 +372,7 @@ module Increase
372
372
  T.type_alias { T.all(Symbol, Increase::CheckTransfer::BalanceCheck) }
373
373
  OrSymbol = T.type_alias { T.any(Symbol, String) }
374
374
 
375
- # The available balance of the account must be at least the amount of the check, and a Pending Transaction will be created for the full amount.
375
+ # The available balance of the account must be at least the amount of the check, and a Pending Transaction will be created for the full amount. This is the default behavior if `balance_check` is omitted.
376
376
  FULL = T.let(:full, Increase::CheckTransfer::BalanceCheck::TaggedSymbol)
377
377
 
378
378
  # No balance check will performed when the check transfer is initiated. A zero-dollar Pending Transaction will be created. The balance will still be checked when the Inbound Check Deposit is created.
@@ -35,8 +35,8 @@ module Increase
35
35
  sig { returns(String) }
36
36
  attr_accessor :source_account_number_id
37
37
 
38
- # How the account's available balance should be checked. Please contact
39
- # [support@increase.com](mailto:support@increase.com) to enable this parameter.
38
+ # How the account's available balance should be checked. If omitted, the default
39
+ # behavior is `balance_check: full`.
40
40
  sig do
41
41
  returns(
42
42
  T.nilable(Increase::CheckTransferCreateParams::BalanceCheck::OrSymbol)
@@ -126,8 +126,8 @@ module Increase
126
126
  # The identifier of the Account Number from which to send the transfer and print
127
127
  # on the check.
128
128
  source_account_number_id:,
129
- # How the account's available balance should be checked. Please contact
130
- # [support@increase.com](mailto:support@increase.com) to enable this parameter.
129
+ # How the account's available balance should be checked. If omitted, the default
130
+ # behavior is `balance_check: full`.
131
131
  balance_check: nil,
132
132
  # The check number Increase should use for the check. This should not contain
133
133
  # leading zeroes and must be unique across the `source_account_number`. If this is
@@ -206,8 +206,8 @@ module Increase
206
206
  end
207
207
  end
208
208
 
209
- # How the account's available balance should be checked. Please contact
210
- # [support@increase.com](mailto:support@increase.com) to enable this parameter.
209
+ # How the account's available balance should be checked. If omitted, the default
210
+ # behavior is `balance_check: full`.
211
211
  module BalanceCheck
212
212
  extend Increase::Internal::Type::Enum
213
213
 
@@ -217,7 +217,7 @@ module Increase
217
217
  end
218
218
  OrSymbol = T.type_alias { T.any(Symbol, String) }
219
219
 
220
- # The available balance of the account must be at least the amount of the check, and a Pending Transaction will be created for the full amount.
220
+ # The available balance of the account must be at least the amount of the check, and a Pending Transaction will be created for the full amount. This is the default behavior if `balance_check` is omitted.
221
221
  FULL =
222
222
  T.let(
223
223
  :full,
@@ -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
@@ -31,8 +31,8 @@ module Increase
31
31
  # The identifier of the Account Number from which to send the transfer and print
32
32
  # on the check.
33
33
  source_account_number_id:,
34
- # How the account's available balance should be checked. Please contact
35
- # [support@increase.com](mailto:support@increase.com) to enable this parameter.
34
+ # How the account's available balance should be checked. If omitted, the default
35
+ # behavior is `balance_check: full`.
36
36
  balance_check: nil,
37
37
  # The check number Increase should use for the check. This should not contain
38
38
  # leading zeroes and must be unique across the `source_account_number`. If this is
@@ -148,7 +148,7 @@ module Increase
148
148
  module BalanceCheck
149
149
  extend Increase::Internal::Type::Enum
150
150
 
151
- # The available balance of the account must be at least the amount of the check, and a Pending Transaction will be created for the full amount.
151
+ # The available balance of the account must be at least the amount of the check, and a Pending Transaction will be created for the full amount. This is the default behavior if `balance_check` is omitted.
152
152
  FULL: :full
153
153
 
154
154
  # No balance check will performed when the check transfer is initiated. A zero-dollar Pending Transaction will be created. The balance will still be checked when the Inbound Check Deposit is created.
@@ -97,7 +97,7 @@ module Increase
97
97
  module BalanceCheck
98
98
  extend Increase::Internal::Type::Enum
99
99
 
100
- # The available balance of the account must be at least the amount of the check, and a Pending Transaction will be created for the full amount.
100
+ # The available balance of the account must be at least the amount of the check, and a Pending Transaction will be created for the full amount. This is the default behavior if `balance_check` is omitted.
101
101
  FULL: :full
102
102
 
103
103
  # No balance check will performed when the check transfer is initiated. A zero-dollar Pending Transaction will be created. The balance will still be checked when the Inbound Check Deposit is created.
@@ -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,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: increase
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.124.0
4
+ version: 1.126.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-10-30 00:00:00.000000000 Z
11
+ date: 2025-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool