diff --git a/API_VERSION b/API_VERSION index e0ecaaa2..4abc1b1a 100644 --- a/API_VERSION +++ b/API_VERSION @@ -1 +1 @@ -f587035a62fe3323ed42077a0526158e57a8260b \ No newline at end of file +4e44e29e54f43547d4bff8d37c18e4f8453fb18f \ No newline at end of file diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION index 559abffe..e67a81ed 100644 --- a/OPENAPI_VERSION +++ b/OPENAPI_VERSION @@ -1 +1 @@ -v2121 \ No newline at end of file +v2123 \ No newline at end of file diff --git a/lib/stripe/resources/v2/core/event.rb b/lib/stripe/resources/v2/core/event.rb index a3774965..988ace47 100644 --- a/lib/stripe/resources/v2/core/event.rb +++ b/lib/stripe/resources/v2/core/event.rb @@ -39,8 +39,6 @@ module Stripe @field_remappings = {} end end - # Before and after changes for the primary related object. - attr_reader :changes # Authentication context needed to fetch the event or related object. attr_reader :context # Time at which the object was created. diff --git a/rbi/stripe.rbi b/rbi/stripe.rbi index 17426e10..6d7c20c4 100644 --- a/rbi/stripe.rbi +++ b/rbi/stripe.rbi @@ -47688,9 +47688,6 @@ module Stripe @field_remappings = {} end end - # Before and after changes for the primary related object. - sig { returns(T.nilable(T::Hash[String, T.untyped])) } - def changes; end # Authentication context needed to fetch the event or related object. sig { returns(T.nilable(String)) } def context; end diff --git a/rbi/stripe/resources/v2/core/event.rbi b/rbi/stripe/resources/v2/core/event.rbi index 2d2d0665..66e336b5 100644 --- a/rbi/stripe/resources/v2/core/event.rbi +++ b/rbi/stripe/resources/v2/core/event.rbi @@ -35,9 +35,6 @@ module Stripe @field_remappings = {} end end - # Before and after changes for the primary related object. - sig { returns(T.nilable(T::Hash[String, T.untyped])) } - def changes; end # Authentication context needed to fetch the event or related object. sig { returns(T.nilable(String)) } def context; end diff --git a/test/stripe/generated_examples_test.rb b/test/stripe/generated_examples_test.rb index 9c0fe9e8..cfc4505b 100644 --- a/test/stripe/generated_examples_test.rb +++ b/test/stripe/generated_examples_test.rb @@ -985,7 +985,7 @@ module Stripe end should "Test core events get (service)" do stub_request(:get, "#{Stripe::DEFAULT_API_BASE}/v2/core/events/ll_123").to_return( - body: '{"changes":{"int_key":123,"string_key":"value","boolean_key":true,"object_key":{"object_int_key":123,"object_string_key":"value","object_boolean_key":true},"array_key":[1,2,3]},"context":"context","created":"1970-01-12T21:42:34.472Z","id":"obj_123","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"obj_123","idempotency_key":"idempotency_key"}},"type":"type"}' + body: '{"context":"context","created":"1970-01-12T21:42:34.472Z","id":"obj_123","livemode":true,"object":"v2.core.event","reason":{"type":"request","request":{"id":"obj_123","idempotency_key":"idempotency_key"}},"type":"type"}' ) client = Stripe::StripeClient.new("sk_test_123")