diff --git a/rbi/stripe/resources/charge.rbi b/rbi/stripe/resources/charge.rbi index cfe26e09f..c02bad78a 100644 --- a/rbi/stripe/resources/charge.rbi +++ b/rbi/stripe/resources/charge.rbi @@ -3459,11 +3459,13 @@ module Stripe } def self.list(params = {}, opts = {}); end - sig { params(params: T.untyped, opts: T.untyped).returns(Stripe::SearchResultObject) } + sig { + params(params: T.any(::Stripe::Charge::SearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SearchResultObject) + } def self.search(params = {}, opts = {}); end sig { - params(params: T.untyped, opts: T.untyped, blk: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::Charge::SearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped, blk: T.untyped).returns(Stripe::SearchResultObject) } def self.search_auto_paging_each(params = {}, opts = {}, &blk); end diff --git a/rbi/stripe/resources/customer.rbi b/rbi/stripe/resources/customer.rbi index 65c679d22..856304416 100644 --- a/rbi/stripe/resources/customer.rbi +++ b/rbi/stripe/resources/customer.rbi @@ -958,7 +958,7 @@ module Stripe # Retrieves a customer's cash balance. sig { - params(customer: String, params: T.any(::Stripe::Customer::RetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).void + params(customer: String, params: T.any(::Stripe::Customer::RetrieveParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.untyped) } def self.retrieve_cash_balance(customer, params = {}, opts = {}); end @@ -974,11 +974,13 @@ module Stripe } def self.retrieve_payment_method(customer, payment_method, params = {}, opts = {}); end - sig { params(params: T.untyped, opts: T.untyped).returns(Stripe::SearchResultObject) } + sig { + params(params: T.any(::Stripe::Customer::SearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SearchResultObject) + } def self.search(params = {}, opts = {}); end sig { - params(params: T.untyped, opts: T.untyped, blk: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::Customer::SearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped, blk: T.untyped).returns(Stripe::SearchResultObject) } def self.search_auto_paging_each(params = {}, opts = {}, &blk); end @@ -992,7 +994,7 @@ module Stripe # Changes the settings on a customer's cash balance. sig { - params(customer: String, params: T.any(::Stripe::Customer::UpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).void + params(customer: String, params: T.any(::Stripe::Customer::UpdateParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(T.untyped) } def self.update_cash_balance(customer, params = {}, opts = {}); end end diff --git a/rbi/stripe/resources/invoice.rbi b/rbi/stripe/resources/invoice.rbi index 968f9ac53..bd667feb9 100644 --- a/rbi/stripe/resources/invoice.rbi +++ b/rbi/stripe/resources/invoice.rbi @@ -8845,11 +8845,13 @@ module Stripe } def self.remove_lines(invoice, params = {}, opts = {}); end - sig { params(params: T.untyped, opts: T.untyped).returns(Stripe::SearchResultObject) } + sig { + params(params: T.any(::Stripe::Invoice::SearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SearchResultObject) + } def self.search(params = {}, opts = {}); end sig { - params(params: T.untyped, opts: T.untyped, blk: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::Invoice::SearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped, blk: T.untyped).returns(Stripe::SearchResultObject) } def self.search_auto_paging_each(params = {}, opts = {}, &blk); end diff --git a/rbi/stripe/resources/payment_intent.rbi b/rbi/stripe/resources/payment_intent.rbi index eb7728564..b6c4ca186 100644 --- a/rbi/stripe/resources/payment_intent.rbi +++ b/rbi/stripe/resources/payment_intent.rbi @@ -13791,11 +13791,13 @@ module Stripe } def self.list(params = {}, opts = {}); end - sig { params(params: T.untyped, opts: T.untyped).returns(Stripe::SearchResultObject) } + sig { + params(params: T.any(::Stripe::PaymentIntent::SearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SearchResultObject) + } def self.search(params = {}, opts = {}); end sig { - params(params: T.untyped, opts: T.untyped, blk: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::PaymentIntent::SearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped, blk: T.untyped).returns(Stripe::SearchResultObject) } def self.search_auto_paging_each(params = {}, opts = {}, &blk); end diff --git a/rbi/stripe/resources/price.rbi b/rbi/stripe/resources/price.rbi index 2e2b0fde0..ab8a698c5 100644 --- a/rbi/stripe/resources/price.rbi +++ b/rbi/stripe/resources/price.rbi @@ -712,11 +712,13 @@ module Stripe } def self.list(params = {}, opts = {}); end - sig { params(params: T.untyped, opts: T.untyped).returns(Stripe::SearchResultObject) } + sig { + params(params: T.any(::Stripe::Price::SearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SearchResultObject) + } def self.search(params = {}, opts = {}); end sig { - params(params: T.untyped, opts: T.untyped, blk: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::Price::SearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped, blk: T.untyped).returns(Stripe::SearchResultObject) } def self.search_auto_paging_each(params = {}, opts = {}, &blk); end diff --git a/rbi/stripe/resources/product.rbi b/rbi/stripe/resources/product.rbi index 52c91a79a..78c24a471 100644 --- a/rbi/stripe/resources/product.rbi +++ b/rbi/stripe/resources/product.rbi @@ -596,11 +596,13 @@ module Stripe } def self.list(params = {}, opts = {}); end - sig { params(params: T.untyped, opts: T.untyped).returns(Stripe::SearchResultObject) } + sig { + params(params: T.any(::Stripe::Product::SearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SearchResultObject) + } def self.search(params = {}, opts = {}); end sig { - params(params: T.untyped, opts: T.untyped, blk: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::Product::SearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped, blk: T.untyped).returns(Stripe::SearchResultObject) } def self.search_auto_paging_each(params = {}, opts = {}, &blk); end diff --git a/rbi/stripe/resources/subscription.rbi b/rbi/stripe/resources/subscription.rbi index 8e92c350e..24f9cefaa 100644 --- a/rbi/stripe/resources/subscription.rbi +++ b/rbi/stripe/resources/subscription.rbi @@ -2269,11 +2269,13 @@ module Stripe } def self.resume(subscription, params = {}, opts = {}); end - sig { params(params: T.untyped, opts: T.untyped).returns(Stripe::SearchResultObject) } + sig { + params(params: T.any(::Stripe::Subscription::SearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped).returns(Stripe::SearchResultObject) + } def self.search(params = {}, opts = {}); end sig { - params(params: T.untyped, opts: T.untyped, blk: T.untyped).returns(Stripe::SearchResultObject) + params(params: T.any(::Stripe::Subscription::SearchParams, T::Hash[T.untyped, T.untyped]), opts: T.untyped, blk: T.untyped).returns(Stripe::SearchResultObject) } def self.search_auto_paging_each(params = {}, opts = {}, &blk); end