increase 1.335.0 → 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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +1 -1
- data/lib/increase/models/ach_prenotification.rb +3 -3
- data/lib/increase/models/balance_lookup.rb +31 -1
- data/lib/increase/models/event.rb +6 -0
- data/lib/increase/models/event_list_params.rb +6 -0
- data/lib/increase/models/event_subscription.rb +6 -3
- data/lib/increase/models/event_subscription_create_params.rb +6 -0
- data/lib/increase/models/unwrap_webhook_event.rb +6 -0
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/ach_prenotification.rbi +7 -7
- data/rbi/increase/models/balance_lookup.rbi +61 -3
- data/rbi/increase/models/event.rbi +14 -0
- data/rbi/increase/models/event_list_params.rbi +14 -0
- data/rbi/increase/models/event_subscription.rbi +14 -7
- data/rbi/increase/models/event_subscription_create_params.rbi +14 -0
- data/rbi/increase/models/unwrap_webhook_event.rbi +14 -0
- data/sig/increase/models/ach_prenotification.rbs +4 -4
- data/sig/increase/models/balance_lookup.rbs +31 -3
- data/sig/increase/models/event.rbs +8 -0
- data/sig/increase/models/event_list_params.rbs +8 -0
- data/sig/increase/models/event_subscription.rbs +9 -4
- data/sig/increase/models/event_subscription_create_params.rbs +8 -0
- data/sig/increase/models/unwrap_webhook_event.rbs +8 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2ee3a925a5b2860ea0a38a1d0c5cf26596a5085f7d9768edc84e5db058d9cd06
|
|
4
|
+
data.tar.gz: ec7861b5961a85f92013839e29c4223aa95f64a7c5d74e0f907c85da1c3bd858
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 52e0f7ac349a714518927389a7292215cd49c2827f76a36b8c940a63905f72ab6b2fa8dc76000fe9058560982101eee460d4078c5c3ccc5e782c70da55009ddc
|
|
7
|
+
data.tar.gz: cb4f9dcf606021d9425cfe4cfb9b3028044aaa58eda8d9f83c6e55f439a87e39879fb6bf185b879ce525b2bc4ceed89131e9f25f8ff85824fbc37cc68e19b73d
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.336.0](https://github.com/Increase/increase-ruby/compare/v1.335.0...v1.336.0) (2026-06-18)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **api:** api update ([#455](https://github.com/Increase/increase-ruby/issues/455)) ([31c679b](https://github.com/Increase/increase-ruby/commit/31c679bc21197a84a1f773b8d1a4f00cb0c7a07a))
|
|
9
|
+
|
|
3
10
|
## [1.335.0](https://github.com/Increase/increase-ruby/compare/v1.334.1...v1.335.0) (2026-06-17)
|
|
4
11
|
|
|
5
12
|
|
data/README.md
CHANGED
|
@@ -639,15 +639,15 @@ module Increase
|
|
|
639
639
|
# The Prenotification is pending submission.
|
|
640
640
|
PENDING_SUBMITTING = :pending_submitting
|
|
641
641
|
|
|
642
|
-
# The Prenotification requires attention.
|
|
643
|
-
REQUIRES_ATTENTION = :requires_attention
|
|
644
|
-
|
|
645
642
|
# The Prenotification has been returned.
|
|
646
643
|
RETURNED = :returned
|
|
647
644
|
|
|
648
645
|
# The Prenotification is complete.
|
|
649
646
|
SUBMITTED = :submitted
|
|
650
647
|
|
|
648
|
+
# The Prenotification requires attention.
|
|
649
|
+
REQUIRES_ATTENTION = :requires_attention
|
|
650
|
+
|
|
651
651
|
# @!method self.values
|
|
652
652
|
# @return [Array<Symbol>]
|
|
653
653
|
end
|
|
@@ -75,7 +75,13 @@ module Increase
|
|
|
75
75
|
# @return [Integer]
|
|
76
76
|
required :past_due_balance, Integer
|
|
77
77
|
|
|
78
|
-
# @!
|
|
78
|
+
# @!attribute receivables
|
|
79
|
+
# The receivables balances for the loan.
|
|
80
|
+
#
|
|
81
|
+
# @return [Increase::Models::BalanceLookup::Loan::Receivables, nil]
|
|
82
|
+
required :receivables, -> { Increase::BalanceLookup::Loan::Receivables }, nil?: true
|
|
83
|
+
|
|
84
|
+
# @!method initialize(due_at:, due_balance:, past_due_balance:, receivables:)
|
|
79
85
|
# Some parameter documentations has been truncated, see
|
|
80
86
|
# {Increase::Models::BalanceLookup::Loan} for more details.
|
|
81
87
|
#
|
|
@@ -86,6 +92,30 @@ module Increase
|
|
|
86
92
|
# @param due_balance [Integer] The total amount due on the loan.
|
|
87
93
|
#
|
|
88
94
|
# @param past_due_balance [Integer] The amount past due on the loan.
|
|
95
|
+
#
|
|
96
|
+
# @param receivables [Increase::Models::BalanceLookup::Loan::Receivables, nil] The receivables balances for the loan.
|
|
97
|
+
|
|
98
|
+
# @see Increase::Models::BalanceLookup::Loan#receivables
|
|
99
|
+
class Receivables < Increase::Internal::Type::BaseModel
|
|
100
|
+
# @!attribute purchasable_balance
|
|
101
|
+
# The balance of seasoned receivables available to be purchased.
|
|
102
|
+
#
|
|
103
|
+
# @return [Integer]
|
|
104
|
+
required :purchasable_balance, Integer
|
|
105
|
+
|
|
106
|
+
# @!attribute purchased_balance
|
|
107
|
+
# The balance of receivables that have been purchased.
|
|
108
|
+
#
|
|
109
|
+
# @return [Integer]
|
|
110
|
+
required :purchased_balance, Integer
|
|
111
|
+
|
|
112
|
+
# @!method initialize(purchasable_balance:, purchased_balance:)
|
|
113
|
+
# The receivables balances for the loan.
|
|
114
|
+
#
|
|
115
|
+
# @param purchasable_balance [Integer] The balance of seasoned receivables available to be purchased.
|
|
116
|
+
#
|
|
117
|
+
# @param purchased_balance [Integer] The balance of receivables that have been purchased.
|
|
118
|
+
end
|
|
89
119
|
end
|
|
90
120
|
|
|
91
121
|
# A constant representing the object's type. For this resource it will always be
|
|
@@ -286,12 +286,18 @@ module Increase
|
|
|
286
286
|
# Occurs whenever a Loan Application is updated.
|
|
287
287
|
LOAN_APPLICATION_UPDATED = :"loan_application.updated"
|
|
288
288
|
|
|
289
|
+
# Occurs whenever a Loan Distribution is created.
|
|
290
|
+
LOAN_DISTRIBUTION_CREATED = :"loan_distribution.created"
|
|
291
|
+
|
|
289
292
|
# Occurs whenever a Loan Offer is created.
|
|
290
293
|
LOAN_OFFER_CREATED = :"loan_offer.created"
|
|
291
294
|
|
|
292
295
|
# Occurs whenever a Loan Offer is updated.
|
|
293
296
|
LOAN_OFFER_UPDATED = :"loan_offer.updated"
|
|
294
297
|
|
|
298
|
+
# Occurs whenever a Loan Purchase is created.
|
|
299
|
+
LOAN_PURCHASE_CREATED = :"loan_purchase.created"
|
|
300
|
+
|
|
295
301
|
# Occurs whenever a Lockbox is created.
|
|
296
302
|
LOCKBOX_CREATED = :"lockbox.created"
|
|
297
303
|
|
|
@@ -295,12 +295,18 @@ module Increase
|
|
|
295
295
|
# Occurs whenever a Loan Application is updated.
|
|
296
296
|
LOAN_APPLICATION_UPDATED = :"loan_application.updated"
|
|
297
297
|
|
|
298
|
+
# Occurs whenever a Loan Distribution is created.
|
|
299
|
+
LOAN_DISTRIBUTION_CREATED = :"loan_distribution.created"
|
|
300
|
+
|
|
298
301
|
# Occurs whenever a Loan Offer is created.
|
|
299
302
|
LOAN_OFFER_CREATED = :"loan_offer.created"
|
|
300
303
|
|
|
301
304
|
# Occurs whenever a Loan Offer is updated.
|
|
302
305
|
LOAN_OFFER_UPDATED = :"loan_offer.updated"
|
|
303
306
|
|
|
307
|
+
# Occurs whenever a Loan Purchase is created.
|
|
308
|
+
LOAN_PURCHASE_CREATED = :"loan_purchase.created"
|
|
309
|
+
|
|
304
310
|
# Occurs whenever a Lockbox is created.
|
|
305
311
|
LOCKBOX_CREATED = :"lockbox.created"
|
|
306
312
|
|
|
@@ -320,12 +320,18 @@ module Increase
|
|
|
320
320
|
# Occurs whenever a Loan Application is updated.
|
|
321
321
|
LOAN_APPLICATION_UPDATED = :"loan_application.updated"
|
|
322
322
|
|
|
323
|
+
# Occurs whenever a Loan Distribution is created.
|
|
324
|
+
LOAN_DISTRIBUTION_CREATED = :"loan_distribution.created"
|
|
325
|
+
|
|
323
326
|
# Occurs whenever a Loan Offer is created.
|
|
324
327
|
LOAN_OFFER_CREATED = :"loan_offer.created"
|
|
325
328
|
|
|
326
329
|
# Occurs whenever a Loan Offer is updated.
|
|
327
330
|
LOAN_OFFER_UPDATED = :"loan_offer.updated"
|
|
328
331
|
|
|
332
|
+
# Occurs whenever a Loan Purchase is created.
|
|
333
|
+
LOAN_PURCHASE_CREATED = :"loan_purchase.created"
|
|
334
|
+
|
|
329
335
|
# Occurs whenever a Lockbox is created.
|
|
330
336
|
LOCKBOX_CREATED = :"lockbox.created"
|
|
331
337
|
|
|
@@ -459,9 +465,6 @@ module Increase
|
|
|
459
465
|
# The subscription is permanently disabled and Events will not be delivered.
|
|
460
466
|
DELETED = :deleted
|
|
461
467
|
|
|
462
|
-
# The subscription is temporarily disabled due to delivery errors and Events will not be delivered.
|
|
463
|
-
REQUIRES_ATTENTION = :requires_attention
|
|
464
|
-
|
|
465
468
|
# @!method self.values
|
|
466
469
|
# @return [Array<Symbol>]
|
|
467
470
|
end
|
|
@@ -291,12 +291,18 @@ module Increase
|
|
|
291
291
|
# Occurs whenever a Loan Application is updated.
|
|
292
292
|
LOAN_APPLICATION_UPDATED = :"loan_application.updated"
|
|
293
293
|
|
|
294
|
+
# Occurs whenever a Loan Distribution is created.
|
|
295
|
+
LOAN_DISTRIBUTION_CREATED = :"loan_distribution.created"
|
|
296
|
+
|
|
294
297
|
# Occurs whenever a Loan Offer is created.
|
|
295
298
|
LOAN_OFFER_CREATED = :"loan_offer.created"
|
|
296
299
|
|
|
297
300
|
# Occurs whenever a Loan Offer is updated.
|
|
298
301
|
LOAN_OFFER_UPDATED = :"loan_offer.updated"
|
|
299
302
|
|
|
303
|
+
# Occurs whenever a Loan Purchase is created.
|
|
304
|
+
LOAN_PURCHASE_CREATED = :"loan_purchase.created"
|
|
305
|
+
|
|
300
306
|
# Occurs whenever a Lockbox is created.
|
|
301
307
|
LOCKBOX_CREATED = :"lockbox.created"
|
|
302
308
|
|
|
@@ -285,12 +285,18 @@ module Increase
|
|
|
285
285
|
# Occurs whenever a Loan Application is updated.
|
|
286
286
|
LOAN_APPLICATION_UPDATED = :"loan_application.updated"
|
|
287
287
|
|
|
288
|
+
# Occurs whenever a Loan Distribution is created.
|
|
289
|
+
LOAN_DISTRIBUTION_CREATED = :"loan_distribution.created"
|
|
290
|
+
|
|
288
291
|
# Occurs whenever a Loan Offer is created.
|
|
289
292
|
LOAN_OFFER_CREATED = :"loan_offer.created"
|
|
290
293
|
|
|
291
294
|
# Occurs whenever a Loan Offer is updated.
|
|
292
295
|
LOAN_OFFER_UPDATED = :"loan_offer.updated"
|
|
293
296
|
|
|
297
|
+
# Occurs whenever a Loan Purchase is created.
|
|
298
|
+
LOAN_PURCHASE_CREATED = :"loan_purchase.created"
|
|
299
|
+
|
|
294
300
|
# Occurs whenever a Lockbox is created.
|
|
295
301
|
LOCKBOX_CREATED = :"lockbox.created"
|
|
296
302
|
|
data/lib/increase/version.rb
CHANGED
|
@@ -1226,13 +1226,6 @@ module Increase
|
|
|
1226
1226
|
Increase::ACHPrenotification::Status::TaggedSymbol
|
|
1227
1227
|
)
|
|
1228
1228
|
|
|
1229
|
-
# The Prenotification requires attention.
|
|
1230
|
-
REQUIRES_ATTENTION =
|
|
1231
|
-
T.let(
|
|
1232
|
-
:requires_attention,
|
|
1233
|
-
Increase::ACHPrenotification::Status::TaggedSymbol
|
|
1234
|
-
)
|
|
1235
|
-
|
|
1236
1229
|
# The Prenotification has been returned.
|
|
1237
1230
|
RETURNED =
|
|
1238
1231
|
T.let(:returned, Increase::ACHPrenotification::Status::TaggedSymbol)
|
|
@@ -1241,6 +1234,13 @@ module Increase
|
|
|
1241
1234
|
SUBMITTED =
|
|
1242
1235
|
T.let(:submitted, Increase::ACHPrenotification::Status::TaggedSymbol)
|
|
1243
1236
|
|
|
1237
|
+
# The Prenotification requires attention.
|
|
1238
|
+
REQUIRES_ATTENTION =
|
|
1239
|
+
T.let(
|
|
1240
|
+
:requires_attention,
|
|
1241
|
+
Increase::ACHPrenotification::Status::TaggedSymbol
|
|
1242
|
+
)
|
|
1243
|
+
|
|
1244
1244
|
sig do
|
|
1245
1245
|
override.returns(
|
|
1246
1246
|
T::Array[Increase::ACHPrenotification::Status::TaggedSymbol]
|
|
@@ -97,12 +97,26 @@ module Increase
|
|
|
97
97
|
sig { returns(Integer) }
|
|
98
98
|
attr_accessor :past_due_balance
|
|
99
99
|
|
|
100
|
+
# The receivables balances for the loan.
|
|
101
|
+
sig { returns(T.nilable(Increase::BalanceLookup::Loan::Receivables)) }
|
|
102
|
+
attr_reader :receivables
|
|
103
|
+
|
|
104
|
+
sig do
|
|
105
|
+
params(
|
|
106
|
+
receivables:
|
|
107
|
+
T.nilable(Increase::BalanceLookup::Loan::Receivables::OrHash)
|
|
108
|
+
).void
|
|
109
|
+
end
|
|
110
|
+
attr_writer :receivables
|
|
111
|
+
|
|
100
112
|
# The loan balances for the Account.
|
|
101
113
|
sig do
|
|
102
114
|
params(
|
|
103
115
|
due_at: T.nilable(Time),
|
|
104
116
|
due_balance: Integer,
|
|
105
|
-
past_due_balance: Integer
|
|
117
|
+
past_due_balance: Integer,
|
|
118
|
+
receivables:
|
|
119
|
+
T.nilable(Increase::BalanceLookup::Loan::Receivables::OrHash)
|
|
106
120
|
).returns(T.attached_class)
|
|
107
121
|
end
|
|
108
122
|
def self.new(
|
|
@@ -112,7 +126,9 @@ module Increase
|
|
|
112
126
|
# The total amount due on the loan.
|
|
113
127
|
due_balance:,
|
|
114
128
|
# The amount past due on the loan.
|
|
115
|
-
past_due_balance
|
|
129
|
+
past_due_balance:,
|
|
130
|
+
# The receivables balances for the loan.
|
|
131
|
+
receivables:
|
|
116
132
|
)
|
|
117
133
|
end
|
|
118
134
|
|
|
@@ -121,12 +137,54 @@ module Increase
|
|
|
121
137
|
{
|
|
122
138
|
due_at: T.nilable(Time),
|
|
123
139
|
due_balance: Integer,
|
|
124
|
-
past_due_balance: Integer
|
|
140
|
+
past_due_balance: Integer,
|
|
141
|
+
receivables: T.nilable(Increase::BalanceLookup::Loan::Receivables)
|
|
125
142
|
}
|
|
126
143
|
)
|
|
127
144
|
end
|
|
128
145
|
def to_hash
|
|
129
146
|
end
|
|
147
|
+
|
|
148
|
+
class Receivables < Increase::Internal::Type::BaseModel
|
|
149
|
+
OrHash =
|
|
150
|
+
T.type_alias do
|
|
151
|
+
T.any(
|
|
152
|
+
Increase::BalanceLookup::Loan::Receivables,
|
|
153
|
+
Increase::Internal::AnyHash
|
|
154
|
+
)
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
# The balance of seasoned receivables available to be purchased.
|
|
158
|
+
sig { returns(Integer) }
|
|
159
|
+
attr_accessor :purchasable_balance
|
|
160
|
+
|
|
161
|
+
# The balance of receivables that have been purchased.
|
|
162
|
+
sig { returns(Integer) }
|
|
163
|
+
attr_accessor :purchased_balance
|
|
164
|
+
|
|
165
|
+
# The receivables balances for the loan.
|
|
166
|
+
sig do
|
|
167
|
+
params(
|
|
168
|
+
purchasable_balance: Integer,
|
|
169
|
+
purchased_balance: Integer
|
|
170
|
+
).returns(T.attached_class)
|
|
171
|
+
end
|
|
172
|
+
def self.new(
|
|
173
|
+
# The balance of seasoned receivables available to be purchased.
|
|
174
|
+
purchasable_balance:,
|
|
175
|
+
# The balance of receivables that have been purchased.
|
|
176
|
+
purchased_balance:
|
|
177
|
+
)
|
|
178
|
+
end
|
|
179
|
+
|
|
180
|
+
sig do
|
|
181
|
+
override.returns(
|
|
182
|
+
{ purchasable_balance: Integer, purchased_balance: Integer }
|
|
183
|
+
)
|
|
184
|
+
end
|
|
185
|
+
def to_hash
|
|
186
|
+
end
|
|
187
|
+
end
|
|
130
188
|
end
|
|
131
189
|
|
|
132
190
|
# A constant representing the object's type. For this resource it will always be
|
|
@@ -558,6 +558,13 @@ module Increase
|
|
|
558
558
|
Increase::Event::Category::TaggedSymbol
|
|
559
559
|
)
|
|
560
560
|
|
|
561
|
+
# Occurs whenever a Loan Distribution is created.
|
|
562
|
+
LOAN_DISTRIBUTION_CREATED =
|
|
563
|
+
T.let(
|
|
564
|
+
:"loan_distribution.created",
|
|
565
|
+
Increase::Event::Category::TaggedSymbol
|
|
566
|
+
)
|
|
567
|
+
|
|
561
568
|
# Occurs whenever a Loan Offer is created.
|
|
562
569
|
LOAN_OFFER_CREATED =
|
|
563
570
|
T.let(:"loan_offer.created", Increase::Event::Category::TaggedSymbol)
|
|
@@ -566,6 +573,13 @@ module Increase
|
|
|
566
573
|
LOAN_OFFER_UPDATED =
|
|
567
574
|
T.let(:"loan_offer.updated", Increase::Event::Category::TaggedSymbol)
|
|
568
575
|
|
|
576
|
+
# Occurs whenever a Loan Purchase is created.
|
|
577
|
+
LOAN_PURCHASE_CREATED =
|
|
578
|
+
T.let(
|
|
579
|
+
:"loan_purchase.created",
|
|
580
|
+
Increase::Event::Category::TaggedSymbol
|
|
581
|
+
)
|
|
582
|
+
|
|
569
583
|
# Occurs whenever a Lockbox is created.
|
|
570
584
|
LOCKBOX_CREATED =
|
|
571
585
|
T.let(:"lockbox.created", Increase::Event::Category::TaggedSymbol)
|
|
@@ -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(
|
|
@@ -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(
|
|
@@ -607,7 +607,7 @@ module Increase
|
|
|
607
607
|
end
|
|
608
608
|
|
|
609
609
|
type status =
|
|
610
|
-
:pending_submitting | :
|
|
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
|
|
|
@@ -37,7 +37,12 @@ module Increase
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
type loan =
|
|
40
|
-
{
|
|
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
|
|
@@ -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
|
|
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
|
|
|
@@ -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
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: increase
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.336.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Increase
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-06-
|
|
11
|
+
date: 2026-06-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|