diff --git a/documents/content/PublishContents.graphql b/documents/content/PublishContents.graphql index fe0d857..45c0fee 100644 --- a/documents/content/PublishContents.graphql +++ b/documents/content/PublishContents.graphql @@ -1,5 +1,5 @@ -mutation PublishContents($summaryPrompt: String, $publishPrompt: String!, $connector: ContentPublishingConnectorInput!, $filter: ContentFilter, $isSynchronous: Boolean, $correlationId: String, $name: String, $summarySpecification: EntityReferenceInput, $publishSpecification: EntityReferenceInput, $workflow: EntityReferenceInput) { - publishContents(summaryPrompt: $summaryPrompt, publishPrompt: $publishPrompt, connector: $connector, filter: $filter, isSynchronous: $isSynchronous, correlationId: $correlationId, name: $name, summarySpecification: $summarySpecification, publishSpecification: $publishSpecification, workflow: $workflow) { +mutation PublishContents($summaryPrompt: String, $publishPrompt: String!, $connector: ContentPublishingConnectorInput!, $filter: ContentFilter, $includeDetails: Boolean, $isSynchronous: Boolean, $correlationId: String, $name: String, $summarySpecification: EntityReferenceInput, $publishSpecification: EntityReferenceInput, $workflow: EntityReferenceInput) { + publishContents(summaryPrompt: $summaryPrompt, publishPrompt: $publishPrompt, connector: $connector, filter: $filter, includeDetails: $includeDetails, isSynchronous: $isSynchronous, correlationId: $correlationId, name: $name, summarySpecification: $summarySpecification, publishSpecification: $publishSpecification, workflow: $workflow) { content { id name diff --git a/graphlit_api/client.py b/graphlit_api/client.py index 5ad97f3..7c0358c 100644 --- a/graphlit_api/client.py +++ b/graphlit_api/client.py @@ -1402,6 +1402,7 @@ async def publish_contents( connector: ContentPublishingConnectorInput, summary_prompt: Union[Optional[str], UnsetType] = UNSET, filter: Union[Optional[ContentFilter], UnsetType] = UNSET, + include_details: Union[Optional[bool], UnsetType] = UNSET, is_synchronous: Union[Optional[bool], UnsetType] = UNSET, correlation_id: Union[Optional[str], UnsetType] = UNSET, name: Union[Optional[str], UnsetType] = UNSET, @@ -1415,6 +1416,7 @@ async def publish_contents( "publishPrompt": publish_prompt, "connector": connector, "filter": filter, + "includeDetails": include_details, "isSynchronous": is_synchronous, "correlationId": correlation_id, "name": name, diff --git a/graphlit_api/operations.py b/graphlit_api/operations.py index c768186..1713a30 100644 --- a/graphlit_api/operations.py +++ b/graphlit_api/operations.py @@ -1675,12 +1675,13 @@ """ PUBLISH_CONTENTS_GQL = """ -mutation PublishContents($summaryPrompt: String, $publishPrompt: String!, $connector: ContentPublishingConnectorInput!, $filter: ContentFilter, $isSynchronous: Boolean, $correlationId: String, $name: String, $summarySpecification: EntityReferenceInput, $publishSpecification: EntityReferenceInput, $workflow: EntityReferenceInput) { +mutation PublishContents($summaryPrompt: String, $publishPrompt: String!, $connector: ContentPublishingConnectorInput!, $filter: ContentFilter, $includeDetails: Boolean, $isSynchronous: Boolean, $correlationId: String, $name: String, $summarySpecification: EntityReferenceInput, $publishSpecification: EntityReferenceInput, $workflow: EntityReferenceInput) { publishContents( summaryPrompt: $summaryPrompt publishPrompt: $publishPrompt connector: $connector filter: $filter + includeDetails: $includeDetails isSynchronous: $isSynchronous correlationId: $correlationId name: $name