increase 1.367.0 → 1.368.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.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/increase/models/card_payment.rb +30 -0
  4. data/lib/increase/models/declined_transaction.rb +3 -0
  5. data/lib/increase/models/export.rb +19 -5
  6. data/lib/increase/models/export_create_params.rb +36 -13
  7. data/lib/increase/models/inbound_check_deposit.rb +0 -3
  8. data/lib/increase/models/inbound_fednow_transfer.rb +3 -0
  9. data/lib/increase/models/pending_transaction.rb +76 -1
  10. data/lib/increase/models/pending_transaction_list_params.rb +3 -0
  11. data/lib/increase/models/simulations/card_refund_create_params.rb +2 -2
  12. data/lib/increase/models/transaction.rb +86 -1
  13. data/lib/increase/models/transaction_list_params.rb +3 -0
  14. data/lib/increase/resources/exports.rb +5 -1
  15. data/lib/increase/resources/simulations/card_refunds.rb +1 -1
  16. data/lib/increase/version.rb +1 -1
  17. data/rbi/increase/models/card_payment.rbi +70 -0
  18. data/rbi/increase/models/declined_transaction.rbi +7 -0
  19. data/rbi/increase/models/export.rbi +18 -6
  20. data/rbi/increase/models/export_create_params.rbi +44 -15
  21. data/rbi/increase/models/inbound_check_deposit.rbi +0 -3
  22. data/rbi/increase/models/inbound_fednow_transfer.rbi +7 -0
  23. data/rbi/increase/models/pending_transaction.rbi +162 -0
  24. data/rbi/increase/models/pending_transaction_list_params.rbi +7 -0
  25. data/rbi/increase/models/simulations/card_refund_create_params.rbi +2 -2
  26. data/rbi/increase/models/transaction.rbi +179 -0
  27. data/rbi/increase/models/transaction_list_params.rbi +7 -0
  28. data/rbi/increase/resources/exports.rbi +5 -1
  29. data/rbi/increase/resources/simulations/card_refunds.rbi +1 -1
  30. data/sig/increase/models/card_payment.rbs +40 -0
  31. data/sig/increase/models/declined_transaction.rbs +4 -0
  32. data/sig/increase/models/export.rbs +13 -4
  33. data/sig/increase/models/export_create_params.rbs +16 -5
  34. data/sig/increase/models/inbound_fednow_transfer.rbs +4 -0
  35. data/sig/increase/models/pending_transaction.rbs +63 -0
  36. data/sig/increase/models/pending_transaction_list_params.rbs +4 -0
  37. data/sig/increase/models/transaction.rbs +71 -0
  38. data/sig/increase/models/transaction_list_params.rbs +4 -0
  39. metadata +2 -2
@@ -766,6 +766,30 @@ module Increase
766
766
  end
767
767
  attr_writer :inbound_fednow_transfer_confirmation
768
768
 
769
+ # An Inbound FedNow Transfer Return Acknowledgement object. This field will be
770
+ # present in the JSON response if and only if `category` is equal to
771
+ # `inbound_fednow_transfer_return_acknowledgement`. An Inbound FedNow Transfer
772
+ # Return Acknowledgement is created when a return of an Inbound FedNow Transfer
773
+ # has been accepted and settled by the FedNow Service.
774
+ sig do
775
+ returns(
776
+ T.nilable(
777
+ Increase::Transaction::Source::InboundFednowTransferReturnAcknowledgement
778
+ )
779
+ )
780
+ end
781
+ attr_reader :inbound_fednow_transfer_return_acknowledgement
782
+
783
+ sig do
784
+ params(
785
+ inbound_fednow_transfer_return_acknowledgement:
786
+ T.nilable(
787
+ Increase::Transaction::Source::InboundFednowTransferReturnAcknowledgement::OrHash
788
+ )
789
+ ).void
790
+ end
791
+ attr_writer :inbound_fednow_transfer_return_acknowledgement
792
+
769
793
  # An Inbound Real-Time Payments Transfer Confirmation object. This field will be
770
794
  # present in the JSON response if and only if `category` is equal to
771
795
  # `inbound_real_time_payments_transfer_confirmation`. An Inbound Real-Time
@@ -1149,6 +1173,10 @@ module Increase
1149
1173
  T.nilable(
1150
1174
  Increase::Transaction::Source::InboundFednowTransferConfirmation::OrHash
1151
1175
  ),
1176
+ inbound_fednow_transfer_return_acknowledgement:
1177
+ T.nilable(
1178
+ Increase::Transaction::Source::InboundFednowTransferReturnAcknowledgement::OrHash
1179
+ ),
1152
1180
  inbound_real_time_payments_transfer_confirmation:
1153
1181
  T.nilable(
1154
1182
  Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation::OrHash
@@ -1349,6 +1377,12 @@ module Increase
1349
1377
  # is created when a FedNow transfer is initiated at another bank and received by
1350
1378
  # Increase.
1351
1379
  inbound_fednow_transfer_confirmation: nil,
1380
+ # An Inbound FedNow Transfer Return Acknowledgement object. This field will be
1381
+ # present in the JSON response if and only if `category` is equal to
1382
+ # `inbound_fednow_transfer_return_acknowledgement`. An Inbound FedNow Transfer
1383
+ # Return Acknowledgement is created when a return of an Inbound FedNow Transfer
1384
+ # has been accepted and settled by the FedNow Service.
1385
+ inbound_fednow_transfer_return_acknowledgement: nil,
1352
1386
  # An Inbound Real-Time Payments Transfer Confirmation object. This field will be
1353
1387
  # present in the JSON response if and only if `category` is equal to
1354
1388
  # `inbound_real_time_payments_transfer_confirmation`. An Inbound Real-Time
@@ -1501,6 +1535,10 @@ module Increase
1501
1535
  T.nilable(
1502
1536
  Increase::Transaction::Source::InboundFednowTransferConfirmation
1503
1537
  ),
1538
+ inbound_fednow_transfer_return_acknowledgement:
1539
+ T.nilable(
1540
+ Increase::Transaction::Source::InboundFednowTransferReturnAcknowledgement
1541
+ ),
1504
1542
  inbound_real_time_payments_transfer_confirmation:
1505
1543
  T.nilable(
1506
1544
  Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation
@@ -1725,6 +1763,13 @@ module Increase
1725
1763
  Increase::Transaction::Source::Category::TaggedSymbol
1726
1764
  )
1727
1765
 
1766
+ # Inbound FedNow Transfer Return Acknowledgement: details will be under the `inbound_fednow_transfer_return_acknowledgement` object.
1767
+ INBOUND_FEDNOW_TRANSFER_RETURN_ACKNOWLEDGEMENT =
1768
+ T.let(
1769
+ :inbound_fednow_transfer_return_acknowledgement,
1770
+ Increase::Transaction::Source::Category::TaggedSymbol
1771
+ )
1772
+
1728
1773
  # Inbound Real-Time Payments Transfer Confirmation: details will be under the `inbound_real_time_payments_transfer_confirmation` object.
1729
1774
  INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CONFIRMATION =
1730
1775
  T.let(
@@ -5804,6 +5849,13 @@ module Increase
5804
5849
  Increase::Transaction::Source::CardFinancial::SchemeFee::FeeType::TaggedSymbol
5805
5850
  )
5806
5851
 
5852
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
5853
+ PULSE_SWITCH_FEE_CREDIT =
5854
+ T.let(
5855
+ :pulse_switch_fee_credit,
5856
+ Increase::Transaction::Source::CardFinancial::SchemeFee::FeeType::TaggedSymbol
5857
+ )
5858
+
5807
5859
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
5808
5860
  PULSE_TOKENIZATION_FEE =
5809
5861
  T.let(
@@ -10442,6 +10494,13 @@ module Increase
10442
10494
  Increase::Transaction::Source::CardRefund::SchemeFee::FeeType::TaggedSymbol
10443
10495
  )
10444
10496
 
10497
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
10498
+ PULSE_SWITCH_FEE_CREDIT =
10499
+ T.let(
10500
+ :pulse_switch_fee_credit,
10501
+ Increase::Transaction::Source::CardRefund::SchemeFee::FeeType::TaggedSymbol
10502
+ )
10503
+
10445
10504
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
10446
10505
  PULSE_TOKENIZATION_FEE =
10447
10506
  T.let(
@@ -14812,6 +14871,13 @@ module Increase
14812
14871
  Increase::Transaction::Source::CardSettlement::SchemeFee::FeeType::TaggedSymbol
14813
14872
  )
14814
14873
 
14874
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
14875
+ PULSE_SWITCH_FEE_CREDIT =
14876
+ T.let(
14877
+ :pulse_switch_fee_credit,
14878
+ Increase::Transaction::Source::CardSettlement::SchemeFee::FeeType::TaggedSymbol
14879
+ )
14880
+
14815
14881
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
14816
14882
  PULSE_TOKENIZATION_FEE =
14817
14883
  T.let(
@@ -16568,6 +16634,119 @@ module Increase
16568
16634
  end
16569
16635
  end
16570
16636
 
16637
+ class InboundFednowTransferReturnAcknowledgement < Increase::Internal::Type::BaseModel
16638
+ OrHash =
16639
+ T.type_alias do
16640
+ T.any(
16641
+ Increase::Transaction::Source::InboundFednowTransferReturnAcknowledgement,
16642
+ Increase::Internal::AnyHash
16643
+ )
16644
+ end
16645
+
16646
+ # The identifier of the Inbound FedNow Transfer that was returned.
16647
+ sig { returns(String) }
16648
+ attr_accessor :inbound_fednow_transfer_id
16649
+
16650
+ # The reason for the return.
16651
+ sig do
16652
+ returns(
16653
+ Increase::Transaction::Source::InboundFednowTransferReturnAcknowledgement::Reason::TaggedSymbol
16654
+ )
16655
+ end
16656
+ attr_accessor :reason
16657
+
16658
+ # An Inbound FedNow Transfer Return Acknowledgement object. This field will be
16659
+ # present in the JSON response if and only if `category` is equal to
16660
+ # `inbound_fednow_transfer_return_acknowledgement`. An Inbound FedNow Transfer
16661
+ # Return Acknowledgement is created when a return of an Inbound FedNow Transfer
16662
+ # has been accepted and settled by the FedNow Service.
16663
+ sig do
16664
+ params(
16665
+ inbound_fednow_transfer_id: String,
16666
+ reason:
16667
+ Increase::Transaction::Source::InboundFednowTransferReturnAcknowledgement::Reason::OrSymbol
16668
+ ).returns(T.attached_class)
16669
+ end
16670
+ def self.new(
16671
+ # The identifier of the Inbound FedNow Transfer that was returned.
16672
+ inbound_fednow_transfer_id:,
16673
+ # The reason for the return.
16674
+ reason:
16675
+ )
16676
+ end
16677
+
16678
+ sig do
16679
+ override.returns(
16680
+ {
16681
+ inbound_fednow_transfer_id: String,
16682
+ reason:
16683
+ Increase::Transaction::Source::InboundFednowTransferReturnAcknowledgement::Reason::TaggedSymbol
16684
+ }
16685
+ )
16686
+ end
16687
+ def to_hash
16688
+ end
16689
+
16690
+ # The reason for the return.
16691
+ module Reason
16692
+ extend Increase::Internal::Type::Enum
16693
+
16694
+ TaggedSymbol =
16695
+ T.type_alias do
16696
+ T.all(
16697
+ Symbol,
16698
+ Increase::Transaction::Source::InboundFednowTransferReturnAcknowledgement::Reason
16699
+ )
16700
+ end
16701
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
16702
+
16703
+ # The inbound FedNow transfer was a duplicate. Corresponds to the FedNow reason code `DUPL`.
16704
+ DUPLICATE =
16705
+ T.let(
16706
+ :duplicate,
16707
+ Increase::Transaction::Source::InboundFednowTransferReturnAcknowledgement::Reason::TaggedSymbol
16708
+ )
16709
+
16710
+ # The recipient of the inbound FedNow transfer requested the funds be returned to the sender. Corresponds to the FedNow reason code `CUST`.
16711
+ CREDITOR_REQUEST =
16712
+ T.let(
16713
+ :creditor_request,
16714
+ Increase::Transaction::Source::InboundFednowTransferReturnAcknowledgement::Reason::TaggedSymbol
16715
+ )
16716
+
16717
+ # The inbound FedNow transfer was for the wrong amount. Corresponds to the FedNow reason code `AM09`.
16718
+ WRONG_AMOUNT =
16719
+ T.let(
16720
+ :wrong_amount,
16721
+ Increase::Transaction::Source::InboundFednowTransferReturnAcknowledgement::Reason::TaggedSymbol
16722
+ )
16723
+
16724
+ # The recipient of the inbound FedNow transfer was not owed the funds. Corresponds to the FedNow reason code `UPAY`.
16725
+ UNDUE_PAYMENT =
16726
+ T.let(
16727
+ :undue_payment,
16728
+ Increase::Transaction::Source::InboundFednowTransferReturnAcknowledgement::Reason::TaggedSymbol
16729
+ )
16730
+
16731
+ # The inbound FedNow transfer was determined to be fraudulent. Corresponds to the FedNow reason code `FR01`, and reports the fraud to the Federal Reserve and the sending bank.
16732
+ FRAUD =
16733
+ T.let(
16734
+ :fraud,
16735
+ Increase::Transaction::Source::InboundFednowTransferReturnAcknowledgement::Reason::TaggedSymbol
16736
+ )
16737
+
16738
+ sig do
16739
+ override.returns(
16740
+ T::Array[
16741
+ Increase::Transaction::Source::InboundFednowTransferReturnAcknowledgement::Reason::TaggedSymbol
16742
+ ]
16743
+ )
16744
+ end
16745
+ def self.values
16746
+ end
16747
+ end
16748
+ end
16749
+
16571
16750
  class InboundRealTimePaymentsTransferConfirmation < Increase::Internal::Type::BaseModel
16572
16751
  OrHash =
16573
16752
  T.type_alias do
@@ -338,6 +338,13 @@ module Increase
338
338
  Increase::TransactionListParams::Category::In::TaggedSymbol
339
339
  )
340
340
 
341
+ # Inbound FedNow Transfer Return Acknowledgement: details will be under the `inbound_fednow_transfer_return_acknowledgement` object.
342
+ INBOUND_FEDNOW_TRANSFER_RETURN_ACKNOWLEDGEMENT =
343
+ T.let(
344
+ :inbound_fednow_transfer_return_acknowledgement,
345
+ Increase::TransactionListParams::Category::In::TaggedSymbol
346
+ )
347
+
341
348
  # Inbound Real-Time Payments Transfer Confirmation: details will be under the `inbound_real_time_payments_transfer_confirmation` object.
342
349
  INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CONFIRMATION =
343
350
  T.let(
@@ -31,7 +31,11 @@ module Increase
31
31
  # The type of Export to create.
32
32
  category:,
33
33
  # Options for the created export. Required if `category` is equal to
34
- # `account_statement_bai2`.
34
+ # `account_statement_bai2`. Each as-of date from `on_or_after_date` through
35
+ # `on_or_before_date` gets its own BAI2 group (`02` record) in the file. If a
36
+ # group's as-of date is before the UTC date the Export was created, it has
37
+ # end-of-day balances. If it's the UTC date the Export was created, it has
38
+ # intraday balances as of the time the Export was created.
35
39
  account_statement_bai2: nil,
36
40
  # Options for the created export. Required if `category` is equal to
37
41
  # `account_statement_ofx`.
@@ -20,7 +20,7 @@ module Increase
20
20
  amount: nil,
21
21
  # The identifier of the Pending Transaction for the refund or original credit
22
22
  # authorization. If this is provided, `transaction` must not be provided as a
23
- # refund with a refund authorized can not be linked to a regular transaction.
23
+ # refund with a refund authorization can not be linked to a regular transaction.
24
24
  pending_transaction_id: nil,
25
25
  # The identifier for the Transaction to refund. The Transaction's source must have
26
26
  # a category of card_settlement.
@@ -1815,6 +1815,7 @@ module Increase
1815
1815
  | :visa_atm_cash_withdrawal_international
1816
1816
  | :visa_atm_cash_deposit_domestic
1817
1817
  | :pulse_switch_fee
1818
+ | :pulse_switch_fee_credit
1818
1819
  | :pulse_tokenization_fee
1819
1820
 
1820
1821
  module FeeType
@@ -1916,6 +1917,9 @@ module Increase
1916
1917
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
1917
1918
  PULSE_SWITCH_FEE: :pulse_switch_fee
1918
1919
 
1920
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
1921
+ PULSE_SWITCH_FEE_CREDIT: :pulse_switch_fee_credit
1922
+
1919
1923
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
1920
1924
  PULSE_TOKENIZATION_FEE: :pulse_tokenization_fee
1921
1925
 
@@ -2848,6 +2852,7 @@ module Increase
2848
2852
  | :visa_atm_cash_withdrawal_international
2849
2853
  | :visa_atm_cash_deposit_domestic
2850
2854
  | :pulse_switch_fee
2855
+ | :pulse_switch_fee_credit
2851
2856
  | :pulse_tokenization_fee
2852
2857
 
2853
2858
  module FeeType
@@ -2949,6 +2954,9 @@ module Increase
2949
2954
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
2950
2955
  PULSE_SWITCH_FEE: :pulse_switch_fee
2951
2956
 
2957
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
2958
+ PULSE_SWITCH_FEE_CREDIT: :pulse_switch_fee_credit
2959
+
2952
2960
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
2953
2961
  PULSE_TOKENIZATION_FEE: :pulse_tokenization_fee
2954
2962
 
@@ -4055,6 +4063,7 @@ module Increase
4055
4063
  | :visa_atm_cash_withdrawal_international
4056
4064
  | :visa_atm_cash_deposit_domestic
4057
4065
  | :pulse_switch_fee
4066
+ | :pulse_switch_fee_credit
4058
4067
  | :pulse_tokenization_fee
4059
4068
 
4060
4069
  module FeeType
@@ -4156,6 +4165,9 @@ module Increase
4156
4165
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
4157
4166
  PULSE_SWITCH_FEE: :pulse_switch_fee
4158
4167
 
4168
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
4169
+ PULSE_SWITCH_FEE_CREDIT: :pulse_switch_fee_credit
4170
+
4159
4171
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
4160
4172
  PULSE_TOKENIZATION_FEE: :pulse_tokenization_fee
4161
4173
 
@@ -5114,6 +5126,7 @@ module Increase
5114
5126
  | :visa_atm_cash_withdrawal_international
5115
5127
  | :visa_atm_cash_deposit_domestic
5116
5128
  | :pulse_switch_fee
5129
+ | :pulse_switch_fee_credit
5117
5130
  | :pulse_tokenization_fee
5118
5131
 
5119
5132
  module FeeType
@@ -5215,6 +5228,9 @@ module Increase
5215
5228
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
5216
5229
  PULSE_SWITCH_FEE: :pulse_switch_fee
5217
5230
 
5231
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
5232
+ PULSE_SWITCH_FEE_CREDIT: :pulse_switch_fee_credit
5233
+
5218
5234
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
5219
5235
  PULSE_TOKENIZATION_FEE: :pulse_tokenization_fee
5220
5236
 
@@ -5588,6 +5604,7 @@ module Increase
5588
5604
  | :visa_atm_cash_withdrawal_international
5589
5605
  | :visa_atm_cash_deposit_domestic
5590
5606
  | :pulse_switch_fee
5607
+ | :pulse_switch_fee_credit
5591
5608
  | :pulse_tokenization_fee
5592
5609
 
5593
5610
  module FeeType
@@ -5689,6 +5706,9 @@ module Increase
5689
5706
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
5690
5707
  PULSE_SWITCH_FEE: :pulse_switch_fee
5691
5708
 
5709
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
5710
+ PULSE_SWITCH_FEE_CREDIT: :pulse_switch_fee_credit
5711
+
5692
5712
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
5693
5713
  PULSE_TOKENIZATION_FEE: :pulse_tokenization_fee
5694
5714
 
@@ -6139,6 +6159,7 @@ module Increase
6139
6159
  | :visa_atm_cash_withdrawal_international
6140
6160
  | :visa_atm_cash_deposit_domestic
6141
6161
  | :pulse_switch_fee
6162
+ | :pulse_switch_fee_credit
6142
6163
  | :pulse_tokenization_fee
6143
6164
 
6144
6165
  module FeeType
@@ -6240,6 +6261,9 @@ module Increase
6240
6261
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
6241
6262
  PULSE_SWITCH_FEE: :pulse_switch_fee
6242
6263
 
6264
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
6265
+ PULSE_SWITCH_FEE_CREDIT: :pulse_switch_fee_credit
6266
+
6243
6267
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
6244
6268
  PULSE_TOKENIZATION_FEE: :pulse_tokenization_fee
6245
6269
 
@@ -8067,6 +8091,7 @@ module Increase
8067
8091
  | :visa_atm_cash_withdrawal_international
8068
8092
  | :visa_atm_cash_deposit_domestic
8069
8093
  | :pulse_switch_fee
8094
+ | :pulse_switch_fee_credit
8070
8095
  | :pulse_tokenization_fee
8071
8096
 
8072
8097
  module FeeType
@@ -8168,6 +8193,9 @@ module Increase
8168
8193
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
8169
8194
  PULSE_SWITCH_FEE: :pulse_switch_fee
8170
8195
 
8196
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
8197
+ PULSE_SWITCH_FEE_CREDIT: :pulse_switch_fee_credit
8198
+
8171
8199
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
8172
8200
  PULSE_TOKENIZATION_FEE: :pulse_tokenization_fee
8173
8201
 
@@ -8473,6 +8501,7 @@ module Increase
8473
8501
  | :visa_atm_cash_withdrawal_international
8474
8502
  | :visa_atm_cash_deposit_domestic
8475
8503
  | :pulse_switch_fee
8504
+ | :pulse_switch_fee_credit
8476
8505
  | :pulse_tokenization_fee
8477
8506
 
8478
8507
  module FeeType
@@ -8574,6 +8603,9 @@ module Increase
8574
8603
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
8575
8604
  PULSE_SWITCH_FEE: :pulse_switch_fee
8576
8605
 
8606
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
8607
+ PULSE_SWITCH_FEE_CREDIT: :pulse_switch_fee_credit
8608
+
8577
8609
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
8578
8610
  PULSE_TOKENIZATION_FEE: :pulse_tokenization_fee
8579
8611
 
@@ -10416,6 +10448,7 @@ module Increase
10416
10448
  | :visa_atm_cash_withdrawal_international
10417
10449
  | :visa_atm_cash_deposit_domestic
10418
10450
  | :pulse_switch_fee
10451
+ | :pulse_switch_fee_credit
10419
10452
  | :pulse_tokenization_fee
10420
10453
 
10421
10454
  module FeeType
@@ -10517,6 +10550,9 @@ module Increase
10517
10550
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
10518
10551
  PULSE_SWITCH_FEE: :pulse_switch_fee
10519
10552
 
10553
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
10554
+ PULSE_SWITCH_FEE_CREDIT: :pulse_switch_fee_credit
10555
+
10520
10556
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
10521
10557
  PULSE_TOKENIZATION_FEE: :pulse_tokenization_fee
10522
10558
 
@@ -11247,6 +11283,7 @@ module Increase
11247
11283
  | :visa_atm_cash_withdrawal_international
11248
11284
  | :visa_atm_cash_deposit_domestic
11249
11285
  | :pulse_switch_fee
11286
+ | :pulse_switch_fee_credit
11250
11287
  | :pulse_tokenization_fee
11251
11288
 
11252
11289
  module FeeType
@@ -11348,6 +11385,9 @@ module Increase
11348
11385
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
11349
11386
  PULSE_SWITCH_FEE: :pulse_switch_fee
11350
11387
 
11388
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
11389
+ PULSE_SWITCH_FEE_CREDIT: :pulse_switch_fee_credit
11390
+
11351
11391
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
11352
11392
  PULSE_TOKENIZATION_FEE: :pulse_tokenization_fee
11353
11393
 
@@ -1274,6 +1274,7 @@ module Increase
1274
1274
  | :visa_atm_cash_withdrawal_international
1275
1275
  | :visa_atm_cash_deposit_domestic
1276
1276
  | :pulse_switch_fee
1277
+ | :pulse_switch_fee_credit
1277
1278
  | :pulse_tokenization_fee
1278
1279
 
1279
1280
  module FeeType
@@ -1375,6 +1376,9 @@ module Increase
1375
1376
  # Pulse Switch Fee is a fee charged by the Pulse network for processing transactions on its network.
1376
1377
  PULSE_SWITCH_FEE: :pulse_switch_fee
1377
1378
 
1379
+ # Pulse Switch Fee Credit is a credit of the Pulse Switch Fee charged for an authorization that was subsequently reversed in full.
1380
+ PULSE_SWITCH_FEE_CREDIT: :pulse_switch_fee_credit
1381
+
1378
1382
  # Pulse Tokenization Fee is a fee charged by the Pulse network for processing tokenized transactions on its network.
1379
1383
  PULSE_TOKENIZATION_FEE: :pulse_tokenization_fee
1380
1384
 
@@ -122,24 +122,33 @@ module Increase
122
122
  }
123
123
 
124
124
  type account_statement_bai2 =
125
- { account_id: String?, effective_date: Date?, program_id: String? }
125
+ {
126
+ account_id: String?,
127
+ on_or_after_date: Date?,
128
+ on_or_before_date: Date?,
129
+ program_id: String?
130
+ }
126
131
 
127
132
  class AccountStatementBai2 < Increase::Internal::Type::BaseModel
128
133
  attr_accessor account_id: String?
129
134
 
130
- attr_accessor effective_date: Date?
135
+ attr_accessor on_or_after_date: Date?
136
+
137
+ attr_accessor on_or_before_date: Date?
131
138
 
132
139
  attr_accessor program_id: String?
133
140
 
134
141
  def initialize: (
135
142
  account_id: String?,
136
- effective_date: Date?,
143
+ on_or_after_date: Date?,
144
+ on_or_before_date: Date?,
137
145
  program_id: String?
138
146
  ) -> void
139
147
 
140
148
  def to_hash: -> {
141
149
  account_id: String?,
142
- effective_date: Date?,
150
+ on_or_after_date: Date?,
151
+ on_or_before_date: Date?,
143
152
  program_id: String?
144
153
  }
145
154
  end
@@ -178,16 +178,25 @@ module Increase
178
178
  end
179
179
 
180
180
  type account_statement_bai2 =
181
- { account_id: String, effective_date: Date, program_id: String }
181
+ {
182
+ account_id: String,
183
+ on_or_after_date: Date,
184
+ on_or_before_date: Date,
185
+ program_id: String
186
+ }
182
187
 
183
188
  class AccountStatementBai2 < Increase::Internal::Type::BaseModel
184
189
  attr_reader account_id: String?
185
190
 
186
191
  def account_id=: (String) -> String
187
192
 
188
- attr_reader effective_date: Date?
193
+ attr_reader on_or_after_date: Date?
189
194
 
190
- def effective_date=: (Date) -> Date
195
+ def on_or_after_date=: (Date) -> Date
196
+
197
+ attr_reader on_or_before_date: Date?
198
+
199
+ def on_or_before_date=: (Date) -> Date
191
200
 
192
201
  attr_reader program_id: String?
193
202
 
@@ -195,13 +204,15 @@ module Increase
195
204
 
196
205
  def initialize: (
197
206
  ?account_id: String,
198
- ?effective_date: Date,
207
+ ?on_or_after_date: Date,
208
+ ?on_or_before_date: Date,
199
209
  ?program_id: String
200
210
  ) -> void
201
211
 
202
212
  def to_hash: -> {
203
213
  account_id: String,
204
- effective_date: Date,
214
+ on_or_after_date: Date,
215
+ on_or_before_date: Date,
205
216
  program_id: String
206
217
  }
207
218
  end
@@ -195,6 +195,7 @@ module Increase
195
195
  | :timed_out
196
196
  | :confirmed
197
197
  | :declined
198
+ | :returned
198
199
  | :requires_attention
199
200
 
200
201
  module Status
@@ -212,6 +213,9 @@ module Increase
212
213
  # The transfer has been declined.
213
214
  DECLINED: :declined
214
215
 
216
+ # The transfer has been returned, in full or in part, to its sender.
217
+ RETURNED: :returned
218
+
215
219
  # The transfer requires attention from an Increase operator.
216
220
  REQUIRES_ATTENTION: :requires_attention
217
221