increase 1.209.0 → 1.210.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: 35517c3e873cb2a7dedfb7c06f5ea3b89bebaac2da10c2b826c40ef0249f7afc
4
- data.tar.gz: a76e77887c08e577a39cde7e502cdb1aff9e288469730a4c1f3494a35c8cfd4d
3
+ metadata.gz: 867d0e57bbd9462f134f01ee368e927d2ef47f98de9e185c146d4bac5ca03537
4
+ data.tar.gz: 9bf4dcf6858c6c6bb742f1da67d373081fccf95e00ee421ef5a5b2b606f8196a
5
5
  SHA512:
6
- metadata.gz: 2304b1f368f980122f82b5a7924add4369365bf023983927a99d23bef520f0793593fb423c25316b4902982c0324bad81471486b44414533d554fd05f08ccf83
7
- data.tar.gz: f080fae8f21e655a8d76498db4b7b117afe7236d6b9fb82ba3fb95f9a46e8ef2533a30f8b5873ff8e3bcd80a7967a1a3355872cf2a51a1d5438fb98f33f31b2e
6
+ metadata.gz: 7a383fc41ccfee3bd411b086e1776b02014448192f1d109a2395ec0baa20acd17043b0f1edeb5500a9bbec6db5c914d5db67d50535838b574519c7e972be1c8d
7
+ data.tar.gz: 30469ea7832ed792da43bcb8a67a1ce2f077dfa81776e5d867e10fc01c8f0fb4b6baecdec04dbb7a70a949c054c85ecf825a30291f52de7cbf43e34158077b25
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.210.0 (2026-02-18)
4
+
5
+ Full Changelog: [v1.209.0...v1.210.0](https://github.com/Increase/increase-ruby/compare/v1.209.0...v1.210.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([94b287f](https://github.com/Increase/increase-ruby/commit/94b287fcab61f856bc45512b38346d33d943771f))
10
+
3
11
  ## 1.209.0 (2026-02-14)
4
12
 
5
13
  Full Changelog: [v1.208.0...v1.209.0](https://github.com/Increase/increase-ruby/compare/v1.208.0...v1.209.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.209.0"
18
+ gem "increase", "~> 1.210.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -8,8 +8,45 @@ module Increase
8
8
  extend Increase::Internal::Type::RequestParameters::Converter
9
9
  include Increase::Internal::Type::RequestParameters
10
10
 
11
- # @!method initialize(request_options: {})
11
+ # @!attribute scan
12
+ # If set, the simulation will use these values for the check's scanned MICR data.
13
+ #
14
+ # @return [Increase::Models::Simulations::CheckDepositSubmitParams::Scan, nil]
15
+ optional :scan, -> { Increase::Simulations::CheckDepositSubmitParams::Scan }
16
+
17
+ # @!method initialize(scan: nil, request_options: {})
18
+ # @param scan [Increase::Models::Simulations::CheckDepositSubmitParams::Scan] If set, the simulation will use these values for the check's scanned MICR data.
19
+ #
12
20
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
21
+
22
+ class Scan < Increase::Internal::Type::BaseModel
23
+ # @!attribute account_number
24
+ # The account number to be returned in the check deposit's scan data.
25
+ #
26
+ # @return [String]
27
+ required :account_number, String
28
+
29
+ # @!attribute routing_number
30
+ # The routing number to be returned in the check deposit's scan data.
31
+ #
32
+ # @return [String]
33
+ required :routing_number, String
34
+
35
+ # @!attribute auxiliary_on_us
36
+ # The auxiliary on-us data to be returned in the check deposit's scan data.
37
+ #
38
+ # @return [String, nil]
39
+ optional :auxiliary_on_us, String
40
+
41
+ # @!method initialize(account_number:, routing_number:, auxiliary_on_us: nil)
42
+ # If set, the simulation will use these values for the check's scanned MICR data.
43
+ #
44
+ # @param account_number [String] The account number to be returned in the check deposit's scan data.
45
+ #
46
+ # @param routing_number [String] The routing number to be returned in the check deposit's scan data.
47
+ #
48
+ # @param auxiliary_on_us [String] The auxiliary on-us data to be returned in the check deposit's scan data.
49
+ end
13
50
  end
14
51
  end
15
52
  end
@@ -50,21 +50,25 @@ module Increase
50
50
  # Simulates the submission of a [Check Deposit](#check-deposits) to the Federal
51
51
  # Reserve. This Check Deposit must first have a `status` of `pending`.
52
52
  #
53
- # @overload submit(check_deposit_id, request_options: {})
53
+ # @overload submit(check_deposit_id, scan: nil, request_options: {})
54
54
  #
55
55
  # @param check_deposit_id [String] The identifier of the Check Deposit you wish to submit.
56
56
  #
57
+ # @param scan [Increase::Models::Simulations::CheckDepositSubmitParams::Scan] If set, the simulation will use these values for the check's scanned MICR data.
58
+ #
57
59
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
58
60
  #
59
61
  # @return [Increase::Models::CheckDeposit]
60
62
  #
61
63
  # @see Increase::Models::Simulations::CheckDepositSubmitParams
62
64
  def submit(check_deposit_id, params = {})
65
+ parsed, options = Increase::Simulations::CheckDepositSubmitParams.dump_request(params)
63
66
  @client.request(
64
67
  method: :post,
65
68
  path: ["simulations/check_deposits/%1$s/submit", check_deposit_id],
69
+ body: parsed,
66
70
  model: Increase::CheckDeposit,
67
- options: params[:request_options]
71
+ options: options
68
72
  )
69
73
  end
70
74
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.209.0"
4
+ VERSION = "1.210.0"
5
5
  end
@@ -15,17 +15,99 @@ module Increase
15
15
  )
16
16
  end
17
17
 
18
+ # If set, the simulation will use these values for the check's scanned MICR data.
18
19
  sig do
19
- params(request_options: Increase::RequestOptions::OrHash).returns(
20
- T.attached_class
20
+ returns(
21
+ T.nilable(Increase::Simulations::CheckDepositSubmitParams::Scan)
21
22
  )
22
23
  end
23
- def self.new(request_options: {})
24
+ attr_reader :scan
25
+
26
+ sig do
27
+ params(
28
+ scan: Increase::Simulations::CheckDepositSubmitParams::Scan::OrHash
29
+ ).void
30
+ end
31
+ attr_writer :scan
32
+
33
+ sig do
34
+ params(
35
+ scan: Increase::Simulations::CheckDepositSubmitParams::Scan::OrHash,
36
+ request_options: Increase::RequestOptions::OrHash
37
+ ).returns(T.attached_class)
38
+ end
39
+ def self.new(
40
+ # If set, the simulation will use these values for the check's scanned MICR data.
41
+ scan: nil,
42
+ request_options: {}
43
+ )
24
44
  end
25
45
 
26
- sig { override.returns({ request_options: Increase::RequestOptions }) }
46
+ sig do
47
+ override.returns(
48
+ {
49
+ scan: Increase::Simulations::CheckDepositSubmitParams::Scan,
50
+ request_options: Increase::RequestOptions
51
+ }
52
+ )
53
+ end
27
54
  def to_hash
28
55
  end
56
+
57
+ class Scan < Increase::Internal::Type::BaseModel
58
+ OrHash =
59
+ T.type_alias do
60
+ T.any(
61
+ Increase::Simulations::CheckDepositSubmitParams::Scan,
62
+ Increase::Internal::AnyHash
63
+ )
64
+ end
65
+
66
+ # The account number to be returned in the check deposit's scan data.
67
+ sig { returns(String) }
68
+ attr_accessor :account_number
69
+
70
+ # The routing number to be returned in the check deposit's scan data.
71
+ sig { returns(String) }
72
+ attr_accessor :routing_number
73
+
74
+ # The auxiliary on-us data to be returned in the check deposit's scan data.
75
+ sig { returns(T.nilable(String)) }
76
+ attr_reader :auxiliary_on_us
77
+
78
+ sig { params(auxiliary_on_us: String).void }
79
+ attr_writer :auxiliary_on_us
80
+
81
+ # If set, the simulation will use these values for the check's scanned MICR data.
82
+ sig do
83
+ params(
84
+ account_number: String,
85
+ routing_number: String,
86
+ auxiliary_on_us: String
87
+ ).returns(T.attached_class)
88
+ end
89
+ def self.new(
90
+ # The account number to be returned in the check deposit's scan data.
91
+ account_number:,
92
+ # The routing number to be returned in the check deposit's scan data.
93
+ routing_number:,
94
+ # The auxiliary on-us data to be returned in the check deposit's scan data.
95
+ auxiliary_on_us: nil
96
+ )
97
+ end
98
+
99
+ sig do
100
+ override.returns(
101
+ {
102
+ account_number: String,
103
+ routing_number: String,
104
+ auxiliary_on_us: String
105
+ }
106
+ )
107
+ end
108
+ def to_hash
109
+ end
110
+ end
29
111
  end
30
112
  end
31
113
  end
@@ -40,12 +40,15 @@ module Increase
40
40
  sig do
41
41
  params(
42
42
  check_deposit_id: String,
43
+ scan: Increase::Simulations::CheckDepositSubmitParams::Scan::OrHash,
43
44
  request_options: Increase::RequestOptions::OrHash
44
45
  ).returns(Increase::CheckDeposit)
45
46
  end
46
47
  def submit(
47
48
  # The identifier of the Check Deposit you wish to submit.
48
49
  check_deposit_id,
50
+ # If set, the simulation will use these values for the check's scanned MICR data.
51
+ scan: nil,
49
52
  request_options: {}
50
53
  )
51
54
  end
@@ -2,15 +2,57 @@ module Increase
2
2
  module Models
3
3
  module Simulations
4
4
  type check_deposit_submit_params =
5
- { } & Increase::Internal::Type::request_parameters
5
+ { scan: Increase::Simulations::CheckDepositSubmitParams::Scan }
6
+ & Increase::Internal::Type::request_parameters
6
7
 
7
8
  class CheckDepositSubmitParams < Increase::Internal::Type::BaseModel
8
9
  extend Increase::Internal::Type::RequestParameters::Converter
9
10
  include Increase::Internal::Type::RequestParameters
10
11
 
11
- def initialize: (?request_options: Increase::request_opts) -> void
12
+ attr_reader scan: Increase::Simulations::CheckDepositSubmitParams::Scan?
12
13
 
13
- def to_hash: -> { request_options: Increase::RequestOptions }
14
+ def scan=: (
15
+ Increase::Simulations::CheckDepositSubmitParams::Scan
16
+ ) -> Increase::Simulations::CheckDepositSubmitParams::Scan
17
+
18
+ def initialize: (
19
+ ?scan: Increase::Simulations::CheckDepositSubmitParams::Scan,
20
+ ?request_options: Increase::request_opts
21
+ ) -> void
22
+
23
+ def to_hash: -> {
24
+ scan: Increase::Simulations::CheckDepositSubmitParams::Scan,
25
+ request_options: Increase::RequestOptions
26
+ }
27
+
28
+ type scan =
29
+ {
30
+ account_number: String,
31
+ routing_number: String,
32
+ auxiliary_on_us: String
33
+ }
34
+
35
+ class Scan < Increase::Internal::Type::BaseModel
36
+ attr_accessor account_number: String
37
+
38
+ attr_accessor routing_number: String
39
+
40
+ attr_reader auxiliary_on_us: String?
41
+
42
+ def auxiliary_on_us=: (String) -> String
43
+
44
+ def initialize: (
45
+ account_number: String,
46
+ routing_number: String,
47
+ ?auxiliary_on_us: String
48
+ ) -> void
49
+
50
+ def to_hash: -> {
51
+ account_number: String,
52
+ routing_number: String,
53
+ auxiliary_on_us: String
54
+ }
55
+ end
14
56
  end
15
57
  end
16
58
  end
@@ -14,6 +14,7 @@ module Increase
14
14
 
15
15
  def submit: (
16
16
  String check_deposit_id,
17
+ ?scan: Increase::Simulations::CheckDepositSubmitParams::Scan,
17
18
  ?request_options: Increase::request_opts
18
19
  ) -> Increase::CheckDeposit
19
20
 
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.209.0
4
+ version: 1.210.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-02-14 00:00:00.000000000 Z
11
+ date: 2026-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi