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,54 +2,67 @@
2
2
 
3
3
  module Increase
4
4
  module Resources
5
- class BookkeepingEntrySets
6
- # Create a Bookkeeping Entry Set
5
+ class LockboxAddresses
6
+ # Create a Lockbox Address
7
7
  sig do
8
8
  params(
9
- entries:
10
- T::Array[Increase::BookkeepingEntrySetCreateParams::Entry::OrHash],
11
- date: Time,
12
- transaction_id: String,
9
+ description: String,
13
10
  request_options: Increase::RequestOptions::OrHash
14
- ).returns(Increase::BookkeepingEntrySet)
11
+ ).returns(Increase::LockboxAddress)
15
12
  end
16
13
  def create(
17
- # The bookkeeping entries.
18
- entries:,
19
- # The date of the transaction. Optional if `transaction_id` is provided, in which
20
- # case we use the `date` of that transaction. Required otherwise.
21
- date: nil,
22
- # The identifier of the Transaction related to this entry set, if any.
23
- transaction_id: nil,
14
+ # The description you choose for the Lockbox Address.
15
+ description: nil,
24
16
  request_options: {}
25
17
  )
26
18
  end
27
19
 
28
- # Retrieve a Bookkeeping Entry Set
20
+ # Retrieve a Lockbox Address
29
21
  sig do
30
22
  params(
31
- bookkeeping_entry_set_id: String,
23
+ lockbox_address_id: String,
32
24
  request_options: Increase::RequestOptions::OrHash
33
- ).returns(Increase::BookkeepingEntrySet)
25
+ ).returns(Increase::LockboxAddress)
34
26
  end
35
27
  def retrieve(
36
- # The identifier of the Bookkeeping Entry Set.
37
- bookkeeping_entry_set_id,
28
+ # The identifier of the Lockbox Address to retrieve.
29
+ lockbox_address_id,
38
30
  request_options: {}
39
31
  )
40
32
  end
41
33
 
42
- # List Bookkeeping Entry Sets
34
+ # Update a Lockbox Address
43
35
  sig do
44
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,
45
58
  cursor: String,
46
59
  idempotency_key: String,
47
60
  limit: Integer,
48
- transaction_id: String,
49
61
  request_options: Increase::RequestOptions::OrHash
50
- ).returns(Increase::Internal::Page[Increase::BookkeepingEntrySet])
62
+ ).returns(Increase::Internal::Page[Increase::LockboxAddress])
51
63
  end
52
64
  def list(
65
+ created_at: nil,
53
66
  # Return the page of entries after this one.
54
67
  cursor: nil,
55
68
  # Filter records to the one with the specified `idempotency_key` you chose for
@@ -60,8 +73,6 @@ module Increase
60
73
  # Limit the size of the list that is returned. The default (and maximum) is 100
61
74
  # objects.
62
75
  limit: nil,
63
- # Filter to the Bookkeeping Entry Set that maps to this Transaction.
64
- transaction_id: nil,
65
76
  request_options: {}
66
77
  )
67
78
  end
@@ -2,78 +2,81 @@
2
2
 
3
3
  module Increase
4
4
  module Resources
5
- class Lockboxes
6
- # Create a Lockbox
5
+ class LockboxRecipients
6
+ # Create a Lockbox Recipient
7
7
  sig do
8
8
  params(
9
9
  account_id: String,
10
+ lockbox_address_id: String,
10
11
  description: String,
11
12
  recipient_name: String,
12
13
  request_options: Increase::RequestOptions::OrHash
13
- ).returns(Increase::Lockbox)
14
+ ).returns(Increase::LockboxRecipient)
14
15
  end
15
16
  def create(
16
- # 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.
17
18
  account_id:,
18
- # The description you choose for the Lockbox, for display purposes.
19
+ # The Lockbox Address where this Lockbox Recipient may receive mail.
20
+ lockbox_address_id:,
21
+ # The description you choose for the Lockbox Recipient.
19
22
  description: nil,
20
- # The name of the recipient that will receive mail at this location.
23
+ # The name of the Lockbox Recipient
21
24
  recipient_name: nil,
22
25
  request_options: {}
23
26
  )
24
27
  end
25
28
 
26
- # Retrieve a Lockbox
29
+ # Retrieve a Lockbox Recipient
27
30
  sig do
28
31
  params(
29
- lockbox_id: String,
32
+ lockbox_recipient_id: String,
30
33
  request_options: Increase::RequestOptions::OrHash
31
- ).returns(Increase::Lockbox)
34
+ ).returns(Increase::LockboxRecipient)
32
35
  end
33
36
  def retrieve(
34
- # The identifier of the Lockbox to retrieve.
35
- lockbox_id,
37
+ # The identifier of the Lockbox Recipient to retrieve.
38
+ lockbox_recipient_id,
36
39
  request_options: {}
37
40
  )
38
41
  end
39
42
 
40
- # Update a Lockbox
43
+ # Update a Lockbox Recipient
41
44
  sig do
42
45
  params(
43
- lockbox_id: String,
44
- check_deposit_behavior:
45
- Increase::LockboxUpdateParams::CheckDepositBehavior::OrSymbol,
46
+ lockbox_recipient_id: String,
46
47
  description: String,
47
48
  recipient_name: String,
49
+ status: Increase::LockboxRecipientUpdateParams::Status::OrSymbol,
48
50
  request_options: Increase::RequestOptions::OrHash
49
- ).returns(Increase::Lockbox)
51
+ ).returns(Increase::LockboxRecipient)
50
52
  end
51
53
  def update(
52
- # The identifier of the Lockbox.
53
- lockbox_id,
54
- # This indicates if checks mailed to this lockbox will be deposited.
55
- check_deposit_behavior: nil,
56
- # The description you choose for the Lockbox.
54
+ # The identifier of the Lockbox Recipient.
55
+ lockbox_recipient_id,
56
+ # The description you choose for the Lockbox Recipient.
57
57
  description: nil,
58
- # The recipient name you choose for the Lockbox.
58
+ # The name of the Lockbox Recipient.
59
59
  recipient_name: nil,
60
+ # The status of the Lockbox Recipient.
61
+ status: nil,
60
62
  request_options: {}
61
63
  )
62
64
  end
63
65
 
64
- # List Lockboxes
66
+ # List Lockbox Recipients
65
67
  sig do
66
68
  params(
67
69
  account_id: String,
68
- created_at: Increase::LockboxListParams::CreatedAt::OrHash,
70
+ created_at: Increase::LockboxRecipientListParams::CreatedAt::OrHash,
69
71
  cursor: String,
70
72
  idempotency_key: String,
71
73
  limit: Integer,
74
+ lockbox_address_id: String,
72
75
  request_options: Increase::RequestOptions::OrHash
73
- ).returns(Increase::Internal::Page[Increase::Lockbox])
76
+ ).returns(Increase::Internal::Page[Increase::LockboxRecipient])
74
77
  end
75
78
  def list(
76
- # Filter Lockboxes to those associated with the provided Account.
79
+ # Filter Lockbox Recipients to those associated with the provided Account.
77
80
  account_id: nil,
78
81
  created_at: nil,
79
82
  # Return the page of entries after this one.
@@ -86,6 +89,8 @@ module Increase
86
89
  # Limit the size of the list that is returned. The default (and maximum) is 100
87
90
  # objects.
88
91
  limit: nil,
92
+ # Filter Lockbox Recipients to those associated with the provided Lockbox Address.
93
+ lockbox_address_id: nil,
89
94
  request_options: {}
90
95
  )
91
96
  end
@@ -9,19 +9,22 @@ module Increase
9
9
  sig do
10
10
  params(
11
11
  amount: Integer,
12
- lockbox_id: String,
13
12
  contents_file_id: String,
13
+ lockbox_address_id: String,
14
+ lockbox_recipient_id: String,
14
15
  request_options: Increase::RequestOptions::OrHash
15
16
  ).returns(Increase::InboundMailItem)
16
17
  end
17
18
  def create(
18
19
  # The amount of the check to be simulated, in cents.
19
20
  amount:,
20
- # The identifier of the Lockbox to simulate inbound mail to.
21
- lockbox_id:,
22
21
  # The file containing the PDF contents. If not present, a default check image file
23
22
  # will be used.
24
23
  contents_file_id: nil,
24
+ # The identifier of the Lockbox Address to simulate inbound mail to.
25
+ lockbox_address_id: nil,
26
+ # The identifier of the Lockbox Recipient to simulate inbound mail to.
27
+ lockbox_recipient_id: nil,
25
28
  request_options: {}
26
29
  )
27
30
  end
@@ -75,7 +75,9 @@ module Increase
75
75
 
76
76
  attr_reader check_deposits: Increase::Resources::CheckDeposits
77
77
 
78
- attr_reader lockboxes: Increase::Resources::Lockboxes
78
+ attr_reader lockbox_addresses: Increase::Resources::LockboxAddresses
79
+
80
+ attr_reader lockbox_recipients: Increase::Resources::LockboxRecipients
79
81
 
80
82
  attr_reader inbound_mail_items: Increase::Resources::InboundMailItems
81
83
 
@@ -107,12 +109,6 @@ module Increase
107
109
 
108
110
  attr_reader real_time_decisions: Increase::Resources::RealTimeDecisions
109
111
 
110
- attr_reader bookkeeping_accounts: Increase::Resources::BookkeepingAccounts
111
-
112
- attr_reader bookkeeping_entry_sets: Increase::Resources::BookkeepingEntrySets
113
-
114
- attr_reader bookkeeping_entries: Increase::Resources::BookkeepingEntries
115
-
116
112
  attr_reader groups: Increase::Resources::Groups
117
113
 
118
114
  attr_reader oauth_applications: Increase::Resources::OAuthApplications
@@ -1327,7 +1327,7 @@ module Increase
1327
1327
  end
1328
1328
  end
1329
1329
 
1330
- type route = :visa | :mastercard
1330
+ type route = :visa | :mastercard | :pulse
1331
1331
 
1332
1332
  module Route
1333
1333
  extend Increase::Internal::Type::Enum
@@ -1338,6 +1338,9 @@ module Increase
1338
1338
  # Mastercard and Maestro
1339
1339
  MASTERCARD: :mastercard
1340
1340
 
1341
+ # Pulse
1342
+ PULSE: :pulse
1343
+
1341
1344
  def self?.values: -> ::Array[Increase::Models::CardPushTransfer::route]
1342
1345
  end
1343
1346
 
@@ -80,7 +80,7 @@ module Increase
80
80
  def self?.values: -> ::Array[Increase::Models::CardTokenCapabilities::Route::domestic_push_transfers]
81
81
  end
82
82
 
83
- type route = :visa | :mastercard
83
+ type route = :visa | :mastercard | :pulse
84
84
 
85
85
  module Route
86
86
  extend Increase::Internal::Type::Enum
@@ -91,6 +91,9 @@ module Increase
91
91
  # Mastercard and Maestro
92
92
  MASTERCARD: :mastercard
93
93
 
94
+ # Pulse
95
+ PULSE: :pulse
96
+
94
97
  def self?.values: -> ::Array[Increase::Models::CardTokenCapabilities::Route::route]
95
98
  end
96
99
  end
@@ -655,7 +655,7 @@ module Increase
655
655
  end
656
656
  end
657
657
 
658
- type route = :visa | :mastercard
658
+ type route = :visa | :mastercard | :pulse
659
659
 
660
660
  module Route
661
661
  extend Increase::Internal::Type::Enum
@@ -666,6 +666,9 @@ module Increase
666
666
  # Mastercard and Maestro
667
667
  MASTERCARD: :mastercard
668
668
 
669
+ # Pulse
670
+ PULSE: :pulse
671
+
669
672
  def self?.values: -> ::Array[Increase::Models::CardValidation::route]
670
673
  end
671
674
 
@@ -17,7 +17,7 @@ module Increase
17
17
  idempotency_key: String?,
18
18
  inbound_funds_hold: Increase::CheckDeposit::InboundFundsHold?,
19
19
  inbound_mail_item_id: String?,
20
- lockbox_id: String?,
20
+ lockbox_recipient_id: String?,
21
21
  status: Increase::Models::CheckDeposit::status,
22
22
  transaction_id: String?,
23
23
  type: Increase::Models::CheckDeposit::type_
@@ -54,7 +54,7 @@ module Increase
54
54
 
55
55
  attr_accessor inbound_mail_item_id: String?
56
56
 
57
- attr_accessor lockbox_id: String?
57
+ attr_accessor lockbox_recipient_id: String?
58
58
 
59
59
  attr_accessor status: Increase::Models::CheckDeposit::status
60
60
 
@@ -78,7 +78,7 @@ module Increase
78
78
  idempotency_key: String?,
79
79
  inbound_funds_hold: Increase::CheckDeposit::InboundFundsHold?,
80
80
  inbound_mail_item_id: String?,
81
- lockbox_id: String?,
81
+ lockbox_recipient_id: String?,
82
82
  status: Increase::Models::CheckDeposit::status,
83
83
  transaction_id: String?,
84
84
  type: Increase::Models::CheckDeposit::type_
@@ -100,7 +100,7 @@ module Increase
100
100
  idempotency_key: String?,
101
101
  inbound_funds_hold: Increase::CheckDeposit::InboundFundsHold?,
102
102
  inbound_mail_item_id: String?,
103
- lockbox_id: String?,
103
+ lockbox_recipient_id: String?,
104
104
  status: Increase::Models::CheckDeposit::status,
105
105
  transaction_id: String?,
106
106
  type: Increase::Models::CheckDeposit::type_
@@ -6,7 +6,8 @@ module Increase
6
6
  checks: ::Array[Increase::InboundMailItem::Check],
7
7
  created_at: Time,
8
8
  file_id: String,
9
- lockbox_id: String?,
9
+ lockbox_address_id: String?,
10
+ lockbox_recipient_id: String?,
10
11
  recipient_name: String?,
11
12
  rejection_reason: Increase::Models::InboundMailItem::rejection_reason?,
12
13
  status: Increase::Models::InboundMailItem::status,
@@ -22,7 +23,9 @@ module Increase
22
23
 
23
24
  attr_accessor file_id: String
24
25
 
25
- attr_accessor lockbox_id: String?
26
+ attr_accessor lockbox_address_id: String?
27
+
28
+ attr_accessor lockbox_recipient_id: String?
26
29
 
27
30
  attr_accessor recipient_name: String?
28
31
 
@@ -37,7 +40,8 @@ module Increase
37
40
  checks: ::Array[Increase::InboundMailItem::Check],
38
41
  created_at: Time,
39
42
  file_id: String,
40
- lockbox_id: String?,
43
+ lockbox_address_id: String?,
44
+ lockbox_recipient_id: String?,
41
45
  recipient_name: String?,
42
46
  rejection_reason: Increase::Models::InboundMailItem::rejection_reason?,
43
47
  status: Increase::Models::InboundMailItem::status,
@@ -49,7 +53,8 @@ module Increase
49
53
  checks: ::Array[Increase::InboundMailItem::Check],
50
54
  created_at: Time,
51
55
  file_id: String,
52
- lockbox_id: String?,
56
+ lockbox_address_id: String?,
57
+ lockbox_recipient_id: String?,
53
58
  recipient_name: String?,
54
59
  rejection_reason: Increase::Models::InboundMailItem::rejection_reason?,
55
60
  status: Increase::Models::InboundMailItem::status,
@@ -111,7 +116,11 @@ module Increase
111
116
  end
112
117
 
113
118
  type rejection_reason =
114
- :no_matching_lockbox | :no_check | :lockbox_not_active
119
+ :no_matching_lockbox
120
+ | :no_check
121
+ | :lockbox_not_active
122
+ | :lockbox_address_not_active
123
+ | :lockbox_recipient_not_active
115
124
 
116
125
  module RejectionReason
117
126
  extend Increase::Internal::Type::Enum
@@ -125,6 +134,12 @@ module Increase
125
134
  # The Lockbox or its associated Account is not active.
126
135
  LOCKBOX_NOT_ACTIVE: :lockbox_not_active
127
136
 
137
+ # The Lockbox Address is not active.
138
+ LOCKBOX_ADDRESS_NOT_ACTIVE: :lockbox_address_not_active
139
+
140
+ # The Lockbox Recipient or its associated Account is not active.
141
+ LOCKBOX_RECIPIENT_NOT_ACTIVE: :lockbox_recipient_not_active
142
+
128
143
  def self?.values: -> ::Array[Increase::Models::InboundMailItem::rejection_reason]
129
144
  end
130
145
 
@@ -5,7 +5,8 @@ module Increase
5
5
  created_at: Increase::InboundMailItemListParams::CreatedAt,
6
6
  cursor: String,
7
7
  limit: Integer,
8
- lockbox_id: String
8
+ lockbox_address_id: String,
9
+ lockbox_recipient_id: String
9
10
  }
10
11
  & Increase::Internal::Type::request_parameters
11
12
 
@@ -27,15 +28,20 @@ module Increase
27
28
 
28
29
  def limit=: (Integer) -> Integer
29
30
 
30
- attr_reader lockbox_id: String?
31
+ attr_reader lockbox_address_id: String?
31
32
 
32
- def lockbox_id=: (String) -> String
33
+ def lockbox_address_id=: (String) -> String
34
+
35
+ attr_reader lockbox_recipient_id: String?
36
+
37
+ def lockbox_recipient_id=: (String) -> String
33
38
 
34
39
  def initialize: (
35
40
  ?created_at: Increase::InboundMailItemListParams::CreatedAt,
36
41
  ?cursor: String,
37
42
  ?limit: Integer,
38
- ?lockbox_id: String,
43
+ ?lockbox_address_id: String,
44
+ ?lockbox_recipient_id: String,
39
45
  ?request_options: Increase::request_opts
40
46
  ) -> void
41
47
 
@@ -43,7 +49,8 @@ module Increase
43
49
  created_at: Increase::InboundMailItemListParams::CreatedAt,
44
50
  cursor: String,
45
51
  limit: Integer,
46
- lockbox_id: String,
52
+ lockbox_address_id: String,
53
+ lockbox_recipient_id: String,
47
54
  request_options: Increase::RequestOptions
48
55
  }
49
56
 
@@ -0,0 +1,117 @@
1
+ module Increase
2
+ module Models
3
+ type lockbox_address =
4
+ {
5
+ id: String,
6
+ address: Increase::LockboxAddress::Address?,
7
+ created_at: Time,
8
+ description: String?,
9
+ idempotency_key: String?,
10
+ status: Increase::Models::LockboxAddress::status,
11
+ type: Increase::Models::LockboxAddress::type_
12
+ }
13
+
14
+ class LockboxAddress < Increase::Internal::Type::BaseModel
15
+ attr_accessor id: String
16
+
17
+ attr_accessor address: Increase::LockboxAddress::Address?
18
+
19
+ attr_accessor created_at: Time
20
+
21
+ attr_accessor description: String?
22
+
23
+ attr_accessor idempotency_key: String?
24
+
25
+ attr_accessor status: Increase::Models::LockboxAddress::status
26
+
27
+ attr_accessor type: Increase::Models::LockboxAddress::type_
28
+
29
+ def initialize: (
30
+ id: String,
31
+ address: Increase::LockboxAddress::Address?,
32
+ created_at: Time,
33
+ description: String?,
34
+ idempotency_key: String?,
35
+ status: Increase::Models::LockboxAddress::status,
36
+ type: Increase::Models::LockboxAddress::type_
37
+ ) -> void
38
+
39
+ def to_hash: -> {
40
+ id: String,
41
+ address: Increase::LockboxAddress::Address?,
42
+ created_at: Time,
43
+ description: String?,
44
+ idempotency_key: String?,
45
+ status: Increase::Models::LockboxAddress::status,
46
+ type: Increase::Models::LockboxAddress::type_
47
+ }
48
+
49
+ type address =
50
+ {
51
+ city: String,
52
+ :line1 => String,
53
+ :line2 => String,
54
+ postal_code: String,
55
+ state: String
56
+ }
57
+
58
+ class Address < Increase::Internal::Type::BaseModel
59
+ attr_accessor city: String
60
+
61
+ attr_accessor line1: String
62
+
63
+ attr_accessor line2: String
64
+
65
+ attr_accessor postal_code: String
66
+
67
+ attr_accessor state: String
68
+
69
+ def initialize: (
70
+ city: String,
71
+ line1: String,
72
+ line2: String,
73
+ postal_code: String,
74
+ state: String
75
+ ) -> void
76
+
77
+ def to_hash: -> {
78
+ city: String,
79
+ :line1 => String,
80
+ :line2 => String,
81
+ postal_code: String,
82
+ state: String
83
+ }
84
+ end
85
+
86
+ type status = :pending | :active | :disabled | :canceled
87
+
88
+ module Status
89
+ extend Increase::Internal::Type::Enum
90
+
91
+ # Increase is generating this Lockbox Address.
92
+ PENDING: :pending
93
+
94
+ # This Lockbox Address is active.
95
+ ACTIVE: :active
96
+
97
+ # This Lockbox Address is disabled.
98
+ DISABLED: :disabled
99
+
100
+ # This Lockbox Address is permanently disabled.
101
+ CANCELED: :canceled
102
+
103
+ def self?.values: -> ::Array[Increase::Models::LockboxAddress::status]
104
+ end
105
+
106
+ type type_ = :lockbox_address
107
+
108
+ module Type
109
+ extend Increase::Internal::Type::Enum
110
+
111
+ LOCKBOX_ADDRESS: :lockbox_address
112
+
113
+ def self?.values: -> ::Array[Increase::Models::LockboxAddress::type_]
114
+ end
115
+ end
116
+ end
117
+ end
@@ -1,21 +1,23 @@
1
1
  module Increase
2
2
  module Models
3
- type lockbox_retrieve_params =
4
- { lockbox_id: String } & Increase::Internal::Type::request_parameters
3
+ type lockbox_address_create_params =
4
+ { description: String } & Increase::Internal::Type::request_parameters
5
5
 
6
- class LockboxRetrieveParams < Increase::Internal::Type::BaseModel
6
+ class LockboxAddressCreateParams < Increase::Internal::Type::BaseModel
7
7
  extend Increase::Internal::Type::RequestParameters::Converter
8
8
  include Increase::Internal::Type::RequestParameters
9
9
 
10
- attr_accessor lockbox_id: String
10
+ attr_reader description: String?
11
+
12
+ def description=: (String) -> String
11
13
 
12
14
  def initialize: (
13
- lockbox_id: String,
15
+ ?description: String,
14
16
  ?request_options: Increase::request_opts
15
17
  ) -> void
16
18
 
17
19
  def to_hash: -> {
18
- lockbox_id: String,
20
+ description: String,
19
21
  request_options: Increase::RequestOptions
20
22
  }
21
23
  end
@@ -1,28 +1,23 @@
1
1
  module Increase
2
2
  module Models
3
- type lockbox_list_params =
3
+ type lockbox_address_list_params =
4
4
  {
5
- account_id: String,
6
- created_at: Increase::LockboxListParams::CreatedAt,
5
+ created_at: Increase::LockboxAddressListParams::CreatedAt,
7
6
  cursor: String,
8
7
  idempotency_key: String,
9
8
  limit: Integer
10
9
  }
11
10
  & Increase::Internal::Type::request_parameters
12
11
 
13
- class LockboxListParams < Increase::Internal::Type::BaseModel
12
+ class LockboxAddressListParams < Increase::Internal::Type::BaseModel
14
13
  extend Increase::Internal::Type::RequestParameters::Converter
15
14
  include Increase::Internal::Type::RequestParameters
16
15
 
17
- attr_reader account_id: String?
18
-
19
- def account_id=: (String) -> String
20
-
21
- attr_reader created_at: Increase::LockboxListParams::CreatedAt?
16
+ attr_reader created_at: Increase::LockboxAddressListParams::CreatedAt?
22
17
 
23
18
  def created_at=: (
24
- Increase::LockboxListParams::CreatedAt
25
- ) -> Increase::LockboxListParams::CreatedAt
19
+ Increase::LockboxAddressListParams::CreatedAt
20
+ ) -> Increase::LockboxAddressListParams::CreatedAt
26
21
 
27
22
  attr_reader cursor: String?
28
23
 
@@ -37,8 +32,7 @@ module Increase
37
32
  def limit=: (Integer) -> Integer
38
33
 
39
34
  def initialize: (
40
- ?account_id: String,
41
- ?created_at: Increase::LockboxListParams::CreatedAt,
35
+ ?created_at: Increase::LockboxAddressListParams::CreatedAt,
42
36
  ?cursor: String,
43
37
  ?idempotency_key: String,
44
38
  ?limit: Integer,
@@ -46,8 +40,7 @@ module Increase
46
40
  ) -> void
47
41
 
48
42
  def to_hash: -> {
49
- account_id: String,
50
- created_at: Increase::LockboxListParams::CreatedAt,
43
+ created_at: Increase::LockboxAddressListParams::CreatedAt,
51
44
  cursor: String,
52
45
  idempotency_key: String,
53
46
  limit: Integer,