Skip to content

Commit 20a409c

Browse files
author
ks-release-bot
committed
chore(release): regenerate ksapi v1.161.0 from ks-backend
1 parent 8ece2c1 commit 20a409c

7 files changed

Lines changed: 33 additions & 10 deletions

File tree

‎docs/PathPartsApi.md‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,7 @@ Name | Type | Description | Notes
676676
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
677677

678678
# **list_path_part_events**
679-
> PaginatedResponseEventResponse list_path_part_events(path_part_id, kind=kind, since=since, until=until, recursive=recursive, limit=limit, offset=offset)
679+
> PaginatedResponseEventResponse list_path_part_events(path_part_id, kind=kind, since=since, until=until, recursive=recursive, include_churn=include_churn, limit=limit, offset=offset)
680680
681681
List Path Part Events Handler
682682

@@ -691,6 +691,10 @@ When ``recursive=True``, events on any descendant of the subject
691691
are included — useful for "all events under this folder" or "all
692692
events under this workflow definition".
693693

694+
By default the feed collapses intra-document churn to match the
695+
tenant-wide admin view; pass ``include_churn=True`` for the complete
696+
forensic feed (the agent's ``list_events`` tool does this).
697+
694698
### Example
695699

696700
* Api Key Authentication (cookieAuth):
@@ -733,12 +737,13 @@ with ksapi.ApiClient(configuration) as api_client:
733737
since = '2013-10-20T19:20:30+01:00' # datetime | Only events at or after this timestamp (optional)
734738
until = '2013-10-20T19:20:30+01:00' # datetime | Only events strictly before this timestamp (optional)
735739
recursive = False # bool | Include events from descendant path_parts as well as the subject itself (optional) (default to False)
740+
include_churn = False # bool | Include intra-document churn hidden by default (raw chunk/section edits, version-metadata updates, and the v0 version-created row). Off by default so one upload / one logical edit shows as one event; ignored when an explicit kind is set. (optional) (default to False)
736741
limit = 20 # int | Number of items per page (optional) (default to 20)
737742
offset = 0 # int | Number of items to skip (optional) (default to 0)
738743

739744
try:
740745
# List Path Part Events Handler
741-
api_response = api_instance.list_path_part_events(path_part_id, kind=kind, since=since, until=until, recursive=recursive, limit=limit, offset=offset)
746+
api_response = api_instance.list_path_part_events(path_part_id, kind=kind, since=since, until=until, recursive=recursive, include_churn=include_churn, limit=limit, offset=offset)
742747
print("The response of PathPartsApi->list_path_part_events:\n")
743748
pprint(api_response)
744749
except Exception as e:
@@ -757,6 +762,7 @@ Name | Type | Description | Notes
757762
**since** | **datetime**| Only events at or after this timestamp | [optional]
758763
**until** | **datetime**| Only events strictly before this timestamp | [optional]
759764
**recursive** | **bool**| Include events from descendant path_parts as well as the subject itself | [optional] [default to False]
765+
**include_churn** | **bool**| Include intra-document churn hidden by default (raw chunk/section edits, version-metadata updates, and the v0 version-created row). Off by default so one upload / one logical edit shows as one event; ignored when an explicit kind is set. | [optional] [default to False]
760766
**limit** | **int**| Number of items per page | [optional] [default to 20]
761767
**offset** | **int**| Number of items to skip | [optional] [default to 0]
762768

‎ksapi/__init__.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
""" # noqa: E501
1515

1616

17-
__version__ = "1.160.2"
17+
__version__ = "1.161.0"
1818

1919
# Define package exports
2020
__all__ = [

‎ksapi/api/path_parts_api.py‎

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2025,6 +2025,7 @@ def list_path_part_events(
20252025
since: Annotated[Optional[datetime], Field(description="Only events at or after this timestamp")] = None,
20262026
until: Annotated[Optional[datetime], Field(description="Only events strictly before this timestamp")] = None,
20272027
recursive: Annotated[Optional[StrictBool], Field(description="Include events from descendant path_parts as well as the subject itself")] = None,
2028+
include_churn: Annotated[Optional[StrictBool], Field(description="Include intra-document churn hidden by default (raw chunk/section edits, version-metadata updates, and the v0 version-created row). Off by default so one upload / one logical edit shows as one event; ignored when an explicit kind is set.")] = None,
20282029
limit: Annotated[Optional[Annotated[int, Field(le=100, strict=True, ge=1)]], Field(description="Number of items per page")] = None,
20292030
offset: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of items to skip")] = None,
20302031
_request_timeout: Union[
@@ -2042,7 +2043,7 @@ def list_path_part_events(
20422043
) -> PaginatedResponseEventResponse:
20432044
"""List Path Part Events Handler
20442045
2045-
List events anchored to a specific path_part subject. Subject permission is enforced via the existing ``PathPermissionService`` — caller must have ``can_read`` on the subject's materialized_path (OWNER/ADMIN bypass). Events are ordered newest-first by ``ts`` and paginated. When ``recursive=True``, events on any descendant of the subject are included — useful for \"all events under this folder\" or \"all events under this workflow definition\".
2046+
List events anchored to a specific path_part subject. Subject permission is enforced via the existing ``PathPermissionService`` — caller must have ``can_read`` on the subject's materialized_path (OWNER/ADMIN bypass). Events are ordered newest-first by ``ts`` and paginated. When ``recursive=True``, events on any descendant of the subject are included — useful for \"all events under this folder\" or \"all events under this workflow definition\". By default the feed collapses intra-document churn to match the tenant-wide admin view; pass ``include_churn=True`` for the complete forensic feed (the agent's ``list_events`` tool does this).
20462047
20472048
:param path_part_id: (required)
20482049
:type path_part_id: UUID
@@ -2054,6 +2055,8 @@ def list_path_part_events(
20542055
:type until: datetime
20552056
:param recursive: Include events from descendant path_parts as well as the subject itself
20562057
:type recursive: bool
2058+
:param include_churn: Include intra-document churn hidden by default (raw chunk/section edits, version-metadata updates, and the v0 version-created row). Off by default so one upload / one logical edit shows as one event; ignored when an explicit kind is set.
2059+
:type include_churn: bool
20572060
:param limit: Number of items per page
20582061
:type limit: int
20592062
:param offset: Number of items to skip
@@ -2086,6 +2089,7 @@ def list_path_part_events(
20862089
since=since,
20872090
until=until,
20882091
recursive=recursive,
2092+
include_churn=include_churn,
20892093
limit=limit,
20902094
offset=offset,
20912095
_request_auth=_request_auth,
@@ -2117,6 +2121,7 @@ def list_path_part_events_with_http_info(
21172121
since: Annotated[Optional[datetime], Field(description="Only events at or after this timestamp")] = None,
21182122
until: Annotated[Optional[datetime], Field(description="Only events strictly before this timestamp")] = None,
21192123
recursive: Annotated[Optional[StrictBool], Field(description="Include events from descendant path_parts as well as the subject itself")] = None,
2124+
include_churn: Annotated[Optional[StrictBool], Field(description="Include intra-document churn hidden by default (raw chunk/section edits, version-metadata updates, and the v0 version-created row). Off by default so one upload / one logical edit shows as one event; ignored when an explicit kind is set.")] = None,
21202125
limit: Annotated[Optional[Annotated[int, Field(le=100, strict=True, ge=1)]], Field(description="Number of items per page")] = None,
21212126
offset: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of items to skip")] = None,
21222127
_request_timeout: Union[
@@ -2134,7 +2139,7 @@ def list_path_part_events_with_http_info(
21342139
) -> ApiResponse[PaginatedResponseEventResponse]:
21352140
"""List Path Part Events Handler
21362141
2137-
List events anchored to a specific path_part subject. Subject permission is enforced via the existing ``PathPermissionService`` — caller must have ``can_read`` on the subject's materialized_path (OWNER/ADMIN bypass). Events are ordered newest-first by ``ts`` and paginated. When ``recursive=True``, events on any descendant of the subject are included — useful for \"all events under this folder\" or \"all events under this workflow definition\".
2142+
List events anchored to a specific path_part subject. Subject permission is enforced via the existing ``PathPermissionService`` — caller must have ``can_read`` on the subject's materialized_path (OWNER/ADMIN bypass). Events are ordered newest-first by ``ts`` and paginated. When ``recursive=True``, events on any descendant of the subject are included — useful for \"all events under this folder\" or \"all events under this workflow definition\". By default the feed collapses intra-document churn to match the tenant-wide admin view; pass ``include_churn=True`` for the complete forensic feed (the agent's ``list_events`` tool does this).
21382143
21392144
:param path_part_id: (required)
21402145
:type path_part_id: UUID
@@ -2146,6 +2151,8 @@ def list_path_part_events_with_http_info(
21462151
:type until: datetime
21472152
:param recursive: Include events from descendant path_parts as well as the subject itself
21482153
:type recursive: bool
2154+
:param include_churn: Include intra-document churn hidden by default (raw chunk/section edits, version-metadata updates, and the v0 version-created row). Off by default so one upload / one logical edit shows as one event; ignored when an explicit kind is set.
2155+
:type include_churn: bool
21492156
:param limit: Number of items per page
21502157
:type limit: int
21512158
:param offset: Number of items to skip
@@ -2178,6 +2185,7 @@ def list_path_part_events_with_http_info(
21782185
since=since,
21792186
until=until,
21802187
recursive=recursive,
2188+
include_churn=include_churn,
21812189
limit=limit,
21822190
offset=offset,
21832191
_request_auth=_request_auth,
@@ -2209,6 +2217,7 @@ def list_path_part_events_without_preload_content(
22092217
since: Annotated[Optional[datetime], Field(description="Only events at or after this timestamp")] = None,
22102218
until: Annotated[Optional[datetime], Field(description="Only events strictly before this timestamp")] = None,
22112219
recursive: Annotated[Optional[StrictBool], Field(description="Include events from descendant path_parts as well as the subject itself")] = None,
2220+
include_churn: Annotated[Optional[StrictBool], Field(description="Include intra-document churn hidden by default (raw chunk/section edits, version-metadata updates, and the v0 version-created row). Off by default so one upload / one logical edit shows as one event; ignored when an explicit kind is set.")] = None,
22122221
limit: Annotated[Optional[Annotated[int, Field(le=100, strict=True, ge=1)]], Field(description="Number of items per page")] = None,
22132222
offset: Annotated[Optional[Annotated[int, Field(strict=True, ge=0)]], Field(description="Number of items to skip")] = None,
22142223
_request_timeout: Union[
@@ -2226,7 +2235,7 @@ def list_path_part_events_without_preload_content(
22262235
) -> RESTResponseType:
22272236
"""List Path Part Events Handler
22282237
2229-
List events anchored to a specific path_part subject. Subject permission is enforced via the existing ``PathPermissionService`` — caller must have ``can_read`` on the subject's materialized_path (OWNER/ADMIN bypass). Events are ordered newest-first by ``ts`` and paginated. When ``recursive=True``, events on any descendant of the subject are included — useful for \"all events under this folder\" or \"all events under this workflow definition\".
2238+
List events anchored to a specific path_part subject. Subject permission is enforced via the existing ``PathPermissionService`` — caller must have ``can_read`` on the subject's materialized_path (OWNER/ADMIN bypass). Events are ordered newest-first by ``ts`` and paginated. When ``recursive=True``, events on any descendant of the subject are included — useful for \"all events under this folder\" or \"all events under this workflow definition\". By default the feed collapses intra-document churn to match the tenant-wide admin view; pass ``include_churn=True`` for the complete forensic feed (the agent's ``list_events`` tool does this).
22302239
22312240
:param path_part_id: (required)
22322241
:type path_part_id: UUID
@@ -2238,6 +2247,8 @@ def list_path_part_events_without_preload_content(
22382247
:type until: datetime
22392248
:param recursive: Include events from descendant path_parts as well as the subject itself
22402249
:type recursive: bool
2250+
:param include_churn: Include intra-document churn hidden by default (raw chunk/section edits, version-metadata updates, and the v0 version-created row). Off by default so one upload / one logical edit shows as one event; ignored when an explicit kind is set.
2251+
:type include_churn: bool
22412252
:param limit: Number of items per page
22422253
:type limit: int
22432254
:param offset: Number of items to skip
@@ -2270,6 +2281,7 @@ def list_path_part_events_without_preload_content(
22702281
since=since,
22712282
until=until,
22722283
recursive=recursive,
2284+
include_churn=include_churn,
22732285
limit=limit,
22742286
offset=offset,
22752287
_request_auth=_request_auth,
@@ -2296,6 +2308,7 @@ def _list_path_part_events_serialize(
22962308
since,
22972309
until,
22982310
recursive,
2311+
include_churn,
22992312
limit,
23002313
offset,
23012314
_request_auth,
@@ -2356,6 +2369,10 @@ def _list_path_part_events_serialize(
23562369

23572370
_query_params.append(('recursive', recursive))
23582371

2372+
if include_churn is not None:
2373+
2374+
_query_params.append(('include_churn', include_churn))
2375+
23592376
if limit is not None:
23602377

23612378
_query_params.append(('limit', limit))

‎ksapi/api_client.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def __init__(
9191
self.default_headers[header_name] = header_value
9292
self.cookie = cookie
9393
# Set default User-Agent.
94-
self.user_agent = 'OpenAPI-Generator/1.160.2/python'
94+
self.user_agent = 'OpenAPI-Generator/1.161.0/python'
9595
self.client_side_validation = configuration.client_side_validation
9696

9797
def __enter__(self):

‎ksapi/configuration.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ def to_debug_report(self) -> str:
562562
"OS: {env}\n"\
563563
"Python Version: {pyversion}\n"\
564564
"Version of the API: 0.1.0\n"\
565-
"SDK Package Version: 1.160.2".\
565+
"SDK Package Version: 1.161.0".\
566566
format(env=sys.platform, pyversion=sys.version)
567567

568568
def get_host_settings(self) -> List[HostSetting]:

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "ksapi"
3-
version = "1.160.2"
3+
version = "1.161.0"
44
description = "Knowledge Stack API"
55
authors = [
66
{name = "OpenAPI Generator Community",email = "team@openapitools.org"},

‎setup.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
# prerequisite: setuptools
2020
# http://pypi.python.org/pypi/setuptools
2121
NAME = "ksapi"
22-
VERSION = "1.160.2"
22+
VERSION = "1.161.0"
2323
PYTHON_REQUIRES = ">= 3.9"
2424
REQUIRES = [
2525
"urllib3 >= 2.1.0, < 3.0.0",

0 commit comments

Comments
 (0)