increase 1.348.0 → 1.350.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 (163) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/increase/models/account_create_params.rb +15 -15
  4. data/lib/increase/models/account_number.rb +3 -3
  5. data/lib/increase/models/ach_transfer.rb +12 -12
  6. data/lib/increase/models/balance_lookup.rb +1 -1
  7. data/lib/increase/models/beneficial_owner_create_params.rb +2 -4
  8. data/lib/increase/models/beneficial_owner_update_params.rb +2 -4
  9. data/lib/increase/models/card_dispute.rb +9 -1
  10. data/lib/increase/models/card_dispute_submit_user_submission_params.rb +4 -0
  11. data/lib/increase/models/card_payment.rb +58 -58
  12. data/lib/increase/models/card_purchase_supplement.rb +9 -1
  13. data/lib/increase/models/card_token_capabilities.rb +2 -2
  14. data/lib/increase/models/check_deposit.rb +9 -9
  15. data/lib/increase/models/check_transfer.rb +2 -2
  16. data/lib/increase/models/check_transfer_create_params.rb +9 -4
  17. data/lib/increase/models/declined_transaction.rb +12 -9
  18. data/lib/increase/models/digital_wallet_token.rb +9 -1
  19. data/lib/increase/models/entity.rb +298 -6
  20. data/lib/increase/models/entity_create_params.rb +332 -29
  21. data/lib/increase/models/entity_onboarding_session_list_params.rb +2 -2
  22. data/lib/increase/models/entity_update_params.rb +472 -15
  23. data/lib/increase/models/event.rb +3 -0
  24. data/lib/increase/models/event_list_params.rb +3 -0
  25. data/lib/increase/models/event_subscription.rb +3 -0
  26. data/lib/increase/models/event_subscription_create_params.rb +3 -0
  27. data/lib/increase/models/fednow_transfer.rb +115 -4
  28. data/lib/increase/models/fednow_transfer_list_params.rb +3 -3
  29. data/lib/increase/models/inbound_ach_transfer.rb +2 -2
  30. data/lib/increase/models/inbound_check_deposit.rb +7 -4
  31. data/lib/increase/models/inbound_fednow_transfer.rb +21 -1
  32. data/lib/increase/models/inbound_mail_item.rb +14 -1
  33. data/lib/increase/models/inbound_wire_drawdown_request.rb +12 -1
  34. data/lib/increase/models/inbound_wire_transfer.rb +4 -4
  35. data/lib/increase/models/intrafi_exclusion.rb +4 -4
  36. data/lib/increase/models/lockbox_recipient_create_params.rb +2 -2
  37. data/lib/increase/models/pending_transaction.rb +20 -20
  38. data/lib/increase/models/pending_transaction_list_params.rb +5 -7
  39. data/lib/increase/models/physical_card.rb +9 -1
  40. data/lib/increase/models/physical_card_create_params.rb +6 -3
  41. data/lib/increase/models/real_time_decision.rb +18 -18
  42. data/lib/increase/models/simulations/card_authentication_create_params.rb +2 -2
  43. data/lib/increase/models/simulations/card_dispute_action_params.rb +6 -6
  44. data/lib/increase/models/simulations/entity_update_validation_params.rb +3 -3
  45. data/lib/increase/models/simulations/inbound_check_deposit_adjustment_params.rb +8 -11
  46. data/lib/increase/models/simulations/interest_payment_create_params.rb +2 -2
  47. data/lib/increase/models/simulations/pending_transaction_release_inbound_funds_hold_params.rb +2 -2
  48. data/lib/increase/models/simulations/program_create_params.rb +14 -3
  49. data/lib/increase/models/transaction.rb +146 -19
  50. data/lib/increase/models/transaction_list_params.rb +3 -0
  51. data/lib/increase/models/unwrap_webhook_event.rb +3 -0
  52. data/lib/increase/models/wire_drawdown_request.rb +12 -1
  53. data/lib/increase/models/wire_transfer_create_params.rb +2 -2
  54. data/lib/increase/resources/cards.rb +2 -2
  55. data/lib/increase/resources/check_transfers.rb +1 -1
  56. data/lib/increase/resources/entities.rb +10 -2
  57. data/lib/increase/resources/entity_onboarding_sessions.rb +1 -1
  58. data/lib/increase/resources/lockbox_recipients.rb +1 -1
  59. data/lib/increase/resources/physical_cards.rb +2 -1
  60. data/lib/increase/resources/simulations/card_authentications.rb +1 -1
  61. data/lib/increase/resources/simulations/card_disputes.rb +2 -2
  62. data/lib/increase/resources/simulations/inbound_check_deposits.rb +4 -1
  63. data/lib/increase/resources/simulations/interest_payments.rb +1 -1
  64. data/lib/increase/resources/simulations/pending_transactions.rb +1 -1
  65. data/lib/increase/resources/simulations/physical_cards.rb +2 -2
  66. data/lib/increase/resources/simulations/programs.rb +6 -2
  67. data/lib/increase/resources/wire_transfers.rb +1 -1
  68. data/lib/increase/version.rb +1 -1
  69. data/rbi/increase/models/account_create_params.rbi +37 -21
  70. data/rbi/increase/models/account_number.rbi +3 -3
  71. data/rbi/increase/models/ach_transfer.rbi +12 -12
  72. data/rbi/increase/models/balance_lookup.rbi +1 -1
  73. data/rbi/increase/models/beneficial_owner_create_params.rbi +2 -4
  74. data/rbi/increase/models/beneficial_owner_update_params.rbi +2 -4
  75. data/rbi/increase/models/card_dispute.rbi +8 -0
  76. data/rbi/increase/models/card_dispute_submit_user_submission_params.rbi +3 -0
  77. data/rbi/increase/models/card_payment.rbi +58 -58
  78. data/rbi/increase/models/card_purchase_supplement.rbi +8 -0
  79. data/rbi/increase/models/card_token_capabilities.rbi +2 -2
  80. data/rbi/increase/models/check_deposit.rbi +9 -9
  81. data/rbi/increase/models/check_transfer.rbi +2 -2
  82. data/rbi/increase/models/check_transfer_create_params.rbi +8 -4
  83. data/rbi/increase/models/declined_transaction.rbi +16 -9
  84. data/rbi/increase/models/digital_wallet_token.rbi +8 -0
  85. data/rbi/increase/models/entity.rbi +496 -5
  86. data/rbi/increase/models/entity_create_params.rbi +547 -28
  87. data/rbi/increase/models/entity_onboarding_session_list_params.rbi +2 -2
  88. data/rbi/increase/models/entity_update_params.rbi +814 -14
  89. data/rbi/increase/models/event.rbi +7 -0
  90. data/rbi/increase/models/event_list_params.rbi +7 -0
  91. data/rbi/increase/models/event_subscription.rbi +7 -0
  92. data/rbi/increase/models/event_subscription_create_params.rbi +7 -0
  93. data/rbi/increase/models/fednow_transfer.rbi +213 -7
  94. data/rbi/increase/models/fednow_transfer_list_params.rbi +7 -7
  95. data/rbi/increase/models/inbound_ach_transfer.rbi +2 -2
  96. data/rbi/increase/models/inbound_check_deposit.rbi +6 -4
  97. data/rbi/increase/models/inbound_fednow_transfer.rbi +23 -0
  98. data/rbi/increase/models/inbound_mail_item.rbi +12 -0
  99. data/rbi/increase/models/inbound_wire_drawdown_request.rbi +10 -0
  100. data/rbi/increase/models/inbound_wire_transfer.rbi +4 -4
  101. data/rbi/increase/models/intrafi_exclusion.rbi +4 -4
  102. data/rbi/increase/models/lockbox_recipient_create_params.rbi +2 -2
  103. data/rbi/increase/models/pending_transaction.rbi +20 -20
  104. data/rbi/increase/models/pending_transaction_list_params.rbi +5 -7
  105. data/rbi/increase/models/physical_card.rbi +8 -0
  106. data/rbi/increase/models/physical_card_create_params.rbi +6 -3
  107. data/rbi/increase/models/real_time_decision.rbi +18 -18
  108. data/rbi/increase/models/simulations/card_authentication_create_params.rbi +2 -2
  109. data/rbi/increase/models/simulations/card_dispute_action_params.rbi +6 -6
  110. data/rbi/increase/models/simulations/entity_update_validation_params.rbi +3 -3
  111. data/rbi/increase/models/simulations/inbound_check_deposit_adjustment_params.rbi +8 -23
  112. data/rbi/increase/models/simulations/interest_payment_create_params.rbi +2 -2
  113. data/rbi/increase/models/simulations/pending_transaction_release_inbound_funds_hold_params.rbi +2 -2
  114. data/rbi/increase/models/simulations/program_create_params.rbi +15 -2
  115. data/rbi/increase/models/transaction.rbi +264 -18
  116. data/rbi/increase/models/transaction_list_params.rbi +7 -0
  117. data/rbi/increase/models/unwrap_webhook_event.rbi +7 -0
  118. data/rbi/increase/models/wire_drawdown_request.rbi +10 -0
  119. data/rbi/increase/models/wire_transfer_create_params.rbi +2 -2
  120. data/rbi/increase/resources/cards.rbi +2 -2
  121. data/rbi/increase/resources/check_transfers.rbi +1 -1
  122. data/rbi/increase/resources/entities.rbi +10 -0
  123. data/rbi/increase/resources/entity_onboarding_sessions.rbi +1 -1
  124. data/rbi/increase/resources/lockbox_recipients.rbi +1 -1
  125. data/rbi/increase/resources/physical_cards.rbi +2 -1
  126. data/rbi/increase/resources/simulations/card_authentications.rbi +1 -1
  127. data/rbi/increase/resources/simulations/card_disputes.rbi +2 -2
  128. data/rbi/increase/resources/simulations/inbound_check_deposits.rbi +4 -1
  129. data/rbi/increase/resources/simulations/interest_payments.rbi +1 -1
  130. data/rbi/increase/resources/simulations/pending_transactions.rbi +1 -1
  131. data/rbi/increase/resources/simulations/physical_cards.rbi +2 -2
  132. data/rbi/increase/resources/simulations/programs.rbi +5 -1
  133. data/rbi/increase/resources/wire_transfers.rbi +1 -1
  134. data/sig/increase/models/account_create_params.rbs +20 -12
  135. data/sig/increase/models/card_dispute.rbs +5 -0
  136. data/sig/increase/models/card_purchase_supplement.rbs +5 -0
  137. data/sig/increase/models/declined_transaction.rbs +4 -0
  138. data/sig/increase/models/digital_wallet_token.rbs +5 -0
  139. data/sig/increase/models/entity.rbs +230 -4
  140. data/sig/increase/models/entity_create_params.rbs +232 -1
  141. data/sig/increase/models/entity_update_params.rbs +366 -0
  142. data/sig/increase/models/event.rbs +4 -0
  143. data/sig/increase/models/event_list_params.rbs +4 -0
  144. data/sig/increase/models/event_subscription.rbs +4 -0
  145. data/sig/increase/models/event_subscription_create_params.rbs +4 -0
  146. data/sig/increase/models/fednow_transfer.rbs +113 -4
  147. data/sig/increase/models/fednow_transfer_list_params.rbs +4 -4
  148. data/sig/increase/models/inbound_fednow_transfer.rbs +14 -0
  149. data/sig/increase/models/inbound_mail_item.rbs +5 -0
  150. data/sig/increase/models/inbound_wire_drawdown_request.rbs +5 -0
  151. data/sig/increase/models/pending_transaction.rbs +1 -1
  152. data/sig/increase/models/pending_transaction_list_params.rbs +1 -1
  153. data/sig/increase/models/physical_card.rbs +5 -0
  154. data/sig/increase/models/simulations/entity_update_validation_params.rbs +3 -3
  155. data/sig/increase/models/simulations/inbound_check_deposit_adjustment_params.rbs +1 -15
  156. data/sig/increase/models/simulations/program_create_params.rbs +7 -0
  157. data/sig/increase/models/transaction.rbs +113 -0
  158. data/sig/increase/models/transaction_list_params.rbs +4 -0
  159. data/sig/increase/models/unwrap_webhook_event.rbs +4 -0
  160. data/sig/increase/models/wire_drawdown_request.rbs +5 -0
  161. data/sig/increase/resources/entities.rbs +2 -0
  162. data/sig/increase/resources/simulations/programs.rbs +1 -0
  163. metadata +2 -2
@@ -183,6 +183,7 @@ module Increase
183
183
  | :"physical_card_profile.updated"
184
184
  | :"physical_check.created"
185
185
  | :"physical_check.updated"
186
+ | :"plaid_processor_token.created"
186
187
  | :"checkbook.created"
187
188
  | :"checkbook.updated"
188
189
  | :"program.created"
@@ -507,6 +508,9 @@ module Increase
507
508
  # Occurs whenever a Physical Check is updated.
508
509
  PHYSICAL_CHECK_UPDATED: :"physical_check.updated"
509
510
 
511
+ # Occurs whenever a Plaid Processor Token is created.
512
+ PLAID_PROCESSOR_TOKEN_CREATED: :"plaid_processor_token.created"
513
+
510
514
  # Occurs whenever a Checkbook is created.
511
515
  CHECKBOOK_CREATED: :"checkbook.created"
512
516
 
@@ -167,6 +167,7 @@ module Increase
167
167
  | :"physical_card_profile.updated"
168
168
  | :"physical_check.created"
169
169
  | :"physical_check.updated"
170
+ | :"plaid_processor_token.created"
170
171
  | :"checkbook.created"
171
172
  | :"checkbook.updated"
172
173
  | :"program.created"
@@ -491,6 +492,9 @@ module Increase
491
492
  # Occurs whenever a Physical Check is updated.
492
493
  PHYSICAL_CHECK_UPDATED: :"physical_check.updated"
493
494
 
495
+ # Occurs whenever a Plaid Processor Token is created.
496
+ PLAID_PROCESSOR_TOKEN_CREATED: :"plaid_processor_token.created"
497
+
494
498
  # Occurs whenever a Checkbook is created.
495
499
  CHECKBOOK_CREATED: :"checkbook.created"
496
500
 
@@ -170,6 +170,7 @@ module Increase
170
170
  | :"physical_card_profile.updated"
171
171
  | :"physical_check.created"
172
172
  | :"physical_check.updated"
173
+ | :"plaid_processor_token.created"
173
174
  | :"checkbook.created"
174
175
  | :"checkbook.updated"
175
176
  | :"program.created"
@@ -494,6 +495,9 @@ module Increase
494
495
  # Occurs whenever a Physical Check is updated.
495
496
  PHYSICAL_CHECK_UPDATED: :"physical_check.updated"
496
497
 
498
+ # Occurs whenever a Plaid Processor Token is created.
499
+ PLAID_PROCESSOR_TOKEN_CREATED: :"plaid_processor_token.created"
500
+
497
501
  # Occurs whenever a Checkbook is created.
498
502
  CHECKBOOK_CREATED: :"checkbook.created"
499
503
 
@@ -18,6 +18,7 @@ module Increase
18
18
  idempotency_key: String?,
19
19
  pending_transaction_id: String?,
20
20
  rejection: Increase::FednowTransfer::Rejection?,
21
+ returns: ::Array[Increase::FednowTransfer::Return],
21
22
  routing_number: String,
22
23
  source_account_number_id: String,
23
24
  status: Increase::Models::FednowTransfer::status,
@@ -61,6 +62,8 @@ module Increase
61
62
 
62
63
  attr_accessor rejection: Increase::FednowTransfer::Rejection?
63
64
 
65
+ attr_accessor returns: ::Array[Increase::FednowTransfer::Return]
66
+
64
67
  attr_accessor routing_number: String
65
68
 
66
69
  attr_accessor source_account_number_id: String
@@ -94,6 +97,7 @@ module Increase
94
97
  idempotency_key: String?,
95
98
  pending_transaction_id: String?,
96
99
  rejection: Increase::FednowTransfer::Rejection?,
100
+ returns: ::Array[Increase::FednowTransfer::Return],
97
101
  routing_number: String,
98
102
  source_account_number_id: String,
99
103
  status: Increase::Models::FednowTransfer::status,
@@ -121,6 +125,7 @@ module Increase
121
125
  idempotency_key: String?,
122
126
  pending_transaction_id: String?,
123
127
  rejection: Increase::FednowTransfer::Rejection?,
128
+ returns: ::Array[Increase::FednowTransfer::Return],
124
129
  routing_number: String,
125
130
  source_account_number_id: String,
126
131
  status: Increase::Models::FednowTransfer::status,
@@ -390,16 +395,120 @@ module Increase
390
395
  end
391
396
  end
392
397
 
398
+ type return_ =
399
+ {
400
+ amount: Integer,
401
+ return_reason_additional_information: String?,
402
+ return_reason_code: Increase::Models::FednowTransfer::Return::return_reason_code,
403
+ transfer_id: String
404
+ }
405
+
406
+ class Return < Increase::Internal::Type::BaseModel
407
+ attr_accessor amount: Integer
408
+
409
+ attr_accessor return_reason_additional_information: String?
410
+
411
+ attr_accessor return_reason_code: Increase::Models::FednowTransfer::Return::return_reason_code
412
+
413
+ attr_accessor transfer_id: String
414
+
415
+ def initialize: (
416
+ amount: Integer,
417
+ return_reason_additional_information: String?,
418
+ return_reason_code: Increase::Models::FednowTransfer::Return::return_reason_code,
419
+ transfer_id: String
420
+ ) -> void
421
+
422
+ def to_hash: -> {
423
+ amount: Integer,
424
+ return_reason_additional_information: String?,
425
+ return_reason_code: Increase::Models::FednowTransfer::Return::return_reason_code,
426
+ transfer_id: String
427
+ }
428
+
429
+ type return_reason_code =
430
+ :account_closed
431
+ | :account_blocked
432
+ | :invalid_agent
433
+ | :invalid_creditor_account_number
434
+ | :incorrect_account_number
435
+ | :end_customer_deceased
436
+ | :transaction_forbidden
437
+ | :regulatory_reason
438
+ | :fraud
439
+ | :duplication
440
+ | :wrong_amount
441
+ | :requested_by_customer
442
+ | :unable_to_apply
443
+ | :not_specified
444
+ | :narrative
445
+ | :other
446
+
447
+ module ReturnReasonCode
448
+ extend Increase::Internal::Type::Enum
449
+
450
+ # The destination account is closed. Corresponds to the FedNow reason codes `AC04` and `AC07`.
451
+ ACCOUNT_CLOSED: :account_closed
452
+
453
+ # The destination account is currently blocked from receiving transactions. Corresponds to the FedNow reason code `AC06`.
454
+ ACCOUNT_BLOCKED: :account_blocked
455
+
456
+ # The recipient's bank was not a valid agent for this transfer. Corresponds to the FedNow reason codes `AC14` and `AGNT`.
457
+ INVALID_AGENT: :invalid_agent
458
+
459
+ # The destination account does not exist. Corresponds to the FedNow reason code `AC03`.
460
+ INVALID_CREDITOR_ACCOUNT_NUMBER: :invalid_creditor_account_number
461
+
462
+ # The destination account number was incorrect. Corresponds to the FedNow reason code `AC01`.
463
+ INCORRECT_ACCOUNT_NUMBER: :incorrect_account_number
464
+
465
+ # The destination account holder is deceased. Corresponds to the FedNow reason code `MD07`.
466
+ END_CUSTOMER_DECEASED: :end_customer_deceased
467
+
468
+ # The transfer was not permitted by the recipient's bank. Corresponds to the FedNow reason code `AG01`.
469
+ TRANSACTION_FORBIDDEN: :transaction_forbidden
470
+
471
+ # The transfer was returned for a regulatory reason at the recipient's bank. Corresponds to the FedNow reason code `RR04`.
472
+ REGULATORY_REASON: :regulatory_reason
473
+
474
+ # The transfer was reported as fraudulent. Corresponds to the FedNow reason code `FR01`.
475
+ FRAUD: :fraud
476
+
477
+ # The transfer duplicated another transfer. Corresponds to the FedNow reason codes `AM05` and `DUPL`.
478
+ DUPLICATION: :duplication
479
+
480
+ # The transfer amount was incorrect. Corresponds to the FedNow reason code `AM09`.
481
+ WRONG_AMOUNT: :wrong_amount
482
+
483
+ # The transfer was returned at the request of the recipient's customer. Corresponds to the FedNow reason code `CUST`.
484
+ REQUESTED_BY_CUSTOMER: :requested_by_customer
485
+
486
+ # The recipient's bank could not apply the funds. Corresponds to the FedNow reason code `RUTA`.
487
+ UNABLE_TO_APPLY: :unable_to_apply
488
+
489
+ # The recipient's bank did not specify a reason. Corresponds to the FedNow reason codes `MS02` and `MS03`.
490
+ NOT_SPECIFIED: :not_specified
491
+
492
+ # The reason is provided as narrative information in the additional information field. Corresponds to the FedNow reason code `NARR`.
493
+ NARRATIVE: :narrative
494
+
495
+ # The transfer was returned for some other reason.
496
+ OTHER: :other
497
+
498
+ def self?.values: -> ::Array[Increase::Models::FednowTransfer::Return::return_reason_code]
499
+ end
500
+ end
501
+
393
502
  type status =
394
503
  :pending_submitting
395
504
  | :pending_reviewing
396
505
  | :canceled
397
- | :reviewing_rejected
398
506
  | :requires_attention
399
507
  | :pending_approval
400
508
  | :pending_response
401
509
  | :complete
402
510
  | :rejected
511
+ | :returned
403
512
 
404
513
  module Status
405
514
  extend Increase::Internal::Type::Enum
@@ -413,9 +522,6 @@ module Increase
413
522
  # The transfer has been canceled.
414
523
  CANCELED: :canceled
415
524
 
416
- # The transfer has been rejected by Increase.
417
- REVIEWING_REJECTED: :reviewing_rejected
418
-
419
525
  # The transfer requires attention from an Increase operator.
420
526
  REQUIRES_ATTENTION: :requires_attention
421
527
 
@@ -431,6 +537,9 @@ module Increase
431
537
  # The transfer was rejected by the network or the recipient's bank.
432
538
  REJECTED: :rejected
433
539
 
540
+ # The transfer was returned by the recipient's bank.
541
+ RETURNED: :returned
542
+
434
543
  def self?.values: -> ::Array[Increase::Models::FednowTransfer::status]
435
544
  end
436
545
 
@@ -129,12 +129,12 @@ module Increase
129
129
  :pending_submitting
130
130
  | :pending_reviewing
131
131
  | :canceled
132
- | :reviewing_rejected
133
132
  | :requires_attention
134
133
  | :pending_approval
135
134
  | :pending_response
136
135
  | :complete
137
136
  | :rejected
137
+ | :returned
138
138
 
139
139
  module In
140
140
  extend Increase::Internal::Type::Enum
@@ -148,9 +148,6 @@ module Increase
148
148
  # The transfer has been canceled.
149
149
  CANCELED: :canceled
150
150
 
151
- # The transfer has been rejected by Increase.
152
- REVIEWING_REJECTED: :reviewing_rejected
153
-
154
151
  # The transfer requires attention from an Increase operator.
155
152
  REQUIRES_ATTENTION: :requires_attention
156
153
 
@@ -166,6 +163,9 @@ module Increase
166
163
  # The transfer was rejected by the network or the recipient's bank.
167
164
  REJECTED: :rejected
168
165
 
166
+ # The transfer was returned by the recipient's bank.
167
+ RETURNED: :returned
168
+
169
169
  def self?.values: -> ::Array[Increase::Models::FednowTransferListParams::Status::in_]
170
170
  end
171
171
  end
@@ -14,8 +14,10 @@ module Increase
14
14
  debtor_name: String,
15
15
  debtor_routing_number: String,
16
16
  decline: Increase::InboundFednowTransfer::Decline?,
17
+ end_to_end_identification: String?,
17
18
  status: Increase::Models::InboundFednowTransfer::status,
18
19
  transaction_id: String?,
20
+ transaction_identification: String?,
19
21
  type: Increase::Models::InboundFednowTransfer::type_,
20
22
  unique_end_to_end_transaction_reference: String?,
21
23
  unstructured_remittance_information: String?
@@ -46,10 +48,14 @@ module Increase
46
48
 
47
49
  attr_accessor decline: Increase::InboundFednowTransfer::Decline?
48
50
 
51
+ attr_accessor end_to_end_identification: String?
52
+
49
53
  attr_accessor status: Increase::Models::InboundFednowTransfer::status
50
54
 
51
55
  attr_accessor transaction_id: String?
52
56
 
57
+ attr_accessor transaction_identification: String?
58
+
53
59
  attr_accessor type: Increase::Models::InboundFednowTransfer::type_
54
60
 
55
61
  attr_accessor unique_end_to_end_transaction_reference: String?
@@ -69,8 +75,10 @@ module Increase
69
75
  debtor_name: String,
70
76
  debtor_routing_number: String,
71
77
  decline: Increase::InboundFednowTransfer::Decline?,
78
+ end_to_end_identification: String?,
72
79
  status: Increase::Models::InboundFednowTransfer::status,
73
80
  transaction_id: String?,
81
+ transaction_identification: String?,
74
82
  type: Increase::Models::InboundFednowTransfer::type_,
75
83
  unique_end_to_end_transaction_reference: String?,
76
84
  unstructured_remittance_information: String?
@@ -89,8 +97,10 @@ module Increase
89
97
  debtor_name: String,
90
98
  debtor_routing_number: String,
91
99
  decline: Increase::InboundFednowTransfer::Decline?,
100
+ end_to_end_identification: String?,
92
101
  status: Increase::Models::InboundFednowTransfer::status,
93
102
  transaction_id: String?,
103
+ transaction_identification: String?,
94
104
  type: Increase::Models::InboundFednowTransfer::type_,
95
105
  unique_end_to_end_transaction_reference: String?,
96
106
  unstructured_remittance_information: String?
@@ -145,6 +155,7 @@ module Increase
145
155
  | :group_locked
146
156
  | :entity_not_active
147
157
  | :fednow_not_enabled
158
+ | :transaction_not_allowed
148
159
 
149
160
  module Reason
150
161
  extend Increase::Internal::Type::Enum
@@ -167,6 +178,9 @@ module Increase
167
178
  # Your account is not enabled to receive FedNow transfers.
168
179
  FEDNOW_NOT_ENABLED: :fednow_not_enabled
169
180
 
181
+ # The transaction is not allowed per Increase's terms.
182
+ TRANSACTION_NOT_ALLOWED: :transaction_not_allowed
183
+
170
184
  def self?.values: -> ::Array[Increase::Models::InboundFednowTransfer::Decline::reason]
171
185
  end
172
186
  end
@@ -3,6 +3,7 @@ module Increase
3
3
  type inbound_mail_item =
4
4
  {
5
5
  id: String,
6
+ account_id: String?,
6
7
  checks: ::Array[Increase::InboundMailItem::Check],
7
8
  created_at: Time,
8
9
  file_id: String,
@@ -17,6 +18,8 @@ module Increase
17
18
  class InboundMailItem < Increase::Internal::Type::BaseModel
18
19
  attr_accessor id: String
19
20
 
21
+ attr_accessor account_id: String?
22
+
20
23
  attr_accessor checks: ::Array[Increase::InboundMailItem::Check]
21
24
 
22
25
  attr_accessor created_at: Time
@@ -37,6 +40,7 @@ module Increase
37
40
 
38
41
  def initialize: (
39
42
  id: String,
43
+ account_id: String?,
40
44
  checks: ::Array[Increase::InboundMailItem::Check],
41
45
  created_at: Time,
42
46
  file_id: String,
@@ -50,6 +54,7 @@ module Increase
50
54
 
51
55
  def to_hash: -> {
52
56
  id: String,
57
+ account_id: String?,
53
58
  checks: ::Array[Increase::InboundMailItem::Check],
54
59
  created_at: Time,
55
60
  file_id: String,
@@ -3,6 +3,7 @@ module Increase
3
3
  type inbound_wire_drawdown_request =
4
4
  {
5
5
  id: String,
6
+ account_id: String,
6
7
  amount: Integer,
7
8
  created_at: Time,
8
9
  creditor_account_number: String,
@@ -28,6 +29,8 @@ module Increase
28
29
  class InboundWireDrawdownRequest < Increase::Internal::Type::BaseModel
29
30
  attr_accessor id: String
30
31
 
32
+ attr_accessor account_id: String
33
+
31
34
  attr_accessor amount: Integer
32
35
 
33
36
  attr_accessor created_at: Time
@@ -70,6 +73,7 @@ module Increase
70
73
 
71
74
  def initialize: (
72
75
  id: String,
76
+ account_id: String,
73
77
  amount: Integer,
74
78
  created_at: Time,
75
79
  creditor_account_number: String,
@@ -94,6 +98,7 @@ module Increase
94
98
 
95
99
  def to_hash: -> {
96
100
  id: String,
101
+ account_id: String,
97
102
  amount: Integer,
98
103
  created_at: Time,
99
104
  creditor_account_number: String,
@@ -1834,7 +1834,7 @@ module Increase
1834
1834
  # The Pending Transaction is still awaiting confirmation.
1835
1835
  PENDING: :pending
1836
1836
 
1837
- # The Pending Transaction is confirmed. An associated Transaction exists for this object. The Pending Transaction will no longer count against your balance and can generally be hidden from UIs, etc. The Pending Transaction's `amount` is not updated if the associated Transaction settles for a different amount.
1837
+ # The Pending Transaction is confirmed. An associated Transaction exists for this object. The Pending Transaction will no longer count against your balance and can generally be hidden from UIs, etc. The Pending Transaction's `amount` is the amount that was still held when it completed, which can differ from the amount of the associated Transaction.
1838
1838
  COMPLETE: :complete
1839
1839
 
1840
1840
  def self?.values: -> ::Array[Increase::Models::PendingTransaction::status]
@@ -228,7 +228,7 @@ module Increase
228
228
  # The Pending Transaction is still awaiting confirmation.
229
229
  PENDING: :pending
230
230
 
231
- # The Pending Transaction is confirmed. An associated Transaction exists for this object. The Pending Transaction will no longer count against your balance and can generally be hidden from UIs, etc. The Pending Transaction's `amount` is not updated if the associated Transaction settles for a different amount.
231
+ # The Pending Transaction is confirmed. An associated Transaction exists for this object. The Pending Transaction will no longer count against your balance and can generally be hidden from UIs, etc. The Pending Transaction's `amount` is the amount that was still held when it completed, which can differ from the amount of the associated Transaction.
232
232
  COMPLETE: :complete
233
233
 
234
234
  def self?.values: -> ::Array[Increase::Models::PendingTransactionListParams::Status::in_]
@@ -3,6 +3,7 @@ module Increase
3
3
  type physical_card =
4
4
  {
5
5
  id: String,
6
+ account_id: String,
6
7
  card_id: String,
7
8
  cardholder: Increase::PhysicalCard::Cardholder,
8
9
  created_at: Time,
@@ -16,6 +17,8 @@ module Increase
16
17
  class PhysicalCard < Increase::Internal::Type::BaseModel
17
18
  attr_accessor id: String
18
19
 
20
+ attr_accessor account_id: String
21
+
19
22
  attr_accessor card_id: String
20
23
 
21
24
  attr_accessor cardholder: Increase::PhysicalCard::Cardholder
@@ -34,6 +37,7 @@ module Increase
34
37
 
35
38
  def initialize: (
36
39
  id: String,
40
+ account_id: String,
37
41
  card_id: String,
38
42
  cardholder: Increase::PhysicalCard::Cardholder,
39
43
  created_at: Time,
@@ -46,6 +50,7 @@ module Increase
46
50
 
47
51
  def to_hash: -> {
48
52
  id: String,
53
+ account_id: String,
49
54
  card_id: String,
50
55
  cardholder: Increase::PhysicalCard::Cardholder,
51
56
  created_at: Time,
@@ -54,13 +54,13 @@ module Increase
54
54
  module Category
55
55
  extend Increase::Internal::Type::Enum
56
56
 
57
- # The entity's tax identifier could not be verified. Update the tax ID with the [update an entity API](/documentation/api/entities#update-an-entity.corporation.legal_identifier).
57
+ # The entity's tax identifier could not be verified. Update the tax ID with the [update an entity API](/documentation/api/entities#update-an-entity).
58
58
  ENTITY_TAX_IDENTIFIER: :entity_tax_identifier
59
59
 
60
- # The entity's address could not be validated. Update the address with the [update an entity API](/documentation/api/entities#update-an-entity.corporation.address).
60
+ # The entity's address could not be validated. Update the address with the [update an entity API](/documentation/api/entities#update-an-entity).
61
61
  ENTITY_ADDRESS: :entity_address
62
62
 
63
- # The entity's identity could not be verified. Update the identification with the [update an entity API](/documentation/api/entities#update-an-entity.natural_person.identification).
63
+ # The entity's identity could not be verified. Update the identification with the [update an entity API](/documentation/api/entities#update-an-entity).
64
64
  ENTITY_IDENTITY: :entity_identity
65
65
 
66
66
  # A beneficial owner's identity could not be verified. Update the identification with the [update a beneficial owner API](/documentation/api/beneficial-owners#update-a-beneficial-owner).
@@ -39,12 +39,7 @@ module Increase
39
39
  request_options: Increase::RequestOptions
40
40
  }
41
41
 
42
- type reason =
43
- :late_return
44
- | :wrong_payee_credit
45
- | :adjusted_amount
46
- | :non_conforming_item
47
- | :paid
42
+ type reason = :late_return | :wrong_payee_credit
48
43
 
49
44
  module Reason
50
45
  extend Increase::Internal::Type::Enum
@@ -55,15 +50,6 @@ module Increase
55
50
  # The check was deposited to the wrong payee and the depositing institution has reimbursed the funds with a Wrong Payee Credit.
56
51
  WRONG_PAYEE_CREDIT: :wrong_payee_credit
57
52
 
58
- # The check was deposited with a different amount than what was written on the check.
59
- ADJUSTED_AMOUNT: :adjusted_amount
60
-
61
- # The recipient was not able to process the check. This usually happens for e.g., low quality images.
62
- NON_CONFORMING_ITEM: :non_conforming_item
63
-
64
- # The check has already been deposited elsewhere and so this is a duplicate.
65
- PAID: :paid
66
-
67
53
  def self?.values: -> ::Array[Increase::Models::Simulations::InboundCheckDepositAdjustmentParams::reason]
68
54
  end
69
55
  end
@@ -6,6 +6,7 @@ module Increase
6
6
  name: String,
7
7
  bank: Increase::Models::Simulations::ProgramCreateParams::bank,
8
8
  lending_maximum_extendable_credit: Integer,
9
+ loan_accounts_require_loan_offers: bool,
9
10
  reserve_account_id: String
10
11
  }
11
12
  & Increase::Internal::Type::request_parameters
@@ -26,6 +27,10 @@ module Increase
26
27
 
27
28
  def lending_maximum_extendable_credit=: (Integer) -> Integer
28
29
 
30
+ attr_reader loan_accounts_require_loan_offers: bool?
31
+
32
+ def loan_accounts_require_loan_offers=: (bool) -> bool
33
+
29
34
  attr_reader reserve_account_id: String?
30
35
 
31
36
  def reserve_account_id=: (String) -> String
@@ -34,6 +39,7 @@ module Increase
34
39
  name: String,
35
40
  ?bank: Increase::Models::Simulations::ProgramCreateParams::bank,
36
41
  ?lending_maximum_extendable_credit: Integer,
42
+ ?loan_accounts_require_loan_offers: bool,
37
43
  ?reserve_account_id: String,
38
44
  ?request_options: Increase::request_opts
39
45
  ) -> void
@@ -42,6 +48,7 @@ module Increase
42
48
  name: String,
43
49
  bank: Increase::Models::Simulations::ProgramCreateParams::bank,
44
50
  lending_maximum_extendable_credit: Integer,
51
+ loan_accounts_require_loan_offers: bool,
45
52
  reserve_account_id: String,
46
53
  request_options: Increase::RequestOptions
47
54
  }