increase 1.333.1 → 1.334.1
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 +14 -0
- data/README.md +4 -5
- data/lib/increase/models/ach_prenotification.rb +5 -2
- data/lib/increase/models/ach_prenotification_create_params.rb +2 -2
- data/lib/increase/models/ach_transfer.rb +6 -3
- data/lib/increase/models/card.rb +9 -1
- data/lib/increase/models/card_dispute.rb +40 -1
- data/lib/increase/models/card_dispute_list_params.rb +3 -0
- data/lib/increase/models/card_payment.rb +65 -6
- data/lib/increase/models/card_push_transfer.rb +53 -1
- data/lib/increase/models/check_transfer.rb +4 -8
- data/lib/increase/models/declined_transaction.rb +1 -1
- data/lib/increase/models/digital_wallet_token.rb +59 -1
- data/lib/increase/models/entity.rb +1 -1
- 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/export.rb +17 -1
- data/lib/increase/models/export_create_params.rb +78 -1
- data/lib/increase/models/fednow_transfer.rb +47 -1
- data/lib/increase/models/inbound_wire_transfer.rb +9 -1
- data/lib/increase/models/pending_transaction.rb +54 -1
- data/lib/increase/models/physical_card.rb +1 -1
- data/lib/increase/models/physical_card_profile.rb +38 -1
- data/lib/increase/models/real_time_decision.rb +52 -1
- data/lib/increase/models/simulations/ach_transfer_create_notification_of_change_params.rb +3 -0
- data/lib/increase/models/simulations/card_authorization_create_params.rb +1 -1
- data/lib/increase/models/simulations/card_balance_inquiry_create_params.rb +1 -1
- data/lib/increase/models/simulations/check_deposit_submit_params.rb +21 -2
- data/lib/increase/models/simulations/digital_wallet_token_request_create_response.rb +6 -0
- data/lib/increase/models/simulations/entity_update_validation_params.rb +1 -1
- data/lib/increase/models/simulations/inbound_wire_transfer_create_params.rb +10 -1
- data/lib/increase/models/simulations/physical_card_create_params.rb +1 -1
- data/lib/increase/models/transaction.rb +17 -5
- data/lib/increase/models/unwrap_webhook_event.rb +12 -0
- data/lib/increase/models/wire_drawdown_request.rb +20 -1
- data/lib/increase/resources/exports.rb +3 -1
- data/lib/increase/resources/simulations/check_deposits.rb +3 -0
- data/lib/increase/resources/simulations/inbound_wire_transfers.rb +3 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/ach_prenotification.rbi +9 -2
- data/rbi/increase/models/ach_prenotification_create_params.rbi +2 -2
- data/rbi/increase/models/ach_transfer.rbi +11 -4
- data/rbi/increase/models/card.rbi +8 -0
- data/rbi/increase/models/card_dispute.rbi +56 -0
- data/rbi/increase/models/card_dispute_list_params.rbi +7 -0
- data/rbi/increase/models/card_payment.rbi +135 -7
- data/rbi/increase/models/card_push_transfer.rbi +56 -0
- data/rbi/increase/models/check_transfer.rbi +4 -10
- data/rbi/increase/models/declined_transaction.rbi +1 -1
- data/rbi/increase/models/digital_wallet_token.rbi +131 -0
- data/rbi/increase/models/entity.rbi +1 -1
- data/rbi/increase/models/event.rbi +22 -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/export.rbi +25 -5
- data/rbi/increase/models/export_create_params.rbi +151 -0
- data/rbi/increase/models/fednow_transfer.rbi +77 -0
- data/rbi/increase/models/inbound_wire_transfer.rbi +8 -0
- data/rbi/increase/models/pending_transaction.rbi +122 -0
- data/rbi/increase/models/physical_card.rbi +1 -1
- data/rbi/increase/models/physical_card_profile.rbi +60 -0
- data/rbi/increase/models/real_time_decision.rbi +120 -0
- data/rbi/increase/models/simulations/ach_transfer_create_notification_of_change_params.rbi +7 -0
- data/rbi/increase/models/simulations/card_authorization_create_params.rbi +1 -1
- data/rbi/increase/models/simulations/card_balance_inquiry_create_params.rbi +1 -1
- data/rbi/increase/models/simulations/check_deposit_submit_params.rbi +21 -3
- data/rbi/increase/models/simulations/digital_wallet_token_request_create_response.rbi +14 -0
- data/rbi/increase/models/simulations/entity_update_validation_params.rbi +1 -1
- data/rbi/increase/models/simulations/inbound_wire_transfer_create_params.rbi +13 -0
- data/rbi/increase/models/simulations/physical_card_create_params.rbi +1 -1
- data/rbi/increase/models/transaction.rbi +20 -6
- data/rbi/increase/models/unwrap_webhook_event.rbi +28 -0
- data/rbi/increase/models/wire_drawdown_request.rbi +22 -0
- data/rbi/increase/resources/exports.rbi +3 -0
- data/rbi/increase/resources/simulations/check_deposits.rbi +1 -0
- data/rbi/increase/resources/simulations/inbound_wire_transfers.rbi +4 -0
- data/sig/increase/models/ach_prenotification.rbs +7 -3
- data/sig/increase/models/ach_prenotification_create_params.rbs +2 -2
- data/sig/increase/models/ach_transfer.rbs +5 -1
- data/sig/increase/models/card.rbs +5 -0
- data/sig/increase/models/card_dispute.rbs +21 -0
- data/sig/increase/models/card_dispute_list_params.rbs +4 -0
- data/sig/increase/models/card_payment.rbs +37 -1
- data/sig/increase/models/card_push_transfer.rbs +30 -0
- data/sig/increase/models/check_transfer.rbs +5 -5
- data/sig/increase/models/declined_transaction.rbs +1 -1
- data/sig/increase/models/digital_wallet_token.rbs +61 -2
- data/sig/increase/models/entity.rbs +1 -1
- 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/export.rbs +23 -3
- data/sig/increase/models/export_create_params.rbs +76 -0
- data/sig/increase/models/fednow_transfer.rbs +37 -0
- data/sig/increase/models/inbound_wire_transfer.rbs +5 -0
- data/sig/increase/models/pending_transaction.rbs +36 -0
- data/sig/increase/models/physical_card.rbs +1 -1
- data/sig/increase/models/physical_card_profile.rbs +17 -0
- data/sig/increase/models/real_time_decision.rbs +36 -0
- data/sig/increase/models/simulations/ach_transfer_create_notification_of_change_params.rbs +5 -1
- data/sig/increase/models/simulations/card_authorization_create_params.rbs +1 -1
- data/sig/increase/models/simulations/card_balance_inquiry_create_params.rbs +1 -1
- data/sig/increase/models/simulations/check_deposit_submit_params.rbs +10 -3
- data/sig/increase/models/simulations/digital_wallet_token_request_create_response.rbs +8 -0
- data/sig/increase/models/simulations/entity_update_validation_params.rbs +1 -1
- data/sig/increase/models/simulations/inbound_wire_transfer_create_params.rbs +7 -0
- data/sig/increase/models/simulations/physical_card_create_params.rbs +1 -1
- data/sig/increase/models/transaction.rbs +5 -0
- data/sig/increase/models/unwrap_webhook_event.rbs +16 -0
- data/sig/increase/models/wire_drawdown_request.rbs +10 -0
- data/sig/increase/resources/exports.rbs +1 -0
- data/sig/increase/resources/simulations/inbound_wire_transfers.rbs +1 -0
- metadata +4 -4
|
@@ -666,6 +666,34 @@ module Increase
|
|
|
666
666
|
Increase::EventSubscriptionCreateParams::SelectedEventCategory::EventCategory::TaggedSymbol
|
|
667
667
|
)
|
|
668
668
|
|
|
669
|
+
# Occurs whenever a Loan Application is created.
|
|
670
|
+
LOAN_APPLICATION_CREATED =
|
|
671
|
+
T.let(
|
|
672
|
+
:"loan_application.created",
|
|
673
|
+
Increase::EventSubscriptionCreateParams::SelectedEventCategory::EventCategory::TaggedSymbol
|
|
674
|
+
)
|
|
675
|
+
|
|
676
|
+
# Occurs whenever a Loan Application is updated.
|
|
677
|
+
LOAN_APPLICATION_UPDATED =
|
|
678
|
+
T.let(
|
|
679
|
+
:"loan_application.updated",
|
|
680
|
+
Increase::EventSubscriptionCreateParams::SelectedEventCategory::EventCategory::TaggedSymbol
|
|
681
|
+
)
|
|
682
|
+
|
|
683
|
+
# Occurs whenever a Loan Offer is created.
|
|
684
|
+
LOAN_OFFER_CREATED =
|
|
685
|
+
T.let(
|
|
686
|
+
:"loan_offer.created",
|
|
687
|
+
Increase::EventSubscriptionCreateParams::SelectedEventCategory::EventCategory::TaggedSymbol
|
|
688
|
+
)
|
|
689
|
+
|
|
690
|
+
# Occurs whenever a Loan Offer is updated.
|
|
691
|
+
LOAN_OFFER_UPDATED =
|
|
692
|
+
T.let(
|
|
693
|
+
:"loan_offer.updated",
|
|
694
|
+
Increase::EventSubscriptionCreateParams::SelectedEventCategory::EventCategory::TaggedSymbol
|
|
695
|
+
)
|
|
696
|
+
|
|
669
697
|
# Occurs whenever a Lockbox is created.
|
|
670
698
|
LOCKBOX_CREATED =
|
|
671
699
|
T.let(
|
|
@@ -942,24 +942,44 @@ module Increase
|
|
|
942
942
|
sig { returns(T.nilable(Time)) }
|
|
943
943
|
attr_accessor :before
|
|
944
944
|
|
|
945
|
+
# Filter fees created on or after this time.
|
|
946
|
+
sig { returns(T.nilable(Time)) }
|
|
947
|
+
attr_accessor :on_or_after
|
|
948
|
+
|
|
949
|
+
# Filter fees created on or before this time.
|
|
950
|
+
sig { returns(T.nilable(Time)) }
|
|
951
|
+
attr_accessor :on_or_before
|
|
952
|
+
|
|
945
953
|
# Filter fees by their created date. The time range must not include any fees that
|
|
946
954
|
# are part of an open fee statement.
|
|
947
955
|
sig do
|
|
948
|
-
params(
|
|
949
|
-
T.
|
|
950
|
-
|
|
956
|
+
params(
|
|
957
|
+
after: T.nilable(Time),
|
|
958
|
+
before: T.nilable(Time),
|
|
959
|
+
on_or_after: T.nilable(Time),
|
|
960
|
+
on_or_before: T.nilable(Time)
|
|
961
|
+
).returns(T.attached_class)
|
|
951
962
|
end
|
|
952
963
|
def self.new(
|
|
953
964
|
# Filter fees created after this time.
|
|
954
965
|
after:,
|
|
955
966
|
# Filter fees created before this time.
|
|
956
|
-
before
|
|
967
|
+
before:,
|
|
968
|
+
# Filter fees created on or after this time.
|
|
969
|
+
on_or_after:,
|
|
970
|
+
# Filter fees created on or before this time.
|
|
971
|
+
on_or_before:
|
|
957
972
|
)
|
|
958
973
|
end
|
|
959
974
|
|
|
960
975
|
sig do
|
|
961
976
|
override.returns(
|
|
962
|
-
{
|
|
977
|
+
{
|
|
978
|
+
after: T.nilable(Time),
|
|
979
|
+
before: T.nilable(Time),
|
|
980
|
+
on_or_after: T.nilable(Time),
|
|
981
|
+
on_or_before: T.nilable(Time)
|
|
982
|
+
}
|
|
963
983
|
)
|
|
964
984
|
end
|
|
965
985
|
def to_hash
|
|
@@ -103,6 +103,13 @@ module Increase
|
|
|
103
103
|
end
|
|
104
104
|
attr_writer :entity_csv
|
|
105
105
|
|
|
106
|
+
# Options for the created export. Required if `category` is equal to `fee_csv`.
|
|
107
|
+
sig { returns(T.nilable(Increase::ExportCreateParams::FeeCsv)) }
|
|
108
|
+
attr_reader :fee_csv
|
|
109
|
+
|
|
110
|
+
sig { params(fee_csv: Increase::ExportCreateParams::FeeCsv::OrHash).void }
|
|
111
|
+
attr_writer :fee_csv
|
|
112
|
+
|
|
106
113
|
# Options for the created export. Required if `category` is equal to
|
|
107
114
|
# `funding_instructions`.
|
|
108
115
|
sig do
|
|
@@ -165,6 +172,7 @@ module Increase
|
|
|
165
172
|
daily_account_balance_csv:
|
|
166
173
|
Increase::ExportCreateParams::DailyAccountBalanceCsv::OrHash,
|
|
167
174
|
entity_csv: Increase::ExportCreateParams::EntityCsv::OrHash,
|
|
175
|
+
fee_csv: Increase::ExportCreateParams::FeeCsv::OrHash,
|
|
168
176
|
funding_instructions:
|
|
169
177
|
Increase::ExportCreateParams::FundingInstructions::OrHash,
|
|
170
178
|
transaction_csv: Increase::ExportCreateParams::TransactionCsv::OrHash,
|
|
@@ -193,6 +201,8 @@ module Increase
|
|
|
193
201
|
daily_account_balance_csv: nil,
|
|
194
202
|
# Options for the created export. Required if `category` is equal to `entity_csv`.
|
|
195
203
|
entity_csv: nil,
|
|
204
|
+
# Options for the created export. Required if `category` is equal to `fee_csv`.
|
|
205
|
+
fee_csv: nil,
|
|
196
206
|
# Options for the created export. Required if `category` is equal to
|
|
197
207
|
# `funding_instructions`.
|
|
198
208
|
funding_instructions: nil,
|
|
@@ -223,6 +233,7 @@ module Increase
|
|
|
223
233
|
daily_account_balance_csv:
|
|
224
234
|
Increase::ExportCreateParams::DailyAccountBalanceCsv,
|
|
225
235
|
entity_csv: Increase::ExportCreateParams::EntityCsv,
|
|
236
|
+
fee_csv: Increase::ExportCreateParams::FeeCsv,
|
|
226
237
|
funding_instructions:
|
|
227
238
|
Increase::ExportCreateParams::FundingInstructions,
|
|
228
239
|
transaction_csv: Increase::ExportCreateParams::TransactionCsv,
|
|
@@ -306,6 +317,10 @@ module Increase
|
|
|
306
317
|
Increase::ExportCreateParams::Category::TaggedSymbol
|
|
307
318
|
)
|
|
308
319
|
|
|
320
|
+
# Export a CSV of fees. The time range must not include any fees that are part of an open fee statement.
|
|
321
|
+
FEE_CSV =
|
|
322
|
+
T.let(:fee_csv, Increase::ExportCreateParams::Category::TaggedSymbol)
|
|
323
|
+
|
|
309
324
|
# A PDF of a voided check.
|
|
310
325
|
VOIDED_CHECK =
|
|
311
326
|
T.let(
|
|
@@ -685,6 +700,142 @@ module Increase
|
|
|
685
700
|
end
|
|
686
701
|
end
|
|
687
702
|
|
|
703
|
+
class FeeCsv < Increase::Internal::Type::BaseModel
|
|
704
|
+
OrHash =
|
|
705
|
+
T.type_alias do
|
|
706
|
+
T.any(
|
|
707
|
+
Increase::ExportCreateParams::FeeCsv,
|
|
708
|
+
Increase::Internal::AnyHash
|
|
709
|
+
)
|
|
710
|
+
end
|
|
711
|
+
|
|
712
|
+
# Filter results by time range on the `created_at` attribute.
|
|
713
|
+
sig do
|
|
714
|
+
returns(T.nilable(Increase::ExportCreateParams::FeeCsv::CreatedAt))
|
|
715
|
+
end
|
|
716
|
+
attr_reader :created_at
|
|
717
|
+
|
|
718
|
+
sig do
|
|
719
|
+
params(
|
|
720
|
+
created_at: Increase::ExportCreateParams::FeeCsv::CreatedAt::OrHash
|
|
721
|
+
).void
|
|
722
|
+
end
|
|
723
|
+
attr_writer :created_at
|
|
724
|
+
|
|
725
|
+
# Filter exported Fees to the specified Program.
|
|
726
|
+
sig { returns(T.nilable(String)) }
|
|
727
|
+
attr_reader :program_id
|
|
728
|
+
|
|
729
|
+
sig { params(program_id: String).void }
|
|
730
|
+
attr_writer :program_id
|
|
731
|
+
|
|
732
|
+
# Options for the created export. Required if `category` is equal to `fee_csv`.
|
|
733
|
+
sig do
|
|
734
|
+
params(
|
|
735
|
+
created_at: Increase::ExportCreateParams::FeeCsv::CreatedAt::OrHash,
|
|
736
|
+
program_id: String
|
|
737
|
+
).returns(T.attached_class)
|
|
738
|
+
end
|
|
739
|
+
def self.new(
|
|
740
|
+
# Filter results by time range on the `created_at` attribute.
|
|
741
|
+
created_at: nil,
|
|
742
|
+
# Filter exported Fees to the specified Program.
|
|
743
|
+
program_id: nil
|
|
744
|
+
)
|
|
745
|
+
end
|
|
746
|
+
|
|
747
|
+
sig do
|
|
748
|
+
override.returns(
|
|
749
|
+
{
|
|
750
|
+
created_at: Increase::ExportCreateParams::FeeCsv::CreatedAt,
|
|
751
|
+
program_id: String
|
|
752
|
+
}
|
|
753
|
+
)
|
|
754
|
+
end
|
|
755
|
+
def to_hash
|
|
756
|
+
end
|
|
757
|
+
|
|
758
|
+
class CreatedAt < Increase::Internal::Type::BaseModel
|
|
759
|
+
OrHash =
|
|
760
|
+
T.type_alias do
|
|
761
|
+
T.any(
|
|
762
|
+
Increase::ExportCreateParams::FeeCsv::CreatedAt,
|
|
763
|
+
Increase::Internal::AnyHash
|
|
764
|
+
)
|
|
765
|
+
end
|
|
766
|
+
|
|
767
|
+
# Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
768
|
+
# timestamp.
|
|
769
|
+
sig { returns(T.nilable(Time)) }
|
|
770
|
+
attr_reader :after
|
|
771
|
+
|
|
772
|
+
sig { params(after: Time).void }
|
|
773
|
+
attr_writer :after
|
|
774
|
+
|
|
775
|
+
# Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
776
|
+
# timestamp.
|
|
777
|
+
sig { returns(T.nilable(Time)) }
|
|
778
|
+
attr_reader :before
|
|
779
|
+
|
|
780
|
+
sig { params(before: Time).void }
|
|
781
|
+
attr_writer :before
|
|
782
|
+
|
|
783
|
+
# Return results on or after this
|
|
784
|
+
# [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
|
|
785
|
+
sig { returns(T.nilable(Time)) }
|
|
786
|
+
attr_reader :on_or_after
|
|
787
|
+
|
|
788
|
+
sig { params(on_or_after: Time).void }
|
|
789
|
+
attr_writer :on_or_after
|
|
790
|
+
|
|
791
|
+
# Return results on or before this
|
|
792
|
+
# [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
|
|
793
|
+
sig { returns(T.nilable(Time)) }
|
|
794
|
+
attr_reader :on_or_before
|
|
795
|
+
|
|
796
|
+
sig { params(on_or_before: Time).void }
|
|
797
|
+
attr_writer :on_or_before
|
|
798
|
+
|
|
799
|
+
# Filter results by time range on the `created_at` attribute.
|
|
800
|
+
sig do
|
|
801
|
+
params(
|
|
802
|
+
after: Time,
|
|
803
|
+
before: Time,
|
|
804
|
+
on_or_after: Time,
|
|
805
|
+
on_or_before: Time
|
|
806
|
+
).returns(T.attached_class)
|
|
807
|
+
end
|
|
808
|
+
def self.new(
|
|
809
|
+
# Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
810
|
+
# timestamp.
|
|
811
|
+
after: nil,
|
|
812
|
+
# Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
813
|
+
# timestamp.
|
|
814
|
+
before: nil,
|
|
815
|
+
# Return results on or after this
|
|
816
|
+
# [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
|
|
817
|
+
on_or_after: nil,
|
|
818
|
+
# Return results on or before this
|
|
819
|
+
# [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
|
|
820
|
+
on_or_before: nil
|
|
821
|
+
)
|
|
822
|
+
end
|
|
823
|
+
|
|
824
|
+
sig do
|
|
825
|
+
override.returns(
|
|
826
|
+
{
|
|
827
|
+
after: Time,
|
|
828
|
+
before: Time,
|
|
829
|
+
on_or_after: Time,
|
|
830
|
+
on_or_before: Time
|
|
831
|
+
}
|
|
832
|
+
)
|
|
833
|
+
end
|
|
834
|
+
def to_hash
|
|
835
|
+
end
|
|
836
|
+
end
|
|
837
|
+
end
|
|
838
|
+
|
|
688
839
|
class FundingInstructions < Increase::Internal::Type::BaseModel
|
|
689
840
|
OrHash =
|
|
690
841
|
T.type_alias do
|
|
@@ -75,6 +75,18 @@ module Increase
|
|
|
75
75
|
sig { returns(Increase::FednowTransfer::Currency::TaggedSymbol) }
|
|
76
76
|
attr_accessor :currency
|
|
77
77
|
|
|
78
|
+
# The debtor's address.
|
|
79
|
+
sig { returns(T.nilable(Increase::FednowTransfer::DebtorAddress)) }
|
|
80
|
+
attr_reader :debtor_address
|
|
81
|
+
|
|
82
|
+
sig do
|
|
83
|
+
params(
|
|
84
|
+
debtor_address:
|
|
85
|
+
T.nilable(Increase::FednowTransfer::DebtorAddress::OrHash)
|
|
86
|
+
).void
|
|
87
|
+
end
|
|
88
|
+
attr_writer :debtor_address
|
|
89
|
+
|
|
78
90
|
# The name of the transfer's sender. If not provided, defaults to the name of the
|
|
79
91
|
# account's entity.
|
|
80
92
|
sig { returns(String) }
|
|
@@ -166,6 +178,8 @@ module Increase
|
|
|
166
178
|
T.nilable(Increase::FednowTransfer::CreditorAddress::OrHash),
|
|
167
179
|
creditor_name: String,
|
|
168
180
|
currency: Increase::FednowTransfer::Currency::OrSymbol,
|
|
181
|
+
debtor_address:
|
|
182
|
+
T.nilable(Increase::FednowTransfer::DebtorAddress::OrHash),
|
|
169
183
|
debtor_name: String,
|
|
170
184
|
external_account_id: T.nilable(String),
|
|
171
185
|
idempotency_key: T.nilable(String),
|
|
@@ -206,6 +220,8 @@ module Increase
|
|
|
206
220
|
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transfer's
|
|
207
221
|
# currency. For FedNow transfers this is always equal to `USD`.
|
|
208
222
|
currency:,
|
|
223
|
+
# The debtor's address.
|
|
224
|
+
debtor_address:,
|
|
209
225
|
# The name of the transfer's sender. If not provided, defaults to the name of the
|
|
210
226
|
# account's entity.
|
|
211
227
|
debtor_name:,
|
|
@@ -259,6 +275,7 @@ module Increase
|
|
|
259
275
|
T.nilable(Increase::FednowTransfer::CreditorAddress),
|
|
260
276
|
creditor_name: String,
|
|
261
277
|
currency: Increase::FednowTransfer::Currency::TaggedSymbol,
|
|
278
|
+
debtor_address: T.nilable(Increase::FednowTransfer::DebtorAddress),
|
|
262
279
|
debtor_name: String,
|
|
263
280
|
external_account_id: T.nilable(String),
|
|
264
281
|
idempotency_key: T.nilable(String),
|
|
@@ -607,6 +624,66 @@ module Increase
|
|
|
607
624
|
end
|
|
608
625
|
end
|
|
609
626
|
|
|
627
|
+
class DebtorAddress < Increase::Internal::Type::BaseModel
|
|
628
|
+
OrHash =
|
|
629
|
+
T.type_alias do
|
|
630
|
+
T.any(
|
|
631
|
+
Increase::FednowTransfer::DebtorAddress,
|
|
632
|
+
Increase::Internal::AnyHash
|
|
633
|
+
)
|
|
634
|
+
end
|
|
635
|
+
|
|
636
|
+
# The city, district, town, or village of the address.
|
|
637
|
+
sig { returns(T.nilable(String)) }
|
|
638
|
+
attr_accessor :city
|
|
639
|
+
|
|
640
|
+
# The first line of the address.
|
|
641
|
+
sig { returns(T.nilable(String)) }
|
|
642
|
+
attr_accessor :line1
|
|
643
|
+
|
|
644
|
+
# The ZIP code of the address.
|
|
645
|
+
sig { returns(T.nilable(String)) }
|
|
646
|
+
attr_accessor :postal_code
|
|
647
|
+
|
|
648
|
+
# The address state.
|
|
649
|
+
sig { returns(T.nilable(String)) }
|
|
650
|
+
attr_accessor :state
|
|
651
|
+
|
|
652
|
+
# The debtor's address.
|
|
653
|
+
sig do
|
|
654
|
+
params(
|
|
655
|
+
city: T.nilable(String),
|
|
656
|
+
line1: T.nilable(String),
|
|
657
|
+
postal_code: T.nilable(String),
|
|
658
|
+
state: T.nilable(String)
|
|
659
|
+
).returns(T.attached_class)
|
|
660
|
+
end
|
|
661
|
+
def self.new(
|
|
662
|
+
# The city, district, town, or village of the address.
|
|
663
|
+
city:,
|
|
664
|
+
# The first line of the address.
|
|
665
|
+
line1:,
|
|
666
|
+
# The ZIP code of the address.
|
|
667
|
+
postal_code:,
|
|
668
|
+
# The address state.
|
|
669
|
+
state:
|
|
670
|
+
)
|
|
671
|
+
end
|
|
672
|
+
|
|
673
|
+
sig do
|
|
674
|
+
override.returns(
|
|
675
|
+
{
|
|
676
|
+
city: T.nilable(String),
|
|
677
|
+
line1: T.nilable(String),
|
|
678
|
+
postal_code: T.nilable(String),
|
|
679
|
+
state: T.nilable(String)
|
|
680
|
+
}
|
|
681
|
+
)
|
|
682
|
+
end
|
|
683
|
+
def to_hash
|
|
684
|
+
end
|
|
685
|
+
end
|
|
686
|
+
|
|
610
687
|
class Rejection < Increase::Internal::Type::BaseModel
|
|
611
688
|
OrHash =
|
|
612
689
|
T.type_alias do
|
|
@@ -96,6 +96,10 @@ module Increase
|
|
|
96
96
|
sig { returns(T.nilable(String)) }
|
|
97
97
|
attr_accessor :instruction_identification
|
|
98
98
|
|
|
99
|
+
# The reason for the wire transfer, as set by the sender.
|
|
100
|
+
sig { returns(T.nilable(String)) }
|
|
101
|
+
attr_accessor :purpose
|
|
102
|
+
|
|
99
103
|
# If the transfer is reversed, this will contain details of the reversal.
|
|
100
104
|
sig { returns(T.nilable(Increase::InboundWireTransfer::Reversal)) }
|
|
101
105
|
attr_reader :reversal
|
|
@@ -154,6 +158,7 @@ module Increase
|
|
|
154
158
|
input_message_accountability_data: T.nilable(String),
|
|
155
159
|
instructing_agent_routing_number: T.nilable(String),
|
|
156
160
|
instruction_identification: T.nilable(String),
|
|
161
|
+
purpose: T.nilable(String),
|
|
157
162
|
reversal: T.nilable(Increase::InboundWireTransfer::Reversal::OrHash),
|
|
158
163
|
status: Increase::InboundWireTransfer::Status::OrSymbol,
|
|
159
164
|
type: Increase::InboundWireTransfer::Type::OrSymbol,
|
|
@@ -205,6 +210,8 @@ module Increase
|
|
|
205
210
|
instructing_agent_routing_number:,
|
|
206
211
|
# The sending bank's identifier for the wire transfer.
|
|
207
212
|
instruction_identification:,
|
|
213
|
+
# The reason for the wire transfer, as set by the sender.
|
|
214
|
+
purpose:,
|
|
208
215
|
# If the transfer is reversed, this will contain details of the reversal.
|
|
209
216
|
reversal:,
|
|
210
217
|
# The status of the transfer.
|
|
@@ -245,6 +252,7 @@ module Increase
|
|
|
245
252
|
input_message_accountability_data: T.nilable(String),
|
|
246
253
|
instructing_agent_routing_number: T.nilable(String),
|
|
247
254
|
instruction_identification: T.nilable(String),
|
|
255
|
+
purpose: T.nilable(String),
|
|
248
256
|
reversal: T.nilable(Increase::InboundWireTransfer::Reversal),
|
|
249
257
|
status: Increase::InboundWireTransfer::Status::TaggedSymbol,
|
|
250
258
|
type: Increase::InboundWireTransfer::Type::TaggedSymbol,
|
|
@@ -1395,6 +1395,27 @@ module Increase
|
|
|
1395
1395
|
sig { returns(Time) }
|
|
1396
1396
|
attr_accessor :expires_at
|
|
1397
1397
|
|
|
1398
|
+
# The healthcare-related fields for this authorization. Only present for specific
|
|
1399
|
+
# programs.
|
|
1400
|
+
sig do
|
|
1401
|
+
returns(
|
|
1402
|
+
T.nilable(
|
|
1403
|
+
Increase::PendingTransaction::Source::CardAuthorization::Healthcare
|
|
1404
|
+
)
|
|
1405
|
+
)
|
|
1406
|
+
end
|
|
1407
|
+
attr_reader :healthcare
|
|
1408
|
+
|
|
1409
|
+
sig do
|
|
1410
|
+
params(
|
|
1411
|
+
healthcare:
|
|
1412
|
+
T.nilable(
|
|
1413
|
+
Increase::PendingTransaction::Source::CardAuthorization::Healthcare::OrHash
|
|
1414
|
+
)
|
|
1415
|
+
).void
|
|
1416
|
+
end
|
|
1417
|
+
attr_writer :healthcare
|
|
1418
|
+
|
|
1398
1419
|
# The merchant identifier (commonly abbreviated as MID) of the merchant the card
|
|
1399
1420
|
# is transacting with.
|
|
1400
1421
|
sig { returns(String) }
|
|
@@ -1555,6 +1576,10 @@ module Increase
|
|
|
1555
1576
|
direction:
|
|
1556
1577
|
Increase::PendingTransaction::Source::CardAuthorization::Direction::OrSymbol,
|
|
1557
1578
|
expires_at: Time,
|
|
1579
|
+
healthcare:
|
|
1580
|
+
T.nilable(
|
|
1581
|
+
Increase::PendingTransaction::Source::CardAuthorization::Healthcare::OrHash
|
|
1582
|
+
),
|
|
1558
1583
|
merchant_acceptor_id: String,
|
|
1559
1584
|
merchant_category_code: String,
|
|
1560
1585
|
merchant_city: T.nilable(String),
|
|
@@ -1612,6 +1637,9 @@ module Increase
|
|
|
1612
1637
|
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) when this authorization
|
|
1613
1638
|
# will expire and the pending transaction will be released.
|
|
1614
1639
|
expires_at:,
|
|
1640
|
+
# The healthcare-related fields for this authorization. Only present for specific
|
|
1641
|
+
# programs.
|
|
1642
|
+
healthcare:,
|
|
1615
1643
|
# The merchant identifier (commonly abbreviated as MID) of the merchant the card
|
|
1616
1644
|
# is transacting with.
|
|
1617
1645
|
merchant_acceptor_id:,
|
|
@@ -1682,6 +1710,10 @@ module Increase
|
|
|
1682
1710
|
direction:
|
|
1683
1711
|
Increase::PendingTransaction::Source::CardAuthorization::Direction::TaggedSymbol,
|
|
1684
1712
|
expires_at: Time,
|
|
1713
|
+
healthcare:
|
|
1714
|
+
T.nilable(
|
|
1715
|
+
Increase::PendingTransaction::Source::CardAuthorization::Healthcare
|
|
1716
|
+
),
|
|
1685
1717
|
merchant_acceptor_id: String,
|
|
1686
1718
|
merchant_category_code: String,
|
|
1687
1719
|
merchant_city: T.nilable(String),
|
|
@@ -2583,6 +2615,96 @@ module Increase
|
|
|
2583
2615
|
end
|
|
2584
2616
|
end
|
|
2585
2617
|
|
|
2618
|
+
class Healthcare < Increase::Internal::Type::BaseModel
|
|
2619
|
+
OrHash =
|
|
2620
|
+
T.type_alias do
|
|
2621
|
+
T.any(
|
|
2622
|
+
Increase::PendingTransaction::Source::CardAuthorization::Healthcare,
|
|
2623
|
+
Increase::Internal::AnyHash
|
|
2624
|
+
)
|
|
2625
|
+
end
|
|
2626
|
+
|
|
2627
|
+
# The merchant's eligibility under the Internal Revenue Service's 90% Rule for
|
|
2628
|
+
# Flexible Spending Account (FSA) and Health Savings Account (HSA) eligible
|
|
2629
|
+
# products. The eligibility is determined based on the list of merchants
|
|
2630
|
+
# maintained by the Special Interest Group for IIAS Standards (SIGIS).
|
|
2631
|
+
sig do
|
|
2632
|
+
returns(
|
|
2633
|
+
Increase::PendingTransaction::Source::CardAuthorization::Healthcare::MerchantNinetyPercentEligibility::TaggedSymbol
|
|
2634
|
+
)
|
|
2635
|
+
end
|
|
2636
|
+
attr_accessor :merchant_ninety_percent_eligibility
|
|
2637
|
+
|
|
2638
|
+
# The healthcare-related fields for this authorization. Only present for specific
|
|
2639
|
+
# programs.
|
|
2640
|
+
sig do
|
|
2641
|
+
params(
|
|
2642
|
+
merchant_ninety_percent_eligibility:
|
|
2643
|
+
Increase::PendingTransaction::Source::CardAuthorization::Healthcare::MerchantNinetyPercentEligibility::OrSymbol
|
|
2644
|
+
).returns(T.attached_class)
|
|
2645
|
+
end
|
|
2646
|
+
def self.new(
|
|
2647
|
+
# The merchant's eligibility under the Internal Revenue Service's 90% Rule for
|
|
2648
|
+
# Flexible Spending Account (FSA) and Health Savings Account (HSA) eligible
|
|
2649
|
+
# products. The eligibility is determined based on the list of merchants
|
|
2650
|
+
# maintained by the Special Interest Group for IIAS Standards (SIGIS).
|
|
2651
|
+
merchant_ninety_percent_eligibility:
|
|
2652
|
+
)
|
|
2653
|
+
end
|
|
2654
|
+
|
|
2655
|
+
sig do
|
|
2656
|
+
override.returns(
|
|
2657
|
+
{
|
|
2658
|
+
merchant_ninety_percent_eligibility:
|
|
2659
|
+
Increase::PendingTransaction::Source::CardAuthorization::Healthcare::MerchantNinetyPercentEligibility::TaggedSymbol
|
|
2660
|
+
}
|
|
2661
|
+
)
|
|
2662
|
+
end
|
|
2663
|
+
def to_hash
|
|
2664
|
+
end
|
|
2665
|
+
|
|
2666
|
+
# The merchant's eligibility under the Internal Revenue Service's 90% Rule for
|
|
2667
|
+
# Flexible Spending Account (FSA) and Health Savings Account (HSA) eligible
|
|
2668
|
+
# products. The eligibility is determined based on the list of merchants
|
|
2669
|
+
# maintained by the Special Interest Group for IIAS Standards (SIGIS).
|
|
2670
|
+
module MerchantNinetyPercentEligibility
|
|
2671
|
+
extend Increase::Internal::Type::Enum
|
|
2672
|
+
|
|
2673
|
+
TaggedSymbol =
|
|
2674
|
+
T.type_alias do
|
|
2675
|
+
T.all(
|
|
2676
|
+
Symbol,
|
|
2677
|
+
Increase::PendingTransaction::Source::CardAuthorization::Healthcare::MerchantNinetyPercentEligibility
|
|
2678
|
+
)
|
|
2679
|
+
end
|
|
2680
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
2681
|
+
|
|
2682
|
+
# The merchant is eligible for treatment under the 90% rule.
|
|
2683
|
+
ELIGIBLE =
|
|
2684
|
+
T.let(
|
|
2685
|
+
:eligible,
|
|
2686
|
+
Increase::PendingTransaction::Source::CardAuthorization::Healthcare::MerchantNinetyPercentEligibility::TaggedSymbol
|
|
2687
|
+
)
|
|
2688
|
+
|
|
2689
|
+
# The merchant is not eligible for treatment under the 90% rule.
|
|
2690
|
+
NOT_ELIGIBLE =
|
|
2691
|
+
T.let(
|
|
2692
|
+
:not_eligible,
|
|
2693
|
+
Increase::PendingTransaction::Source::CardAuthorization::Healthcare::MerchantNinetyPercentEligibility::TaggedSymbol
|
|
2694
|
+
)
|
|
2695
|
+
|
|
2696
|
+
sig do
|
|
2697
|
+
override.returns(
|
|
2698
|
+
T::Array[
|
|
2699
|
+
Increase::PendingTransaction::Source::CardAuthorization::Healthcare::MerchantNinetyPercentEligibility::TaggedSymbol
|
|
2700
|
+
]
|
|
2701
|
+
)
|
|
2702
|
+
end
|
|
2703
|
+
def self.values
|
|
2704
|
+
end
|
|
2705
|
+
end
|
|
2706
|
+
end
|
|
2707
|
+
|
|
2586
2708
|
class NetworkDetails < Increase::Internal::Type::BaseModel
|
|
2587
2709
|
OrHash =
|
|
2588
2710
|
T.type_alias do
|
|
@@ -683,7 +683,7 @@ module Increase
|
|
|
683
683
|
Increase::PhysicalCard::Shipment::Tracking::Update::Category::TaggedSymbol
|
|
684
684
|
)
|
|
685
685
|
|
|
686
|
-
# The physical card has been delivered.
|
|
686
|
+
# The physical card has been delivered. Note that some couriers track delivery status based on driver location data rather than an explicit scan. While uncommon, a single physical card may have more than one delivered event.
|
|
687
687
|
DELIVERED =
|
|
688
688
|
T.let(
|
|
689
689
|
:delivered,
|
|
@@ -44,6 +44,19 @@ module Increase
|
|
|
44
44
|
sig { returns(T.nilable(String)) }
|
|
45
45
|
attr_accessor :front_image_file_id
|
|
46
46
|
|
|
47
|
+
# Text printed on the front of the card. Reach out to
|
|
48
|
+
# [support@increase.com](mailto:support@increase.com) for more information.
|
|
49
|
+
sig { returns(T.nilable(Increase::PhysicalCardProfile::FrontText)) }
|
|
50
|
+
attr_reader :front_text
|
|
51
|
+
|
|
52
|
+
sig do
|
|
53
|
+
params(
|
|
54
|
+
front_text:
|
|
55
|
+
T.nilable(Increase::PhysicalCardProfile::FrontText::OrHash)
|
|
56
|
+
).void
|
|
57
|
+
end
|
|
58
|
+
attr_writer :front_text
|
|
59
|
+
|
|
47
60
|
# The idempotency key you chose for this object. This value is unique across
|
|
48
61
|
# Increase and is used to ensure that a request is only processed once. Learn more
|
|
49
62
|
# about [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
@@ -81,6 +94,8 @@ module Increase
|
|
|
81
94
|
creator: Increase::PhysicalCardProfile::Creator::OrSymbol,
|
|
82
95
|
description: String,
|
|
83
96
|
front_image_file_id: T.nilable(String),
|
|
97
|
+
front_text:
|
|
98
|
+
T.nilable(Increase::PhysicalCardProfile::FrontText::OrHash),
|
|
84
99
|
idempotency_key: T.nilable(String),
|
|
85
100
|
is_default: T::Boolean,
|
|
86
101
|
program_id: String,
|
|
@@ -109,6 +124,9 @@ module Increase
|
|
|
109
124
|
# The identifier of the File containing the physical card's front image. This will
|
|
110
125
|
# be missing until the image has been post-processed.
|
|
111
126
|
front_image_file_id:,
|
|
127
|
+
# Text printed on the front of the card. Reach out to
|
|
128
|
+
# [support@increase.com](mailto:support@increase.com) for more information.
|
|
129
|
+
front_text:,
|
|
112
130
|
# The idempotency key you chose for this object. This value is unique across
|
|
113
131
|
# Increase and is used to ensure that a request is only processed once. Learn more
|
|
114
132
|
# about [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
@@ -137,6 +155,7 @@ module Increase
|
|
|
137
155
|
creator: Increase::PhysicalCardProfile::Creator::TaggedSymbol,
|
|
138
156
|
description: String,
|
|
139
157
|
front_image_file_id: T.nilable(String),
|
|
158
|
+
front_text: T.nilable(Increase::PhysicalCardProfile::FrontText),
|
|
140
159
|
idempotency_key: T.nilable(String),
|
|
141
160
|
is_default: T::Boolean,
|
|
142
161
|
program_id: String,
|
|
@@ -173,6 +192,47 @@ module Increase
|
|
|
173
192
|
end
|
|
174
193
|
end
|
|
175
194
|
|
|
195
|
+
class FrontText < Increase::Internal::Type::BaseModel
|
|
196
|
+
OrHash =
|
|
197
|
+
T.type_alias do
|
|
198
|
+
T.any(
|
|
199
|
+
Increase::PhysicalCardProfile::FrontText,
|
|
200
|
+
Increase::Internal::AnyHash
|
|
201
|
+
)
|
|
202
|
+
end
|
|
203
|
+
|
|
204
|
+
# The first line of text on the front of the card.
|
|
205
|
+
sig { returns(String) }
|
|
206
|
+
attr_accessor :line1
|
|
207
|
+
|
|
208
|
+
# The second line of text on the front of the card. Providing a second line moves
|
|
209
|
+
# the first line slightly higher and prints the second line in the spot where the
|
|
210
|
+
# first line would have otherwise been printed.
|
|
211
|
+
sig { returns(T.nilable(String)) }
|
|
212
|
+
attr_accessor :line2
|
|
213
|
+
|
|
214
|
+
# Text printed on the front of the card. Reach out to
|
|
215
|
+
# [support@increase.com](mailto:support@increase.com) for more information.
|
|
216
|
+
sig do
|
|
217
|
+
params(line1: String, line2: T.nilable(String)).returns(
|
|
218
|
+
T.attached_class
|
|
219
|
+
)
|
|
220
|
+
end
|
|
221
|
+
def self.new(
|
|
222
|
+
# The first line of text on the front of the card.
|
|
223
|
+
line1:,
|
|
224
|
+
# The second line of text on the front of the card. Providing a second line moves
|
|
225
|
+
# the first line slightly higher and prints the second line in the spot where the
|
|
226
|
+
# first line would have otherwise been printed.
|
|
227
|
+
line2:
|
|
228
|
+
)
|
|
229
|
+
end
|
|
230
|
+
|
|
231
|
+
sig { override.returns({ line1: String, line2: T.nilable(String) }) }
|
|
232
|
+
def to_hash
|
|
233
|
+
end
|
|
234
|
+
end
|
|
235
|
+
|
|
176
236
|
# The status of the Physical Card Profile.
|
|
177
237
|
module Status
|
|
178
238
|
extend Increase::Internal::Type::Enum
|