increase 1.304.0 → 1.306.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 (87) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +17 -0
  3. data/README.md +1 -1
  4. data/lib/increase/client.rb +21 -3
  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 -5
  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 -6
  30. data/rbi/increase/client.rbi +5 -2
  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/{lockbox_retrieve_params.rbi → lockbox_address_retrieve_params.rbi} +14 -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/lockbox_recipient_retrieve_params.rbi +46 -0
  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 -5
  50. data/rbi/increase/resources/inbound_mail_items.rbi +6 -3
  51. data/rbi/increase/resources/lockbox_addresses.rbi +86 -0
  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 -1
  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_address_create_params.rbs +25 -0
  63. data/sig/increase/models/{lockbox_list_params.rbs → lockbox_address_list_params.rbs} +8 -15
  64. data/sig/increase/models/{lockbox_retrieve_params.rbs → lockbox_address_retrieve_params.rbs} +7 -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/lockbox_recipient_retrieve_params.rbs +24 -0
  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 -5
  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 -20
  79. data/lib/increase/models/lockbox.rb +0 -185
  80. data/lib/increase/models/lockbox_create_params.rb +0 -38
  81. data/lib/increase/models/lockbox_retrieve_params.rb +0 -22
  82. data/lib/increase/models/lockbox_update_params.rb +0 -63
  83. data/lib/increase/resources/lockboxes.rb +0 -123
  84. data/rbi/increase/models/lockbox.rbi +0 -251
  85. data/rbi/increase/models/lockbox_update_params.rbi +0 -131
  86. data/sig/increase/models/lockbox.rbs +0 -129
  87. data/sig/increase/models/lockbox_update_params.rbs +0 -66
@@ -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
@@ -0,0 +1,46 @@
1
+ # typed: strong
2
+
3
+ module Increase
4
+ module Models
5
+ class LockboxRecipientRetrieveParams < 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::LockboxRecipientRetrieveParams,
13
+ Increase::Internal::AnyHash
14
+ )
15
+ end
16
+
17
+ # The identifier of the Lockbox Recipient to retrieve.
18
+ sig { returns(String) }
19
+ attr_accessor :lockbox_recipient_id
20
+
21
+ sig do
22
+ params(
23
+ lockbox_recipient_id: String,
24
+ request_options: Increase::RequestOptions::OrHash
25
+ ).returns(T.attached_class)
26
+ end
27
+ def self.new(
28
+ # The identifier of the Lockbox Recipient to retrieve.
29
+ lockbox_recipient_id:,
30
+ request_options: {}
31
+ )
32
+ end
33
+
34
+ sig do
35
+ override.returns(
36
+ {
37
+ lockbox_recipient_id: String,
38
+ request_options: Increase::RequestOptions
39
+ }
40
+ )
41
+ end
42
+ def to_hash
43
+ end
44
+ end
45
+ end
46
+ end
@@ -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
  )
@@ -418,15 +418,26 @@ module Increase
418
418
  IntrafiExclusionRetrieveParams =
419
419
  Increase::Models::IntrafiExclusionRetrieveParams
420
420
 
421
- Lockbox = Increase::Models::Lockbox
421
+ LockboxAddress = Increase::Models::LockboxAddress
422
422
 
423
- LockboxCreateParams = Increase::Models::LockboxCreateParams
423
+ LockboxAddressCreateParams = Increase::Models::LockboxAddressCreateParams
424
424
 
425
- LockboxListParams = Increase::Models::LockboxListParams
425
+ LockboxAddressListParams = Increase::Models::LockboxAddressListParams
426
426
 
427
- LockboxRetrieveParams = Increase::Models::LockboxRetrieveParams
427
+ LockboxAddressRetrieveParams = Increase::Models::LockboxAddressRetrieveParams
428
428
 
429
- LockboxUpdateParams = Increase::Models::LockboxUpdateParams
429
+ LockboxAddressUpdateParams = Increase::Models::LockboxAddressUpdateParams
430
+
431
+ LockboxRecipient = Increase::Models::LockboxRecipient
432
+
433
+ LockboxRecipientCreateParams = Increase::Models::LockboxRecipientCreateParams
434
+
435
+ LockboxRecipientListParams = Increase::Models::LockboxRecipientListParams
436
+
437
+ LockboxRecipientRetrieveParams =
438
+ Increase::Models::LockboxRecipientRetrieveParams
439
+
440
+ LockboxRecipientUpdateParams = Increase::Models::LockboxRecipientUpdateParams
430
441
 
431
442
  OAuthApplication = Increase::Models::OAuthApplication
432
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
@@ -0,0 +1,86 @@
1
+ # typed: strong
2
+
3
+ module Increase
4
+ module Resources
5
+ class LockboxAddresses
6
+ # Create a Lockbox Address
7
+ sig do
8
+ params(
9
+ description: String,
10
+ request_options: Increase::RequestOptions::OrHash
11
+ ).returns(Increase::LockboxAddress)
12
+ end
13
+ def create(
14
+ # The description you choose for the Lockbox Address.
15
+ description: nil,
16
+ request_options: {}
17
+ )
18
+ end
19
+
20
+ # Retrieve a Lockbox Address
21
+ sig do
22
+ params(
23
+ lockbox_address_id: String,
24
+ request_options: Increase::RequestOptions::OrHash
25
+ ).returns(Increase::LockboxAddress)
26
+ end
27
+ def retrieve(
28
+ # The identifier of the Lockbox Address to retrieve.
29
+ lockbox_address_id,
30
+ request_options: {}
31
+ )
32
+ end
33
+
34
+ # Update a Lockbox Address
35
+ sig do
36
+ params(
37
+ lockbox_address_id: String,
38
+ description: String,
39
+ status: Increase::LockboxAddressUpdateParams::Status::OrSymbol,
40
+ request_options: Increase::RequestOptions::OrHash
41
+ ).returns(Increase::LockboxAddress)
42
+ end
43
+ def update(
44
+ # The identifier of the Lockbox Address.
45
+ lockbox_address_id,
46
+ # The description you choose for the Lockbox Address.
47
+ description: nil,
48
+ # The status of the Lockbox Address.
49
+ status: nil,
50
+ request_options: {}
51
+ )
52
+ end
53
+
54
+ # List Lockbox Addresses
55
+ sig do
56
+ params(
57
+ created_at: Increase::LockboxAddressListParams::CreatedAt::OrHash,
58
+ cursor: String,
59
+ idempotency_key: String,
60
+ limit: Integer,
61
+ request_options: Increase::RequestOptions::OrHash
62
+ ).returns(Increase::Internal::Page[Increase::LockboxAddress])
63
+ end
64
+ def list(
65
+ created_at: nil,
66
+ # Return the page of entries after this one.
67
+ cursor: nil,
68
+ # Filter records to the one with the specified `idempotency_key` you chose for
69
+ # that object. This value is unique across Increase and is used to ensure that a
70
+ # request is only processed once. Learn more about
71
+ # [idempotency](https://increase.com/documentation/idempotency-keys).
72
+ idempotency_key: nil,
73
+ # Limit the size of the list that is returned. The default (and maximum) is 100
74
+ # objects.
75
+ limit: nil,
76
+ request_options: {}
77
+ )
78
+ end
79
+
80
+ # @api private
81
+ sig { params(client: Increase::Client).returns(T.attached_class) }
82
+ def self.new(client:)
83
+ end
84
+ end
85
+ end
86
+ end