Skip to content

Commit bf26b6a

Browse files
committed
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.642.1
1 parent 417bf8b commit bf26b6a

File tree

85 files changed

+179
-145
lines changed

Some content is hidden

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

85 files changed

+179
-145
lines changed

.devcontainer/setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ curl -fsSL https://raw.githubusercontent.com/speakeasy-api/speakeasy/main/instal
77
rmdir samples || true
88
mkdir samples
99

10-
npm install
11-
npm install -g ts-node
10+
npm install --ignore-scripts
11+
npm install -g ts-node --ignore-scripts
1212
npm link
1313
npm link vanta-auditor-api-sdk
1414
TS_CONFIG_CONTENT=$(cat <<EOL

.speakeasy/gen.lock

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,23 @@ id: 48344567-ff5d-4d9e-92eb-dfe908f362f2
33
management:
44
docChecksum: 32687d9ba29da014326cc097fdfff59d
55
docVersion: 1.0.0
6-
speakeasyVersion: 1.583.0
7-
generationVersion: 2.658.3
8-
releaseVersion: 0.3.0
9-
configChecksum: b91da7768fbb2f57f5060768e05e54e1
6+
speakeasyVersion: 1.642.1
7+
generationVersion: 2.731.4
8+
releaseVersion: 0.4.0
9+
configChecksum: 66c422fa8269cc793d37438382897427
1010
repoURL: https://github.com/VantaInc/vanta-auditor-api-sdk-typescript.git
1111
installationURL: https://github.com/VantaInc/vanta-auditor-api-sdk-typescript
1212
published: true
1313
features:
1414
typescript:
1515
additionalDependencies: 0.1.0
1616
constsAndDefaults: 0.1.12
17-
core: 3.21.14
17+
core: 3.24.1
1818
defaultEnabledRetries: 0.1.0
19-
devContainers: 2.90.0
19+
devContainers: 2.90.1
2020
enumUnions: 0.1.0
2121
envVarSecurityUsage: 0.1.2
22-
globalSecurity: 2.82.13
22+
globalSecurity: 2.82.14
2323
globalSecurityCallbacks: 0.1.0
2424
globalSecurityFlattening: 0.1.0
2525
globalServerURLs: 2.82.5
@@ -29,7 +29,7 @@ features:
2929
responseFormat: 0.2.3
3030
retries: 2.83.0
3131
sdkHooks: 0.3.0
32-
unions: 2.85.11
32+
unions: 2.86.0
3333
generatedFiles:
3434
- .devcontainer/README.md
3535
- .devcontainer/devcontainer.json
@@ -94,7 +94,6 @@ generatedFiles:
9494
- docs/models/operations/updateauditevidencerequest.md
9595
- docs/sdks/auditors/README.md
9696
- docs/sdks/audits/README.md
97-
- docs/sdks/vanta/README.md
9897
- eslint.config.mjs
9998
- examples/.env.template
10099
- examples/README.md

.speakeasy/gen.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,16 @@ generation:
1919
auth:
2020
oAuth2ClientCredentialsEnabled: true
2121
oAuth2PasswordEnabled: true
22+
hoistGlobalSecurity: true
23+
schemas:
24+
allOfMergeStrategy: shallowMerge
2225
tests:
2326
generateTests: true
2427
generateNewTests: false
2528
skipResponseBodyAssertions: false
2629
typescript:
27-
version: 0.3.0
30+
version: 0.4.0
31+
acceptHeaderEnum: true
2832
additionalDependencies:
2933
dependencies: {}
3034
devDependencies: {}
@@ -55,9 +59,13 @@ typescript:
5559
jsonpath: legacy
5660
maxMethodParams: 0
5761
methodArguments: require-security-and-request
62+
modelPropertyCasing: camel
5863
moduleFormat: commonjs
5964
outputModelSuffix: output
6065
packageName: vanta-auditor-api-sdk
6166
responseFormat: flat
67+
sseFlatResponse: false
6268
templateVersion: v2
69+
usageSDKInitImports: []
6370
useIndexModules: true
71+
zodVersion: v3

.speakeasy/workflow.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
speakeasyVersion: 1.583.0
1+
speakeasyVersion: 1.642.1
22
sources:
33
Conduct an audit:
44
sourceNamespace: conduct-an-audit
55
sourceRevisionDigest: sha256:234b914b23cf5d74d33cd7077560a45c8cba13a211f3bd8344041648d8733c2d
66
sourceBlobDigest: sha256:8fefc2fa168b537a6f137983f6366a1d8abe9ea0a01bc6d108c601431b922a5b
77
tags:
88
- latest
9-
- speakeasy-sdk-regen-1752107287
9+
- speakeasy-sdk-regen-1754440213
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:ed572847c06a09b0e1f3d5e784af0b3a9ca9deebeb78e39163dfd13116ec76a1
18+
codeSamplesRevisionDigest: sha256:37186932c23018e1270796d0ba87e52ec51afbaeb8926b60b7ee4e3ef57bf761
1919
workflow:
2020
workflowVersion: 1.0.0
2121
speakeasyVersion: latest

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,7 @@ bun add vanta-auditor-api-sdk
6464
### Yarn
6565

6666
```bash
67-
yarn add vanta-auditor-api-sdk zod
68-
69-
# Note that Yarn does not install peer dependencies automatically. You will need
70-
# to install zod as shown above.
67+
yarn add vanta-auditor-api-sdk
7168
```
7269

7370

@@ -237,7 +234,6 @@ run();
237234
* [createCustomEvidenceRequest](docs/sdks/audits/README.md#createcustomevidencerequest) - Create a custom evidence request for an audit
238235
* [createCustomControl](docs/sdks/audits/README.md#createcustomcontrol) - Create a custom control for an audit
239236

240-
241237
</details>
242238
<!-- End Available Resources and Operations [operations] -->
243239

@@ -496,7 +492,7 @@ httpClient.addHook("requestError", (error, request) => {
496492
console.groupEnd();
497493
});
498494

499-
const sdk = new Vanta({ httpClient });
495+
const sdk = new Vanta({ httpClient: httpClient });
500496
```
501497
<!-- End Custom HTTP Client [http-client] -->
502498

RELEASES.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,14 @@ Based on:
1818
### Generated
1919
- [typescript v0.3.0] .
2020
### Releases
21-
- [NPM v0.3.0] https://www.npmjs.com/package/vanta-auditor-api-sdk/v/0.3.0 - .
21+
- [NPM v0.3.0] https://www.npmjs.com/package/vanta-auditor-api-sdk/v/0.3.0 - .
22+
23+
## 2025-10-29 00:27:53
24+
### Changes
25+
Based on:
26+
- OpenAPI Doc
27+
- Speakeasy CLI 1.642.1 (2.731.4) https://github.com/speakeasy-api/speakeasy
28+
### Generated
29+
- [typescript v0.4.0] .
30+
### Releases
31+
- [NPM v0.4.0] https://www.npmjs.com/package/vanta-auditor-api-sdk/v/0.4.0 - .

RUNTIMES.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
This SDK is intended to be used in JavaScript runtimes that support ECMAScript 2020 or newer. The SDK uses the following features:
44

5-
* [Web Fetch API][web-fetch]
6-
* [Web Streams API][web-streams] and in particular `ReadableStream`
7-
* [Async iterables][async-iter] using `Symbol.asyncIterator`
5+
- [Web Fetch API][web-fetch]
6+
- [Web Streams API][web-streams] and in particular `ReadableStream`
7+
- [Async iterables][async-iter] using `Symbol.asyncIterator`
88

99
[web-fetch]: https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API
1010
[web-streams]: https://developer.mozilla.org/en-US/docs/Web/API/Streams_API
@@ -25,7 +25,7 @@ Runtime environments that are explicitly supported are:
2525

2626
The following `tsconfig.json` options are recommended for projects using this
2727
SDK in order to get static type support for features like async iterables,
28-
streams and `fetch`-related APIs ([`for await...of`][for-await-of],
28+
streams and `fetch`-related APIs ([`for await...of`][for-await-of],
2929
[`AbortSignal`][abort-signal], [`Request`][request], [`Response`][response] and
3030
so on):
3131

@@ -38,11 +38,11 @@ so on):
3838
{
3939
"compilerOptions": {
4040
"target": "es2020", // or higher
41-
"lib": ["es2020", "dom", "dom.iterable"],
41+
"lib": ["es2020", "dom", "dom.iterable"]
4242
}
4343
}
4444
```
4545

4646
While `target` can be set to older ECMAScript versions, it may result in extra,
4747
unnecessary compatibility code being generated if you are not targeting old
48-
runtimes.
48+
runtimes.

docs/sdks/auditors/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Create an auditor in Vanta.
1313

1414
### Example Usage
1515

16+
<!-- UsageSnippet language="typescript" operationID="CreateAuditor" method="post" path="/auditors" -->
1617
```typescript
1718
import { Vanta } from "vanta-auditor-api-sdk";
1819

docs/sdks/audits/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Returns a paginated list of audits scoped to the audit firm.
2121

2222
### Example Usage
2323

24+
<!-- UsageSnippet language="typescript" operationID="ListAudits" method="get" path="/audits" -->
2425
```typescript
2526
import { Vanta } from "vanta-auditor-api-sdk";
2627

@@ -90,6 +91,7 @@ evidence is created or has a statusUpdatedAt field that is more recent than the
9091

9192
### Example Usage
9293

94+
<!-- UsageSnippet language="typescript" operationID="ListAuditEvidenceUrls" method="get" path="/audits/{auditId}/evidence/{auditEvidenceId}/urls" -->
9395
```typescript
9496
import { Vanta } from "vanta-auditor-api-sdk";
9597

@@ -164,6 +166,7 @@ Returns a paginated list of evidence for an audit.
164166

165167
### Example Usage
166168

169+
<!-- UsageSnippet language="typescript" operationID="ListAuditEvidence" method="get" path="/audits/{auditId}/evidence" -->
167170
```typescript
168171
import { Vanta } from "vanta-auditor-api-sdk";
169172

@@ -236,6 +239,7 @@ Returns a paginated list of comments for an audit.
236239

237240
### Example Usage
238241

242+
<!-- UsageSnippet language="typescript" operationID="ListAuditComments" method="get" path="/audits/{auditId}/comments" -->
239243
```typescript
240244
import { Vanta } from "vanta-auditor-api-sdk";
241245

@@ -308,6 +312,7 @@ Returns a paginated list of controls for an audit.
308312

309313
### Example Usage
310314

315+
<!-- UsageSnippet language="typescript" operationID="ListAuditControls" method="get" path="/audits/{auditId}/controls" -->
311316
```typescript
312317
import { Vanta } from "vanta-auditor-api-sdk";
313318

@@ -380,6 +385,7 @@ Create a comment in Vanta for a piece of evidence.
380385

381386
### Example Usage
382387

388+
<!-- UsageSnippet language="typescript" operationID="CreateCommentForAuditEvidence" method="post" path="/audits/{auditId}/evidence/{auditEvidenceId}/comments" -->
383389
```typescript
384390
import { Vanta } from "vanta-auditor-api-sdk";
385391

@@ -464,6 +470,7 @@ Update audit evidence.
464470

465471
### Example Usage
466472

473+
<!-- UsageSnippet language="typescript" operationID="UpdateAuditEvidence" method="patch" path="/audits/{auditId}/evidence/{auditEvidenceId}" -->
467474
```typescript
468475
import { Vanta } from "vanta-auditor-api-sdk";
469476

@@ -540,6 +547,7 @@ Create a custom evidence request for an audit.
540547

541548
### Example Usage
542549

550+
<!-- UsageSnippet language="typescript" operationID="CreateCustomEvidenceRequest" method="post" path="/audits/{auditId}/evidence/custom-evidence-requests" -->
543551
```typescript
544552
import { Vanta } from "vanta-auditor-api-sdk";
545553

@@ -636,6 +644,7 @@ Create a custom control for an audit.
636644

637645
### Example Usage
638646

647+
<!-- UsageSnippet language="typescript" operationID="CreateCustomControl" method="post" path="/audits/{auditId}/controls/custom-controls" -->
639648
```typescript
640649
import { Vanta } from "vanta-auditor-api-sdk";
641650

docs/sdks/vanta/README.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)