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
10 changes: 5 additions & 5 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: 664aaca5-a41f-4434-8f2a-642dba92fe68
management:
docChecksum: 2dcefd4e1803d98e97ba5e2c1b4b7b06
docChecksum: 648d674fdd05aad794f8dd9965d820b5
docVersion: 0.9.0
speakeasyVersion: 1.657.0
generationVersion: 2.755.0
releaseVersion: 0.13.9
configChecksum: f94244b60a32bd6a11eb9eb1e52723a5
speakeasyVersion: 1.658.1
generationVersion: 2.755.6
releaseVersion: 0.13.10
configChecksum: ea240db399714d539be9318556838f6f
repoURL: https://github.com/gleanwork/api-client-typescript.git
installationURL: https://github.com/gleanwork/api-client-typescript
published: true
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: true
typescript:
version: 0.13.9
version: 0.13.10
acceptHeaderEnum: true
additionalDependencies:
dependencies: {}
Expand Down
7 changes: 4 additions & 3 deletions .speakeasy/glean-merged-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ openapi: 3.0.0
info:
version: 0.9.0
title: Glean API
x-source-commit-sha: 8f565e6072898e4f6fca86fa97978efc4ea33975
x-source-commit-sha: 3c1d4f5f7b2de021e7e5ab5dff962254c16aa5db
description: |
# Introduction
In addition to the data sources that Glean has built-in support for, Glean also provides a REST API that enables customers to put arbitrary content in the search index. This is useful, for example, for doing permissions-aware search over content in internal tools that reside on-prem as well as for searching over applications that Glean does not currently support first class. In addition these APIs allow the customer to push organization data (people info, organization structure etc) into Glean.
Expand All @@ -22,7 +22,7 @@ info:
These API clients provide type-safe, idiomatic interfaces for working with Glean IndexingAPIs in your language of choice.
x-logo:
url: https://app.glean.com/images/glean-text2.svg
x-open-api-commit-sha: 82065b6c142bd74beb1f8c2e670ac7dd81e45ebd
x-open-api-commit-sha: b20a53af8a9aee1fd48c351fe14b4b12c8eefd12
x-speakeasy-name: 'Glean API'
servers:
- url: https://{instance}-be.glean.com
Expand Down Expand Up @@ -11240,7 +11240,8 @@ components:
The permalink for viewing the document. **Note: viewURL is a required field for non-entity datasources, but not required if the datasource is used to push custom entities (ie. datasources where isEntityDatasource is false).**'
id:
type: string
description: The datasource specific id for the document. This field is case insensitive and should not be more than 200 characters in length.
description: |
The datasource specific id for the document. This field is case insensitive and should not be more than 200 characters in length. Note: id is a required field for datasources created after 1st March 2025
summary:
$ref: "#/components/schemas/ContentDefinition"
body:
Expand Down
14 changes: 7 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
speakeasyVersion: 1.657.0
speakeasyVersion: 1.658.1
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:fd35d47c584495c0f29e30f502ee3f6bde461142a6d2bb69c0822440494c1d41
sourceBlobDigest: sha256:de7302488181d96aed6b8d230db6667f83ec481bf6c1c5295778c358a32ebb68
sourceRevisionDigest: sha256:32fce82d031f7f53e3ac040caae0f7ff32686e08ab3ed5291b710a6a4cc19e97
sourceBlobDigest: sha256:1161e7578cd01452b8aa987120ec26127f910ccff14897b24601c9f78a1e44d0
tags:
- latest
- speakeasy-sdk-regen-1763156877
- speakeasy-sdk-regen-1763167768
Glean Client API:
sourceNamespace: glean-client-api
sourceRevisionDigest: sha256:aec0770b5bcca91068c3a844cb9ef4a091281f6cc3b7d86f2abef1bd6fb2b301
Expand All @@ -18,10 +18,10 @@ targets:
glean:
source: Glean API
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:fd35d47c584495c0f29e30f502ee3f6bde461142a6d2bb69c0822440494c1d41
sourceBlobDigest: sha256:de7302488181d96aed6b8d230db6667f83ec481bf6c1c5295778c358a32ebb68
sourceRevisionDigest: sha256:32fce82d031f7f53e3ac040caae0f7ff32686e08ab3ed5291b710a6a4cc19e97
sourceBlobDigest: sha256:1161e7578cd01452b8aa987120ec26127f910ccff14897b24601c9f78a1e44d0
codeSamplesNamespace: glean-api-specs-typescript-code-samples
codeSamplesRevisionDigest: sha256:ec7057c66b1b8c874d998a01f6073af623e2112795a9e3982ca4960349239f7b
codeSamplesRevisionDigest: sha256:c92a847775766a803d7bbfdc5b09b771af4c2a3afe9d7aba161e0502fc211ad9
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -448,4 +448,14 @@ Based on:
### Generated
- [typescript v0.13.9] .
### Releases
- [NPM v0.13.9] https://www.npmjs.com/package/@gleanwork/api-client/v/0.13.9 - .
- [NPM v0.13.9] https://www.npmjs.com/package/@gleanwork/api-client/v/0.13.9 - .

## 2025-11-17 11:23:34
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.658.1 (2.755.6) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.13.10] .
### Releases
- [NPM v0.13.10] https://www.npmjs.com/package/@gleanwork/api-client/v/0.13.10 - .
2 changes: 1 addition & 1 deletion docs/models/components/documentdefinition.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ let value: DocumentDefinition = {
| `datasource` | *string* | :heavy_check_mark: | N/A |
| `objectType` | *string* | :heavy_minus_sign: | The type of the document (Case, KnowledgeArticle for Salesforce for example). It cannot have spaces or _ |
| `viewURL` | *string* | :heavy_minus_sign: | The permalink for viewing the document. **Note: viewURL is a required field for non-entity datasources, but not required if the datasource is used to push custom entities (ie. datasources where isEntityDatasource is false).**'<br/> |
| `id` | *string* | :heavy_minus_sign: | The datasource specific id for the document. This field is case insensitive and should not be more than 200 characters in length. |
| `id` | *string* | :heavy_minus_sign: | The datasource specific id for the document. This field is case insensitive and should not be more than 200 characters in length. Note: id is a required field for datasources created after 1st March 2025<br/> |
| `summary` | [components.ContentDefinition](../../models/components/contentdefinition.md) | :heavy_minus_sign: | Describes text content or base64 encoded binary content |
| `body` | [components.ContentDefinition](../../models/components/contentdefinition.md) | :heavy_minus_sign: | Describes text content or base64 encoded binary content |
| `author` | [components.UserReferenceDefinition](../../models/components/userreferencedefinition.md) | :heavy_minus_sign: | Describes how a user is referenced in a document. The user can be referenced by email or by a datasource specific id. |
Expand Down
2 changes: 1 addition & 1 deletion examples/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion jsr.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{
"name": "@gleanwork/api-client",
"version": "0.13.9",
"version": "0.13.10",
"exports": {
".": "./src/index.ts",
"./models/errors": "./src/models/errors/index.ts",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gleanwork/api-client",
"version": "0.13.9",
"version": "0.13.10",
"author": "Speakeasy",
"type": "module",
"tshy": {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
export const SDK_METADATA = {
language: "typescript",
openapiDocVersion: "0.9.0",
sdkVersion: "0.13.9",
genVersion: "2.755.0",
sdkVersion: "0.13.10",
genVersion: "2.755.6",
userAgent:
"speakeasy-sdk/typescript 0.13.9 2.755.0 0.9.0 @gleanwork/api-client",
"speakeasy-sdk/typescript 0.13.10 2.755.6 0.9.0 @gleanwork/api-client",
} as const;
4 changes: 3 additions & 1 deletion src/models/components/documentdefinition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ export type DocumentDefinition = {
*/
viewURL?: string | undefined;
/**
* The datasource specific id for the document. This field is case insensitive and should not be more than 200 characters in length.
* The datasource specific id for the document. This field is case insensitive and should not be more than 200 characters in length. Note: id is a required field for datasources created after 1st March 2025
*
* @remarks
*/
id?: string | undefined;
/**
Expand Down