stripe 8.6.0.pre.beta.5 → 8.6.0.pre.beta.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9bbe5f8429142f8ca731c92b88cdb7ce4c13ac0dc47f736b479c4e12ea73ce53
4
- data.tar.gz: 3fecbead2127d4a54204e04107edf6b9131cce54c94bbc7c550318127354cc03
3
+ metadata.gz: 81d0ddbdb1d081579fb52860e1295326a1e3b9863e84ac8167146525320e7c59
4
+ data.tar.gz: 7145dd01065eae301d8ff96f547dee29893f7b7d5e922bd1ed1b6559f57e614e
5
5
  SHA512:
6
- metadata.gz: f386d2f8fbce74b1ea1e898ae28a983689af6ddd87a9ac98b4f60b98866780192d35a89abf80cfbb01630b0dd6ba378486c59b97ab6cb3b9065c347702917260
7
- data.tar.gz: 0cf9d291677ec2fd7186c47c408de3436cca0c3dcd9396d4b388cbdb5cc0b4f9ec6fb992fd99b35cf159f70a5f79de94f1a01cc1f065bca79de9212edf7abf3a
6
+ metadata.gz: 9be55e03a197319fcf3115c89e664119e8b1c271e163fc4ac91fe4088f9413cc0dbe9a411f7e4fc1c10b15d75cd9521889807236af044ed9b5c20b45a9272af6
7
+ data.tar.gz: 8951c0d63c7124b8c4b9c627e41bb1bc8b6fdc3e63d88d2fdc7faa917f0545a4b362c7886822ce6b817041a28d091e3b1ea5535bb92fa38cead45b6fe9753705
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 8.6.0-beta.6 - 2023-06-22
4
+ * [#1237](https://github.com/stripe/stripe-ruby/pull/1237) Update generated code for beta
5
+ * Add support for new resource `CustomerSession`
6
+ * Add support for `create` method on resource `CustomerSession`
7
+ * [#1233](https://github.com/stripe/stripe-ruby/pull/1233) Update generated code for beta
8
+ * [#1229](https://github.com/stripe/stripe-ruby/pull/1229) Update generated code for beta
9
+
3
10
  ## 8.6.0-beta.5 - 2023-06-01
4
11
  * [#1227](https://github.com/stripe/stripe-ruby/pull/1227) Update generated code for beta
5
12
  * [#1228](https://github.com/stripe/stripe-ruby/pull/1228) Document raw_request
data/OPENAPI_VERSION CHANGED
@@ -1 +1 @@
1
- v361
1
+ v392
data/README.md CHANGED
@@ -266,7 +266,7 @@ For example:
266
266
  ```ruby
267
267
  Stripe::Instrumentation.subscribe(:request_end) do |request_event|
268
268
  # Filter out high-cardinality ids from `path`
269
- path_parts = event.path.split("/").drop(2)
269
+ path_parts = request_event.path.split("/").drop(2)
270
270
  resource = path_parts.map { |part| part.match?(/\A[a-z_]+\z/) ? part : ":id" }.join("/")
271
271
 
272
272
  tags = {
data/VERSION CHANGED
@@ -1 +1 @@
1
- 8.6.0-beta.5
1
+ 8.6.0-beta.6
@@ -4,6 +4,6 @@
4
4
  module Stripe
5
5
  module ApiVersion
6
6
  CURRENT = "2022-11-15"
7
- PREVIEW = "2023-05-26.preview-v2"
7
+ PREVIEW = "2023-06-08.preview-v2"
8
8
  end
9
9
  end
@@ -39,6 +39,7 @@ module Stripe
39
39
  Customer::OBJECT_NAME => Customer,
40
40
  CustomerBalanceTransaction::OBJECT_NAME => CustomerBalanceTransaction,
41
41
  CustomerCashBalanceTransaction::OBJECT_NAME => CustomerCashBalanceTransaction,
42
+ CustomerSession::OBJECT_NAME => CustomerSession,
42
43
  Discount::OBJECT_NAME => Discount,
43
44
  Dispute::OBJECT_NAME => Dispute,
44
45
  EphemeralKey::OBJECT_NAME => EphemeralKey,
@@ -0,0 +1,12 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ # A customer session allows you to grant client access to Stripe's frontend SDKs (like BillingJs)
6
+ # control over a customer.
7
+ class CustomerSession < APIResource
8
+ extend Stripe::APIOperations::Create
9
+
10
+ OBJECT_NAME = "customer_session"
11
+ end
12
+ end
@@ -11,7 +11,7 @@ module Stripe
11
11
  # If your invoice is configured to be billed through automatic charges,
12
12
  # Stripe automatically finalizes your invoice and attempts payment. Note
13
13
  # that finalizing the invoice,
14
- # [when automatic](https://stripe.com/docs/billing/invoices/workflow/#auto_advance), does
14
+ # [when automatic](https://stripe.com/docs/invoicing/integration/automatic-advancement-collection), does
15
15
  # not happen immediately as the invoice is created. Stripe waits
16
16
  # until one hour after the last webhook was successfully sent (or the last
17
17
  # webhook timed out after failing). If you (and the platforms you may have
@@ -2,6 +2,7 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module Stripe
5
+ # Login Links are single-use login link for an Express account to access their Stripe dashboard.
5
6
  class LoginLink < APIResource
6
7
  OBJECT_NAME = "login_link"
7
8
 
@@ -10,11 +10,11 @@ module Stripe
10
10
  # Reversing a transfer that was made for a [destination
11
11
  # charge](https://stripe.com/docs/connect/destination-charges) is allowed only up to the amount of
12
12
  # the charge. It is possible to reverse a
13
- # [transfer_group](https://stripe.com/docs/connect/charges-transfers#transfer-options)
13
+ # [transfer_group](https://stripe.com/docs/connect/separate-charges-and-transfers#transfer-options)
14
14
  # transfer only if the destination account has enough balance to cover the
15
15
  # reversal.
16
16
  #
17
- # Related guide: [Reversing transfers](https://stripe.com/docs/connect/charges-transfers#reversing-transfers)
17
+ # Related guide: [Reversing transfers](https://stripe.com/docs/connect/separate-charges-and-transfers#reversing-transfers)
18
18
  class Reversal < APIResource
19
19
  extend Stripe::APIOperations::List
20
20
  include Stripe::APIOperations::Save
@@ -11,7 +11,7 @@ module Stripe
11
11
  # information, read about the
12
12
  # [transfer/payout split](https://stripe.com/docs/transfer-payout-split).
13
13
  #
14
- # Related guide: [Creating separate charges and transfers](https://stripe.com/docs/connect/charges-transfers)
14
+ # Related guide: [Creating separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers)
15
15
  class Transfer < APIResource
16
16
  extend Stripe::APIOperations::Create
17
17
  extend Stripe::APIOperations::List
@@ -28,6 +28,7 @@ require "stripe/resources/credit_note_line_item"
28
28
  require "stripe/resources/customer"
29
29
  require "stripe/resources/customer_balance_transaction"
30
30
  require "stripe/resources/customer_cash_balance_transaction"
31
+ require "stripe/resources/customer_session"
31
32
  require "stripe/resources/discount"
32
33
  require "stripe/resources/dispute"
33
34
  require "stripe/resources/ephemeral_key"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stripe
4
- VERSION = "8.6.0-beta.5"
4
+ VERSION = "8.6.0-beta.6"
5
5
  end
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: 8.6.0.pre.beta.5
4
+ version: 8.6.0.pre.beta.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stripe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-01 00:00:00.000000000 Z
11
+ date: 2023-06-22 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.
@@ -80,6 +80,7 @@ files:
80
80
  - lib/stripe/resources/customer.rb
81
81
  - lib/stripe/resources/customer_balance_transaction.rb
82
82
  - lib/stripe/resources/customer_cash_balance_transaction.rb
83
+ - lib/stripe/resources/customer_session.rb
83
84
  - lib/stripe/resources/discount.rb
84
85
  - lib/stripe/resources/dispute.rb
85
86
  - lib/stripe/resources/ephemeral_key.rb