diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 719a277c..040f3327 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: 0ac885f7072adae50d62b33db76f5bb4 + docChecksum: 09ae73bbaebb3968dc7590f295580164 docVersion: 0.9.0 - speakeasyVersion: 1.656.1 - generationVersion: 2.753.1 - releaseVersion: 0.13.6 - configChecksum: 0384c8a68e056c6065736cc82ccb1873 + speakeasyVersion: 1.656.2 + generationVersion: 2.753.6 + releaseVersion: 0.13.7 + configChecksum: f00f30e4b9c88666040e4282ec4fd2c8 repoURL: https://github.com/gleanwork/api-client-typescript.git installationURL: https://github.com/gleanwork/api-client-typescript published: true @@ -2979,3 +2979,4 @@ generatedTests: createpolicy: "2025-06-09T18:05:10Z" createreport: "2025-06-09T18:05:10Z" setdocvisibility: "2025-06-09T18:05:10Z" +releaseNotes: "## Typescript SDK Changes Detected:\n* `glean.client.chat.retrieveFiles()`: \n * `request.getchatfilesrequest.chatId` **Removed** **Breaking** :warning:\n" diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 1230dd72..7d11f2ba 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -30,7 +30,7 @@ generation: generateNewTests: true skipResponseBodyAssertions: true typescript: - version: 0.13.6 + version: 0.13.7 acceptHeaderEnum: true additionalDependencies: dependencies: {} diff --git a/.speakeasy/glean-merged-spec.yaml b/.speakeasy/glean-merged-spec.yaml index a098579c..0066cfe7 100644 --- a/.speakeasy/glean-merged-spec.yaml +++ b/.speakeasy/glean-merged-spec.yaml @@ -7654,9 +7654,6 @@ components: items: type: string description: IDs of files to fetch. - chatId: - type: string - description: The ID of the chat that contains the chat file. GetChatFilesResponse: properties: files: diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 3b38863b..56dc5d2a 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,12 +1,12 @@ -speakeasyVersion: 1.656.1 +speakeasyVersion: 1.656.2 sources: Glean API: sourceNamespace: glean-api-specs - sourceRevisionDigest: sha256:2ad700f2ce85b0aa442a98a80f3c131f73fc187c53407d3d84b1899c0e603eb1 - sourceBlobDigest: sha256:d62d91bcf73cf5775dc081807ae550dd20f6ecdfb5dc06ebbd08804f84a2d2f1 + sourceRevisionDigest: sha256:96cafa57016acbc64c52992e4a68d7696a212761df887408ef0f2352ea10dae6 + sourceBlobDigest: sha256:b79b23f50c98e048500a2adc816142e62cc76246550749081488c83b528ce172 tags: - latest - - speakeasy-sdk-regen-1762908702 + - speakeasy-sdk-regen-1763081170 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:2ad700f2ce85b0aa442a98a80f3c131f73fc187c53407d3d84b1899c0e603eb1 - sourceBlobDigest: sha256:d62d91bcf73cf5775dc081807ae550dd20f6ecdfb5dc06ebbd08804f84a2d2f1 + sourceRevisionDigest: sha256:96cafa57016acbc64c52992e4a68d7696a212761df887408ef0f2352ea10dae6 + sourceBlobDigest: sha256:b79b23f50c98e048500a2adc816142e62cc76246550749081488c83b528ce172 codeSamplesNamespace: glean-api-specs-typescript-code-samples - codeSamplesRevisionDigest: sha256:57c4e097d75f9cab1485401baed08c02a2d348cf7d4a490793af84a5755259de + codeSamplesRevisionDigest: sha256:b0299c13e2549dd58e52869e2192aeefed8ed89c9e1f04611a090a31dc422d54 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/RELEASES.md b/RELEASES.md index 5fa6a90a..400d80ba 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -418,4 +418,14 @@ Based on: ### Generated - [typescript v0.13.6] . ### Releases -- [NPM v0.13.6] https://www.npmjs.com/package/@gleanwork/api-client/v/0.13.6 - . \ No newline at end of file +- [NPM v0.13.6] https://www.npmjs.com/package/@gleanwork/api-client/v/0.13.6 - . + +## 2025-11-14 01:15:51 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.656.2 (2.753.6) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v0.13.7] . +### Releases +- [NPM v0.13.7] https://www.npmjs.com/package/@gleanwork/api-client/v/0.13.7 - . \ No newline at end of file diff --git a/docs/models/components/getchatfilesrequest.md b/docs/models/components/getchatfilesrequest.md index a3db2c47..8bbde9ec 100644 --- a/docs/models/components/getchatfilesrequest.md +++ b/docs/models/components/getchatfilesrequest.md @@ -14,7 +14,6 @@ let value: GetChatFilesRequest = { ## Fields -| Field | Type | Required | Description | -| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | -| `fileIds` | *string*[] | :heavy_check_mark: | IDs of files to fetch. | -| `chatId` | *string* | :heavy_minus_sign: | The ID of the chat that contains the chat file. | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `fileIds` | *string*[] | :heavy_check_mark: | IDs of files to fetch. | \ No newline at end of file diff --git a/examples/package-lock.json b/examples/package-lock.json index 96bd4603..c006df66 100644 --- a/examples/package-lock.json +++ b/examples/package-lock.json @@ -18,7 +18,7 @@ }, "..": { "name": "@gleanwork/api-client", - "version": "0.13.6", + "version": "0.13.7", "dependencies": { "zod": "^3.25.0 || ^4.0.0" }, diff --git a/jsr.json b/jsr.json index cfefed8f..8415d5a6 100644 --- a/jsr.json +++ b/jsr.json @@ -2,7 +2,7 @@ { "name": "@gleanwork/api-client", - "version": "0.13.6", + "version": "0.13.7", "exports": { ".": "./src/index.ts", "./models/errors": "./src/models/errors/index.ts", diff --git a/package-lock.json b/package-lock.json index a3d8f725..98a6904c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@gleanwork/api-client", - "version": "0.13.6", + "version": "0.13.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@gleanwork/api-client", - "version": "0.13.6", + "version": "0.13.7", "dependencies": { "zod": "^3.25.0 || ^4.0.0" }, diff --git a/package.json b/package.json index da790c67..6e249dee 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@gleanwork/api-client", - "version": "0.13.6", + "version": "0.13.7", "author": "Speakeasy", "type": "module", "tshy": { diff --git a/src/__tests__/mockserver/internal/sdk/models/components/getchatfilesrequest.go b/src/__tests__/mockserver/internal/sdk/models/components/getchatfilesrequest.go index e23c00f3..01e36cf0 100644 --- a/src/__tests__/mockserver/internal/sdk/models/components/getchatfilesrequest.go +++ b/src/__tests__/mockserver/internal/sdk/models/components/getchatfilesrequest.go @@ -5,8 +5,6 @@ package components type GetChatFilesRequest struct { // IDs of files to fetch. FileIds []string `json:"fileIds"` - // The ID of the chat that contains the chat file. - ChatID *string `json:"chatId,omitempty"` } func (o *GetChatFilesRequest) GetFileIds() []string { @@ -15,10 +13,3 @@ func (o *GetChatFilesRequest) GetFileIds() []string { } return o.FileIds } - -func (o *GetChatFilesRequest) GetChatID() *string { - if o == nil { - return nil - } - return o.ChatID -} diff --git a/src/lib/config.ts b/src/lib/config.ts index 7a6501fc..c86074d3 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.6", - genVersion: "2.753.1", + sdkVersion: "0.13.7", + genVersion: "2.753.6", userAgent: - "speakeasy-sdk/typescript 0.13.6 2.753.1 0.9.0 @gleanwork/api-client", + "speakeasy-sdk/typescript 0.13.7 2.753.6 0.9.0 @gleanwork/api-client", } as const; diff --git a/src/models/components/getchatfilesrequest.ts b/src/models/components/getchatfilesrequest.ts index 0740f81d..6641c636 100644 --- a/src/models/components/getchatfilesrequest.ts +++ b/src/models/components/getchatfilesrequest.ts @@ -9,16 +9,11 @@ export type GetChatFilesRequest = { * IDs of files to fetch. */ fileIds: Array; - /** - * The ID of the chat that contains the chat file. - */ - chatId?: string | undefined; }; /** @internal */ export type GetChatFilesRequest$Outbound = { fileIds: Array; - chatId?: string | undefined; }; /** @internal */ @@ -28,7 +23,6 @@ export const GetChatFilesRequest$outboundSchema: z.ZodType< GetChatFilesRequest > = z.object({ fileIds: z.array(z.string()), - chatId: z.string().optional(), }); export function getChatFilesRequestToJSON(