increase 1.129.1 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9737e0450430deb991873ab0ab13d1d170e25f4260c47cb5e555e626c0be0a94
4
- data.tar.gz: 8cead100b821e204dab1f7ae600391fbddc4733e4af12df8358289ad3f92dc12
3
+ metadata.gz: 2cbeb46bfc8662f1f7f2409953c510074b6427629b317d7c51f5c6366ac0e867
4
+ data.tar.gz: f4db293338184e9271be0c038dbe48e1e373789ee154bd1a4ac62a07630d462d
5
5
  SHA512:
6
- metadata.gz: a3e2822823f26f41f1573633f231e7d5ea67b0f26456097d564594b8263f309778a5da3276a15c02d8f3dae6185480cbf030d652abbd8428d520028c04a8233b
7
- data.tar.gz: f3377cce1e8797df6192b266fe7fca0ea2c308fcfaa3847dba19ef1604fc2e921b64d3051f25df03389dbe6bf534d929faedf094310fe664e4f83f8c2710a993
6
+ metadata.gz: a58b0f99b83df8121c9fc9a5b0610dc26ff98ef3f9d4021c6140d0ec788748b9f3080f9e198d70d61a0799987e85b604e8fedee4a442526b658d7efd9dbb9839
7
+ data.tar.gz: 01bb57b39a49ede2519e00193f93a8088bd7ca617e1933f87b9b05a02ca71ebdc55a1b08ef38f3567a5513272f5d51415922e7687fd0d21786f9a0dd483eb334
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
3
11
  ## 1.129.1 (2025-11-04)
4
12
 
5
13
  Full Changelog: [v1.129.0...v1.129.1](https://github.com/Increase/increase-ruby/compare/v1.129.0...v1.129.1)
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.129.1"
18
+ gem "increase", "~> 1.130.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -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:, status:, type:)
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
- # This indicates if mail can be sent to this address.
152
+ # Indicates if checks mailed to this lockbox will be deposited.
153
153
  #
154
- # @see Increase::Models::Lockbox#status
155
- module Status
154
+ # @see Increase::Models::Lockbox#check_deposit_behavior
155
+ module CheckDepositBehavior
156
156
  extend Increase::Internal::Type::Enum
157
157
 
158
- # This Lockbox is active. Checks mailed to it will be deposited automatically.
159
- ACTIVE = :active
158
+ # Checks mailed to this Lockbox will be deposited.
159
+ ENABLED = :enabled
160
160
 
161
- # This Lockbox is inactive. Checks mailed to it will not be deposited.
162
- INACTIVE = :inactive
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
- # @!attribute status
23
- # This indicates if checks can be sent to the Lockbox.
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 can be sent to the Lockbox.
38
- module Status
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
- # This Lockbox is active. Checks mailed to it will be deposited automatically.
42
- ACTIVE = :active
41
+ # Checks mailed to this Lockbox will be deposited.
42
+ ENABLED = :enabled
43
43
 
44
- # This Lockbox is inactive. Checks mailed to it will not be deposited.
45
- INACTIVE = :inactive
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, description: nil, recipient_name: nil, status: nil, request_options: {})
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]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.129.1"
4
+ VERSION = "1.130.0"
5
5
  end
@@ -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
- # This indicates if mail can be sent to this address.
195
- module Status
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 = T.type_alias { T.all(Symbol, Increase::Lockbox::Status) }
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
- # This Lockbox is active. Checks mailed to it will be deposited automatically.
202
- ACTIVE = T.let(:active, Increase::Lockbox::Status::TaggedSymbol)
206
+ # Checks mailed to this Lockbox will be deposited.
207
+ ENABLED =
208
+ T.let(:enabled, Increase::Lockbox::CheckDepositBehavior::TaggedSymbol)
203
209
 
204
- # This Lockbox is inactive. Checks mailed to it will not be deposited.
205
- INACTIVE = T.let(:inactive, Increase::Lockbox::Status::TaggedSymbol)
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(T::Array[Increase::Lockbox::Status::TaggedSymbol])
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 can be sent to the Lockbox.
72
- module Status
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 { T.all(Symbol, Increase::LockboxUpdateParams::Status) }
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
- # This Lockbox is active. Checks mailed to it will be deposited automatically.
80
- ACTIVE =
81
- T.let(:active, Increase::LockboxUpdateParams::Status::TaggedSymbol)
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
- # This Lockbox is inactive. Checks mailed to it will not be deposited.
84
- INACTIVE =
85
- T.let(:inactive, Increase::LockboxUpdateParams::Status::TaggedSymbol)
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[Increase::LockboxUpdateParams::Status::TaggedSymbol]
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
@@ -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 status = :active | :inactive
101
+ type check_deposit_behavior = :enabled | :disabled
102
102
 
103
- module Status
103
+ module CheckDepositBehavior
104
104
  extend Increase::Internal::Type::Enum
105
105
 
106
- # This Lockbox is active. Checks mailed to it will be deposited automatically.
107
- ACTIVE: :active
106
+ # Checks mailed to this Lockbox will be deposited.
107
+ ENABLED: :enabled
108
108
 
109
- # This Lockbox is inactive. Checks mailed to it will not be deposited.
110
- INACTIVE: :inactive
109
+ # Checks mailed to this Lockbox will not be deposited.
110
+ DISABLED: :disabled
111
111
 
112
- def self?.values: -> ::Array[Increase::Models::Lockbox::status]
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 status = :active | :inactive
43
+ type check_deposit_behavior = :enabled | :disabled
44
44
 
45
- module Status
45
+ module CheckDepositBehavior
46
46
  extend Increase::Internal::Type::Enum
47
47
 
48
- # This Lockbox is active. Checks mailed to it will be deposited automatically.
49
- ACTIVE: :active
48
+ # Checks mailed to this Lockbox will be deposited.
49
+ ENABLED: :enabled
50
50
 
51
- # This Lockbox is inactive. Checks mailed to it will not be deposited.
52
- INACTIVE: :inactive
51
+ # Checks mailed to this Lockbox will not be deposited.
52
+ DISABLED: :disabled
53
53
 
54
- def self?.values: -> ::Array[Increase::Models::LockboxUpdateParams::status]
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.129.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-04 00:00:00.000000000 Z
11
+ date: 2025-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool