Skip to content

Commit aef4cbd

Browse files
author
ks-release-bot
committed
chore(release): regenerate ksapi v1.158.1 from ks-backend
1 parent 1c63a17 commit aef4cbd

7 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎docs/DocumentVersionMetadata.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ Name | Type | Description | Notes
2626
**xlsx_kpi_catalog** | **List[Dict[str, object]]** | KPI (Key Performance Indicator) cells detected by the XLSX parser. Each entry contains a label, computed value, cell address, and driver cell references. Applicable to financial models and operational spreadsheets; not populated for template spreadsheets that lack computed KPI cells. | [optional]
2727
**citation_anchors** | [**List[XlsxCellAnchorOutputOrDocxParagraphAnchorOutput]**](XlsxCellAnchorOutputOrDocxParagraphAnchorOutput.md) | In-file citation anchors for agent-generated .xlsx/.docx deliverables. Each anchor binds an in-file location (cell or paragraph) to the chunk IDs cited there. Populated by ks_upload_from_sandbox during upload; ``null`` for versions ingested before this field shipped or for files re-uploaded outside the agent flow. FE enriches chunks via /v1/chunks/bulk. | [optional]
2828
**information_statistics** | [**InformationStatistics**](InformationStatistics.md) | Aggregate statistics for the document version (tokens, chunk counts, depth) | [optional]
29-
**quota_charged** | **bool** | True once the conversion activity successfully consumed PAGE quota | [optional] [default to False]
29+
**quota_charged** | **bool** | Diagnostics only — nothing reads it and nothing refunds. Kept for pre-existing rows that carry it. | [optional] [default to False]
3030
**quota_page_count** | **int** | Page quantity charged at conversion start; 0 if not yet charged | [optional] [default to 0]
3131
**quota_media_minutes** | **int** | MEDIA_MINUTE quantity charged at media preparation; 0 if not yet charged | [optional] [default to 0]
32-
**quota_idempotency_key** | **str** | Stable consume key (matches workflow_id); 'UNSET' for pre-Phase-2 docs so refund logic short-circuits | [optional] [default to 'UNSET']
32+
**quota_idempotency_key** | **str** | Stable consume key (matches workflow_id) written for diagnostics/audit; 'UNSET' when no consume was committed | [optional] [default to 'UNSET']
3333
**file_md5** | **str** | MD5 of source bytes; 'UNSET' for pre-Phase-2 docs, real hex digest after first prep run | [optional] [default to 'UNSET']
3434
**idempotency_key** | **str** | Opt-in create key. A repeat ingest with the same key at the same (parent, name) replays this document instead of colliding — makes a ZIP fan-out member retry idempotent. | [optional]
3535

‎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.158.0"
17+
__version__ = "1.158.1"
1818

1919
# Define package exports
2020
__all__ = [

‎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.158.0/python'
94+
self.user_agent = 'OpenAPI-Generator/1.158.1/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.158.0".\
565+
"SDK Package Version: 1.158.1".\
566566
format(env=sys.platform, pyversion=sys.version)
567567

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

‎ksapi/models/document_version_metadata.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ class DocumentVersionMetadata(BaseModel):
5050
xlsx_kpi_catalog: Optional[List[Dict[str, Any]]] = Field(default=None, description="KPI (Key Performance Indicator) cells detected by the XLSX parser. Each entry contains a label, computed value, cell address, and driver cell references. Applicable to financial models and operational spreadsheets; not populated for template spreadsheets that lack computed KPI cells.")
5151
citation_anchors: Optional[List[XlsxCellAnchorOutputOrDocxParagraphAnchorOutput]] = Field(default=None, description="In-file citation anchors for agent-generated .xlsx/.docx deliverables. Each anchor binds an in-file location (cell or paragraph) to the chunk IDs cited there. Populated by ks_upload_from_sandbox during upload; ``null`` for versions ingested before this field shipped or for files re-uploaded outside the agent flow. FE enriches chunks via /v1/chunks/bulk.")
5252
information_statistics: Optional[InformationStatistics] = Field(default=None, description="Aggregate statistics for the document version (tokens, chunk counts, depth)")
53-
quota_charged: Optional[StrictBool] = Field(default=False, description="True once the conversion activity successfully consumed PAGE quota")
53+
quota_charged: Optional[StrictBool] = Field(default=False, description="Diagnostics only — nothing reads it and nothing refunds. Kept for pre-existing rows that carry it.")
5454
quota_page_count: Optional[StrictInt] = Field(default=0, description="Page quantity charged at conversion start; 0 if not yet charged")
5555
quota_media_minutes: Optional[StrictInt] = Field(default=0, description="MEDIA_MINUTE quantity charged at media preparation; 0 if not yet charged")
56-
quota_idempotency_key: Optional[StrictStr] = Field(default='UNSET', description="Stable consume key (matches workflow_id); 'UNSET' for pre-Phase-2 docs so refund logic short-circuits")
56+
quota_idempotency_key: Optional[StrictStr] = Field(default='UNSET', description="Stable consume key (matches workflow_id) written for diagnostics/audit; 'UNSET' when no consume was committed")
5757
file_md5: Optional[StrictStr] = Field(default='UNSET', description="MD5 of source bytes; 'UNSET' for pre-Phase-2 docs, real hex digest after first prep run")
5858
idempotency_key: Optional[StrictStr] = Field(default=None, description="Opt-in create key. A repeat ingest with the same key at the same (parent, name) replays this document instead of colliding — makes a ZIP fan-out member retry idempotent.")
5959
additional_properties: Dict[str, Any] = {}

‎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.158.0"
3+
version = "1.158.1"
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.158.0"
22+
VERSION = "1.158.1"
2323
PYTHON_REQUIRES = ">= 3.9"
2424
REQUIRES = [
2525
"urllib3 >= 2.1.0, < 3.0.0",

0 commit comments

Comments
 (0)