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
42 changes: 23 additions & 19 deletions .speakeasy/gen.lock
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
lockVersion: 2.0.0
id: 664aaca5-a41f-4434-8f2a-642dba92fe68
management:
docChecksum: 74646e230b3f40b8ae92d641bbb73b26
docChecksum: 155a8a099a04ddbed1268d2c31ba186a
docVersion: 0.9.0
speakeasyVersion: 1.675.4
generationVersion: 2.779.2
releaseVersion: 0.13.17
configChecksum: a5a540f336893515b451edd1f24c2509
releaseVersion: 0.13.18
configChecksum: 76c23d58af9240a60a24cca5406f12f8
repoURL: https://github.com/gleanwork/api-client-typescript.git
installationURL: https://github.com/gleanwork/api-client-typescript
published: true
persistentEdits:
generation_id: 47b6be80-6ebf-4de6-983c-d810af839d7b
pristine_commit_hash: 21d9c6549055e39c5ab836b01e887d2ca184c6bb
pristine_tree_hash: 03201e61664c5581cb2c241518107e6695b9e0d4
generation_id: 53057ce5-bacc-4f4f-9212-1cd4c2a6a551
pristine_commit_hash: feae8d0e2a12f1a29080b732bcf531f0dbbbc9e8
pristine_tree_hash: 8a05a3b96b34298c0806189ced408445efcf0929
features:
typescript:
additionalDependencies: 0.1.0
Expand Down Expand Up @@ -1052,8 +1052,8 @@ trackedFiles:
pristine_git_object: 54ed1421fbb6a0efafe82f3732055da716d26d5c
docs/models/components/exportinfo.md:
id: 7b4a50bf6885
last_write_checksum: sha1:2296bf9f532a474c9213d3600c7bede77dba52fe
pristine_git_object: de455b1a9161e0621da4f73ca654c4e2dd7fa05e
last_write_checksum: sha1:dbe8030c82b83c42a93d1ac3ac122cbf64d5898e
pristine_git_object: 2c5aad40dae9a1921ed02b25a22d94bdf4f83212
docs/models/components/exportinfostatus.md:
id: aad464e2f4e7
last_write_checksum: sha1:c8c96d6dcecdac0c4e551a3265a8259d3abb4b96
Expand Down Expand Up @@ -2632,12 +2632,12 @@ trackedFiles:
pristine_git_object: 5a2797590d4be351d62915017d5b2a0f853537c8
jsr.json:
id: 7f6ab7767282
last_write_checksum: sha1:e7f55b81b811c202eca4fb565b24d8b40a1f1767
pristine_git_object: 99dae8bcfb02410c91d58a83bd3e922088cd7b82
last_write_checksum: sha1:d1edca251eec3d354a939ff7260d1b04a441bed1
pristine_git_object: bde71ffa5805530bb46ae433db24299ed3a96134
package.json:
id: 7030d0b2f71b
last_write_checksum: sha1:88e482b196110588ea574e82a7a7f69f5011ebf7
pristine_git_object: 559191ada2af5f699bb93fd427c803b7f0ba82ed
last_write_checksum: sha1:62106ea6e219bb7d26525758024002c9589e91ea
pristine_git_object: df56d94d809052887f102c4270a731af0f045cca
src/__tests__/activities.test.ts:
id: 65fa859b8f59
last_write_checksum: sha1:967fae9ee4ae9dd9ee8383b2ce261d26d05d9873
Expand Down Expand Up @@ -3331,7 +3331,7 @@ trackedFiles:
src/__tests__/mockserver/internal/sdk/models/components/eventstrategyname.go:
last_write_checksum: sha1:acecfa3fb469871561d21b30275631ced4a4a11c
src/__tests__/mockserver/internal/sdk/models/components/exportinfo.go:
last_write_checksum: sha1:0fd962ff58d720caf13e09ce08624617485a4dcd
last_write_checksum: sha1:a211dd685d03fa0b8d7e0186d15abf9756d1bf4e
src/__tests__/mockserver/internal/sdk/models/components/externalsharingoptions.go:
last_write_checksum: sha1:82c4ead1f0d347a66103a3c44c8232b1a6f78243
src/__tests__/mockserver/internal/sdk/models/components/externalshortcut.go:
Expand Down Expand Up @@ -4120,8 +4120,8 @@ trackedFiles:
pristine_git_object: 6471c989c852287b210470481dda5853db47ec58
src/__tests__/summarize.test.ts:
id: 3105d6ebc7eb
last_write_checksum: sha1:160431c499f848da9e93d32c2586e3920ce937b5
pristine_git_object: 7c2057b787870dfe9cd556ae648d1bb75755ff72
last_write_checksum: sha1:4eaacb52f3595e5a41792020e4506e91d2f42d38
pristine_git_object: 8eaa849f1fc34250a0356502eb99c57262f91225
src/__tests__/testclient.ts:
id: f142c080bff8
last_write_checksum: sha1:a62cc200f8a9f9c0310ce1b8ba6392d480ab5569
Expand Down Expand Up @@ -4616,8 +4616,8 @@ trackedFiles:
pristine_git_object: 0aebd8b0a4867e35cb3348fc52921c3c0b4725b7
src/lib/config.ts:
id: 320761608fb3
last_write_checksum: sha1:e9bf6afe7448274b42d6b440532b0b81f9b16dc7
pristine_git_object: 51c43a42b12f45d12cead476d639fd7302d21a51
last_write_checksum: sha1:fe776c779428b380edea8a1a299c670f109d8ec8
pristine_git_object: 9766dd9a1fe897b07d328ab0d8196352091a89c6
src/lib/dlv.ts:
id: b1988214835a
last_write_checksum: sha1:1dd3e3fbb4550c4bf31f5ef997faff355d6f3250
Expand Down Expand Up @@ -5436,8 +5436,8 @@ trackedFiles:
pristine_git_object: c21e8a2f5f3e471418daaf946bebe2fc42d16dd9
src/models/components/exportinfo.ts:
id: 2bacc39472b8
last_write_checksum: sha1:9cd9dd9ea13d64808a18838dc04b9b1dae975387
pristine_git_object: 6a8a965bb22beebe3bb07a75e1d4709c265d84f7
last_write_checksum: sha1:4bfa3cc38cda464b64fe6104eb77340371423999
pristine_git_object: d63ef0eedb296b825d4c1bbc123530c6a25a0615
src/models/components/externalsharingoptions.ts:
id: 289a624274ca
last_write_checksum: sha1:52f78940ac3a5d1e0b1676dae3849e0e86583d25
Expand Down Expand Up @@ -8115,6 +8115,10 @@ generatedTests:
setdocvisibility: "2025-06-09T18:05:10Z"
listfindingsexports: "2025-12-10T18:23:24Z"
downloadfindingsexport: "2025-12-10T18:23:24Z"
releaseNotes: |
## Typescript SDK Changes:
* `glean.governance.createfindingsexport()`: `response.exportsize` **Added**
* `glean.governance.listfindingsexports()`: `response.exports.[].exportSize` **Added**
generatedFiles:
- .devcontainer/README.md
- .devcontainer/devcontainer.json
Expand Down
2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ generation:
generateNewTests: true
skipResponseBodyAssertions: true
typescript:
version: 0.13.17
version: 0.13.18
acceptHeaderEnum: true
additionalDependencies:
dependencies: {}
Expand Down
8 changes: 6 additions & 2 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: 2716d99b958fa0dbf1a48290203cb28f43c37a92
x-source-commit-sha: 6c18cdaa8da169e191cc66885c326e2ea6d13644
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: ecce1959afb4701947e853c482ed77ed6743e643
x-open-api-commit-sha: c7a6190b989a16d24b879348f08e27efcb304566
x-speakeasy-name: 'Glean API'
servers:
- url: https://{instance}-be.glean.com
Expand Down Expand Up @@ -13074,6 +13074,10 @@ components:
- PENDING
- COMPLETED
- FAILED
exportSize:
type: integer
format: int64
description: The size of the exported file in bytes
ListDlpFindingsExportsResponse:
properties:
exports:
Expand Down
12 changes: 6 additions & 6 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ speakeasyVersion: 1.675.4
sources:
Glean API:
sourceNamespace: glean-api-specs
sourceRevisionDigest: sha256:cf8e5c9ddb51d4048054a3fd1d50321965893416a776cc9a328031075305918c
sourceBlobDigest: sha256:c3c7966652dafb9a4cd580555d5b9d13a43ab4f198e2693485bdb5cc46094d3b
sourceRevisionDigest: sha256:a38a82dd27fe58019cf7c85c19cbd402e93361c9df38ce070f2ca419eeab832f
sourceBlobDigest: sha256:3840e8da76cb1e20b3c7f053acee46de0e4bcb58e17379e235342990ead4c8f8
tags:
- latest
- speakeasy-sdk-regen-1765404413
- speakeasy-sdk-regen-1765502435
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:cf8e5c9ddb51d4048054a3fd1d50321965893416a776cc9a328031075305918c
sourceBlobDigest: sha256:c3c7966652dafb9a4cd580555d5b9d13a43ab4f198e2693485bdb5cc46094d3b
sourceRevisionDigest: sha256:a38a82dd27fe58019cf7c85c19cbd402e93361c9df38ce070f2ca419eeab832f
sourceBlobDigest: sha256:3840e8da76cb1e20b3c7f053acee46de0e4bcb58e17379e235342990ead4c8f8
codeSamplesNamespace: glean-api-specs-typescript-code-samples
codeSamplesRevisionDigest: sha256:23b42963b9d468e38489dbb64607d6a4b87251af6173e8d4e01c3b461d3e4f03
codeSamplesRevisionDigest: sha256:548c9fd65c523a68b0083399ff25eb45b7ee7e12cff7dbf2ec5e6aa722f55f94
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 @@ -528,4 +528,14 @@ Based on:
### Generated
- [typescript v0.13.17] .
### Releases
- [NPM v0.13.17] https://www.npmjs.com/package/@gleanwork/api-client/v/0.13.17 - .
- [NPM v0.13.17] https://www.npmjs.com/package/@gleanwork/api-client/v/0.13.17 - .

## 2025-12-12 06:44:44
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.675.4 (2.779.2) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.13.18] .
### Releases
- [NPM v0.13.18] https://www.npmjs.com/package/@gleanwork/api-client/v/0.13.18 - .
3 changes: 2 additions & 1 deletion docs/models/components/exportinfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ let value: ExportInfo = {};
| `exportId` | *string* | :heavy_minus_sign: | The ID of the export |
| `fileName` | *string* | :heavy_minus_sign: | The name of the file to export the findings to |
| `filter` | [components.DlpFindingFilter](../../models/components/dlpfindingfilter.md) | :heavy_minus_sign: | N/A |
| `status` | [components.ExportInfoStatus](../../models/components/exportinfostatus.md) | :heavy_minus_sign: | The status of the export |
| `status` | [components.ExportInfoStatus](../../models/components/exportinfostatus.md) | :heavy_minus_sign: | The status of the export |
| `exportSize` | *number* | :heavy_minus_sign: | The size of the exported file in bytes |
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.17",
"version": "0.13.18",
"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.17",
"version": "0.13.18",
"author": "Speakeasy",
"type": "module",
"tshy": {
Expand Down

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

6 changes: 4 additions & 2 deletions src/__tests__/summarize.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@ test("Summarize Summarize", async () => {
const result = await glean.client.documents.summarize({
documentSpecs: [
{
url: "https://dim-glider.com/",
ugcType: "SHORTCUTS",
contentId: 602763,
},
{
id: "<id>",
ugcType: "SHORTCUTS",
contentId: 602763,
},
],
});
Expand Down
4 changes: 2 additions & 2 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.17",
sdkVersion: "0.13.18",
genVersion: "2.779.2",
userAgent:
"speakeasy-sdk/typescript 0.13.17 2.779.2 0.9.0 @gleanwork/api-client",
"speakeasy-sdk/typescript 0.13.18 2.779.2 0.9.0 @gleanwork/api-client",
} as const;
5 changes: 5 additions & 0 deletions src/models/components/exportinfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ export type ExportInfo = {
* The status of the export
*/
status?: ExportInfoStatus | undefined;
/**
* The size of the exported file in bytes
*/
exportSize?: number | undefined;
};

/** @internal */
Expand All @@ -72,6 +76,7 @@ export const ExportInfo$inboundSchema: z.ZodType<
fileName: z.string().optional(),
filter: DlpFindingFilter$inboundSchema.optional(),
status: ExportInfoStatus$inboundSchema.optional(),
exportSize: z.number().int().optional(),
});

export function exportInfoFromJSON(
Expand Down