Skip to content

Commit 84a1952

Browse files
author
ks-release-bot
committed
chore(release): regenerate ksapi v3.8.0 from ks-backend
1 parent a9e81b5 commit 84a1952

39 files changed

Lines changed: 55 additions & 638 deletions

‎.openapi-generator/FILES‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,6 @@ docs/DocxParagraphAnchorInput.md
157157
docs/DocxParagraphAnchorOutput.md
158158
docs/DownloadArtifact.md
159159
docs/EditMemoryChunkRequest.md
160-
docs/EmailMetadata.md
161-
docs/EmailParty.md
162160
docs/EmailSentResponse.md
163161
docs/EmailVerificationRequest.md
164162
docs/EnrichedCitation.md
@@ -639,8 +637,6 @@ ksapi/models/docx_paragraph_anchor_input.py
639637
ksapi/models/docx_paragraph_anchor_output.py
640638
ksapi/models/download_artifact.py
641639
ksapi/models/edit_memory_chunk_request.py
642-
ksapi/models/email_metadata.py
643-
ksapi/models/email_party.py
644640
ksapi/models/email_sent_response.py
645641
ksapi/models/email_verification_request.py
646642
ksapi/models/enriched_citation.py
@@ -1073,8 +1069,6 @@ test/test_docx_paragraph_anchor_input.py
10731069
test/test_docx_paragraph_anchor_output.py
10741070
test/test_download_artifact.py
10751071
test/test_edit_memory_chunk_request.py
1076-
test/test_email_metadata.py
1077-
test/test_email_party.py
10781072
test/test_email_sent_response.py
10791073
test/test_email_verification_request.py
10801074
test/test_enriched_citation.py

‎docs/DocumentVersionMetadata.md‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ Name | Type | Description | Notes
2020
**duration_ms** | **int** | Media (audio/video) duration in milliseconds; null for non-media | [optional]
2121
**language** | **str** | ASR-detected language of the media transcript, as returned by the ASR provider; null for non-media or when the provider omits it | [optional]
2222
**segment_count** | **int** | Number of transcript segments produced by ASR; null for non-media | [optional]
23-
**email** | [**EmailMetadata**](EmailMetadata.md) | Structured email headers; null for non-email documents | [optional]
2423
**total_formulas** | **int** | Total formula cells in the workbook (XLSX only) | [optional]
2524
**xlsx_parse_result_s3** | **str** | S3 URI to the full XLSX parse result JSON containing dependency graph, named ranges, and KPI catalog | [optional]
2625
**xlsx_named_ranges** | **List[Dict[str, object]]** | Named ranges defined in the workbook (name, ref_string, scope) | [optional]

‎docs/DocumentVersionMetadataUpdate.md‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ Name | Type | Description | Notes
2323
**duration_ms** | **int** | | [optional]
2424
**language** | **str** | | [optional]
2525
**segment_count** | **int** | | [optional]
26-
**email** | [**EmailMetadata**](EmailMetadata.md) | | [optional]
2726
**total_formulas** | **int** | | [optional]
2827
**xlsx_parse_result_s3** | **str** | | [optional]
2928
**xlsx_named_ranges** | **List[Dict[str, object]]** | | [optional]

‎docs/DocumentsApi.md‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -732,7 +732,7 @@ Name | Type | Description | Notes
732732
[[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)
733733

734734
# **ingest_document**
735-
> IngestDocumentResponse ingest_document(file, path_part_id, name=name, tag_ids=tag_ids, idempotency_key=idempotency_key, email_nesting_depth=email_nesting_depth, ingestion_mode=ingestion_mode, chunk_type=chunk_type, secondary_taxonomy=secondary_taxonomy, page_dpi=page_dpi, workflow_run_id=workflow_run_id, workflow_definition_id=workflow_definition_id)
735+
> IngestDocumentResponse ingest_document(file, path_part_id, name=name, tag_ids=tag_ids, idempotency_key=idempotency_key, ingestion_mode=ingestion_mode, chunk_type=chunk_type, secondary_taxonomy=secondary_taxonomy, page_dpi=page_dpi, workflow_run_id=workflow_run_id, workflow_definition_id=workflow_definition_id)
736736
737737
Ingest Document Handler
738738

@@ -788,7 +788,6 @@ with ksapi.ApiClient(configuration) as api_client:
788788
name = 'name_example' # str | Document name (defaults to filename) (optional)
789789
tag_ids = None # List[UUID] | Tag IDs applied to the created document. (optional)
790790
idempotency_key = 'idempotency_key_example' # str | Opt-in key: a repeat with the same key at the same (parent, name) replays the existing document instead of a 409. (optional)
791-
email_nesting_depth = 0 # int | Internal: set by the email member fan-out when a nested email re-enters this endpoint. Leave at 0 for direct uploads. (optional) (default to 0)
792791
ingestion_mode = ksapi.IngestionMode() # IngestionMode | (optional)
793792
chunk_type = ksapi.ChunkType() # ChunkType | (optional)
794793
secondary_taxonomy = ksapi.ImageTaxonomy() # ImageTaxonomy | (optional)
@@ -798,7 +797,7 @@ with ksapi.ApiClient(configuration) as api_client:
798797

799798
try:
800799
# Ingest Document Handler
801-
api_response = api_instance.ingest_document(file, path_part_id, name=name, tag_ids=tag_ids, idempotency_key=idempotency_key, email_nesting_depth=email_nesting_depth, ingestion_mode=ingestion_mode, chunk_type=chunk_type, secondary_taxonomy=secondary_taxonomy, page_dpi=page_dpi, workflow_run_id=workflow_run_id, workflow_definition_id=workflow_definition_id)
800+
api_response = api_instance.ingest_document(file, path_part_id, name=name, tag_ids=tag_ids, idempotency_key=idempotency_key, ingestion_mode=ingestion_mode, chunk_type=chunk_type, secondary_taxonomy=secondary_taxonomy, page_dpi=page_dpi, workflow_run_id=workflow_run_id, workflow_definition_id=workflow_definition_id)
802801
print("The response of DocumentsApi->ingest_document:\n")
803802
pprint(api_response)
804803
except Exception as e:
@@ -817,7 +816,6 @@ Name | Type | Description | Notes
817816
**name** | **str**| Document name (defaults to filename) | [optional]
818817
**tag_ids** | [**List[UUID]**](UUID.md)| Tag IDs applied to the created document. | [optional]
819818
**idempotency_key** | **str**| Opt-in key: a repeat with the same key at the same (parent, name) replays the existing document instead of a 409. | [optional]
820-
**email_nesting_depth** | **int**| Internal: set by the email member fan-out when a nested email re-enters this endpoint. Leave at 0 for direct uploads. | [optional] [default to 0]
821819
**ingestion_mode** | [**IngestionMode**](IngestionMode.md)| | [optional]
822820
**chunk_type** | [**ChunkType**](ChunkType.md)| | [optional]
823821
**secondary_taxonomy** | [**ImageTaxonomy**](ImageTaxonomy.md)| | [optional]
@@ -860,6 +858,9 @@ Requires an active document checkout held by the caller. Acquire one via
860858
this returns 409 Conflict ("A document checkout is required to edit this
861859
document.").
862860

861+
The file must be the document's type (a PDF document takes only PDF
862+
versions; ``.md`` and ``.txt`` are both PLAINTEXT); any other type is a 400.
863+
863864
Creates a new document version (incrementing the highest version number),
864865
uploads the file to S3, and starts the ingestion workflow. Upon successful
865866
ingestion, the new version is automatically activated (set as the document's

‎docs/EmailMetadata.md‎

Lines changed: 0 additions & 41 deletions
This file was deleted.

‎docs/EmailParty.md‎

Lines changed: 0 additions & 31 deletions
This file was deleted.

‎docs/IngestDocumentResponse.md‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ Name | Type | Description | Notes
99
**workflow_id** | **str** | Temporal workflow ID |
1010
**document_id** | **UUID** | |
1111
**document_version_id** | **UUID** | |
12-
**folder_id** | **UUID** | Folder created to hold this upload and its members. Set for email uploads, which always nest inside their own folder; null for every other type, which ingest directly into path_part_id. | [optional]
13-
**attachment_count** | **int** | Members found on an email upload, each becoming its own document beside the email: the attachments of a single message, or the messages of an .mbox archive (whose own attachments are then expanded one level deeper). Always 0 for non-email uploads. Null for a .pst, whose members are enumerated only by the worker fan-out — poll attachment_workflow_id for per-member outcomes. | [optional]
14-
**attachment_workflow_id** | **str** | Fan-out workflow ingesting the members. Poll GET /v1/system-jobs/zip-ingestions/{id} for per-member outcomes. Null when the upload had no ingestible members. | [optional]
1512

1613
## Example
1714

‎docs/PipelineState.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,14 @@ Name | Type | Description | Notes
99
**status** | [**PipelineStatus**](PipelineStatus.md) | |
1010
**last_run_timestamp** | **datetime** | Timestamp of the last pipeline execution attempt (set once when a run starts) | [optional]
1111
**last_state_update_timestamp** | **datetime** | Timestamp of the last pipeline state change (set by activities) | [optional]
12-
**last_activity** | **str** | Name of the last activity that executed (e.g., 'document_preparation') | [optional]
12+
**last_activity** | **str** | Name of the last activity that executed (e.g., 'pdf_preparation_activity') | [optional]
1313
**error** | **str** | Error message if pipeline failed | [optional]
1414
**temporal_workflow_id** | **str** | Temporal workflow ID for tracking the ingestion run | [optional]
1515
**chunks_processed** | **int** | Number of chunks processed (for progress tracking) | [optional]
1616
**page_dpi** | **int** | DPI used for PDF page screenshots during ingestion | [optional]
1717
**ingestion_mode** | [**IngestionMode**](IngestionMode.md) | | [optional]
1818
**chunk_type** | [**ChunkType**](ChunkType.md) | | [optional]
19+
**secondary_taxonomy** | [**ImageTaxonomy**](ImageTaxonomy.md) | | [optional]
1920

2021
## Example
2122

‎docs/SystemJobsApi.md‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -371,11 +371,7 @@ Name | Type | Description | Notes
371371
372372
Get Zip Ingestion Status Handler
373373

374-
Get a fan-out's live status + per-member outcomes.
375-
376-
Serves both container fan-outs: a ZIP archive's members and an email's
377-
attachments. Both expose the same ``results`` query, so one endpoint covers
378-
them rather than duplicating the tenant check and hydration.
374+
Get a ZIP fan-out's live status + per-member outcomes.
379375

380376
Tenant-scoped via the TenantId search attribute (no per-path can_read check —
381377
intentionally consistent with the sibling generic Temporal endpoints below;

‎docs/UploadFormat.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**extension** | **str** | |
99
**content_type** | **str** | |
10+
**max_bytes** | **int** | Largest file of this format the buffered uploads accept (new document, new version, ZIP member, workflow-run file). A new audio/video document uses the resumable upload, capped at upload.max_media_bytes |
1011

1112
## Example
1213

0 commit comments

Comments
 (0)