increase 1.303.0 → 1.305.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.
Files changed (131) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +22 -0
  3. data/README.md +1 -1
  4. data/lib/increase/client.rb +7 -15
  5. data/lib/increase/models/card_push_transfer.rb +3 -0
  6. data/lib/increase/models/card_token_capabilities.rb +3 -0
  7. data/lib/increase/models/card_validation.rb +3 -0
  8. data/lib/increase/models/check_deposit.rb +7 -6
  9. data/lib/increase/models/inbound_mail_item.rb +22 -7
  10. data/lib/increase/models/inbound_mail_item_list_params.rb +13 -5
  11. data/lib/increase/models/lockbox_address.rb +162 -0
  12. data/lib/increase/models/lockbox_address_create_params.rb +22 -0
  13. data/lib/increase/models/{lockbox_list_params.rb → lockbox_address_list_params.rb} +8 -16
  14. data/lib/increase/models/lockbox_address_retrieve_params.rb +22 -0
  15. data/lib/increase/models/lockbox_address_update_params.rb +55 -0
  16. data/lib/increase/models/lockbox_recipient.rb +135 -0
  17. data/lib/increase/models/lockbox_recipient_create_params.rb +49 -0
  18. data/lib/increase/models/lockbox_recipient_list_params.rb +110 -0
  19. data/lib/increase/models/lockbox_recipient_retrieve_params.rb +22 -0
  20. data/lib/increase/models/lockbox_recipient_update_params.rb +63 -0
  21. data/lib/increase/models/simulations/card_token_create_params.rb +3 -0
  22. data/lib/increase/models/simulations/inbound_mail_item_create_params.rb +17 -9
  23. data/lib/increase/models.rb +15 -31
  24. data/lib/increase/resources/inbound_mail_items.rb +4 -2
  25. data/lib/increase/resources/lockbox_addresses.rb +115 -0
  26. data/lib/increase/resources/lockbox_recipients.rb +130 -0
  27. data/lib/increase/resources/simulations/inbound_mail_items.rb +5 -3
  28. data/lib/increase/version.rb +1 -1
  29. data/lib/increase.rb +12 -22
  30. data/rbi/increase/client.rbi +5 -11
  31. data/rbi/increase/models/card_push_transfer.rbi +3 -0
  32. data/rbi/increase/models/card_token_capabilities.rbi +7 -0
  33. data/rbi/increase/models/card_validation.rbi +3 -0
  34. data/rbi/increase/models/check_deposit.rbi +10 -8
  35. data/rbi/increase/models/inbound_mail_item.rbi +32 -9
  36. data/rbi/increase/models/inbound_mail_item_list_params.rbi +19 -8
  37. data/rbi/increase/models/lockbox_address.rbi +228 -0
  38. data/rbi/increase/models/lockbox_address_create_params.rbi +46 -0
  39. data/rbi/increase/models/{lockbox_list_params.rbi → lockbox_address_list_params.rbi} +9 -18
  40. data/rbi/increase/models/{bookkeeping_entry_set_retrieve_params.rbi → lockbox_address_retrieve_params.rbi} +8 -8
  41. data/rbi/increase/models/lockbox_address_update_params.rbi +116 -0
  42. data/rbi/increase/models/lockbox_recipient.rbi +182 -0
  43. data/rbi/increase/models/{lockbox_create_params.rbi → lockbox_recipient_create_params.rbi} +19 -8
  44. data/rbi/increase/models/lockbox_recipient_list_params.rbi +190 -0
  45. data/rbi/increase/models/{bookkeeping_entry_retrieve_params.rbi → lockbox_recipient_retrieve_params.rbi} +8 -8
  46. data/rbi/increase/models/lockbox_recipient_update_params.rbi +129 -0
  47. data/rbi/increase/models/simulations/card_token_create_params.rbi +7 -0
  48. data/rbi/increase/models/simulations/inbound_mail_item_create_params.rbi +22 -8
  49. data/rbi/increase/models.rbi +16 -38
  50. data/rbi/increase/resources/inbound_mail_items.rbi +6 -3
  51. data/rbi/increase/resources/{bookkeeping_entry_sets.rbi → lockbox_addresses.rbi} +35 -24
  52. data/rbi/increase/resources/{lockboxes.rbi → lockbox_recipients.rbi} +31 -26
  53. data/rbi/increase/resources/simulations/inbound_mail_items.rbi +6 -3
  54. data/sig/increase/client.rbs +3 -7
  55. data/sig/increase/models/card_push_transfer.rbs +4 -1
  56. data/sig/increase/models/card_token_capabilities.rbs +4 -1
  57. data/sig/increase/models/card_validation.rbs +4 -1
  58. data/sig/increase/models/check_deposit.rbs +4 -4
  59. data/sig/increase/models/inbound_mail_item.rbs +20 -5
  60. data/sig/increase/models/inbound_mail_item_list_params.rbs +12 -5
  61. data/sig/increase/models/lockbox_address.rbs +117 -0
  62. data/sig/increase/models/{lockbox_retrieve_params.rbs → lockbox_address_create_params.rbs} +8 -6
  63. data/sig/increase/models/{lockbox_list_params.rbs → lockbox_address_list_params.rbs} +8 -15
  64. data/sig/increase/models/{bookkeeping_entry_set_retrieve_params.rbs → lockbox_address_retrieve_params.rbs} +6 -6
  65. data/sig/increase/models/lockbox_address_update_params.rbs +59 -0
  66. data/sig/increase/models/lockbox_recipient.rbs +92 -0
  67. data/sig/increase/models/{lockbox_create_params.rbs → lockbox_recipient_create_params.rbs} +12 -3
  68. data/sig/increase/models/lockbox_recipient_list_params.rbs +100 -0
  69. data/sig/increase/models/{bookkeeping_entry_retrieve_params.rbs → lockbox_recipient_retrieve_params.rbs} +6 -6
  70. data/sig/increase/models/lockbox_recipient_update_params.rbs +66 -0
  71. data/sig/increase/models/simulations/card_token_create_params.rbs +4 -1
  72. data/sig/increase/models/simulations/inbound_mail_item_create_params.rbs +18 -5
  73. data/sig/increase/models.rbs +15 -31
  74. data/sig/increase/resources/inbound_mail_items.rbs +2 -1
  75. data/sig/increase/resources/lockbox_addresses.rbs +32 -0
  76. data/sig/increase/resources/{lockboxes.rbs → lockbox_recipients.rbs} +11 -9
  77. data/sig/increase/resources/simulations/inbound_mail_items.rbs +2 -1
  78. metadata +38 -68
  79. data/lib/increase/models/bookkeeping_account.rb +0 -104
  80. data/lib/increase/models/bookkeeping_account_balance_params.rb +0 -30
  81. data/lib/increase/models/bookkeeping_account_create_params.rb +0 -60
  82. data/lib/increase/models/bookkeeping_account_list_params.rb +0 -45
  83. data/lib/increase/models/bookkeeping_account_update_params.rb +0 -30
  84. data/lib/increase/models/bookkeeping_balance_lookup.rb +0 -54
  85. data/lib/increase/models/bookkeeping_entry.rb +0 -79
  86. data/lib/increase/models/bookkeeping_entry_list_params.rb +0 -42
  87. data/lib/increase/models/bookkeeping_entry_retrieve_params.rb +0 -22
  88. data/lib/increase/models/bookkeeping_entry_set.rb +0 -116
  89. data/lib/increase/models/bookkeeping_entry_set_create_params.rb +0 -67
  90. data/lib/increase/models/bookkeeping_entry_set_list_params.rb +0 -53
  91. data/lib/increase/models/bookkeeping_entry_set_retrieve_params.rb +0 -22
  92. data/lib/increase/models/lockbox.rb +0 -185
  93. data/lib/increase/models/lockbox_create_params.rb +0 -38
  94. data/lib/increase/models/lockbox_retrieve_params.rb +0 -22
  95. data/lib/increase/models/lockbox_update_params.rb +0 -63
  96. data/lib/increase/resources/bookkeeping_accounts.rb +0 -122
  97. data/lib/increase/resources/bookkeeping_entries.rb +0 -65
  98. data/lib/increase/resources/bookkeeping_entry_sets.rb +0 -96
  99. data/lib/increase/resources/lockboxes.rb +0 -123
  100. data/rbi/increase/models/bookkeeping_account.rbi +0 -165
  101. data/rbi/increase/models/bookkeeping_account_balance_params.rbi +0 -57
  102. data/rbi/increase/models/bookkeeping_account_create_params.rbi +0 -130
  103. data/rbi/increase/models/bookkeeping_account_list_params.rbi +0 -79
  104. data/rbi/increase/models/bookkeeping_account_update_params.rbi +0 -54
  105. data/rbi/increase/models/bookkeeping_balance_lookup.rbi +0 -85
  106. data/rbi/increase/models/bookkeeping_entry.rbi +0 -108
  107. data/rbi/increase/models/bookkeeping_entry_list_params.rbi +0 -73
  108. data/rbi/increase/models/bookkeeping_entry_set.rbi +0 -162
  109. data/rbi/increase/models/bookkeeping_entry_set_create_params.rbi +0 -110
  110. data/rbi/increase/models/bookkeeping_entry_set_list_params.rbi +0 -90
  111. data/rbi/increase/models/lockbox.rbi +0 -251
  112. data/rbi/increase/models/lockbox_retrieve_params.rbi +0 -40
  113. data/rbi/increase/models/lockbox_update_params.rbi +0 -131
  114. data/rbi/increase/resources/bookkeeping_accounts.rbi +0 -94
  115. data/rbi/increase/resources/bookkeeping_entries.rbi +0 -47
  116. data/sig/increase/models/bookkeeping_account.rbs +0 -74
  117. data/sig/increase/models/bookkeeping_account_balance_params.rbs +0 -30
  118. data/sig/increase/models/bookkeeping_account_create_params.rbs +0 -63
  119. data/sig/increase/models/bookkeeping_account_list_params.rbs +0 -38
  120. data/sig/increase/models/bookkeeping_account_update_params.rbs +0 -28
  121. data/sig/increase/models/bookkeeping_balance_lookup.rbs +0 -40
  122. data/sig/increase/models/bookkeeping_entry.rbs +0 -55
  123. data/sig/increase/models/bookkeeping_entry_list_params.rbs +0 -38
  124. data/sig/increase/models/bookkeeping_entry_set.rbs +0 -78
  125. data/sig/increase/models/bookkeeping_entry_set_create_params.rbs +0 -52
  126. data/sig/increase/models/bookkeeping_entry_set_list_params.rbs +0 -49
  127. data/sig/increase/models/lockbox.rbs +0 -129
  128. data/sig/increase/models/lockbox_update_params.rbs +0 -66
  129. data/sig/increase/resources/bookkeeping_accounts.rbs +0 -34
  130. data/sig/increase/resources/bookkeeping_entries.rbs +0 -19
  131. data/sig/increase/resources/bookkeeping_entry_sets.rbs +0 -27
@@ -2,27 +2,34 @@
2
2
 
3
3
  module Increase
4
4
  module Models
5
- class LockboxCreateParams < Increase::Internal::Type::BaseModel
5
+ class LockboxRecipientCreateParams < Increase::Internal::Type::BaseModel
6
6
  extend Increase::Internal::Type::RequestParameters::Converter
7
7
  include Increase::Internal::Type::RequestParameters
8
8
 
9
9
  OrHash =
10
10
  T.type_alias do
11
- T.any(Increase::LockboxCreateParams, Increase::Internal::AnyHash)
11
+ T.any(
12
+ Increase::LockboxRecipientCreateParams,
13
+ Increase::Internal::AnyHash
14
+ )
12
15
  end
13
16
 
14
- # The Account checks sent to this Lockbox should be deposited into.
17
+ # The Account that checks sent to this Lockbox Recipient should be deposited into.
15
18
  sig { returns(String) }
16
19
  attr_accessor :account_id
17
20
 
18
- # The description you choose for the Lockbox, for display purposes.
21
+ # The Lockbox Address where this Lockbox Recipient may receive mail.
22
+ sig { returns(String) }
23
+ attr_accessor :lockbox_address_id
24
+
25
+ # The description you choose for the Lockbox Recipient.
19
26
  sig { returns(T.nilable(String)) }
20
27
  attr_reader :description
21
28
 
22
29
  sig { params(description: String).void }
23
30
  attr_writer :description
24
31
 
25
- # The name of the recipient that will receive mail at this location.
32
+ # The name of the Lockbox Recipient
26
33
  sig { returns(T.nilable(String)) }
27
34
  attr_reader :recipient_name
28
35
 
@@ -32,17 +39,20 @@ module Increase
32
39
  sig do
33
40
  params(
34
41
  account_id: String,
42
+ lockbox_address_id: String,
35
43
  description: String,
36
44
  recipient_name: String,
37
45
  request_options: Increase::RequestOptions::OrHash
38
46
  ).returns(T.attached_class)
39
47
  end
40
48
  def self.new(
41
- # The Account checks sent to this Lockbox should be deposited into.
49
+ # The Account that checks sent to this Lockbox Recipient should be deposited into.
42
50
  account_id:,
43
- # The description you choose for the Lockbox, for display purposes.
51
+ # The Lockbox Address where this Lockbox Recipient may receive mail.
52
+ lockbox_address_id:,
53
+ # The description you choose for the Lockbox Recipient.
44
54
  description: nil,
45
- # The name of the recipient that will receive mail at this location.
55
+ # The name of the Lockbox Recipient
46
56
  recipient_name: nil,
47
57
  request_options: {}
48
58
  )
@@ -52,6 +62,7 @@ module Increase
52
62
  override.returns(
53
63
  {
54
64
  account_id: String,
65
+ lockbox_address_id: String,
55
66
  description: String,
56
67
  recipient_name: String,
57
68
  request_options: Increase::RequestOptions
@@ -0,0 +1,190 @@
1
+ # typed: strong
2
+
3
+ module Increase
4
+ module Models
5
+ class LockboxRecipientListParams < Increase::Internal::Type::BaseModel
6
+ extend Increase::Internal::Type::RequestParameters::Converter
7
+ include Increase::Internal::Type::RequestParameters
8
+
9
+ OrHash =
10
+ T.type_alias do
11
+ T.any(
12
+ Increase::LockboxRecipientListParams,
13
+ Increase::Internal::AnyHash
14
+ )
15
+ end
16
+
17
+ # Filter Lockbox Recipients to those associated with the provided Account.
18
+ sig { returns(T.nilable(String)) }
19
+ attr_reader :account_id
20
+
21
+ sig { params(account_id: String).void }
22
+ attr_writer :account_id
23
+
24
+ sig do
25
+ returns(T.nilable(Increase::LockboxRecipientListParams::CreatedAt))
26
+ end
27
+ attr_reader :created_at
28
+
29
+ sig do
30
+ params(
31
+ created_at: Increase::LockboxRecipientListParams::CreatedAt::OrHash
32
+ ).void
33
+ end
34
+ attr_writer :created_at
35
+
36
+ # Return the page of entries after this one.
37
+ sig { returns(T.nilable(String)) }
38
+ attr_reader :cursor
39
+
40
+ sig { params(cursor: String).void }
41
+ attr_writer :cursor
42
+
43
+ # Filter records to the one with the specified `idempotency_key` you chose for
44
+ # that object. This value is unique across Increase and is used to ensure that a
45
+ # request is only processed once. Learn more about
46
+ # [idempotency](https://increase.com/documentation/idempotency-keys).
47
+ sig { returns(T.nilable(String)) }
48
+ attr_reader :idempotency_key
49
+
50
+ sig { params(idempotency_key: String).void }
51
+ attr_writer :idempotency_key
52
+
53
+ # Limit the size of the list that is returned. The default (and maximum) is 100
54
+ # objects.
55
+ sig { returns(T.nilable(Integer)) }
56
+ attr_reader :limit
57
+
58
+ sig { params(limit: Integer).void }
59
+ attr_writer :limit
60
+
61
+ # Filter Lockbox Recipients to those associated with the provided Lockbox Address.
62
+ sig { returns(T.nilable(String)) }
63
+ attr_reader :lockbox_address_id
64
+
65
+ sig { params(lockbox_address_id: String).void }
66
+ attr_writer :lockbox_address_id
67
+
68
+ sig do
69
+ params(
70
+ account_id: String,
71
+ created_at: Increase::LockboxRecipientListParams::CreatedAt::OrHash,
72
+ cursor: String,
73
+ idempotency_key: String,
74
+ limit: Integer,
75
+ lockbox_address_id: String,
76
+ request_options: Increase::RequestOptions::OrHash
77
+ ).returns(T.attached_class)
78
+ end
79
+ def self.new(
80
+ # Filter Lockbox Recipients to those associated with the provided Account.
81
+ account_id: nil,
82
+ created_at: nil,
83
+ # Return the page of entries after this one.
84
+ cursor: nil,
85
+ # Filter records to the one with the specified `idempotency_key` you chose for
86
+ # that object. This value is unique across Increase and is used to ensure that a
87
+ # request is only processed once. Learn more about
88
+ # [idempotency](https://increase.com/documentation/idempotency-keys).
89
+ idempotency_key: nil,
90
+ # Limit the size of the list that is returned. The default (and maximum) is 100
91
+ # objects.
92
+ limit: nil,
93
+ # Filter Lockbox Recipients to those associated with the provided Lockbox Address.
94
+ lockbox_address_id: nil,
95
+ request_options: {}
96
+ )
97
+ end
98
+
99
+ sig do
100
+ override.returns(
101
+ {
102
+ account_id: String,
103
+ created_at: Increase::LockboxRecipientListParams::CreatedAt,
104
+ cursor: String,
105
+ idempotency_key: String,
106
+ limit: Integer,
107
+ lockbox_address_id: String,
108
+ request_options: Increase::RequestOptions
109
+ }
110
+ )
111
+ end
112
+ def to_hash
113
+ end
114
+
115
+ class CreatedAt < Increase::Internal::Type::BaseModel
116
+ OrHash =
117
+ T.type_alias do
118
+ T.any(
119
+ Increase::LockboxRecipientListParams::CreatedAt,
120
+ Increase::Internal::AnyHash
121
+ )
122
+ end
123
+
124
+ # Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
125
+ # timestamp.
126
+ sig { returns(T.nilable(Time)) }
127
+ attr_reader :after
128
+
129
+ sig { params(after: Time).void }
130
+ attr_writer :after
131
+
132
+ # Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
133
+ # timestamp.
134
+ sig { returns(T.nilable(Time)) }
135
+ attr_reader :before
136
+
137
+ sig { params(before: Time).void }
138
+ attr_writer :before
139
+
140
+ # Return results on or after this
141
+ # [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
142
+ sig { returns(T.nilable(Time)) }
143
+ attr_reader :on_or_after
144
+
145
+ sig { params(on_or_after: Time).void }
146
+ attr_writer :on_or_after
147
+
148
+ # Return results on or before this
149
+ # [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
150
+ sig { returns(T.nilable(Time)) }
151
+ attr_reader :on_or_before
152
+
153
+ sig { params(on_or_before: Time).void }
154
+ attr_writer :on_or_before
155
+
156
+ sig do
157
+ params(
158
+ after: Time,
159
+ before: Time,
160
+ on_or_after: Time,
161
+ on_or_before: Time
162
+ ).returns(T.attached_class)
163
+ end
164
+ def self.new(
165
+ # Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
166
+ # timestamp.
167
+ after: nil,
168
+ # Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
169
+ # timestamp.
170
+ before: nil,
171
+ # Return results on or after this
172
+ # [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
173
+ on_or_after: nil,
174
+ # Return results on or before this
175
+ # [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
176
+ on_or_before: nil
177
+ )
178
+ end
179
+
180
+ sig do
181
+ override.returns(
182
+ { after: Time, before: Time, on_or_after: Time, on_or_before: Time }
183
+ )
184
+ end
185
+ def to_hash
186
+ end
187
+ end
188
+ end
189
+ end
190
+ end
@@ -2,31 +2,31 @@
2
2
 
3
3
  module Increase
4
4
  module Models
5
- class BookkeepingEntryRetrieveParams < Increase::Internal::Type::BaseModel
5
+ class LockboxRecipientRetrieveParams < Increase::Internal::Type::BaseModel
6
6
  extend Increase::Internal::Type::RequestParameters::Converter
7
7
  include Increase::Internal::Type::RequestParameters
8
8
 
9
9
  OrHash =
10
10
  T.type_alias do
11
11
  T.any(
12
- Increase::BookkeepingEntryRetrieveParams,
12
+ Increase::LockboxRecipientRetrieveParams,
13
13
  Increase::Internal::AnyHash
14
14
  )
15
15
  end
16
16
 
17
- # The identifier of the Bookkeeping Entry.
17
+ # The identifier of the Lockbox Recipient to retrieve.
18
18
  sig { returns(String) }
19
- attr_accessor :bookkeeping_entry_id
19
+ attr_accessor :lockbox_recipient_id
20
20
 
21
21
  sig do
22
22
  params(
23
- bookkeeping_entry_id: String,
23
+ lockbox_recipient_id: String,
24
24
  request_options: Increase::RequestOptions::OrHash
25
25
  ).returns(T.attached_class)
26
26
  end
27
27
  def self.new(
28
- # The identifier of the Bookkeeping Entry.
29
- bookkeeping_entry_id:,
28
+ # The identifier of the Lockbox Recipient to retrieve.
29
+ lockbox_recipient_id:,
30
30
  request_options: {}
31
31
  )
32
32
  end
@@ -34,7 +34,7 @@ module Increase
34
34
  sig do
35
35
  override.returns(
36
36
  {
37
- bookkeeping_entry_id: String,
37
+ lockbox_recipient_id: String,
38
38
  request_options: Increase::RequestOptions
39
39
  }
40
40
  )
@@ -0,0 +1,129 @@
1
+ # typed: strong
2
+
3
+ module Increase
4
+ module Models
5
+ class LockboxRecipientUpdateParams < Increase::Internal::Type::BaseModel
6
+ extend Increase::Internal::Type::RequestParameters::Converter
7
+ include Increase::Internal::Type::RequestParameters
8
+
9
+ OrHash =
10
+ T.type_alias do
11
+ T.any(
12
+ Increase::LockboxRecipientUpdateParams,
13
+ Increase::Internal::AnyHash
14
+ )
15
+ end
16
+
17
+ # The identifier of the Lockbox Recipient.
18
+ sig { returns(String) }
19
+ attr_accessor :lockbox_recipient_id
20
+
21
+ # The description you choose for the Lockbox Recipient.
22
+ sig { returns(T.nilable(String)) }
23
+ attr_reader :description
24
+
25
+ sig { params(description: String).void }
26
+ attr_writer :description
27
+
28
+ # The name of the Lockbox Recipient.
29
+ sig { returns(T.nilable(String)) }
30
+ attr_reader :recipient_name
31
+
32
+ sig { params(recipient_name: String).void }
33
+ attr_writer :recipient_name
34
+
35
+ # The status of the Lockbox Recipient.
36
+ sig do
37
+ returns(
38
+ T.nilable(Increase::LockboxRecipientUpdateParams::Status::OrSymbol)
39
+ )
40
+ end
41
+ attr_reader :status
42
+
43
+ sig do
44
+ params(
45
+ status: Increase::LockboxRecipientUpdateParams::Status::OrSymbol
46
+ ).void
47
+ end
48
+ attr_writer :status
49
+
50
+ sig do
51
+ params(
52
+ lockbox_recipient_id: String,
53
+ description: String,
54
+ recipient_name: String,
55
+ status: Increase::LockboxRecipientUpdateParams::Status::OrSymbol,
56
+ request_options: Increase::RequestOptions::OrHash
57
+ ).returns(T.attached_class)
58
+ end
59
+ def self.new(
60
+ # The identifier of the Lockbox Recipient.
61
+ lockbox_recipient_id:,
62
+ # The description you choose for the Lockbox Recipient.
63
+ description: nil,
64
+ # The name of the Lockbox Recipient.
65
+ recipient_name: nil,
66
+ # The status of the Lockbox Recipient.
67
+ status: nil,
68
+ request_options: {}
69
+ )
70
+ end
71
+
72
+ sig do
73
+ override.returns(
74
+ {
75
+ lockbox_recipient_id: String,
76
+ description: String,
77
+ recipient_name: String,
78
+ status: Increase::LockboxRecipientUpdateParams::Status::OrSymbol,
79
+ request_options: Increase::RequestOptions
80
+ }
81
+ )
82
+ end
83
+ def to_hash
84
+ end
85
+
86
+ # The status of the Lockbox Recipient.
87
+ module Status
88
+ extend Increase::Internal::Type::Enum
89
+
90
+ TaggedSymbol =
91
+ T.type_alias do
92
+ T.all(Symbol, Increase::LockboxRecipientUpdateParams::Status)
93
+ end
94
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
95
+
96
+ # This Lockbox Recipient is active.
97
+ ACTIVE =
98
+ T.let(
99
+ :active,
100
+ Increase::LockboxRecipientUpdateParams::Status::TaggedSymbol
101
+ )
102
+
103
+ # This Lockbox Recipient is disabled. Checks mailed to this Lockbox Recipient will be rejected.
104
+ DISABLED =
105
+ T.let(
106
+ :disabled,
107
+ Increase::LockboxRecipientUpdateParams::Status::TaggedSymbol
108
+ )
109
+
110
+ # This Lockbox Recipient is canceled and cannot be modified. Checks mailed to this Lockbox Recipient will be rejected.
111
+ CANCELED =
112
+ T.let(
113
+ :canceled,
114
+ Increase::LockboxRecipientUpdateParams::Status::TaggedSymbol
115
+ )
116
+
117
+ sig do
118
+ override.returns(
119
+ T::Array[
120
+ Increase::LockboxRecipientUpdateParams::Status::TaggedSymbol
121
+ ]
122
+ )
123
+ end
124
+ def self.values
125
+ end
126
+ end
127
+ end
128
+ end
129
+ end
@@ -301,6 +301,13 @@ module Increase
301
301
  Increase::Simulations::CardTokenCreateParams::Capability::Route::TaggedSymbol
302
302
  )
303
303
 
304
+ # Pulse
305
+ PULSE =
306
+ T.let(
307
+ :pulse,
308
+ Increase::Simulations::CardTokenCreateParams::Capability::Route::TaggedSymbol
309
+ )
310
+
304
311
  sig do
305
312
  override.returns(
306
313
  T::Array[
@@ -19,10 +19,6 @@ module Increase
19
19
  sig { returns(Integer) }
20
20
  attr_accessor :amount
21
21
 
22
- # The identifier of the Lockbox to simulate inbound mail to.
23
- sig { returns(String) }
24
- attr_accessor :lockbox_id
25
-
26
22
  # The file containing the PDF contents. If not present, a default check image file
27
23
  # will be used.
28
24
  sig { returns(T.nilable(String)) }
@@ -31,22 +27,39 @@ module Increase
31
27
  sig { params(contents_file_id: String).void }
32
28
  attr_writer :contents_file_id
33
29
 
30
+ # The identifier of the Lockbox Address to simulate inbound mail to.
31
+ sig { returns(T.nilable(String)) }
32
+ attr_reader :lockbox_address_id
33
+
34
+ sig { params(lockbox_address_id: String).void }
35
+ attr_writer :lockbox_address_id
36
+
37
+ # The identifier of the Lockbox Recipient to simulate inbound mail to.
38
+ sig { returns(T.nilable(String)) }
39
+ attr_reader :lockbox_recipient_id
40
+
41
+ sig { params(lockbox_recipient_id: String).void }
42
+ attr_writer :lockbox_recipient_id
43
+
34
44
  sig do
35
45
  params(
36
46
  amount: Integer,
37
- lockbox_id: String,
38
47
  contents_file_id: String,
48
+ lockbox_address_id: String,
49
+ lockbox_recipient_id: String,
39
50
  request_options: Increase::RequestOptions::OrHash
40
51
  ).returns(T.attached_class)
41
52
  end
42
53
  def self.new(
43
54
  # The amount of the check to be simulated, in cents.
44
55
  amount:,
45
- # The identifier of the Lockbox to simulate inbound mail to.
46
- lockbox_id:,
47
56
  # The file containing the PDF contents. If not present, a default check image file
48
57
  # will be used.
49
58
  contents_file_id: nil,
59
+ # The identifier of the Lockbox Address to simulate inbound mail to.
60
+ lockbox_address_id: nil,
61
+ # The identifier of the Lockbox Recipient to simulate inbound mail to.
62
+ lockbox_recipient_id: nil,
50
63
  request_options: {}
51
64
  )
52
65
  end
@@ -55,8 +68,9 @@ module Increase
55
68
  override.returns(
56
69
  {
57
70
  amount: Integer,
58
- lockbox_id: String,
59
71
  contents_file_id: String,
72
+ lockbox_address_id: String,
73
+ lockbox_recipient_id: String,
60
74
  request_options: Increase::RequestOptions
61
75
  }
62
76
  )
@@ -80,39 +80,6 @@ module Increase
80
80
 
81
81
  BeneficialOwnerUpdateParams = Increase::Models::BeneficialOwnerUpdateParams
82
82
 
83
- BookkeepingAccount = Increase::Models::BookkeepingAccount
84
-
85
- BookkeepingAccountBalanceParams =
86
- Increase::Models::BookkeepingAccountBalanceParams
87
-
88
- BookkeepingAccountCreateParams =
89
- Increase::Models::BookkeepingAccountCreateParams
90
-
91
- BookkeepingAccountListParams = Increase::Models::BookkeepingAccountListParams
92
-
93
- BookkeepingAccountUpdateParams =
94
- Increase::Models::BookkeepingAccountUpdateParams
95
-
96
- BookkeepingBalanceLookup = Increase::Models::BookkeepingBalanceLookup
97
-
98
- BookkeepingEntry = Increase::Models::BookkeepingEntry
99
-
100
- BookkeepingEntryListParams = Increase::Models::BookkeepingEntryListParams
101
-
102
- BookkeepingEntryRetrieveParams =
103
- Increase::Models::BookkeepingEntryRetrieveParams
104
-
105
- BookkeepingEntrySet = Increase::Models::BookkeepingEntrySet
106
-
107
- BookkeepingEntrySetCreateParams =
108
- Increase::Models::BookkeepingEntrySetCreateParams
109
-
110
- BookkeepingEntrySetListParams =
111
- Increase::Models::BookkeepingEntrySetListParams
112
-
113
- BookkeepingEntrySetRetrieveParams =
114
- Increase::Models::BookkeepingEntrySetRetrieveParams
115
-
116
83
  Card = Increase::Models::Card
117
84
 
118
85
  CardCreateDetailsIframeParams =
@@ -451,15 +418,26 @@ module Increase
451
418
  IntrafiExclusionRetrieveParams =
452
419
  Increase::Models::IntrafiExclusionRetrieveParams
453
420
 
454
- Lockbox = Increase::Models::Lockbox
421
+ LockboxAddress = Increase::Models::LockboxAddress
422
+
423
+ LockboxAddressCreateParams = Increase::Models::LockboxAddressCreateParams
424
+
425
+ LockboxAddressListParams = Increase::Models::LockboxAddressListParams
426
+
427
+ LockboxAddressRetrieveParams = Increase::Models::LockboxAddressRetrieveParams
428
+
429
+ LockboxAddressUpdateParams = Increase::Models::LockboxAddressUpdateParams
430
+
431
+ LockboxRecipient = Increase::Models::LockboxRecipient
455
432
 
456
- LockboxCreateParams = Increase::Models::LockboxCreateParams
433
+ LockboxRecipientCreateParams = Increase::Models::LockboxRecipientCreateParams
457
434
 
458
- LockboxListParams = Increase::Models::LockboxListParams
435
+ LockboxRecipientListParams = Increase::Models::LockboxRecipientListParams
459
436
 
460
- LockboxRetrieveParams = Increase::Models::LockboxRetrieveParams
437
+ LockboxRecipientRetrieveParams =
438
+ Increase::Models::LockboxRecipientRetrieveParams
461
439
 
462
- LockboxUpdateParams = Increase::Models::LockboxUpdateParams
440
+ LockboxRecipientUpdateParams = Increase::Models::LockboxRecipientUpdateParams
463
441
 
464
442
  OAuthApplication = Increase::Models::OAuthApplication
465
443
 
@@ -23,7 +23,8 @@ module Increase
23
23
  created_at: Increase::InboundMailItemListParams::CreatedAt::OrHash,
24
24
  cursor: String,
25
25
  limit: Integer,
26
- lockbox_id: String,
26
+ lockbox_address_id: String,
27
+ lockbox_recipient_id: String,
27
28
  request_options: Increase::RequestOptions::OrHash
28
29
  ).returns(Increase::Internal::Page[Increase::InboundMailItem])
29
30
  end
@@ -34,8 +35,10 @@ module Increase
34
35
  # Limit the size of the list that is returned. The default (and maximum) is 100
35
36
  # objects.
36
37
  limit: nil,
37
- # Filter Inbound Mail Items to ones sent to the provided Lockbox.
38
- lockbox_id: nil,
38
+ # Filter Inbound Mail Items to ones sent to the provided Lockbox Address.
39
+ lockbox_address_id: nil,
40
+ # Filter Inbound Mail Items to ones sent to the provided Lockbox Recipient.
41
+ lockbox_recipient_id: nil,
39
42
  request_options: {}
40
43
  )
41
44
  end