Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .devcontainer/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@

<div align="center">
<a href="https://codespaces.new/gleanwork/api-client-typescript.git/tree/main"><img src="https://github.com/codespaces/badge.svg" /></a>
</div>
<br>

> **Remember to shutdown a GitHub Codespace when it is not in use!**

# Dev Containers Quick Start
Expand Down
1,104 changes: 349 additions & 755 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

115 changes: 70 additions & 45 deletions .speakeasy/glean-merged-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -655,8 +655,8 @@ paths:
description: Not Authorized
"403":
description: Forbidden
x-speakeasy-name-override: retrieve
x-speakeasy-group: client.chat.application
x-speakeasy-name-override: retrieveApplication
x-speakeasy-group: client.chat
/rest/api/v1/uploadchatfiles:
post:
tags:
Expand Down Expand Up @@ -689,8 +689,8 @@ paths:
description: Forbidden
"429":
description: Too Many Requests
x-speakeasy-name-override: upload
x-speakeasy-group: client.chat.files
x-speakeasy-name-override: uploadFiles
x-speakeasy-group: client.chat
/rest/api/v1/getchatfiles:
post:
tags:
Expand Down Expand Up @@ -723,8 +723,8 @@ paths:
description: Forbidden
"429":
description: Too Many Requests
x-speakeasy-name-override: retrieve
x-speakeasy-group: client.chat.files
x-speakeasy-name-override: retrieveFiles
x-speakeasy-group: client.chat
/rest/api/v1/deletechatfiles:
post:
tags:
Expand Down Expand Up @@ -752,8 +752,8 @@ paths:
description: Forbidden
"429":
description: Too Many Requests
x-speakeasy-name-override: delete
x-speakeasy-group: client.chat.files
x-speakeasy-name-override: deleteFiles
x-speakeasy-group: client.chat
/rest/api/v1/runagent:
post:
tags:
Expand Down Expand Up @@ -787,7 +787,7 @@ paths:
description: Request Timeout
"429":
description: Too Many Requests
x-speakeasy-group: client.agents.agent
x-speakeasy-group: client.agents
x-speakeasy-name-override: run
/rest/api/v1/listagents:
post:
Expand Down Expand Up @@ -855,8 +855,8 @@ paths:
description: Request Timeout
"429":
description: Too Many Requests
x-speakeasy-group: client.agents.agent.inputs
x-speakeasy-name-override: retrieve
x-speakeasy-group: client.agents
x-speakeasy-name-override: retrieveInputs
/rest/api/v1/addcollectionitems:
post:
tags:
Expand Down Expand Up @@ -997,8 +997,8 @@ paths:
description: Failed to save deletion
"429":
description: Too Many Requests
x-speakeasy-name-override: delete
x-speakeasy-group: client.collections.item
x-speakeasy-name-override: deleteItem
x-speakeasy-group: client.collections
/rest/api/v1/editcollection:
post:
tags:
Expand Down Expand Up @@ -1069,8 +1069,8 @@ paths:
description: Not Authorized
"429":
description: Too Many Requests
x-speakeasy-name-override: update
x-speakeasy-group: client.collections.item
x-speakeasy-name-override: updateItem
x-speakeasy-group: client.collections
/rest/api/v1/getcollection:
post:
tags:
Expand Down Expand Up @@ -1170,8 +1170,8 @@ paths:
description: Forbidden
"429":
description: Too Many Requests
x-speakeasy-name-override: retrieve
x-speakeasy-group: client.documents.permissions
x-speakeasy-name-override: retrievePermissions
x-speakeasy-group: client.documents
/rest/api/v1/getdocuments:
post:
tags:
Expand Down Expand Up @@ -1510,7 +1510,7 @@ paths:
"429":
description: Too Many Requests
x-speakeasy-name-override: query
x-speakeasy-group: client.search.admin
x-speakeasy-group: client.admin.search
/rest/api/v1/autocomplete:
post:
tags:
Expand Down Expand Up @@ -1575,8 +1575,8 @@ paths:
description: Request Timeout
"429":
description: Too Many Requests
x-speakeasy-name-override: retrieve
x-speakeasy-group: client.search.feed
x-speakeasy-name-override: retrieveFeed
x-speakeasy-group: client.search
/rest/api/v1/recommendations:
post:
tags:
Expand Down Expand Up @@ -1758,6 +1758,8 @@ paths:
description: Not Authorized
"429":
description: Too Many Requests
x-speakeasy-name-override: create
x-speakeasy-group: client.shortcuts
/rest/api/v1/deleteshortcut:
post:
tags:
Expand Down Expand Up @@ -1917,8 +1919,8 @@ paths:
description: Not Authorized
"429":
description: Too Many Requests
x-speakeasy-name-override: generate
x-speakeasy-group: client.summarize
x-speakeasy-name-override: summarize
x-speakeasy-group: client.documents
/rest/api/v1/addverificationreminder:
post:
tags:
Expand Down Expand Up @@ -2018,6 +2020,8 @@ paths:
description: Document does not exist, does not support verification or user cannot access document
"429":
description: Too Many Requests
x-speakeasy-name-override: verify
x-speakeasy-group: client.verification
/api/index/v1/indexdocument:
post:
summary: Index document
Expand Down Expand Up @@ -2446,7 +2450,7 @@ paths:
"401":
description: Not Authorized
x-speakeasy-name-override: status
x-speakeasy-group: indexing.troubleshooting.datasource
x-speakeasy-group: indexing.datasource
/api/index/v1/debug/{datasource}/document:
post:
x-beta: true
Expand Down Expand Up @@ -2483,8 +2487,8 @@ paths:
description: Bad Request
"401":
description: Not Authorized
x-speakeasy-group: indexing.documents
x-speakeasy-name-override: debug
x-speakeasy-group: indexing.troubleshooting.datasource.document
/api/index/v1/debug/{datasource}/documents:
post:
x-beta: true
Expand Down Expand Up @@ -2521,8 +2525,8 @@ paths:
description: Bad Request
"401":
description: Not Authorized
x-speakeasy-name-override: debug
x-speakeasy-group: indexing.troubleshooting.datasource.documents
x-speakeasy-group: indexing.documents
x-speakeasy-name-override: debugMany
/api/index/v1/debug/{datasource}/user:
post:
x-beta: true
Expand Down Expand Up @@ -2560,7 +2564,7 @@ paths:
"401":
description: Not Authorized
x-speakeasy-name-override: debug
x-speakeasy-group: indexing.troubleshooting.datasource.user
x-speakeasy-group: indexing.people
/api/index/v1/checkdocumentaccess:
post:
summary: Check document access
Expand Down Expand Up @@ -2590,7 +2594,7 @@ paths:
description: Not Authorized
"429":
description: Too Many Requests
x-speakeasy-group: indexing.troubleshooting
x-speakeasy-group: indexing.documents
x-speakeasy-name-override: checkAccess
/api/index/v1/getdocumentstatus:
post:
Expand Down Expand Up @@ -2622,8 +2626,8 @@ paths:
description: Not Authorized
"429":
description: Too Many Requests
x-speakeasy-group: indexing.documents
x-speakeasy-name-override: status
x-speakeasy-group: indexing.troubleshooting.documents
/api/index/v1/getdocumentcount:
post:
deprecated: true
Expand Down Expand Up @@ -2654,8 +2658,8 @@ paths:
description: Not Authorized
"409":
description: Conflict
x-speakeasy-group: indexing.documents
x-speakeasy-name-override: count
x-speakeasy-group: indexing.troubleshooting.documents
/api/index/v1/getusercount:
post:
deprecated: true
Expand Down Expand Up @@ -2687,7 +2691,7 @@ paths:
"409":
description: Conflict
x-speakeasy-name-override: count
x-speakeasy-group: indexing.troubleshooting.users
x-speakeasy-group: indexing.people
/api/index/v1/betausers:
post:
summary: Beta users
Expand Down Expand Up @@ -2760,8 +2764,8 @@ paths:
description: Not Authorized
"409":
description: Conflict
x-speakeasy-name-override: retrieve
x-speakeasy-group: indexing.datasources.config
x-speakeasy-name-override: retrieveConfig
x-speakeasy-group: indexing.datasources
/api/index/v1/rotatetoken:
post:
summary: Rotate token
Expand Down Expand Up @@ -3013,7 +3017,7 @@ paths:
"409":
description: Conflict
x-speakeasy-name-override: upload
x-speakeasy-group: client.shortcuts
x-speakeasy-group: indexing.shortcuts
/rest/api/v1/chat#stream:
post:
tags:
Expand Down Expand Up @@ -4718,19 +4722,25 @@ components:
description: The URL using which the user can access the edit page of the shortcut.
Shortcut:
allOf:
- $ref: "#/components/schemas/ShortcutProperties"
- $ref: "#/components/schemas/UserGeneratedContentId"
- $ref: "#/components/schemas/ShortcutMutableProperties"
- $ref: "#/components/schemas/PermissionedObject"
- $ref: "#/components/schemas/ShortcutMetadata"
- type: object
required:
- destinationUrl
- createdBy
- inputAlias
properties:
unlisted:
type: boolean
description: Whether this shortcut is unlisted or not. Unlisted shortcuts are visible to author and admins only.
urlTemplate:
type: string
description: For variable shortcuts, contains the URL template; note, `destinationUrl` contains default URL.
properties:
alias:
type: string
description: canonical link text following go/ prefix where hyphen/underscore is removed.
title:
type: string
description: Title for the Go Link
roles:
type: array
description: A list of user roles for the Go Link.
items:
$ref: "#/components/schemas/UserRoleSpecification"
Collection:
allOf:
- $ref: "#/components/schemas/CollectionMutableProperties"
Expand Down Expand Up @@ -10424,7 +10434,7 @@ components:
description: Batch of shortcuts information
type: array
items:
$ref: "#/components/schemas/Shortcut"
$ref: "#/components/schemas/IndexingShortcut"
required:
- shortcuts
DebugDatasourceStatusResponse:
Expand Down Expand Up @@ -10982,6 +10992,21 @@ components:
instanceDescription:
type: string
description: A human readable string identifying this instance as compared to its peers, e.g. "github.com/askscio" or "github.askscio.com"
IndexingShortcut:
allOf:
- $ref: "#/components/schemas/ShortcutProperties"
- type: object
required:
- destinationUrl
- createdBy
- inputAlias
properties:
unlisted:
type: boolean
description: Whether this shortcut is unlisted or not. Unlisted shortcuts are visible to author and admins only.
urlTemplate:
type: string
description: For variable shortcuts, contains the URL template; note, `destinationUrl` contains default URL.
ChatRequestStream:
required:
- messages
Expand Down
Loading
Loading