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
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
!/**/*.map

/eslint.config.mjs
/.oxlintrc.json
/cjs
/.tshy
/.tshy-*
Expand Down
1,001 changes: 721 additions & 280 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

13 changes: 6 additions & 7 deletions .speakeasy/workflow.lock
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
speakeasyVersion: 1.736.1
speakeasyVersion: 1.796.2
sources:
my-source:
sourceNamespace: my-source
sourceRevisionDigest: sha256:b2a524854e5ca52cdd7bec6ad83685feaf1fa49010e9da4f990a337908e630e3
sourceBlobDigest: sha256:d4720c8b89c02fb53a33d4c58b04b0661044bc4a2c02226a328e0d35772defc9
sourceRevisionDigest: sha256:a5b8769cefebdde27d2dcba7496835bf65ffcabdd5425982898a0b2a649bb310
sourceBlobDigest: sha256:d7571f052ba5d497cdccf0d771403e3f2364ecd484211961df4cbc5a66f1a88c
tags:
- latest
- speakeasy-sdk-regen-1753835013
- 0.4.0
targets:
speakeasy-client-sdk-typescript:
source: my-source
sourceNamespace: my-source
sourceRevisionDigest: sha256:b2a524854e5ca52cdd7bec6ad83685feaf1fa49010e9da4f990a337908e630e3
sourceBlobDigest: sha256:d4720c8b89c02fb53a33d4c58b04b0661044bc4a2c02226a328e0d35772defc9
sourceRevisionDigest: sha256:a5b8769cefebdde27d2dcba7496835bf65ffcabdd5425982898a0b2a649bb310
sourceBlobDigest: sha256:d7571f052ba5d497cdccf0d771403e3f2364ecd484211961df4cbc5a66f1a88c
codeSamplesNamespace: my-source-typescript-code-samples
codeSamplesRevisionDigest: sha256:63ed5704a7f9637a517c123c4e07b4b68c5e10eb327ff226e07d9686087bb6f7
codeSamplesRevisionDigest: sha256:77f346737a2d42cbc579421c6dc554fe05494cf46956564a22e095c03388f70b
workflow:
workflowVersion: 1.0.0
speakeasyVersion: latest
Expand Down
4 changes: 2 additions & 2 deletions FUNCTIONS.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Standalone Functions

> [!NOTE]
> This section is useful if you are using a bundler and targetting browsers and
> This section is useful if you are using a bundler and targeting browsers and
> runtimes where the size of an application affects performance and load times.

Every method in this SDK is also available as a standalone function. This
alternative API is suitable when targetting the browser or serverless runtimes
alternative API is suitable when targeting the browser or serverless runtimes
and using a bundler to build your application since all unused functionality
will be tree-shaken away. This includes code for unused methods, Zod schemas,
encoding helpers and response handlers. The result is dramatically smaller
Expand Down
45 changes: 44 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
<!-- Start Summary [summary] -->
## Summary

Speakeasy API: The Subscriptions API manages subscriptions for CLI and registry events
Speakeasy API: The Speakeasy API allows teams to manage common operations with their APIs
The Subscriptions API manages subscriptions for CLI and registry events

For more information about the API: [The Speakeasy Platform Documentation](/docs)
<!-- End Summary [summary] -->
Expand Down Expand Up @@ -253,15 +254,27 @@ run();

### [Organizations](docs/sdks/organizations/README.md)

* [activateLanguage](docs/sdks/organizations/README.md#activatelanguage) - Activate language
* [cancelSubscription](docs/sdks/organizations/README.md#cancelsubscription) - Cancel subscription
* [create](docs/sdks/organizations/README.md#create) - Create an organization
* [createBillingAddOns](docs/sdks/organizations/README.md#createbillingaddons) - Create billing add ons
* [createFreeTrial](docs/sdks/organizations/README.md#createfreetrial) - Create a free trial for an organization
* [createLanguageCheckoutSession](docs/sdks/organizations/README.md#createlanguagecheckoutsession) - Create language checkout session
* [deactivateLanguage](docs/sdks/organizations/README.md#deactivatelanguage) - Deactivate language
* [deleteBillingAddOn](docs/sdks/organizations/README.md#deletebillingaddon) - Delete billing add ons
* [get](docs/sdks/organizations/README.md#get) - Get organization
* [getAll](docs/sdks/organizations/README.md#getall) - Get organizations for a user
* [getBillingAddOns](docs/sdks/organizations/README.md#getbillingaddons) - Get billing add ons
* [getBillingEmail](docs/sdks/organizations/README.md#getbillingemail) - Get billing email for an organization
* [getBillingOperations](docs/sdks/organizations/README.md#getbillingoperations) - Get billing operations breakdown for an organization
* [getBusinessTierPrices](docs/sdks/organizations/README.md#getbusinesstierprices) - Get business tier prices
* [getLanguages](docs/sdks/organizations/README.md#getlanguages) - Get language billing configurations
* [getSubscription](docs/sdks/organizations/README.md#getsubscription) - Get organization subscription
* [getTrialTargets](docs/sdks/organizations/README.md#gettrialtargets) - Get trial targets
* [getUsage](docs/sdks/organizations/README.md#getusage) - Get billing usage summary for a particular organization
* [handleCheckoutCallback](docs/sdks/organizations/README.md#handlecheckoutcallback) - Checkout callback
* [revertSubscriptionCancellation](docs/sdks/organizations/README.md#revertsubscriptioncancellation) - Revert subscription cancellation
* [upsertBillingEmail](docs/sdks/organizations/README.md#upsertbillingemail) - Create or update billing email

### [PublishingTokens](docs/sdks/publishingtokens/README.md)

Expand Down Expand Up @@ -299,6 +312,10 @@ run();
* [suggestOpenAPI](docs/sdks/suggest/README.md#suggestopenapi) - (DEPRECATED) Generate suggestions for improving an OpenAPI document.
* [suggestOpenAPIRegistry](docs/sdks/suggest/README.md#suggestopenapiregistry) - Generate suggestions for improving an OpenAPI document stored in the registry.

### [Webhooks](docs/sdks/webhooks/README.md)

* [handleStripeWebhook](docs/sdks/webhooks/README.md#handlestripewebhook) - Handle Stripe webhook

### [Workspaces](docs/sdks/workspaces/README.md)

* [create](docs/sdks/workspaces/README.md#create) - Create a workspace
Expand Down Expand Up @@ -664,15 +681,27 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
- [`githubLinkGithub`](docs/sdks/github/README.md#linkgithub)
- [`githubStorePublishingSecrets`](docs/sdks/github/README.md#storepublishingsecrets)
- [`githubTriggerAction`](docs/sdks/github/README.md#triggeraction)
- [`organizationsActivateLanguage`](docs/sdks/organizations/README.md#activatelanguage) - Activate language
- [`organizationsCancelSubscription`](docs/sdks/organizations/README.md#cancelsubscription) - Cancel subscription
- [`organizationsCreate`](docs/sdks/organizations/README.md#create) - Create an organization
- [`organizationsCreateBillingAddOns`](docs/sdks/organizations/README.md#createbillingaddons) - Create billing add ons
- [`organizationsCreateFreeTrial`](docs/sdks/organizations/README.md#createfreetrial) - Create a free trial for an organization
- [`organizationsCreateLanguageCheckoutSession`](docs/sdks/organizations/README.md#createlanguagecheckoutsession) - Create language checkout session
- [`organizationsDeactivateLanguage`](docs/sdks/organizations/README.md#deactivatelanguage) - Deactivate language
- [`organizationsDeleteBillingAddOn`](docs/sdks/organizations/README.md#deletebillingaddon) - Delete billing add ons
- [`organizationsGet`](docs/sdks/organizations/README.md#get) - Get organization
- [`organizationsGetAll`](docs/sdks/organizations/README.md#getall) - Get organizations for a user
- [`organizationsGetBillingAddOns`](docs/sdks/organizations/README.md#getbillingaddons) - Get billing add ons
- [`organizationsGetBillingEmail`](docs/sdks/organizations/README.md#getbillingemail) - Get billing email for an organization
- [`organizationsGetBillingOperations`](docs/sdks/organizations/README.md#getbillingoperations) - Get billing operations breakdown for an organization
- [`organizationsGetBusinessTierPrices`](docs/sdks/organizations/README.md#getbusinesstierprices) - Get business tier prices
- [`organizationsGetLanguages`](docs/sdks/organizations/README.md#getlanguages) - Get language billing configurations
- [`organizationsGetSubscription`](docs/sdks/organizations/README.md#getsubscription) - Get organization subscription
- [`organizationsGetTrialTargets`](docs/sdks/organizations/README.md#gettrialtargets) - Get trial targets
- [`organizationsGetUsage`](docs/sdks/organizations/README.md#getusage) - Get billing usage summary for a particular organization
- [`organizationsHandleCheckoutCallback`](docs/sdks/organizations/README.md#handlecheckoutcallback) - Checkout callback
- [`organizationsRevertSubscriptionCancellation`](docs/sdks/organizations/README.md#revertsubscriptioncancellation) - Revert subscription cancellation
- [`organizationsUpsertBillingEmail`](docs/sdks/organizations/README.md#upsertbillingemail) - Create or update billing email
- [`publishingTokensCreate`](docs/sdks/publishingtokens/README.md#create) - Create a publishing token for a workspace
- [`publishingTokensDelete`](docs/sdks/publishingtokens/README.md#delete) - Delete a specific publishing token
- [`publishingTokensGet`](docs/sdks/publishingtokens/README.md#get) - Get a specific publishing token
Expand All @@ -691,6 +720,7 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
- [`suggestSuggestItems`](docs/sdks/suggest/README.md#suggestitems) - Generate generic suggestions for a list of items.
- [`suggestSuggestOpenAPI`](docs/sdks/suggest/README.md#suggestopenapi) - (DEPRECATED) Generate suggestions for improving an OpenAPI document.
- [`suggestSuggestOpenAPIRegistry`](docs/sdks/suggest/README.md#suggestopenapiregistry) - Generate suggestions for improving an OpenAPI document stored in the registry.
- [`webhooksHandleStripeWebhook`](docs/sdks/webhooks/README.md#handlestripewebhook) - Handle Stripe webhook
- [`workspacesCreate`](docs/sdks/workspaces/README.md#create) - Create a workspace
- [`workspacesCreateToken`](docs/sdks/workspaces/README.md#createtoken) - Create a token for a particular workspace
- [`workspacesDeleteToken`](docs/sdks/workspaces/README.md#deletetoken) - Delete a token for a particular workspace
Expand Down Expand Up @@ -768,15 +798,27 @@ To learn about this feature and how to get started, check
- [`useGithubLinkGithubMutation`](docs/sdks/github/README.md#linkgithub)
- [`useGithubStorePublishingSecretsMutation`](docs/sdks/github/README.md#storepublishingsecrets)
- [`useGithubTriggerActionMutation`](docs/sdks/github/README.md#triggeraction)
- [`useOrganizationsActivateLanguageMutation`](docs/sdks/organizations/README.md#activatelanguage) - Activate language
- [`useOrganizationsCancelSubscriptionMutation`](docs/sdks/organizations/README.md#cancelsubscription) - Cancel subscription
- [`useOrganizationsCreateBillingAddOnsMutation`](docs/sdks/organizations/README.md#createbillingaddons) - Create billing add ons
- [`useOrganizationsCreateFreeTrialMutation`](docs/sdks/organizations/README.md#createfreetrial) - Create a free trial for an organization
- [`useOrganizationsCreateLanguageCheckoutSessionMutation`](docs/sdks/organizations/README.md#createlanguagecheckoutsession) - Create language checkout session
- [`useOrganizationsCreateMutation`](docs/sdks/organizations/README.md#create) - Create an organization
- [`useOrganizationsDeactivateLanguageMutation`](docs/sdks/organizations/README.md#deactivatelanguage) - Deactivate language
- [`useOrganizationsDeleteBillingAddOnMutation`](docs/sdks/organizations/README.md#deletebillingaddon) - Delete billing add ons
- [`useOrganizationsGet`](docs/sdks/organizations/README.md#get) - Get organization
- [`useOrganizationsGetAll`](docs/sdks/organizations/README.md#getall) - Get organizations for a user
- [`useOrganizationsGetBillingAddOns`](docs/sdks/organizations/README.md#getbillingaddons) - Get billing add ons
- [`useOrganizationsGetBillingEmail`](docs/sdks/organizations/README.md#getbillingemail) - Get billing email for an organization
- [`useOrganizationsGetBillingOperations`](docs/sdks/organizations/README.md#getbillingoperations) - Get billing operations breakdown for an organization
- [`useOrganizationsGetBusinessTierPrices`](docs/sdks/organizations/README.md#getbusinesstierprices) - Get business tier prices
- [`useOrganizationsGetLanguages`](docs/sdks/organizations/README.md#getlanguages) - Get language billing configurations
- [`useOrganizationsGetSubscription`](docs/sdks/organizations/README.md#getsubscription) - Get organization subscription
- [`useOrganizationsGetTrialTargets`](docs/sdks/organizations/README.md#gettrialtargets) - Get trial targets
- [`useOrganizationsGetUsage`](docs/sdks/organizations/README.md#getusage) - Get billing usage summary for a particular organization
- [`useOrganizationsHandleCheckoutCallback`](docs/sdks/organizations/README.md#handlecheckoutcallback) - Checkout callback
- [`useOrganizationsRevertSubscriptionCancellationMutation`](docs/sdks/organizations/README.md#revertsubscriptioncancellation) - Revert subscription cancellation
- [`useOrganizationsUpsertBillingEmailMutation`](docs/sdks/organizations/README.md#upsertbillingemail) - Create or update billing email
- [`usePublishingTokensCreateMutation`](docs/sdks/publishingtokens/README.md#create) - Create a publishing token for a workspace
- [`usePublishingTokensDeleteMutation`](docs/sdks/publishingtokens/README.md#delete) - Delete a specific publishing token
- [`usePublishingTokensGet`](docs/sdks/publishingtokens/README.md#get) - Get a specific publishing token
Expand All @@ -795,6 +837,7 @@ To learn about this feature and how to get started, check
- [`useSuggestSuggestMutation`](docs/sdks/suggest/README.md#suggest) - Generate suggestions for improving an OpenAPI document.
- [`useSuggestSuggestOpenAPIMutation`](docs/sdks/suggest/README.md#suggestopenapi) - (DEPRECATED) Generate suggestions for improving an OpenAPI document.
- [`useSuggestSuggestOpenAPIRegistryMutation`](docs/sdks/suggest/README.md#suggestopenapiregistry) - Generate suggestions for improving an OpenAPI document stored in the registry.
- [`useWebhooksHandleStripeWebhookMutation`](docs/sdks/webhooks/README.md#handlestripewebhook) - Handle Stripe webhook
- [`useWorkspacesCreateMutation`](docs/sdks/workspaces/README.md#create) - Create a workspace
- [`useWorkspacesCreateTokenMutation`](docs/sdks/workspaces/README.md#createtoken) - Create a token for a particular workspace
- [`useWorkspacesDeleteTokenMutation`](docs/sdks/workspaces/README.md#deletetoken) - Delete a token for a particular workspace
Expand Down
12 changes: 11 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -1716,4 +1716,14 @@ Based on:
### Generated
- [typescript v5.0.0-rc.5] .
### Releases
- [NPM v5.0.0-rc.5] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/5.0.0-rc.5 - .
- [NPM v5.0.0-rc.5] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/5.0.0-rc.5 - .

## 2026-09-02 00:32:05
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.796.2 (2.933.0) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v5.0.0-rc.6] .
### Releases
- [NPM v5.0.0-rc.6] https://www.npmjs.com/package/@speakeasy-api/speakeasy-client-sdk-typescript/v/5.0.0-rc.6 - .
17 changes: 17 additions & 0 deletions docs/sdk/models/operations/activatelanguagerequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# ActivateLanguageRequest

## Example Usage

```typescript
import { ActivateLanguageRequest } from "@speakeasy-api/speakeasy-client-sdk-typescript/sdk/models/operations";

let value: ActivateLanguageRequest = {
language: "<value>",
};
```

## Fields

| Field | Type | Required | Description |
| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- |
| `language` | *string* | :heavy_check_mark: | The target language (e.g., typescript, python, go) |
17 changes: 17 additions & 0 deletions docs/sdk/models/operations/deactivatelanguagerequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# DeactivateLanguageRequest

## Example Usage

```typescript
import { DeactivateLanguageRequest } from "@speakeasy-api/speakeasy-client-sdk-typescript/sdk/models/operations";

let value: DeactivateLanguageRequest = {
language: "<value>",
};
```

## Fields

| Field | Type | Required | Description |
| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- |
| `language` | *string* | :heavy_check_mark: | The target language (e.g., typescript, python, go) |
15 changes: 0 additions & 15 deletions docs/sdk/models/operations/getbillingoperationsrequest.md

This file was deleted.

17 changes: 17 additions & 0 deletions docs/sdk/models/operations/handlecheckoutcallbackrequest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# HandleCheckoutCallbackRequest

## Example Usage

```typescript
import { HandleCheckoutCallbackRequest } from "@speakeasy-api/speakeasy-client-sdk-typescript/sdk/models/operations";

let value: HandleCheckoutCallbackRequest = {
sessionId: "<id>",
};
```

## Fields

| Field | Type | Required | Description |
| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ |
| `sessionId` | *string* | :heavy_check_mark: | The Stripe checkout session ID |
23 changes: 23 additions & 0 deletions docs/sdk/models/operations/handlecheckoutcallbackresponse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# HandleCheckoutCallbackResponse

## Example Usage

```typescript
import { HandleCheckoutCallbackResponse } from "@speakeasy-api/speakeasy-client-sdk-typescript/sdk/models/operations";

let value: HandleCheckoutCallbackResponse = {
headers: {
"key": [
"<value 1>",
"<value 2>",
"<value 3>",
],
},
};
```

## Fields

| Field | Type | Required | Description |
| -------------------------- | -------------------------- | -------------------------- | -------------------------- |
| `headers` | Record<string, *string*[]> | :heavy_check_mark: | N/A |
16 changes: 16 additions & 0 deletions docs/sdk/models/operations/handlestripewebhookrequestbody.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# HandleStripeWebhookRequestBody

Stripe webhook event payload

## Example Usage

```typescript
import { HandleStripeWebhookRequestBody } from "@speakeasy-api/speakeasy-client-sdk-typescript/sdk/models/operations";

let value: HandleStripeWebhookRequestBody = {};
```

## Fields

| Field | Type | Required | Description |
| ----------- | ----------- | ----------- | ----------- |
Loading
Loading