increase 1.351.0 → 1.352.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/entity_create_params.rb +33 -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 +103 -1
- data/lib/increase/models/transaction_list_params.rb +6 -0
- data/lib/increase/models/unwrap_webhook_event.rb +12 -0
- 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/entity_create_params.rbi +39 -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 +178 -0
- data/rbi/increase/models/transaction_list_params.rbi +14 -0
- data/rbi/increase/models/unwrap_webhook_event.rbi +28 -0
- 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/entity_create_params.rbs +20 -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 +50 -0
- data/sig/increase/models/transaction_list_params.rbs +8 -0
- data/sig/increase/models/unwrap_webhook_event.rbs +16 -0
- metadata +2 -2
|
@@ -911,6 +911,30 @@ module Increase
|
|
|
911
911
|
end
|
|
912
912
|
attr_writer :sample_funds
|
|
913
913
|
|
|
914
|
+
# A SEPA Instant Transfer Acceptance object. This field will be present in the
|
|
915
|
+
# JSON response if and only if `category` is equal to
|
|
916
|
+
# `sepa_instant_transfer_acceptance`. A SEPA Instant Transfer Acceptance is
|
|
917
|
+
# created when a SEPA Instant Transfer sent from Increase is accepted by the
|
|
918
|
+
# recipient's bank.
|
|
919
|
+
sig do
|
|
920
|
+
returns(
|
|
921
|
+
T.nilable(
|
|
922
|
+
Increase::Transaction::Source::SepaInstantTransferAcceptance
|
|
923
|
+
)
|
|
924
|
+
)
|
|
925
|
+
end
|
|
926
|
+
attr_reader :sepa_instant_transfer_acceptance
|
|
927
|
+
|
|
928
|
+
sig do
|
|
929
|
+
params(
|
|
930
|
+
sepa_instant_transfer_acceptance:
|
|
931
|
+
T.nilable(
|
|
932
|
+
Increase::Transaction::Source::SepaInstantTransferAcceptance::OrHash
|
|
933
|
+
)
|
|
934
|
+
).void
|
|
935
|
+
end
|
|
936
|
+
attr_writer :sepa_instant_transfer_acceptance
|
|
937
|
+
|
|
914
938
|
# A Swift Transfer Intention object. This field will be present in the JSON
|
|
915
939
|
# response if and only if `category` is equal to `swift_transfer_intention`. A
|
|
916
940
|
# Swift Transfer initiated via Increase.
|
|
@@ -949,6 +973,30 @@ module Increase
|
|
|
949
973
|
end
|
|
950
974
|
attr_writer :swift_transfer_return
|
|
951
975
|
|
|
976
|
+
# An UK Faster Payment System Transfer Acceptance object. This field will be
|
|
977
|
+
# present in the JSON response if and only if `category` is equal to
|
|
978
|
+
# `uk_faster_payment_system_transfer_acceptance`. A UK Faster Payment System
|
|
979
|
+
# Transfer Acceptance is created when a UK Faster Payment System Transfer sent
|
|
980
|
+
# from Increase is accepted by the recipient's bank.
|
|
981
|
+
sig do
|
|
982
|
+
returns(
|
|
983
|
+
T.nilable(
|
|
984
|
+
Increase::Transaction::Source::UkFasterPaymentSystemTransferAcceptance
|
|
985
|
+
)
|
|
986
|
+
)
|
|
987
|
+
end
|
|
988
|
+
attr_reader :uk_faster_payment_system_transfer_acceptance
|
|
989
|
+
|
|
990
|
+
sig do
|
|
991
|
+
params(
|
|
992
|
+
uk_faster_payment_system_transfer_acceptance:
|
|
993
|
+
T.nilable(
|
|
994
|
+
Increase::Transaction::Source::UkFasterPaymentSystemTransferAcceptance::OrHash
|
|
995
|
+
)
|
|
996
|
+
).void
|
|
997
|
+
end
|
|
998
|
+
attr_writer :uk_faster_payment_system_transfer_acceptance
|
|
999
|
+
|
|
952
1000
|
# A Wire Transfer Intention object. This field will be present in the JSON
|
|
953
1001
|
# response if and only if `category` is equal to `wire_transfer_intention`. A Wire
|
|
954
1002
|
# Transfer initiated via Increase and sent to a different bank.
|
|
@@ -1099,6 +1147,10 @@ module Increase
|
|
|
1099
1147
|
),
|
|
1100
1148
|
sample_funds:
|
|
1101
1149
|
T.nilable(Increase::Transaction::Source::SampleFunds::OrHash),
|
|
1150
|
+
sepa_instant_transfer_acceptance:
|
|
1151
|
+
T.nilable(
|
|
1152
|
+
Increase::Transaction::Source::SepaInstantTransferAcceptance::OrHash
|
|
1153
|
+
),
|
|
1102
1154
|
swift_transfer_intention:
|
|
1103
1155
|
T.nilable(
|
|
1104
1156
|
Increase::Transaction::Source::SwiftTransferIntention::OrHash
|
|
@@ -1107,6 +1159,10 @@ module Increase
|
|
|
1107
1159
|
T.nilable(
|
|
1108
1160
|
Increase::Transaction::Source::SwiftTransferReturn::OrHash
|
|
1109
1161
|
),
|
|
1162
|
+
uk_faster_payment_system_transfer_acceptance:
|
|
1163
|
+
T.nilable(
|
|
1164
|
+
Increase::Transaction::Source::UkFasterPaymentSystemTransferAcceptance::OrHash
|
|
1165
|
+
),
|
|
1110
1166
|
wire_transfer_intention:
|
|
1111
1167
|
T.nilable(
|
|
1112
1168
|
Increase::Transaction::Source::WireTransferIntention::OrHash
|
|
@@ -1302,6 +1358,12 @@ module Increase
|
|
|
1302
1358
|
# only if `category` is equal to `sample_funds`. Sample funds for testing
|
|
1303
1359
|
# purposes.
|
|
1304
1360
|
sample_funds: nil,
|
|
1361
|
+
# A SEPA Instant Transfer Acceptance object. This field will be present in the
|
|
1362
|
+
# JSON response if and only if `category` is equal to
|
|
1363
|
+
# `sepa_instant_transfer_acceptance`. A SEPA Instant Transfer Acceptance is
|
|
1364
|
+
# created when a SEPA Instant Transfer sent from Increase is accepted by the
|
|
1365
|
+
# recipient's bank.
|
|
1366
|
+
sepa_instant_transfer_acceptance: nil,
|
|
1305
1367
|
# A Swift Transfer Intention object. This field will be present in the JSON
|
|
1306
1368
|
# response if and only if `category` is equal to `swift_transfer_intention`. A
|
|
1307
1369
|
# Swift Transfer initiated via Increase.
|
|
@@ -1310,6 +1372,12 @@ module Increase
|
|
|
1310
1372
|
# if and only if `category` is equal to `swift_transfer_return`. A Swift Transfer
|
|
1311
1373
|
# Return is created when a Swift Transfer is returned by the receiving bank.
|
|
1312
1374
|
swift_transfer_return: nil,
|
|
1375
|
+
# An UK Faster Payment System Transfer Acceptance object. This field will be
|
|
1376
|
+
# present in the JSON response if and only if `category` is equal to
|
|
1377
|
+
# `uk_faster_payment_system_transfer_acceptance`. A UK Faster Payment System
|
|
1378
|
+
# Transfer Acceptance is created when a UK Faster Payment System Transfer sent
|
|
1379
|
+
# from Increase is accepted by the recipient's bank.
|
|
1380
|
+
uk_faster_payment_system_transfer_acceptance: nil,
|
|
1313
1381
|
# A Wire Transfer Intention object. This field will be present in the JSON
|
|
1314
1382
|
# response if and only if `category` is equal to `wire_transfer_intention`. A Wire
|
|
1315
1383
|
# Transfer initiated via Increase and sent to a different bank.
|
|
@@ -1416,12 +1484,20 @@ module Increase
|
|
|
1416
1484
|
),
|
|
1417
1485
|
sample_funds:
|
|
1418
1486
|
T.nilable(Increase::Transaction::Source::SampleFunds),
|
|
1487
|
+
sepa_instant_transfer_acceptance:
|
|
1488
|
+
T.nilable(
|
|
1489
|
+
Increase::Transaction::Source::SepaInstantTransferAcceptance
|
|
1490
|
+
),
|
|
1419
1491
|
swift_transfer_intention:
|
|
1420
1492
|
T.nilable(
|
|
1421
1493
|
Increase::Transaction::Source::SwiftTransferIntention
|
|
1422
1494
|
),
|
|
1423
1495
|
swift_transfer_return:
|
|
1424
1496
|
T.nilable(Increase::Transaction::Source::SwiftTransferReturn),
|
|
1497
|
+
uk_faster_payment_system_transfer_acceptance:
|
|
1498
|
+
T.nilable(
|
|
1499
|
+
Increase::Transaction::Source::UkFasterPaymentSystemTransferAcceptance
|
|
1500
|
+
),
|
|
1425
1501
|
wire_transfer_intention:
|
|
1426
1502
|
T.nilable(Increase::Transaction::Source::WireTransferIntention)
|
|
1427
1503
|
}
|
|
@@ -1707,6 +1783,20 @@ module Increase
|
|
|
1707
1783
|
Increase::Transaction::Source::Category::TaggedSymbol
|
|
1708
1784
|
)
|
|
1709
1785
|
|
|
1786
|
+
# UK Faster Payment System Transfer Acceptance: details will be under the `uk_faster_payment_system_transfer_acceptance` object.
|
|
1787
|
+
UK_FASTER_PAYMENT_SYSTEM_TRANSFER_ACCEPTANCE =
|
|
1788
|
+
T.let(
|
|
1789
|
+
:uk_faster_payment_system_transfer_acceptance,
|
|
1790
|
+
Increase::Transaction::Source::Category::TaggedSymbol
|
|
1791
|
+
)
|
|
1792
|
+
|
|
1793
|
+
# SEPA Instant Transfer Acceptance: details will be under the `sepa_instant_transfer_acceptance` object.
|
|
1794
|
+
SEPA_INSTANT_TRANSFER_ACCEPTANCE =
|
|
1795
|
+
T.let(
|
|
1796
|
+
:sepa_instant_transfer_acceptance,
|
|
1797
|
+
Increase::Transaction::Source::Category::TaggedSymbol
|
|
1798
|
+
)
|
|
1799
|
+
|
|
1710
1800
|
# The Transaction was made for an undocumented or deprecated reason.
|
|
1711
1801
|
OTHER =
|
|
1712
1802
|
T.let(:other, Increase::Transaction::Source::Category::TaggedSymbol)
|
|
@@ -14242,6 +14332,50 @@ module Increase
|
|
|
14242
14332
|
end
|
|
14243
14333
|
end
|
|
14244
14334
|
|
|
14335
|
+
class SepaInstantTransferAcceptance < Increase::Internal::Type::BaseModel
|
|
14336
|
+
OrHash =
|
|
14337
|
+
T.type_alias do
|
|
14338
|
+
T.any(
|
|
14339
|
+
Increase::Transaction::Source::SepaInstantTransferAcceptance,
|
|
14340
|
+
Increase::Internal::AnyHash
|
|
14341
|
+
)
|
|
14342
|
+
end
|
|
14343
|
+
|
|
14344
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
14345
|
+
# the recipient's bank accepted the transfer.
|
|
14346
|
+
sig { returns(Time) }
|
|
14347
|
+
attr_accessor :accepted_at
|
|
14348
|
+
|
|
14349
|
+
# The transfer amount in USD cents.
|
|
14350
|
+
sig { returns(Integer) }
|
|
14351
|
+
attr_accessor :settlement_amount
|
|
14352
|
+
|
|
14353
|
+
# A SEPA Instant Transfer Acceptance object. This field will be present in the
|
|
14354
|
+
# JSON response if and only if `category` is equal to
|
|
14355
|
+
# `sepa_instant_transfer_acceptance`. A SEPA Instant Transfer Acceptance is
|
|
14356
|
+
# created when a SEPA Instant Transfer sent from Increase is accepted by the
|
|
14357
|
+
# recipient's bank.
|
|
14358
|
+
sig do
|
|
14359
|
+
params(accepted_at: Time, settlement_amount: Integer).returns(
|
|
14360
|
+
T.attached_class
|
|
14361
|
+
)
|
|
14362
|
+
end
|
|
14363
|
+
def self.new(
|
|
14364
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
14365
|
+
# the recipient's bank accepted the transfer.
|
|
14366
|
+
accepted_at:,
|
|
14367
|
+
# The transfer amount in USD cents.
|
|
14368
|
+
settlement_amount:
|
|
14369
|
+
)
|
|
14370
|
+
end
|
|
14371
|
+
|
|
14372
|
+
sig do
|
|
14373
|
+
override.returns({ accepted_at: Time, settlement_amount: Integer })
|
|
14374
|
+
end
|
|
14375
|
+
def to_hash
|
|
14376
|
+
end
|
|
14377
|
+
end
|
|
14378
|
+
|
|
14245
14379
|
class SwiftTransferIntention < Increase::Internal::Type::BaseModel
|
|
14246
14380
|
OrHash =
|
|
14247
14381
|
T.type_alias do
|
|
@@ -14298,6 +14432,50 @@ module Increase
|
|
|
14298
14432
|
end
|
|
14299
14433
|
end
|
|
14300
14434
|
|
|
14435
|
+
class UkFasterPaymentSystemTransferAcceptance < Increase::Internal::Type::BaseModel
|
|
14436
|
+
OrHash =
|
|
14437
|
+
T.type_alias do
|
|
14438
|
+
T.any(
|
|
14439
|
+
Increase::Transaction::Source::UkFasterPaymentSystemTransferAcceptance,
|
|
14440
|
+
Increase::Internal::AnyHash
|
|
14441
|
+
)
|
|
14442
|
+
end
|
|
14443
|
+
|
|
14444
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
14445
|
+
# the recipient's bank accepted the transfer.
|
|
14446
|
+
sig { returns(Time) }
|
|
14447
|
+
attr_accessor :accepted_at
|
|
14448
|
+
|
|
14449
|
+
# The transfer amount in USD cents.
|
|
14450
|
+
sig { returns(Integer) }
|
|
14451
|
+
attr_accessor :settlement_amount
|
|
14452
|
+
|
|
14453
|
+
# An UK Faster Payment System Transfer Acceptance object. This field will be
|
|
14454
|
+
# present in the JSON response if and only if `category` is equal to
|
|
14455
|
+
# `uk_faster_payment_system_transfer_acceptance`. A UK Faster Payment System
|
|
14456
|
+
# Transfer Acceptance is created when a UK Faster Payment System Transfer sent
|
|
14457
|
+
# from Increase is accepted by the recipient's bank.
|
|
14458
|
+
sig do
|
|
14459
|
+
params(accepted_at: Time, settlement_amount: Integer).returns(
|
|
14460
|
+
T.attached_class
|
|
14461
|
+
)
|
|
14462
|
+
end
|
|
14463
|
+
def self.new(
|
|
14464
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
14465
|
+
# the recipient's bank accepted the transfer.
|
|
14466
|
+
accepted_at:,
|
|
14467
|
+
# The transfer amount in USD cents.
|
|
14468
|
+
settlement_amount:
|
|
14469
|
+
)
|
|
14470
|
+
end
|
|
14471
|
+
|
|
14472
|
+
sig do
|
|
14473
|
+
override.returns({ accepted_at: Time, settlement_amount: Integer })
|
|
14474
|
+
end
|
|
14475
|
+
def to_hash
|
|
14476
|
+
end
|
|
14477
|
+
end
|
|
14478
|
+
|
|
14301
14479
|
class WireTransferIntention < Increase::Internal::Type::BaseModel
|
|
14302
14480
|
OrHash =
|
|
14303
14481
|
T.type_alias do
|
|
@@ -436,6 +436,20 @@ module Increase
|
|
|
436
436
|
Increase::TransactionListParams::Category::In::TaggedSymbol
|
|
437
437
|
)
|
|
438
438
|
|
|
439
|
+
# UK Faster Payment System Transfer Acceptance: details will be under the `uk_faster_payment_system_transfer_acceptance` object.
|
|
440
|
+
UK_FASTER_PAYMENT_SYSTEM_TRANSFER_ACCEPTANCE =
|
|
441
|
+
T.let(
|
|
442
|
+
:uk_faster_payment_system_transfer_acceptance,
|
|
443
|
+
Increase::TransactionListParams::Category::In::TaggedSymbol
|
|
444
|
+
)
|
|
445
|
+
|
|
446
|
+
# SEPA Instant Transfer Acceptance: details will be under the `sepa_instant_transfer_acceptance` object.
|
|
447
|
+
SEPA_INSTANT_TRANSFER_ACCEPTANCE =
|
|
448
|
+
T.let(
|
|
449
|
+
:sepa_instant_transfer_acceptance,
|
|
450
|
+
Increase::TransactionListParams::Category::In::TaggedSymbol
|
|
451
|
+
)
|
|
452
|
+
|
|
439
453
|
# The Transaction was made for an undocumented or deprecated reason.
|
|
440
454
|
OTHER =
|
|
441
455
|
T.let(
|
|
@@ -902,6 +902,20 @@ module Increase
|
|
|
902
902
|
Increase::UnwrapWebhookEvent::Category::TaggedSymbol
|
|
903
903
|
)
|
|
904
904
|
|
|
905
|
+
# Occurs whenever a SEPA Instant Transfer is created.
|
|
906
|
+
SEPA_INSTANT_TRANSFER_CREATED =
|
|
907
|
+
T.let(
|
|
908
|
+
:"sepa_instant_transfer.created",
|
|
909
|
+
Increase::UnwrapWebhookEvent::Category::TaggedSymbol
|
|
910
|
+
)
|
|
911
|
+
|
|
912
|
+
# Occurs whenever a SEPA Instant Transfer is updated.
|
|
913
|
+
SEPA_INSTANT_TRANSFER_UPDATED =
|
|
914
|
+
T.let(
|
|
915
|
+
:"sepa_instant_transfer.updated",
|
|
916
|
+
Increase::UnwrapWebhookEvent::Category::TaggedSymbol
|
|
917
|
+
)
|
|
918
|
+
|
|
905
919
|
# Occurs whenever a Swift Transfer is created.
|
|
906
920
|
SWIFT_TRANSFER_CREATED =
|
|
907
921
|
T.let(
|
|
@@ -923,6 +937,20 @@ module Increase
|
|
|
923
937
|
Increase::UnwrapWebhookEvent::Category::TaggedSymbol
|
|
924
938
|
)
|
|
925
939
|
|
|
940
|
+
# Occurs whenever a UK Faster Payment System Transfer is created.
|
|
941
|
+
UK_FASTER_PAYMENT_SYSTEM_TRANSFER_CREATED =
|
|
942
|
+
T.let(
|
|
943
|
+
:"uk_faster_payment_system_transfer.created",
|
|
944
|
+
Increase::UnwrapWebhookEvent::Category::TaggedSymbol
|
|
945
|
+
)
|
|
946
|
+
|
|
947
|
+
# Occurs whenever a UK Faster Payment System Transfer is updated.
|
|
948
|
+
UK_FASTER_PAYMENT_SYSTEM_TRANSFER_UPDATED =
|
|
949
|
+
T.let(
|
|
950
|
+
:"uk_faster_payment_system_transfer.updated",
|
|
951
|
+
Increase::UnwrapWebhookEvent::Category::TaggedSymbol
|
|
952
|
+
)
|
|
953
|
+
|
|
926
954
|
# Occurs whenever a Wire Drawdown Request is created.
|
|
927
955
|
WIRE_DRAWDOWN_REQUEST_CREATED =
|
|
928
956
|
T.let(
|
|
@@ -5,7 +5,8 @@ module Increase
|
|
|
5
5
|
class Simulations
|
|
6
6
|
class AccountStatements
|
|
7
7
|
# Simulates an [Account Statement](#account-statements) being created for an
|
|
8
|
-
# account. In production, Account Statements are generated once per month.
|
|
8
|
+
# account. In production, Account Statements are generated once per month. As in
|
|
9
|
+
# production, the simulated statement covers the previous calendar month.
|
|
9
10
|
sig do
|
|
10
11
|
params(
|
|
11
12
|
account_id: String,
|
|
@@ -26,11 +26,12 @@ module Increase
|
|
|
26
26
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time when the
|
|
27
27
|
# carrier expects the card to be delivered.
|
|
28
28
|
carrier_estimated_delivery_at: nil,
|
|
29
|
-
# The city where the event took place.
|
|
29
|
+
# The city where the event took place. Required if postal_code is not provided.
|
|
30
30
|
city: nil,
|
|
31
|
-
# The postal code where the event took place.
|
|
31
|
+
# The postal code where the event took place. Required unless both city and state
|
|
32
|
+
# are provided.
|
|
32
33
|
postal_code: nil,
|
|
33
|
-
# The state where the event took place.
|
|
34
|
+
# The state where the event took place. Required if postal_code is not provided.
|
|
34
35
|
state: nil,
|
|
35
36
|
request_options: {}
|
|
36
37
|
)
|
|
@@ -38,23 +38,15 @@ module Increase
|
|
|
38
38
|
|
|
39
39
|
type loan =
|
|
40
40
|
{
|
|
41
|
-
due_at: Time?,
|
|
42
|
-
due_balance: Integer,
|
|
43
41
|
due_fees: Integer?,
|
|
44
42
|
due_interest: Integer?,
|
|
45
43
|
due_principal: Integer?,
|
|
46
44
|
not_due_fees: Integer?,
|
|
47
45
|
not_due_interest: Integer?,
|
|
48
|
-
not_due_principal: Integer
|
|
49
|
-
past_due_balance: Integer,
|
|
50
|
-
receivables: Increase::BalanceLookup::Loan::Receivables?
|
|
46
|
+
not_due_principal: Integer?
|
|
51
47
|
}
|
|
52
48
|
|
|
53
49
|
class Loan < Increase::Internal::Type::BaseModel
|
|
54
|
-
attr_accessor due_at: Time?
|
|
55
|
-
|
|
56
|
-
attr_accessor due_balance: Integer
|
|
57
|
-
|
|
58
50
|
attr_accessor due_fees: Integer?
|
|
59
51
|
|
|
60
52
|
attr_accessor due_interest: Integer?
|
|
@@ -67,54 +59,23 @@ module Increase
|
|
|
67
59
|
|
|
68
60
|
attr_accessor not_due_principal: Integer?
|
|
69
61
|
|
|
70
|
-
attr_accessor past_due_balance: Integer
|
|
71
|
-
|
|
72
|
-
attr_accessor receivables: Increase::BalanceLookup::Loan::Receivables?
|
|
73
|
-
|
|
74
62
|
def initialize: (
|
|
75
|
-
due_at: Time?,
|
|
76
|
-
due_balance: Integer,
|
|
77
63
|
due_fees: Integer?,
|
|
78
64
|
due_interest: Integer?,
|
|
79
65
|
due_principal: Integer?,
|
|
80
66
|
not_due_fees: Integer?,
|
|
81
67
|
not_due_interest: Integer?,
|
|
82
|
-
not_due_principal: Integer
|
|
83
|
-
past_due_balance: Integer,
|
|
84
|
-
receivables: Increase::BalanceLookup::Loan::Receivables?
|
|
68
|
+
not_due_principal: Integer?
|
|
85
69
|
) -> void
|
|
86
70
|
|
|
87
71
|
def to_hash: -> {
|
|
88
|
-
due_at: Time?,
|
|
89
|
-
due_balance: Integer,
|
|
90
72
|
due_fees: Integer?,
|
|
91
73
|
due_interest: Integer?,
|
|
92
74
|
due_principal: Integer?,
|
|
93
75
|
not_due_fees: Integer?,
|
|
94
76
|
not_due_interest: Integer?,
|
|
95
|
-
not_due_principal: Integer
|
|
96
|
-
past_due_balance: Integer,
|
|
97
|
-
receivables: Increase::BalanceLookup::Loan::Receivables?
|
|
77
|
+
not_due_principal: Integer?
|
|
98
78
|
}
|
|
99
|
-
|
|
100
|
-
type receivables =
|
|
101
|
-
{ purchasable_balance: Integer, purchased_balance: Integer }
|
|
102
|
-
|
|
103
|
-
class Receivables < Increase::Internal::Type::BaseModel
|
|
104
|
-
attr_accessor purchasable_balance: Integer
|
|
105
|
-
|
|
106
|
-
attr_accessor purchased_balance: Integer
|
|
107
|
-
|
|
108
|
-
def initialize: (
|
|
109
|
-
purchasable_balance: Integer,
|
|
110
|
-
purchased_balance: Integer
|
|
111
|
-
) -> void
|
|
112
|
-
|
|
113
|
-
def to_hash: -> {
|
|
114
|
-
purchasable_balance: Integer,
|
|
115
|
-
purchased_balance: Integer
|
|
116
|
-
}
|
|
117
|
-
end
|
|
118
79
|
end
|
|
119
80
|
|
|
120
81
|
type type_ = :balance_lookup
|
|
@@ -1687,39 +1687,48 @@ module Increase
|
|
|
1687
1687
|
type address =
|
|
1688
1688
|
{
|
|
1689
1689
|
city: String,
|
|
1690
|
+
country: String,
|
|
1690
1691
|
:line1 => String,
|
|
1692
|
+
:line2 => String,
|
|
1691
1693
|
state: String,
|
|
1692
|
-
zip: String
|
|
1693
|
-
:line2 => String
|
|
1694
|
+
zip: String
|
|
1694
1695
|
}
|
|
1695
1696
|
|
|
1696
1697
|
class Address < Increase::Internal::Type::BaseModel
|
|
1697
1698
|
attr_accessor city: String
|
|
1698
1699
|
|
|
1699
|
-
attr_accessor
|
|
1700
|
-
|
|
1701
|
-
attr_accessor state: String
|
|
1700
|
+
attr_accessor country: String
|
|
1702
1701
|
|
|
1703
|
-
attr_accessor
|
|
1702
|
+
attr_accessor line1: String
|
|
1704
1703
|
|
|
1705
1704
|
attr_reader line2: String?
|
|
1706
1705
|
|
|
1707
1706
|
def line2=: (String) -> String
|
|
1708
1707
|
|
|
1708
|
+
attr_reader state: String?
|
|
1709
|
+
|
|
1710
|
+
def state=: (String) -> String
|
|
1711
|
+
|
|
1712
|
+
attr_reader zip: String?
|
|
1713
|
+
|
|
1714
|
+
def zip=: (String) -> String
|
|
1715
|
+
|
|
1709
1716
|
def initialize: (
|
|
1710
1717
|
city: String,
|
|
1718
|
+
country: String,
|
|
1711
1719
|
line1: String,
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
?
|
|
1720
|
+
?line2: String,
|
|
1721
|
+
?state: String,
|
|
1722
|
+
?zip: String
|
|
1715
1723
|
) -> void
|
|
1716
1724
|
|
|
1717
1725
|
def to_hash: -> {
|
|
1718
1726
|
city: String,
|
|
1727
|
+
country: String,
|
|
1719
1728
|
:line1 => String,
|
|
1729
|
+
:line2 => String,
|
|
1720
1730
|
state: String,
|
|
1721
|
-
zip: String
|
|
1722
|
-
:line2 => String
|
|
1731
|
+
zip: String
|
|
1723
1732
|
}
|
|
1724
1733
|
end
|
|
1725
1734
|
|
|
@@ -1100,39 +1100,48 @@ module Increase
|
|
|
1100
1100
|
type address =
|
|
1101
1101
|
{
|
|
1102
1102
|
city: String,
|
|
1103
|
+
country: String,
|
|
1103
1104
|
:line1 => String,
|
|
1105
|
+
:line2 => String,
|
|
1104
1106
|
state: String,
|
|
1105
|
-
zip: String
|
|
1106
|
-
:line2 => String
|
|
1107
|
+
zip: String
|
|
1107
1108
|
}
|
|
1108
1109
|
|
|
1109
1110
|
class Address < Increase::Internal::Type::BaseModel
|
|
1110
1111
|
attr_accessor city: String
|
|
1111
1112
|
|
|
1112
|
-
attr_accessor
|
|
1113
|
-
|
|
1114
|
-
attr_accessor state: String
|
|
1113
|
+
attr_accessor country: String
|
|
1115
1114
|
|
|
1116
|
-
attr_accessor
|
|
1115
|
+
attr_accessor line1: String
|
|
1117
1116
|
|
|
1118
1117
|
attr_reader line2: String?
|
|
1119
1118
|
|
|
1120
1119
|
def line2=: (String) -> String
|
|
1121
1120
|
|
|
1121
|
+
attr_reader state: String?
|
|
1122
|
+
|
|
1123
|
+
def state=: (String) -> String
|
|
1124
|
+
|
|
1125
|
+
attr_reader zip: String?
|
|
1126
|
+
|
|
1127
|
+
def zip=: (String) -> String
|
|
1128
|
+
|
|
1122
1129
|
def initialize: (
|
|
1123
1130
|
city: String,
|
|
1131
|
+
country: String,
|
|
1124
1132
|
line1: String,
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
?
|
|
1133
|
+
?line2: String,
|
|
1134
|
+
?state: String,
|
|
1135
|
+
?zip: String
|
|
1128
1136
|
) -> void
|
|
1129
1137
|
|
|
1130
1138
|
def to_hash: -> {
|
|
1131
1139
|
city: String,
|
|
1140
|
+
country: String,
|
|
1132
1141
|
:line1 => String,
|
|
1142
|
+
:line2 => String,
|
|
1133
1143
|
state: String,
|
|
1134
|
-
zip: String
|
|
1135
|
-
:line2 => String
|
|
1144
|
+
zip: String
|
|
1136
1145
|
}
|
|
1137
1146
|
end
|
|
1138
1147
|
|
|
@@ -158,9 +158,13 @@ module Increase
|
|
|
158
158
|
| :"real_time_payments_transfer.updated"
|
|
159
159
|
| :"real_time_payments_request_for_payment.created"
|
|
160
160
|
| :"real_time_payments_request_for_payment.updated"
|
|
161
|
+
| :"sepa_instant_transfer.created"
|
|
162
|
+
| :"sepa_instant_transfer.updated"
|
|
161
163
|
| :"swift_transfer.created"
|
|
162
164
|
| :"swift_transfer.updated"
|
|
163
165
|
| :"transaction.created"
|
|
166
|
+
| :"uk_faster_payment_system_transfer.created"
|
|
167
|
+
| :"uk_faster_payment_system_transfer.updated"
|
|
164
168
|
| :"wire_drawdown_request.created"
|
|
165
169
|
| :"wire_drawdown_request.updated"
|
|
166
170
|
| :"wire_transfer.created"
|
|
@@ -517,6 +521,12 @@ module Increase
|
|
|
517
521
|
# Occurs whenever a Real-Time Payments Request for Payment is updated.
|
|
518
522
|
REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED: :"real_time_payments_request_for_payment.updated"
|
|
519
523
|
|
|
524
|
+
# Occurs whenever a SEPA Instant Transfer is created.
|
|
525
|
+
SEPA_INSTANT_TRANSFER_CREATED: :"sepa_instant_transfer.created"
|
|
526
|
+
|
|
527
|
+
# Occurs whenever a SEPA Instant Transfer is updated.
|
|
528
|
+
SEPA_INSTANT_TRANSFER_UPDATED: :"sepa_instant_transfer.updated"
|
|
529
|
+
|
|
520
530
|
# Occurs whenever a Swift Transfer is created.
|
|
521
531
|
SWIFT_TRANSFER_CREATED: :"swift_transfer.created"
|
|
522
532
|
|
|
@@ -526,6 +536,12 @@ module Increase
|
|
|
526
536
|
# Occurs whenever a Transaction is created.
|
|
527
537
|
TRANSACTION_CREATED: :"transaction.created"
|
|
528
538
|
|
|
539
|
+
# Occurs whenever a UK Faster Payment System Transfer is created.
|
|
540
|
+
UK_FASTER_PAYMENT_SYSTEM_TRANSFER_CREATED: :"uk_faster_payment_system_transfer.created"
|
|
541
|
+
|
|
542
|
+
# Occurs whenever a UK Faster Payment System Transfer is updated.
|
|
543
|
+
UK_FASTER_PAYMENT_SYSTEM_TRANSFER_UPDATED: :"uk_faster_payment_system_transfer.updated"
|
|
544
|
+
|
|
529
545
|
# Occurs whenever a Wire Drawdown Request is created.
|
|
530
546
|
WIRE_DRAWDOWN_REQUEST_CREATED: :"wire_drawdown_request.created"
|
|
531
547
|
|
|
@@ -200,9 +200,13 @@ module Increase
|
|
|
200
200
|
| :"real_time_payments_transfer.updated"
|
|
201
201
|
| :"real_time_payments_request_for_payment.created"
|
|
202
202
|
| :"real_time_payments_request_for_payment.updated"
|
|
203
|
+
| :"sepa_instant_transfer.created"
|
|
204
|
+
| :"sepa_instant_transfer.updated"
|
|
203
205
|
| :"swift_transfer.created"
|
|
204
206
|
| :"swift_transfer.updated"
|
|
205
207
|
| :"transaction.created"
|
|
208
|
+
| :"uk_faster_payment_system_transfer.created"
|
|
209
|
+
| :"uk_faster_payment_system_transfer.updated"
|
|
206
210
|
| :"wire_drawdown_request.created"
|
|
207
211
|
| :"wire_drawdown_request.updated"
|
|
208
212
|
| :"wire_transfer.created"
|
|
@@ -559,6 +563,12 @@ module Increase
|
|
|
559
563
|
# Occurs whenever a Real-Time Payments Request for Payment is updated.
|
|
560
564
|
REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED: :"real_time_payments_request_for_payment.updated"
|
|
561
565
|
|
|
566
|
+
# Occurs whenever a SEPA Instant Transfer is created.
|
|
567
|
+
SEPA_INSTANT_TRANSFER_CREATED: :"sepa_instant_transfer.created"
|
|
568
|
+
|
|
569
|
+
# Occurs whenever a SEPA Instant Transfer is updated.
|
|
570
|
+
SEPA_INSTANT_TRANSFER_UPDATED: :"sepa_instant_transfer.updated"
|
|
571
|
+
|
|
562
572
|
# Occurs whenever a Swift Transfer is created.
|
|
563
573
|
SWIFT_TRANSFER_CREATED: :"swift_transfer.created"
|
|
564
574
|
|
|
@@ -568,6 +578,12 @@ module Increase
|
|
|
568
578
|
# Occurs whenever a Transaction is created.
|
|
569
579
|
TRANSACTION_CREATED: :"transaction.created"
|
|
570
580
|
|
|
581
|
+
# Occurs whenever a UK Faster Payment System Transfer is created.
|
|
582
|
+
UK_FASTER_PAYMENT_SYSTEM_TRANSFER_CREATED: :"uk_faster_payment_system_transfer.created"
|
|
583
|
+
|
|
584
|
+
# Occurs whenever a UK Faster Payment System Transfer is updated.
|
|
585
|
+
UK_FASTER_PAYMENT_SYSTEM_TRANSFER_UPDATED: :"uk_faster_payment_system_transfer.updated"
|
|
586
|
+
|
|
571
587
|
# Occurs whenever a Wire Drawdown Request is created.
|
|
572
588
|
WIRE_DRAWDOWN_REQUEST_CREATED: :"wire_drawdown_request.created"
|
|
573
589
|
|
|
@@ -184,9 +184,13 @@ module Increase
|
|
|
184
184
|
| :"real_time_payments_transfer.updated"
|
|
185
185
|
| :"real_time_payments_request_for_payment.created"
|
|
186
186
|
| :"real_time_payments_request_for_payment.updated"
|
|
187
|
+
| :"sepa_instant_transfer.created"
|
|
188
|
+
| :"sepa_instant_transfer.updated"
|
|
187
189
|
| :"swift_transfer.created"
|
|
188
190
|
| :"swift_transfer.updated"
|
|
189
191
|
| :"transaction.created"
|
|
192
|
+
| :"uk_faster_payment_system_transfer.created"
|
|
193
|
+
| :"uk_faster_payment_system_transfer.updated"
|
|
190
194
|
| :"wire_drawdown_request.created"
|
|
191
195
|
| :"wire_drawdown_request.updated"
|
|
192
196
|
| :"wire_transfer.created"
|
|
@@ -543,6 +547,12 @@ module Increase
|
|
|
543
547
|
# Occurs whenever a Real-Time Payments Request for Payment is updated.
|
|
544
548
|
REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED: :"real_time_payments_request_for_payment.updated"
|
|
545
549
|
|
|
550
|
+
# Occurs whenever a SEPA Instant Transfer is created.
|
|
551
|
+
SEPA_INSTANT_TRANSFER_CREATED: :"sepa_instant_transfer.created"
|
|
552
|
+
|
|
553
|
+
# Occurs whenever a SEPA Instant Transfer is updated.
|
|
554
|
+
SEPA_INSTANT_TRANSFER_UPDATED: :"sepa_instant_transfer.updated"
|
|
555
|
+
|
|
546
556
|
# Occurs whenever a Swift Transfer is created.
|
|
547
557
|
SWIFT_TRANSFER_CREATED: :"swift_transfer.created"
|
|
548
558
|
|
|
@@ -552,6 +562,12 @@ module Increase
|
|
|
552
562
|
# Occurs whenever a Transaction is created.
|
|
553
563
|
TRANSACTION_CREATED: :"transaction.created"
|
|
554
564
|
|
|
565
|
+
# Occurs whenever a UK Faster Payment System Transfer is created.
|
|
566
|
+
UK_FASTER_PAYMENT_SYSTEM_TRANSFER_CREATED: :"uk_faster_payment_system_transfer.created"
|
|
567
|
+
|
|
568
|
+
# Occurs whenever a UK Faster Payment System Transfer is updated.
|
|
569
|
+
UK_FASTER_PAYMENT_SYSTEM_TRANSFER_UPDATED: :"uk_faster_payment_system_transfer.updated"
|
|
570
|
+
|
|
555
571
|
# Occurs whenever a Wire Drawdown Request is created.
|
|
556
572
|
WIRE_DRAWDOWN_REQUEST_CREATED: :"wire_drawdown_request.created"
|
|
557
573
|
|