From 7c4ee688fcb95b0487e32612afbd0c4eb6003520 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 13 Nov 2025 19:55:28 +0000 Subject: [PATCH 1/2] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.650.0 --- .speakeasy/gen.lock | 6 +- .speakeasy/gen.yaml | 2 +- .speakeasy/glean-merged-spec.yaml | 205 +++++++++--------- .speakeasy/workflow.lock | 12 +- RELEASES.md | 12 +- docs/models/toolmetadata.md | 2 +- docs/models/writeactiontype.md | 5 +- pyproject.toml | 2 +- speakeasyusagegen/.speakeasy/logs/naming.log | 2 +- src/glean/api_client/_version.py | 4 +- src/glean/api_client/models/activityevent.py | 7 + src/glean/api_client/models/agentconfig.py | 7 + src/glean/api_client/models/chatmessage.py | 9 + .../api_client/models/documentvisibility.py | 6 + .../api_client/models/facetfiltervalue.py | 5 + src/glean/api_client/models/feedback.py | 30 +++ .../api_client/models/listentitiesrequest.py | 2 + src/glean/api_client/models/personmetadata.py | 4 + .../api_client/models/relateddocuments.py | 1 + .../api_client/models/searchrequestoptions.py | 5 + .../models/searchresultprominenceenum.py | 3 + src/glean/api_client/models/sectiontype.py | 3 + .../api_client/models/structuredresult.py | 3 + src/glean/api_client/models/toolmetadata.py | 7 +- src/glean/api_client/models/updatetype.py | 2 + .../handler/pathpostrestapiv1getchat.go | 4 +- .../sdk/models/components/toolmetadata.go | 7 +- tests/test_messages.py | 2 +- 28 files changed, 234 insertions(+), 125 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index d68bc0ab..8e393294 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 3e3290ca-0ee8-4981-b1bc-14536048fa63 management: - docChecksum: dcd614b69cdc88d754706e156a66d71b + docChecksum: 0ac885f7072adae50d62b33db76f5bb4 docVersion: 0.9.0 speakeasyVersion: 1.650.0 generationVersion: 2.743.2 - releaseVersion: 0.11.4 - configChecksum: 2309fbf1f9596ee1bbfbd2a06e77e96d + releaseVersion: 0.11.6 + configChecksum: d985e94635c94b65adb4be5e9489c272 repoURL: https://github.com/gleanwork/api-client-python.git installationURL: https://github.com/gleanwork/api-client-python.git published: true diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 1fcf79df..4a521907 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -30,7 +30,7 @@ generation: generateNewTests: true skipResponseBodyAssertions: true python: - version: 0.11.4 + version: 0.11.6 additionalDependencies: dev: {} main: {} diff --git a/.speakeasy/glean-merged-spec.yaml b/.speakeasy/glean-merged-spec.yaml index 5285e3d8..a098579c 100644 --- a/.speakeasy/glean-merged-spec.yaml +++ b/.speakeasy/glean-merged-spec.yaml @@ -3679,14 +3679,6 @@ components: action: type: string description: The type of activity this represents. - x-enumDescriptions: - VIEW: Represents a visit to the given `url`. - EDIT: Represents an edit of the document represented by the `url`. - SEARCH: Represents a search performed at the given `url`. - COMMENT: Represents a comment on the document represented by the `url`. - CRAWL: Represents an explicit request to index the given `url` along with associated attributes in this payload. - HISTORICAL_SEARCH: Represents a search performed at the given `url` as indicated by the user's history. - HISTORICAL_VIEW: Represents a visit to the given `url` as indicated by the user's history. enum: - VIEW - EDIT @@ -3695,6 +3687,14 @@ components: - CRAWL - HISTORICAL_SEARCH - HISTORICAL_VIEW + x-speakeasy-enum-descriptions: + VIEW: Represents a visit to the given `url`. + EDIT: Represents an edit of the document represented by the `url`. + SEARCH: Represents a search performed at the given `url`. + COMMENT: Represents a comment on the document represented by the `url`. + CRAWL: Represents an explicit request to index the given `url` along with associated attributes in this payload. + HISTORICAL_SEARCH: Represents a search performed at the given `url` as indicated by the user's history. + HISTORICAL_VIEW: Represents a visit to the given `url` as indicated by the user's history. params: $ref: "#/components/schemas/ActivityEventParams" timestamp: @@ -4001,37 +4001,6 @@ components: event: type: string description: The action the user took within a Glean client with respect to the object referred to by the given `trackingToken`. - x-enumDescriptions: - CLICK: The object's primary link was clicked with the intent to view its full representation. Depending on the object type, this may imply an external navigation or navigating to a new page or view within the Glean app. - CONTAINER_CLICK: A link to the object's parent container (e.g. the folder in which it's located) was clicked. - COPY_LINK: The user copied a link to the primary link. - CREATE: The user creates a document. - DISMISS: The user dismissed the object such that it was hidden from view. - DOWNVOTE: The user gave feedback that the object was not useful. - EMAIL: The user attempted to send an email. - EXECUTE: The user executed the object (e.g. ran a workflow). - FILTER: The user applied a filter. - FIRST_TOKEN: The first token of a streaming response is received. - FOCUS_IN: The user clicked into an interactive element, e.g. the search box. - LAST_TOKEN: The final token of a streaming response is received. - MANUAL_FEEDBACK: The user submitted textual manual feedback regarding the object. - MANUAL_FEEDBACK_SIDE_BY_SIDE: The user submitted comparative feedback for multiple side-by-side implementations. - MARK_AS_READ: The user explicitly marked the content as read. - MESSAGE: The user attempted to send a message using their default messaing app. - MIDDLE_CLICK: The user middle clicked the object's primary link with the intent to open its full representation in a new tab. - PAGE_BLUR: The user puts a page out of focus but keeps it in the background. - PAGE_FOCUS: The user puts a page in focus, meaning it is the first to receive keyboard events. - PAGE_LEAVE: The user leaves a page and it is unloaded (by clicking a link, closing the tab/window, etc). - PREVIEW: The user clicked the object's inline preview affordance. - RIGHT_CLICK: The user right clicked the object's primary link. This may indicate an intent to open it in a new tab or copy it. - SECTION_CLICK: The user clicked a link to a subsection of the primary object. - SEEN: The user has likely seen the object (e.g. took action to make the object visible within the user's viewport). - SELECT: The user explicitly selected something, eg. a chat response variant they prefer. - SHARE: The user shared the object with another user. - SHOW_MORE: The user clicked the object's show more affordance. - UPVOTE: The user gave feedback that the object was useful. - VIEW: The object was visible within the user's viewport. - VISIBLE: The object was visible within the user's viewport. enum: - CLICK - CONTAINER_CLICK @@ -4064,6 +4033,37 @@ components: - UPVOTE - VIEW - VISIBLE + x-speakeasy-enum-descriptions: + CLICK: The object's primary link was clicked with the intent to view its full representation. Depending on the object type, this may imply an external navigation or navigating to a new page or view within the Glean app. + CONTAINER_CLICK: A link to the object's parent container (e.g. the folder in which it's located) was clicked. + COPY_LINK: The user copied a link to the primary link. + CREATE: The user creates a document. + DISMISS: The user dismissed the object such that it was hidden from view. + DOWNVOTE: The user gave feedback that the object was not useful. + EMAIL: The user attempted to send an email. + EXECUTE: The user executed the object (e.g. ran a workflow). + FILTER: The user applied a filter. + FIRST_TOKEN: The first token of a streaming response is received. + FOCUS_IN: The user clicked into an interactive element, e.g. the search box. + LAST_TOKEN: The final token of a streaming response is received. + MANUAL_FEEDBACK: The user submitted textual manual feedback regarding the object. + MANUAL_FEEDBACK_SIDE_BY_SIDE: The user submitted comparative feedback for multiple side-by-side implementations. + MARK_AS_READ: The user explicitly marked the content as read. + MESSAGE: The user attempted to send a message using their default messaing app. + MIDDLE_CLICK: The user middle clicked the object's primary link with the intent to open its full representation in a new tab. + PAGE_BLUR: The user puts a page out of focus but keeps it in the background. + PAGE_FOCUS: The user puts a page in focus, meaning it is the first to receive keyboard events. + PAGE_LEAVE: The user leaves a page and it is unloaded (by clicking a link, closing the tab/window, etc). + PREVIEW: The user clicked the object's inline preview affordance. + RIGHT_CLICK: The user right clicked the object's primary link. This may indicate an intent to open it in a new tab or copy it. + SECTION_CLICK: The user clicked a link to a subsection of the primary object. + SEEN: The user has likely seen the object (e.g. took action to make the object visible within the user's viewport). + SELECT: The user explicitly selected something, eg. a chat response variant they prefer. + SHARE: The user shared the object with another user. + SHOW_MORE: The user clicked the object's show more affordance. + UPVOTE: The user gave feedback that the object was useful. + VIEW: The object was visible within the user's viewport. + VISIBLE: The object was visible within the user's viewport. position: type: integer description: Position of the element in the case that the client controls order (such as feed and autocomplete). @@ -4207,6 +4207,12 @@ components: - GT - NOT_EQUALS example: EQUALS + x-speakeasy-enum-descriptions: + EQUALS: The value is equal to the specified value. + ID_EQUALS: The value is equal to the specified ID. + LT: The value is less than the specified value. + GT: The value is greater than the specified value. + NOT_EQUALS: The value is not equal to the specified value. isNegated: type: boolean deprecated: true @@ -4390,18 +4396,18 @@ components: items: type: string description: Hints for the response content. - x-enumDescriptions: - ALL_RESULT_COUNTS: Return result counts for each result set which has non-zero results, even when the request itself is limited to a subset. - FACET_RESULTS: Return only facet results. - QUERY_METADATA: Returns result counts for each result set which has non-zero results, as well as other information about the search such as suggested spelling corrections. - RESULTS: Return search result documents. - SPELLCHECK_METADATA: Return metadata pertaining to spellcheck results. enum: - ALL_RESULT_COUNTS - FACET_RESULTS - QUERY_METADATA - RESULTS - SPELLCHECK_METADATA + x-speakeasy-enum-descriptions: + ALL_RESULT_COUNTS: Return result counts for each result set which has non-zero results, even when the request itself is limited to a subset. + FACET_RESULTS: Return only facet results. + QUERY_METADATA: Returns result counts for each result set which has non-zero results, as well as other information about the search such as suggested spelling corrections. + RESULTS: Return search result documents. + SPELLCHECK_METADATA: Return metadata pertaining to spellcheck results. timezoneOffset: type: integer description: The offset of the client's timezone in minutes from UTC. e.g. PDT is -420 because it's 7 hours behind UTC. @@ -5910,7 +5916,7 @@ components: - TICKET - TRANSCRIPT - WITH - x-enumDescriptions: + x-speakeasy-enum-descriptions: CANONICAL: Canonical documents for the entity, such as overview docs, architecture docs elastic. associatedEntityId: type: string @@ -6044,14 +6050,14 @@ components: prominence: type: string description: The level of visual distinction that should be given to a result. - x-enumDescriptions: - HERO: A high-confidence result that should feature prominently on the page. - PROMOTED: May not be the best result but should be given additional visual distinction. - STANDARD: Should not be distinct from any other results. enum: - HERO - PROMOTED - STANDARD + x-speakeasy-enum-descriptions: + HERO: A high-confidence result that should feature prominently on the page. + PROMOTED: May not be the best result but should be given additional visual distinction. + STANDARD: Should not be distinct from any other results. source: type: string description: Source context for this result. Possible values depend on the result type. @@ -6101,14 +6107,14 @@ components: type: string description: | The level of visual distinction that should be given to a result. - x-enumDescriptions: - HERO: A high-confidence result that should feature prominently on the page. - PROMOTED: May not be the best result but should be given additional visual distinction. - STANDARD: Should not be distinct from any other results. enum: - HERO - PROMOTED - STANDARD + x-speakeasy-enum-descriptions: + HERO: A high-confidence result that should feature prominently on the page. + PROMOTED: May not be the best result but should be given additional visual distinction. + STANDARD: Should not be distinct from any other results. PinDocumentMutableProperties: properties: queries: @@ -6398,17 +6404,17 @@ components: properties: type: type: string - x-enumDescriptions: - FULL_TIME: The person is a current full-time employee of the company. - CONTRACTOR: The person is a current contractor of the company. - NON_EMPLOYEE: The person object represents a non-human actor such as a service or admin account. - FORMER_EMPLOYEE: The person is a previous employee of the company. enum: - FULL_TIME - CONTRACTOR - NON_EMPLOYEE - FORMER_EMPLOYEE example: FULL_TIME + x-speakeasy-enum-descriptions: + FULL_TIME: The person is a current full-time employee of the company. + CONTRACTOR: The person is a current contractor of the company. + NON_EMPLOYEE: The person object represents a non-human actor such as a service or admin account. + FORMER_EMPLOYEE: The person is a previous employee of the company. firstName: type: string description: The first name of the person @@ -6573,13 +6579,6 @@ components: DocumentVisibility: type: string description: The level of visibility of the document as understood by our system. - x-enumDescriptions: - PRIVATE: Only one person is able to see the document. - SPECIFIC_PEOPLE_AND_GROUPS: Only specific people and/or groups can see the document. - DOMAIN_LINK: Anyone in the domain with the link can see the document. - DOMAIN_VISIBLE: Anyone in the domain can search for the document. - PUBLIC_LINK: Anyone with the link can see the document. - PUBLIC_VISIBLE: Anyone on the internet can search for the document. enum: - PRIVATE - SPECIFIC_PEOPLE_AND_GROUPS @@ -6587,6 +6586,13 @@ components: - DOMAIN_VISIBLE - PUBLIC_LINK - PUBLIC_VISIBLE + x-speakeasy-enum-descriptions: + PRIVATE: Only one person is able to see the document. + SPECIFIC_PEOPLE_AND_GROUPS: Only specific people and/or groups can see the document. + DOMAIN_LINK: Anyone in the domain with the link can see the document. + DOMAIN_VISIBLE: Anyone in the domain can search for the document. + PUBLIC_LINK: Anyone with the link can see the document. + PUBLIC_VISIBLE: Anyone on the internet can search for the document. Reaction: properties: type: @@ -7064,29 +7070,29 @@ components: agent: type: string description: Name of the agent. - x-enumDescriptions: - DEFAULT: Integrates with your company's knowledge. This will soon be deprecated in favor of the FAST and ADVANCED `agent` values - GPT: Communicates directly with the LLM. This will soon be deprecated in favor of the FAST and ADVANCED `agent` values - UNIVERSAL: Uses both company and web knowledge. This will soon be deprecated in favor of the FAST and ADVANCED `agent` values - FAST: Uses an agent powered by the agentic engine that responds faster but may have lower quality results. Requires the agentic engine to be enabled in the deployment. - ADVANCED: Uses an agent powered by the agentic engine that thinks for longer and potentially makes more LLM calls to return higher quality results. Requires the agentic engine to be enabled in the deployment. enum: - DEFAULT - GPT - UNIVERSAL - FAST - ADVANCED + x-speakeasy-enum-descriptions: + DEFAULT: Integrates with your company's knowledge. This will soon be deprecated in favor of the FAST and ADVANCED `agent` values + GPT: Communicates directly with the LLM. This will soon be deprecated in favor of the FAST and ADVANCED `agent` values + UNIVERSAL: Uses both company and web knowledge. This will soon be deprecated in favor of the FAST and ADVANCED `agent` values + FAST: Uses an agent powered by the agentic engine that responds faster but may have lower quality results. Requires the agentic engine to be enabled in the deployment. + ADVANCED: Uses an agent powered by the agentic engine that thinks for longer and potentially makes more LLM calls to return higher quality results. Requires the agentic engine to be enabled in the deployment. toolSets: $ref: "#/components/schemas/ToolSets" mode: type: string description: Top level modes to run GleanChat in. - x-enumDescriptions: - DEFAULT: Used if no mode supplied. - QUICK: Deprecated. enum: - DEFAULT - QUICK + x-speakeasy-enum-descriptions: + DEFAULT: Used if no mode supplied. + QUICK: Deprecated. useImageGeneration: type: boolean description: Whether the agent should create an image. @@ -7308,10 +7314,11 @@ components: description: The time the tool was last updated in ISO format (ISO 8601) writeActionType: type: string - description: Valid only for write actions. Represents the type of write action. REDIRECT - The client renders the URL which contains information for carrying out the action. EXECUTION - Send a request to an external server and execute the action. + description: Valid only for write actions. Represents the type of write action. REDIRECT - The client renders the URL which contains information for carrying out the action. EXECUTION - Send a request to an external server and execute the action. MCP - Send a tools/call request to an MCP server to execute the action. enum: - REDIRECT - EXECUTION + - MCP authType: type: string enum: @@ -7446,16 +7453,6 @@ components: type: string default: CONTENT description: Semantically groups content of a certain type. It can be used for purposes such as differential UI treatment. USER authored messages should be of type CONTENT and do not need `messageType` specified. - x-enumDescriptions: - UPDATE: An intermediate state message for progress updates. - CONTENT: A user query or response message. - CONTEXT: A message providing context in addition to the user query. - DEBUG: A debug message. Strictly used internally. - DEBUG_EXTERNAL: A debug message to be used while debugging Action creation. - ERROR: A message that describes an error while processing the request. - HEADING: A heading message used to distinguish different sections of the holistic response. - WARNING: A warning message to be shown to the user. - SERVER_TOOL: A message used to for server-side tool auth/use, for request and response. enum: - UPDATE - CONTENT @@ -7466,6 +7463,16 @@ components: - HEADING - WARNING - SERVER_TOOL + x-speakeasy-enum-descriptions: + UPDATE: An intermediate state message for progress updates. + CONTENT: A user query or response message. + CONTEXT: A message providing context in addition to the user query. + DEBUG: A debug message. Strictly used internally. + DEBUG_EXTERNAL: A debug message to be used while debugging Action creation. + ERROR: A message that describes an error while processing the request. + HEADING: A heading message used to distinguish different sections of the holistic response. + WARNING: A warning message to be shown to the user. + SERVER_TOOL: A message used to for server-side tool auth/use, for request and response. hasMoreFragments: deprecated: true type: boolean @@ -9743,23 +9750,23 @@ components: SectionType: type: string description: Type of the section. This defines how the section should be interpreted and rendered in the digest. - x-enumDescriptions: - CHANNEL: A standard section for channel-based digests (e.g. from Slack, Teams). - MENTIONS: A dedicated section that surfaces user mentions (actionable, informative, or all). - TOPIC: A section driven by a generic topic, not tied to any specific channel or instance. enum: - CHANNEL - MENTIONS - TOPIC + x-speakeasy-enum-descriptions: + CHANNEL: A standard section for channel-based digests (e.g. from Slack, Teams). + MENTIONS: A dedicated section that surfaces user mentions (actionable, informative, or all). + TOPIC: A section driven by a generic topic, not tied to any specific channel or instance. UpdateType: type: string description: Optional type classification for the update. - x-enumDescriptions: - ACTIONABLE: Updates that require user attention or action - INFORMATIVE: Updates that are purely informational enum: - ACTIONABLE - INFORMATIVE + x-speakeasy-enum-descriptions: + ACTIONABLE: Updates that require user attention or action + INFORMATIVE: Updates that are purely informational DigestUpdate: type: object properties: @@ -10269,12 +10276,12 @@ components: type: string default: STANDARD description: The type of request being made. - x-enumDescriptions: - STANDARD: Used by default for all requests and satisfies all standard use cases for list requests. Limited to 10000 entities. - FULL_DIRECTORY: Used exclusively to return a comprehensive list of all people entities in the organization, typically for audit like purposes. The recommended approach is to sort by FIRST_NAME or LAST_NAME, and use pagination for large organizations. enum: - STANDARD - FULL_DIRECTORY + x-speakeasy-enum-descriptions: + STANDARD: Used by default for all requests and satisfies all standard use cases for list requests. Limited to 10000 entities. + FULL_DIRECTORY: Used exclusively to return a comprehensive list of all people entities in the organization, typically for audit like purposes. The recommended approach is to sort by FIRST_NAME or LAST_NAME, and use pagination for large organizations. EntitiesSortOrder: type: string description: Different ways of sorting entities @@ -10358,15 +10365,15 @@ components: - PEOPLE_WITHOUT_MANAGER includeTypes: description: The types of people entities to include in the response in addition to those returned by default. - x-enumDescriptions: - PEOPLE_WITHOUT_MANAGER: Returns all people without a manager apart from the requested IDs. - INVALID_ENTITIES: Includes invalid entities in the response if any of the requested IDs are invalid. type: array items: type: string enum: - PEOPLE_WITHOUT_MANAGER - INVALID_ENTITIES + x-speakeasy-enum-descriptions: + PEOPLE_WITHOUT_MANAGER: Returns all people without a manager apart from the requested IDs. + INVALID_ENTITIES: Includes invalid entities in the response if any of the requested IDs are invalid. source: type: string description: A string denoting the search surface from which the endpoint is called. diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 2ee244ea..04f162d8 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -2,11 +2,11 @@ speakeasyVersion: 1.650.0 sources: Glean API: sourceNamespace: glean-api-specs - sourceRevisionDigest: sha256:ab3219e34896dc96893a548fb03c6c0f3b62ebde145ad8be7d8a5f8ac74513d6 - sourceBlobDigest: sha256:5ee99a226409e04f4a79331bfb11520ec4bf6570d6f568cff947d1a8fbbed4f1 + sourceRevisionDigest: sha256:2ad700f2ce85b0aa442a98a80f3c131f73fc187c53407d3d84b1899c0e603eb1 + sourceBlobDigest: sha256:d62d91bcf73cf5775dc081807ae550dd20f6ecdfb5dc06ebbd08804f84a2d2f1 tags: - latest - - speakeasy-sdk-regen-1762417734 + - speakeasy-sdk-regen-1763063487 Glean Client API: sourceNamespace: glean-client-api sourceRevisionDigest: sha256:4edc63ad559e4f2c9fb9ebf5edaaaaa9269f1874d271cfd84b441d6dacac43d2 @@ -17,10 +17,10 @@ targets: glean: source: Glean API sourceNamespace: glean-api-specs - sourceRevisionDigest: sha256:ab3219e34896dc96893a548fb03c6c0f3b62ebde145ad8be7d8a5f8ac74513d6 - sourceBlobDigest: sha256:5ee99a226409e04f4a79331bfb11520ec4bf6570d6f568cff947d1a8fbbed4f1 + sourceRevisionDigest: sha256:2ad700f2ce85b0aa442a98a80f3c131f73fc187c53407d3d84b1899c0e603eb1 + sourceBlobDigest: sha256:d62d91bcf73cf5775dc081807ae550dd20f6ecdfb5dc06ebbd08804f84a2d2f1 codeSamplesNamespace: glean-api-specs-python-code-samples - codeSamplesRevisionDigest: sha256:4e45856c67b97e6c37af62247b52c03cbc3ae796b5d112077302469cfc857643 + codeSamplesRevisionDigest: sha256:147be66f439209d4fdaa8cbf20219ff8bb25480455b775716da3f8275d79224f workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/RELEASES.md b/RELEASES.md index cfaf8a38..e7c7075f 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -358,4 +358,14 @@ Based on: ### Generated - [python v0.11.4] . ### Releases -- [PyPI v0.11.4] https://pypi.org/project/glean/0.11.4 - . \ No newline at end of file +- [PyPI v0.11.4] https://pypi.org/project/glean/0.11.4 - . + +## 2025-11-13 19:51:01 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.650.0 (2.743.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.11.6] . +### Releases +- [PyPI v0.11.6] https://pypi.org/project/glean/0.11.6 - . \ No newline at end of file diff --git a/docs/models/toolmetadata.md b/docs/models/toolmetadata.md index 54760258..1ef5b029 100644 --- a/docs/models/toolmetadata.md +++ b/docs/models/toolmetadata.md @@ -19,7 +19,7 @@ The manifest for a tool that can be used to augment Glean Assistant. | `last_updated_by` | [Optional[models.PersonObject]](../models/personobject.md) | :heavy_minus_sign: | N/A | | | `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | The time the tool was created in ISO format (ISO 8601) | | | `last_updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | The time the tool was last updated in ISO format (ISO 8601) | | -| `write_action_type` | [Optional[models.WriteActionType]](../models/writeactiontype.md) | :heavy_minus_sign: | Valid only for write actions. Represents the type of write action. REDIRECT - The client renders the URL which contains information for carrying out the action. EXECUTION - Send a request to an external server and execute the action. | | +| `write_action_type` | [Optional[models.WriteActionType]](../models/writeactiontype.md) | :heavy_minus_sign: | Valid only for write actions. Represents the type of write action. REDIRECT - The client renders the URL which contains information for carrying out the action. EXECUTION - Send a request to an external server and execute the action. MCP - Send a tools/call request to an MCP server to execute the action. | | | `auth_type` | [Optional[models.AuthType]](../models/authtype.md) | :heavy_minus_sign: | The type of authentication being used.
Use 'OAUTH_*' when Glean calls an external API (e.g., Jira) on behalf of a user to obtain an OAuth token.
'OAUTH_ADMIN' utilizes an admin token for external API calls on behalf all users.
'OAUTH_USER' uses individual user tokens for external API calls.
'DWD' refers to domain wide delegation.
| | | `auth` | [Optional[models.AuthConfig]](../models/authconfig.md) | :heavy_minus_sign: | Config for tool's authentication method. | | | `permissions` | [Optional[models.ObjectPermissions]](../models/objectpermissions.md) | :heavy_minus_sign: | N/A | | diff --git a/docs/models/writeactiontype.md b/docs/models/writeactiontype.md index 6dc63812..b90f9f6b 100644 --- a/docs/models/writeactiontype.md +++ b/docs/models/writeactiontype.md @@ -1,6 +1,6 @@ # WriteActionType -Valid only for write actions. Represents the type of write action. REDIRECT - The client renders the URL which contains information for carrying out the action. EXECUTION - Send a request to an external server and execute the action. +Valid only for write actions. Represents the type of write action. REDIRECT - The client renders the URL which contains information for carrying out the action. EXECUTION - Send a request to an external server and execute the action. MCP - Send a tools/call request to an MCP server to execute the action. ## Values @@ -8,4 +8,5 @@ Valid only for write actions. Represents the type of write action. REDIRECT - Th | Name | Value | | ----------- | ----------- | | `REDIRECT` | REDIRECT | -| `EXECUTION` | EXECUTION | \ No newline at end of file +| `EXECUTION` | EXECUTION | +| `MCP` | MCP | \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 10fe4c86..72bed832 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "glean-api-client" -version = "0.11.4" +version = "0.11.6" description = "Python Client SDK Generated by Speakeasy." authors = [{ name = "Glean Technologies, Inc." }] license = "MIT" diff --git a/speakeasyusagegen/.speakeasy/logs/naming.log b/speakeasyusagegen/.speakeasy/logs/naming.log index 0aa550a7..3fb65152 100644 --- a/speakeasyusagegen/.speakeasy/logs/naming.log +++ b/speakeasyusagegen/.speakeasy/logs/naming.log @@ -606,7 +606,7 @@ ChatRequest (timezoneOffset: integer, body: ChatRequest) ToolMetadataType (enum: RETRIEVAL, ACTION) KnowledgeType (enum: NEUTRAL_KNOWLEDGE, COMPANY_KNOWLEDGE, WORLD_KNOWLEDGE) PersonObject (name: string, obfuscatedId: string) - WriteActionType (enum: REDIRECT, EXECUTION) + WriteActionType (enum: REDIRECT, EXECUTION, MCP) AuthType (enum: NONE, OAUTH_USER, OAUTH_ADMIN ...) AuthConfig (isOnPrem: boolean, usesCentralAuth: boolean, type: enum ...) AuthConfigType (enum: NONE, OAUTH_USER, OAUTH_ADMIN ...) diff --git a/src/glean/api_client/_version.py b/src/glean/api_client/_version.py index 53ea3abf..417964e6 100644 --- a/src/glean/api_client/_version.py +++ b/src/glean/api_client/_version.py @@ -3,10 +3,10 @@ import importlib.metadata __title__: str = "glean" -__version__: str = "0.11.4" +__version__: str = "0.11.6" __openapi_doc_version__: str = "0.9.0" __gen_version__: str = "2.743.2" -__user_agent__: str = "speakeasy-sdk/python 0.11.4 2.743.2 0.9.0 glean" +__user_agent__: str = "speakeasy-sdk/python 0.11.6 2.743.2 0.9.0 glean" try: if __package__ is not None: diff --git a/src/glean/api_client/models/activityevent.py b/src/glean/api_client/models/activityevent.py index a05294c4..967f8c6e 100644 --- a/src/glean/api_client/models/activityevent.py +++ b/src/glean/api_client/models/activityevent.py @@ -12,12 +12,19 @@ class ActivityEventAction(str, Enum): r"""The type of activity this represents.""" + # Represents a visit to the given `url`. VIEW = "VIEW" + # Represents an edit of the document represented by the `url`. EDIT = "EDIT" + # Represents a search performed at the given `url`. SEARCH = "SEARCH" + # Represents a comment on the document represented by the `url`. COMMENT = "COMMENT" + # Represents an explicit request to index the given `url` along with associated attributes in this payload. CRAWL = "CRAWL" + # Represents a search performed at the given `url` as indicated by the user's history. HISTORICAL_SEARCH = "HISTORICAL_SEARCH" + # Represents a visit to the given `url` as indicated by the user's history. HISTORICAL_VIEW = "HISTORICAL_VIEW" diff --git a/src/glean/api_client/models/agentconfig.py b/src/glean/api_client/models/agentconfig.py index 15cf8820..b6c2dd2f 100644 --- a/src/glean/api_client/models/agentconfig.py +++ b/src/glean/api_client/models/agentconfig.py @@ -12,17 +12,24 @@ class AgentEnum(str, Enum): r"""Name of the agent.""" + # Integrates with your company's knowledge. This will soon be deprecated in favor of the FAST and ADVANCED `agent` values DEFAULT = "DEFAULT" + # Communicates directly with the LLM. This will soon be deprecated in favor of the FAST and ADVANCED `agent` values GPT = "GPT" + # Uses both company and web knowledge. This will soon be deprecated in favor of the FAST and ADVANCED `agent` values UNIVERSAL = "UNIVERSAL" + # Uses an agent powered by the agentic engine that responds faster but may have lower quality results. Requires the agentic engine to be enabled in the deployment. FAST = "FAST" + # Uses an agent powered by the agentic engine that thinks for longer and potentially makes more LLM calls to return higher quality results. Requires the agentic engine to be enabled in the deployment. ADVANCED = "ADVANCED" class Mode(str, Enum): r"""Top level modes to run GleanChat in.""" + # Used if no mode supplied. DEFAULT = "DEFAULT" + # Deprecated. QUICK = "QUICK" diff --git a/src/glean/api_client/models/chatmessage.py b/src/glean/api_client/models/chatmessage.py index fd66b5ce..097840e5 100644 --- a/src/glean/api_client/models/chatmessage.py +++ b/src/glean/api_client/models/chatmessage.py @@ -19,14 +19,23 @@ class Author(str, Enum): class MessageType(str, Enum): r"""Semantically groups content of a certain type. It can be used for purposes such as differential UI treatment. USER authored messages should be of type CONTENT and do not need `messageType` specified.""" + # An intermediate state message for progress updates. UPDATE = "UPDATE" + # A user query or response message. CONTENT = "CONTENT" + # A message providing context in addition to the user query. CONTEXT = "CONTEXT" + # A debug message. Strictly used internally. DEBUG = "DEBUG" + # A debug message to be used while debugging Action creation. DEBUG_EXTERNAL = "DEBUG_EXTERNAL" + # A message that describes an error while processing the request. ERROR = "ERROR" + # A heading message used to distinguish different sections of the holistic response. HEADING = "HEADING" + # A warning message to be shown to the user. WARNING = "WARNING" + # A message used to for server-side tool auth/use, for request and response. SERVER_TOOL = "SERVER_TOOL" diff --git a/src/glean/api_client/models/documentvisibility.py b/src/glean/api_client/models/documentvisibility.py index b6364b7f..fb5813a9 100644 --- a/src/glean/api_client/models/documentvisibility.py +++ b/src/glean/api_client/models/documentvisibility.py @@ -7,9 +7,15 @@ class DocumentVisibility(str, Enum): r"""The level of visibility of the document as understood by our system.""" + # Only one person is able to see the document. PRIVATE = "PRIVATE" + # Only specific people and/or groups can see the document. SPECIFIC_PEOPLE_AND_GROUPS = "SPECIFIC_PEOPLE_AND_GROUPS" + # Anyone in the domain with the link can see the document. DOMAIN_LINK = "DOMAIN_LINK" + # Anyone in the domain can search for the document. DOMAIN_VISIBLE = "DOMAIN_VISIBLE" + # Anyone with the link can see the document. PUBLIC_LINK = "PUBLIC_LINK" + # Anyone on the internet can search for the document. PUBLIC_VISIBLE = "PUBLIC_VISIBLE" diff --git a/src/glean/api_client/models/facetfiltervalue.py b/src/glean/api_client/models/facetfiltervalue.py index b60f039b..fe2cb305 100644 --- a/src/glean/api_client/models/facetfiltervalue.py +++ b/src/glean/api_client/models/facetfiltervalue.py @@ -9,10 +9,15 @@ class RelationType(str, Enum): + # The value is equal to the specified value. EQUALS = "EQUALS" + # The value is equal to the specified ID. ID_EQUALS = "ID_EQUALS" + # The value is less than the specified value. LT = "LT" + # The value is greater than the specified value. GT = "GT" + # The value is not equal to the specified value. NOT_EQUALS = "NOT_EQUALS" diff --git a/src/glean/api_client/models/feedback.py b/src/glean/api_client/models/feedback.py index 28cbfcc9..986e7162 100644 --- a/src/glean/api_client/models/feedback.py +++ b/src/glean/api_client/models/feedback.py @@ -39,36 +39,66 @@ class FeedbackCategory(str, Enum): class Event(str, Enum): r"""The action the user took within a Glean client with respect to the object referred to by the given `trackingToken`.""" + # The object's primary link was clicked with the intent to view its full representation. Depending on the object type, this may imply an external navigation or navigating to a new page or view within the Glean app. CLICK = "CLICK" + # A link to the object's parent container (e.g. the folder in which it's located) was clicked. CONTAINER_CLICK = "CONTAINER_CLICK" + # The user copied a link to the primary link. COPY_LINK = "COPY_LINK" + # The user creates a document. CREATE = "CREATE" + # The user dismissed the object such that it was hidden from view. DISMISS = "DISMISS" + # The user gave feedback that the object was not useful. DOWNVOTE = "DOWNVOTE" + # The user attempted to send an email. EMAIL = "EMAIL" + # The user executed the object (e.g. ran a workflow). EXECUTE = "EXECUTE" + # The user applied a filter. FILTER = "FILTER" + # The first token of a streaming response is received. FIRST_TOKEN = "FIRST_TOKEN" + # The user clicked into an interactive element, e.g. the search box. FOCUS_IN = "FOCUS_IN" + # The final token of a streaming response is received. LAST_TOKEN = "LAST_TOKEN" + # The user submitted textual manual feedback regarding the object. MANUAL_FEEDBACK = "MANUAL_FEEDBACK" + # The user submitted comparative feedback for multiple side-by-side implementations. MANUAL_FEEDBACK_SIDE_BY_SIDE = "MANUAL_FEEDBACK_SIDE_BY_SIDE" + # The user explicitly marked the content as read. MARK_AS_READ = "MARK_AS_READ" + # The user attempted to send a message using their default messaing app. MESSAGE = "MESSAGE" + # The user middle clicked the object's primary link with the intent to open its full representation in a new tab. MIDDLE_CLICK = "MIDDLE_CLICK" + # The user puts a page out of focus but keeps it in the background. PAGE_BLUR = "PAGE_BLUR" + # The user puts a page in focus, meaning it is the first to receive keyboard events. PAGE_FOCUS = "PAGE_FOCUS" + # The user leaves a page and it is unloaded (by clicking a link, closing the tab/window, etc). PAGE_LEAVE = "PAGE_LEAVE" + # The user clicked the object's inline preview affordance. PREVIEW = "PREVIEW" RELATED_CLICK = "RELATED_CLICK" + # The user right clicked the object's primary link. This may indicate an intent to open it in a new tab or copy it. RIGHT_CLICK = "RIGHT_CLICK" + # The user clicked a link to a subsection of the primary object. SECTION_CLICK = "SECTION_CLICK" + # The user has likely seen the object (e.g. took action to make the object visible within the user's viewport). SEEN = "SEEN" + # The user explicitly selected something, eg. a chat response variant they prefer. SELECT = "SELECT" + # The user shared the object with another user. SHARE = "SHARE" + # The user clicked the object's show more affordance. SHOW_MORE = "SHOW_MORE" + # The user gave feedback that the object was useful. UPVOTE = "UPVOTE" + # The object was visible within the user's viewport. VIEW = "VIEW" + # The object was visible within the user's viewport. VISIBLE = "VISIBLE" diff --git a/src/glean/api_client/models/listentitiesrequest.py b/src/glean/api_client/models/listentitiesrequest.py index 24484f3d..8e4f00f0 100644 --- a/src/glean/api_client/models/listentitiesrequest.py +++ b/src/glean/api_client/models/listentitiesrequest.py @@ -31,7 +31,9 @@ class ListEntitiesRequestIncludeField(str, Enum): class RequestType(str, Enum): r"""The type of request being made.""" + # Used by default for all requests and satisfies all standard use cases for list requests. Limited to 10000 entities. STANDARD = "STANDARD" + # Used exclusively to return a comprehensive list of all people entities in the organization, typically for audit like purposes. The recommended approach is to sort by FIRST_NAME or LAST_NAME, and use pagination for large organizations. FULL_DIRECTORY = "FULL_DIRECTORY" diff --git a/src/glean/api_client/models/personmetadata.py b/src/glean/api_client/models/personmetadata.py index 4c73b100..69b4984a 100644 --- a/src/glean/api_client/models/personmetadata.py +++ b/src/glean/api_client/models/personmetadata.py @@ -24,9 +24,13 @@ class PersonMetadataType(str, Enum): + # The person is a current full-time employee of the company. FULL_TIME = "FULL_TIME" + # The person is a current contractor of the company. CONTRACTOR = "CONTRACTOR" + # The person object represents a non-human actor such as a service or admin account. NON_EMPLOYEE = "NON_EMPLOYEE" + # The person is a previous employee of the company. FORMER_EMPLOYEE = "FORMER_EMPLOYEE" diff --git a/src/glean/api_client/models/relateddocuments.py b/src/glean/api_client/models/relateddocuments.py index cd8bdd7c..676937b7 100644 --- a/src/glean/api_client/models/relateddocuments.py +++ b/src/glean/api_client/models/relateddocuments.py @@ -17,6 +17,7 @@ class Relation(str, Enum): r"""How this document relates to the including entity.""" ATTACHMENT = "ATTACHMENT" + # Canonical documents for the entity, such as overview docs, architecture docs elastic. CANONICAL = "CANONICAL" CASE = "CASE" CONTACT_LOWER = "contact" diff --git a/src/glean/api_client/models/searchrequestoptions.py b/src/glean/api_client/models/searchrequestoptions.py index 08c18422..69ce1c11 100644 --- a/src/glean/api_client/models/searchrequestoptions.py +++ b/src/glean/api_client/models/searchrequestoptions.py @@ -16,10 +16,15 @@ class ResponseHint(str, Enum): r"""Hints for the response content.""" + # Return result counts for each result set which has non-zero results, even when the request itself is limited to a subset. ALL_RESULT_COUNTS = "ALL_RESULT_COUNTS" + # Return only facet results. FACET_RESULTS = "FACET_RESULTS" + # Returns result counts for each result set which has non-zero results, as well as other information about the search such as suggested spelling corrections. QUERY_METADATA = "QUERY_METADATA" + # Return search result documents. RESULTS = "RESULTS" + # Return metadata pertaining to spellcheck results. SPELLCHECK_METADATA = "SPELLCHECK_METADATA" diff --git a/src/glean/api_client/models/searchresultprominenceenum.py b/src/glean/api_client/models/searchresultprominenceenum.py index 3772d217..ddf2e8f1 100644 --- a/src/glean/api_client/models/searchresultprominenceenum.py +++ b/src/glean/api_client/models/searchresultprominenceenum.py @@ -7,6 +7,9 @@ class SearchResultProminenceEnum(str, Enum): r"""The level of visual distinction that should be given to a result.""" + # A high-confidence result that should feature prominently on the page. HERO = "HERO" + # May not be the best result but should be given additional visual distinction. PROMOTED = "PROMOTED" + # Should not be distinct from any other results. STANDARD = "STANDARD" diff --git a/src/glean/api_client/models/sectiontype.py b/src/glean/api_client/models/sectiontype.py index 067e6954..2dbb489e 100644 --- a/src/glean/api_client/models/sectiontype.py +++ b/src/glean/api_client/models/sectiontype.py @@ -7,6 +7,9 @@ class SectionType(str, Enum): r"""Type of the section. This defines how the section should be interpreted and rendered in the digest.""" + # A standard section for channel-based digests (e.g. from Slack, Teams). CHANNEL = "CHANNEL" + # A dedicated section that surfaces user mentions (actionable, informative, or all). MENTIONS = "MENTIONS" + # A section driven by a generic topic, not tied to any specific channel or instance. TOPIC = "TOPIC" diff --git a/src/glean/api_client/models/structuredresult.py b/src/glean/api_client/models/structuredresult.py index aaff7a5c..8d4fbd05 100644 --- a/src/glean/api_client/models/structuredresult.py +++ b/src/glean/api_client/models/structuredresult.py @@ -33,8 +33,11 @@ class Prominence(str, Enum): r"""The level of visual distinction that should be given to a result.""" + # A high-confidence result that should feature prominently on the page. HERO = "HERO" + # May not be the best result but should be given additional visual distinction. PROMOTED = "PROMOTED" + # Should not be distinct from any other results. STANDARD = "STANDARD" diff --git a/src/glean/api_client/models/toolmetadata.py b/src/glean/api_client/models/toolmetadata.py index 5d7116eb..70c6bad8 100644 --- a/src/glean/api_client/models/toolmetadata.py +++ b/src/glean/api_client/models/toolmetadata.py @@ -28,10 +28,11 @@ class KnowledgeType(str, Enum): class WriteActionType(str, Enum): - r"""Valid only for write actions. Represents the type of write action. REDIRECT - The client renders the URL which contains information for carrying out the action. EXECUTION - Send a request to an external server and execute the action.""" + r"""Valid only for write actions. Represents the type of write action. REDIRECT - The client renders the URL which contains information for carrying out the action. EXECUTION - Send a request to an external server and execute the action. MCP - Send a tools/call request to an MCP server to execute the action.""" REDIRECT = "REDIRECT" EXECUTION = "EXECUTION" + MCP = "MCP" class AuthType(str, Enum): @@ -77,7 +78,7 @@ class ToolMetadataTypedDict(TypedDict): last_updated_at: NotRequired[datetime] r"""The time the tool was last updated in ISO format (ISO 8601)""" write_action_type: NotRequired[WriteActionType] - r"""Valid only for write actions. Represents the type of write action. REDIRECT - The client renders the URL which contains information for carrying out the action. EXECUTION - Send a request to an external server and execute the action.""" + r"""Valid only for write actions. Represents the type of write action. REDIRECT - The client renders the URL which contains information for carrying out the action. EXECUTION - Send a request to an external server and execute the action. MCP - Send a tools/call request to an MCP server to execute the action.""" auth_type: NotRequired[AuthType] r"""The type of authentication being used. Use 'OAUTH_*' when Glean calls an external API (e.g., Jira) on behalf of a user to obtain an OAuth token. @@ -143,7 +144,7 @@ class ToolMetadata(BaseModel): write_action_type: Annotated[ Optional[WriteActionType], pydantic.Field(alias="writeActionType") ] = None - r"""Valid only for write actions. Represents the type of write action. REDIRECT - The client renders the URL which contains information for carrying out the action. EXECUTION - Send a request to an external server and execute the action.""" + r"""Valid only for write actions. Represents the type of write action. REDIRECT - The client renders the URL which contains information for carrying out the action. EXECUTION - Send a request to an external server and execute the action. MCP - Send a tools/call request to an MCP server to execute the action.""" auth_type: Annotated[Optional[AuthType], pydantic.Field(alias="authType")] = None r"""The type of authentication being used. diff --git a/src/glean/api_client/models/updatetype.py b/src/glean/api_client/models/updatetype.py index 06b01a55..687544d4 100644 --- a/src/glean/api_client/models/updatetype.py +++ b/src/glean/api_client/models/updatetype.py @@ -7,5 +7,7 @@ class UpdateType(str, Enum): r"""Optional type classification for the update.""" + # Updates that require user attention or action ACTIONABLE = "ACTIONABLE" + # Updates that are purely informational INFORMATIVE = "INFORMATIVE" diff --git a/tests/mockserver/internal/handler/pathpostrestapiv1getchat.go b/tests/mockserver/internal/handler/pathpostrestapiv1getchat.go index 35e69d35..f8469b5b 100644 --- a/tests/mockserver/internal/handler/pathpostrestapiv1getchat.go +++ b/tests/mockserver/internal/handler/pathpostrestapiv1getchat.go @@ -628,8 +628,8 @@ func testGetchatGetchat0(w http.ResponseWriter, req *http.Request) { Roles: []components.UserRoleSpecification{}, SourceDocumentSpec: types.Pointer(components.CreateDocumentSpecUnionDocumentSpec3( components.DocumentSpec3{ - UgcType: components.DocumentSpecUgcType1Shortcuts, - ContentID: 602763, + UgcType: components.DocumentSpecUgcType1Announcements, + ContentID: 848009, }, )), SourceType: components.AnswerSourceTypeAssistant.ToPointer(), diff --git a/tests/mockserver/internal/sdk/models/components/toolmetadata.go b/tests/mockserver/internal/sdk/models/components/toolmetadata.go index 90afded8..3c803a6d 100644 --- a/tests/mockserver/internal/sdk/models/components/toolmetadata.go +++ b/tests/mockserver/internal/sdk/models/components/toolmetadata.go @@ -66,12 +66,13 @@ func (e *KnowledgeType) UnmarshalJSON(data []byte) error { } } -// WriteActionType - Valid only for write actions. Represents the type of write action. REDIRECT - The client renders the URL which contains information for carrying out the action. EXECUTION - Send a request to an external server and execute the action. +// WriteActionType - Valid only for write actions. Represents the type of write action. REDIRECT - The client renders the URL which contains information for carrying out the action. EXECUTION - Send a request to an external server and execute the action. MCP - Send a tools/call request to an MCP server to execute the action. type WriteActionType string const ( WriteActionTypeRedirect WriteActionType = "REDIRECT" WriteActionTypeExecution WriteActionType = "EXECUTION" + WriteActionTypeMcp WriteActionType = "MCP" ) func (e WriteActionType) ToPointer() *WriteActionType { @@ -86,6 +87,8 @@ func (e *WriteActionType) UnmarshalJSON(data []byte) error { case "REDIRECT": fallthrough case "EXECUTION": + fallthrough + case "MCP": *e = WriteActionType(v) return nil default: @@ -160,7 +163,7 @@ type ToolMetadata struct { CreatedAt *time.Time `json:"createdAt,omitempty"` // The time the tool was last updated in ISO format (ISO 8601) LastUpdatedAt *time.Time `json:"lastUpdatedAt,omitempty"` - // Valid only for write actions. Represents the type of write action. REDIRECT - The client renders the URL which contains information for carrying out the action. EXECUTION - Send a request to an external server and execute the action. + // Valid only for write actions. Represents the type of write action. REDIRECT - The client renders the URL which contains information for carrying out the action. EXECUTION - Send a request to an external server and execute the action. MCP - Send a tools/call request to an MCP server to execute the action. WriteActionType *WriteActionType `json:"writeActionType,omitempty"` // The type of authentication being used. // Use 'OAUTH_*' when Glean calls an external API (e.g., Jira) on behalf of a user to obtain an OAuth token. diff --git a/tests/test_messages.py b/tests/test_messages.py index c0fd29da..36643db3 100644 --- a/tests/test_messages.py +++ b/tests/test_messages.py @@ -18,7 +18,7 @@ def test_messages_messages(): res = glean.client.messages.retrieve( id_type=models.IDType.CONVERSATION_ID, id="", - datasource=models.Datasource.SLACK, + datasource=models.Datasource.MICROSOFTTEAMS, timestamp_millis=558834, ) assert res is not None From ffde252d4f40f7530d7431577b44ceca1183372e Mon Sep 17 00:00:00 2001 From: "speakeasy-github[bot]" <128539517+speakeasy-github[bot]@users.noreply.github.com> Date: Thu, 13 Nov 2025 19:55:39 +0000 Subject: [PATCH 2/2] empty commit to trigger [run-tests] workflow