increase 1.351.0 → 1.353.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/README.md +1 -1
- data/lib/increase/models/account_statement.rb +12 -4
- data/lib/increase/models/balance_lookup.rb +1 -59
- data/lib/increase/models/beneficial_owner_create_params.rb +3 -0
- data/lib/increase/models/beneficial_owner_update_params.rb +3 -0
- data/lib/increase/models/card_payment.rb +1174 -2
- data/lib/increase/models/check_transfer.rb +15 -9
- data/lib/increase/models/entity.rb +18 -0
- data/lib/increase/models/entity_beneficial_owner.rb +3 -0
- data/lib/increase/models/entity_create_params.rb +36 -20
- data/lib/increase/models/entity_update_params.rb +33 -20
- data/lib/increase/models/event.rb +12 -0
- data/lib/increase/models/event_list_params.rb +12 -0
- data/lib/increase/models/event_subscription.rb +12 -0
- data/lib/increase/models/event_subscription_create_params.rb +12 -0
- data/lib/increase/models/inbound_ach_transfer.rb +9 -1
- data/lib/increase/models/pending_transaction.rb +121 -1
- data/lib/increase/models/pending_transaction_list_params.rb +6 -0
- data/lib/increase/models/simulations/physical_card_create_params.rb +9 -6
- data/lib/increase/models/transaction.rb +1277 -3
- data/lib/increase/models/transaction_list_params.rb +6 -0
- data/lib/increase/models/unwrap_webhook_event.rb +12 -0
- data/lib/increase/models/wire_drawdown_request.rb +3 -3
- data/lib/increase/models/wire_drawdown_request_list_params.rb +3 -3
- data/lib/increase/resources/simulations/account_statements.rb +2 -1
- data/lib/increase/resources/simulations/physical_cards.rb +5 -3
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/account_statement.rbi +12 -4
- data/rbi/increase/models/balance_lookup.rbi +3 -87
- data/rbi/increase/models/beneficial_owner_create_params.rbi +7 -0
- data/rbi/increase/models/beneficial_owner_update_params.rbi +7 -0
- data/rbi/increase/models/card_payment.rbi +5276 -2964
- data/rbi/increase/models/check_transfer.rbi +15 -9
- data/rbi/increase/models/entity.rbi +42 -0
- data/rbi/increase/models/entity_beneficial_owner.rbi +7 -0
- data/rbi/increase/models/entity_create_params.rbi +46 -21
- data/rbi/increase/models/entity_update_params.rbi +39 -21
- data/rbi/increase/models/event.rbi +28 -0
- data/rbi/increase/models/event_list_params.rbi +28 -0
- data/rbi/increase/models/event_subscription.rbi +28 -0
- data/rbi/increase/models/event_subscription_create_params.rbi +28 -0
- data/rbi/increase/models/inbound_ach_transfer.rbi +8 -0
- data/rbi/increase/models/pending_transaction.rbi +254 -0
- data/rbi/increase/models/pending_transaction_list_params.rbi +14 -0
- data/rbi/increase/models/simulations/physical_card_create_params.rbi +8 -6
- data/rbi/increase/models/transaction.rbi +4848 -2358
- data/rbi/increase/models/transaction_list_params.rbi +14 -0
- data/rbi/increase/models/unwrap_webhook_event.rbi +28 -0
- data/rbi/increase/models/wire_drawdown_request.rbi +4 -4
- data/rbi/increase/models/wire_drawdown_request_list_params.rbi +6 -6
- data/rbi/increase/resources/simulations/account_statements.rbi +2 -1
- data/rbi/increase/resources/simulations/physical_cards.rbi +4 -3
- data/sig/increase/models/balance_lookup.rbs +3 -42
- data/sig/increase/models/beneficial_owner_create_params.rbs +4 -0
- data/sig/increase/models/beneficial_owner_update_params.rbs +4 -0
- data/sig/increase/models/card_payment.rbs +1186 -0
- data/sig/increase/models/entity.rbs +24 -0
- data/sig/increase/models/entity_beneficial_owner.rbs +4 -0
- data/sig/increase/models/entity_create_params.rbs +24 -11
- data/sig/increase/models/entity_update_params.rbs +20 -11
- data/sig/increase/models/event.rbs +16 -0
- data/sig/increase/models/event_list_params.rbs +16 -0
- data/sig/increase/models/event_subscription.rbs +16 -0
- data/sig/increase/models/event_subscription_create_params.rbs +16 -0
- data/sig/increase/models/inbound_ach_transfer.rbs +5 -0
- data/sig/increase/models/pending_transaction.rbs +84 -0
- data/sig/increase/models/pending_transaction_list_params.rbs +8 -0
- data/sig/increase/models/transaction.rbs +1236 -0
- data/sig/increase/models/transaction_list_params.rbs +8 -0
- data/sig/increase/models/unwrap_webhook_event.rbs +16 -0
- data/sig/increase/models/wire_drawdown_request.rbs +4 -4
- data/sig/increase/models/wire_drawdown_request_list_params.rbs +4 -4
- 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: fff32c0810855540ecec2bbf731aa17c10dbfba28e99d55a532ee7d918536dc6
|
|
4
|
+
data.tar.gz: 96a88553b9dfb0bb7df9a6e6f66a4322320384b26ff3e9a723d1ed7e8a8cb081
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fc58d7606a136ebf727659ff13b63cc7f679158cb0e9a37f83047f7834db6c60485d29977f49dad1235b2747a0ad39a7a76de4db8e336e19019808e65e367174
|
|
7
|
+
data.tar.gz: 2ae3049931377b31e164a8355fc0913f0c3f9ae2824e11f94418f77ff8c18d499a31de0babe2f9245637b269c7688d07b81f17ffdc05464868d30191afad56e7
|
data/README.md
CHANGED
|
@@ -49,14 +49,18 @@ module Increase
|
|
|
49
49
|
|
|
50
50
|
# @!attribute statement_period_end
|
|
51
51
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time representing the end
|
|
52
|
-
# of the period the Account Statement covers.
|
|
52
|
+
# of the period the Account Statement covers. The statement covers all
|
|
53
|
+
# transactions up to, but not including this timestamp. Usually, this is the
|
|
54
|
+
# beginning of the following month.
|
|
53
55
|
#
|
|
54
56
|
# @return [Time]
|
|
55
57
|
required :statement_period_end, Time
|
|
56
58
|
|
|
57
59
|
# @!attribute statement_period_start
|
|
58
60
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time representing the
|
|
59
|
-
# start of the period the Account Statement covers.
|
|
61
|
+
# start of the period the Account Statement covers. This is the first moment of
|
|
62
|
+
# the statement period and is inclusive. Usually, this is the beginning of the
|
|
63
|
+
# month this statement covers.
|
|
60
64
|
#
|
|
61
65
|
# @return [Time]
|
|
62
66
|
required :statement_period_start, Time
|
|
@@ -91,11 +95,15 @@ module Increase
|
|
|
91
95
|
#
|
|
92
96
|
# @param statement_period_end [Time]
|
|
93
97
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time representing the end
|
|
94
|
-
# of the period the Account Statement covers.
|
|
98
|
+
# of the period the Account Statement covers. The statement covers all
|
|
99
|
+
# transactions up to, but not including this timestamp. Usually, this is the
|
|
100
|
+
# beginning of the following month.
|
|
95
101
|
#
|
|
96
102
|
# @param statement_period_start [Time]
|
|
97
103
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time representing the
|
|
98
|
-
# start of the period the Account Statement covers.
|
|
104
|
+
# start of the period the Account Statement covers. This is the first moment of
|
|
105
|
+
# the statement period and is inclusive. Usually, this is the beginning of the
|
|
106
|
+
# month this statement covers.
|
|
99
107
|
#
|
|
100
108
|
# @param type [Symbol, Increase::Models::AccountStatement::Type]
|
|
101
109
|
# A constant representing the object's type. For this resource it will always be
|
|
@@ -59,19 +59,6 @@ module Increase
|
|
|
59
59
|
|
|
60
60
|
# @see Increase::Models::BalanceLookup#loan
|
|
61
61
|
class Loan < Increase::Internal::Type::BaseModel
|
|
62
|
-
# @!attribute due_at
|
|
63
|
-
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the loan
|
|
64
|
-
# payment is due.
|
|
65
|
-
#
|
|
66
|
-
# @return [Time, nil]
|
|
67
|
-
required :due_at, Time, nil?: true
|
|
68
|
-
|
|
69
|
-
# @!attribute due_balance
|
|
70
|
-
# The total amount due on the loan.
|
|
71
|
-
#
|
|
72
|
-
# @return [Integer]
|
|
73
|
-
required :due_balance, Integer
|
|
74
|
-
|
|
75
62
|
# @!attribute due_fees
|
|
76
63
|
# The fees on the loan that are due and unpaid.
|
|
77
64
|
#
|
|
@@ -108,27 +95,9 @@ module Increase
|
|
|
108
95
|
# @return [Integer, nil]
|
|
109
96
|
required :not_due_principal, Integer, nil?: true
|
|
110
97
|
|
|
111
|
-
# @!
|
|
112
|
-
# The amount past due on the loan.
|
|
113
|
-
#
|
|
114
|
-
# @return [Integer]
|
|
115
|
-
required :past_due_balance, Integer
|
|
116
|
-
|
|
117
|
-
# @!attribute receivables
|
|
118
|
-
# The receivables balances for the loan.
|
|
119
|
-
#
|
|
120
|
-
# @return [Increase::Models::BalanceLookup::Loan::Receivables, nil]
|
|
121
|
-
required :receivables, -> { Increase::BalanceLookup::Loan::Receivables }, nil?: true
|
|
122
|
-
|
|
123
|
-
# @!method initialize(due_at:, due_balance:, due_fees:, due_interest:, due_principal:, not_due_fees:, not_due_interest:, not_due_principal:, past_due_balance:, receivables:)
|
|
98
|
+
# @!method initialize(due_fees:, due_interest:, due_principal:, not_due_fees:, not_due_interest:, not_due_principal:)
|
|
124
99
|
# The loan balances for the Account.
|
|
125
100
|
#
|
|
126
|
-
# @param due_at [Time, nil]
|
|
127
|
-
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the loan
|
|
128
|
-
# payment is due.
|
|
129
|
-
#
|
|
130
|
-
# @param due_balance [Integer] The total amount due on the loan.
|
|
131
|
-
#
|
|
132
101
|
# @param due_fees [Integer, nil] The fees on the loan that are due and unpaid.
|
|
133
102
|
#
|
|
134
103
|
# @param due_interest [Integer, nil] The interest on the loan that is due and unpaid.
|
|
@@ -140,33 +109,6 @@ module Increase
|
|
|
140
109
|
# @param not_due_interest [Integer, nil] The interest on the loan that is not yet due.
|
|
141
110
|
#
|
|
142
111
|
# @param not_due_principal [Integer, nil] The principal on the loan that is not yet due.
|
|
143
|
-
#
|
|
144
|
-
# @param past_due_balance [Integer] The amount past due on the loan.
|
|
145
|
-
#
|
|
146
|
-
# @param receivables [Increase::Models::BalanceLookup::Loan::Receivables, nil]
|
|
147
|
-
# The receivables balances for the loan.
|
|
148
|
-
|
|
149
|
-
# @see Increase::Models::BalanceLookup::Loan#receivables
|
|
150
|
-
class Receivables < Increase::Internal::Type::BaseModel
|
|
151
|
-
# @!attribute purchasable_balance
|
|
152
|
-
# The balance of seasoned receivables available to be purchased.
|
|
153
|
-
#
|
|
154
|
-
# @return [Integer]
|
|
155
|
-
required :purchasable_balance, Integer
|
|
156
|
-
|
|
157
|
-
# @!attribute purchased_balance
|
|
158
|
-
# The balance of receivables that have been purchased.
|
|
159
|
-
#
|
|
160
|
-
# @return [Integer]
|
|
161
|
-
required :purchased_balance, Integer
|
|
162
|
-
|
|
163
|
-
# @!method initialize(purchasable_balance:, purchased_balance:)
|
|
164
|
-
# The receivables balances for the loan.
|
|
165
|
-
#
|
|
166
|
-
# @param purchasable_balance [Integer] The balance of seasoned receivables available to be purchased.
|
|
167
|
-
#
|
|
168
|
-
# @param purchased_balance [Integer] The balance of receivables that have been purchased.
|
|
169
|
-
end
|
|
170
112
|
end
|
|
171
113
|
|
|
172
114
|
# A constant representing the object's type. For this resource it will always be
|
|
@@ -250,6 +250,9 @@ module Increase
|
|
|
250
250
|
# A social security number.
|
|
251
251
|
SOCIAL_SECURITY_NUMBER = :social_security_number
|
|
252
252
|
|
|
253
|
+
# The last four digits of a social security number.
|
|
254
|
+
SOCIAL_SECURITY_NUMBER_LAST4 = :social_security_number_last4
|
|
255
|
+
|
|
253
256
|
# An individual taxpayer identification number (ITIN).
|
|
254
257
|
INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER = :individual_taxpayer_identification_number
|
|
255
258
|
|
|
@@ -225,6 +225,9 @@ module Increase
|
|
|
225
225
|
# A social security number.
|
|
226
226
|
SOCIAL_SECURITY_NUMBER = :social_security_number
|
|
227
227
|
|
|
228
|
+
# The last four digits of a social security number.
|
|
229
|
+
SOCIAL_SECURITY_NUMBER_LAST4 = :social_security_number_last4
|
|
230
|
+
|
|
228
231
|
# An individual taxpayer identification number (ITIN).
|
|
229
232
|
INDIVIDUAL_TAXPAYER_IDENTIFICATION_NUMBER = :individual_taxpayer_identification_number
|
|
230
233
|
|