Skip to content

Commit 5783061

Browse files
stainless-app[bot]cnrstvnsclaude
authored
release: 0.0.32 (#36)
* feat(api): api update * feat(api): api update * feat(api): api update * feat(api): manual updates * release: 0.0.32 * fix: restore missing type files lost during merge conflict resolution These files were added in the 0.1.0 commit but got lost during the merge conflict resolution between main and the release-please branch. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com> Co-authored-by: Connor Stevens <conmail1224@gmail.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent dfa6727 commit 5783061

36 files changed

Lines changed: 1701 additions & 50 deletions

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.0.30"
2+
".": "0.0.32"
33
}

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 173
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/frostedinc%2Fwhopsdk-cc6caefebc5d0c5b09a38a2ca3de9b07a8af8017a45a3a8ae4687eea30e5df93.yml
3-
openapi_spec_hash: 384c511adb0c53319ac3ece08843f485
4-
config_hash: 8ac153ea57fa6460b13cded3f7c9c7a6
1+
configured_endpoints: 178
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/frostedinc%2Fwhopsdk-187882c4d823394e3577f9843c288f4187e4f9b38646105c40b88e4e83b27979.yml
3+
openapi_spec_hash: 16eb1c84681dc3ad39c987b7abf1e191
4+
config_hash: e9bda7cddca13f2b41d8f7521ad36cf5

CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
11
# Changelog
22

3+
## 0.0.32 (2026-03-11)
4+
5+
Full Changelog: [v0.0.30...v0.0.32](https://github.com/whopio/whopsdk-python/compare/v0.0.30...v0.0.32)
6+
7+
### Features
8+
9+
* **api:** api update ([99175a1](https://github.com/whopio/whopsdk-python/commit/99175a149a05f6c54b225447a163b958af8ae61c))
10+
* **api:** api update ([fe17d66](https://github.com/whopio/whopsdk-python/commit/fe17d66f82035b4e58f474bfd136bf78114aaeab))
11+
* **api:** api update ([2ee7fe7](https://github.com/whopio/whopsdk-python/commit/2ee7fe71e837e7f91ed021b58217abaf89782879))
12+
* **api:** api update ([260853e](https://github.com/whopio/whopsdk-python/commit/260853e5ec3e85481b25da49ec4252b8b773e81a))
13+
* **api:** api update ([dcef405](https://github.com/whopio/whopsdk-python/commit/dcef4059c4ce8e9fdffa7d2aba850f325c53fb57))
14+
* **api:** api update ([abc268f](https://github.com/whopio/whopsdk-python/commit/abc268f2c7a2d59ed01e6fd595aaf3559b831302))
15+
* **api:** api update ([2f4cd94](https://github.com/whopio/whopsdk-python/commit/2f4cd94cdca591d743dd905f9b325d25fe45acb8))
16+
* **api:** api update ([ad1d5b7](https://github.com/whopio/whopsdk-python/commit/ad1d5b78546c5efd4214e22c42aa7a64227bc34c))
17+
* **api:** api update ([c2f142d](https://github.com/whopio/whopsdk-python/commit/c2f142d7aebad6ec2b140d70a8b93aa3205290ec))
18+
* **api:** api update ([d62a4b7](https://github.com/whopio/whopsdk-python/commit/d62a4b7961c1264d9c4055a026238a72822b8b19))
19+
* **api:** api update ([c60ab1e](https://github.com/whopio/whopsdk-python/commit/c60ab1e6568cef6910ec61773887c8b9546c52d4))
20+
* **api:** api update ([020c181](https://github.com/whopio/whopsdk-python/commit/020c181cf53f7811401fe01d4382fe490e6e5398))
21+
* **api:** api update ([db6d90c](https://github.com/whopio/whopsdk-python/commit/db6d90cb90d173817cb3c8829dcd7d4ac091e53e))
22+
* **api:** api update ([74d75c5](https://github.com/whopio/whopsdk-python/commit/74d75c50c470970c3b7fdc0611dd58c518fcdb18))
23+
* **api:** api update ([2edf4bc](https://github.com/whopio/whopsdk-python/commit/2edf4bca49f261116a77e04d77da9157904367a5))
24+
* **api:** manual updates ([b162886](https://github.com/whopio/whopsdk-python/commit/b1628865df13ae4d703571e46e738405652ad150))
25+
* **api:** manual updates ([5488b95](https://github.com/whopio/whopsdk-python/commit/5488b953d0a7e6c4c6d08d9a6f0b88a8852a76d2))
26+
27+
28+
### Chores
29+
30+
* **ci:** skip uploading artifacts on stainless-internal branches ([04a3a6d](https://github.com/whopio/whopsdk-python/commit/04a3a6d8263e34b42b476380846af4d4f31deedd))
31+
* **docs:** add missing descriptions ([beeb9ef](https://github.com/whopio/whopsdk-python/commit/beeb9efca946b1bc2e565239ac96d3d2d8642b6f))
32+
* **tests:** update webhook tests ([f740d3c](https://github.com/whopio/whopsdk-python/commit/f740d3c6d32e332ecea2ec902e9903c36055443e))
33+
334
## 0.0.30 (2026-02-26)
435

536
Full Changelog: [v0.0.29...v0.0.30](https://github.com/whopio/whopsdk-python/compare/v0.0.29...v0.0.30)

api.md

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ Methods:
121121
Types:
122122

123123
```python
124-
from whop_sdk.types import CompanyListResponse
124+
from whop_sdk.types import SocialLinkWebsites, CompanyListResponse
125125
```
126126

127127
Methods:
@@ -268,6 +268,7 @@ Methods:
268268
- <code title="get /memberships/{id}">client.memberships.<a href="./src/whop_sdk/resources/memberships.py">retrieve</a>(id) -> <a href="./src/whop_sdk/types/shared/membership.py">Membership</a></code>
269269
- <code title="patch /memberships/{id}">client.memberships.<a href="./src/whop_sdk/resources/memberships.py">update</a>(id, \*\*<a href="src/whop_sdk/types/membership_update_params.py">params</a>) -> <a href="./src/whop_sdk/types/shared/membership.py">Membership</a></code>
270270
- <code title="get /memberships">client.memberships.<a href="./src/whop_sdk/resources/memberships.py">list</a>(\*\*<a href="src/whop_sdk/types/membership_list_params.py">params</a>) -> <a href="./src/whop_sdk/types/membership_list_response.py">SyncCursorPage[MembershipListResponse]</a></code>
271+
- <code title="post /memberships/{id}/add_free_days">client.memberships.<a href="./src/whop_sdk/resources/memberships.py">add_free_days</a>(id, \*\*<a href="src/whop_sdk/types/membership_add_free_days_params.py">params</a>) -> <a href="./src/whop_sdk/types/shared/membership.py">Membership</a></code>
271272
- <code title="post /memberships/{id}/cancel">client.memberships.<a href="./src/whop_sdk/resources/memberships.py">cancel</a>(id, \*\*<a href="src/whop_sdk/types/membership_cancel_params.py">params</a>) -> <a href="./src/whop_sdk/types/shared/membership.py">Membership</a></code>
272273
- <code title="post /memberships/{id}/pause">client.memberships.<a href="./src/whop_sdk/resources/memberships.py">pause</a>(id, \*\*<a href="src/whop_sdk/types/membership_pause_params.py">params</a>) -> <a href="./src/whop_sdk/types/shared/membership.py">Membership</a></code>
273274
- <code title="post /memberships/{id}/resume">client.memberships.<a href="./src/whop_sdk/resources/memberships.py">resume</a>(id) -> <a href="./src/whop_sdk/types/shared/membership.py">Membership</a></code>
@@ -278,13 +279,15 @@ Methods:
278279
Types:
279280

280281
```python
281-
from whop_sdk.types import AuthorizedUserRetrieveResponse, AuthorizedUserListResponse
282+
from whop_sdk.types import AuthorizedUser, AuthorizedUserListResponse, AuthorizedUserDeleteResponse
282283
```
283284

284285
Methods:
285286

286-
- <code title="get /authorized_users/{id}">client.authorized_users.<a href="./src/whop_sdk/resources/authorized_users.py">retrieve</a>(id) -> <a href="./src/whop_sdk/types/authorized_user_retrieve_response.py">AuthorizedUserRetrieveResponse</a></code>
287+
- <code title="post /authorized_users">client.authorized_users.<a href="./src/whop_sdk/resources/authorized_users.py">create</a>(\*\*<a href="src/whop_sdk/types/authorized_user_create_params.py">params</a>) -> <a href="./src/whop_sdk/types/authorized_user.py">AuthorizedUser</a></code>
288+
- <code title="get /authorized_users/{id}">client.authorized_users.<a href="./src/whop_sdk/resources/authorized_users.py">retrieve</a>(id) -> <a href="./src/whop_sdk/types/authorized_user.py">AuthorizedUser</a></code>
287289
- <code title="get /authorized_users">client.authorized_users.<a href="./src/whop_sdk/resources/authorized_users.py">list</a>(\*\*<a href="src/whop_sdk/types/authorized_user_list_params.py">params</a>) -> <a href="./src/whop_sdk/types/authorized_user_list_response.py">SyncCursorPage[AuthorizedUserListResponse]</a></code>
290+
- <code title="delete /authorized_users/{id}">client.authorized_users.<a href="./src/whop_sdk/resources/authorized_users.py">delete</a>(id, \*\*<a href="src/whop_sdk/types/authorized_user_delete_params.py">params</a>) -> <a href="./src/whop_sdk/types/authorized_user_delete_response.py">AuthorizedUserDeleteResponse</a></code>
288291

289292
# AppBuilds
290293

@@ -382,6 +385,7 @@ from whop_sdk.types import (
382385
BillingReasons,
383386
CardBrands,
384387
PaymentMethodTypes,
388+
ReceiptTaxBehavior,
385389
PaymentListResponse,
386390
PaymentListFeesResponse,
387391
)
@@ -876,3 +880,24 @@ Methods:
876880

877881
- <code title="get /dispute_alerts/{id}">client.dispute_alerts.<a href="./src/whop_sdk/resources/dispute_alerts.py">retrieve</a>(id) -> <a href="./src/whop_sdk/types/dispute_alert_retrieve_response.py">DisputeAlertRetrieveResponse</a></code>
878882
- <code title="get /dispute_alerts">client.dispute_alerts.<a href="./src/whop_sdk/resources/dispute_alerts.py">list</a>(\*\*<a href="src/whop_sdk/types/dispute_alert_list_params.py">params</a>) -> <a href="./src/whop_sdk/types/dispute_alert_list_response.py">SyncCursorPage[DisputeAlertListResponse]</a></code>
883+
884+
# ResolutionCenterCases
885+
886+
Types:
887+
888+
```python
889+
from whop_sdk.types import (
890+
ResolutionCenterCaseCustomerResponse,
891+
ResolutionCenterCaseIssueType,
892+
ResolutionCenterCaseMerchantResponse,
893+
ResolutionCenterCasePlatformResponse,
894+
ResolutionCenterCaseStatus,
895+
ResolutionCenterCaseRetrieveResponse,
896+
ResolutionCenterCaseListResponse,
897+
)
898+
```
899+
900+
Methods:
901+
902+
- <code title="get /resolution_center_cases/{id}">client.resolution_center_cases.<a href="./src/whop_sdk/resources/resolution_center_cases.py">retrieve</a>(id) -> <a href="./src/whop_sdk/types/resolution_center_case_retrieve_response.py">ResolutionCenterCaseRetrieveResponse</a></code>
903+
- <code title="get /resolution_center_cases">client.resolution_center_cases.<a href="./src/whop_sdk/resources/resolution_center_cases.py">list</a>(\*\*<a href="src/whop_sdk/types/resolution_center_case_list_params.py">params</a>) -> <a href="./src/whop_sdk/types/resolution_center_case_list_response.py">SyncCursorPage[ResolutionCenterCaseListResponse]</a></code>

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "whop-sdk"
3-
version = "0.0.30"
3+
version = "0.0.32"
44
description = "The official Python library for the Whop API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

src/whop_sdk/_client.py

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
authorized_users,
8181
support_channels,
8282
checkout_configurations,
83+
resolution_center_cases,
8384
company_token_transactions,
8485
course_lesson_interactions,
8586
)
@@ -131,6 +132,7 @@
131132
from .resources.authorized_users import AuthorizedUsersResource, AsyncAuthorizedUsersResource
132133
from .resources.support_channels import SupportChannelsResource, AsyncSupportChannelsResource
133134
from .resources.checkout_configurations import CheckoutConfigurationsResource, AsyncCheckoutConfigurationsResource
135+
from .resources.resolution_center_cases import ResolutionCenterCasesResource, AsyncResolutionCenterCasesResource
134136
from .resources.company_token_transactions import (
135137
CompanyTokenTransactionsResource,
136138
AsyncCompanyTokenTransactionsResource,
@@ -513,6 +515,13 @@ def dispute_alerts(self) -> DisputeAlertsResource:
513515

514516
return DisputeAlertsResource(self)
515517

518+
@cached_property
519+
def resolution_center_cases(self) -> ResolutionCenterCasesResource:
520+
"""Resolution center cases"""
521+
from .resources.resolution_center_cases import ResolutionCenterCasesResource
522+
523+
return ResolutionCenterCasesResource(self)
524+
516525
@cached_property
517526
def with_raw_response(self) -> WhopWithRawResponse:
518527
return WhopWithRawResponse(self)
@@ -1001,6 +1010,13 @@ def dispute_alerts(self) -> AsyncDisputeAlertsResource:
10011010

10021011
return AsyncDisputeAlertsResource(self)
10031012

1013+
@cached_property
1014+
def resolution_center_cases(self) -> AsyncResolutionCenterCasesResource:
1015+
"""Resolution center cases"""
1016+
from .resources.resolution_center_cases import AsyncResolutionCenterCasesResource
1017+
1018+
return AsyncResolutionCenterCasesResource(self)
1019+
10041020
@cached_property
10051021
def with_raw_response(self) -> AsyncWhopWithRawResponse:
10061022
return AsyncWhopWithRawResponse(self)
@@ -1425,6 +1441,13 @@ def dispute_alerts(self) -> dispute_alerts.DisputeAlertsResourceWithRawResponse:
14251441

14261442
return DisputeAlertsResourceWithRawResponse(self._client.dispute_alerts)
14271443

1444+
@cached_property
1445+
def resolution_center_cases(self) -> resolution_center_cases.ResolutionCenterCasesResourceWithRawResponse:
1446+
"""Resolution center cases"""
1447+
from .resources.resolution_center_cases import ResolutionCenterCasesResourceWithRawResponse
1448+
1449+
return ResolutionCenterCasesResourceWithRawResponse(self._client.resolution_center_cases)
1450+
14281451

14291452
class AsyncWhopWithRawResponse:
14301453
_client: AsyncWhop
@@ -1736,6 +1759,13 @@ def dispute_alerts(self) -> dispute_alerts.AsyncDisputeAlertsResourceWithRawResp
17361759

17371760
return AsyncDisputeAlertsResourceWithRawResponse(self._client.dispute_alerts)
17381761

1762+
@cached_property
1763+
def resolution_center_cases(self) -> resolution_center_cases.AsyncResolutionCenterCasesResourceWithRawResponse:
1764+
"""Resolution center cases"""
1765+
from .resources.resolution_center_cases import AsyncResolutionCenterCasesResourceWithRawResponse
1766+
1767+
return AsyncResolutionCenterCasesResourceWithRawResponse(self._client.resolution_center_cases)
1768+
17391769

17401770
class WhopWithStreamedResponse:
17411771
_client: Whop
@@ -2047,6 +2077,13 @@ def dispute_alerts(self) -> dispute_alerts.DisputeAlertsResourceWithStreamingRes
20472077

20482078
return DisputeAlertsResourceWithStreamingResponse(self._client.dispute_alerts)
20492079

2080+
@cached_property
2081+
def resolution_center_cases(self) -> resolution_center_cases.ResolutionCenterCasesResourceWithStreamingResponse:
2082+
"""Resolution center cases"""
2083+
from .resources.resolution_center_cases import ResolutionCenterCasesResourceWithStreamingResponse
2084+
2085+
return ResolutionCenterCasesResourceWithStreamingResponse(self._client.resolution_center_cases)
2086+
20502087

20512088
class AsyncWhopWithStreamedResponse:
20522089
_client: AsyncWhop
@@ -2360,6 +2397,15 @@ def dispute_alerts(self) -> dispute_alerts.AsyncDisputeAlertsResourceWithStreami
23602397

23612398
return AsyncDisputeAlertsResourceWithStreamingResponse(self._client.dispute_alerts)
23622399

2400+
@cached_property
2401+
def resolution_center_cases(
2402+
self,
2403+
) -> resolution_center_cases.AsyncResolutionCenterCasesResourceWithStreamingResponse:
2404+
"""Resolution center cases"""
2405+
from .resources.resolution_center_cases import AsyncResolutionCenterCasesResourceWithStreamingResponse
2406+
2407+
return AsyncResolutionCenterCasesResourceWithStreamingResponse(self._client.resolution_center_cases)
2408+
23632409

23642410
Client = Whop
23652411

src/whop_sdk/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "whop_sdk"
4-
__version__ = "0.0.30" # x-release-please-version
4+
__version__ = "0.0.32" # x-release-please-version

src/whop_sdk/resources/__init__.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -384,6 +384,14 @@
384384
CheckoutConfigurationsResourceWithStreamingResponse,
385385
AsyncCheckoutConfigurationsResourceWithStreamingResponse,
386386
)
387+
from .resolution_center_cases import (
388+
ResolutionCenterCasesResource,
389+
AsyncResolutionCenterCasesResource,
390+
ResolutionCenterCasesResourceWithRawResponse,
391+
AsyncResolutionCenterCasesResourceWithRawResponse,
392+
ResolutionCenterCasesResourceWithStreamingResponse,
393+
AsyncResolutionCenterCasesResourceWithStreamingResponse,
394+
)
387395
from .company_token_transactions import (
388396
CompanyTokenTransactionsResource,
389397
AsyncCompanyTokenTransactionsResource,
@@ -702,4 +710,10 @@
702710
"AsyncDisputeAlertsResourceWithRawResponse",
703711
"DisputeAlertsResourceWithStreamingResponse",
704712
"AsyncDisputeAlertsResourceWithStreamingResponse",
713+
"ResolutionCenterCasesResource",
714+
"AsyncResolutionCenterCasesResource",
715+
"ResolutionCenterCasesResourceWithRawResponse",
716+
"AsyncResolutionCenterCasesResourceWithRawResponse",
717+
"ResolutionCenterCasesResourceWithStreamingResponse",
718+
"AsyncResolutionCenterCasesResourceWithStreamingResponse",
705719
]

src/whop_sdk/resources/ai_chats.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ def list(
199199
before: Optional[str] | Omit = omit,
200200
first: Optional[int] | Omit = omit,
201201
last: Optional[int] | Omit = omit,
202+
only_active_crons: Optional[bool] | Omit = omit,
202203
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
203204
# The extra values given here take precedence over values defined on the client or passed to this method.
204205
extra_headers: Headers | None = None,
@@ -218,6 +219,8 @@ def list(
218219
219220
last: Returns the last _n_ elements from the list.
220221
222+
only_active_crons: When true, returns only chats with an active cron schedule
223+
221224
extra_headers: Send extra headers
222225
223226
extra_query: Add additional query parameters to the request
@@ -240,6 +243,7 @@ def list(
240243
"before": before,
241244
"first": first,
242245
"last": last,
246+
"only_active_crons": only_active_crons,
243247
},
244248
ai_chat_list_params.AIChatListParams,
245249
),
@@ -457,6 +461,7 @@ def list(
457461
before: Optional[str] | Omit = omit,
458462
first: Optional[int] | Omit = omit,
459463
last: Optional[int] | Omit = omit,
464+
only_active_crons: Optional[bool] | Omit = omit,
460465
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
461466
# The extra values given here take precedence over values defined on the client or passed to this method.
462467
extra_headers: Headers | None = None,
@@ -476,6 +481,8 @@ def list(
476481
477482
last: Returns the last _n_ elements from the list.
478483
484+
only_active_crons: When true, returns only chats with an active cron schedule
485+
479486
extra_headers: Send extra headers
480487
481488
extra_query: Add additional query parameters to the request
@@ -498,6 +505,7 @@ def list(
498505
"before": before,
499506
"first": first,
500507
"last": last,
508+
"only_active_crons": only_active_crons,
501509
},
502510
ai_chat_list_params.AIChatListParams,
503511
),

0 commit comments

Comments
 (0)