stripe 12.7.0.pre.beta.1 → 12.7.0.pre.beta.2
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 +11 -0
- data/OPENAPI_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/object_types.rb +0 -1
- data/lib/stripe/resources/invoice_rendering_template.rb +2 -0
- data/lib/stripe/resources.rb +0 -1
- data/lib/stripe/version.rb +1 -1
- metadata +2 -3
- data/lib/stripe/resources/quote_phase.rb +0 -32
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: baccff36bc3c05653ea6db905dbb388ab87127e4bf722930051e170ebe38b8e3
         | 
| 4 | 
            +
              data.tar.gz: 1a6e9187f2e9283d35313223dbf71c54637445af5153d26532bb8cc2b547e52b
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 7f1d75169b9c872a3bfa3bcc81e01e3b311e37a0cb458e237e5dee15f9ed7c268c2d211d8c2302371b3570965cdab0a69205bc2fa842eed29323987c6ca079ee
         | 
| 7 | 
            +
              data.tar.gz: fa91a27ac219a9236ee2fa7443ac467b7e82640ea55fa90ad63ba9f8d965accf007aef216e1d2025e06176d109284e623c0f9889ede83ced264bef494c9df974
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,11 +1,22 @@ | |
| 1 1 | 
             
            # Changelog
         | 
| 2 2 |  | 
| 3 | 
            +
            ## 12.7.0-beta.2 - 2024-09-18
         | 
| 4 | 
            +
            * [#1449](https://github.com/stripe/stripe-ruby/pull/1449) Update generated code for beta
         | 
| 5 | 
            +
              * Remove support for resource `QuotePhase`
         | 
| 6 | 
            +
              * Remove support for `list_line_items` and `retrieve` methods on resource `QuotePhase`
         | 
| 7 | 
            +
             | 
| 3 8 | 
             
            ## 12.7.0-beta.1 - 2024-09-13
         | 
| 4 9 | 
             
            * [#1446](https://github.com/stripe/stripe-ruby/pull/1446) Update generated code for beta
         | 
| 5 10 | 
             
              * Add support for new resources `Issuing.DisputeSettlementDetail` and `Issuing.Settlement`
         | 
| 6 11 | 
             
              * Add support for `list` and `retrieve` methods on resource `DisputeSettlementDetail`
         | 
| 7 12 | 
             
              * Remove support for `list` method on resource `QuotePhase`
         | 
| 8 13 |  | 
| 14 | 
            +
            ## 12.6.0 - 2024-09-12
         | 
| 15 | 
            +
            * [#1442](https://github.com/stripe/stripe-ruby/pull/1442) Update generated code
         | 
| 16 | 
            +
              * Add support for new resource `InvoiceRenderingTemplate`
         | 
| 17 | 
            +
              * Add support for `archive`, `list`, `retrieve`, and `unarchive` methods on resource `InvoiceRenderingTemplate`
         | 
| 18 | 
            +
            * [#1443](https://github.com/stripe/stripe-ruby/pull/1443) Removed v1/files override
         | 
| 19 | 
            +
             | 
| 9 20 | 
             
            ## 12.6.0-beta.1 - 2024-09-05
         | 
| 10 21 | 
             
            * [#1441](https://github.com/stripe/stripe-ruby/pull/1441) Update generated code for beta
         | 
| 11 22 | 
             
              * Add support for new resources `Billing.MeterErrorReport` and `Terminal.ReaderCollectedData`
         | 
    
        data/OPENAPI_VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
             | 
| 1 | 
            +
            v1267
         | 
    
        data/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            12.7.0-beta. | 
| 1 | 
            +
            12.7.0-beta.2
         | 
    
        data/lib/stripe/api_version.rb
    CHANGED
    
    
    
        data/lib/stripe/object_types.rb
    CHANGED
    
    | @@ -107,7 +107,6 @@ module Stripe | |
| 107 107 | 
             
                    ProductFeature.object_name => ProductFeature,
         | 
| 108 108 | 
             
                    PromotionCode.object_name => PromotionCode,
         | 
| 109 109 | 
             
                    Quote.object_name => Quote,
         | 
| 110 | 
            -
                    QuotePhase.object_name => QuotePhase,
         | 
| 111 110 | 
             
                    QuotePreviewInvoice.object_name => QuotePreviewInvoice,
         | 
| 112 111 | 
             
                    QuotePreviewSubscriptionSchedule.object_name => QuotePreviewSubscriptionSchedule,
         | 
| 113 112 | 
             
                    Radar::EarlyFraudWarning.object_name => Radar::EarlyFraudWarning,
         | 
| @@ -2,6 +2,8 @@ | |
| 2 2 | 
             
            # frozen_string_literal: true
         | 
| 3 3 |  | 
| 4 4 | 
             
            module Stripe
         | 
| 5 | 
            +
              # Invoice Rendering Templates are used to configure how invoices are rendered on surfaces like the PDF. Invoice Rendering Templates
         | 
| 6 | 
            +
              # can be created from within the Dashboard, and they can be used over the API when creating invoices.
         | 
| 5 7 | 
             
              class InvoiceRenderingTemplate < APIResource
         | 
| 6 8 | 
             
                extend Stripe::APIOperations::List
         | 
| 7 9 |  | 
    
        data/lib/stripe/resources.rb
    CHANGED
    
    | @@ -94,7 +94,6 @@ require "stripe/resources/product" | |
| 94 94 | 
             
            require "stripe/resources/product_feature"
         | 
| 95 95 | 
             
            require "stripe/resources/promotion_code"
         | 
| 96 96 | 
             
            require "stripe/resources/quote"
         | 
| 97 | 
            -
            require "stripe/resources/quote_phase"
         | 
| 98 97 | 
             
            require "stripe/resources/quote_preview_invoice"
         | 
| 99 98 | 
             
            require "stripe/resources/quote_preview_subscription_schedule"
         | 
| 100 99 | 
             
            require "stripe/resources/radar/early_fraud_warning"
         | 
    
        data/lib/stripe/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | @@ -1,14 +1,14 @@ | |
| 1 1 | 
             
            --- !ruby/object:Gem::Specification
         | 
| 2 2 | 
             
            name: stripe
         | 
| 3 3 | 
             
            version: !ruby/object:Gem::Version
         | 
| 4 | 
            -
              version: 12.7.0.pre.beta. | 
| 4 | 
            +
              version: 12.7.0.pre.beta.2
         | 
| 5 5 | 
             
            platform: ruby
         | 
| 6 6 | 
             
            authors:
         | 
| 7 7 | 
             
            - Stripe
         | 
| 8 8 | 
             
            autorequire: 
         | 
| 9 9 | 
             
            bindir: exe
         | 
| 10 10 | 
             
            cert_chain: []
         | 
| 11 | 
            -
            date: 2024-09- | 
| 11 | 
            +
            date: 2024-09-18 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies: []
         | 
| 13 13 | 
             
            description: Stripe is the easiest way to accept payments online.  See https://stripe.com
         | 
| 14 14 | 
             
              for details.
         | 
| @@ -147,7 +147,6 @@ files: | |
| 147 147 | 
             
            - lib/stripe/resources/product_feature.rb
         | 
| 148 148 | 
             
            - lib/stripe/resources/promotion_code.rb
         | 
| 149 149 | 
             
            - lib/stripe/resources/quote.rb
         | 
| 150 | 
            -
            - lib/stripe/resources/quote_phase.rb
         | 
| 151 150 | 
             
            - lib/stripe/resources/quote_preview_invoice.rb
         | 
| 152 151 | 
             
            - lib/stripe/resources/quote_preview_subscription_schedule.rb
         | 
| 153 152 | 
             
            - lib/stripe/resources/radar/early_fraud_warning.rb
         | 
| @@ -1,32 +0,0 @@ | |
| 1 | 
            -
            # File generated from our OpenAPI spec
         | 
| 2 | 
            -
            # frozen_string_literal: true
         | 
| 3 | 
            -
             | 
| 4 | 
            -
            module Stripe
         | 
| 5 | 
            -
              # A quote phase describes the line items, coupons, and trialing status of a subscription for a predefined time period.
         | 
| 6 | 
            -
              class QuotePhase < APIResource
         | 
| 7 | 
            -
                OBJECT_NAME = "quote_phase"
         | 
| 8 | 
            -
                def self.object_name
         | 
| 9 | 
            -
                  "quote_phase"
         | 
| 10 | 
            -
                end
         | 
| 11 | 
            -
             | 
| 12 | 
            -
                # When retrieving a quote phase, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.
         | 
| 13 | 
            -
                def list_line_items(params = {}, opts = {})
         | 
| 14 | 
            -
                  request_stripe_object(
         | 
| 15 | 
            -
                    method: :get,
         | 
| 16 | 
            -
                    path: format("/v1/quote_phases/%<quote_phase>s/line_items", { quote_phase: CGI.escape(self["id"]) }),
         | 
| 17 | 
            -
                    params: params,
         | 
| 18 | 
            -
                    opts: opts
         | 
| 19 | 
            -
                  )
         | 
| 20 | 
            -
                end
         | 
| 21 | 
            -
             | 
| 22 | 
            -
                # When retrieving a quote phase, there is an includable line_items property containing the first handful of those items. There is also a URL where you can retrieve the full (paginated) list of line items.
         | 
| 23 | 
            -
                def self.list_line_items(quote_phase, params = {}, opts = {})
         | 
| 24 | 
            -
                  request_stripe_object(
         | 
| 25 | 
            -
                    method: :get,
         | 
| 26 | 
            -
                    path: format("/v1/quote_phases/%<quote_phase>s/line_items", { quote_phase: CGI.escape(quote_phase) }),
         | 
| 27 | 
            -
                    params: params,
         | 
| 28 | 
            -
                    opts: opts
         | 
| 29 | 
            -
                  )
         | 
| 30 | 
            -
                end
         | 
| 31 | 
            -
              end
         | 
| 32 | 
            -
            end
         |