increase 1.116.0 → 1.117.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +1 -1
- data/lib/increase/models/simulations/card_authorization_create_params.rb +23 -1
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/simulations/card_authorization_create_params.rbi +58 -3
- data/sig/increase/models/simulations/card_authorization_create_params.rbs +24 -3
- metadata +1 -1
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 2460d246510dd0642116a1f2d7798ff56f79db51ba02025c4c880566b1d72e36
         | 
| 4 | 
            +
              data.tar.gz: 6f853ae363dd24637d3649ea6eea59efea2e4dbbab74c6dc9bdf9c9789c24307
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 9a1290e7246f0322efffaac21fa0621f4faf855728845446b390202ae775056413feaf943099b675bb6d34f468fe7a08d7aae844deb8effa56d24bfee8528e86
         | 
| 7 | 
            +
              data.tar.gz: 7213ccd002501d1a02d04ab5d16d37caf9356d8b9cf32738fd6f33b054ee1ccb08e70650d584a186addc4adc3658ad370c9fed8f07129267e9328241fb28e34d
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,5 +1,13 @@ | |
| 1 1 | 
             
            # Changelog
         | 
| 2 2 |  | 
| 3 | 
            +
            ## 1.117.0 (2025-10-27)
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            Full Changelog: [v1.116.0...v1.117.0](https://github.com/Increase/increase-ruby/compare/v1.116.0...v1.117.0)
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            ### Features
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            * **api:** api update ([fbcaddc](https://github.com/Increase/increase-ruby/commit/fbcaddc862376c22a713461f6babcc01cd1753d1))
         | 
| 10 | 
            +
             | 
| 3 11 | 
             
            ## 1.116.0 (2025-10-27)
         | 
| 4 12 |  | 
| 5 13 | 
             
            Full Changelog: [v1.115.0...v1.116.0](https://github.com/Increase/increase-ruby/compare/v1.115.0...v1.116.0)
         | 
    
        data/README.md
    CHANGED
    
    
| @@ -300,7 +300,13 @@ module Increase | |
| 300 300 | 
             
                      required :category,
         | 
| 301 301 | 
             
                               enum: -> { Increase::Simulations::CardAuthorizationCreateParams::ProcessingCategory::Category }
         | 
| 302 302 |  | 
| 303 | 
            -
                      # @! | 
| 303 | 
            +
                      # @!attribute refund
         | 
| 304 | 
            +
                      #   Details related to refund authorizations.
         | 
| 305 | 
            +
                      #
         | 
| 306 | 
            +
                      #   @return [Increase::Models::Simulations::CardAuthorizationCreateParams::ProcessingCategory::Refund, nil]
         | 
| 307 | 
            +
                      optional :refund, -> { Increase::Simulations::CardAuthorizationCreateParams::ProcessingCategory::Refund }
         | 
| 308 | 
            +
             | 
| 309 | 
            +
                      # @!method initialize(category:, refund: nil)
         | 
| 304 310 | 
             
                      #   Some parameter documentations has been truncated, see
         | 
| 305 311 | 
             
                      #   {Increase::Models::Simulations::CardAuthorizationCreateParams::ProcessingCategory}
         | 
| 306 312 | 
             
                      #   for more details.
         | 
| @@ -309,6 +315,8 @@ module Increase | |
| 309 315 | 
             
                      #   Dispensers, Refund Authorizations, or Cash Disbursements.
         | 
| 310 316 | 
             
                      #
         | 
| 311 317 | 
             
                      #   @param category [Symbol, Increase::Models::Simulations::CardAuthorizationCreateParams::ProcessingCategory::Category] The processing category describes the intent behind the authorization, such as w
         | 
| 318 | 
            +
                      #
         | 
| 319 | 
            +
                      #   @param refund [Increase::Models::Simulations::CardAuthorizationCreateParams::ProcessingCategory::Refund] Details related to refund authorizations.
         | 
| 312 320 |  | 
| 313 321 | 
             
                      # The processing category describes the intent behind the authorization, such as
         | 
| 314 322 | 
             
                      # whether it was used for bill payments or an automatic fuel dispenser.
         | 
| @@ -344,6 +352,20 @@ module Increase | |
| 344 352 | 
             
                        # @!method self.values
         | 
| 345 353 | 
             
                        #   @return [Array<Symbol>]
         | 
| 346 354 | 
             
                      end
         | 
| 355 | 
            +
             | 
| 356 | 
            +
                      # @see Increase::Models::Simulations::CardAuthorizationCreateParams::ProcessingCategory#refund
         | 
| 357 | 
            +
                      class Refund < Increase::Internal::Type::BaseModel
         | 
| 358 | 
            +
                        # @!attribute original_card_payment_id
         | 
| 359 | 
            +
                        #   The card payment to link this refund to.
         | 
| 360 | 
            +
                        #
         | 
| 361 | 
            +
                        #   @return [String, nil]
         | 
| 362 | 
            +
                        optional :original_card_payment_id, String
         | 
| 363 | 
            +
             | 
| 364 | 
            +
                        # @!method initialize(original_card_payment_id: nil)
         | 
| 365 | 
            +
                        #   Details related to refund authorizations.
         | 
| 366 | 
            +
                        #
         | 
| 367 | 
            +
                        #   @param original_card_payment_id [String] The card payment to link this refund to.
         | 
| 368 | 
            +
                      end
         | 
| 347 369 | 
             
                    end
         | 
| 348 370 | 
             
                  end
         | 
| 349 371 | 
             
                end
         | 
    
        data/lib/increase/version.rb
    CHANGED
    
    
| @@ -636,18 +636,40 @@ module Increase | |
| 636 636 | 
             
                      end
         | 
| 637 637 | 
             
                      attr_accessor :category
         | 
| 638 638 |  | 
| 639 | 
            +
                      # Details related to refund authorizations.
         | 
| 640 | 
            +
                      sig do
         | 
| 641 | 
            +
                        returns(
         | 
| 642 | 
            +
                          T.nilable(
         | 
| 643 | 
            +
                            Increase::Simulations::CardAuthorizationCreateParams::ProcessingCategory::Refund
         | 
| 644 | 
            +
                          )
         | 
| 645 | 
            +
                        )
         | 
| 646 | 
            +
                      end
         | 
| 647 | 
            +
                      attr_reader :refund
         | 
| 648 | 
            +
             | 
| 649 | 
            +
                      sig do
         | 
| 650 | 
            +
                        params(
         | 
| 651 | 
            +
                          refund:
         | 
| 652 | 
            +
                            Increase::Simulations::CardAuthorizationCreateParams::ProcessingCategory::Refund::OrHash
         | 
| 653 | 
            +
                        ).void
         | 
| 654 | 
            +
                      end
         | 
| 655 | 
            +
                      attr_writer :refund
         | 
| 656 | 
            +
             | 
| 639 657 | 
             
                      # Fields specific to a specific type of authorization, such as Automatic Fuel
         | 
| 640 658 | 
             
                      # Dispensers, Refund Authorizations, or Cash Disbursements.
         | 
| 641 659 | 
             
                      sig do
         | 
| 642 660 | 
             
                        params(
         | 
| 643 661 | 
             
                          category:
         | 
| 644 | 
            -
                            Increase::Simulations::CardAuthorizationCreateParams::ProcessingCategory::Category::OrSymbol
         | 
| 662 | 
            +
                            Increase::Simulations::CardAuthorizationCreateParams::ProcessingCategory::Category::OrSymbol,
         | 
| 663 | 
            +
                          refund:
         | 
| 664 | 
            +
                            Increase::Simulations::CardAuthorizationCreateParams::ProcessingCategory::Refund::OrHash
         | 
| 645 665 | 
             
                        ).returns(T.attached_class)
         | 
| 646 666 | 
             
                      end
         | 
| 647 667 | 
             
                      def self.new(
         | 
| 648 668 | 
             
                        # The processing category describes the intent behind the authorization, such as
         | 
| 649 669 | 
             
                        # whether it was used for bill payments or an automatic fuel dispenser.
         | 
| 650 | 
            -
                        category | 
| 670 | 
            +
                        category:,
         | 
| 671 | 
            +
                        # Details related to refund authorizations.
         | 
| 672 | 
            +
                        refund: nil
         | 
| 651 673 | 
             
                      )
         | 
| 652 674 | 
             
                      end
         | 
| 653 675 |  | 
| @@ -655,7 +677,9 @@ module Increase | |
| 655 677 | 
             
                        override.returns(
         | 
| 656 678 | 
             
                          {
         | 
| 657 679 | 
             
                            category:
         | 
| 658 | 
            -
                              Increase::Simulations::CardAuthorizationCreateParams::ProcessingCategory::Category::OrSymbol
         | 
| 680 | 
            +
                              Increase::Simulations::CardAuthorizationCreateParams::ProcessingCategory::Category::OrSymbol,
         | 
| 681 | 
            +
                            refund:
         | 
| 682 | 
            +
                              Increase::Simulations::CardAuthorizationCreateParams::ProcessingCategory::Refund
         | 
| 659 683 | 
             
                          }
         | 
| 660 684 | 
             
                        )
         | 
| 661 685 | 
             
                      end
         | 
| @@ -742,6 +766,37 @@ module Increase | |
| 742 766 | 
             
                        def self.values
         | 
| 743 767 | 
             
                        end
         | 
| 744 768 | 
             
                      end
         | 
| 769 | 
            +
             | 
| 770 | 
            +
                      class Refund < Increase::Internal::Type::BaseModel
         | 
| 771 | 
            +
                        OrHash =
         | 
| 772 | 
            +
                          T.type_alias do
         | 
| 773 | 
            +
                            T.any(
         | 
| 774 | 
            +
                              Increase::Simulations::CardAuthorizationCreateParams::ProcessingCategory::Refund,
         | 
| 775 | 
            +
                              Increase::Internal::AnyHash
         | 
| 776 | 
            +
                            )
         | 
| 777 | 
            +
                          end
         | 
| 778 | 
            +
             | 
| 779 | 
            +
                        # The card payment to link this refund to.
         | 
| 780 | 
            +
                        sig { returns(T.nilable(String)) }
         | 
| 781 | 
            +
                        attr_reader :original_card_payment_id
         | 
| 782 | 
            +
             | 
| 783 | 
            +
                        sig { params(original_card_payment_id: String).void }
         | 
| 784 | 
            +
                        attr_writer :original_card_payment_id
         | 
| 785 | 
            +
             | 
| 786 | 
            +
                        # Details related to refund authorizations.
         | 
| 787 | 
            +
                        sig do
         | 
| 788 | 
            +
                          params(original_card_payment_id: String).returns(T.attached_class)
         | 
| 789 | 
            +
                        end
         | 
| 790 | 
            +
                        def self.new(
         | 
| 791 | 
            +
                          # The card payment to link this refund to.
         | 
| 792 | 
            +
                          original_card_payment_id: nil
         | 
| 793 | 
            +
                        )
         | 
| 794 | 
            +
                        end
         | 
| 795 | 
            +
             | 
| 796 | 
            +
                        sig { override.returns({ original_card_payment_id: String }) }
         | 
| 797 | 
            +
                        def to_hash
         | 
| 798 | 
            +
                        end
         | 
| 799 | 
            +
                      end
         | 
| 745 800 | 
             
                    end
         | 
| 746 801 | 
             
                  end
         | 
| 747 802 | 
             
                end
         | 
| @@ -305,18 +305,27 @@ module Increase | |
| 305 305 |  | 
| 306 306 | 
             
                    type processing_category =
         | 
| 307 307 | 
             
                      {
         | 
| 308 | 
            -
                        category: Increase::Models::Simulations::CardAuthorizationCreateParams::ProcessingCategory::category
         | 
| 308 | 
            +
                        category: Increase::Models::Simulations::CardAuthorizationCreateParams::ProcessingCategory::category,
         | 
| 309 | 
            +
                        refund: Increase::Simulations::CardAuthorizationCreateParams::ProcessingCategory::Refund
         | 
| 309 310 | 
             
                      }
         | 
| 310 311 |  | 
| 311 312 | 
             
                    class ProcessingCategory < Increase::Internal::Type::BaseModel
         | 
| 312 313 | 
             
                      attr_accessor category: Increase::Models::Simulations::CardAuthorizationCreateParams::ProcessingCategory::category
         | 
| 313 314 |  | 
| 315 | 
            +
                      attr_reader refund: Increase::Simulations::CardAuthorizationCreateParams::ProcessingCategory::Refund?
         | 
| 316 | 
            +
             | 
| 317 | 
            +
                      def refund=: (
         | 
| 318 | 
            +
                        Increase::Simulations::CardAuthorizationCreateParams::ProcessingCategory::Refund
         | 
| 319 | 
            +
                      ) -> Increase::Simulations::CardAuthorizationCreateParams::ProcessingCategory::Refund
         | 
| 320 | 
            +
             | 
| 314 321 | 
             
                      def initialize: (
         | 
| 315 | 
            -
                        category: Increase::Models::Simulations::CardAuthorizationCreateParams::ProcessingCategory::category
         | 
| 322 | 
            +
                        category: Increase::Models::Simulations::CardAuthorizationCreateParams::ProcessingCategory::category,
         | 
| 323 | 
            +
                        ?refund: Increase::Simulations::CardAuthorizationCreateParams::ProcessingCategory::Refund
         | 
| 316 324 | 
             
                      ) -> void
         | 
| 317 325 |  | 
| 318 326 | 
             
                      def to_hash: -> {
         | 
| 319 | 
            -
                        category: Increase::Models::Simulations::CardAuthorizationCreateParams::ProcessingCategory::category
         | 
| 327 | 
            +
                        category: Increase::Models::Simulations::CardAuthorizationCreateParams::ProcessingCategory::category,
         | 
| 328 | 
            +
                        refund: Increase::Simulations::CardAuthorizationCreateParams::ProcessingCategory::Refund
         | 
| 320 329 | 
             
                      }
         | 
| 321 330 |  | 
| 322 331 | 
             
                      type category =
         | 
| @@ -358,6 +367,18 @@ module Increase | |
| 358 367 |  | 
| 359 368 | 
             
                        def self?.values: -> ::Array[Increase::Models::Simulations::CardAuthorizationCreateParams::ProcessingCategory::category]
         | 
| 360 369 | 
             
                      end
         | 
| 370 | 
            +
             | 
| 371 | 
            +
                      type refund = { original_card_payment_id: String }
         | 
| 372 | 
            +
             | 
| 373 | 
            +
                      class Refund < Increase::Internal::Type::BaseModel
         | 
| 374 | 
            +
                        attr_reader original_card_payment_id: String?
         | 
| 375 | 
            +
             | 
| 376 | 
            +
                        def original_card_payment_id=: (String) -> String
         | 
| 377 | 
            +
             | 
| 378 | 
            +
                        def initialize: (?original_card_payment_id: String) -> void
         | 
| 379 | 
            +
             | 
| 380 | 
            +
                        def to_hash: -> { original_card_payment_id: String }
         | 
| 381 | 
            +
                      end
         | 
| 361 382 | 
             
                    end
         | 
| 362 383 | 
             
                  end
         | 
| 363 384 | 
             
                end
         |