Skip to content
Open
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
349 changes: 249 additions & 100 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: true
typescript:
version: 0.18.0
version: 0.18.1
acceptHeaderEnum: true
additionalDependencies:
dependencies: {}
Expand Down
302 changes: 272 additions & 30 deletions .speakeasy/glean-merged-spec.yaml

Large diffs are not rendered by default.

36 changes: 35 additions & 1 deletion .speakeasy/tests.arazzo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -164705,7 +164705,7 @@ workflows:
- condition: $response.header.Content-Type == application/json
- context: $response.body
condition: |
{"results":[],"has_more":false,"next_cursor":"<value>","request_id":"<id>"}
{"results":[],"has_more":false,"next_cursor":"<value>","request_id":"<id>","warnings":[]}
type: simple
x-speakeasy-test-group: search
x-speakeasy-test-rebuild: true
Expand Down Expand Up @@ -164932,3 +164932,37 @@ workflows:
type: simple
x-speakeasy-test-group: indexing_datasources
x-speakeasy-test-rebuild: true
- workflowId: platform-skills-update
steps:
- stepId: test
operationId: platform-skills-update
parameters:
- name: skill_id
in: path
value: <id>
requestBody:
contentType: application/json
payload:
status: DISABLED
successCriteria:
- condition: $statusCode == 200
- condition: $response.header.Content-Type == application/json
- context: $response.body
condition: |
{"skill":{"id":"<id>","display_name":"Afton14","description":"taut netsuke duh sonata boastfully elegantly management come","latest_version":425795,"latest_minor_version":741364,"status":"DISABLED","origin":"CUSTOM","owner":{"name":"<value>"},"created_at":"2024-12-20T01:31:39.364Z","updated_at":"2025-12-04T02:59:37.124Z"},"request_id":"<id>"}
type: simple
x-speakeasy-test-group: skills
x-speakeasy-test-rebuild: true
- workflowId: platform-search-filters
steps:
- stepId: test
operationId: platform-search-filters
successCriteria:
- condition: $statusCode == 200
- condition: $response.header.Content-Type == application/json
- context: $response.body
condition: |
{"datasources":[],"request_id":"<id>"}
type: simple
x-speakeasy-test-group: search
x-speakeasy-test-rebuild: true
10 changes: 5 additions & 5 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ speakeasyVersion: 1.790.3
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:bb3bada7cfd1fef35eb00e096010fcd9238a6dde135ee387c782bba65dfa45fb
sourceBlobDigest: sha256:5552ea5e20187c775de44c60abbd112a31cf189b9486aafe2e303b5f71e76f0b
sourceRevisionDigest: sha256:f51d0c7a8bea50d3550898248e6b90bcf4674cd67887b098fa8cfbf33447c626
sourceBlobDigest: sha256:072f4941af676df25394a59a70cfbb497e383212bb111bff03feec7876b2309e
tags:
- latest
Glean Client API:
Expand All @@ -17,10 +17,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:bb3bada7cfd1fef35eb00e096010fcd9238a6dde135ee387c782bba65dfa45fb
sourceBlobDigest: sha256:5552ea5e20187c775de44c60abbd112a31cf189b9486aafe2e303b5f71e76f0b
sourceRevisionDigest: sha256:f51d0c7a8bea50d3550898248e6b90bcf4674cd67887b098fa8cfbf33447c626
sourceBlobDigest: sha256:072f4941af676df25394a59a70cfbb497e383212bb111bff03feec7876b2309e
codeSamplesNamespace: glean-api-specs-typescript-code-samples
codeSamplesRevisionDigest: sha256:4fccf3340ecfd3b8983f80b9a4fd877136f252809bab9111058d76b4637a86a7
codeSamplesRevisionDigest: sha256:206bc21641d2615e59c575a2b5638259e60085bf3a5de7d224ff941620f6a214
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -494,12 +494,14 @@ For more information on obtaining the appropriate token type, please contact you
### [Search](docs/sdks/search/README.md)

* [query](docs/sdks/search/README.md#query) - Search
* [listFilters](docs/sdks/search/README.md#listfilters) - List search filters

### [Skills](docs/sdks/skills/README.md)

* [create](docs/sdks/skills/README.md#create) - Create skill
* [list](docs/sdks/skills/README.md#list) - List skills
* [validate](docs/sdks/skills/README.md#validate) - Validate skill bundle
* [update](docs/sdks/skills/README.md#update) - Update skill
* [retrieve](docs/sdks/skills/README.md#retrieve) - Retrieve skill
* [retrieveContent](docs/sdks/skills/README.md#retrievecontent) - Download skill content
* [createVersion](docs/sdks/skills/README.md#createversion) - Create skill version
Expand Down Expand Up @@ -662,6 +664,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
- [`indexingPermissionsUpdatePermissions`](docs/sdks/permissions/README.md#updatepermissions) - Update document permissions
- [`indexingShortcutsBulkIndex`](docs/sdks/indexingshortcuts/README.md#bulkindex) - Bulk index external shortcuts
- [`indexingShortcutsUpload`](docs/sdks/indexingshortcuts/README.md#upload) - Upload shortcuts
- [`searchListFilters`](docs/sdks/search/README.md#listfilters) - List search filters
- [`searchQuery`](docs/sdks/search/README.md#query) - Search
- [`skillsCreate`](docs/sdks/skills/README.md#create) - Create skill
- [`skillsCreateVersion`](docs/sdks/skills/README.md#createversion) - Create skill version
Expand All @@ -671,6 +674,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
- [`skillsRetrieveContent`](docs/sdks/skills/README.md#retrievecontent) - Download skill content
- [`skillsRetrieveVersion`](docs/sdks/skills/README.md#retrieveversion) - Retrieve skill version
- [`skillsRetrieveVersionContent`](docs/sdks/skills/README.md#retrieveversioncontent) - Download skill version content
- [`skillsUpdate`](docs/sdks/skills/README.md#update) - Update skill
- [`skillsValidate`](docs/sdks/skills/README.md#validate) - Validate skill bundle
- ~~[`clientAnswersList`](docs/sdks/answers/README.md#list)~~ - List Answers :warning: **Deprecated**
- ~~[`indexingDocumentsCount`](docs/sdks/indexingdocuments/README.md#count)~~ - Get document count :warning: **Deprecated**
Expand Down Expand Up @@ -840,6 +844,7 @@ To learn about this feature and how to get started, check
- [`useIndexingPermissionsUpdatePermissionsMutation`](docs/sdks/permissions/README.md#updatepermissions) - Update document permissions
- [`useIndexingShortcutsBulkIndexMutation`](docs/sdks/indexingshortcuts/README.md#bulkindex) - Bulk index external shortcuts
- [`useIndexingShortcutsUploadMutation`](docs/sdks/indexingshortcuts/README.md#upload) - Upload shortcuts
- [`useSearchListFilters`](docs/sdks/search/README.md#listfilters) - List search filters
- [`useSearchQueryMutation`](docs/sdks/search/README.md#query) - Search
- [`useSkillsCreateMutation`](docs/sdks/skills/README.md#create) - Create skill
- [`useSkillsCreateVersionMutation`](docs/sdks/skills/README.md#createversion) - Create skill version
Expand All @@ -849,6 +854,7 @@ To learn about this feature and how to get started, check
- [`useSkillsRetrieveContent`](docs/sdks/skills/README.md#retrievecontent) - Download skill content
- [`useSkillsRetrieveVersion`](docs/sdks/skills/README.md#retrieveversion) - Retrieve skill version
- [`useSkillsRetrieveVersionContent`](docs/sdks/skills/README.md#retrieveversioncontent) - Download skill version content
- [`useSkillsUpdateMutation`](docs/sdks/skills/README.md#update) - Update skill
- [`useSkillsValidateMutation`](docs/sdks/skills/README.md#validate) - Validate skill bundle
- ~~[`useClientAnswersListMutation`](docs/sdks/answers/README.md#list)~~ - List Answers :warning: **Deprecated**
- ~~[`useIndexingDocumentsCountMutation`](docs/sdks/indexingdocuments/README.md#count)~~ - Get document count :warning: **Deprecated**
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -838,4 +838,14 @@ Based on:
### Generated
- [typescript v0.18.0] .
### Releases
- [NPM v0.18.0] https://www.npmjs.com/package/@gleanwork/api-client/v/0.18.0 - .
- [NPM v0.18.0] https://www.npmjs.com/package/@gleanwork/api-client/v/0.18.0 - .

## 2026-07-23 04:06:51
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.790.3 (2.918.4) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.18.1] .
### Releases
- [NPM v0.18.1] https://www.npmjs.com/package/@gleanwork/api-client/v/0.18.1 - .
4 changes: 2 additions & 2 deletions docs/models/components/datasourcecategory.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ The type of this datasource. It is an important signal for relevance and must be
```typescript
import { DatasourceCategory } from "@gleanwork/api-client/models/components";

let value: DatasourceCategory = "EXTERNAL_SHORTCUT";
let value: DatasourceCategory = "ENTITY";

// Open enum: unrecognized values are captured as Unrecognized<string>
```

## Values

```typescript
"UNCATEGORIZED" | "TICKETS" | "CRM" | "PUBLISHED_CONTENT" | "COLLABORATIVE_CONTENT" | "QUESTION_ANSWER" | "MESSAGING" | "CODE_REPOSITORY" | "CHANGE_MANAGEMENT" | "PEOPLE" | "EMAIL" | "SSO" | "ATS" | "KNOWLEDGE_HUB" | "EXTERNAL_SHORTCUT" | "ENTITY" | "CALENDAR" | "AGENTS" | Unrecognized<string>
"UNCATEGORIZED" | "TICKETS" | "CRM" | "PUBLISHED_CONTENT" | "COLLABORATIVE_CONTENT" | "QUESTION_ANSWER" | "MESSAGING" | "CODE_REPOSITORY" | "CHANGE_MANAGEMENT" | "PEOPLE" | "EMAIL" | "SSO" | "ATS" | "KNOWLEDGE_HUB" | "EXTERNAL_SHORTCUT" | "ENTITY" | "CALENDAR" | "AGENTS" | "AI_CONVERSATION" | "AI_ARTIFACT" | Unrecognized<string>
```
2 changes: 1 addition & 1 deletion docs/models/components/doccategory.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ let value: DocCategory = "COLLABORATIVE_CONTENT";
## Values

```typescript
"UNCATEGORIZED" | "TICKETS" | "CRM" | "PUBLISHED_CONTENT" | "COLLABORATIVE_CONTENT" | "QUESTION_ANSWER" | "MESSAGING" | "CODE_REPOSITORY" | "CHANGE_MANAGEMENT" | "PEOPLE" | "EMAIL" | "SSO" | "ATS" | "KNOWLEDGE_HUB" | "EXTERNAL_SHORTCUT" | "ENTITY" | "CALENDAR" | "AGENTS" | Unrecognized<string>
"UNCATEGORIZED" | "TICKETS" | "CRM" | "PUBLISHED_CONTENT" | "COLLABORATIVE_CONTENT" | "QUESTION_ANSWER" | "MESSAGING" | "CODE_REPOSITORY" | "CHANGE_MANAGEMENT" | "PEOPLE" | "EMAIL" | "SSO" | "ATS" | "KNOWLEDGE_HUB" | "EXTERNAL_SHORTCUT" | "ENTITY" | "CALENDAR" | "AGENTS" | "AI_CONVERSATION" | "AI_ARTIFACT" | Unrecognized<string>
```
27 changes: 27 additions & 0 deletions docs/models/components/platformdatasourcefilterinfo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# PlatformDatasourceFilterInfo

## Example Usage

```typescript
import { PlatformDatasourceFilterInfo } from "@gleanwork/api-client/models/components";

let value: PlatformDatasourceFilterInfo = {
datasource: "jira",
filters: [
{
field: "status",
type: "STRING",
operators: [
"LTE",
],
},
],
};
```

## Fields

| Field | Type | Required | Description | Example |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `datasource` | *string* | :heavy_check_mark: | Stable canonical normalized datasource identifier usable in `POST /api/search` `datasources`.<br/> | jira |
| `filters` | [components.PlatformFilterFieldInfo](../../models/components/platformfilterfieldinfo.md)[] | :heavy_check_mark: | Common built-in filter fields for this datasource. May be empty. Absence of a public built-in here does not make that field invalid in `POST /api/search`.<br/> | |
Loading
Loading