Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.0.36"
".": "0.0.37"
}
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 191
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/frostedinc%2Fwhopsdk-dbc99b95f02e6b568750045987763dbdafa1edc5a7ac425e3831e61929d7ecec.yml
openapi_spec_hash: d2ec900df5b29b03d1d1786336d1daf5
config_hash: 1a836d20bb988f001cc66d1526f71306
configured_endpoints: 195
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/frostedinc%2Fwhopsdk-58749e1928f402cc3e236d38b53bce3b10530bfaccbe426181bba9b1bfc42498.yml
openapi_spec_hash: ecea6e6c4b93665aee5554839a26ded8
config_hash: 2ceaf6cd488db626c181a1ca9460ace6
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# Changelog

## 0.0.37 (2026-04-10)

Full Changelog: [v0.0.36...v0.0.37](https://github.com/whopio/whopsdk-ruby/compare/v0.0.36...v0.0.37)

### Features

* **api:** api update ([4130e50](https://github.com/whopio/whopsdk-ruby/commit/4130e501162d6ba1a80de15a056950aca35508ad))
* **api:** api update ([1bac626](https://github.com/whopio/whopsdk-ruby/commit/1bac6269c3270ac68a86e36e9fedba945b43084c))
* **api:** api update ([cd88f35](https://github.com/whopio/whopsdk-ruby/commit/cd88f351641bdca8bb65efea98998f80590ccf8f))
* **api:** api update ([346d6ab](https://github.com/whopio/whopsdk-ruby/commit/346d6ab266c7382e3e17e5afcd6823558b155a81))
* **api:** api update ([25ceb03](https://github.com/whopio/whopsdk-ruby/commit/25ceb03fe003bcc96db811fd444989cd7266d37f))
* **api:** manual updates ([df60228](https://github.com/whopio/whopsdk-ruby/commit/df6022818f7e90ff309bf0c54d278f6244e981b9))
* **api:** manual updates ([a3ed550](https://github.com/whopio/whopsdk-ruby/commit/a3ed550169ba398cfc6581d9281eb81fce212802))


### Bug Fixes

* multipart encoding for file arrays ([feee3d1](https://github.com/whopio/whopsdk-ruby/commit/feee3d1be0bb3f387d1c5cb7c61459442c762d94))

## 0.0.36 (2026-04-01)

Full Changelog: [v0.0.35...v0.0.36](https://github.com/whopio/whopsdk-ruby/compare/v0.0.35...v0.0.36)
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GIT
PATH
remote: .
specs:
whop_sdk (0.0.36)
whop_sdk (0.0.37)
cgi
connection_pool
standardwebhooks
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ To use this gem, install via Bundler by adding the following to your application
<!-- x-release-please-start-version -->

```ruby
gem "whop_sdk", "~> 0.0.36"
gem "whop_sdk", "~> 0.0.37"
```

<!-- x-release-please-end -->
Expand Down
10 changes: 10 additions & 0 deletions lib/whop_sdk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,9 @@
require_relative "whop_sdk/models/checkout_configuration_list_params"
require_relative "whop_sdk/models/checkout_configuration_list_response"
require_relative "whop_sdk/models/checkout_configuration_retrieve_params"
require_relative "whop_sdk/models/checkout_font"
require_relative "whop_sdk/models/checkout_modes"
require_relative "whop_sdk/models/checkout_shape"
require_relative "whop_sdk/models/collection_method"
require_relative "whop_sdk/models/company"
require_relative "whop_sdk/models/company_create_params"
Expand Down Expand Up @@ -275,13 +277,20 @@
require_relative "whop_sdk/models/invoice"
require_relative "whop_sdk/models/invoice_created_webhook_event"
require_relative "whop_sdk/models/invoice_create_params"
require_relative "whop_sdk/models/invoice_delete_params"
require_relative "whop_sdk/models/invoice_delete_response"
require_relative "whop_sdk/models/invoice_list_item"
require_relative "whop_sdk/models/invoice_list_params"
require_relative "whop_sdk/models/invoice_marked_uncollectible_webhook_event"
require_relative "whop_sdk/models/invoice_mark_paid_params"
require_relative "whop_sdk/models/invoice_mark_paid_response"
require_relative "whop_sdk/models/invoice_mark_uncollectible_params"
require_relative "whop_sdk/models/invoice_mark_uncollectible_response"
require_relative "whop_sdk/models/invoice_paid_webhook_event"
require_relative "whop_sdk/models/invoice_past_due_webhook_event"
require_relative "whop_sdk/models/invoice_retrieve_params"
require_relative "whop_sdk/models/invoice_status"
require_relative "whop_sdk/models/invoice_update_params"
require_relative "whop_sdk/models/invoice_voided_webhook_event"
require_relative "whop_sdk/models/invoice_void_params"
require_relative "whop_sdk/models/invoice_void_response"
Expand Down Expand Up @@ -445,6 +454,7 @@
require_relative "whop_sdk/models/support_channel_list_params"
require_relative "whop_sdk/models/support_channel_list_response"
require_relative "whop_sdk/models/support_channel_retrieve_params"
require_relative "whop_sdk/models/tax_identifier_type"
require_relative "whop_sdk/models/tax_type"
require_relative "whop_sdk/models/topup_create_params"
require_relative "whop_sdk/models/topup_create_response"
Expand Down
4 changes: 3 additions & 1 deletion lib/whop_sdk/internal/util.rb
Original file line number Diff line number Diff line change
Expand Up @@ -610,6 +610,7 @@ def encode_query_params(query)
#
# @return [Array(String, Enumerable<String>)]
private def encode_multipart_streaming(body)
# rubocop:disable Style/CaseEquality
# RFC 1521 Section 7.2.1 says we should have 70 char maximum for boundary length
boundary = SecureRandom.urlsafe_base64(46)

Expand All @@ -619,7 +620,7 @@ def encode_query_params(query)
in Hash
body.each do |key, val|
case val
in Array if val.all? { primitive?(_1) }
in Array if val.all? { primitive?(_1) || WhopSDK::Internal::Type::FileInput === _1 }
val.each do |v|
write_multipart_chunk(y, boundary: boundary, key: key, val: v, closing: closing)
end
Expand All @@ -635,6 +636,7 @@ def encode_query_params(query)

fused_io = fused_enum(strio) { closing.each(&:call) }
[boundary, fused_io]
# rubocop:enable Style/CaseEquality
end

# @api private
Expand Down
14 changes: 14 additions & 0 deletions lib/whop_sdk/models.rb
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,12 @@ module WhopSDK

CheckoutConfigurationRetrieveParams = WhopSDK::Models::CheckoutConfigurationRetrieveParams

CheckoutFont = WhopSDK::Models::CheckoutFont

CheckoutModes = WhopSDK::Models::CheckoutModes

CheckoutShape = WhopSDK::Models::CheckoutShape

CollectionMethod = WhopSDK::Models::CollectionMethod

Company = WhopSDK::Models::Company
Expand Down Expand Up @@ -366,12 +370,18 @@ module WhopSDK

InvoiceCreateParams = WhopSDK::Models::InvoiceCreateParams

InvoiceDeleteParams = WhopSDK::Models::InvoiceDeleteParams

InvoiceListItem = WhopSDK::Models::InvoiceListItem

InvoiceListParams = WhopSDK::Models::InvoiceListParams

InvoiceMarkedUncollectibleWebhookEvent = WhopSDK::Models::InvoiceMarkedUncollectibleWebhookEvent

InvoiceMarkPaidParams = WhopSDK::Models::InvoiceMarkPaidParams

InvoiceMarkUncollectibleParams = WhopSDK::Models::InvoiceMarkUncollectibleParams

InvoicePaidWebhookEvent = WhopSDK::Models::InvoicePaidWebhookEvent

InvoicePastDueWebhookEvent = WhopSDK::Models::InvoicePastDueWebhookEvent
Expand All @@ -380,6 +390,8 @@ module WhopSDK

InvoiceStatus = WhopSDK::Models::InvoiceStatus

InvoiceUpdateParams = WhopSDK::Models::InvoiceUpdateParams

InvoiceVoidedWebhookEvent = WhopSDK::Models::InvoiceVoidedWebhookEvent

InvoiceVoidParams = WhopSDK::Models::InvoiceVoidParams
Expand Down Expand Up @@ -643,6 +655,8 @@ module WhopSDK

SupportChannelRetrieveParams = WhopSDK::Models::SupportChannelRetrieveParams

TaxIdentifierType = WhopSDK::Models::TaxIdentifierType

TaxType = WhopSDK::Models::TaxType

TopupCreateParams = WhopSDK::Models::TopupCreateParams
Expand Down
Loading