Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
configured_endpoints: 238
openapi_spec_hash: f016dd0581244764f46db0611893df13
openapi_spec_hash: 0b600ce4933347362036db3c142c29e0
config_hash: 2ae0d8aaecf01b38cbf9f9e112822c23
2 changes: 1 addition & 1 deletion scripts/mock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/increase/types/ach_prenotification.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,13 +454,13 @@ class ACHPrenotification(BaseModel):
consumer to consumer transactions.
"""

status: Literal["pending_submitting", "requires_attention", "returned", "submitted"]
status: Literal["pending_submitting", "returned", "submitted", "requires_attention"]
"""The lifecycle status of the ACH Prenotification.

- `pending_submitting` - The Prenotification is pending submission.
- `requires_attention` - The Prenotification requires attention.
- `returned` - The Prenotification has been returned.
- `submitted` - The Prenotification is complete.
- `requires_attention` - The Prenotification requires attention.
"""

type: Literal["ach_prenotification"]
Expand Down
15 changes: 14 additions & 1 deletion src/increase/types/balance_lookup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,17 @@

from .._models import BaseModel

__all__ = ["BalanceLookup", "Loan"]
__all__ = ["BalanceLookup", "Loan", "LoanReceivables"]


class LoanReceivables(BaseModel):
"""The receivables balances for the loan."""

purchasable_balance: int
"""The balance of seasoned receivables available to be purchased."""

purchased_balance: int
"""The balance of receivables that have been purchased."""


class Loan(BaseModel):
Expand All @@ -24,6 +34,9 @@ class Loan(BaseModel):
past_due_balance: int
"""The amount past due on the loan."""

receivables: Optional[LoanReceivables] = None
"""The receivables balances for the loan."""


class BalanceLookup(BaseModel):
"""
Expand Down
4 changes: 4 additions & 0 deletions src/increase/types/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,10 @@ class Event(BaseModel):
"intrafi_exclusion.updated",
"loan_application.created",
"loan_application.updated",
"loan_distribution.created",
"loan_offer.created",
"loan_offer.updated",
"loan_purchase.created",
"lockbox.created",
"lockbox.updated",
"oauth_connection.created",
Expand Down Expand Up @@ -248,8 +250,10 @@ class Event(BaseModel):
- `intrafi_exclusion.updated` - Occurs whenever an IntraFi Exclusion is updated.
- `loan_application.created` - Occurs whenever a Loan Application is created.
- `loan_application.updated` - Occurs whenever a Loan Application is updated.
- `loan_distribution.created` - Occurs whenever a Loan Distribution is created.
- `loan_offer.created` - Occurs whenever a Loan Offer is created.
- `loan_offer.updated` - Occurs whenever a Loan Offer is updated.
- `loan_purchase.created` - Occurs whenever a Loan Purchase is created.
- `lockbox.created` - Occurs whenever a Lockbox is created.
- `lockbox.updated` - Occurs whenever a Lockbox is updated.
- `oauth_connection.created` - Occurs whenever an OAuth Connection is created.
Expand Down
2 changes: 2 additions & 0 deletions src/increase/types/event_list_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,10 @@ class EventListParams(TypedDict, total=False):
"intrafi_exclusion.updated",
"loan_application.created",
"loan_application.updated",
"loan_distribution.created",
"loan_offer.created",
"loan_offer.updated",
"loan_purchase.created",
"lockbox.created",
"lockbox.updated",
"oauth_connection.created",
Expand Down
8 changes: 5 additions & 3 deletions src/increase/types/event_subscription.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,10 @@ class SelectedEventCategory(BaseModel):
"intrafi_exclusion.updated",
"loan_application.created",
"loan_application.updated",
"loan_distribution.created",
"loan_offer.created",
"loan_offer.updated",
"loan_purchase.created",
"lockbox.created",
"lockbox.updated",
"oauth_connection.created",
Expand Down Expand Up @@ -236,8 +238,10 @@ class SelectedEventCategory(BaseModel):
- `intrafi_exclusion.updated` - Occurs whenever an IntraFi Exclusion is updated.
- `loan_application.created` - Occurs whenever a Loan Application is created.
- `loan_application.updated` - Occurs whenever a Loan Application is updated.
- `loan_distribution.created` - Occurs whenever a Loan Distribution is created.
- `loan_offer.created` - Occurs whenever a Loan Offer is created.
- `loan_offer.updated` - Occurs whenever a Loan Offer is updated.
- `loan_purchase.created` - Occurs whenever a Loan Purchase is created.
- `lockbox.created` - Occurs whenever a Lockbox is created.
- `lockbox.updated` - Occurs whenever a Lockbox is updated.
- `oauth_connection.created` - Occurs whenever an OAuth Connection is created.
Expand Down Expand Up @@ -333,16 +337,14 @@ class EventSubscription(BaseModel):
specified `category`.
"""

status: Literal["active", "disabled", "deleted", "requires_attention"]
status: Literal["active", "disabled", "deleted"]
"""This indicates if we'll send notifications to this subscription.

- `active` - The subscription is active and Events will be delivered normally.
- `disabled` - The subscription is temporarily disabled and Events will not be
delivered.
- `deleted` - The subscription is permanently disabled and Events will not be
delivered.
- `requires_attention` - The subscription is temporarily disabled due to
delivery errors and Events will not be delivered.
"""

type: Literal["event_subscription"]
Expand Down
4 changes: 4 additions & 0 deletions src/increase/types/event_subscription_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,10 @@ class SelectedEventCategory(TypedDict, total=False):
"intrafi_exclusion.updated",
"loan_application.created",
"loan_application.updated",
"loan_distribution.created",
"loan_offer.created",
"loan_offer.updated",
"loan_purchase.created",
"lockbox.created",
"lockbox.updated",
"oauth_connection.created",
Expand Down Expand Up @@ -265,8 +267,10 @@ class SelectedEventCategory(TypedDict, total=False):
- `intrafi_exclusion.updated` - Occurs whenever an IntraFi Exclusion is updated.
- `loan_application.created` - Occurs whenever a Loan Application is created.
- `loan_application.updated` - Occurs whenever a Loan Application is updated.
- `loan_distribution.created` - Occurs whenever a Loan Distribution is created.
- `loan_offer.created` - Occurs whenever a Loan Offer is created.
- `loan_offer.updated` - Occurs whenever a Loan Offer is updated.
- `loan_purchase.created` - Occurs whenever a Loan Purchase is created.
- `lockbox.created` - Occurs whenever a Lockbox is created.
- `lockbox.updated` - Occurs whenever a Lockbox is updated.
- `oauth_connection.created` - Occurs whenever an OAuth Connection is created.
Expand Down
4 changes: 4 additions & 0 deletions src/increase/types/unwrap_webhook_event.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,10 @@ class UnwrapWebhookEvent(BaseModel):
"intrafi_exclusion.updated",
"loan_application.created",
"loan_application.updated",
"loan_distribution.created",
"loan_offer.created",
"loan_offer.updated",
"loan_purchase.created",
"lockbox.created",
"lockbox.updated",
"oauth_connection.created",
Expand Down Expand Up @@ -248,8 +250,10 @@ class UnwrapWebhookEvent(BaseModel):
- `intrafi_exclusion.updated` - Occurs whenever an IntraFi Exclusion is updated.
- `loan_application.created` - Occurs whenever a Loan Application is created.
- `loan_application.updated` - Occurs whenever a Loan Application is updated.
- `loan_distribution.created` - Occurs whenever a Loan Distribution is created.
- `loan_offer.created` - Occurs whenever a Loan Offer is created.
- `loan_offer.updated` - Occurs whenever a Loan Offer is updated.
- `loan_purchase.created` - Occurs whenever a Loan Purchase is created.
- `lockbox.created` - Occurs whenever a Lockbox is created.
- `lockbox.updated` - Occurs whenever a Lockbox is updated.
- `oauth_connection.created` - Occurs whenever an OAuth Connection is created.
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading