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
12 changes: 6 additions & 6 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: f83688cf1540bc7d583e1661684632b8
docChecksum: ef00a2f5125097d9f584f0bbb5436f00
docVersion: 0.9.0
speakeasyVersion: 1.636.2
generationVersion: 2.723.8
releaseVersion: 0.12.1
configChecksum: d165d71e09035d07b6016b2b8ecd2a9a
speakeasyVersion: 1.636.3
generationVersion: 2.723.11
releaseVersion: 0.12.2
configChecksum: d0f5d58b90c41c41241fca798c0f847f
repoURL: https://github.com/gleanwork/api-client-typescript.git
installationURL: https://github.com/gleanwork/api-client-typescript
published: true
Expand Down Expand Up @@ -2981,4 +2981,4 @@ generatedTests:
setdocvisibility: "2025-06-09T18:05:10Z"
releaseNotes: |
## Typescript SDK Changes Detected:
* `glean.client.insights.retrieve()`: `response.agentsresponse.topAgentsInsights.[].icon` **Added**
* `glean.client.search.retrieveFeed()`: `response.results.[].primaryEntry.digest.sections.[].updates.[].urls` **Added**
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: true
typescript:
version: 0.12.1
version: 0.12.2
acceptHeaderEnum: true
additionalDependencies:
dependencies: {}
Expand Down
5 changes: 5 additions & 0 deletions .speakeasy/glean-merged-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9723,6 +9723,11 @@ components:
DigestUpdate:
type: object
properties:
urls:
type: array
description: List of URLs for similar updates that are grouped together and rendered as a single update.
items:
type: string
url:
type: string
description: URL link to the content or document.
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.636.2
speakeasyVersion: 1.636.3
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:3f099971b20cdaba1d53693ee90708d1461530957b1e44009e457250d4441b05
sourceBlobDigest: sha256:02db6ddd119e9c20b2130f2318039c2b6e19b0487ecb3bd5aed5e92acfe203cc
sourceRevisionDigest: sha256:784ebb76d989e40e13173fd5583545b5c83afb48be4d97b2c129cc90e2998f3f
sourceBlobDigest: sha256:7d1478805de16c63a0e5c784706e64b229cb94f7e0b4d438aa52f764be944544
tags:
- latest
- speakeasy-sdk-regen-1759915417
- speakeasy-sdk-regen-1760121029
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:3f099971b20cdaba1d53693ee90708d1461530957b1e44009e457250d4441b05
sourceBlobDigest: sha256:02db6ddd119e9c20b2130f2318039c2b6e19b0487ecb3bd5aed5e92acfe203cc
sourceRevisionDigest: sha256:784ebb76d989e40e13173fd5583545b5c83afb48be4d97b2c129cc90e2998f3f
sourceBlobDigest: sha256:7d1478805de16c63a0e5c784706e64b229cb94f7e0b4d438aa52f764be944544
codeSamplesNamespace: glean-api-specs-typescript-code-samples
codeSamplesRevisionDigest: sha256:c24bf6b805ddcd919f4e6046bdb9c6e393b354afb822c06e44804e236c6c6cdb
codeSamplesRevisionDigest: sha256:12c9ed60916f5d53dcc8c6db5e5155b940e6c454f2de6e0584f43291c3e7ab84
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 @@ -328,4 +328,14 @@ Based on:
### Generated
- [typescript v0.12.1] .
### Releases
- [NPM v0.12.1] https://www.npmjs.com/package/@gleanwork/api-client/v/0.12.1 - .
- [NPM v0.12.1] https://www.npmjs.com/package/@gleanwork/api-client/v/0.12.1 - .

## 2025-10-10 18:30:03
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.636.3 (2.723.11) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.12.2] .
### Releases
- [NPM v0.12.2] https://www.npmjs.com/package/@gleanwork/api-client/v/0.12.2 - .
15 changes: 8 additions & 7 deletions docs/models/components/digestupdate.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ let value: DigestUpdate = {};

## Fields

| Field | Type | Required | Description |
| ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- | ---------------------------------------------------------------------- |
| `url` | *string* | :heavy_minus_sign: | URL link to the content or document. |
| `title` | *string* | :heavy_minus_sign: | Title or headline of the update. |
| `datasource` | *string* | :heavy_minus_sign: | Name or identifier of the data source (e.g., slack, confluence, etc.). |
| `summary` | *string* | :heavy_minus_sign: | Brief summary or description of the update content. |
| `type` | [components.UpdateType](../../models/components/updatetype.md) | :heavy_minus_sign: | Optional type classification for the update. |
| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |
| `urls` | *string*[] | :heavy_minus_sign: | List of URLs for similar updates that are grouped together and rendered as a single update. |
| `url` | *string* | :heavy_minus_sign: | URL link to the content or document. |
| `title` | *string* | :heavy_minus_sign: | Title or headline of the update. |
| `datasource` | *string* | :heavy_minus_sign: | Name or identifier of the data source (e.g., slack, confluence, etc.). |
| `summary` | *string* | :heavy_minus_sign: | Brief summary or description of the update content. |
| `type` | [components.UpdateType](../../models/components/updatetype.md) | :heavy_minus_sign: | Optional type classification for the update. |
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.12.1",
"version": "0.12.2",
"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.12.1",
"version": "0.12.2",
"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: 2 additions & 4 deletions src/__tests__/summarize.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,10 @@ test("Summarize Summarize", async () => {
const result = await glean.client.documents.summarize({
documentSpecs: [
{
ugcType: "SHORTCUTS",
contentId: 602763,
url: "https://dim-glider.com/",
},
{
ugcType: "SHORTCUTS",
contentId: 602763,
id: "<id>",
},
],
});
Expand Down
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.12.1",
genVersion: "2.723.8",
sdkVersion: "0.12.2",
genVersion: "2.723.11",
userAgent:
"speakeasy-sdk/typescript 0.12.1 2.723.8 0.9.0 @gleanwork/api-client",
"speakeasy-sdk/typescript 0.12.2 2.723.11 0.9.0 @gleanwork/api-client",
} as const;
7 changes: 7 additions & 0 deletions src/models/components/digestupdate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ import {
} from "./updatetype.js";

export type DigestUpdate = {
/**
* List of URLs for similar updates that are grouped together and rendered as a single update.
*/
urls?: Array<string> | undefined;
/**
* URL link to the content or document.
*/
Expand Down Expand Up @@ -41,6 +45,7 @@ export const DigestUpdate$inboundSchema: z.ZodType<
z.ZodTypeDef,
unknown
> = z.object({
urls: z.array(z.string()).optional(),
url: z.string().optional(),
title: z.string().optional(),
datasource: z.string().optional(),
Expand All @@ -50,6 +55,7 @@ export const DigestUpdate$inboundSchema: z.ZodType<

/** @internal */
export type DigestUpdate$Outbound = {
urls?: Array<string> | undefined;
url?: string | undefined;
title?: string | undefined;
datasource?: string | undefined;
Expand All @@ -63,6 +69,7 @@ export const DigestUpdate$outboundSchema: z.ZodType<
z.ZodTypeDef,
DigestUpdate
> = z.object({
urls: z.array(z.string()).optional(),
url: z.string().optional(),
title: z.string().optional(),
datasource: z.string().optional(),
Expand Down