increase 1.127.0 → 1.128.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 (38) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/README.md +1 -1
  4. data/lib/increase/models/card_dispute.rb +311 -66
  5. data/lib/increase/models/card_dispute_create_params.rb +102 -30
  6. data/lib/increase/models/card_dispute_submit_user_submission_params.rb +104 -30
  7. data/lib/increase/models/card_payment.rb +60 -15
  8. data/lib/increase/models/declined_transaction.rb +21 -6
  9. data/lib/increase/models/export_create_params.rb +8 -3
  10. data/lib/increase/models/pending_transaction.rb +21 -6
  11. data/lib/increase/models/real_time_decision.rb +24 -6
  12. data/lib/increase/models/simulations/card_dispute_action_params.rb +97 -27
  13. data/lib/increase/models/transaction.rb +23 -6
  14. data/lib/increase/resources/exports.rb +1 -1
  15. data/lib/increase/version.rb +1 -1
  16. data/rbi/increase/models/card_dispute.rbi +1038 -88
  17. data/rbi/increase/models/card_dispute_create_params.rbi +364 -40
  18. data/rbi/increase/models/card_dispute_submit_user_submission_params.rbi +364 -40
  19. data/rbi/increase/models/card_payment.rbi +211 -20
  20. data/rbi/increase/models/declined_transaction.rbi +78 -8
  21. data/rbi/increase/models/export_create_params.rbi +25 -4
  22. data/rbi/increase/models/pending_transaction.rbi +78 -8
  23. data/rbi/increase/models/real_time_decision.rbi +90 -8
  24. data/rbi/increase/models/simulations/card_dispute_action_params.rbi +333 -36
  25. data/rbi/increase/models/transaction.rbi +76 -8
  26. data/rbi/increase/resources/exports.rbi +1 -1
  27. data/sig/increase/models/card_dispute.rbs +264 -88
  28. data/sig/increase/models/card_dispute_create_params.rbs +150 -50
  29. data/sig/increase/models/card_dispute_submit_user_submission_params.rbs +150 -50
  30. data/sig/increase/models/card_payment.rbs +60 -20
  31. data/sig/increase/models/declined_transaction.rbs +24 -8
  32. data/sig/increase/models/export_create_params.rbs +15 -5
  33. data/sig/increase/models/pending_transaction.rbs +24 -8
  34. data/sig/increase/models/real_time_decision.rbs +24 -8
  35. data/sig/increase/models/simulations/card_dispute_action_params.rbs +135 -45
  36. data/sig/increase/models/transaction.rbs +24 -8
  37. data/sig/increase/resources/exports.rbs +1 -1
  38. metadata +1 -1
@@ -485,8 +485,8 @@ module Increase
485
485
  # If the category of this Transaction source is equal to `other`, this field will
486
486
  # contain an empty object, otherwise it will contain null.
487
487
  #
488
- # @return [Object, nil]
489
- required :other, Increase::Internal::Type::Unknown, nil?: true
488
+ # @return [Increase::Models::Transaction::Source::Other, nil]
489
+ required :other, -> { Increase::Transaction::Source::Other }, nil?: true
490
490
 
491
491
  # @!attribute real_time_payments_transfer_acknowledgement
492
492
  # A Real-Time Payments Transfer Acknowledgement object. This field will be present
@@ -609,7 +609,7 @@ module Increase
609
609
  #
610
610
  # @param internal_source [Increase::Models::Transaction::Source::InternalSource, nil] An Internal Source object. This field will be present in the JSON response if an
611
611
  #
612
- # @param other [Object, nil] If the category of this Transaction source is equal to `other`, this field will
612
+ # @param other [Increase::Models::Transaction::Source::Other, nil] If the category of this Transaction source is equal to `other`, this field will
613
613
  #
614
614
  # @param real_time_payments_transfer_acknowledgement [Increase::Models::Transaction::Source::RealTimePaymentsTransferAcknowledgement, nil] A Real-Time Payments Transfer Acknowledgement object. This field will be present
615
615
  #
@@ -2008,8 +2008,12 @@ module Increase
2008
2008
  # @!attribute pulse
2009
2009
  # Fields specific to the `pulse` network.
2010
2010
  #
2011
- # @return [Object, nil]
2012
- required :pulse, Increase::Internal::Type::Unknown, nil?: true
2011
+ # @return [Increase::Models::Transaction::Source::CardFinancial::NetworkDetails::Pulse, nil]
2012
+ required :pulse,
2013
+ -> {
2014
+ Increase::Transaction::Source::CardFinancial::NetworkDetails::Pulse
2015
+ },
2016
+ nil?: true
2013
2017
 
2014
2018
  # @!attribute visa
2015
2019
  # Fields specific to the `visa` network.
@@ -2026,7 +2030,7 @@ module Increase
2026
2030
  #
2027
2031
  # @param category [Symbol, Increase::Models::Transaction::Source::CardFinancial::NetworkDetails::Category] The payment network used to process this card authorization.
2028
2032
  #
2029
- # @param pulse [Object, nil] Fields specific to the `pulse` network.
2033
+ # @param pulse [Increase::Models::Transaction::Source::CardFinancial::NetworkDetails::Pulse, nil] Fields specific to the `pulse` network.
2030
2034
  #
2031
2035
  # @param visa [Increase::Models::Transaction::Source::CardFinancial::NetworkDetails::Visa, nil] Fields specific to the `visa` network.
2032
2036
 
@@ -2046,6 +2050,12 @@ module Increase
2046
2050
  # @return [Array<Symbol>]
2047
2051
  end
2048
2052
 
2053
+ # @see Increase::Models::Transaction::Source::CardFinancial::NetworkDetails#pulse
2054
+ class Pulse < Increase::Internal::Type::BaseModel
2055
+ # @!method initialize
2056
+ # Fields specific to the `pulse` network.
2057
+ end
2058
+
2049
2059
  # @see Increase::Models::Transaction::Source::CardFinancial::NetworkDetails#visa
2050
2060
  class Visa < Increase::Internal::Type::BaseModel
2051
2061
  # @!attribute electronic_commerce_indicator
@@ -6957,6 +6967,13 @@ module Increase
6957
6967
  end
6958
6968
  end
6959
6969
 
6970
+ # @see Increase::Models::Transaction::Source#other
6971
+ class Other < Increase::Internal::Type::BaseModel
6972
+ # @!method initialize
6973
+ # If the category of this Transaction source is equal to `other`, this field will
6974
+ # contain an empty object, otherwise it will contain null.
6975
+ end
6976
+
6960
6977
  # @see Increase::Models::Transaction::Source#real_time_payments_transfer_acknowledgement
6961
6978
  class RealTimePaymentsTransferAcknowledgement < Increase::Internal::Type::BaseModel
6962
6979
  # @!attribute amount
@@ -26,7 +26,7 @@ module Increase
26
26
  # @param transaction_csv [Increase::Models::ExportCreateParams::TransactionCsv] Options for the created export. Required if `category` is equal to
27
27
  # `transaction\_
28
28
  #
29
- # @param vendor_csv [Object] Options for the created export. Required if `category` is equal to `vendor_csv`.
29
+ # @param vendor_csv [Increase::Models::ExportCreateParams::VendorCsv] Options for the created export. Required if `category` is equal to `vendor_csv`.
30
30
  #
31
31
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
32
32
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.127.0"
4
+ VERSION = "1.128.0"
5
5
  end