increase 1.334.1 → 1.336.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 (52) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +14 -0
  3. data/README.md +23 -1
  4. data/lib/increase/models/ach_prenotification.rb +3 -3
  5. data/lib/increase/models/ach_transfer.rb +3 -0
  6. data/lib/increase/models/ach_transfer_create_params.rb +3 -0
  7. data/lib/increase/models/balance_lookup.rb +31 -1
  8. data/lib/increase/models/card_payment.rb +9 -0
  9. data/lib/increase/models/declined_transaction.rb +3 -0
  10. data/lib/increase/models/event.rb +6 -0
  11. data/lib/increase/models/event_list_params.rb +6 -0
  12. data/lib/increase/models/event_subscription.rb +6 -3
  13. data/lib/increase/models/event_subscription_create_params.rb +6 -0
  14. data/lib/increase/models/pending_transaction.rb +3 -0
  15. data/lib/increase/models/real_time_decision.rb +3 -0
  16. data/lib/increase/models/simulations/card_authorization_create_params.rb +3 -0
  17. data/lib/increase/models/transaction.rb +6 -3
  18. data/lib/increase/models/unwrap_webhook_event.rb +6 -0
  19. data/lib/increase/resources/events.rb +4 -1
  20. data/lib/increase/version.rb +1 -1
  21. data/rbi/increase/models/ach_prenotification.rbi +7 -7
  22. data/rbi/increase/models/ach_transfer.rbi +3 -0
  23. data/rbi/increase/models/ach_transfer_create_params.rbi +4 -0
  24. data/rbi/increase/models/balance_lookup.rbi +61 -3
  25. data/rbi/increase/models/card_payment.rbi +21 -0
  26. data/rbi/increase/models/declined_transaction.rbi +7 -0
  27. data/rbi/increase/models/event.rbi +14 -0
  28. data/rbi/increase/models/event_list_params.rbi +14 -0
  29. data/rbi/increase/models/event_subscription.rbi +14 -7
  30. data/rbi/increase/models/event_subscription_create_params.rbi +14 -0
  31. data/rbi/increase/models/pending_transaction.rbi +7 -0
  32. data/rbi/increase/models/real_time_decision.rbi +7 -0
  33. data/rbi/increase/models/simulations/card_authorization_create_params.rbi +7 -0
  34. data/rbi/increase/models/transaction.rbi +11 -4
  35. data/rbi/increase/models/unwrap_webhook_event.rbi +14 -0
  36. data/rbi/increase/resources/events.rbi +4 -1
  37. data/sig/increase/models/ach_prenotification.rbs +4 -4
  38. data/sig/increase/models/ach_transfer.rbs +4 -1
  39. data/sig/increase/models/ach_transfer_create_params.rbs +4 -1
  40. data/sig/increase/models/balance_lookup.rbs +31 -3
  41. data/sig/increase/models/card_payment.rbs +12 -0
  42. data/sig/increase/models/declined_transaction.rbs +4 -0
  43. data/sig/increase/models/event.rbs +8 -0
  44. data/sig/increase/models/event_list_params.rbs +8 -0
  45. data/sig/increase/models/event_subscription.rbs +9 -4
  46. data/sig/increase/models/event_subscription_create_params.rbs +8 -0
  47. data/sig/increase/models/pending_transaction.rbs +4 -0
  48. data/sig/increase/models/real_time_decision.rbs +4 -0
  49. data/sig/increase/models/simulations/card_authorization_create_params.rbs +4 -0
  50. data/sig/increase/models/transaction.rbs +4 -0
  51. data/sig/increase/models/unwrap_webhook_event.rbs +8 -0
  52. metadata +2 -2
@@ -657,6 +657,13 @@ module Increase
657
657
  Increase::EventListParams::Category::In::TaggedSymbol
658
658
  )
659
659
 
660
+ # Occurs whenever a Loan Distribution is created.
661
+ LOAN_DISTRIBUTION_CREATED =
662
+ T.let(
663
+ :"loan_distribution.created",
664
+ Increase::EventListParams::Category::In::TaggedSymbol
665
+ )
666
+
660
667
  # Occurs whenever a Loan Offer is created.
661
668
  LOAN_OFFER_CREATED =
662
669
  T.let(
@@ -671,6 +678,13 @@ module Increase
671
678
  Increase::EventListParams::Category::In::TaggedSymbol
672
679
  )
673
680
 
681
+ # Occurs whenever a Loan Purchase is created.
682
+ LOAN_PURCHASE_CREATED =
683
+ T.let(
684
+ :"loan_purchase.created",
685
+ Increase::EventListParams::Category::In::TaggedSymbol
686
+ )
687
+
674
688
  # Occurs whenever a Lockbox is created.
675
689
  LOCKBOX_CREATED =
676
690
  T.let(
@@ -682,6 +682,13 @@ module Increase
682
682
  Increase::EventSubscription::SelectedEventCategory::EventCategory::TaggedSymbol
683
683
  )
684
684
 
685
+ # Occurs whenever a Loan Distribution is created.
686
+ LOAN_DISTRIBUTION_CREATED =
687
+ T.let(
688
+ :"loan_distribution.created",
689
+ Increase::EventSubscription::SelectedEventCategory::EventCategory::TaggedSymbol
690
+ )
691
+
685
692
  # Occurs whenever a Loan Offer is created.
686
693
  LOAN_OFFER_CREATED =
687
694
  T.let(
@@ -696,6 +703,13 @@ module Increase
696
703
  Increase::EventSubscription::SelectedEventCategory::EventCategory::TaggedSymbol
697
704
  )
698
705
 
706
+ # Occurs whenever a Loan Purchase is created.
707
+ LOAN_PURCHASE_CREATED =
708
+ T.let(
709
+ :"loan_purchase.created",
710
+ Increase::EventSubscription::SelectedEventCategory::EventCategory::TaggedSymbol
711
+ )
712
+
699
713
  # Occurs whenever a Lockbox is created.
700
714
  LOCKBOX_CREATED =
701
715
  T.let(
@@ -987,13 +1001,6 @@ module Increase
987
1001
  DELETED =
988
1002
  T.let(:deleted, Increase::EventSubscription::Status::TaggedSymbol)
989
1003
 
990
- # The subscription is temporarily disabled due to delivery errors and Events will not be delivered.
991
- REQUIRES_ATTENTION =
992
- T.let(
993
- :requires_attention,
994
- Increase::EventSubscription::Status::TaggedSymbol
995
- )
996
-
997
1004
  sig do
998
1005
  override.returns(
999
1006
  T::Array[Increase::EventSubscription::Status::TaggedSymbol]
@@ -680,6 +680,13 @@ module Increase
680
680
  Increase::EventSubscriptionCreateParams::SelectedEventCategory::EventCategory::TaggedSymbol
681
681
  )
682
682
 
683
+ # Occurs whenever a Loan Distribution is created.
684
+ LOAN_DISTRIBUTION_CREATED =
685
+ T.let(
686
+ :"loan_distribution.created",
687
+ Increase::EventSubscriptionCreateParams::SelectedEventCategory::EventCategory::TaggedSymbol
688
+ )
689
+
683
690
  # Occurs whenever a Loan Offer is created.
684
691
  LOAN_OFFER_CREATED =
685
692
  T.let(
@@ -694,6 +701,13 @@ module Increase
694
701
  Increase::EventSubscriptionCreateParams::SelectedEventCategory::EventCategory::TaggedSymbol
695
702
  )
696
703
 
704
+ # Occurs whenever a Loan Purchase is created.
705
+ LOAN_PURCHASE_CREATED =
706
+ T.let(
707
+ :"loan_purchase.created",
708
+ Increase::EventSubscriptionCreateParams::SelectedEventCategory::EventCategory::TaggedSymbol
709
+ )
710
+
697
711
  # Occurs whenever a Lockbox is created.
698
712
  LOCKBOX_CREATED =
699
713
  T.let(
@@ -3470,6 +3470,13 @@ module Increase
3470
3470
  Increase::PendingTransaction::Source::CardAuthorization::ProcessingCategory::TaggedSymbol
3471
3471
  )
3472
3472
 
3473
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
3474
+ CASH_DEPOSIT =
3475
+ T.let(
3476
+ :cash_deposit,
3477
+ Increase::PendingTransaction::Source::CardAuthorization::ProcessingCategory::TaggedSymbol
3478
+ )
3479
+
3473
3480
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
3474
3481
  BALANCE_INQUIRY =
3475
3482
  T.let(
@@ -4010,6 +4010,13 @@ module Increase
4010
4010
  Increase::RealTimeDecision::CardAuthorization::ProcessingCategory::TaggedSymbol
4011
4011
  )
4012
4012
 
4013
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
4014
+ CASH_DEPOSIT =
4015
+ T.let(
4016
+ :cash_deposit,
4017
+ Increase::RealTimeDecision::CardAuthorization::ProcessingCategory::TaggedSymbol
4018
+ )
4019
+
4013
4020
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
4014
4021
  BALANCE_INQUIRY =
4015
4022
  T.let(
@@ -770,6 +770,13 @@ module Increase
770
770
  Increase::Simulations::CardAuthorizationCreateParams::ProcessingCategory::Category::TaggedSymbol
771
771
  )
772
772
 
773
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
774
+ CASH_DEPOSIT =
775
+ T.let(
776
+ :cash_deposit,
777
+ Increase::Simulations::CardAuthorizationCreateParams::ProcessingCategory::Category::TaggedSymbol
778
+ )
779
+
773
780
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
774
781
  BALANCE_INQUIRY =
775
782
  T.let(
@@ -21,8 +21,8 @@ module Increase
21
21
  sig { returns(Integer) }
22
22
  attr_accessor :amount
23
23
 
24
- # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the
25
- # Transaction occurred.
24
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
25
+ # the Transaction occurred.
26
26
  sig { returns(Time) }
27
27
  attr_accessor :created_at
28
28
 
@@ -87,8 +87,8 @@ module Increase
87
87
  # The Transaction amount in the minor unit of its currency. For dollars, for
88
88
  # example, this is cents.
89
89
  amount:,
90
- # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the
91
- # Transaction occurred.
90
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
91
+ # the Transaction occurred.
92
92
  created_at:,
93
93
  # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
94
94
  # Transaction's currency. This will match the currency on the Transaction's
@@ -5023,6 +5023,13 @@ module Increase
5023
5023
  Increase::Transaction::Source::CardFinancial::ProcessingCategory::TaggedSymbol
5024
5024
  )
5025
5025
 
5026
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
5027
+ CASH_DEPOSIT =
5028
+ T.let(
5029
+ :cash_deposit,
5030
+ Increase::Transaction::Source::CardFinancial::ProcessingCategory::TaggedSymbol
5031
+ )
5032
+
5026
5033
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
5027
5034
  BALANCE_INQUIRY =
5028
5035
  T.let(
@@ -594,6 +594,13 @@ module Increase
594
594
  Increase::UnwrapWebhookEvent::Category::TaggedSymbol
595
595
  )
596
596
 
597
+ # Occurs whenever a Loan Distribution is created.
598
+ LOAN_DISTRIBUTION_CREATED =
599
+ T.let(
600
+ :"loan_distribution.created",
601
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
602
+ )
603
+
597
604
  # Occurs whenever a Loan Offer is created.
598
605
  LOAN_OFFER_CREATED =
599
606
  T.let(
@@ -608,6 +615,13 @@ module Increase
608
615
  Increase::UnwrapWebhookEvent::Category::TaggedSymbol
609
616
  )
610
617
 
618
+ # Occurs whenever a Loan Purchase is created.
619
+ LOAN_PURCHASE_CREATED =
620
+ T.let(
621
+ :"loan_purchase.created",
622
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
623
+ )
624
+
611
625
  # Occurs whenever a Lockbox is created.
612
626
  LOCKBOX_CREATED =
613
627
  T.let(
@@ -56,7 +56,10 @@ module Increase
56
56
  payload,
57
57
  # The raw HTTP headers that came with the payload
58
58
  headers:,
59
- # The webhook signing key
59
+ # The webhook signing key, as the raw secret string. It is Base64-encoded before
60
+ # being passed to StandardWebhooks, so to sign a synthetic payload in tests,
61
+ # construct the signer the same way:
62
+ # StandardWebhooks::Webhook.new(Base64.strict_encode64(key))
60
63
  key: @client.webhook_secret
61
64
  )
62
65
  end
@@ -607,7 +607,7 @@ module Increase
607
607
  end
608
608
 
609
609
  type status =
610
- :pending_submitting | :requires_attention | :returned | :submitted
610
+ :pending_submitting | :returned | :submitted | :requires_attention
611
611
 
612
612
  module Status
613
613
  extend Increase::Internal::Type::Enum
@@ -615,15 +615,15 @@ module Increase
615
615
  # The Prenotification is pending submission.
616
616
  PENDING_SUBMITTING: :pending_submitting
617
617
 
618
- # The Prenotification requires attention.
619
- REQUIRES_ATTENTION: :requires_attention
620
-
621
618
  # The Prenotification has been returned.
622
619
  RETURNED: :returned
623
620
 
624
621
  # The Prenotification is complete.
625
622
  SUBMITTED: :submitted
626
623
 
624
+ # The Prenotification requires attention.
625
+ REQUIRES_ATTENTION: :requires_attention
626
+
627
627
  def self?.values: -> ::Array[Increase::Models::ACHPrenotification::status]
628
628
  end
629
629
 
@@ -433,7 +433,7 @@ module Increase
433
433
  def self?.values: -> ::Array[Increase::Models::ACHTransfer::destination_account_holder]
434
434
  end
435
435
 
436
- type funding = :checking | :savings | :general_ledger
436
+ type funding = :checking | :savings | :loan | :general_ledger
437
437
 
438
438
  module Funding
439
439
  extend Increase::Internal::Type::Enum
@@ -444,6 +444,9 @@ module Increase
444
444
  # A savings account.
445
445
  SAVINGS: :savings
446
446
 
447
+ # A loan account used in a lender-borrower relationship. Uncommon.
448
+ LOAN: :loan
449
+
447
450
  # A bank's general ledger. Uncommon.
448
451
  GENERAL_LEDGER: :general_ledger
449
452
 
@@ -281,7 +281,7 @@ module Increase
281
281
  def self?.values: -> ::Array[Increase::Models::ACHTransferCreateParams::destination_account_holder]
282
282
  end
283
283
 
284
- type funding = :checking | :savings | :general_ledger
284
+ type funding = :checking | :savings | :loan | :general_ledger
285
285
 
286
286
  module Funding
287
287
  extend Increase::Internal::Type::Enum
@@ -292,6 +292,9 @@ module Increase
292
292
  # A savings account.
293
293
  SAVINGS: :savings
294
294
 
295
+ # A loan account used in a lender-borrower relationship. Uncommon.
296
+ LOAN: :loan
297
+
295
298
  # A bank's general ledger. Uncommon.
296
299
  GENERAL_LEDGER: :general_ledger
297
300
 
@@ -37,7 +37,12 @@ module Increase
37
37
  }
38
38
 
39
39
  type loan =
40
- { due_at: Time?, due_balance: Integer, past_due_balance: Integer }
40
+ {
41
+ due_at: Time?,
42
+ due_balance: Integer,
43
+ past_due_balance: Integer,
44
+ receivables: Increase::BalanceLookup::Loan::Receivables?
45
+ }
41
46
 
42
47
  class Loan < Increase::Internal::Type::BaseModel
43
48
  attr_accessor due_at: Time?
@@ -46,17 +51,40 @@ module Increase
46
51
 
47
52
  attr_accessor past_due_balance: Integer
48
53
 
54
+ attr_accessor receivables: Increase::BalanceLookup::Loan::Receivables?
55
+
49
56
  def initialize: (
50
57
  due_at: Time?,
51
58
  due_balance: Integer,
52
- past_due_balance: Integer
59
+ past_due_balance: Integer,
60
+ receivables: Increase::BalanceLookup::Loan::Receivables?
53
61
  ) -> void
54
62
 
55
63
  def to_hash: -> {
56
64
  due_at: Time?,
57
65
  due_balance: Integer,
58
- past_due_balance: Integer
66
+ past_due_balance: Integer,
67
+ receivables: Increase::BalanceLookup::Loan::Receivables?
59
68
  }
69
+
70
+ type receivables =
71
+ { purchasable_balance: Integer, purchased_balance: Integer }
72
+
73
+ class Receivables < Increase::Internal::Type::BaseModel
74
+ attr_accessor purchasable_balance: Integer
75
+
76
+ attr_accessor purchased_balance: Integer
77
+
78
+ def initialize: (
79
+ purchasable_balance: Integer,
80
+ purchased_balance: Integer
81
+ ) -> void
82
+
83
+ def to_hash: -> {
84
+ purchasable_balance: Integer,
85
+ purchased_balance: Integer
86
+ }
87
+ end
60
88
  end
61
89
 
62
90
  type type_ = :balance_lookup
@@ -1682,6 +1682,7 @@ module Increase
1682
1682
  | :quasi_cash
1683
1683
  | :refund
1684
1684
  | :cash_disbursement
1685
+ | :cash_deposit
1685
1686
  | :balance_inquiry
1686
1687
  | :unknown
1687
1688
 
@@ -1712,6 +1713,9 @@ module Increase
1712
1713
  # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
1713
1714
  CASH_DISBURSEMENT: :cash_disbursement
1714
1715
 
1716
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
1717
+ CASH_DEPOSIT: :cash_deposit
1718
+
1715
1719
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
1716
1720
  BALANCE_INQUIRY: :balance_inquiry
1717
1721
 
@@ -3758,6 +3762,7 @@ module Increase
3758
3762
  | :quasi_cash
3759
3763
  | :refund
3760
3764
  | :cash_disbursement
3765
+ | :cash_deposit
3761
3766
  | :balance_inquiry
3762
3767
  | :unknown
3763
3768
 
@@ -3788,6 +3793,9 @@ module Increase
3788
3793
  # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
3789
3794
  CASH_DISBURSEMENT: :cash_disbursement
3790
3795
 
3796
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
3797
+ CASH_DEPOSIT: :cash_deposit
3798
+
3791
3799
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
3792
3800
  BALANCE_INQUIRY: :balance_inquiry
3793
3801
 
@@ -4921,6 +4929,7 @@ module Increase
4921
4929
  | :quasi_cash
4922
4930
  | :refund
4923
4931
  | :cash_disbursement
4932
+ | :cash_deposit
4924
4933
  | :balance_inquiry
4925
4934
  | :unknown
4926
4935
 
@@ -4951,6 +4960,9 @@ module Increase
4951
4960
  # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
4952
4961
  CASH_DISBURSEMENT: :cash_disbursement
4953
4962
 
4963
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
4964
+ CASH_DEPOSIT: :cash_deposit
4965
+
4954
4966
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
4955
4967
  BALANCE_INQUIRY: :balance_inquiry
4956
4968
 
@@ -1018,6 +1018,7 @@ module Increase
1018
1018
  | :quasi_cash
1019
1019
  | :refund
1020
1020
  | :cash_disbursement
1021
+ | :cash_deposit
1021
1022
  | :balance_inquiry
1022
1023
  | :unknown
1023
1024
 
@@ -1048,6 +1049,9 @@ module Increase
1048
1049
  # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
1049
1050
  CASH_DISBURSEMENT: :cash_disbursement
1050
1051
 
1052
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
1053
+ CASH_DEPOSIT: :cash_deposit
1054
+
1051
1055
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
1052
1056
  BALANCE_INQUIRY: :balance_inquiry
1053
1057
 
@@ -114,8 +114,10 @@ module Increase
114
114
  | :"intrafi_exclusion.updated"
115
115
  | :"loan_application.created"
116
116
  | :"loan_application.updated"
117
+ | :"loan_distribution.created"
117
118
  | :"loan_offer.created"
118
119
  | :"loan_offer.updated"
120
+ | :"loan_purchase.created"
119
121
  | :"lockbox.created"
120
122
  | :"lockbox.updated"
121
123
  | :"oauth_connection.created"
@@ -373,12 +375,18 @@ module Increase
373
375
  # Occurs whenever a Loan Application is updated.
374
376
  LOAN_APPLICATION_UPDATED: :"loan_application.updated"
375
377
 
378
+ # Occurs whenever a Loan Distribution is created.
379
+ LOAN_DISTRIBUTION_CREATED: :"loan_distribution.created"
380
+
376
381
  # Occurs whenever a Loan Offer is created.
377
382
  LOAN_OFFER_CREATED: :"loan_offer.created"
378
383
 
379
384
  # Occurs whenever a Loan Offer is updated.
380
385
  LOAN_OFFER_UPDATED: :"loan_offer.updated"
381
386
 
387
+ # Occurs whenever a Loan Purchase is created.
388
+ LOAN_PURCHASE_CREATED: :"loan_purchase.created"
389
+
382
390
  # Occurs whenever a Lockbox is created.
383
391
  LOCKBOX_CREATED: :"lockbox.created"
384
392
 
@@ -156,8 +156,10 @@ module Increase
156
156
  | :"intrafi_exclusion.updated"
157
157
  | :"loan_application.created"
158
158
  | :"loan_application.updated"
159
+ | :"loan_distribution.created"
159
160
  | :"loan_offer.created"
160
161
  | :"loan_offer.updated"
162
+ | :"loan_purchase.created"
161
163
  | :"lockbox.created"
162
164
  | :"lockbox.updated"
163
165
  | :"oauth_connection.created"
@@ -415,12 +417,18 @@ module Increase
415
417
  # Occurs whenever a Loan Application is updated.
416
418
  LOAN_APPLICATION_UPDATED: :"loan_application.updated"
417
419
 
420
+ # Occurs whenever a Loan Distribution is created.
421
+ LOAN_DISTRIBUTION_CREATED: :"loan_distribution.created"
422
+
418
423
  # Occurs whenever a Loan Offer is created.
419
424
  LOAN_OFFER_CREATED: :"loan_offer.created"
420
425
 
421
426
  # Occurs whenever a Loan Offer is updated.
422
427
  LOAN_OFFER_UPDATED: :"loan_offer.updated"
423
428
 
429
+ # Occurs whenever a Loan Purchase is created.
430
+ LOAN_PURCHASE_CREATED: :"loan_purchase.created"
431
+
424
432
  # Occurs whenever a Lockbox is created.
425
433
  LOCKBOX_CREATED: :"lockbox.created"
426
434
 
@@ -140,8 +140,10 @@ module Increase
140
140
  | :"intrafi_exclusion.updated"
141
141
  | :"loan_application.created"
142
142
  | :"loan_application.updated"
143
+ | :"loan_distribution.created"
143
144
  | :"loan_offer.created"
144
145
  | :"loan_offer.updated"
146
+ | :"loan_purchase.created"
145
147
  | :"lockbox.created"
146
148
  | :"lockbox.updated"
147
149
  | :"oauth_connection.created"
@@ -399,12 +401,18 @@ module Increase
399
401
  # Occurs whenever a Loan Application is updated.
400
402
  LOAN_APPLICATION_UPDATED: :"loan_application.updated"
401
403
 
404
+ # Occurs whenever a Loan Distribution is created.
405
+ LOAN_DISTRIBUTION_CREATED: :"loan_distribution.created"
406
+
402
407
  # Occurs whenever a Loan Offer is created.
403
408
  LOAN_OFFER_CREATED: :"loan_offer.created"
404
409
 
405
410
  # Occurs whenever a Loan Offer is updated.
406
411
  LOAN_OFFER_UPDATED: :"loan_offer.updated"
407
412
 
413
+ # Occurs whenever a Loan Purchase is created.
414
+ LOAN_PURCHASE_CREATED: :"loan_purchase.created"
415
+
408
416
  # Occurs whenever a Lockbox is created.
409
417
  LOCKBOX_CREATED: :"lockbox.created"
410
418
 
@@ -520,7 +528,7 @@ module Increase
520
528
  end
521
529
  end
522
530
 
523
- type status = :active | :disabled | :deleted | :requires_attention
531
+ type status = :active | :disabled | :deleted
524
532
 
525
533
  module Status
526
534
  extend Increase::Internal::Type::Enum
@@ -534,9 +542,6 @@ module Increase
534
542
  # The subscription is permanently disabled and Events will not be delivered.
535
543
  DELETED: :deleted
536
544
 
537
- # The subscription is temporarily disabled due to delivery errors and Events will not be delivered.
538
- REQUIRES_ATTENTION: :requires_attention
539
-
540
545
  def self?.values: -> ::Array[Increase::Models::EventSubscription::status]
541
546
  end
542
547
 
@@ -143,8 +143,10 @@ module Increase
143
143
  | :"intrafi_exclusion.updated"
144
144
  | :"loan_application.created"
145
145
  | :"loan_application.updated"
146
+ | :"loan_distribution.created"
146
147
  | :"loan_offer.created"
147
148
  | :"loan_offer.updated"
149
+ | :"loan_purchase.created"
148
150
  | :"lockbox.created"
149
151
  | :"lockbox.updated"
150
152
  | :"oauth_connection.created"
@@ -402,12 +404,18 @@ module Increase
402
404
  # Occurs whenever a Loan Application is updated.
403
405
  LOAN_APPLICATION_UPDATED: :"loan_application.updated"
404
406
 
407
+ # Occurs whenever a Loan Distribution is created.
408
+ LOAN_DISTRIBUTION_CREATED: :"loan_distribution.created"
409
+
405
410
  # Occurs whenever a Loan Offer is created.
406
411
  LOAN_OFFER_CREATED: :"loan_offer.created"
407
412
 
408
413
  # Occurs whenever a Loan Offer is updated.
409
414
  LOAN_OFFER_UPDATED: :"loan_offer.updated"
410
415
 
416
+ # Occurs whenever a Loan Purchase is created.
417
+ LOAN_PURCHASE_CREATED: :"loan_purchase.created"
418
+
411
419
  # Occurs whenever a Lockbox is created.
412
420
  LOCKBOX_CREATED: :"lockbox.created"
413
421
 
@@ -1152,6 +1152,7 @@ module Increase
1152
1152
  | :quasi_cash
1153
1153
  | :refund
1154
1154
  | :cash_disbursement
1155
+ | :cash_deposit
1155
1156
  | :balance_inquiry
1156
1157
  | :unknown
1157
1158
 
@@ -1182,6 +1183,9 @@ module Increase
1182
1183
  # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
1183
1184
  CASH_DISBURSEMENT: :cash_disbursement
1184
1185
 
1186
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
1187
+ CASH_DEPOSIT: :cash_deposit
1188
+
1185
1189
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
1186
1190
  BALANCE_INQUIRY: :balance_inquiry
1187
1191
 
@@ -1471,6 +1471,7 @@ module Increase
1471
1471
  | :quasi_cash
1472
1472
  | :refund
1473
1473
  | :cash_disbursement
1474
+ | :cash_deposit
1474
1475
  | :balance_inquiry
1475
1476
  | :unknown
1476
1477
 
@@ -1501,6 +1502,9 @@ module Increase
1501
1502
  # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
1502
1503
  CASH_DISBURSEMENT: :cash_disbursement
1503
1504
 
1505
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
1506
+ CASH_DEPOSIT: :cash_deposit
1507
+
1504
1508
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
1505
1509
  BALANCE_INQUIRY: :balance_inquiry
1506
1510
 
@@ -345,6 +345,7 @@ module Increase
345
345
  | :quasi_cash
346
346
  | :refund
347
347
  | :cash_disbursement
348
+ | :cash_deposit
348
349
  | :balance_inquiry
349
350
 
350
351
  module Category
@@ -374,6 +375,9 @@ module Increase
374
375
  # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
375
376
  CASH_DISBURSEMENT: :cash_disbursement
376
377
 
378
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
379
+ CASH_DEPOSIT: :cash_deposit
380
+
377
381
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
378
382
  BALANCE_INQUIRY: :balance_inquiry
379
383
 
@@ -1750,6 +1750,7 @@ module Increase
1750
1750
  | :quasi_cash
1751
1751
  | :refund
1752
1752
  | :cash_disbursement
1753
+ | :cash_deposit
1753
1754
  | :balance_inquiry
1754
1755
  | :unknown
1755
1756
 
@@ -1780,6 +1781,9 @@ module Increase
1780
1781
  # Cash disbursement transactions are used to withdraw cash from an ATM or a point of sale.
1781
1782
  CASH_DISBURSEMENT: :cash_disbursement
1782
1783
 
1784
+ # Cash deposit transactions are used to deposit cash at an ATM or a point of sale.
1785
+ CASH_DEPOSIT: :cash_deposit
1786
+
1783
1787
  # A balance inquiry transaction is used to check the balance of an account associated with a card.
1784
1788
  BALANCE_INQUIRY: :balance_inquiry
1785
1789
 
@@ -114,8 +114,10 @@ module Increase
114
114
  | :"intrafi_exclusion.updated"
115
115
  | :"loan_application.created"
116
116
  | :"loan_application.updated"
117
+ | :"loan_distribution.created"
117
118
  | :"loan_offer.created"
118
119
  | :"loan_offer.updated"
120
+ | :"loan_purchase.created"
119
121
  | :"lockbox.created"
120
122
  | :"lockbox.updated"
121
123
  | :"oauth_connection.created"
@@ -373,12 +375,18 @@ module Increase
373
375
  # Occurs whenever a Loan Application is updated.
374
376
  LOAN_APPLICATION_UPDATED: :"loan_application.updated"
375
377
 
378
+ # Occurs whenever a Loan Distribution is created.
379
+ LOAN_DISTRIBUTION_CREATED: :"loan_distribution.created"
380
+
376
381
  # Occurs whenever a Loan Offer is created.
377
382
  LOAN_OFFER_CREATED: :"loan_offer.created"
378
383
 
379
384
  # Occurs whenever a Loan Offer is updated.
380
385
  LOAN_OFFER_UPDATED: :"loan_offer.updated"
381
386
 
387
+ # Occurs whenever a Loan Purchase is created.
388
+ LOAN_PURCHASE_CREATED: :"loan_purchase.created"
389
+
382
390
  # Occurs whenever a Lockbox is created.
383
391
  LOCKBOX_CREATED: :"lockbox.created"
384
392