increase 1.78.0 → 1.80.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 +17 -0
- data/README.md +1 -1
- data/lib/increase/client.rb +0 -4
- data/lib/increase/errors.rb +25 -11
- data/lib/increase/internal/page.rb +1 -1
- data/lib/increase/internal/transport/base_client.rb +11 -7
- data/lib/increase/internal/type/base_page.rb +1 -1
- data/lib/increase/internal/util.rb +1 -1
- data/lib/increase/models/declined_transaction.rb +68 -1
- data/lib/increase/models/declined_transaction_list_params.rb +3 -0
- 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 -0
- data/lib/increase/models/event_subscription_create_params.rb +6 -0
- data/lib/increase/models/transaction.rb +39 -28
- data/lib/increase/models/transaction_list_params.rb +3 -0
- data/lib/increase/models.rb +0 -8
- data/lib/increase/resources/simulations.rb +0 -4
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +0 -7
- data/rbi/increase/client.rbi +0 -3
- data/rbi/increase/errors.rbi +29 -2
- data/rbi/increase/internal/transport/base_client.rbi +4 -5
- data/rbi/increase/internal/type/base_page.rbi +1 -1
- data/rbi/increase/internal/util.rbi +1 -1
- data/rbi/increase/models/declined_transaction.rbi +159 -0
- data/rbi/increase/models/declined_transaction_list_params.rbi +7 -0
- 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 -0
- data/rbi/increase/models/event_subscription_create_params.rbi +14 -0
- data/rbi/increase/models/transaction.rbi +80 -39
- data/rbi/increase/models/transaction_list_params.rbi +7 -0
- data/rbi/increase/models.rbi +0 -8
- data/rbi/increase/resources/simulations.rbi +0 -3
- data/sig/increase/client.rbs +0 -2
- data/sig/increase/errors.rbs +7 -0
- data/sig/increase/models/declined_transaction.rbs +63 -0
- data/sig/increase/models/declined_transaction_list_params.rbs +4 -0
- 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 +8 -0
- data/sig/increase/models/event_subscription_create_params.rbs +8 -0
- data/sig/increase/models/transaction.rbs +23 -28
- data/sig/increase/models/transaction_list_params.rbs +4 -0
- data/sig/increase/models.rbs +0 -8
- data/sig/increase/resources/simulations.rbs +0 -2
- metadata +2 -23
- data/lib/increase/models/card_dispute.rb +0 -302
- data/lib/increase/models/card_dispute_create_params.rb +0 -45
- data/lib/increase/models/card_dispute_list_params.rb +0 -144
- data/lib/increase/models/card_dispute_retrieve_params.rb +0 -14
- data/lib/increase/models/simulations/card_dispute_action_params.rb +0 -55
- data/lib/increase/resources/card_disputes.rb +0 -97
- data/lib/increase/resources/simulations/card_disputes.rb +0 -45
- data/rbi/increase/models/card_dispute.rbi +0 -425
- data/rbi/increase/models/card_dispute_create_params.rbi +0 -70
- data/rbi/increase/models/card_dispute_list_params.rbi +0 -289
- data/rbi/increase/models/card_dispute_retrieve_params.rbi +0 -30
- data/rbi/increase/models/simulations/card_dispute_action_params.rbi +0 -124
- data/rbi/increase/resources/card_disputes.rbi +0 -78
- data/rbi/increase/resources/simulations/card_disputes.rbi +0 -38
- data/sig/increase/models/card_dispute.rbs +0 -207
- data/sig/increase/models/card_dispute_create_params.rbs +0 -34
- data/sig/increase/models/card_dispute_list_params.rbs +0 -146
- data/sig/increase/models/card_dispute_retrieve_params.rbs +0 -15
- data/sig/increase/models/simulations/card_dispute_action_params.rbs +0 -59
- data/sig/increase/resources/card_disputes.rbs +0 -28
- data/sig/increase/resources/simulations/card_disputes.rbs +0 -16
@@ -650,6 +650,30 @@ module Increase
|
|
650
650
|
end
|
651
651
|
attr_writer :inbound_check_deposit_return_intention
|
652
652
|
|
653
|
+
# An Inbound FedNow Transfer Confirmation object. This field will be present in
|
654
|
+
# the JSON response if and only if `category` is equal to
|
655
|
+
# `inbound_fednow_transfer_confirmation`. An Inbound FedNow Transfer Confirmation
|
656
|
+
# is created when a FedNow transfer is initiated at another bank and received by
|
657
|
+
# Increase.
|
658
|
+
sig do
|
659
|
+
returns(
|
660
|
+
T.nilable(
|
661
|
+
Increase::Transaction::Source::InboundFednowTransferConfirmation
|
662
|
+
)
|
663
|
+
)
|
664
|
+
end
|
665
|
+
attr_reader :inbound_fednow_transfer_confirmation
|
666
|
+
|
667
|
+
sig do
|
668
|
+
params(
|
669
|
+
inbound_fednow_transfer_confirmation:
|
670
|
+
T.nilable(
|
671
|
+
Increase::Transaction::Source::InboundFednowTransferConfirmation::OrHash
|
672
|
+
)
|
673
|
+
).void
|
674
|
+
end
|
675
|
+
attr_writer :inbound_fednow_transfer_confirmation
|
676
|
+
|
653
677
|
# An Inbound Real-Time Payments Transfer Confirmation object. This field will be
|
654
678
|
# present in the JSON response if and only if `category` is equal to
|
655
679
|
# `inbound_real_time_payments_transfer_confirmation`. An Inbound Real-Time
|
@@ -956,6 +980,10 @@ module Increase
|
|
956
980
|
T.nilable(
|
957
981
|
Increase::Transaction::Source::InboundCheckDepositReturnIntention::OrHash
|
958
982
|
),
|
983
|
+
inbound_fednow_transfer_confirmation:
|
984
|
+
T.nilable(
|
985
|
+
Increase::Transaction::Source::InboundFednowTransferConfirmation::OrHash
|
986
|
+
),
|
959
987
|
inbound_real_time_payments_transfer_confirmation:
|
960
988
|
T.nilable(
|
961
989
|
Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation::OrHash
|
@@ -1115,6 +1143,12 @@ module Increase
|
|
1115
1143
|
# Intention is created when Increase receives an Inbound Check and the User
|
1116
1144
|
# requests that it be returned.
|
1117
1145
|
inbound_check_deposit_return_intention:,
|
1146
|
+
# An Inbound FedNow Transfer Confirmation object. This field will be present in
|
1147
|
+
# the JSON response if and only if `category` is equal to
|
1148
|
+
# `inbound_fednow_transfer_confirmation`. An Inbound FedNow Transfer Confirmation
|
1149
|
+
# is created when a FedNow transfer is initiated at another bank and received by
|
1150
|
+
# Increase.
|
1151
|
+
inbound_fednow_transfer_confirmation:,
|
1118
1152
|
# An Inbound Real-Time Payments Transfer Confirmation object. This field will be
|
1119
1153
|
# present in the JSON response if and only if `category` is equal to
|
1120
1154
|
# `inbound_real_time_payments_transfer_confirmation`. An Inbound Real-Time
|
@@ -1235,6 +1269,10 @@ module Increase
|
|
1235
1269
|
T.nilable(
|
1236
1270
|
Increase::Transaction::Source::InboundCheckDepositReturnIntention
|
1237
1271
|
),
|
1272
|
+
inbound_fednow_transfer_confirmation:
|
1273
|
+
T.nilable(
|
1274
|
+
Increase::Transaction::Source::InboundFednowTransferConfirmation
|
1275
|
+
),
|
1238
1276
|
inbound_real_time_payments_transfer_confirmation:
|
1239
1277
|
T.nilable(
|
1240
1278
|
Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation
|
@@ -2213,10 +2251,6 @@ module Increase
|
|
2213
2251
|
sig { returns(Time) }
|
2214
2252
|
attr_accessor :accepted_at
|
2215
2253
|
|
2216
|
-
# The identifier of the Card Dispute that was accepted.
|
2217
|
-
sig { returns(String) }
|
2218
|
-
attr_accessor :card_dispute_id
|
2219
|
-
|
2220
2254
|
# The identifier of the Transaction that was created to return the disputed funds
|
2221
2255
|
# to your account.
|
2222
2256
|
sig { returns(String) }
|
@@ -2226,18 +2260,14 @@ module Increase
|
|
2226
2260
|
# response if and only if `category` is equal to `card_dispute_acceptance`.
|
2227
2261
|
# Contains the details of a successful Card Dispute.
|
2228
2262
|
sig do
|
2229
|
-
params(
|
2230
|
-
|
2231
|
-
|
2232
|
-
transaction_id: String
|
2233
|
-
).returns(T.attached_class)
|
2263
|
+
params(accepted_at: Time, transaction_id: String).returns(
|
2264
|
+
T.attached_class
|
2265
|
+
)
|
2234
2266
|
end
|
2235
2267
|
def self.new(
|
2236
2268
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
2237
2269
|
# the Card Dispute was accepted.
|
2238
2270
|
accepted_at:,
|
2239
|
-
# The identifier of the Card Dispute that was accepted.
|
2240
|
-
card_dispute_id:,
|
2241
2271
|
# The identifier of the Transaction that was created to return the disputed funds
|
2242
2272
|
# to your account.
|
2243
2273
|
transaction_id:
|
@@ -2245,13 +2275,7 @@ module Increase
|
|
2245
2275
|
end
|
2246
2276
|
|
2247
2277
|
sig do
|
2248
|
-
override.returns(
|
2249
|
-
{
|
2250
|
-
accepted_at: Time,
|
2251
|
-
card_dispute_id: String,
|
2252
|
-
transaction_id: String
|
2253
|
-
}
|
2254
|
-
)
|
2278
|
+
override.returns({ accepted_at: Time, transaction_id: String })
|
2255
2279
|
end
|
2256
2280
|
def to_hash
|
2257
2281
|
end
|
@@ -2270,10 +2294,6 @@ module Increase
|
|
2270
2294
|
sig { returns(Integer) }
|
2271
2295
|
attr_accessor :amount
|
2272
2296
|
|
2273
|
-
# The identifier of the Card Dispute the financial event is associated with.
|
2274
|
-
sig { returns(String) }
|
2275
|
-
attr_accessor :card_dispute_id
|
2276
|
-
|
2277
2297
|
# The network that the Card Dispute is associated with.
|
2278
2298
|
sig do
|
2279
2299
|
returns(
|
@@ -2315,7 +2335,6 @@ module Increase
|
|
2315
2335
|
sig do
|
2316
2336
|
params(
|
2317
2337
|
amount: Integer,
|
2318
|
-
card_dispute_id: String,
|
2319
2338
|
network:
|
2320
2339
|
Increase::Transaction::Source::CardDisputeFinancial::Network::OrSymbol,
|
2321
2340
|
transaction_id: String,
|
@@ -2328,8 +2347,6 @@ module Increase
|
|
2328
2347
|
def self.new(
|
2329
2348
|
# The amount of the financial event.
|
2330
2349
|
amount:,
|
2331
|
-
# The identifier of the Card Dispute the financial event is associated with.
|
2332
|
-
card_dispute_id:,
|
2333
2350
|
# The network that the Card Dispute is associated with.
|
2334
2351
|
network:,
|
2335
2352
|
# The identifier of the Transaction that was created to credit or debit the
|
@@ -2346,7 +2363,6 @@ module Increase
|
|
2346
2363
|
override.returns(
|
2347
2364
|
{
|
2348
2365
|
amount: Integer,
|
2349
|
-
card_dispute_id: String,
|
2350
2366
|
network:
|
2351
2367
|
Increase::Transaction::Source::CardDisputeFinancial::Network::TaggedSymbol,
|
2352
2368
|
transaction_id: String,
|
@@ -2518,10 +2534,6 @@ module Increase
|
|
2518
2534
|
)
|
2519
2535
|
end
|
2520
2536
|
|
2521
|
-
# The identifier of the Card Dispute that was lost.
|
2522
|
-
sig { returns(String) }
|
2523
|
-
attr_accessor :card_dispute_id
|
2524
|
-
|
2525
2537
|
# Why the Card Dispute was lost.
|
2526
2538
|
sig { returns(String) }
|
2527
2539
|
attr_accessor :explanation
|
@@ -2541,15 +2553,12 @@ module Increase
|
|
2541
2553
|
# a lost Card Dispute.
|
2542
2554
|
sig do
|
2543
2555
|
params(
|
2544
|
-
card_dispute_id: String,
|
2545
2556
|
explanation: String,
|
2546
2557
|
lost_at: Time,
|
2547
2558
|
transaction_id: String
|
2548
2559
|
).returns(T.attached_class)
|
2549
2560
|
end
|
2550
2561
|
def self.new(
|
2551
|
-
# The identifier of the Card Dispute that was lost.
|
2552
|
-
card_dispute_id:,
|
2553
2562
|
# Why the Card Dispute was lost.
|
2554
2563
|
explanation:,
|
2555
2564
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
@@ -2563,12 +2572,7 @@ module Increase
|
|
2563
2572
|
|
2564
2573
|
sig do
|
2565
2574
|
override.returns(
|
2566
|
-
{
|
2567
|
-
card_dispute_id: String,
|
2568
|
-
explanation: String,
|
2569
|
-
lost_at: Time,
|
2570
|
-
transaction_id: String
|
2571
|
-
}
|
2575
|
+
{ explanation: String, lost_at: Time, transaction_id: String }
|
2572
2576
|
)
|
2573
2577
|
end
|
2574
2578
|
def to_hash
|
@@ -7975,6 +7979,13 @@ module Increase
|
|
7975
7979
|
Increase::Transaction::Source::Category::TaggedSymbol
|
7976
7980
|
)
|
7977
7981
|
|
7982
|
+
# Inbound FedNow Transfer Confirmation: details will be under the `inbound_fednow_transfer_confirmation` object.
|
7983
|
+
INBOUND_FEDNOW_TRANSFER_CONFIRMATION =
|
7984
|
+
T.let(
|
7985
|
+
:inbound_fednow_transfer_confirmation,
|
7986
|
+
Increase::Transaction::Source::Category::TaggedSymbol
|
7987
|
+
)
|
7988
|
+
|
7978
7989
|
# Inbound Real-Time Payments Transfer Confirmation: details will be under the `inbound_real_time_payments_transfer_confirmation` object.
|
7979
7990
|
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CONFIRMATION =
|
7980
7991
|
T.let(
|
@@ -9463,6 +9474,36 @@ module Increase
|
|
9463
9474
|
end
|
9464
9475
|
end
|
9465
9476
|
|
9477
|
+
class InboundFednowTransferConfirmation < Increase::Internal::Type::BaseModel
|
9478
|
+
OrHash =
|
9479
|
+
T.type_alias do
|
9480
|
+
T.any(
|
9481
|
+
Increase::Transaction::Source::InboundFednowTransferConfirmation,
|
9482
|
+
Increase::Internal::AnyHash
|
9483
|
+
)
|
9484
|
+
end
|
9485
|
+
|
9486
|
+
# The identifier of the FedNow Transfer that led to this Transaction.
|
9487
|
+
sig { returns(String) }
|
9488
|
+
attr_accessor :transfer_id
|
9489
|
+
|
9490
|
+
# An Inbound FedNow Transfer Confirmation object. This field will be present in
|
9491
|
+
# the JSON response if and only if `category` is equal to
|
9492
|
+
# `inbound_fednow_transfer_confirmation`. An Inbound FedNow Transfer Confirmation
|
9493
|
+
# is created when a FedNow transfer is initiated at another bank and received by
|
9494
|
+
# Increase.
|
9495
|
+
sig { params(transfer_id: String).returns(T.attached_class) }
|
9496
|
+
def self.new(
|
9497
|
+
# The identifier of the FedNow Transfer that led to this Transaction.
|
9498
|
+
transfer_id:
|
9499
|
+
)
|
9500
|
+
end
|
9501
|
+
|
9502
|
+
sig { override.returns({ transfer_id: String }) }
|
9503
|
+
def to_hash
|
9504
|
+
end
|
9505
|
+
end
|
9506
|
+
|
9466
9507
|
class InboundRealTimePaymentsTransferConfirmation < Increase::Internal::Type::BaseModel
|
9467
9508
|
OrHash =
|
9468
9509
|
T.type_alias do
|
@@ -306,6 +306,13 @@ module Increase
|
|
306
306
|
Increase::TransactionListParams::Category::In::TaggedSymbol
|
307
307
|
)
|
308
308
|
|
309
|
+
# Inbound FedNow Transfer Confirmation: details will be under the `inbound_fednow_transfer_confirmation` object.
|
310
|
+
INBOUND_FEDNOW_TRANSFER_CONFIRMATION =
|
311
|
+
T.let(
|
312
|
+
:inbound_fednow_transfer_confirmation,
|
313
|
+
Increase::TransactionListParams::Category::In::TaggedSymbol
|
314
|
+
)
|
315
|
+
|
309
316
|
# Inbound Real-Time Payments Transfer Confirmation: details will be under the `inbound_real_time_payments_transfer_confirmation` object.
|
310
317
|
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CONFIRMATION =
|
311
318
|
T.let(
|
data/rbi/increase/models.rbi
CHANGED
@@ -113,14 +113,6 @@ module Increase
|
|
113
113
|
|
114
114
|
CardDetailsParams = Increase::Models::CardDetailsParams
|
115
115
|
|
116
|
-
CardDispute = Increase::Models::CardDispute
|
117
|
-
|
118
|
-
CardDisputeCreateParams = Increase::Models::CardDisputeCreateParams
|
119
|
-
|
120
|
-
CardDisputeListParams = Increase::Models::CardDisputeListParams
|
121
|
-
|
122
|
-
CardDisputeRetrieveParams = Increase::Models::CardDisputeRetrieveParams
|
123
|
-
|
124
116
|
CardIframeURL = Increase::Models::CardIframeURL
|
125
117
|
|
126
118
|
CardListParams = Increase::Models::CardListParams
|
@@ -32,9 +32,6 @@ module Increase
|
|
32
32
|
sig { returns(Increase::Resources::Simulations::CardRefunds) }
|
33
33
|
attr_reader :card_refunds
|
34
34
|
|
35
|
-
sig { returns(Increase::Resources::Simulations::CardDisputes) }
|
36
|
-
attr_reader :card_disputes
|
37
|
-
|
38
35
|
sig { returns(Increase::Resources::Simulations::PhysicalCards) }
|
39
36
|
attr_reader :physical_cards
|
40
37
|
|
data/sig/increase/client.rbs
CHANGED
@@ -27,8 +27,6 @@ module Increase
|
|
27
27
|
|
28
28
|
attr_reader card_purchase_supplements: Increase::Resources::CardPurchaseSupplements
|
29
29
|
|
30
|
-
attr_reader card_disputes: Increase::Resources::CardDisputes
|
31
|
-
|
32
30
|
attr_reader physical_cards: Increase::Resources::PhysicalCards
|
33
31
|
|
34
32
|
attr_reader digital_card_profiles: Increase::Resources::DigitalCardProfiles
|
data/sig/increase/errors.rbs
CHANGED
@@ -21,11 +21,14 @@ module Increase
|
|
21
21
|
|
22
22
|
attr_accessor status: Integer?
|
23
23
|
|
24
|
+
attr_accessor headers: ::Hash[String, String]?
|
25
|
+
|
24
26
|
attr_accessor body: top?
|
25
27
|
|
26
28
|
def initialize: (
|
27
29
|
url: URI::Generic,
|
28
30
|
?status: Integer?,
|
31
|
+
?headers: ::Hash[String, String]?,
|
29
32
|
?body: Object?,
|
30
33
|
?request: nil,
|
31
34
|
?response: nil,
|
@@ -37,6 +40,7 @@ module Increase
|
|
37
40
|
def initialize: (
|
38
41
|
url: URI::Generic,
|
39
42
|
?status: nil,
|
43
|
+
?headers: ::Hash[String, String]?,
|
40
44
|
?body: nil,
|
41
45
|
?request: nil,
|
42
46
|
?response: nil,
|
@@ -48,6 +52,7 @@ module Increase
|
|
48
52
|
def initialize: (
|
49
53
|
url: URI::Generic,
|
50
54
|
?status: nil,
|
55
|
+
?headers: ::Hash[String, String]?,
|
51
56
|
?body: nil,
|
52
57
|
?request: nil,
|
53
58
|
?response: nil,
|
@@ -59,6 +64,7 @@ module Increase
|
|
59
64
|
def self.for: (
|
60
65
|
url: URI::Generic,
|
61
66
|
status: Integer,
|
67
|
+
headers: ::Hash[String, String]?,
|
62
68
|
body: Object?,
|
63
69
|
request: nil,
|
64
70
|
response: nil,
|
@@ -68,6 +74,7 @@ module Increase
|
|
68
74
|
def initialize: (
|
69
75
|
url: URI::Generic,
|
70
76
|
status: Integer,
|
77
|
+
headers: ::Hash[String, String]?,
|
71
78
|
body: Object?,
|
72
79
|
request: nil,
|
73
80
|
response: nil,
|
@@ -111,6 +111,7 @@ module Increase
|
|
111
111
|
category: Increase::Models::DeclinedTransaction::Source::category,
|
112
112
|
check_decline: Increase::DeclinedTransaction::Source::CheckDecline?,
|
113
113
|
check_deposit_rejection: Increase::DeclinedTransaction::Source::CheckDepositRejection?,
|
114
|
+
inbound_fednow_transfer_decline: Increase::DeclinedTransaction::Source::InboundFednowTransferDecline?,
|
114
115
|
inbound_real_time_payments_transfer_decline: Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline?,
|
115
116
|
other: top?,
|
116
117
|
wire_decline: Increase::DeclinedTransaction::Source::WireDecline?
|
@@ -127,6 +128,8 @@ module Increase
|
|
127
128
|
|
128
129
|
attr_accessor check_deposit_rejection: Increase::DeclinedTransaction::Source::CheckDepositRejection?
|
129
130
|
|
131
|
+
attr_accessor inbound_fednow_transfer_decline: Increase::DeclinedTransaction::Source::InboundFednowTransferDecline?
|
132
|
+
|
130
133
|
attr_accessor inbound_real_time_payments_transfer_decline: Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline?
|
131
134
|
|
132
135
|
attr_accessor other: top?
|
@@ -139,6 +142,7 @@ module Increase
|
|
139
142
|
category: Increase::Models::DeclinedTransaction::Source::category,
|
140
143
|
check_decline: Increase::DeclinedTransaction::Source::CheckDecline?,
|
141
144
|
check_deposit_rejection: Increase::DeclinedTransaction::Source::CheckDepositRejection?,
|
145
|
+
inbound_fednow_transfer_decline: Increase::DeclinedTransaction::Source::InboundFednowTransferDecline?,
|
142
146
|
inbound_real_time_payments_transfer_decline: Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline?,
|
143
147
|
other: top?,
|
144
148
|
wire_decline: Increase::DeclinedTransaction::Source::WireDecline?
|
@@ -150,6 +154,7 @@ module Increase
|
|
150
154
|
category: Increase::Models::DeclinedTransaction::Source::category,
|
151
155
|
check_decline: Increase::DeclinedTransaction::Source::CheckDecline?,
|
152
156
|
check_deposit_rejection: Increase::DeclinedTransaction::Source::CheckDepositRejection?,
|
157
|
+
inbound_fednow_transfer_decline: Increase::DeclinedTransaction::Source::InboundFednowTransferDecline?,
|
153
158
|
inbound_real_time_payments_transfer_decline: Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline?,
|
154
159
|
other: top?,
|
155
160
|
wire_decline: Increase::DeclinedTransaction::Source::WireDecline?
|
@@ -1197,6 +1202,7 @@ module Increase
|
|
1197
1202
|
| :card_decline
|
1198
1203
|
| :check_decline
|
1199
1204
|
| :inbound_real_time_payments_transfer_decline
|
1205
|
+
| :inbound_fednow_transfer_decline
|
1200
1206
|
| :wire_decline
|
1201
1207
|
| :check_deposit_rejection
|
1202
1208
|
| :other
|
@@ -1216,6 +1222,9 @@ module Increase
|
|
1216
1222
|
# Inbound Real-Time Payments Transfer Decline: details will be under the `inbound_real_time_payments_transfer_decline` object.
|
1217
1223
|
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_DECLINE: :inbound_real_time_payments_transfer_decline
|
1218
1224
|
|
1225
|
+
# Inbound FedNow Transfer Decline: details will be under the `inbound_fednow_transfer_decline` object.
|
1226
|
+
INBOUND_FEDNOW_TRANSFER_DECLINE: :inbound_fednow_transfer_decline
|
1227
|
+
|
1219
1228
|
# Wire Decline: details will be under the `wire_decline` object.
|
1220
1229
|
WIRE_DECLINE: :wire_decline
|
1221
1230
|
|
@@ -1475,6 +1484,60 @@ module Increase
|
|
1475
1484
|
end
|
1476
1485
|
end
|
1477
1486
|
|
1487
|
+
type inbound_fednow_transfer_decline =
|
1488
|
+
{
|
1489
|
+
reason: Increase::Models::DeclinedTransaction::Source::InboundFednowTransferDecline::reason,
|
1490
|
+
transfer_id: String
|
1491
|
+
}
|
1492
|
+
|
1493
|
+
class InboundFednowTransferDecline < Increase::Internal::Type::BaseModel
|
1494
|
+
attr_accessor reason: Increase::Models::DeclinedTransaction::Source::InboundFednowTransferDecline::reason
|
1495
|
+
|
1496
|
+
attr_accessor transfer_id: String
|
1497
|
+
|
1498
|
+
def initialize: (
|
1499
|
+
reason: Increase::Models::DeclinedTransaction::Source::InboundFednowTransferDecline::reason,
|
1500
|
+
transfer_id: String
|
1501
|
+
) -> void
|
1502
|
+
|
1503
|
+
def to_hash: -> {
|
1504
|
+
reason: Increase::Models::DeclinedTransaction::Source::InboundFednowTransferDecline::reason,
|
1505
|
+
transfer_id: String
|
1506
|
+
}
|
1507
|
+
|
1508
|
+
type reason =
|
1509
|
+
:account_number_canceled
|
1510
|
+
| :account_number_disabled
|
1511
|
+
| :account_restricted
|
1512
|
+
| :group_locked
|
1513
|
+
| :entity_not_active
|
1514
|
+
| :fednow_not_enabled
|
1515
|
+
|
1516
|
+
module Reason
|
1517
|
+
extend Increase::Internal::Type::Enum
|
1518
|
+
|
1519
|
+
# The account number is canceled.
|
1520
|
+
ACCOUNT_NUMBER_CANCELED: :account_number_canceled
|
1521
|
+
|
1522
|
+
# The account number is disabled.
|
1523
|
+
ACCOUNT_NUMBER_DISABLED: :account_number_disabled
|
1524
|
+
|
1525
|
+
# Your account is restricted.
|
1526
|
+
ACCOUNT_RESTRICTED: :account_restricted
|
1527
|
+
|
1528
|
+
# Your account is inactive.
|
1529
|
+
GROUP_LOCKED: :group_locked
|
1530
|
+
|
1531
|
+
# The account's entity is not active.
|
1532
|
+
ENTITY_NOT_ACTIVE: :entity_not_active
|
1533
|
+
|
1534
|
+
# Your account is not enabled to receive FedNow transfers.
|
1535
|
+
FEDNOW_NOT_ENABLED: :fednow_not_enabled
|
1536
|
+
|
1537
|
+
def self?.values: -> ::Array[Increase::Models::DeclinedTransaction::Source::InboundFednowTransferDecline::reason]
|
1538
|
+
end
|
1539
|
+
end
|
1540
|
+
|
1478
1541
|
type inbound_real_time_payments_transfer_decline =
|
1479
1542
|
{
|
1480
1543
|
amount: Integer,
|
@@ -88,6 +88,7 @@ module Increase
|
|
88
88
|
| :card_decline
|
89
89
|
| :check_decline
|
90
90
|
| :inbound_real_time_payments_transfer_decline
|
91
|
+
| :inbound_fednow_transfer_decline
|
91
92
|
| :wire_decline
|
92
93
|
| :check_deposit_rejection
|
93
94
|
| :other
|
@@ -107,6 +108,9 @@ module Increase
|
|
107
108
|
# Inbound Real-Time Payments Transfer Decline: details will be under the `inbound_real_time_payments_transfer_decline` object.
|
108
109
|
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_DECLINE: :inbound_real_time_payments_transfer_decline
|
109
110
|
|
111
|
+
# Inbound FedNow Transfer Decline: details will be under the `inbound_fednow_transfer_decline` object.
|
112
|
+
INBOUND_FEDNOW_TRANSFER_DECLINE: :inbound_fednow_transfer_decline
|
113
|
+
|
110
114
|
# Wire Decline: details will be under the `wire_decline` object.
|
111
115
|
WIRE_DECLINE: :wire_decline
|
112
116
|
|
@@ -93,6 +93,8 @@ module Increase
|
|
93
93
|
| :"inbound_ach_transfer_return.updated"
|
94
94
|
| :"inbound_check_deposit.created"
|
95
95
|
| :"inbound_check_deposit.updated"
|
96
|
+
| :"inbound_fednow_transfer.created"
|
97
|
+
| :"inbound_fednow_transfer.updated"
|
96
98
|
| :"inbound_mail_item.created"
|
97
99
|
| :"inbound_mail_item.updated"
|
98
100
|
| :"inbound_real_time_payments_transfer.created"
|
@@ -301,6 +303,12 @@ module Increase
|
|
301
303
|
# Occurs whenever an Inbound Check Deposit is updated.
|
302
304
|
INBOUND_CHECK_DEPOSIT_UPDATED: :"inbound_check_deposit.updated"
|
303
305
|
|
306
|
+
# Occurs whenever an Inbound FedNow Transfer is created.
|
307
|
+
INBOUND_FEDNOW_TRANSFER_CREATED: :"inbound_fednow_transfer.created"
|
308
|
+
|
309
|
+
# Occurs whenever an Inbound FedNow Transfer is updated.
|
310
|
+
INBOUND_FEDNOW_TRANSFER_UPDATED: :"inbound_fednow_transfer.updated"
|
311
|
+
|
304
312
|
# Occurs whenever an Inbound Mail Item is created.
|
305
313
|
INBOUND_MAIL_ITEM_CREATED: :"inbound_mail_item.created"
|
306
314
|
|
@@ -126,6 +126,8 @@ module Increase
|
|
126
126
|
| :"inbound_ach_transfer_return.updated"
|
127
127
|
| :"inbound_check_deposit.created"
|
128
128
|
| :"inbound_check_deposit.updated"
|
129
|
+
| :"inbound_fednow_transfer.created"
|
130
|
+
| :"inbound_fednow_transfer.updated"
|
129
131
|
| :"inbound_mail_item.created"
|
130
132
|
| :"inbound_mail_item.updated"
|
131
133
|
| :"inbound_real_time_payments_transfer.created"
|
@@ -334,6 +336,12 @@ module Increase
|
|
334
336
|
# Occurs whenever an Inbound Check Deposit is updated.
|
335
337
|
INBOUND_CHECK_DEPOSIT_UPDATED: :"inbound_check_deposit.updated"
|
336
338
|
|
339
|
+
# Occurs whenever an Inbound FedNow Transfer is created.
|
340
|
+
INBOUND_FEDNOW_TRANSFER_CREATED: :"inbound_fednow_transfer.created"
|
341
|
+
|
342
|
+
# Occurs whenever an Inbound FedNow Transfer is updated.
|
343
|
+
INBOUND_FEDNOW_TRANSFER_UPDATED: :"inbound_fednow_transfer.updated"
|
344
|
+
|
337
345
|
# Occurs whenever an Inbound Mail Item is created.
|
338
346
|
INBOUND_MAIL_ITEM_CREATED: :"inbound_mail_item.created"
|
339
347
|
|
@@ -103,6 +103,8 @@ module Increase
|
|
103
103
|
| :"inbound_ach_transfer_return.updated"
|
104
104
|
| :"inbound_check_deposit.created"
|
105
105
|
| :"inbound_check_deposit.updated"
|
106
|
+
| :"inbound_fednow_transfer.created"
|
107
|
+
| :"inbound_fednow_transfer.updated"
|
106
108
|
| :"inbound_mail_item.created"
|
107
109
|
| :"inbound_mail_item.updated"
|
108
110
|
| :"inbound_real_time_payments_transfer.created"
|
@@ -311,6 +313,12 @@ module Increase
|
|
311
313
|
# Occurs whenever an Inbound Check Deposit is updated.
|
312
314
|
INBOUND_CHECK_DEPOSIT_UPDATED: :"inbound_check_deposit.updated"
|
313
315
|
|
316
|
+
# Occurs whenever an Inbound FedNow Transfer is created.
|
317
|
+
INBOUND_FEDNOW_TRANSFER_CREATED: :"inbound_fednow_transfer.created"
|
318
|
+
|
319
|
+
# Occurs whenever an Inbound FedNow Transfer is updated.
|
320
|
+
INBOUND_FEDNOW_TRANSFER_UPDATED: :"inbound_fednow_transfer.updated"
|
321
|
+
|
314
322
|
# Occurs whenever an Inbound Mail Item is created.
|
315
323
|
INBOUND_MAIL_ITEM_CREATED: :"inbound_mail_item.created"
|
316
324
|
|
@@ -97,6 +97,8 @@ module Increase
|
|
97
97
|
| :"inbound_ach_transfer_return.updated"
|
98
98
|
| :"inbound_check_deposit.created"
|
99
99
|
| :"inbound_check_deposit.updated"
|
100
|
+
| :"inbound_fednow_transfer.created"
|
101
|
+
| :"inbound_fednow_transfer.updated"
|
100
102
|
| :"inbound_mail_item.created"
|
101
103
|
| :"inbound_mail_item.updated"
|
102
104
|
| :"inbound_real_time_payments_transfer.created"
|
@@ -305,6 +307,12 @@ module Increase
|
|
305
307
|
# Occurs whenever an Inbound Check Deposit is updated.
|
306
308
|
INBOUND_CHECK_DEPOSIT_UPDATED: :"inbound_check_deposit.updated"
|
307
309
|
|
310
|
+
# Occurs whenever an Inbound FedNow Transfer is created.
|
311
|
+
INBOUND_FEDNOW_TRANSFER_CREATED: :"inbound_fednow_transfer.created"
|
312
|
+
|
313
|
+
# Occurs whenever an Inbound FedNow Transfer is updated.
|
314
|
+
INBOUND_FEDNOW_TRANSFER_UPDATED: :"inbound_fednow_transfer.updated"
|
315
|
+
|
308
316
|
# Occurs whenever an Inbound Mail Item is created.
|
309
317
|
INBOUND_MAIL_ITEM_CREATED: :"inbound_mail_item.created"
|
310
318
|
|