increase 1.129.0 → 1.130.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 +16 -0
- data/README.md +1 -1
- data/lib/increase/internal/transport/pooled_net_requester.rb +6 -2
- data/lib/increase/models/lockbox.rb +16 -16
- data/lib/increase/models/lockbox_update_params.rb +14 -14
- data/lib/increase/resources/lockboxes.rb +3 -3
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +1 -0
- data/manifest.yaml +1 -0
- data/rbi/increase/internal/transport/pooled_net_requester.rbi +6 -2
- data/rbi/increase/models/lockbox.rbi +28 -16
- data/rbi/increase/models/lockbox_update_params.rbi +44 -25
- data/rbi/increase/resources/lockboxes.rbi +4 -3
- data/sig/increase/internal/transport/pooled_net_requester.rbs +4 -1
- data/sig/increase/models/lockbox.rbs +12 -12
- data/sig/increase/models/lockbox_update_params.rbs +17 -17
- data/sig/increase/resources/lockboxes.rbs +1 -1
- 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: 2cbeb46bfc8662f1f7f2409953c510074b6427629b317d7c51f5c6366ac0e867
|
|
4
|
+
data.tar.gz: f4db293338184e9271be0c038dbe48e1e373789ee154bd1a4ac62a07630d462d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a58b0f99b83df8121c9fc9a5b0610dc26ff98ef3f9d4021c6140d0ec788748b9f3080f9e198d70d61a0799987e85b604e8fedee4a442526b658d7efd9dbb9839
|
|
7
|
+
data.tar.gz: 01bb57b39a49ede2519e00193f93a8088bd7ca617e1933f87b9b05a02ca71ebdc55a1b08ef38f3567a5513272f5d51415922e7687fd0d21786f9a0dd483eb334
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.130.0 (2025-11-05)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.129.1...v1.130.0](https://github.com/Increase/increase-ruby/compare/v1.129.1...v1.130.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([bc07ab3](https://github.com/Increase/increase-ruby/commit/bc07ab335a56f490734f2d01740b5df5d2da4ccf))
|
|
10
|
+
|
|
11
|
+
## 1.129.1 (2025-11-04)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v1.129.0...v1.129.1](https://github.com/Increase/increase-ruby/compare/v1.129.0...v1.129.1)
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* better thread safety via early initializing SSL store during HTTP client creation ([05a53e3](https://github.com/Increase/increase-ruby/commit/05a53e3f30b596d51e1e0c572ef239b0b9b8b018))
|
|
18
|
+
|
|
3
19
|
## 1.129.0 (2025-11-04)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v1.128.0...v1.129.0](https://github.com/Increase/increase-ruby/compare/v1.128.0...v1.129.0)
|
data/README.md
CHANGED
|
@@ -16,10 +16,11 @@ module Increase
|
|
|
16
16
|
class << self
|
|
17
17
|
# @api private
|
|
18
18
|
#
|
|
19
|
+
# @param cert_store [OpenSSL::X509::Store]
|
|
19
20
|
# @param url [URI::Generic]
|
|
20
21
|
#
|
|
21
22
|
# @return [Net::HTTP]
|
|
22
|
-
def connect(url)
|
|
23
|
+
def connect(cert_store:, url:)
|
|
23
24
|
port =
|
|
24
25
|
case [url.port, url.scheme]
|
|
25
26
|
in [Integer, _]
|
|
@@ -33,6 +34,8 @@ module Increase
|
|
|
33
34
|
Net::HTTP.new(url.host, port).tap do
|
|
34
35
|
_1.use_ssl = %w[https wss].include?(url.scheme)
|
|
35
36
|
_1.max_retries = 0
|
|
37
|
+
|
|
38
|
+
(_1.cert_store = cert_store) if _1.use_ssl?
|
|
36
39
|
end
|
|
37
40
|
end
|
|
38
41
|
|
|
@@ -102,7 +105,7 @@ module Increase
|
|
|
102
105
|
pool =
|
|
103
106
|
@mutex.synchronize do
|
|
104
107
|
@pools[origin] ||= ConnectionPool.new(size: @size) do
|
|
105
|
-
self.class.connect(url)
|
|
108
|
+
self.class.connect(cert_store: @cert_store, url: url)
|
|
106
109
|
end
|
|
107
110
|
end
|
|
108
111
|
|
|
@@ -192,6 +195,7 @@ module Increase
|
|
|
192
195
|
def initialize(size: self.class::DEFAULT_MAX_CONNECTIONS)
|
|
193
196
|
@mutex = Mutex.new
|
|
194
197
|
@size = size
|
|
198
|
+
@cert_store = OpenSSL::X509::Store.new.tap(&:set_default_paths)
|
|
195
199
|
@pools = {}
|
|
196
200
|
end
|
|
197
201
|
|
|
@@ -23,6 +23,12 @@ module Increase
|
|
|
23
23
|
# @return [Increase::Models::Lockbox::Address]
|
|
24
24
|
required :address, -> { Increase::Lockbox::Address }
|
|
25
25
|
|
|
26
|
+
# @!attribute check_deposit_behavior
|
|
27
|
+
# Indicates if checks mailed to this lockbox will be deposited.
|
|
28
|
+
#
|
|
29
|
+
# @return [Symbol, Increase::Models::Lockbox::CheckDepositBehavior]
|
|
30
|
+
required :check_deposit_behavior, enum: -> { Increase::Lockbox::CheckDepositBehavior }
|
|
31
|
+
|
|
26
32
|
# @!attribute created_at
|
|
27
33
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Lockbox
|
|
28
34
|
# was created.
|
|
@@ -50,12 +56,6 @@ module Increase
|
|
|
50
56
|
# @return [String, nil]
|
|
51
57
|
required :recipient_name, String, nil?: true
|
|
52
58
|
|
|
53
|
-
# @!attribute status
|
|
54
|
-
# This indicates if mail can be sent to this address.
|
|
55
|
-
#
|
|
56
|
-
# @return [Symbol, Increase::Models::Lockbox::Status]
|
|
57
|
-
required :status, enum: -> { Increase::Lockbox::Status }
|
|
58
|
-
|
|
59
59
|
# @!attribute type
|
|
60
60
|
# A constant representing the object's type. For this resource it will always be
|
|
61
61
|
# `lockbox`.
|
|
@@ -63,7 +63,7 @@ module Increase
|
|
|
63
63
|
# @return [Symbol, Increase::Models::Lockbox::Type]
|
|
64
64
|
required :type, enum: -> { Increase::Lockbox::Type }
|
|
65
65
|
|
|
66
|
-
# @!method initialize(id:, account_id:, address:, created_at:, description:, idempotency_key:, recipient_name:,
|
|
66
|
+
# @!method initialize(id:, account_id:, address:, check_deposit_behavior:, created_at:, description:, idempotency_key:, recipient_name:, type:)
|
|
67
67
|
# Some parameter documentations has been truncated, see
|
|
68
68
|
# {Increase::Models::Lockbox} for more details.
|
|
69
69
|
#
|
|
@@ -76,6 +76,8 @@ module Increase
|
|
|
76
76
|
#
|
|
77
77
|
# @param address [Increase::Models::Lockbox::Address] The mailing address for the Lockbox.
|
|
78
78
|
#
|
|
79
|
+
# @param check_deposit_behavior [Symbol, Increase::Models::Lockbox::CheckDepositBehavior] Indicates if checks mailed to this lockbox will be deposited.
|
|
80
|
+
#
|
|
79
81
|
# @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Lockbox
|
|
80
82
|
#
|
|
81
83
|
# @param description [String, nil] The description you choose for the Lockbox.
|
|
@@ -84,8 +86,6 @@ module Increase
|
|
|
84
86
|
#
|
|
85
87
|
# @param recipient_name [String, nil] The recipient name you choose for the Lockbox.
|
|
86
88
|
#
|
|
87
|
-
# @param status [Symbol, Increase::Models::Lockbox::Status] This indicates if mail can be sent to this address.
|
|
88
|
-
#
|
|
89
89
|
# @param type [Symbol, Increase::Models::Lockbox::Type] A constant representing the object's type. For this resource it will always be `
|
|
90
90
|
|
|
91
91
|
# @see Increase::Models::Lockbox#address
|
|
@@ -149,17 +149,17 @@ module Increase
|
|
|
149
149
|
# @param state [String] The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
150
150
|
end
|
|
151
151
|
|
|
152
|
-
#
|
|
152
|
+
# Indicates if checks mailed to this lockbox will be deposited.
|
|
153
153
|
#
|
|
154
|
-
# @see Increase::Models::Lockbox#
|
|
155
|
-
module
|
|
154
|
+
# @see Increase::Models::Lockbox#check_deposit_behavior
|
|
155
|
+
module CheckDepositBehavior
|
|
156
156
|
extend Increase::Internal::Type::Enum
|
|
157
157
|
|
|
158
|
-
#
|
|
159
|
-
|
|
158
|
+
# Checks mailed to this Lockbox will be deposited.
|
|
159
|
+
ENABLED = :enabled
|
|
160
160
|
|
|
161
|
-
#
|
|
162
|
-
|
|
161
|
+
# Checks mailed to this Lockbox will not be deposited.
|
|
162
|
+
DISABLED = :disabled
|
|
163
163
|
|
|
164
164
|
# @!method self.values
|
|
165
165
|
# @return [Array<Symbol>]
|
|
@@ -7,6 +7,12 @@ module Increase
|
|
|
7
7
|
extend Increase::Internal::Type::RequestParameters::Converter
|
|
8
8
|
include Increase::Internal::Type::RequestParameters
|
|
9
9
|
|
|
10
|
+
# @!attribute check_deposit_behavior
|
|
11
|
+
# This indicates if checks mailed to this lockbox will be deposited.
|
|
12
|
+
#
|
|
13
|
+
# @return [Symbol, Increase::Models::LockboxUpdateParams::CheckDepositBehavior, nil]
|
|
14
|
+
optional :check_deposit_behavior, enum: -> { Increase::LockboxUpdateParams::CheckDepositBehavior }
|
|
15
|
+
|
|
10
16
|
# @!attribute description
|
|
11
17
|
# The description you choose for the Lockbox.
|
|
12
18
|
#
|
|
@@ -19,30 +25,24 @@ module Increase
|
|
|
19
25
|
# @return [String, nil]
|
|
20
26
|
optional :recipient_name, String
|
|
21
27
|
|
|
22
|
-
# @!
|
|
23
|
-
# This indicates if checks
|
|
28
|
+
# @!method initialize(check_deposit_behavior: nil, description: nil, recipient_name: nil, request_options: {})
|
|
29
|
+
# @param check_deposit_behavior [Symbol, Increase::Models::LockboxUpdateParams::CheckDepositBehavior] This indicates if checks mailed to this lockbox will be deposited.
|
|
24
30
|
#
|
|
25
|
-
# @return [Symbol, Increase::Models::LockboxUpdateParams::Status, nil]
|
|
26
|
-
optional :status, enum: -> { Increase::LockboxUpdateParams::Status }
|
|
27
|
-
|
|
28
|
-
# @!method initialize(description: nil, recipient_name: nil, status: nil, request_options: {})
|
|
29
31
|
# @param description [String] The description you choose for the Lockbox.
|
|
30
32
|
#
|
|
31
33
|
# @param recipient_name [String] The recipient name you choose for the Lockbox.
|
|
32
34
|
#
|
|
33
|
-
# @param status [Symbol, Increase::Models::LockboxUpdateParams::Status] This indicates if checks can be sent to the Lockbox.
|
|
34
|
-
#
|
|
35
35
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
36
36
|
|
|
37
|
-
# This indicates if checks
|
|
38
|
-
module
|
|
37
|
+
# This indicates if checks mailed to this lockbox will be deposited.
|
|
38
|
+
module CheckDepositBehavior
|
|
39
39
|
extend Increase::Internal::Type::Enum
|
|
40
40
|
|
|
41
|
-
#
|
|
42
|
-
|
|
41
|
+
# Checks mailed to this Lockbox will be deposited.
|
|
42
|
+
ENABLED = :enabled
|
|
43
43
|
|
|
44
|
-
#
|
|
45
|
-
|
|
44
|
+
# Checks mailed to this Lockbox will not be deposited.
|
|
45
|
+
DISABLED = :disabled
|
|
46
46
|
|
|
47
47
|
# @!method self.values
|
|
48
48
|
# @return [Array<Symbol>]
|
|
@@ -51,16 +51,16 @@ module Increase
|
|
|
51
51
|
|
|
52
52
|
# Update a Lockbox
|
|
53
53
|
#
|
|
54
|
-
# @overload update(lockbox_id,
|
|
54
|
+
# @overload update(lockbox_id, check_deposit_behavior: nil, description: nil, recipient_name: nil, request_options: {})
|
|
55
55
|
#
|
|
56
56
|
# @param lockbox_id [String] The identifier of the Lockbox.
|
|
57
57
|
#
|
|
58
|
+
# @param check_deposit_behavior [Symbol, Increase::Models::LockboxUpdateParams::CheckDepositBehavior] This indicates if checks mailed to this lockbox will be deposited.
|
|
59
|
+
#
|
|
58
60
|
# @param description [String] The description you choose for the Lockbox.
|
|
59
61
|
#
|
|
60
62
|
# @param recipient_name [String] The recipient name you choose for the Lockbox.
|
|
61
63
|
#
|
|
62
|
-
# @param status [Symbol, Increase::Models::LockboxUpdateParams::Status] This indicates if checks can be sent to the Lockbox.
|
|
63
|
-
#
|
|
64
64
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
|
|
65
65
|
#
|
|
66
66
|
# @return [Increase::Models::Lockbox]
|
data/lib/increase/version.rb
CHANGED
data/lib/increase.rb
CHANGED
data/manifest.yaml
CHANGED
|
@@ -26,8 +26,12 @@ module Increase
|
|
|
26
26
|
|
|
27
27
|
class << self
|
|
28
28
|
# @api private
|
|
29
|
-
sig
|
|
30
|
-
|
|
29
|
+
sig do
|
|
30
|
+
params(cert_store: OpenSSL::X509::Store, url: URI::Generic).returns(
|
|
31
|
+
Net::HTTP
|
|
32
|
+
)
|
|
33
|
+
end
|
|
34
|
+
def connect(cert_store:, url:)
|
|
31
35
|
end
|
|
32
36
|
|
|
33
37
|
# @api private
|
|
@@ -22,6 +22,10 @@ module Increase
|
|
|
22
22
|
sig { params(address: Increase::Lockbox::Address::OrHash).void }
|
|
23
23
|
attr_writer :address
|
|
24
24
|
|
|
25
|
+
# Indicates if checks mailed to this lockbox will be deposited.
|
|
26
|
+
sig { returns(Increase::Lockbox::CheckDepositBehavior::TaggedSymbol) }
|
|
27
|
+
attr_accessor :check_deposit_behavior
|
|
28
|
+
|
|
25
29
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Lockbox
|
|
26
30
|
# was created.
|
|
27
31
|
sig { returns(Time) }
|
|
@@ -41,10 +45,6 @@ module Increase
|
|
|
41
45
|
sig { returns(T.nilable(String)) }
|
|
42
46
|
attr_accessor :recipient_name
|
|
43
47
|
|
|
44
|
-
# This indicates if mail can be sent to this address.
|
|
45
|
-
sig { returns(Increase::Lockbox::Status::TaggedSymbol) }
|
|
46
|
-
attr_accessor :status
|
|
47
|
-
|
|
48
48
|
# A constant representing the object's type. For this resource it will always be
|
|
49
49
|
# `lockbox`.
|
|
50
50
|
sig { returns(Increase::Lockbox::Type::TaggedSymbol) }
|
|
@@ -57,11 +57,12 @@ module Increase
|
|
|
57
57
|
id: String,
|
|
58
58
|
account_id: String,
|
|
59
59
|
address: Increase::Lockbox::Address::OrHash,
|
|
60
|
+
check_deposit_behavior:
|
|
61
|
+
Increase::Lockbox::CheckDepositBehavior::OrSymbol,
|
|
60
62
|
created_at: Time,
|
|
61
63
|
description: T.nilable(String),
|
|
62
64
|
idempotency_key: T.nilable(String),
|
|
63
65
|
recipient_name: T.nilable(String),
|
|
64
|
-
status: Increase::Lockbox::Status::OrSymbol,
|
|
65
66
|
type: Increase::Lockbox::Type::OrSymbol
|
|
66
67
|
).returns(T.attached_class)
|
|
67
68
|
end
|
|
@@ -73,6 +74,8 @@ module Increase
|
|
|
73
74
|
account_id:,
|
|
74
75
|
# The mailing address for the Lockbox.
|
|
75
76
|
address:,
|
|
77
|
+
# Indicates if checks mailed to this lockbox will be deposited.
|
|
78
|
+
check_deposit_behavior:,
|
|
76
79
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Lockbox
|
|
77
80
|
# was created.
|
|
78
81
|
created_at:,
|
|
@@ -84,8 +87,6 @@ module Increase
|
|
|
84
87
|
idempotency_key:,
|
|
85
88
|
# The recipient name you choose for the Lockbox.
|
|
86
89
|
recipient_name:,
|
|
87
|
-
# This indicates if mail can be sent to this address.
|
|
88
|
-
status:,
|
|
89
90
|
# A constant representing the object's type. For this resource it will always be
|
|
90
91
|
# `lockbox`.
|
|
91
92
|
type:
|
|
@@ -98,11 +99,12 @@ module Increase
|
|
|
98
99
|
id: String,
|
|
99
100
|
account_id: String,
|
|
100
101
|
address: Increase::Lockbox::Address,
|
|
102
|
+
check_deposit_behavior:
|
|
103
|
+
Increase::Lockbox::CheckDepositBehavior::TaggedSymbol,
|
|
101
104
|
created_at: Time,
|
|
102
105
|
description: T.nilable(String),
|
|
103
106
|
idempotency_key: T.nilable(String),
|
|
104
107
|
recipient_name: T.nilable(String),
|
|
105
|
-
status: Increase::Lockbox::Status::TaggedSymbol,
|
|
106
108
|
type: Increase::Lockbox::Type::TaggedSymbol
|
|
107
109
|
}
|
|
108
110
|
)
|
|
@@ -191,21 +193,31 @@ module Increase
|
|
|
191
193
|
end
|
|
192
194
|
end
|
|
193
195
|
|
|
194
|
-
#
|
|
195
|
-
module
|
|
196
|
+
# Indicates if checks mailed to this lockbox will be deposited.
|
|
197
|
+
module CheckDepositBehavior
|
|
196
198
|
extend Increase::Internal::Type::Enum
|
|
197
199
|
|
|
198
|
-
TaggedSymbol =
|
|
200
|
+
TaggedSymbol =
|
|
201
|
+
T.type_alias do
|
|
202
|
+
T.all(Symbol, Increase::Lockbox::CheckDepositBehavior)
|
|
203
|
+
end
|
|
199
204
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
200
205
|
|
|
201
|
-
#
|
|
202
|
-
|
|
206
|
+
# Checks mailed to this Lockbox will be deposited.
|
|
207
|
+
ENABLED =
|
|
208
|
+
T.let(:enabled, Increase::Lockbox::CheckDepositBehavior::TaggedSymbol)
|
|
203
209
|
|
|
204
|
-
#
|
|
205
|
-
|
|
210
|
+
# Checks mailed to this Lockbox will not be deposited.
|
|
211
|
+
DISABLED =
|
|
212
|
+
T.let(
|
|
213
|
+
:disabled,
|
|
214
|
+
Increase::Lockbox::CheckDepositBehavior::TaggedSymbol
|
|
215
|
+
)
|
|
206
216
|
|
|
207
217
|
sig do
|
|
208
|
-
override.returns(
|
|
218
|
+
override.returns(
|
|
219
|
+
T::Array[Increase::Lockbox::CheckDepositBehavior::TaggedSymbol]
|
|
220
|
+
)
|
|
209
221
|
end
|
|
210
222
|
def self.values
|
|
211
223
|
end
|
|
@@ -11,6 +11,24 @@ module Increase
|
|
|
11
11
|
T.any(Increase::LockboxUpdateParams, Increase::Internal::AnyHash)
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
+
# This indicates if checks mailed to this lockbox will be deposited.
|
|
15
|
+
sig do
|
|
16
|
+
returns(
|
|
17
|
+
T.nilable(
|
|
18
|
+
Increase::LockboxUpdateParams::CheckDepositBehavior::OrSymbol
|
|
19
|
+
)
|
|
20
|
+
)
|
|
21
|
+
end
|
|
22
|
+
attr_reader :check_deposit_behavior
|
|
23
|
+
|
|
24
|
+
sig do
|
|
25
|
+
params(
|
|
26
|
+
check_deposit_behavior:
|
|
27
|
+
Increase::LockboxUpdateParams::CheckDepositBehavior::OrSymbol
|
|
28
|
+
).void
|
|
29
|
+
end
|
|
30
|
+
attr_writer :check_deposit_behavior
|
|
31
|
+
|
|
14
32
|
# The description you choose for the Lockbox.
|
|
15
33
|
sig { returns(T.nilable(String)) }
|
|
16
34
|
attr_reader :description
|
|
@@ -25,32 +43,22 @@ module Increase
|
|
|
25
43
|
sig { params(recipient_name: String).void }
|
|
26
44
|
attr_writer :recipient_name
|
|
27
45
|
|
|
28
|
-
# This indicates if checks can be sent to the Lockbox.
|
|
29
|
-
sig do
|
|
30
|
-
returns(T.nilable(Increase::LockboxUpdateParams::Status::OrSymbol))
|
|
31
|
-
end
|
|
32
|
-
attr_reader :status
|
|
33
|
-
|
|
34
|
-
sig do
|
|
35
|
-
params(status: Increase::LockboxUpdateParams::Status::OrSymbol).void
|
|
36
|
-
end
|
|
37
|
-
attr_writer :status
|
|
38
|
-
|
|
39
46
|
sig do
|
|
40
47
|
params(
|
|
48
|
+
check_deposit_behavior:
|
|
49
|
+
Increase::LockboxUpdateParams::CheckDepositBehavior::OrSymbol,
|
|
41
50
|
description: String,
|
|
42
51
|
recipient_name: String,
|
|
43
|
-
status: Increase::LockboxUpdateParams::Status::OrSymbol,
|
|
44
52
|
request_options: Increase::RequestOptions::OrHash
|
|
45
53
|
).returns(T.attached_class)
|
|
46
54
|
end
|
|
47
55
|
def self.new(
|
|
56
|
+
# This indicates if checks mailed to this lockbox will be deposited.
|
|
57
|
+
check_deposit_behavior: nil,
|
|
48
58
|
# The description you choose for the Lockbox.
|
|
49
59
|
description: nil,
|
|
50
60
|
# The recipient name you choose for the Lockbox.
|
|
51
61
|
recipient_name: nil,
|
|
52
|
-
# This indicates if checks can be sent to the Lockbox.
|
|
53
|
-
status: nil,
|
|
54
62
|
request_options: {}
|
|
55
63
|
)
|
|
56
64
|
end
|
|
@@ -58,9 +66,10 @@ module Increase
|
|
|
58
66
|
sig do
|
|
59
67
|
override.returns(
|
|
60
68
|
{
|
|
69
|
+
check_deposit_behavior:
|
|
70
|
+
Increase::LockboxUpdateParams::CheckDepositBehavior::OrSymbol,
|
|
61
71
|
description: String,
|
|
62
72
|
recipient_name: String,
|
|
63
|
-
status: Increase::LockboxUpdateParams::Status::OrSymbol,
|
|
64
73
|
request_options: Increase::RequestOptions
|
|
65
74
|
}
|
|
66
75
|
)
|
|
@@ -68,25 +77,35 @@ module Increase
|
|
|
68
77
|
def to_hash
|
|
69
78
|
end
|
|
70
79
|
|
|
71
|
-
# This indicates if checks
|
|
72
|
-
module
|
|
80
|
+
# This indicates if checks mailed to this lockbox will be deposited.
|
|
81
|
+
module CheckDepositBehavior
|
|
73
82
|
extend Increase::Internal::Type::Enum
|
|
74
83
|
|
|
75
84
|
TaggedSymbol =
|
|
76
|
-
T.type_alias
|
|
85
|
+
T.type_alias do
|
|
86
|
+
T.all(Symbol, Increase::LockboxUpdateParams::CheckDepositBehavior)
|
|
87
|
+
end
|
|
77
88
|
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
78
89
|
|
|
79
|
-
#
|
|
80
|
-
|
|
81
|
-
T.let(
|
|
90
|
+
# Checks mailed to this Lockbox will be deposited.
|
|
91
|
+
ENABLED =
|
|
92
|
+
T.let(
|
|
93
|
+
:enabled,
|
|
94
|
+
Increase::LockboxUpdateParams::CheckDepositBehavior::TaggedSymbol
|
|
95
|
+
)
|
|
82
96
|
|
|
83
|
-
#
|
|
84
|
-
|
|
85
|
-
T.let(
|
|
97
|
+
# Checks mailed to this Lockbox will not be deposited.
|
|
98
|
+
DISABLED =
|
|
99
|
+
T.let(
|
|
100
|
+
:disabled,
|
|
101
|
+
Increase::LockboxUpdateParams::CheckDepositBehavior::TaggedSymbol
|
|
102
|
+
)
|
|
86
103
|
|
|
87
104
|
sig do
|
|
88
105
|
override.returns(
|
|
89
|
-
T::Array[
|
|
106
|
+
T::Array[
|
|
107
|
+
Increase::LockboxUpdateParams::CheckDepositBehavior::TaggedSymbol
|
|
108
|
+
]
|
|
90
109
|
)
|
|
91
110
|
end
|
|
92
111
|
def self.values
|
|
@@ -41,21 +41,22 @@ module Increase
|
|
|
41
41
|
sig do
|
|
42
42
|
params(
|
|
43
43
|
lockbox_id: String,
|
|
44
|
+
check_deposit_behavior:
|
|
45
|
+
Increase::LockboxUpdateParams::CheckDepositBehavior::OrSymbol,
|
|
44
46
|
description: String,
|
|
45
47
|
recipient_name: String,
|
|
46
|
-
status: Increase::LockboxUpdateParams::Status::OrSymbol,
|
|
47
48
|
request_options: Increase::RequestOptions::OrHash
|
|
48
49
|
).returns(Increase::Lockbox)
|
|
49
50
|
end
|
|
50
51
|
def update(
|
|
51
52
|
# The identifier of the Lockbox.
|
|
52
53
|
lockbox_id,
|
|
54
|
+
# This indicates if checks mailed to this lockbox will be deposited.
|
|
55
|
+
check_deposit_behavior: nil,
|
|
53
56
|
# The description you choose for the Lockbox.
|
|
54
57
|
description: nil,
|
|
55
58
|
# The recipient name you choose for the Lockbox.
|
|
56
59
|
recipient_name: nil,
|
|
57
|
-
# This indicates if checks can be sent to the Lockbox.
|
|
58
|
-
status: nil,
|
|
59
60
|
request_options: {}
|
|
60
61
|
)
|
|
61
62
|
end
|
|
@@ -17,7 +17,10 @@ module Increase
|
|
|
17
17
|
|
|
18
18
|
DEFAULT_MAX_CONNECTIONS: Integer
|
|
19
19
|
|
|
20
|
-
def self.connect: (
|
|
20
|
+
def self.connect: (
|
|
21
|
+
cert_store: OpenSSL::X509::Store,
|
|
22
|
+
url: URI::Generic
|
|
23
|
+
) -> top
|
|
21
24
|
|
|
22
25
|
def self.calibrate_socket_timeout: (top conn, Float deadline) -> void
|
|
23
26
|
|
|
@@ -5,11 +5,11 @@ module Increase
|
|
|
5
5
|
id: String,
|
|
6
6
|
account_id: String,
|
|
7
7
|
address: Increase::Lockbox::Address,
|
|
8
|
+
check_deposit_behavior: Increase::Models::Lockbox::check_deposit_behavior,
|
|
8
9
|
created_at: Time,
|
|
9
10
|
description: String?,
|
|
10
11
|
idempotency_key: String?,
|
|
11
12
|
recipient_name: String?,
|
|
12
|
-
status: Increase::Models::Lockbox::status,
|
|
13
13
|
type: Increase::Models::Lockbox::type_
|
|
14
14
|
}
|
|
15
15
|
|
|
@@ -20,6 +20,8 @@ module Increase
|
|
|
20
20
|
|
|
21
21
|
attr_accessor address: Increase::Lockbox::Address
|
|
22
22
|
|
|
23
|
+
attr_accessor check_deposit_behavior: Increase::Models::Lockbox::check_deposit_behavior
|
|
24
|
+
|
|
23
25
|
attr_accessor created_at: Time
|
|
24
26
|
|
|
25
27
|
attr_accessor description: String?
|
|
@@ -28,19 +30,17 @@ module Increase
|
|
|
28
30
|
|
|
29
31
|
attr_accessor recipient_name: String?
|
|
30
32
|
|
|
31
|
-
attr_accessor status: Increase::Models::Lockbox::status
|
|
32
|
-
|
|
33
33
|
attr_accessor type: Increase::Models::Lockbox::type_
|
|
34
34
|
|
|
35
35
|
def initialize: (
|
|
36
36
|
id: String,
|
|
37
37
|
account_id: String,
|
|
38
38
|
address: Increase::Lockbox::Address,
|
|
39
|
+
check_deposit_behavior: Increase::Models::Lockbox::check_deposit_behavior,
|
|
39
40
|
created_at: Time,
|
|
40
41
|
description: String?,
|
|
41
42
|
idempotency_key: String?,
|
|
42
43
|
recipient_name: String?,
|
|
43
|
-
status: Increase::Models::Lockbox::status,
|
|
44
44
|
type: Increase::Models::Lockbox::type_
|
|
45
45
|
) -> void
|
|
46
46
|
|
|
@@ -48,11 +48,11 @@ module Increase
|
|
|
48
48
|
id: String,
|
|
49
49
|
account_id: String,
|
|
50
50
|
address: Increase::Lockbox::Address,
|
|
51
|
+
check_deposit_behavior: Increase::Models::Lockbox::check_deposit_behavior,
|
|
51
52
|
created_at: Time,
|
|
52
53
|
description: String?,
|
|
53
54
|
idempotency_key: String?,
|
|
54
55
|
recipient_name: String?,
|
|
55
|
-
status: Increase::Models::Lockbox::status,
|
|
56
56
|
type: Increase::Models::Lockbox::type_
|
|
57
57
|
}
|
|
58
58
|
|
|
@@ -98,18 +98,18 @@ module Increase
|
|
|
98
98
|
}
|
|
99
99
|
end
|
|
100
100
|
|
|
101
|
-
type
|
|
101
|
+
type check_deposit_behavior = :enabled | :disabled
|
|
102
102
|
|
|
103
|
-
module
|
|
103
|
+
module CheckDepositBehavior
|
|
104
104
|
extend Increase::Internal::Type::Enum
|
|
105
105
|
|
|
106
|
-
#
|
|
107
|
-
|
|
106
|
+
# Checks mailed to this Lockbox will be deposited.
|
|
107
|
+
ENABLED: :enabled
|
|
108
108
|
|
|
109
|
-
#
|
|
110
|
-
|
|
109
|
+
# Checks mailed to this Lockbox will not be deposited.
|
|
110
|
+
DISABLED: :disabled
|
|
111
111
|
|
|
112
|
-
def self?.values: -> ::Array[Increase::Models::Lockbox::
|
|
112
|
+
def self?.values: -> ::Array[Increase::Models::Lockbox::check_deposit_behavior]
|
|
113
113
|
end
|
|
114
114
|
|
|
115
115
|
type type_ = :lockbox
|
|
@@ -2,9 +2,9 @@ module Increase
|
|
|
2
2
|
module Models
|
|
3
3
|
type lockbox_update_params =
|
|
4
4
|
{
|
|
5
|
+
check_deposit_behavior: Increase::Models::LockboxUpdateParams::check_deposit_behavior,
|
|
5
6
|
description: String,
|
|
6
|
-
recipient_name: String
|
|
7
|
-
status: Increase::Models::LockboxUpdateParams::status
|
|
7
|
+
recipient_name: String
|
|
8
8
|
}
|
|
9
9
|
& Increase::Internal::Type::request_parameters
|
|
10
10
|
|
|
@@ -12,6 +12,12 @@ module Increase
|
|
|
12
12
|
extend Increase::Internal::Type::RequestParameters::Converter
|
|
13
13
|
include Increase::Internal::Type::RequestParameters
|
|
14
14
|
|
|
15
|
+
attr_reader check_deposit_behavior: Increase::Models::LockboxUpdateParams::check_deposit_behavior?
|
|
16
|
+
|
|
17
|
+
def check_deposit_behavior=: (
|
|
18
|
+
Increase::Models::LockboxUpdateParams::check_deposit_behavior
|
|
19
|
+
) -> Increase::Models::LockboxUpdateParams::check_deposit_behavior
|
|
20
|
+
|
|
15
21
|
attr_reader description: String?
|
|
16
22
|
|
|
17
23
|
def description=: (String) -> String
|
|
@@ -20,38 +26,32 @@ module Increase
|
|
|
20
26
|
|
|
21
27
|
def recipient_name=: (String) -> String
|
|
22
28
|
|
|
23
|
-
attr_reader status: Increase::Models::LockboxUpdateParams::status?
|
|
24
|
-
|
|
25
|
-
def status=: (
|
|
26
|
-
Increase::Models::LockboxUpdateParams::status
|
|
27
|
-
) -> Increase::Models::LockboxUpdateParams::status
|
|
28
|
-
|
|
29
29
|
def initialize: (
|
|
30
|
+
?check_deposit_behavior: Increase::Models::LockboxUpdateParams::check_deposit_behavior,
|
|
30
31
|
?description: String,
|
|
31
32
|
?recipient_name: String,
|
|
32
|
-
?status: Increase::Models::LockboxUpdateParams::status,
|
|
33
33
|
?request_options: Increase::request_opts
|
|
34
34
|
) -> void
|
|
35
35
|
|
|
36
36
|
def to_hash: -> {
|
|
37
|
+
check_deposit_behavior: Increase::Models::LockboxUpdateParams::check_deposit_behavior,
|
|
37
38
|
description: String,
|
|
38
39
|
recipient_name: String,
|
|
39
|
-
status: Increase::Models::LockboxUpdateParams::status,
|
|
40
40
|
request_options: Increase::RequestOptions
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
type
|
|
43
|
+
type check_deposit_behavior = :enabled | :disabled
|
|
44
44
|
|
|
45
|
-
module
|
|
45
|
+
module CheckDepositBehavior
|
|
46
46
|
extend Increase::Internal::Type::Enum
|
|
47
47
|
|
|
48
|
-
#
|
|
49
|
-
|
|
48
|
+
# Checks mailed to this Lockbox will be deposited.
|
|
49
|
+
ENABLED: :enabled
|
|
50
50
|
|
|
51
|
-
#
|
|
52
|
-
|
|
51
|
+
# Checks mailed to this Lockbox will not be deposited.
|
|
52
|
+
DISABLED: :disabled
|
|
53
53
|
|
|
54
|
-
def self?.values: -> ::Array[Increase::Models::LockboxUpdateParams::
|
|
54
|
+
def self?.values: -> ::Array[Increase::Models::LockboxUpdateParams::check_deposit_behavior]
|
|
55
55
|
end
|
|
56
56
|
end
|
|
57
57
|
end
|
|
@@ -15,9 +15,9 @@ module Increase
|
|
|
15
15
|
|
|
16
16
|
def update: (
|
|
17
17
|
String lockbox_id,
|
|
18
|
+
?check_deposit_behavior: Increase::Models::LockboxUpdateParams::check_deposit_behavior,
|
|
18
19
|
?description: String,
|
|
19
20
|
?recipient_name: String,
|
|
20
|
-
?status: Increase::Models::LockboxUpdateParams::status,
|
|
21
21
|
?request_options: Increase::request_opts
|
|
22
22
|
) -> Increase::Lockbox
|
|
23
23
|
|
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.130.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-11-
|
|
11
|
+
date: 2025-11-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: connection_pool
|