increase 1.362.0 → 1.364.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/client.rb +8 -16
- data/lib/increase/models/account_number.rb +51 -81
- data/lib/increase/models/account_number_create_params.rb +41 -75
- data/lib/increase/models/account_number_list_params.rb +39 -39
- data/lib/increase/models/account_number_update_params.rb +48 -79
- data/lib/increase/models/ach_transfer.rb +38 -23
- data/lib/increase/models/card_payment.rb +6 -0
- data/lib/increase/models/card_update_params.rb +12 -8
- data/lib/increase/models/check_transfer.rb +58 -44
- data/lib/increase/models/check_transfer_create_params.rb +35 -21
- data/lib/increase/models/checkbook.rb +352 -0
- data/lib/increase/models/checkbook_check.rb +100 -0
- data/lib/increase/models/checkbook_check_list_params.rb +61 -0
- data/lib/increase/models/checkbook_check_retrieve_params.rb +22 -0
- data/lib/increase/models/checkbook_check_stop_params.rb +22 -0
- data/lib/increase/models/checkbook_create_params.rb +111 -0
- data/lib/increase/models/checkbook_list_params.rb +104 -0
- data/lib/increase/models/checkbook_retrieve_params.rb +22 -0
- data/lib/increase/models/checkbook_stop_params.rb +22 -0
- data/lib/increase/models/declined_transaction.rb +10 -1
- data/lib/increase/models/entity.rb +1 -65
- data/lib/increase/models/entity_create_params.rb +1 -65
- data/lib/increase/models/entity_update_params.rb +1 -57
- data/lib/increase/models/export.rb +12 -1
- data/lib/increase/models/export_create_params.rb +26 -4
- data/lib/increase/models/inbound_ach_transfer.rb +6 -6
- data/lib/increase/models/inbound_check_deposit.rb +12 -1
- data/lib/increase/models/inbound_real_time_payments_transfer.rb +10 -1
- data/lib/increase/models/inbound_real_time_payments_transfer_return_params.rb +36 -0
- data/lib/increase/models/real_time_decision.rb +65 -1
- data/lib/increase/models/real_time_payments_transfer.rb +21 -1
- data/lib/increase/models/simulations/checkbook_mail_params.rb +24 -0
- data/lib/increase/models/transaction.rb +27 -5
- data/lib/increase/models.rb +21 -20
- data/lib/increase/resources/account_numbers.rb +19 -16
- data/lib/increase/resources/checkbook_checks.rb +90 -0
- data/lib/increase/resources/checkbooks.rb +127 -0
- data/lib/increase/resources/entities.rb +2 -12
- data/lib/increase/resources/inbound_real_time_payments_transfers.rb +28 -0
- data/lib/increase/resources/simulations/checkbooks.rb +38 -0
- data/lib/increase/resources/simulations.rb +4 -0
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +14 -14
- data/rbi/increase/client.rbi +6 -12
- data/rbi/increase/models/account_number.rbi +86 -173
- data/rbi/increase/models/account_number_create_params.rbi +87 -165
- data/rbi/increase/models/account_number_list_params.rbi +106 -105
- data/rbi/increase/models/account_number_update_params.rbi +105 -190
- data/rbi/increase/models/ach_transfer.rbi +35 -23
- data/rbi/increase/models/card_payment.rbi +14 -0
- data/rbi/increase/models/card_update_params.rbi +17 -15
- data/rbi/increase/models/check_transfer.rbi +72 -54
- data/rbi/increase/models/check_transfer_create_params.rbi +55 -21
- data/rbi/increase/models/checkbook.rbi +507 -0
- data/rbi/increase/models/checkbook_check.rbi +142 -0
- data/rbi/increase/models/checkbook_check_list_params.rbi +96 -0
- data/rbi/increase/models/{oauth_connection_retrieve_params.rbi → checkbook_check_retrieve_params.rbi} +8 -8
- data/rbi/increase/models/{oauth_application_retrieve_params.rbi → checkbook_check_stop_params.rbi} +8 -11
- data/rbi/increase/models/checkbook_create_params.rbi +178 -0
- data/rbi/increase/models/checkbook_list_params.rbi +198 -0
- data/rbi/increase/models/checkbook_retrieve_params.rbi +40 -0
- data/rbi/increase/models/checkbook_stop_params.rbi +40 -0
- data/rbi/increase/models/declined_transaction.rbi +8 -0
- data/rbi/increase/models/entity.rbi +0 -97
- data/rbi/increase/models/entity_create_params.rbi +0 -119
- data/rbi/increase/models/entity_update_params.rbi +0 -108
- data/rbi/increase/models/export.rbi +15 -3
- data/rbi/increase/models/export_create_params.rbi +27 -3
- data/rbi/increase/models/inbound_ach_transfer.rbi +6 -6
- data/rbi/increase/models/inbound_check_deposit.rbi +10 -0
- data/rbi/increase/models/inbound_real_time_payments_transfer.rbi +8 -0
- data/rbi/increase/models/inbound_real_time_payments_transfer_return_params.rbi +61 -0
- data/rbi/increase/models/real_time_decision.rbi +134 -3
- data/rbi/increase/models/real_time_payments_transfer.rbi +18 -0
- data/rbi/increase/models/simulations/checkbook_mail_params.rbi +45 -0
- data/rbi/increase/models/transaction.rbi +33 -3
- data/rbi/increase/models.rbi +21 -22
- data/rbi/increase/resources/account_numbers.rbi +24 -19
- data/rbi/increase/resources/checkbook_checks.rbi +69 -0
- data/rbi/increase/resources/checkbooks.rbi +96 -0
- data/rbi/increase/resources/entities.rbi +0 -11
- data/rbi/increase/resources/inbound_real_time_payments_transfers.rbi +19 -0
- data/rbi/increase/resources/simulations/checkbooks.rbi +30 -0
- data/rbi/increase/resources/simulations.rbi +3 -0
- data/sig/increase/client.rbs +4 -8
- data/sig/increase/models/account_number.rbs +34 -66
- data/sig/increase/models/account_number_create_params.rbs +30 -64
- data/sig/increase/models/account_number_list_params.rbs +44 -44
- data/sig/increase/models/account_number_update_params.rbs +39 -77
- data/sig/increase/models/ach_transfer.rbs +4 -4
- data/sig/increase/models/card_payment.rbs +8 -0
- data/sig/increase/models/card_update_params.rbs +7 -11
- data/sig/increase/models/check_transfer.rbs +59 -49
- data/sig/increase/models/check_transfer_create_params.rbs +20 -12
- data/sig/increase/models/checkbook.rbs +272 -0
- data/sig/increase/models/checkbook_check.rbs +76 -0
- data/sig/increase/models/checkbook_check_list_params.rbs +56 -0
- data/sig/increase/models/{oauth_connection_retrieve_params.rbs → checkbook_check_retrieve_params.rbs} +6 -6
- data/sig/increase/models/{oauth_application_retrieve_params.rbs → checkbook_check_stop_params.rbs} +6 -6
- data/sig/increase/models/checkbook_create_params.rbs +90 -0
- data/sig/increase/models/checkbook_list_params.rbs +97 -0
- data/sig/increase/models/checkbook_retrieve_params.rbs +23 -0
- data/sig/increase/models/checkbook_stop_params.rbs +23 -0
- data/sig/increase/models/declined_transaction.rbs +5 -0
- data/sig/increase/models/entity.rbs +0 -46
- data/sig/increase/models/entity_create_params.rbs +0 -55
- data/sig/increase/models/entity_update_params.rbs +0 -48
- data/sig/increase/models/export.rbs +13 -3
- data/sig/increase/models/export_create_params.rbs +7 -0
- data/sig/increase/models/inbound_check_deposit.rbs +5 -0
- data/sig/increase/models/inbound_real_time_payments_transfer.rbs +5 -0
- data/sig/increase/models/inbound_real_time_payments_transfer_return_params.rbs +30 -0
- data/sig/increase/models/real_time_decision.rbs +69 -3
- data/sig/increase/models/real_time_payments_transfer.rbs +10 -0
- data/sig/increase/models/simulations/checkbook_mail_params.rbs +25 -0
- data/sig/increase/models/transaction.rbs +26 -5
- data/sig/increase/models.rbs +20 -20
- data/sig/increase/resources/account_numbers.rbs +5 -5
- data/sig/increase/resources/checkbook_checks.rbs +26 -0
- data/sig/increase/resources/checkbooks.rbs +33 -0
- data/sig/increase/resources/entities.rbs +0 -3
- data/sig/increase/resources/inbound_real_time_payments_transfers.rbs +6 -0
- data/sig/increase/resources/simulations/checkbooks.rbs +14 -0
- data/sig/increase/resources/simulations.rbs +2 -0
- metadata +45 -45
- data/lib/increase/models/group.rb +0 -57
- data/lib/increase/models/group_retrieve_params.rb +0 -14
- data/lib/increase/models/oauth_application.rb +0 -111
- data/lib/increase/models/oauth_application_list_params.rb +0 -129
- data/lib/increase/models/oauth_application_retrieve_params.rb +0 -22
- data/lib/increase/models/oauth_connection.rb +0 -107
- data/lib/increase/models/oauth_connection_list_params.rb +0 -88
- data/lib/increase/models/oauth_connection_retrieve_params.rb +0 -22
- data/lib/increase/models/oauth_token.rb +0 -76
- data/lib/increase/models/oauth_token_create_params.rb +0 -85
- data/lib/increase/resources/groups.rb +0 -32
- data/lib/increase/resources/oauth_applications.rb +0 -68
- data/lib/increase/resources/oauth_connections.rb +0 -70
- data/lib/increase/resources/oauth_tokens.rb +0 -54
- data/rbi/increase/models/group.rbi +0 -74
- data/rbi/increase/models/group_retrieve_params.rbi +0 -27
- data/rbi/increase/models/oauth_application.rbi +0 -146
- data/rbi/increase/models/oauth_application_list_params.rbi +0 -263
- data/rbi/increase/models/oauth_connection.rbi +0 -142
- data/rbi/increase/models/oauth_connection_list_params.rbi +0 -187
- data/rbi/increase/models/oauth_token.rbi +0 -106
- data/rbi/increase/models/oauth_token_create_params.rbi +0 -133
- data/rbi/increase/resources/groups.rbi +0 -21
- data/rbi/increase/resources/oauth_applications.rbi +0 -50
- data/rbi/increase/resources/oauth_connections.rbi +0 -52
- data/rbi/increase/resources/oauth_tokens.rbi +0 -44
- data/sig/increase/models/group.rbs +0 -36
- data/sig/increase/models/group_retrieve_params.rbs +0 -15
- data/sig/increase/models/oauth_application.rbs +0 -74
- data/sig/increase/models/oauth_application_list_params.rbs +0 -123
- data/sig/increase/models/oauth_connection.rbs +0 -74
- data/sig/increase/models/oauth_connection_list_params.rbs +0 -86
- data/sig/increase/models/oauth_token.rbs +0 -55
- data/sig/increase/models/oauth_token_create_params.rbs +0 -68
- data/sig/increase/resources/groups.rbs +0 -11
- data/sig/increase/resources/oauth_applications.rbs +0 -20
- data/sig/increase/resources/oauth_connections.rbs +0 -20
- data/sig/increase/resources/oauth_tokens.rbs +0 -16
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
class InboundRealTimePaymentsTransferReturnParams < Increase::Internal::Type::BaseModel
|
|
6
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
7
|
+
include Increase::Internal::Type::RequestParameters
|
|
8
|
+
|
|
9
|
+
OrHash =
|
|
10
|
+
T.type_alias do
|
|
11
|
+
T.any(
|
|
12
|
+
Increase::InboundRealTimePaymentsTransferReturnParams,
|
|
13
|
+
Increase::Internal::AnyHash
|
|
14
|
+
)
|
|
15
|
+
end
|
|
16
|
+
|
|
17
|
+
# The identifier of the Inbound Real-Time Payments Transfer to return to its
|
|
18
|
+
# sender.
|
|
19
|
+
sig { returns(String) }
|
|
20
|
+
attr_accessor :inbound_real_time_payments_transfer_id
|
|
21
|
+
|
|
22
|
+
# The amount to return, in USD cents. Defaults to the full amount of the Inbound
|
|
23
|
+
# Real-Time Payments Transfer, and can't be higher than it.
|
|
24
|
+
sig { returns(T.nilable(Integer)) }
|
|
25
|
+
attr_reader :amount
|
|
26
|
+
|
|
27
|
+
sig { params(amount: Integer).void }
|
|
28
|
+
attr_writer :amount
|
|
29
|
+
|
|
30
|
+
sig do
|
|
31
|
+
params(
|
|
32
|
+
inbound_real_time_payments_transfer_id: String,
|
|
33
|
+
amount: Integer,
|
|
34
|
+
request_options: Increase::RequestOptions::OrHash
|
|
35
|
+
).returns(T.attached_class)
|
|
36
|
+
end
|
|
37
|
+
def self.new(
|
|
38
|
+
# The identifier of the Inbound Real-Time Payments Transfer to return to its
|
|
39
|
+
# sender.
|
|
40
|
+
inbound_real_time_payments_transfer_id:,
|
|
41
|
+
# The amount to return, in USD cents. Defaults to the full amount of the Inbound
|
|
42
|
+
# Real-Time Payments Transfer, and can't be higher than it.
|
|
43
|
+
amount: nil,
|
|
44
|
+
request_options: {}
|
|
45
|
+
)
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
sig do
|
|
49
|
+
override.returns(
|
|
50
|
+
{
|
|
51
|
+
inbound_real_time_payments_transfer_id: String,
|
|
52
|
+
amount: Integer,
|
|
53
|
+
request_options: Increase::RequestOptions
|
|
54
|
+
}
|
|
55
|
+
)
|
|
56
|
+
end
|
|
57
|
+
def to_hash
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
end
|
|
61
|
+
end
|
|
@@ -7302,23 +7302,154 @@ module Increase
|
|
|
7302
7302
|
)
|
|
7303
7303
|
end
|
|
7304
7304
|
|
|
7305
|
+
# Device type.
|
|
7306
|
+
sig do
|
|
7307
|
+
returns(
|
|
7308
|
+
T.nilable(
|
|
7309
|
+
Increase::RealTimeDecision::DigitalWalletToken::Device::DeviceType::TaggedSymbol
|
|
7310
|
+
)
|
|
7311
|
+
)
|
|
7312
|
+
end
|
|
7313
|
+
attr_accessor :device_type
|
|
7314
|
+
|
|
7305
7315
|
# ID assigned to the device by the digital wallet provider.
|
|
7306
7316
|
sig { returns(T.nilable(String)) }
|
|
7307
7317
|
attr_accessor :identifier
|
|
7308
7318
|
|
|
7319
|
+
# IP address of the device.
|
|
7320
|
+
sig { returns(T.nilable(String)) }
|
|
7321
|
+
attr_accessor :ip_address
|
|
7322
|
+
|
|
7323
|
+
# Name of the device, for example "My Work Phone".
|
|
7324
|
+
sig { returns(T.nilable(String)) }
|
|
7325
|
+
attr_accessor :name
|
|
7326
|
+
|
|
7309
7327
|
# Device that is being used to provision the digital wallet token.
|
|
7310
7328
|
sig do
|
|
7311
|
-
params(
|
|
7329
|
+
params(
|
|
7330
|
+
device_type:
|
|
7331
|
+
T.nilable(
|
|
7332
|
+
Increase::RealTimeDecision::DigitalWalletToken::Device::DeviceType::OrSymbol
|
|
7333
|
+
),
|
|
7334
|
+
identifier: T.nilable(String),
|
|
7335
|
+
ip_address: T.nilable(String),
|
|
7336
|
+
name: T.nilable(String)
|
|
7337
|
+
).returns(T.attached_class)
|
|
7312
7338
|
end
|
|
7313
7339
|
def self.new(
|
|
7340
|
+
# Device type.
|
|
7341
|
+
device_type:,
|
|
7314
7342
|
# ID assigned to the device by the digital wallet provider.
|
|
7315
|
-
identifier
|
|
7343
|
+
identifier:,
|
|
7344
|
+
# IP address of the device.
|
|
7345
|
+
ip_address:,
|
|
7346
|
+
# Name of the device, for example "My Work Phone".
|
|
7347
|
+
name:
|
|
7316
7348
|
)
|
|
7317
7349
|
end
|
|
7318
7350
|
|
|
7319
|
-
sig
|
|
7351
|
+
sig do
|
|
7352
|
+
override.returns(
|
|
7353
|
+
{
|
|
7354
|
+
device_type:
|
|
7355
|
+
T.nilable(
|
|
7356
|
+
Increase::RealTimeDecision::DigitalWalletToken::Device::DeviceType::TaggedSymbol
|
|
7357
|
+
),
|
|
7358
|
+
identifier: T.nilable(String),
|
|
7359
|
+
ip_address: T.nilable(String),
|
|
7360
|
+
name: T.nilable(String)
|
|
7361
|
+
}
|
|
7362
|
+
)
|
|
7363
|
+
end
|
|
7320
7364
|
def to_hash
|
|
7321
7365
|
end
|
|
7366
|
+
|
|
7367
|
+
# Device type.
|
|
7368
|
+
module DeviceType
|
|
7369
|
+
extend Increase::Internal::Type::Enum
|
|
7370
|
+
|
|
7371
|
+
TaggedSymbol =
|
|
7372
|
+
T.type_alias do
|
|
7373
|
+
T.all(
|
|
7374
|
+
Symbol,
|
|
7375
|
+
Increase::RealTimeDecision::DigitalWalletToken::Device::DeviceType
|
|
7376
|
+
)
|
|
7377
|
+
end
|
|
7378
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
7379
|
+
|
|
7380
|
+
# Unknown
|
|
7381
|
+
UNKNOWN =
|
|
7382
|
+
T.let(
|
|
7383
|
+
:unknown,
|
|
7384
|
+
Increase::RealTimeDecision::DigitalWalletToken::Device::DeviceType::TaggedSymbol
|
|
7385
|
+
)
|
|
7386
|
+
|
|
7387
|
+
# Mobile Phone
|
|
7388
|
+
MOBILE_PHONE =
|
|
7389
|
+
T.let(
|
|
7390
|
+
:mobile_phone,
|
|
7391
|
+
Increase::RealTimeDecision::DigitalWalletToken::Device::DeviceType::TaggedSymbol
|
|
7392
|
+
)
|
|
7393
|
+
|
|
7394
|
+
# Tablet
|
|
7395
|
+
TABLET =
|
|
7396
|
+
T.let(
|
|
7397
|
+
:tablet,
|
|
7398
|
+
Increase::RealTimeDecision::DigitalWalletToken::Device::DeviceType::TaggedSymbol
|
|
7399
|
+
)
|
|
7400
|
+
|
|
7401
|
+
# Watch
|
|
7402
|
+
WATCH =
|
|
7403
|
+
T.let(
|
|
7404
|
+
:watch,
|
|
7405
|
+
Increase::RealTimeDecision::DigitalWalletToken::Device::DeviceType::TaggedSymbol
|
|
7406
|
+
)
|
|
7407
|
+
|
|
7408
|
+
# Mobile Phone or Tablet
|
|
7409
|
+
MOBILEPHONE_OR_TABLET =
|
|
7410
|
+
T.let(
|
|
7411
|
+
:mobilephone_or_tablet,
|
|
7412
|
+
Increase::RealTimeDecision::DigitalWalletToken::Device::DeviceType::TaggedSymbol
|
|
7413
|
+
)
|
|
7414
|
+
|
|
7415
|
+
# PC
|
|
7416
|
+
PC =
|
|
7417
|
+
T.let(
|
|
7418
|
+
:pc,
|
|
7419
|
+
Increase::RealTimeDecision::DigitalWalletToken::Device::DeviceType::TaggedSymbol
|
|
7420
|
+
)
|
|
7421
|
+
|
|
7422
|
+
# Household Device
|
|
7423
|
+
HOUSEHOLD_DEVICE =
|
|
7424
|
+
T.let(
|
|
7425
|
+
:household_device,
|
|
7426
|
+
Increase::RealTimeDecision::DigitalWalletToken::Device::DeviceType::TaggedSymbol
|
|
7427
|
+
)
|
|
7428
|
+
|
|
7429
|
+
# Wearable Device
|
|
7430
|
+
WEARABLE_DEVICE =
|
|
7431
|
+
T.let(
|
|
7432
|
+
:wearable_device,
|
|
7433
|
+
Increase::RealTimeDecision::DigitalWalletToken::Device::DeviceType::TaggedSymbol
|
|
7434
|
+
)
|
|
7435
|
+
|
|
7436
|
+
# Automobile Device
|
|
7437
|
+
AUTOMOBILE_DEVICE =
|
|
7438
|
+
T.let(
|
|
7439
|
+
:automobile_device,
|
|
7440
|
+
Increase::RealTimeDecision::DigitalWalletToken::Device::DeviceType::TaggedSymbol
|
|
7441
|
+
)
|
|
7442
|
+
|
|
7443
|
+
sig do
|
|
7444
|
+
override.returns(
|
|
7445
|
+
T::Array[
|
|
7446
|
+
Increase::RealTimeDecision::DigitalWalletToken::Device::DeviceType::TaggedSymbol
|
|
7447
|
+
]
|
|
7448
|
+
)
|
|
7449
|
+
end
|
|
7450
|
+
def self.values
|
|
7451
|
+
end
|
|
7452
|
+
end
|
|
7322
7453
|
end
|
|
7323
7454
|
|
|
7324
7455
|
# The digital wallet app being used.
|
|
@@ -103,6 +103,10 @@ module Increase
|
|
|
103
103
|
sig { returns(T.nilable(String)) }
|
|
104
104
|
attr_accessor :debtor_name
|
|
105
105
|
|
|
106
|
+
# A free-form reference string set by the sender, to help identify the transfer.
|
|
107
|
+
sig { returns(T.nilable(String)) }
|
|
108
|
+
attr_accessor :end_to_end_identification
|
|
109
|
+
|
|
106
110
|
# The identifier of the External Account the transfer was made to, if any.
|
|
107
111
|
sig { returns(T.nilable(String)) }
|
|
108
112
|
attr_accessor :external_account_id
|
|
@@ -138,6 +142,11 @@ module Increase
|
|
|
138
142
|
end
|
|
139
143
|
attr_writer :rejection
|
|
140
144
|
|
|
145
|
+
# The identifier of the Inbound Real-Time Payments Transfer this transfer returns,
|
|
146
|
+
# if any.
|
|
147
|
+
sig { returns(T.nilable(String)) }
|
|
148
|
+
attr_accessor :return_of_inbound_real_time_payments_transfer_id
|
|
149
|
+
|
|
141
150
|
# The destination American Bankers' Association (ABA) Routing Transit Number
|
|
142
151
|
# (RTN).
|
|
143
152
|
sig { returns(String) }
|
|
@@ -209,12 +218,14 @@ module Increase
|
|
|
209
218
|
creditor_name: String,
|
|
210
219
|
currency: Increase::RealTimePaymentsTransfer::Currency::OrSymbol,
|
|
211
220
|
debtor_name: T.nilable(String),
|
|
221
|
+
end_to_end_identification: T.nilable(String),
|
|
212
222
|
external_account_id: T.nilable(String),
|
|
213
223
|
idempotency_key: T.nilable(String),
|
|
214
224
|
inbound_real_time_payments_request_for_payment_id: T.nilable(String),
|
|
215
225
|
pending_transaction_id: T.nilable(String),
|
|
216
226
|
rejection:
|
|
217
227
|
T.nilable(Increase::RealTimePaymentsTransfer::Rejection::OrHash),
|
|
228
|
+
return_of_inbound_real_time_payments_transfer_id: T.nilable(String),
|
|
218
229
|
routing_number: String,
|
|
219
230
|
source_account_number_id: String,
|
|
220
231
|
status: Increase::RealTimePaymentsTransfer::Status::OrSymbol,
|
|
@@ -259,6 +270,8 @@ module Increase
|
|
|
259
270
|
# The name of the transfer's sender. If not provided, defaults to the name of the
|
|
260
271
|
# account's entity.
|
|
261
272
|
debtor_name:,
|
|
273
|
+
# A free-form reference string set by the sender, to help identify the transfer.
|
|
274
|
+
end_to_end_identification:,
|
|
262
275
|
# The identifier of the External Account the transfer was made to, if any.
|
|
263
276
|
external_account_id:,
|
|
264
277
|
# The idempotency key you chose for this object. This value is unique across
|
|
@@ -276,6 +289,9 @@ module Increase
|
|
|
276
289
|
# If the transfer is rejected by Real-Time Payments or the destination financial
|
|
277
290
|
# institution, this will contain supplemental details.
|
|
278
291
|
rejection:,
|
|
292
|
+
# The identifier of the Inbound Real-Time Payments Transfer this transfer returns,
|
|
293
|
+
# if any.
|
|
294
|
+
return_of_inbound_real_time_payments_transfer_id:,
|
|
279
295
|
# The destination American Bankers' Association (ABA) Routing Transit Number
|
|
280
296
|
# (RTN).
|
|
281
297
|
routing_number:,
|
|
@@ -321,12 +337,14 @@ module Increase
|
|
|
321
337
|
currency:
|
|
322
338
|
Increase::RealTimePaymentsTransfer::Currency::TaggedSymbol,
|
|
323
339
|
debtor_name: T.nilable(String),
|
|
340
|
+
end_to_end_identification: T.nilable(String),
|
|
324
341
|
external_account_id: T.nilable(String),
|
|
325
342
|
idempotency_key: T.nilable(String),
|
|
326
343
|
inbound_real_time_payments_request_for_payment_id:
|
|
327
344
|
T.nilable(String),
|
|
328
345
|
pending_transaction_id: T.nilable(String),
|
|
329
346
|
rejection: T.nilable(Increase::RealTimePaymentsTransfer::Rejection),
|
|
347
|
+
return_of_inbound_real_time_payments_transfer_id: T.nilable(String),
|
|
330
348
|
routing_number: String,
|
|
331
349
|
source_account_number_id: String,
|
|
332
350
|
status: Increase::RealTimePaymentsTransfer::Status::TaggedSymbol,
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Increase
|
|
4
|
+
module Models
|
|
5
|
+
module Simulations
|
|
6
|
+
class CheckbookMailParams < Increase::Internal::Type::BaseModel
|
|
7
|
+
extend Increase::Internal::Type::RequestParameters::Converter
|
|
8
|
+
include Increase::Internal::Type::RequestParameters
|
|
9
|
+
|
|
10
|
+
OrHash =
|
|
11
|
+
T.type_alias do
|
|
12
|
+
T.any(
|
|
13
|
+
Increase::Simulations::CheckbookMailParams,
|
|
14
|
+
Increase::Internal::AnyHash
|
|
15
|
+
)
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
# The identifier of the Checkbook you wish to mail.
|
|
19
|
+
sig { returns(String) }
|
|
20
|
+
attr_accessor :checkbook_id
|
|
21
|
+
|
|
22
|
+
sig do
|
|
23
|
+
params(
|
|
24
|
+
checkbook_id: String,
|
|
25
|
+
request_options: Increase::RequestOptions::OrHash
|
|
26
|
+
).returns(T.attached_class)
|
|
27
|
+
end
|
|
28
|
+
def self.new(
|
|
29
|
+
# The identifier of the Checkbook you wish to mail.
|
|
30
|
+
checkbook_id:,
|
|
31
|
+
request_options: {}
|
|
32
|
+
)
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
sig do
|
|
36
|
+
override.returns(
|
|
37
|
+
{ checkbook_id: String, request_options: Increase::RequestOptions }
|
|
38
|
+
)
|
|
39
|
+
end
|
|
40
|
+
def to_hash
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
@@ -2010,7 +2010,7 @@ module Increase
|
|
|
2010
2010
|
attr_accessor :routing_number
|
|
2011
2011
|
|
|
2012
2012
|
# A description set when the ACH Transfer was created.
|
|
2013
|
-
sig { returns(String) }
|
|
2013
|
+
sig { returns(T.nilable(String)) }
|
|
2014
2014
|
attr_accessor :statement_descriptor
|
|
2015
2015
|
|
|
2016
2016
|
# The identifier of the ACH Transfer that led to this Transaction.
|
|
@@ -2026,7 +2026,7 @@ module Increase
|
|
|
2026
2026
|
account_number: String,
|
|
2027
2027
|
amount: Integer,
|
|
2028
2028
|
routing_number: String,
|
|
2029
|
-
statement_descriptor: String,
|
|
2029
|
+
statement_descriptor: T.nilable(String),
|
|
2030
2030
|
transfer_id: String
|
|
2031
2031
|
).returns(T.attached_class)
|
|
2032
2032
|
end
|
|
@@ -2052,7 +2052,7 @@ module Increase
|
|
|
2052
2052
|
account_number: String,
|
|
2053
2053
|
amount: Integer,
|
|
2054
2054
|
routing_number: String,
|
|
2055
|
-
statement_descriptor: String,
|
|
2055
|
+
statement_descriptor: T.nilable(String),
|
|
2056
2056
|
transfer_id: String
|
|
2057
2057
|
}
|
|
2058
2058
|
)
|
|
@@ -8070,6 +8070,13 @@ module Increase
|
|
|
8070
8070
|
Increase::Transaction::Source::CardRefund::PurchaseDetails::Fleet::FuelType::TaggedSymbol
|
|
8071
8071
|
)
|
|
8072
8072
|
|
|
8073
|
+
# Diesel 1 off-road non-taxable
|
|
8074
|
+
DIESEL_1_OFF_ROAD_NON_TAXABLE =
|
|
8075
|
+
T.let(
|
|
8076
|
+
:diesel_1_off_road_non_taxable,
|
|
8077
|
+
Increase::Transaction::Source::CardRefund::PurchaseDetails::Fleet::FuelType::TaggedSymbol
|
|
8078
|
+
)
|
|
8079
|
+
|
|
8073
8080
|
# Renewable diesel R95 or greater off-road non-taxable
|
|
8074
8081
|
RENEWABLE_DIESEL_R95_OR_GREATER_OFF_ROAD_NON_TAXABLE =
|
|
8075
8082
|
T.let(
|
|
@@ -12159,6 +12166,13 @@ module Increase
|
|
|
12159
12166
|
Increase::Transaction::Source::CardSettlement::PurchaseDetails::Fleet::FuelType::TaggedSymbol
|
|
12160
12167
|
)
|
|
12161
12168
|
|
|
12169
|
+
# Diesel 1 off-road non-taxable
|
|
12170
|
+
DIESEL_1_OFF_ROAD_NON_TAXABLE =
|
|
12171
|
+
T.let(
|
|
12172
|
+
:diesel_1_off_road_non_taxable,
|
|
12173
|
+
Increase::Transaction::Source::CardSettlement::PurchaseDetails::Fleet::FuelType::TaggedSymbol
|
|
12174
|
+
)
|
|
12175
|
+
|
|
12162
12176
|
# Renewable diesel R95 or greater off-road non-taxable
|
|
12163
12177
|
RENEWABLE_DIESEL_R95_OR_GREATER_OFF_ROAD_NON_TAXABLE =
|
|
12164
12178
|
T.let(
|
|
@@ -14713,6 +14727,10 @@ module Increase
|
|
|
14713
14727
|
sig { returns(T.nilable(String)) }
|
|
14714
14728
|
attr_accessor :bank_of_first_deposit_routing_number
|
|
14715
14729
|
|
|
14730
|
+
# The identifier of the Checkbook Check object that was deposited.
|
|
14731
|
+
sig { returns(T.nilable(String)) }
|
|
14732
|
+
attr_accessor :checkbook_check_id
|
|
14733
|
+
|
|
14716
14734
|
# When the check was deposited.
|
|
14717
14735
|
sig { returns(Time) }
|
|
14718
14736
|
attr_accessor :deposited_at
|
|
@@ -14752,6 +14770,7 @@ module Increase
|
|
|
14752
14770
|
params(
|
|
14753
14771
|
back_image_file_id: T.nilable(String),
|
|
14754
14772
|
bank_of_first_deposit_routing_number: T.nilable(String),
|
|
14773
|
+
checkbook_check_id: T.nilable(String),
|
|
14755
14774
|
deposited_at: Time,
|
|
14756
14775
|
front_image_file_id: T.nilable(String),
|
|
14757
14776
|
inbound_check_deposit_id: T.nilable(String),
|
|
@@ -14769,6 +14788,8 @@ module Increase
|
|
|
14769
14788
|
# bank depositing this check. In some rare cases, this is not transmitted via
|
|
14770
14789
|
# Check 21 and the value will be null.
|
|
14771
14790
|
bank_of_first_deposit_routing_number:,
|
|
14791
|
+
# The identifier of the Checkbook Check object that was deposited.
|
|
14792
|
+
checkbook_check_id:,
|
|
14772
14793
|
# When the check was deposited.
|
|
14773
14794
|
deposited_at:,
|
|
14774
14795
|
# The identifier of the API File object containing an image of the front of the
|
|
@@ -14792,6 +14813,7 @@ module Increase
|
|
|
14792
14813
|
{
|
|
14793
14814
|
back_image_file_id: T.nilable(String),
|
|
14794
14815
|
bank_of_first_deposit_routing_number: T.nilable(String),
|
|
14816
|
+
checkbook_check_id: T.nilable(String),
|
|
14795
14817
|
deposited_at: Time,
|
|
14796
14818
|
front_image_file_id: T.nilable(String),
|
|
14797
14819
|
inbound_check_deposit_id: T.nilable(String),
|
|
@@ -15680,6 +15702,10 @@ module Increase
|
|
|
15680
15702
|
)
|
|
15681
15703
|
end
|
|
15682
15704
|
|
|
15705
|
+
# The identifier of the Checkbook Check object that was deposited.
|
|
15706
|
+
sig { returns(T.nilable(String)) }
|
|
15707
|
+
attr_accessor :checkbook_check_id
|
|
15708
|
+
|
|
15683
15709
|
# The ID of the Inbound Check Deposit that is being returned.
|
|
15684
15710
|
sig { returns(String) }
|
|
15685
15711
|
attr_accessor :inbound_check_deposit_id
|
|
@@ -15695,11 +15721,14 @@ module Increase
|
|
|
15695
15721
|
# requests that it be returned.
|
|
15696
15722
|
sig do
|
|
15697
15723
|
params(
|
|
15724
|
+
checkbook_check_id: T.nilable(String),
|
|
15698
15725
|
inbound_check_deposit_id: String,
|
|
15699
15726
|
transfer_id: T.nilable(String)
|
|
15700
15727
|
).returns(T.attached_class)
|
|
15701
15728
|
end
|
|
15702
15729
|
def self.new(
|
|
15730
|
+
# The identifier of the Checkbook Check object that was deposited.
|
|
15731
|
+
checkbook_check_id:,
|
|
15703
15732
|
# The ID of the Inbound Check Deposit that is being returned.
|
|
15704
15733
|
inbound_check_deposit_id:,
|
|
15705
15734
|
# The identifier of the Check Transfer object that was deposited.
|
|
@@ -15710,6 +15739,7 @@ module Increase
|
|
|
15710
15739
|
sig do
|
|
15711
15740
|
override.returns(
|
|
15712
15741
|
{
|
|
15742
|
+
checkbook_check_id: T.nilable(String),
|
|
15713
15743
|
inbound_check_deposit_id: String,
|
|
15714
15744
|
transfer_id: T.nilable(String)
|
|
15715
15745
|
}
|
data/rbi/increase/models.rbi
CHANGED
|
@@ -166,6 +166,24 @@ module Increase
|
|
|
166
166
|
|
|
167
167
|
CardValidationRetrieveParams = Increase::Models::CardValidationRetrieveParams
|
|
168
168
|
|
|
169
|
+
Checkbook = Increase::Models::Checkbook
|
|
170
|
+
|
|
171
|
+
CheckbookCheck = Increase::Models::CheckbookCheck
|
|
172
|
+
|
|
173
|
+
CheckbookCheckListParams = Increase::Models::CheckbookCheckListParams
|
|
174
|
+
|
|
175
|
+
CheckbookCheckRetrieveParams = Increase::Models::CheckbookCheckRetrieveParams
|
|
176
|
+
|
|
177
|
+
CheckbookCheckStopParams = Increase::Models::CheckbookCheckStopParams
|
|
178
|
+
|
|
179
|
+
CheckbookCreateParams = Increase::Models::CheckbookCreateParams
|
|
180
|
+
|
|
181
|
+
CheckbookListParams = Increase::Models::CheckbookListParams
|
|
182
|
+
|
|
183
|
+
CheckbookRetrieveParams = Increase::Models::CheckbookRetrieveParams
|
|
184
|
+
|
|
185
|
+
CheckbookStopParams = Increase::Models::CheckbookStopParams
|
|
186
|
+
|
|
169
187
|
CheckDeposit = Increase::Models::CheckDeposit
|
|
170
188
|
|
|
171
189
|
CheckDepositCreateParams = Increase::Models::CheckDepositCreateParams
|
|
@@ -327,10 +345,6 @@ module Increase
|
|
|
327
345
|
|
|
328
346
|
FileRetrieveParams = Increase::Models::FileRetrieveParams
|
|
329
347
|
|
|
330
|
-
Group = Increase::Models::Group
|
|
331
|
-
|
|
332
|
-
GroupRetrieveParams = Increase::Models::GroupRetrieveParams
|
|
333
|
-
|
|
334
348
|
InboundACHTransfer = Increase::Models::InboundACHTransfer
|
|
335
349
|
|
|
336
350
|
InboundACHTransferCreateNotificationOfChangeParams =
|
|
@@ -396,6 +410,9 @@ module Increase
|
|
|
396
410
|
InboundRealTimePaymentsTransferRetrieveParams =
|
|
397
411
|
Increase::Models::InboundRealTimePaymentsTransferRetrieveParams
|
|
398
412
|
|
|
413
|
+
InboundRealTimePaymentsTransferReturnParams =
|
|
414
|
+
Increase::Models::InboundRealTimePaymentsTransferReturnParams
|
|
415
|
+
|
|
399
416
|
InboundWireDrawdownRequest = Increase::Models::InboundWireDrawdownRequest
|
|
400
417
|
|
|
401
418
|
InboundWireDrawdownRequestListParams =
|
|
@@ -467,24 +484,6 @@ module Increase
|
|
|
467
484
|
|
|
468
485
|
LockboxRecipientUpdateParams = Increase::Models::LockboxRecipientUpdateParams
|
|
469
486
|
|
|
470
|
-
OAuthApplication = Increase::Models::OAuthApplication
|
|
471
|
-
|
|
472
|
-
OAuthApplicationListParams = Increase::Models::OAuthApplicationListParams
|
|
473
|
-
|
|
474
|
-
OAuthApplicationRetrieveParams =
|
|
475
|
-
Increase::Models::OAuthApplicationRetrieveParams
|
|
476
|
-
|
|
477
|
-
OAuthConnection = Increase::Models::OAuthConnection
|
|
478
|
-
|
|
479
|
-
OAuthConnectionListParams = Increase::Models::OAuthConnectionListParams
|
|
480
|
-
|
|
481
|
-
OAuthConnectionRetrieveParams =
|
|
482
|
-
Increase::Models::OAuthConnectionRetrieveParams
|
|
483
|
-
|
|
484
|
-
OAuthToken = Increase::Models::OAuthToken
|
|
485
|
-
|
|
486
|
-
OAuthTokenCreateParams = Increase::Models::OAuthTokenCreateParams
|
|
487
|
-
|
|
488
487
|
PendingTransaction = Increase::Models::PendingTransaction
|
|
489
488
|
|
|
490
489
|
PendingTransactionCreateParams =
|
|
@@ -8,9 +8,10 @@ module Increase
|
|
|
8
8
|
params(
|
|
9
9
|
account_id: String,
|
|
10
10
|
name: String,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
inbound_ach_debits:
|
|
12
|
+
Increase::AccountNumberCreateParams::InboundACHDebits::OrSymbol,
|
|
13
|
+
unregistered_inbound_checks:
|
|
14
|
+
Increase::AccountNumberCreateParams::UnregisteredInboundChecks::OrSymbol,
|
|
14
15
|
request_options: Increase::RequestOptions::OrHash
|
|
15
16
|
).returns(Increase::AccountNumber)
|
|
16
17
|
end
|
|
@@ -19,11 +20,13 @@ module Increase
|
|
|
19
20
|
account_id:,
|
|
20
21
|
# The name you choose for the Account Number.
|
|
21
22
|
name:,
|
|
22
|
-
#
|
|
23
|
-
|
|
24
|
-
#
|
|
25
|
-
|
|
26
|
-
|
|
23
|
+
# Whether inbound ACH debits are allowed against this Account Number. Note that
|
|
24
|
+
# ACH debits will be declined if this is `allowed` but the Account Number is not
|
|
25
|
+
# active. If you do not specify this field, the default is `allowed`.
|
|
26
|
+
inbound_ach_debits: nil,
|
|
27
|
+
# Whether unregistered inbound checks for this Account Number can be deposited. If
|
|
28
|
+
# you do not specify this field, the default is `blocked`.
|
|
29
|
+
unregistered_inbound_checks: nil,
|
|
27
30
|
request_options: {}
|
|
28
31
|
)
|
|
29
32
|
end
|
|
@@ -46,26 +49,28 @@ module Increase
|
|
|
46
49
|
sig do
|
|
47
50
|
params(
|
|
48
51
|
account_number_id: String,
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
Increase::AccountNumberUpdateParams::InboundChecks::OrHash,
|
|
52
|
+
inbound_ach_debits:
|
|
53
|
+
Increase::AccountNumberUpdateParams::InboundACHDebits::OrSymbol,
|
|
52
54
|
name: String,
|
|
53
55
|
status: Increase::AccountNumberUpdateParams::Status::OrSymbol,
|
|
56
|
+
unregistered_inbound_checks:
|
|
57
|
+
Increase::AccountNumberUpdateParams::UnregisteredInboundChecks::OrSymbol,
|
|
54
58
|
request_options: Increase::RequestOptions::OrHash
|
|
55
59
|
).returns(Increase::AccountNumber)
|
|
56
60
|
end
|
|
57
61
|
def update(
|
|
58
62
|
# The identifier of the Account Number.
|
|
59
63
|
account_number_id,
|
|
60
|
-
#
|
|
61
|
-
|
|
62
|
-
#
|
|
63
|
-
|
|
64
|
-
inbound_checks: nil,
|
|
64
|
+
# Whether inbound ACH debits are allowed against this Account Number. Note that
|
|
65
|
+
# ACH debits will be declined if this is `allowed` but the Account Number is not
|
|
66
|
+
# active.
|
|
67
|
+
inbound_ach_debits: nil,
|
|
65
68
|
# The name you choose for the Account Number.
|
|
66
69
|
name: nil,
|
|
67
70
|
# This indicates if transfers can be made to the Account Number.
|
|
68
71
|
status: nil,
|
|
72
|
+
# Whether unregistered inbound checks for this Account Number can be deposited.
|
|
73
|
+
unregistered_inbound_checks: nil,
|
|
69
74
|
request_options: {}
|
|
70
75
|
)
|
|
71
76
|
end
|
|
@@ -74,11 +79,11 @@ module Increase
|
|
|
74
79
|
sig do
|
|
75
80
|
params(
|
|
76
81
|
account_id: String,
|
|
77
|
-
ach_debit_status:
|
|
78
|
-
Increase::AccountNumberListParams::ACHDebitStatus::OrHash,
|
|
79
82
|
created_at: Increase::AccountNumberListParams::CreatedAt::OrHash,
|
|
80
83
|
cursor: String,
|
|
81
84
|
idempotency_key: String,
|
|
85
|
+
inbound_ach_debits:
|
|
86
|
+
Increase::AccountNumberListParams::InboundACHDebits::OrHash,
|
|
82
87
|
limit: Integer,
|
|
83
88
|
status: Increase::AccountNumberListParams::Status::OrHash,
|
|
84
89
|
request_options: Increase::RequestOptions::OrHash
|
|
@@ -87,7 +92,6 @@ module Increase
|
|
|
87
92
|
def list(
|
|
88
93
|
# Filter Account Numbers to those belonging to the specified Account.
|
|
89
94
|
account_id: nil,
|
|
90
|
-
ach_debit_status: nil,
|
|
91
95
|
created_at: nil,
|
|
92
96
|
# Return the page of entries after this one.
|
|
93
97
|
cursor: nil,
|
|
@@ -96,6 +100,7 @@ module Increase
|
|
|
96
100
|
# request is only processed once. Learn more about
|
|
97
101
|
# [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
98
102
|
idempotency_key: nil,
|
|
103
|
+
inbound_ach_debits: nil,
|
|
99
104
|
# Limit the size of the list that is returned. The default (and maximum) is 100
|
|
100
105
|
# objects.
|
|
101
106
|
#
|