increase 1.59.0 → 1.60.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/models/simulations/inbound_check_deposit_create_params.rb +35 -1
- data/lib/increase/resources/simulations/inbound_check_deposits.rb +7 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/simulations/inbound_check_deposit_create_params.rbi +75 -0
- data/rbi/increase/resources/simulations/inbound_check_deposits.rbi +6 -0
- data/sig/increase/models/simulations/inbound_check_deposit_create_params.rbs +32 -1
- data/sig/increase/resources/simulations/inbound_check_deposits.rbs +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea7bd919cb0d2a7fc569775de0da419730220719592ae6466d6e9accff0d96c0
|
4
|
+
data.tar.gz: c3901bda964156f699f9ebab3fc3d6539bf895b8039d39a5fe3ae92cfa3bdc6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fac05179f1f6cdaff2496c40d45678303b619d1f096021ad07a339070dd266fe02826b25be73ac9f7435e604d8d0a25f224424f9c7fc632e6a7581051d24fe9b
|
7
|
+
data.tar.gz: 38e6cbd4e4ec82831f873585b6d55e48e0df14992ac287337faed4d5e8fe2d8850b28a0009639da603134e4050630122fe0be8d62c288fedbbd4ec5ea86467eb
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 1.60.0 (2025-08-29)
|
4
|
+
|
5
|
+
Full Changelog: [v1.59.0...v1.60.0](https://github.com/Increase/increase-ruby/compare/v1.59.0...v1.60.0)
|
6
|
+
|
7
|
+
### Features
|
8
|
+
|
9
|
+
* **api:** api update ([c4222d8](https://github.com/Increase/increase-ruby/commit/c4222d890092bb99d6c7226667dcc73f3ecea48c))
|
10
|
+
|
3
11
|
## 1.59.0 (2025-08-28)
|
4
12
|
|
5
13
|
Full Changelog: [v1.58.0...v1.59.0](https://github.com/Increase/increase-ruby/compare/v1.58.0...v1.59.0)
|
data/README.md
CHANGED
@@ -26,14 +26,48 @@ module Increase
|
|
26
26
|
# @return [String]
|
27
27
|
required :check_number, String
|
28
28
|
|
29
|
-
# @!
|
29
|
+
# @!attribute payee_name_analysis
|
30
|
+
# Simulate the outcome of
|
31
|
+
# [payee name checking](https://increase.com/documentation/positive-pay#payee-name-mismatches).
|
32
|
+
# Defaults to `not_evaluated`.
|
33
|
+
#
|
34
|
+
# @return [Symbol, Increase::Models::Simulations::InboundCheckDepositCreateParams::PayeeNameAnalysis, nil]
|
35
|
+
optional :payee_name_analysis,
|
36
|
+
enum: -> { Increase::Simulations::InboundCheckDepositCreateParams::PayeeNameAnalysis }
|
37
|
+
|
38
|
+
# @!method initialize(account_number_id:, amount:, check_number:, payee_name_analysis: nil, request_options: {})
|
39
|
+
# Some parameter documentations has been truncated, see
|
40
|
+
# {Increase::Models::Simulations::InboundCheckDepositCreateParams} for more
|
41
|
+
# details.
|
42
|
+
#
|
30
43
|
# @param account_number_id [String] The identifier of the Account Number the Inbound Check Deposit will be against.
|
31
44
|
#
|
32
45
|
# @param amount [Integer] The check amount in cents.
|
33
46
|
#
|
34
47
|
# @param check_number [String] The check number on the check to be deposited.
|
35
48
|
#
|
49
|
+
# @param payee_name_analysis [Symbol, Increase::Models::Simulations::InboundCheckDepositCreateParams::PayeeNameAnalysis] Simulate the outcome of [payee name checking](https://increase.com/documentation
|
50
|
+
#
|
36
51
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
52
|
+
|
53
|
+
# Simulate the outcome of
|
54
|
+
# [payee name checking](https://increase.com/documentation/positive-pay#payee-name-mismatches).
|
55
|
+
# Defaults to `not_evaluated`.
|
56
|
+
module PayeeNameAnalysis
|
57
|
+
extend Increase::Internal::Type::Enum
|
58
|
+
|
59
|
+
# The details on the check match the recipient name of the check transfer.
|
60
|
+
NAME_MATCHES = :name_matches
|
61
|
+
|
62
|
+
# The details on the check do not match the recipient name of the check transfer.
|
63
|
+
DOES_NOT_MATCH = :does_not_match
|
64
|
+
|
65
|
+
# The payee name analysis was not evaluated.
|
66
|
+
NOT_EVALUATED = :not_evaluated
|
67
|
+
|
68
|
+
# @!method self.values
|
69
|
+
# @return [Array<Symbol>]
|
70
|
+
end
|
37
71
|
end
|
38
72
|
end
|
39
73
|
end
|
@@ -4,6 +4,10 @@ module Increase
|
|
4
4
|
module Resources
|
5
5
|
class Simulations
|
6
6
|
class InboundCheckDeposits
|
7
|
+
# Some parameter documentations has been truncated, see
|
8
|
+
# {Increase::Models::Simulations::InboundCheckDepositCreateParams} for more
|
9
|
+
# details.
|
10
|
+
#
|
7
11
|
# Simulates an Inbound Check Deposit against your account. This imitates someone
|
8
12
|
# depositing a check at their bank that was issued from your account. It may or
|
9
13
|
# may not be associated with a Check Transfer. Increase will evaluate the Check
|
@@ -11,7 +15,7 @@ module Increase
|
|
11
15
|
# Transaction as a result. You can inspect the resulting Inbound Check Deposit
|
12
16
|
# object to see the result.
|
13
17
|
#
|
14
|
-
# @overload create(account_number_id:, amount:, check_number:, request_options: {})
|
18
|
+
# @overload create(account_number_id:, amount:, check_number:, payee_name_analysis: nil, request_options: {})
|
15
19
|
#
|
16
20
|
# @param account_number_id [String] The identifier of the Account Number the Inbound Check Deposit will be against.
|
17
21
|
#
|
@@ -19,6 +23,8 @@ module Increase
|
|
19
23
|
#
|
20
24
|
# @param check_number [String] The check number on the check to be deposited.
|
21
25
|
#
|
26
|
+
# @param payee_name_analysis [Symbol, Increase::Models::Simulations::InboundCheckDepositCreateParams::PayeeNameAnalysis] Simulate the outcome of [payee name checking](https://increase.com/documentation
|
27
|
+
#
|
22
28
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
|
23
29
|
#
|
24
30
|
# @return [Increase::Models::InboundCheckDeposit]
|
data/lib/increase/version.rb
CHANGED
@@ -27,11 +27,33 @@ module Increase
|
|
27
27
|
sig { returns(String) }
|
28
28
|
attr_accessor :check_number
|
29
29
|
|
30
|
+
# Simulate the outcome of
|
31
|
+
# [payee name checking](https://increase.com/documentation/positive-pay#payee-name-mismatches).
|
32
|
+
# Defaults to `not_evaluated`.
|
33
|
+
sig do
|
34
|
+
returns(
|
35
|
+
T.nilable(
|
36
|
+
Increase::Simulations::InboundCheckDepositCreateParams::PayeeNameAnalysis::OrSymbol
|
37
|
+
)
|
38
|
+
)
|
39
|
+
end
|
40
|
+
attr_reader :payee_name_analysis
|
41
|
+
|
42
|
+
sig do
|
43
|
+
params(
|
44
|
+
payee_name_analysis:
|
45
|
+
Increase::Simulations::InboundCheckDepositCreateParams::PayeeNameAnalysis::OrSymbol
|
46
|
+
).void
|
47
|
+
end
|
48
|
+
attr_writer :payee_name_analysis
|
49
|
+
|
30
50
|
sig do
|
31
51
|
params(
|
32
52
|
account_number_id: String,
|
33
53
|
amount: Integer,
|
34
54
|
check_number: String,
|
55
|
+
payee_name_analysis:
|
56
|
+
Increase::Simulations::InboundCheckDepositCreateParams::PayeeNameAnalysis::OrSymbol,
|
35
57
|
request_options: Increase::RequestOptions::OrHash
|
36
58
|
).returns(T.attached_class)
|
37
59
|
end
|
@@ -42,6 +64,10 @@ module Increase
|
|
42
64
|
amount:,
|
43
65
|
# The check number on the check to be deposited.
|
44
66
|
check_number:,
|
67
|
+
# Simulate the outcome of
|
68
|
+
# [payee name checking](https://increase.com/documentation/positive-pay#payee-name-mismatches).
|
69
|
+
# Defaults to `not_evaluated`.
|
70
|
+
payee_name_analysis: nil,
|
45
71
|
request_options: {}
|
46
72
|
)
|
47
73
|
end
|
@@ -52,12 +78,61 @@ module Increase
|
|
52
78
|
account_number_id: String,
|
53
79
|
amount: Integer,
|
54
80
|
check_number: String,
|
81
|
+
payee_name_analysis:
|
82
|
+
Increase::Simulations::InboundCheckDepositCreateParams::PayeeNameAnalysis::OrSymbol,
|
55
83
|
request_options: Increase::RequestOptions
|
56
84
|
}
|
57
85
|
)
|
58
86
|
end
|
59
87
|
def to_hash
|
60
88
|
end
|
89
|
+
|
90
|
+
# Simulate the outcome of
|
91
|
+
# [payee name checking](https://increase.com/documentation/positive-pay#payee-name-mismatches).
|
92
|
+
# Defaults to `not_evaluated`.
|
93
|
+
module PayeeNameAnalysis
|
94
|
+
extend Increase::Internal::Type::Enum
|
95
|
+
|
96
|
+
TaggedSymbol =
|
97
|
+
T.type_alias do
|
98
|
+
T.all(
|
99
|
+
Symbol,
|
100
|
+
Increase::Simulations::InboundCheckDepositCreateParams::PayeeNameAnalysis
|
101
|
+
)
|
102
|
+
end
|
103
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
104
|
+
|
105
|
+
# The details on the check match the recipient name of the check transfer.
|
106
|
+
NAME_MATCHES =
|
107
|
+
T.let(
|
108
|
+
:name_matches,
|
109
|
+
Increase::Simulations::InboundCheckDepositCreateParams::PayeeNameAnalysis::TaggedSymbol
|
110
|
+
)
|
111
|
+
|
112
|
+
# The details on the check do not match the recipient name of the check transfer.
|
113
|
+
DOES_NOT_MATCH =
|
114
|
+
T.let(
|
115
|
+
:does_not_match,
|
116
|
+
Increase::Simulations::InboundCheckDepositCreateParams::PayeeNameAnalysis::TaggedSymbol
|
117
|
+
)
|
118
|
+
|
119
|
+
# The payee name analysis was not evaluated.
|
120
|
+
NOT_EVALUATED =
|
121
|
+
T.let(
|
122
|
+
:not_evaluated,
|
123
|
+
Increase::Simulations::InboundCheckDepositCreateParams::PayeeNameAnalysis::TaggedSymbol
|
124
|
+
)
|
125
|
+
|
126
|
+
sig do
|
127
|
+
override.returns(
|
128
|
+
T::Array[
|
129
|
+
Increase::Simulations::InboundCheckDepositCreateParams::PayeeNameAnalysis::TaggedSymbol
|
130
|
+
]
|
131
|
+
)
|
132
|
+
end
|
133
|
+
def self.values
|
134
|
+
end
|
135
|
+
end
|
61
136
|
end
|
62
137
|
end
|
63
138
|
end
|
@@ -15,6 +15,8 @@ module Increase
|
|
15
15
|
account_number_id: String,
|
16
16
|
amount: Integer,
|
17
17
|
check_number: String,
|
18
|
+
payee_name_analysis:
|
19
|
+
Increase::Simulations::InboundCheckDepositCreateParams::PayeeNameAnalysis::OrSymbol,
|
18
20
|
request_options: Increase::RequestOptions::OrHash
|
19
21
|
).returns(Increase::InboundCheckDeposit)
|
20
22
|
end
|
@@ -25,6 +27,10 @@ module Increase
|
|
25
27
|
amount:,
|
26
28
|
# The check number on the check to be deposited.
|
27
29
|
check_number:,
|
30
|
+
# Simulate the outcome of
|
31
|
+
# [payee name checking](https://increase.com/documentation/positive-pay#payee-name-mismatches).
|
32
|
+
# Defaults to `not_evaluated`.
|
33
|
+
payee_name_analysis: nil,
|
28
34
|
request_options: {}
|
29
35
|
)
|
30
36
|
end
|
@@ -2,7 +2,12 @@ module Increase
|
|
2
2
|
module Models
|
3
3
|
module Simulations
|
4
4
|
type inbound_check_deposit_create_params =
|
5
|
-
{
|
5
|
+
{
|
6
|
+
account_number_id: String,
|
7
|
+
amount: Integer,
|
8
|
+
check_number: String,
|
9
|
+
payee_name_analysis: Increase::Models::Simulations::InboundCheckDepositCreateParams::payee_name_analysis
|
10
|
+
}
|
6
11
|
& Increase::Internal::Type::request_parameters
|
7
12
|
|
8
13
|
class InboundCheckDepositCreateParams < Increase::Internal::Type::BaseModel
|
@@ -15,10 +20,17 @@ module Increase
|
|
15
20
|
|
16
21
|
attr_accessor check_number: String
|
17
22
|
|
23
|
+
attr_reader payee_name_analysis: Increase::Models::Simulations::InboundCheckDepositCreateParams::payee_name_analysis?
|
24
|
+
|
25
|
+
def payee_name_analysis=: (
|
26
|
+
Increase::Models::Simulations::InboundCheckDepositCreateParams::payee_name_analysis
|
27
|
+
) -> Increase::Models::Simulations::InboundCheckDepositCreateParams::payee_name_analysis
|
28
|
+
|
18
29
|
def initialize: (
|
19
30
|
account_number_id: String,
|
20
31
|
amount: Integer,
|
21
32
|
check_number: String,
|
33
|
+
?payee_name_analysis: Increase::Models::Simulations::InboundCheckDepositCreateParams::payee_name_analysis,
|
22
34
|
?request_options: Increase::request_opts
|
23
35
|
) -> void
|
24
36
|
|
@@ -26,8 +38,27 @@ module Increase
|
|
26
38
|
account_number_id: String,
|
27
39
|
amount: Integer,
|
28
40
|
check_number: String,
|
41
|
+
payee_name_analysis: Increase::Models::Simulations::InboundCheckDepositCreateParams::payee_name_analysis,
|
29
42
|
request_options: Increase::RequestOptions
|
30
43
|
}
|
44
|
+
|
45
|
+
type payee_name_analysis =
|
46
|
+
:name_matches | :does_not_match | :not_evaluated
|
47
|
+
|
48
|
+
module PayeeNameAnalysis
|
49
|
+
extend Increase::Internal::Type::Enum
|
50
|
+
|
51
|
+
# The details on the check match the recipient name of the check transfer.
|
52
|
+
NAME_MATCHES: :name_matches
|
53
|
+
|
54
|
+
# The details on the check do not match the recipient name of the check transfer.
|
55
|
+
DOES_NOT_MATCH: :does_not_match
|
56
|
+
|
57
|
+
# The payee name analysis was not evaluated.
|
58
|
+
NOT_EVALUATED: :not_evaluated
|
59
|
+
|
60
|
+
def self?.values: -> ::Array[Increase::Models::Simulations::InboundCheckDepositCreateParams::payee_name_analysis]
|
61
|
+
end
|
31
62
|
end
|
32
63
|
end
|
33
64
|
end
|
@@ -6,6 +6,7 @@ module Increase
|
|
6
6
|
account_number_id: String,
|
7
7
|
amount: Integer,
|
8
8
|
check_number: String,
|
9
|
+
?payee_name_analysis: Increase::Models::Simulations::InboundCheckDepositCreateParams::payee_name_analysis,
|
9
10
|
?request_options: Increase::request_opts
|
10
11
|
) -> Increase::InboundCheckDeposit
|
11
12
|
|
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.
|
4
|
+
version: 1.60.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-08-
|
11
|
+
date: 2025-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: connection_pool
|