diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock
index 2af57a3f..d5a2ba7c 100644
--- a/.speakeasy/gen.lock
+++ b/.speakeasy/gen.lock
@@ -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
diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml
index 903a92a1..515e8472 100644
--- a/.speakeasy/gen.yaml
+++ b/.speakeasy/gen.yaml
@@ -30,7 +30,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: true
typescript:
- version: 0.13.9
+ version: 0.13.10
acceptHeaderEnum: true
additionalDependencies:
dependencies: {}
diff --git a/.speakeasy/glean-merged-spec.yaml b/.speakeasy/glean-merged-spec.yaml
index 9c580dd5..e9d8fb95 100644
--- a/.speakeasy/glean-merged-spec.yaml
+++ b/.speakeasy/glean-merged-spec.yaml
@@ -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.
@@ -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
@@ -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:
diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock
index 2f438fc9..393fbf3b 100644
--- a/.speakeasy/workflow.lock
+++ b/.speakeasy/workflow.lock
@@ -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
@@ -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
diff --git a/RELEASES.md b/RELEASES.md
index 16ae2286..eca6e4da 100644
--- a/RELEASES.md
+++ b/RELEASES.md
@@ -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 - .
\ No newline at end of file
+- [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 - .
\ No newline at end of file
diff --git a/docs/models/components/documentdefinition.md b/docs/models/components/documentdefinition.md
index f4251dc8..f58df8c3 100644
--- a/docs/models/components/documentdefinition.md
+++ b/docs/models/components/documentdefinition.md
@@ -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).**'
|
-| `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
|
| `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. |
diff --git a/examples/package-lock.json b/examples/package-lock.json
index d376ddf0..621e3045 100644
--- a/examples/package-lock.json
+++ b/examples/package-lock.json
@@ -18,7 +18,7 @@
},
"..": {
"name": "@gleanwork/api-client",
- "version": "0.13.9",
+ "version": "0.13.10",
"dependencies": {
"zod": "^3.25.0 || ^4.0.0"
},
diff --git a/jsr.json b/jsr.json
index 71f5728c..34b803eb 100644
--- a/jsr.json
+++ b/jsr.json
@@ -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",
diff --git a/package-lock.json b/package-lock.json
index 02a9e8ef..cd7315bf 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@gleanwork/api-client",
- "version": "0.13.9",
+ "version": "0.13.10",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@gleanwork/api-client",
- "version": "0.13.9",
+ "version": "0.13.10",
"dependencies": {
"zod": "^3.25.0 || ^4.0.0"
},
diff --git a/package.json b/package.json
index e9ef8a25..9e493371 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@gleanwork/api-client",
- "version": "0.13.9",
+ "version": "0.13.10",
"author": "Speakeasy",
"type": "module",
"tshy": {
diff --git a/src/__tests__/mockserver/internal/handler/pathpostrestapiv1createcollection.go b/src/__tests__/mockserver/internal/handler/pathpostrestapiv1createcollection.go
index 5c99a0ad..371b9023 100644
--- a/src/__tests__/mockserver/internal/handler/pathpostrestapiv1createcollection.go
+++ b/src/__tests__/mockserver/internal/handler/pathpostrestapiv1createcollection.go
@@ -56,14 +56,14 @@ func testCreatecollectionCreatecollection0(w http.ResponseWriter, req *http.Requ
operations.ResponseBody2{
Collection: &components.Collection{
Name: "",
- Description: "motionless whenever paintwork import over cuckoo",
+ Description: "whole busily jive hawk gee basic minus hence",
AddedRoles: []components.UserRoleSpecification{
components.UserRoleSpecification{
Person: &components.Person{
Name: "George Clooney",
ObfuscatedID: "abc123",
},
- Role: components.UserRoleOwner,
+ Role: components.UserRoleAnswerModerator,
},
},
RemovedRoles: []components.UserRoleSpecification{
@@ -90,7 +90,7 @@ func testCreatecollectionCreatecollection0(w http.ResponseWriter, req *http.Requ
},
},
},
- ID: 363711,
+ ID: 158969,
Creator: &components.Person{
Name: "George Clooney",
ObfuscatedID: "abc123",
@@ -101,7 +101,7 @@ func testCreatecollectionCreatecollection0(w http.ResponseWriter, req *http.Requ
},
Items: []components.CollectionItem{
components.CollectionItem{
- CollectionID: 570197,
+ CollectionID: 110375,
CreatedBy: &components.Person{
Name: "George Clooney",
ObfuscatedID: "abc123",
@@ -266,13 +266,13 @@ func testCreatecollectionCreatecollection0(w http.ResponseWriter, req *http.Requ
Name: "George Clooney",
ObfuscatedID: "abc123",
},
- Role: components.UserRoleAnswerModerator,
+ Role: components.UserRoleEditor,
},
},
},
Collection: &components.Collection{
Name: "",
- Description: "athwart skateboard newsstand farm bourgeoisie ah how elliptical aha well-to-do",
+ Description: "wedge colorfully orientate rally",
AudienceFilters: []components.FacetFilter{
components.FacetFilter{
FieldName: types.String("type"),
@@ -288,7 +288,7 @@ func testCreatecollectionCreatecollection0(w http.ResponseWriter, req *http.Requ
},
},
},
- ID: 643990,
+ ID: 131797,
Creator: &components.Person{
Name: "George Clooney",
ObfuscatedID: "abc123",
@@ -300,7 +300,7 @@ func testCreatecollectionCreatecollection0(w http.ResponseWriter, req *http.Requ
Children: []components.Collection{
components.Collection{
Name: "",
- Description: "woot purse salty even as advanced",
+ Description: "outside yippee sidetrack mature regularly mouser inject worth",
AudienceFilters: []components.FacetFilter{
components.FacetFilter{
FieldName: types.String("type"),
@@ -316,7 +316,7 @@ func testCreatecollectionCreatecollection0(w http.ResponseWriter, req *http.Requ
},
},
},
- ID: 359978,
+ ID: 149448,
Creator: &components.Person{
Name: "George Clooney",
ObfuscatedID: "abc123",
@@ -328,7 +328,7 @@ func testCreatecollectionCreatecollection0(w http.ResponseWriter, req *http.Requ
},
},
},
- ItemType: components.CollectionItemItemTypeURL,
+ ItemType: components.CollectionItemItemTypeCollection,
},
},
},
diff --git a/src/__tests__/mockserver/internal/sdk/models/components/documentdefinition.go b/src/__tests__/mockserver/internal/sdk/models/components/documentdefinition.go
index b0bbd077..beac1f1c 100644
--- a/src/__tests__/mockserver/internal/sdk/models/components/documentdefinition.go
+++ b/src/__tests__/mockserver/internal/sdk/models/components/documentdefinition.go
@@ -20,7 +20,8 @@ type DocumentDefinition struct {
// 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).**'
//
ViewURL *string `json:"viewURL,omitempty"`
- // 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
+ //
ID *string `json:"id,omitempty"`
// Describes text content or base64 encoded binary content
Summary *ContentDefinition `json:"summary,omitempty"`
diff --git a/src/lib/config.ts b/src/lib/config.ts
index 5fad2422..820c1faa 100644
--- a/src/lib/config.ts
+++ b/src/lib/config.ts
@@ -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;
diff --git a/src/models/components/documentdefinition.ts b/src/models/components/documentdefinition.ts
index ceeca563..abdb19f9 100644
--- a/src/models/components/documentdefinition.ts
+++ b/src/models/components/documentdefinition.ts
@@ -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;
/**