Skip to content

Commit 66b13f7

Browse files
release: 1.14.0 (#62)
* feat(api): api update * feat(api): api update * feat(api): manual updates updates `shared` to be `$shared` in api reference * feat(api): api update * release: 1.14.0 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent 1e57d3b commit 66b13f7

23 files changed

+61
-42
lines changed

.release-please-manifest.json

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

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 89
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/knock%2Fknock-9971ba6348f3ffc2a607ebe5655b9df917916150ca0ba85de53c162a07e689b1.yml
3-
openapi_spec_hash: 71828f7634a08410d2d1eb2ee6ead90a
4-
config_hash: 9dc38647849223e579325a016fc5eeb4
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/knock%2Fknock-fe051300804a0ee8b0212b288cec99c00918e570f4c4b8852f3f4a27afdddd1c.yml
3+
openapi_spec_hash: d2f75f52ceb88b56e4fcf58bf876fe44
4+
config_hash: 658c551418df454aa40794f8ac679c18

CHANGELOG.md

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

3+
## 1.14.0 (2025-10-07)
4+
5+
Full Changelog: [v1.13.0...v1.14.0](https://github.com/knocklabs/knock-python/compare/v1.13.0...v1.14.0)
6+
7+
### Features
8+
9+
* **api:** api update ([fe14edf](https://github.com/knocklabs/knock-python/commit/fe14edf7b69eebbfea722f31c0a0d7ac028d4517))
10+
* **api:** api update ([d9cfdc9](https://github.com/knocklabs/knock-python/commit/d9cfdc93c4b1a982872da71df168e135bc521693))
11+
* **api:** api update ([70ea482](https://github.com/knocklabs/knock-python/commit/70ea482aac100dca502cd0e4d20e08c5ad17026b))
12+
* **api:** manual updates ([1d338af](https://github.com/knocklabs/knock-python/commit/1d338af6eecf41a07c4aa178ce0363cdf17a5b0a))
13+
314
## 1.13.0 (2025-09-24)
415

516
Full Changelog: [v1.12.1...v1.13.0](https://github.com/knocklabs/knock-python/compare/v1.12.1...v1.13.0)

api.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
# Shared
2-
3-
Types:
1+
# Shared Types
42

53
```python
64
from knockapi.types import Condition, PageInfo

pyproject.toml

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

src/knockapi/_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__ = "knockapi"
4-
__version__ = "1.13.0" # x-release-please-version
4+
__version__ = "1.14.0" # x-release-please-version

src/knockapi/resources/audiences.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def add_members(
6060
Adds one or more members to the specified audience.
6161
6262
Args:
63-
members: A list of audience members to add.
63+
members: A list of audience members to add. Limited to 1,000 members per request.
6464
6565
extra_headers: Send extra headers
6666
@@ -204,7 +204,7 @@ async def add_members(
204204
Adds one or more members to the specified audience.
205205
206206
Args:
207-
members: A list of audience members to add.
207+
members: A list of audience members to add. Limited to 1,000 members per request.
208208
209209
extra_headers: Send extra headers
210210

src/knockapi/resources/tenants/bulk.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,10 @@ def delete(
5454
timeout: float | httpx.Timeout | None | NotGiven = not_given,
5555
idempotency_key: str | None = None,
5656
) -> BulkOperation:
57-
"""Delete multiple tenants in a single operation.
57+
"""Delete up to 100 tenants at a time in a single operation.
5858
59-
This operation cannot be undone.
59+
This operation cannot
60+
be undone.
6061
6162
Args:
6263
tenant_ids: The IDs of the tenants to delete.
@@ -97,7 +98,7 @@ def set(
9798
idempotency_key: str | None = None,
9899
) -> BulkOperation:
99100
"""
100-
Set or update up to 1,000 tenants in a single operation.
101+
Set or update up to 100 tenants in a single operation.
101102
102103
Args:
103104
tenants: The tenants to be upserted.
@@ -158,9 +159,10 @@ async def delete(
158159
timeout: float | httpx.Timeout | None | NotGiven = not_given,
159160
idempotency_key: str | None = None,
160161
) -> BulkOperation:
161-
"""Delete multiple tenants in a single operation.
162+
"""Delete up to 100 tenants at a time in a single operation.
162163
163-
This operation cannot be undone.
164+
This operation cannot
165+
be undone.
164166
165167
Args:
166168
tenant_ids: The IDs of the tenants to delete.
@@ -201,7 +203,7 @@ async def set(
201203
idempotency_key: str | None = None,
202204
) -> BulkOperation:
203205
"""
204-
Set or update up to 1,000 tenants in a single operation.
206+
Set or update up to 100 tenants in a single operation.
205207
206208
Args:
207209
tenants: The tenants to be upserted.

src/knockapi/types/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,15 @@
44

55
from .user import User as User
66
from .object import Object as Object
7+
from .shared import PageInfo as PageInfo, Condition as Condition
78
from .tenant import Tenant as Tenant
89
from .message import Message as Message
910
from .activity import Activity as Activity
1011
from .schedule import Schedule as Schedule
11-
from .condition import Condition as Condition
12-
from .page_info import PageInfo as PageInfo
1312
from .recipient import Recipient as Recipient
1413
from .message_event import MessageEvent as MessageEvent
1514
from .bulk_operation import BulkOperation as BulkOperation
1615
from .audience_member import AudienceMember as AudienceMember
17-
from .condition_param import ConditionParam as ConditionParam
1816
from .user_list_params import UserListParams as UserListParams
1917
from .object_set_params import ObjectSetParams as ObjectSetParams
2018
from .tenant_set_params import TenantSetParams as TenantSetParams

src/knockapi/types/audience_add_members_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
class AudienceAddMembersParams(TypedDict, total=False):
1212
members: Required[Iterable[Member]]
13-
"""A list of audience members to add."""
13+
"""A list of audience members to add. Limited to 1,000 members per request."""
1414

1515

1616
class MemberUser(TypedDict, total=False):

0 commit comments

Comments
 (0)