Skip to content

Commit acaf0f1

Browse files
Merge pull request #20 from gleanwork/speakeasy-sdk-regen-1746548994
chore: 🐝 Update SDK - Generate 0.2.0
2 parents 4a8ae37 + 506434f commit acaf0f1

File tree

13 files changed

+70
-16
lines changed

13 files changed

+70
-16
lines changed

.speakeasy/gen.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
lockVersion: 2.0.0
22
id: 664aaca5-a41f-4434-8f2a-642dba92fe68
33
management:
4-
docChecksum: 7f686885b81a5b7544240cc837df21f0
4+
docChecksum: 4af548c29086d7fb5644aefbc64c7bb1
55
docVersion: 0.9.0
66
speakeasyVersion: 1.542.3
77
generationVersion: 2.597.9
8-
releaseVersion: 0.1.0-beta.10
9-
configChecksum: 352bfd599bd3c5aad80ee443f07e11d8
8+
releaseVersion: 0.2.0
9+
configChecksum: a1155848710522897a7978475386d6c5
1010
repoURL: https://github.com/gleanwork/api-client-typescript.git
1111
installationURL: https://github.com/gleanwork/api-client-typescript
1212
published: true

.speakeasy/gen.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ generation:
2424
generateNewTests: true
2525
skipResponseBodyAssertions: true
2626
typescript:
27-
version: 0.1.0-beta.10
27+
version: 0.2.0
2828
additionalDependencies:
2929
dependencies: {}
3030
devDependencies: {}

.speakeasy/glean-merged-spec.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8620,6 +8620,9 @@ components:
86208620
hasTranscript:
86218621
type: boolean
86228622
description: The event has a transcript associated with it enabling features like summarization
8623+
transcriptUrl:
8624+
type: string
8625+
description: A link to the transcript of the event
86238626
classifications:
86248627
type: array
86258628
items:

.speakeasy/workflow.lock

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@ speakeasyVersion: 1.542.3
22
sources:
33
Glean API:
44
sourceNamespace: glean-api-specs
5-
sourceRevisionDigest: sha256:899a2c3976fdfa81af3713ce06fcb2283a89faa893ef608498f2365840127272
6-
sourceBlobDigest: sha256:313446623e4d6be9ffcf70008ec73eb557e9df1e658aa69a749ef1962fe25e60
5+
sourceRevisionDigest: sha256:fadc7213e38c3b2e11ec0a197f00752cd51f95a42e6f50b697acff848c245f49
6+
sourceBlobDigest: sha256:c149481e92330fc2ccfe73b55bac335ff2599266b185b84d4c0fc9a6156e9f49
77
tags:
88
- latest
9+
- speakeasy-sdk-regen-1746548994
910
Glean Client API:
1011
sourceNamespace: glean-client-api
1112
sourceRevisionDigest: sha256:aec0770b5bcca91068c3a844cb9ef4a091281f6cc3b7d86f2abef1bd6fb2b301
@@ -17,8 +18,10 @@ targets:
1718
glean:
1819
source: Glean API
1920
sourceNamespace: glean-api-specs
20-
sourceRevisionDigest: sha256:899a2c3976fdfa81af3713ce06fcb2283a89faa893ef608498f2365840127272
21-
sourceBlobDigest: sha256:313446623e4d6be9ffcf70008ec73eb557e9df1e658aa69a749ef1962fe25e60
21+
sourceRevisionDigest: sha256:fadc7213e38c3b2e11ec0a197f00752cd51f95a42e6f50b697acff848c245f49
22+
sourceBlobDigest: sha256:c149481e92330fc2ccfe73b55bac335ff2599266b185b84d4c0fc9a6156e9f49
23+
codeSamplesNamespace: glean-api-specs-typescript-code-samples
24+
codeSamplesRevisionDigest: sha256:16ab8a8c1703432060cf75d3d9f29f6f79d9a3c31cf17ecbaa479ff4f4b228ea
2225
workflow:
2326
workflowVersion: 1.0.0
2427
speakeasyVersion: latest

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,27 @@ await glean.indexing.documents.index({ /* document data */ });
2323

2424
Remember that each namespace requires its own authentication token type as described in the [Authentication Methods](#authentication-methods) section.
2525

26+
<!-- Start Summary [summary] -->
27+
## Summary
28+
29+
Glean API: # Introduction
30+
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.
31+
32+
# Usage guidelines
33+
This API is evolving fast. Glean will provide advance notice of any planned backwards incompatible changes along
34+
with a 6-month sunset period for anything that requires developers to adopt the new versions.
35+
36+
# API Clients
37+
Official API clients for the Glean Indexing API are available in multiple languages:
38+
39+
- [Python](https://github.com/gleanwork/api-client-python)
40+
- [TypeScript](https://github.com/gleanwork/api-client-typescript)
41+
- [Go](https://github.com/gleanwork/api-client-go)
42+
- [Java](https://github.com/gleanwork/api-client-java)
43+
44+
These API clients provide type-safe, idiomatic interfaces for working with Glean IndexingAPIs in your language of choice.
45+
<!-- End Summary [summary] -->
46+
2647
<!-- Start Table of Contents [toc] -->
2748
## Table of Contents
2849
<!-- $toc-max-depth=2 -->

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,14 @@ Based on:
8888
### Generated
8989
- [typescript v0.1.0-beta.9] .
9090
### Releases
91-
- [NPM v0.1.0-beta.9] https://www.npmjs.com/package/@gleanwork/api-client/v/0.1.0-beta.9 - .
91+
- [NPM v0.1.0-beta.9] https://www.npmjs.com/package/@gleanwork/api-client/v/0.1.0-beta.9 - .
92+
93+
## 2025-05-06 16:29:37
94+
### Changes
95+
Based on:
96+
- OpenAPI Doc
97+
- Speakeasy CLI 1.542.3 (2.597.9) https://github.com/speakeasy-api/speakeasy
98+
### Generated
99+
- [typescript v0.2.0] .
100+
### Releases
101+
- [NPM v0.2.0] https://www.npmjs.com/package/@gleanwork/api-client/v/0.2.0 - .

docs/models/components/calendarevent.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,5 +96,6 @@ let value: CalendarEvent = {
9696
| `description` | *string* | :heavy_minus_sign: | The HTML description of the event. |
9797
| `datasource` | *string* | :heavy_minus_sign: | The app or other repository type from which the event was extracted |
9898
| `hasTranscript` | *boolean* | :heavy_minus_sign: | The event has a transcript associated with it enabling features like summarization |
99+
| `transcriptUrl` | *string* | :heavy_minus_sign: | A link to the transcript of the event |
99100
| `classifications` | [components.EventClassification](../../models/components/eventclassification.md)[] | :heavy_minus_sign: | N/A |
100101
| `generatedAttachments` | [components.GeneratedAttachment](../../models/components/generatedattachment.md)[] | :heavy_minus_sign: | N/A |

jsr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
{
44
"name": "@gleanwork/api-client",
5-
"version": "0.1.0-beta.10",
5+
"version": "0.2.0",
66
"exports": {
77
".": "./src/index.ts",
88
"./models/errors": "./src/models/errors/index.ts",

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@gleanwork/api-client",
3-
"version": "0.1.0-beta.10",
3+
"version": "0.2.0",
44
"author": "Speakeasy",
55
"type": "module",
66
"tshy": {

src/__tests__/mockserver/internal/sdk/models/components/calendarevent.go

Lines changed: 10 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/lib/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
6464
export const SDK_METADATA = {
6565
language: "typescript",
6666
openapiDocVersion: "0.9.0",
67-
sdkVersion: "0.1.0-beta.10",
67+
sdkVersion: "0.2.0",
6868
genVersion: "2.597.9",
6969
userAgent:
70-
"speakeasy-sdk/typescript 0.1.0-beta.10 2.597.9 0.9.0 @gleanwork/api-client",
70+
"speakeasy-sdk/typescript 0.2.0 2.597.9 0.9.0 @gleanwork/api-client",
7171
} as const;

src/models/components/calendarevent.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ export type CalendarEvent = {
8585
* The event has a transcript associated with it enabling features like summarization
8686
*/
8787
hasTranscript?: boolean | undefined;
88+
/**
89+
* A link to the transcript of the event
90+
*/
91+
transcriptUrl?: string | undefined;
8892
classifications?: Array<EventClassification> | undefined;
8993
generatedAttachments?: Array<GeneratedAttachment> | undefined;
9094
};
@@ -126,6 +130,7 @@ export const CalendarEvent$inboundSchema: z.ZodType<
126130
description: z.string().optional(),
127131
datasource: z.string().optional(),
128132
hasTranscript: z.boolean().optional(),
133+
transcriptUrl: z.string().optional(),
129134
classifications: z.array(EventClassification$inboundSchema).optional(),
130135
generatedAttachments: z.array(GeneratedAttachment$inboundSchema).optional(),
131136
});
@@ -142,6 +147,7 @@ export type CalendarEvent$Outbound = {
142147
description?: string | undefined;
143148
datasource?: string | undefined;
144149
hasTranscript?: boolean | undefined;
150+
transcriptUrl?: string | undefined;
145151
classifications?: Array<EventClassification$Outbound> | undefined;
146152
generatedAttachments?: Array<GeneratedAttachment$Outbound> | undefined;
147153
};
@@ -162,6 +168,7 @@ export const CalendarEvent$outboundSchema: z.ZodType<
162168
description: z.string().optional(),
163169
datasource: z.string().optional(),
164170
hasTranscript: z.boolean().optional(),
171+
transcriptUrl: z.string().optional(),
165172
classifications: z.array(EventClassification$outboundSchema).optional(),
166173
generatedAttachments: z.array(GeneratedAttachment$outboundSchema).optional(),
167174
});

0 commit comments

Comments
 (0)