Skip to content

Commit de254b7

Browse files
committed
## Typescript SDK Changes:
* `speakeasy.publishingTokens.get()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.reports.getLintingReportSignedUrl()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.auth.validateApiKey()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.codeSamples.generateCodeSamplePreview()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.codeSamples.generateCodeSamplePreviewAsync()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.events.search()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.publishingTokens.resolveMetadata()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.events.post()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.events.getTargetsSummary()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.events.getTargetsDeprecated()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.events.getTargets()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.events.getEventsByTarget()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.workspaces.updateSettings()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.workspaces.update()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.auth.getAccess()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.codeSamples.getCodeSamplePreviewAsync()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.github.checkAccess()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.github.checkPublishingPRs()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.github.checkPublishingSecrets()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.github.configureCodeSamples()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.github.configureMintlifyRepo()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.github.configureTarget()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.github.getAction()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.github.getSetup()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.github.linkGithub()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.github.storePublishingSecrets()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.github.triggerAction()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.organizations.create()`: * `request` **Changed** (Breaking ⚠️) * `response.workosId` **Added** * `speakeasy.organizations.createBillingAddOns()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.organizations.createFreeTrial()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.organizations.deleteBillingAddOn()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.organizations.get()`: * `request.security` **Added** (Breaking ⚠️) * `response.workosId` **Added** * `speakeasy.organizations.getAll()`: * `request.security` **Added** (Breaking ⚠️) * `response.[].workosId` **Added** * `speakeasy.organizations.getBillingAddOns()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.organizations.getBillingOperations()`: * `request` **Changed** (Breaking ⚠️) * `response` **Changed** (Breaking ⚠️) * `speakeasy.organizations.getUsage()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.publishingTokens.create()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.publishingTokens.delete()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.codeSamples.get()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.auth.getUser()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.workspaces.setFeatureFlags()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.publishingTokens.resolveTarget()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.publishingTokens.update()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.reports.getChangesReportSignedUrl()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.publishingTokens.list()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.reports.uploadReport()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.schemaStore.createSchemaStoreItem()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.shortUrLs.create()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.suggest.suggest()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.suggest.suggestItems()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.suggest.suggestOpenApi()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.suggest.suggestOpenApiRegistry()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.workspaces.create()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.workspaces.createToken()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.workspaces.deleteToken()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.workspaces.get()`: * `request.security` **Added** (Breaking ⚠️) * `response.organization.workosId` **Added** * `speakeasy.workspaces.getAll()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.workspaces.getById()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.workspaces.getFeatureFlags()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.workspaces.getSettings()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.workspaces.getTeam()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.workspaces.getTokens()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.workspaces.grantAccess()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.workspaces.revokeAccess()`: `request.security` **Added** (Breaking ⚠️) * `speakeasy.organizations.getTrialTargets()`: **Added** * `speakeasy.organizations.upsertBillingEmail()`: **Added** * `speakeasy.organizations.getLanguages()`: **Added** * `speakeasy.organizations.getBusinessTierPrices()`: **Added** * `speakeasy.organizations.getBillingEmail()`: **Added** * `speakeasy.organizations.cancelSubscription()`: **Added** * `speakeasy.organizations.activateLanguage()`: **Added** * `speakeasy.organizations.createCheckoutSession()`: **Added** * `speakeasy.organizations.getSubscription()`: **Added** * `speakeasy.organizations.createLanguageCheckoutSession()`: **Added** * `speakeasy.organizations.handleCheckoutCallback()`: **Added** * `speakeasy.organizations.revertSubscriptionCancellation()`: **Added** * `speakeasy.organizations.deactivateLanguage()`: **Added** * `speakeasy.webhooks.handleStripeWebhook()`: **Added**
1 parent d67fd88 commit de254b7

539 files changed

Lines changed: 20080 additions & 4867 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
!/**/*.map
1313

1414
/eslint.config.mjs
15+
/.oxlintrc.json
1516
/cjs
1617
/.tshy
1718
/.tshy-*

.speakeasy/gen.lock

Lines changed: 1443 additions & 835 deletions
Large diffs are not rendered by default.

.speakeasy/workflow.lock

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
1-
speakeasyVersion: 1.736.1
1+
speakeasyVersion: 1.761.1
22
sources:
33
my-source:
44
sourceNamespace: my-source
5-
sourceRevisionDigest: sha256:b2a524854e5ca52cdd7bec6ad83685feaf1fa49010e9da4f990a337908e630e3
6-
sourceBlobDigest: sha256:d4720c8b89c02fb53a33d4c58b04b0661044bc4a2c02226a328e0d35772defc9
5+
sourceRevisionDigest: sha256:6f7aa7bacc63ea441e135cbbdab3cbf43813e4c35e78f92912fe5e86096e41a9
6+
sourceBlobDigest: sha256:65166cd597a87a3c0f9045c09c09982424be392179aa015c567d9d38d9f80501
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1753835013
109
- 0.4.0
1110
targets:
1211
speakeasy-client-sdk-typescript:
1312
source: my-source
1413
sourceNamespace: my-source
15-
sourceRevisionDigest: sha256:b2a524854e5ca52cdd7bec6ad83685feaf1fa49010e9da4f990a337908e630e3
16-
sourceBlobDigest: sha256:d4720c8b89c02fb53a33d4c58b04b0661044bc4a2c02226a328e0d35772defc9
14+
sourceRevisionDigest: sha256:6f7aa7bacc63ea441e135cbbdab3cbf43813e4c35e78f92912fe5e86096e41a9
15+
sourceBlobDigest: sha256:65166cd597a87a3c0f9045c09c09982424be392179aa015c567d9d38d9f80501
1716
codeSamplesNamespace: my-source-typescript-code-samples
18-
codeSamplesRevisionDigest: sha256:63ed5704a7f9637a517c123c4e07b4b68c5e10eb327ff226e07d9686087bb6f7
17+
codeSamplesRevisionDigest: sha256:d2a79783271149d07d35cb2c14bfe55b1eb275b083ff9fef47f6d0d0d7eb330f
1918
workflow:
2019
workflowVersion: 1.0.0
2120
speakeasyVersion: latest

FUNCTIONS.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,7 @@ import { artifactsCreateRemoteSource } from "@speakeasy-api/speakeasy-client-sdk
2424

2525
// Use `SpeakeasyCore` for best tree-shaking performance.
2626
// You can create one instance of it to use across an application.
27-
const speakeasy = new SpeakeasyCore({
28-
security: {
29-
apiKey: "<YOUR_API_KEY_HERE>",
30-
},
31-
});
27+
const speakeasy = new SpeakeasyCore();
3228

3329
async function run() {
3430
const res = await artifactsCreateRemoteSource(speakeasy);

REACT_QUERY.md

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,7 @@ import { SpeakeasyCore } from "@speakeasy-api/speakeasy-client-sdk-typescript";
2222
import { SpeakeasyProvider } from "@speakeasy-api/speakeasy-client-sdk-typescript/react-query";
2323

2424
const queryClient = new QueryClient();
25-
const speakeasy = new SpeakeasyCore({
26-
security: {
27-
apiKey: "<YOUR_API_KEY_HERE>",
28-
},
29-
});
25+
const speakeasy = new SpeakeasyCore();
3026

3127
// Retries are handled by the underlying SDK.
3228
queryClient.setQueryDefaults(["@speakeasy-api/speakeasy-client-sdk-typescript"], { retry: false });
@@ -233,7 +229,9 @@ infinite scrolling and "load more" user interfaces.
233229
import { useEventsGetTargetsSummaryInfinite } from "@speakeasy-api/speakeasy-client-sdk-typescript/react-query/eventsGetTargetsSummary.js";
234230

235231
export function Example() {
236-
const { data, error, status, fetchNextPage, hasNextPage } = useEventsGetTargetsSummaryInfinite({});
232+
const { data, error, status, fetchNextPage, hasNextPage } = useEventsGetTargetsSummaryInfinite({
233+
apiKey: "<YOUR_API_KEY_HERE>",
234+
}, {});
237235

238236
return (
239237
<div>
@@ -267,11 +265,7 @@ import { SpeakeasyProvider } from "@speakeasy-api/speakeasy-client-sdk-typescrip
267265
import { useArtifactsGetBlobSuspense } from "@speakeasy-api/speakeasy-client-sdk-typescript/react-query/artifactsGetBlob.js";
268266

269267
const queryClient = new QueryClient();
270-
const speakeasy = new SpeakeasyCore({
271-
security: {
272-
apiKey: "<YOUR_API_KEY_HERE>",
273-
},
274-
});
268+
const speakeasy = new SpeakeasyCore();
275269

276270
export function App() {
277271
return (
@@ -330,11 +324,7 @@ import { prefetchArtifactsGetBlob } from "@speakeasy-api/speakeasy-client-sdk-ty
330324

331325
export default async function Page() {
332326
const queryClient = new QueryClient();
333-
const speakeasy = new SpeakeasyCore({
334-
security: {
335-
apiKey: "<YOUR_API_KEY_HERE>",
336-
},
337-
});
327+
const speakeasy = new SpeakeasyCore();
338328

339329
await prefetchArtifactsGetBlob(queryClient, speakeasy, {
340330
organizationSlug: "<value>",

README.md

Lines changed: 81 additions & 50 deletions
Large diffs are not rendered by default.

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1716,4 +1716,14 @@ Based on:
17161716
### Generated
17171717
- [typescript v5.0.0-rc.5] .
17181718
### Releases
1719-
- [NPM v5.0.0-rc.5] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/5.0.0-rc.5 - .
1719+
- [NPM v5.0.0-rc.5] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/5.0.0-rc.5 - .
1720+
1721+
## 2026-04-09 00:29:01
1722+
### Changes
1723+
Based on:
1724+
- OpenAPI Doc
1725+
- Speakeasy CLI 1.761.1 (2.879.6) https://github.com/speakeasy-api/speakeasy
1726+
### Generated
1727+
- [typescript v5.0.0-rc.6] .
1728+
### Releases
1729+
- [NPM v5.0.0-rc.6] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/5.0.0-rc.6 - .

USAGE.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@
22
```typescript
33
import { Speakeasy } from "@speakeasy-api/speakeasy-client-sdk-typescript";
44

5-
const speakeasy = new Speakeasy({
6-
security: {
7-
apiKey: "<YOUR_API_KEY_HERE>",
8-
},
9-
});
5+
const speakeasy = new Speakeasy();
106

117
async function run() {
128
await speakeasy.artifacts.createRemoteSource();
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# ActivateLanguageRequest
2+
3+
## Example Usage
4+
5+
```typescript
6+
import { ActivateLanguageRequest } from "@speakeasy-api/speakeasy-client-sdk-typescript/sdk/models/operations";
7+
8+
let value: ActivateLanguageRequest = {
9+
language: "<value>",
10+
};
11+
```
12+
13+
## Fields
14+
15+
| Field | Type | Required | Description |
16+
| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- |
17+
| `language` | *string* | :heavy_check_mark: | The target language (e.g., typescript, python, go) |
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# ActivateLanguageSecurity
2+
3+
## Example Usage
4+
5+
```typescript
6+
import { ActivateLanguageSecurity } from "@speakeasy-api/speakeasy-client-sdk-typescript/sdk/models/operations";
7+
8+
let value: ActivateLanguageSecurity = {};
9+
```
10+
11+
## Fields
12+
13+
| Field | Type | Required | Description |
14+
| --------------------- | --------------------- | --------------------- | --------------------- |
15+
| `apiKey` | *string* | :heavy_minus_sign: | N/A |
16+
| `bearer` | *string* | :heavy_minus_sign: | N/A |
17+
| `workspaceIdentifier` | *string* | :heavy_minus_sign: | N/A |

0 commit comments

Comments
 (0)