Skip to content

Commit 4790d50

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate 0.4.2 (#16)
> [!IMPORTANT] > Linting report available at: <https://app.speakeasy.com/org/vanta/vanta/linting-report/2030e9b05546aca64c1941641e9bd8d3> > OpenAPI Change report available at: <https://app.speakeasy.com/org/vanta/vanta/changes-report/17e73d4fde179f8ef4380a8511402a8b> # SDK update ## Versioning Version Bump Type: [patch] - πŸ€– (automated) <details open> <summary>OpenAPI Change Summary</summary> No specification changes </details> ## TYPESCRIPT CHANGELOG No relevant generator changes Based on [Speakeasy CLI](https://github.com/speakeasy-api/speakeasy) 1.658.2 --------- Co-authored-by: speakeasybot <[email protected]> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
1 parent 500e925 commit 4790d50

Some content is hidden

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

73 files changed

+394
-4230
lines changed

β€Ž.speakeasy/gen.lockβ€Ž

Lines changed: 333 additions & 26 deletions
Large diffs are not rendered by default.

β€Ž.speakeasy/gen.yamlβ€Ž

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ generation:
2727
generateTests: true
2828
generateNewTests: false
2929
skipResponseBodyAssertions: false
30+
persistentEdits: {}
3031
typescript:
31-
version: 0.4.1
32+
version: 0.4.2
3233
acceptHeaderEnum: true
3334
additionalDependencies:
3435
dependencies: {}
@@ -40,7 +41,7 @@ typescript:
4041
author: Speakeasy
4142
baseErrorName: VantaError
4243
clientServerStatusCodesAsErrors: true
43-
constFieldsAlwaysOptional: true
44+
constFieldsAlwaysOptional: false
4445
defaultErrorName: APIError
4546
enableCustomCodeRegions: false
4647
enableMCPServer: false
@@ -50,6 +51,9 @@ typescript:
5051
exportZodModelNamespace: false
5152
flattenGlobalSecurity: true
5253
flatteningOrder: parameters-first
54+
formStringArrayEncodeMode: encoded-string
55+
forwardCompatibleEnumsByDefault: false
56+
forwardCompatibleUnionsByDefault: "false"
5357
generateExamples: true
5458
imports:
5559
option: openapi
@@ -59,14 +63,18 @@ typescript:
5963
operations: models/operations
6064
shared: models/components
6165
webhooks: models/webhooks
66+
inferUnionDiscriminators: true
6267
inputModelSuffix: input
6368
jsonpath: legacy
69+
laxMode: strict
6470
maxMethodParams: 0
6571
methodArguments: require-security-and-request
6672
modelPropertyCasing: camel
6773
moduleFormat: commonjs
74+
multipartArrayFormat: legacy
6875
outputModelSuffix: output
6976
packageName: vanta-auditor-api-sdk
77+
preApplyUnionDiscriminators: true
7078
responseFormat: flat
7179
sseFlatResponse: false
7280
templateVersion: v2

β€Ž.speakeasy/workflow.lockβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ sources:
66
sourceBlobDigest: sha256:8fefc2fa168b537a6f137983f6366a1d8abe9ea0a01bc6d108c601431b922a5b
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1763485082
9+
- speakeasy-sdk-regen-1765466945
1010
- 1.0.0
1111
targets:
1212
vanta:
@@ -15,7 +15,7 @@ targets:
1515
sourceRevisionDigest: sha256:234b914b23cf5d74d33cd7077560a45c8cba13a211f3bd8344041648d8733c2d
1616
sourceBlobDigest: sha256:8fefc2fa168b537a6f137983f6366a1d8abe9ea0a01bc6d108c601431b922a5b
1717
codeSamplesNamespace: conduct-an-audit-typescript-code-samples
18-
codeSamplesRevisionDigest: sha256:7c90833d15b225b4993d55a5cd7f764edf5628841dc3edbe672a1b9cd2aab208
18+
codeSamplesRevisionDigest: sha256:d47fda63f9a1b47cc61a8480ac8a7e381e41deb5231ba74a46091a337e5dc8e3
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

β€ŽREADME.mdβ€Ž

Lines changed: 0 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -66,91 +66,6 @@ bun add vanta-auditor-api-sdk
6666
```bash
6767
yarn add vanta-auditor-api-sdk
6868
```
69-
70-
71-
72-
### Model Context Protocol (MCP) Server
73-
74-
This SDK is also an installable MCP server where the various SDK methods are
75-
exposed as tools that can be invoked by AI applications.
76-
77-
> Node.js v20 or greater is required to run the MCP server from npm.
78-
79-
<details>
80-
<summary>Claude installation steps</summary>
81-
82-
Add the following server definition to your `claude_desktop_config.json` file:
83-
84-
```json
85-
{
86-
"mcpServers": {
87-
"Vanta": {
88-
"command": "npx",
89-
"args": [
90-
"-y", "--package", "vanta-auditor-api-sdk",
91-
"--",
92-
"mcp", "start",
93-
"--bearer-auth", "..."
94-
]
95-
}
96-
}
97-
}
98-
```
99-
100-
</details>
101-
102-
<details>
103-
<summary>Cursor installation steps</summary>
104-
105-
Create a `.cursor/mcp.json` file in your project root with the following content:
106-
107-
```json
108-
{
109-
"mcpServers": {
110-
"Vanta": {
111-
"command": "npx",
112-
"args": [
113-
"-y", "--package", "vanta-auditor-api-sdk",
114-
"--",
115-
"mcp", "start",
116-
"--bearer-auth", "..."
117-
]
118-
}
119-
}
120-
}
121-
```
122-
123-
</details>
124-
125-
You can also run MCP servers as a standalone binary with no additional dependencies. You must pull these binaries from available Github releases:
126-
127-
```bash
128-
curl -L -o mcp-server \
129-
https://github.com/{org}/{repo}/releases/download/{tag}/mcp-server-bun-darwin-arm64 && \
130-
chmod +x mcp-server
131-
```
132-
133-
If the repo is a private repo you must add your Github PAT to download a release `-H "Authorization: Bearer {GITHUB_PAT}"`.
134-
135-
136-
```json
137-
{
138-
"mcpServers": {
139-
"Todos": {
140-
"command": "./DOWNLOAD/PATH/mcp-server",
141-
"args": [
142-
"start"
143-
]
144-
}
145-
}
146-
}
147-
```
148-
149-
For a full list of server arguments, run:
150-
151-
```sh
152-
npx -y --package vanta-auditor-api-sdk -- mcp start --help
153-
```
15469
<!-- End SDK Installation [installation] -->
15570

15671
<!-- Start Requirements [requirements] -->

β€ŽRELEASES.mdβ€Ž

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,14 @@ Based on:
3838
### Generated
3939
- [typescript v0.4.1] .
4040
### Releases
41-
- [NPM v0.4.1] https://www.npmjs.com/package/vanta-auditor-api-sdk/v/0.4.1 - .
41+
- [NPM v0.4.1] https://www.npmjs.com/package/vanta-auditor-api-sdk/v/0.4.1 - .
42+
43+
## 2025-12-11 15:28:46
44+
### Changes
45+
Based on:
46+
- OpenAPI Doc
47+
- Speakeasy CLI 1.658.2 (2.755.9) https://github.com/speakeasy-api/speakeasy
48+
### Generated
49+
- [typescript v0.4.2] .
50+
### Releases
51+
- [NPM v0.4.2] https://www.npmjs.com/package/vanta-auditor-api-sdk/v/0.4.2 - .

β€Žexamples/package-lock.jsonβ€Ž

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

β€Žjsr.jsonβ€Ž

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

33
{
44
"name": "vanta-auditor-api-sdk",
5-
"version": "0.4.1",
5+
"version": "0.4.2",
66
"exports": {
77
".": "./src/index.ts",
88
"./models/errors": "./src/models/errors/index.ts",

0 commit comments

Comments
Β (0)