Skip to content

Commit 49dfa21

Browse files
release: 0.0.28 (#32)
* feat(api): api update * feat(api): api update * feat(api): api update * feat(api): api update * feat(api): api update * feat(api): api update * feat(api): api update * feat(api): api update * feat(api): manual updates * feat(api): manual updates * feat(api): api update * chore(internal): bump dependencies * feat(api): manual updates Fix broken stainless config * feat(api): api update * feat(api): api update * feat(api): api update * feat(api): api update * chore: configure new SDK language * feat(api): api update * feat(api): api update * feat(api): api update * feat(api): api update * codegen metadata * chore(internal): fix lint error on Python 3.14 * feat(api): api update * feat(api): api update * feat(api): api update * codegen metadata * codegen metadata * chore: format all `api.md` files * feat(api): api update * feat(api): api update * feat(api): api update * feat(api): api update * feat(api): api update * feat(api): api update * feat(api): api update * feat(api): api update * feat(api): manual updates * feat(api): manual updates * codegen metadata * feat(api): manual updates * release: 0.0.28 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent e0f9c12 commit 49dfa21

297 files changed

Lines changed: 11976 additions & 4622 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.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.26"
2+
".": "0.0.28"
33
}

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 170
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/frostedinc%2Fwhopsdk-333c68cc8619caa2ffdfed588a7d2b2c263f8910b7b682698da92c826932e7c7.yml
3-
openapi_spec_hash: 8e2cc20f1e06b43ea220edbdf16eddbe
4-
config_hash: 48e5bec0f5659595abb38814aa0d9cc2
1+
configured_endpoints: 171
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/frostedinc%2Fwhopsdk-895f6335fe400b315ff879ff4eb715e345fdd0b41866af74907fe0b5eaa48ecc.yml
3+
openapi_spec_hash: 2686022011de85befee757dd6f6dcb1e
4+
config_hash: b300127857761f7268c839201f27c455

CHANGELOG.md

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

3+
## 0.0.28 (2026-02-19)
4+
5+
Full Changelog: [v0.0.26...v0.0.28](https://github.com/whopio/whopsdk-python/compare/v0.0.26...v0.0.28)
6+
7+
### Features
8+
9+
* **api:** api update ([40fa7c8](https://github.com/whopio/whopsdk-python/commit/40fa7c8f747d72e6487dc8088266ea557fd4f43b))
10+
* **api:** api update ([27569c5](https://github.com/whopio/whopsdk-python/commit/27569c5733e158d4d27e1979c8ae83d6dc323071))
11+
* **api:** api update ([692bd2d](https://github.com/whopio/whopsdk-python/commit/692bd2d8853941d89795944a3174d82111a6ea58))
12+
* **api:** api update ([99c6adc](https://github.com/whopio/whopsdk-python/commit/99c6adcd819936ffdaae0f9727f3064a5eee3a7b))
13+
* **api:** api update ([b796870](https://github.com/whopio/whopsdk-python/commit/b7968701b270f7949b75120015e92493aca6f5b3))
14+
* **api:** api update ([3ddcda6](https://github.com/whopio/whopsdk-python/commit/3ddcda6a1c593e537679de1ab2ffa6723f159079))
15+
* **api:** api update ([875d3b2](https://github.com/whopio/whopsdk-python/commit/875d3b2880af5742d0c68a1a947712819abc7d18))
16+
* **api:** api update ([e7567da](https://github.com/whopio/whopsdk-python/commit/e7567daceb7f22150659755936debb0e578e4cf2))
17+
* **api:** api update ([a0efc96](https://github.com/whopio/whopsdk-python/commit/a0efc96de2fe78efbb8aad8da6dc42e2f5b7d6a2))
18+
* **api:** api update ([5a07532](https://github.com/whopio/whopsdk-python/commit/5a07532162fd5bae9f5fdeb8db6aa387b3561f14))
19+
* **api:** api update ([b58c907](https://github.com/whopio/whopsdk-python/commit/b58c9076dd96f7331a0823e67a98080ffde7fd84))
20+
* **api:** api update ([89272b8](https://github.com/whopio/whopsdk-python/commit/89272b8b4d56e340b0abef35e31ab5229b8774e2))
21+
* **api:** api update ([c14056f](https://github.com/whopio/whopsdk-python/commit/c14056f09395120228c63777a4fb6058c749554e))
22+
* **api:** api update ([5cd4bce](https://github.com/whopio/whopsdk-python/commit/5cd4bce514aca8e977962853cd893c7ca894ef1d))
23+
* **api:** api update ([04aff69](https://github.com/whopio/whopsdk-python/commit/04aff6912c172b8feb8a77cef1307367dc92024b))
24+
* **api:** api update ([14f70ba](https://github.com/whopio/whopsdk-python/commit/14f70ba9c46f4e1ba2a1ce8d46d909ccd03a6e53))
25+
* **api:** api update ([facc2cd](https://github.com/whopio/whopsdk-python/commit/facc2cd96bb3f768ef9abbd4741b404faa22799d))
26+
* **api:** api update ([8ce6e21](https://github.com/whopio/whopsdk-python/commit/8ce6e21f7ad5f60788c5893a9ab5e44527a3e5a3))
27+
* **api:** api update ([276cccd](https://github.com/whopio/whopsdk-python/commit/276cccdb59f941bdd583500c0e9bd06fbadd625a))
28+
* **api:** api update ([5455e76](https://github.com/whopio/whopsdk-python/commit/5455e76c4930b363fa57926f6cb4d0992f2d22c5))
29+
* **api:** api update ([1775fcc](https://github.com/whopio/whopsdk-python/commit/1775fcc4817e33121b05b94c85c174c98e1337ec))
30+
* **api:** api update ([dfa13e4](https://github.com/whopio/whopsdk-python/commit/dfa13e43bd1a95d5e9021649c46f52d7e3703a5a))
31+
* **api:** api update ([d5a04c8](https://github.com/whopio/whopsdk-python/commit/d5a04c802fa75da4c6b1d3745944009320660763))
32+
* **api:** api update ([ba2dabf](https://github.com/whopio/whopsdk-python/commit/ba2dabf97fa5a0b549d972d1e9ff611fcace74c5))
33+
* **api:** api update ([dd96830](https://github.com/whopio/whopsdk-python/commit/dd96830dce1e46bf9e5f907bc6ebf0f0353e292c))
34+
* **api:** api update ([fd4f731](https://github.com/whopio/whopsdk-python/commit/fd4f7310d29a6afce4887522c5093ac4ac353c48))
35+
* **api:** api update ([d5bba43](https://github.com/whopio/whopsdk-python/commit/d5bba4315347bc2f62ea5fae86e4bd9584143f5e))
36+
* **api:** api update ([74d602a](https://github.com/whopio/whopsdk-python/commit/74d602ab4ac90e2f40d0f72d3a8fba5295b0cd19))
37+
* **api:** manual updates ([aa65a34](https://github.com/whopio/whopsdk-python/commit/aa65a344708ee2c3c9bd85f173c269ccb0137a19))
38+
* **api:** manual updates ([52ada55](https://github.com/whopio/whopsdk-python/commit/52ada55af2d3ea3850c4dde4806891cf01b121ab))
39+
* **api:** manual updates ([9a90a94](https://github.com/whopio/whopsdk-python/commit/9a90a94d433b219d6856207d5599c082a3dd1fb7))
40+
* **api:** manual updates ([67c52f0](https://github.com/whopio/whopsdk-python/commit/67c52f06eda01276307ca7128b41e0d4e29cc5ca))
41+
* **api:** manual updates ([ab0118e](https://github.com/whopio/whopsdk-python/commit/ab0118ed7feaef4bf214278f4c66a5efb8f5acc7))
42+
* **api:** manual updates ([b64b28b](https://github.com/whopio/whopsdk-python/commit/b64b28b68e75927b63939d7b5f639d6bdab8688c))
43+
44+
45+
### Chores
46+
47+
* configure new SDK language ([827e22d](https://github.com/whopio/whopsdk-python/commit/827e22de2f1ea1fd134fbeb2d4868bc51c853b9f))
48+
* format all `api.md` files ([73274c4](https://github.com/whopio/whopsdk-python/commit/73274c422600d6f6dbad7452a1867da5db2513d3))
49+
* **internal:** bump dependencies ([f32b37b](https://github.com/whopio/whopsdk-python/commit/f32b37b41809ec559ac016979d0e803d43e0eab6))
50+
* **internal:** fix lint error on Python 3.14 ([0177552](https://github.com/whopio/whopsdk-python/commit/0177552c7f3c8b535977e85cad975a9ccac99ba6))
51+
352
## 0.0.26 (2026-02-03)
453

554
Full Changelog: [v0.1.0...v0.0.26](https://github.com/whopio/whopsdk-python/compare/v0.1.0...v0.0.26)

api.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Methods:
107107
Types:
108108

109109
```python
110-
from whop_sdk.types import ProductDeleteResponse
110+
from whop_sdk.types import IndustryGroups, ProductDeleteResponse
111111
```
112112

113113
Methods:
@@ -365,13 +365,14 @@ Methods:
365365
Types:
366366

367367
```python
368-
from whop_sdk.types import UserRetrieveResponse, UserCheckAccessResponse
368+
from whop_sdk.types import User, UserCheckAccessResponse
369369
```
370370

371371
Methods:
372372

373-
- <code title="get /users/{id}">client.users.<a href="./src/whop_sdk/resources/users.py">retrieve</a>(id) -> <a href="./src/whop_sdk/types/user_retrieve_response.py">UserRetrieveResponse</a></code>
373+
- <code title="get /users/{id}">client.users.<a href="./src/whop_sdk/resources/users.py">retrieve</a>(id) -> <a href="./src/whop_sdk/types/user.py">User</a></code>
374374
- <code title="get /users/{id}/access/{resource_id}">client.users.<a href="./src/whop_sdk/resources/users.py">check_access</a>(resource_id, \*, id) -> <a href="./src/whop_sdk/types/user_check_access_response.py">UserCheckAccessResponse</a></code>
375+
- <code title="patch /users/me">client.users.<a href="./src/whop_sdk/resources/users.py">update_profile</a>(\*\*<a href="src/whop_sdk/types/user_update_profile_params.py">params</a>) -> <a href="./src/whop_sdk/types/user.py">User</a></code>
375376

376377
# Payments
377378

@@ -798,8 +799,8 @@ Types:
798799

799800
```python
800801
from whop_sdk.types import (
801-
BotTokenTransactionTypes,
802802
CompanyTokenTransaction,
803+
CompanyTokenTransactionType,
803804
CompanyTokenTransactionListResponse,
804805
)
805806
```

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "whop-sdk"
3-
version = "0.0.26"
3+
version = "0.0.28"
44
description = "The official Python library for the Whop API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"
@@ -70,7 +70,7 @@ format = { chain = [
7070
# run formatting again to fix any inconsistencies when imports are stripped
7171
"format:ruff",
7272
]}
73-
"format:docs" = "python scripts/utils/ruffen-docs.py README.md api.md"
73+
"format:docs" = "bash -c 'python scripts/utils/ruffen-docs.py README.md $(find . -type f -name api.md)'"
7474
"format:ruff" = "ruff format"
7575

7676
"lint" = { chain = [

requirements-dev.lock

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
-e file:.
1313
aiohappyeyeballs==2.6.1
1414
# via aiohttp
15-
aiohttp==3.13.2
15+
aiohttp==3.13.3
1616
# via httpx-aiohttp
1717
# via whop-sdk
1818
aiosignal==1.4.0
1919
# via aiohttp
2020
annotated-types==0.7.0
2121
# via pydantic
22-
anyio==4.12.0
22+
anyio==4.12.1
2323
# via httpx
2424
# via whop-sdk
2525
argcomplete==3.6.3
@@ -32,7 +32,7 @@ attrs==25.4.0
3232
# via standardwebhooks
3333
backports-asyncio-runner==1.2.0
3434
# via pytest-asyncio
35-
certifi==2025.11.12
35+
certifi==2026.1.4
3636
# via httpcore
3737
# via httpx
3838
colorlog==6.10.1
@@ -65,15 +65,15 @@ httpx==0.28.1
6565
# via respx
6666
# via standardwebhooks
6767
# via whop-sdk
68-
httpx-aiohttp==0.1.9
68+
httpx-aiohttp==0.1.12
6969
# via whop-sdk
7070
humanize==4.13.0
7171
# via nox
7272
idna==3.11
7373
# via anyio
7474
# via httpx
7575
# via yarl
76-
importlib-metadata==8.7.0
76+
importlib-metadata==8.7.1
7777
iniconfig==2.1.0
7878
# via pytest
7979
markdown-it-py==3.0.0
@@ -86,14 +86,14 @@ multidict==6.7.0
8686
mypy==1.17.0
8787
mypy-extensions==1.1.0
8888
# via mypy
89-
nodeenv==1.9.1
89+
nodeenv==1.10.0
9090
# via pyright
9191
nox==2025.11.12
9292
packaging==25.0
9393
# via dependency-groups
9494
# via nox
9595
# via pytest
96-
pathspec==0.12.1
96+
pathspec==1.0.3
9797
# via mypy
9898
platformdirs==4.4.0
9999
# via virtualenv
@@ -120,20 +120,20 @@ python-dateutil==2.9.0.post0
120120
# via time-machine
121121
respx==0.22.0
122122
rich==14.2.0
123-
ruff==0.14.7
123+
ruff==0.14.13
124124
six==1.17.0
125125
# via python-dateutil
126126
sniffio==1.3.1
127127
# via whop-sdk
128128
standardwebhooks==1.0.0
129129
# via whop-sdk
130130
time-machine==2.19.0
131-
tomli==2.3.0
131+
tomli==2.4.0
132132
# via dependency-groups
133133
# via mypy
134134
# via nox
135135
# via pytest
136-
types-deprecated==1.2.15.20250304
136+
types-deprecated==1.3.1.20251101
137137
# via standardwebhooks
138138
types-python-dateutil==2.9.0.20251115
139139
# via standardwebhooks
@@ -152,7 +152,7 @@ typing-extensions==4.15.0
152152
# via whop-sdk
153153
typing-inspection==0.4.2
154154
# via pydantic
155-
virtualenv==20.35.4
155+
virtualenv==20.36.1
156156
# via nox
157157
wrapt==2.0.1
158158
# via deprecated

requirements.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,22 @@
1212
-e file:.
1313
aiohappyeyeballs==2.6.1
1414
# via aiohttp
15-
aiohttp==3.13.2
15+
aiohttp==3.13.3
1616
# via httpx-aiohttp
1717
# via whop-sdk
1818
aiosignal==1.4.0
1919
# via aiohttp
2020
annotated-types==0.7.0
2121
# via pydantic
22-
anyio==4.12.0
22+
anyio==4.12.1
2323
# via httpx
2424
# via whop-sdk
2525
async-timeout==5.0.1
2626
# via aiohttp
2727
attrs==25.4.0
2828
# via aiohttp
2929
# via standardwebhooks
30-
certifi==2025.11.12
30+
certifi==2026.1.4
3131
# via httpcore
3232
# via httpx
3333
deprecated==1.3.1
@@ -47,7 +47,7 @@ httpx==0.28.1
4747
# via httpx-aiohttp
4848
# via standardwebhooks
4949
# via whop-sdk
50-
httpx-aiohttp==0.1.9
50+
httpx-aiohttp==0.1.12
5151
# via whop-sdk
5252
idna==3.11
5353
# via anyio
@@ -71,7 +71,7 @@ sniffio==1.3.1
7171
# via whop-sdk
7272
standardwebhooks==1.0.0
7373
# via whop-sdk
74-
types-deprecated==1.2.15.20250304
74+
types-deprecated==1.3.1.20251101
7575
# via standardwebhooks
7676
types-python-dateutil==2.9.0.20251115
7777
# via standardwebhooks

src/whop_sdk/_utils/_compat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def is_union(tp: Optional[Type[Any]]) -> bool:
2626
else:
2727
import types
2828

29-
return tp is Union or tp is types.UnionType
29+
return tp is Union or tp is types.UnionType # type: ignore[comparison-overlap]
3030

3131

3232
def is_typeddict(tp: Type[Any]) -> bool:

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.26" # x-release-please-version
4+
__version__ = "0.0.28" # x-release-please-version

0 commit comments

Comments
 (0)