Skip to content

Commit 5a74610

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate 0.2.0 (#8)
> [!IMPORTANT] > Linting report available at: <https://app.speakeasy.com/org/vanta/vanta/linting-report/1acaa60c4ec653eb1ff6036612f6a6d7> > OpenAPI Change report available at: <https://app.speakeasy.com/org/vanta/vanta/changes-report/64c637239c0c3ab9da273a11c9fc2517> # SDK update Based on: - OpenAPI Doc - Speakeasy CLI 1.533.0 (2.578.0) https://github.com/speakeasy-api/speakeasy ## Versioning Version Bump Type: [minor] - 🤖 (automated) ## OpenAPI Change Summary ``` ├─┬Paths │ ├─┬/audits/{auditId}/controls/custom-controls │ │ └─┬POST │ │ └─┬Responses │ │ └─┬201 │ │ └─┬application/json │ │ └─┬Example 1 │ │ ├──[🔀] value (2777:21) │ │ ├──[🔀] value (2777:21) │ │ ├──[🔀] value (2777:21) │ │ ├──[🔀] value (2777:21) │ │ ├──[🔀] value (2777:21) │ │ ├──[🔀] value (2777:21) │ │ ├──[🔀] value (2777:21) │ │ ├──[➕] value (2777:21) │ │ └──[➕] value (2777:21) │ ├─┬/audits/{auditId}/evidence/{auditEvidenceId}/comments │ │ └─┬POST │ │ └─┬Responses │ │ └─┬200 │ │ └─┬application/json │ │ └─┬Example 1 │ │ ├──[🔀] value (2642:21) │ │ ├──[🔀] value (2642:21) │ │ ├──[🔀] value (2642:21) │ │ ├──[🔀] value (2642:21) │ │ └──[➕] value (2642:21) │ ├─┬/audits/{auditId}/comments │ │ └─┬GET │ │ └─┬Responses │ │ └─┬200 │ │ └─┬application/json │ │ └─┬Example 1 │ │ └──[🔀] value (2525:21) │ ├─┬/audits/{auditId}/evidence/{auditEvidenceId}/urls │ │ └─┬GET │ │ └──[🔀] description (2416:20) │ └─┬/audits/{auditId}/controls │ └─┬GET │ └─┬Responses │ └─┬200 │ └─┬application/json │ └─┬Example 1 │ └──[🔀] value (2582:21) ├─┬Servers │ └──[➕] description (2844:18) ├─┬Servers │ └──[➕] servers (2845:5) ├─┬Servers │ └──[➕] servers (2847:5) └─┬Components ├──[➕] schemas (404:7) ├──[➕] schemas (620:7) ├──[➕] schemas (629:7) ├──[➕] schemas (744:7) ├──[➕] schemas (387:7) ├──[➕] schemas (642:7) ├──[➕] schemas (188:7) ├──[➕] schemas (352:7) ├──[➕] schemas (701:7) ├──[➕] schemas (710:7) ├──[➕] schemas (1456:7) ├──[➕] schemas (1880:7) ├──[➕] schemas (436:7) ├──[➕] schemas (1888:7) ├──[➕] schemas (633:7) ├──[➕] schemas (616:7) ├──[➕] schemas (860:7) ├──[➕] schemas (864:7) ├──[➕] schemas (924:7) ├──[➕] schemas (1089:7) ├──[➕] schemas (570:7) ├──[➕] schemas (983:7) ├──[➕] schemas (1065:7) ├──[➕] schemas (2233:7) ├──[➕] schemas (2159:7) ├──[➕] schemas (590:7) ├──[➕] schemas (2194:7) ├──[➕] schemas (646:7) ├──[➕] schemas (1264:7) ├──[➕] schemas (697:7) ├──[➕] schemas (795:7) ├──[➕] schemas (1022:7) ├──[➕] schemas (177:7) ├──[➕] schemas (1225:7) ├──[➕] schemas (1874:7) ├──[➕] schemas (2022:7) ├──[➕] schemas (1282:7) ├──[➕] schemas (397:7) ├──[➕] schemas (2065:7) ├──[➕] schemas (731:7) ├──[➕] schemas (799:7) ├──[➕] schemas (370:7) ├──[➕] schemas (1474:7) ├──[➕] schemas (668:7) ├──[➕] schemas (979:7) ├──[➕] schemas (2052:7) ├──[➕] schemas (2212:7) ├──[➕] schemas (203:7) ├──[➕] schemas (511:7) ├──[➕] schemas (1207:7) ├──[➕] schemas (596:7) ├──[➕] schemas (493:7) ├──[➕] schemas (142:7) ├──[➕] schemas (662:7) ├──[➕] schemas (873:7) ├──[➕] schemas (928:7) ├──[➕] schemas (2040:7) ├──[➕] schemas (1026:7) ├─┬CreateCustomEvidenceRequestInput │ ├──[➕] required (1683:11)❌ │ ├──[➕] properties (1673:9) │ ├─┬description │ │ ├──[➕] items (1655:13)❌ │ │ ├──[🔀] type (1656:17)❌ │ │ └──[🔀] description (1657:24) │ ├─┬isRestricted │ │ ├──[🔀] type (1662:17)❌ │ │ └──[🔀] description (1663:24) │ ├─┬reminderWindow │ │ └──[🔀] $ref (1671:11)❌ │ ├─┬title │ │ └──[🔀] $ref (1608:9)❌ │ ├─┬cadence │ │ └──[🔀] $ref (1674:11)❌ │ └─┬controlIds │ └──[🔀] $ref (1608:9)❌ ├─┬Comment │ ├──[➕] required (1433:11)❌ │ ├──[➕] properties (1418:9) │ ├─┬email │ │ ├──[➕] format (1420:19)❌ │ │ └──[🔀] description (1422:24) │ ├─┬text │ │ ├──[➕] format (1415:19)❌ │ │ ├──[🔀] description (1417:24) │ │ └──[➕] nullable (1416:21)❌ │ ├─┬id │ │ ├──[🔀] description (1426:24) │ │ └──[➕] nullable (1425:21)❌ │ └─┬modificationDate │ ├──[➖] format (306:29)❌ │ ├──[🔀] description (1402:24) │ └──[➖] nullable (307:31)❌ ├─┬AuditorEnabledStateTransition │ └──[➕] enum (1589:11) ├─┬Control │ ├──[➕] required (1731:11)❌ │ ├──[➕] properties (1718:9) │ ├─┬externalId │ │ ├──[➕] items (1706:13)❌ │ │ ├──[🔀] type (1707:17)❌ │ │ ├──[🔀] description (1708:24) │ │ └──[➖] nullable (549:31)❌ │ ├─┬id │ │ ├──[🔀] description (1694:24) │ │ └──[➕] nullable (1693:21)❌ │ ├─┬role │ │ ├──[➖] type (571:27)❌ │ │ ├──[🔀] description (1713:24) │ │ ├──[➕] nullable (1712:21)❌ │ │ └──[➕] allOf (419:7) │ ├─┬name │ │ └──[🔀] description (1690:24) │ ├─┬description │ │ ├──[➕] items (1720:13)❌ │ │ ├──[🔀] type (1721:17)❌ │ │ └──[🔀] description (1722:24) │ ├─┬domains │ │ ├──[➖] items (562:25)❌ │ │ ├──[🔀] type (1699:17)❌ │ │ └──[🔀] description (1700:24) │ ├─┬owner │ │ ├──[➕] type (1696:17)❌ │ │ ├──[🔀] description (1697:24) │ │ ├──[➖] nullable (568:31)❌ │ │ └──[➖] allOf (346:13)❌ │ └─┬source │ └──[🔀] $ref (1715:11)❌ └─┬AuditorControl ├──[➕] required (1541:11)❌ ├──[➕] required (1543:11)❌ ├──[➕] properties (1520:9) ├──[➕] properties (1528:9) ├─┬externalId │ ├──[➕] items (1508:13)❌ │ ├──[🔀] type (1509:17)❌ │ ├──[🔀] description (1510:24) │ └──[➖] nullable (369:31)❌ ├─┬framework │ ├──[🔀] description (1496:24) │ └──[➕] nullable (1495:21)❌ ├─┬domains │ ├──[➖] items (382:25)❌ │ ├──[🔀] type (1501:17)❌ │ └──[🔀] description (1502:24) ├─┬owner │ ├──[➕] type (1498:17)❌ │ ├──[🔀] description (1499:24) │ ├──[➖] nullable (388:31)❌ │ └──[➖] allOf (346:13)❌ ├─┬id │ └──[🔀] description (1527:24) ├─┬role │ ├──[➖] type (391:27)❌ │ ├──[🔀] description (1515:24) │ ├──[➕] nullable (1514:21)❌ │ └──[➕] allOf (419:7) ├─┬source │ └──[🔀] $ref (1517:11)❌ ├─┬description │ ├──[➕] items (1522:13)❌ │ ├──[🔀] type (1523:17)❌ │ └──[🔀] description (1524:24) └─┬name └──[🔀] description (1492:24) ``` | Document Element | Total Changes | Breaking Changes | |------------------|---------------|------------------| | servers | 3 | 0 | | components | 133 | 46 | | paths | 17 | 0 | ## TYPESCRIPT CHANGELOG ## nullables: 0.1.1 - 2025-02-17 ### 🐛 Bug Fixes - represent maps/arrays that can contain null *(commit by [@disintegrator](https://github.com/disintegrator))* ## mcpServer: 0.9.1 - 2025-04-04 ### 🐛 Bug Fixes - correctly handle partial scopes *(commit by [@ryan-timothy-albert](https://github.com/ryan-timothy-albert))* ## core: 3.21.6 - 2025-04-11 ### 🐛 Bug Fixes - increase stability of generator model file names *(commit by [@vishalg0wda](https://github.com/vishalg0wda))* ## core: 3.21.5 - 2025-04-03 ### 🐛 Bug Fixes - improve performance of generation on multicore machines and various fixes to correctness based on order of generation *(commit by [@TristanSpeakEasy](https://github.com/tristanspeakeasy))* ## core: 3.21.4 - 2025-03-11 ### 🐛 Bug Fixes - remove @ts-expect-error directive for duplex: "half" fetch option *(commit by [@disintegrator](https://github.com/disintegrator))* ## core: 3.21.3 - 2025-02-26 ### 🐛 Bug Fixes - handle open enum imports for enumFormat: enum *(commit by [@vishalg0wda](https://github.com/vishalg0wda))* ## core: 3.21.2 - 2025-02-25 ### 🐛 Bug Fixes - importing open enums with `useIndexModules: true` *(commit by [@vishalg0wda](https://github.com/vishalg0wda))* ## core: 3.21.1 - 2025-02-21 ### 🐛 Bug Fixes - handle usage snippet templating when no servers are defined in the spec *(commit by [@vishalg0wda](https://github.com/vishalg0wda))* ## core: 3.21.0 - 2025-02-17 ### 🐝 New Features - support openapi specs without server urls *(commit by [@vishalg0wda](https://github.com/vishalg0wda))* ## core: 3.20.0 - 2025-02-14 ### 🐝 New Features - return custom API promise from TS functions *(commit by [@disintegrator](https://github.com/disintegrator))* ## core: 3.19.0 - 2025-02-04 ### 🐝 New Features - make testing security example matching more forgiving *(commit by [@ryan-timothy-albert](https://github.com/ryan-timothy-albert))* ## core: 3.18.22 - 2025-01-31 ### 🐛 Bug Fixes - try to use Blob type in raw requests *(commit by [@disintegrator](https://github.com/disintegrator))* ## core: 3.18.21 - 2025-01-31 ### 🐛 Bug Fixes - fixed handling of default fields in usage snippets and tests, fixed validation of required schema property *(commit by [@TristanSpeakEasy](https://github.com/tristanspeakeasy))* ## core: 3.18.20 - 2025-01-29 ### 🔧 Chores - upgrade to ESLint 9 *(commit by [@disintegrator](https://github.com/disintegrator))* ## core: 3.18.19 - 2025-01-27 ### 🐛 Bug Fixes - sort subresponses based on the worst scoring response in the group to ensure that no unreachable code paths are created *(commit by [@idbentley](https://github.com/idbentley))* ## core: 3.18.18 - 2025-01-24 ### 🔧 Chores - update default module format for TS *(commit by [@disintegrator](https://github.com/disintegrator))* ## core: 3.18.17 - 2025-01-20 ### 🐛 Bug Fixes - update vitest and tshy dependencies *(commit by [@disintegrator](https://github.com/disintegrator))* ## core: 3.18.16 - 2025-01-16 ### 🐛 Bug Fixes - publish `dist/*/package.json` in dual mode *(commit by [@disintegrator](https://github.com/disintegrator))* ## core: 3.18.14 - 2025-01-13 ### 🐛 Bug Fixes - skip null and undefined parameter values during serialization *(commit by [@disintegrator](https://github.com/disintegrator))* ## core: 3.18.13 - 2025-01-13 ### 🐛 Bug Fixes - avoid setting `Content-Type: */*` request header for relevant operations *(commit by [@disintegrator](https://github.com/disintegrator))* ## globalSecurity: 2.82.13 - 2025-02-06 ### 🐛 Bug Fixes - fixes to handling of security at both global and operation level especially for oauth2 *(commit by [@TristanSpeakEasy](https://github.com/tristanspeakeasy))* --------- Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
1 parent 24f0eff commit 5a74610

File tree

107 files changed

+4827
-2600
lines changed

Some content is hidden

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

107 files changed

+4827
-2600
lines changed

.devcontainer/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11

2+
<div align="center">
3+
<a href="https://codespaces.new/VantaInc/vanta-auditor-api-sdk-typescript.git/tree/main"><img src="https://github.com/codespaces/badge.svg" /></a>
4+
</div>
5+
<br>
6+
27
> **Remember to shutdown a GitHub Codespace when it is not in use!**
38
49
# Dev Containers Quick Start

.eslintrc.cjs

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

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
/mcp-server
2+
/bin
3+
/.eslintcache
14
/models
25
/models/errors
36
/types

.npmignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@
44
!/REACT_QUERY.md
55
!/**/*.ts
66
!/**/*.js
7+
!/**/*.mjs
8+
!/**/*.json
79
!/**/*.map
810

9-
/.eslintrc.js
11+
/eslint.config.mjs
1012
/cjs
1113
/.tshy
1214
/.tshy-*

.speakeasy/gen.lock

Lines changed: 63 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,31 @@
11
lockVersion: 2.0.0
22
id: 48344567-ff5d-4d9e-92eb-dfe908f362f2
33
management:
4-
docChecksum: 187eab0101db7e3ea9a2435fe8db1112
4+
docChecksum: 1a2b10b336197dc97b4e05876d814f28
55
docVersion: 1.0.0
6-
speakeasyVersion: 1.467.1
7-
generationVersion: 2.492.3
8-
releaseVersion: 0.1.1
9-
configChecksum: a86342577eba207e40923ac173ece513
6+
speakeasyVersion: 1.533.0
7+
generationVersion: 2.578.0
8+
releaseVersion: 0.2.0
9+
configChecksum: 277f79a4bad56237db4b079381471e19
10+
repoURL: https://github.com/VantaInc/vanta-auditor-api-sdk-typescript.git
11+
installationURL: https://github.com/VantaInc/vanta-auditor-api-sdk-typescript
12+
published: true
1013
features:
1114
typescript:
1215
additionalDependencies: 0.1.0
1316
constsAndDefaults: 0.1.11
14-
core: 3.18.12
17+
core: 3.21.6
1518
defaultEnabledRetries: 0.1.0
1619
devContainers: 2.90.0
1720
enumUnions: 0.1.0
1821
envVarSecurityUsage: 0.1.2
19-
globalSecurity: 2.82.12
22+
globalSecurity: 2.82.13
2023
globalSecurityCallbacks: 0.1.0
2124
globalSecurityFlattening: 0.1.0
2225
globalServerURLs: 2.82.4
26+
mcpServer: 0.9.1
2327
nameOverrides: 2.81.2
24-
nullables: 0.1.0
28+
nullables: 0.1.1
2529
responseFormat: 0.2.3
2630
retries: 2.83.0
2731
sdkHooks: 0.2.0
@@ -30,10 +34,8 @@ generatedFiles:
3034
- .devcontainer/README.md
3135
- .devcontainer/devcontainer.json
3236
- .devcontainer/setup.sh
33-
- .eslintrc.cjs
3437
- .gitattributes
3538
- .npmignore
36-
- CONTRIBUTING.md
3739
- FUNCTIONS.md
3840
- RUNTIMES.md
3941
- USAGE.md
@@ -55,6 +57,7 @@ generatedFiles:
5557
- docs/models/components/createcustomcontrolinput.md
5658
- docs/models/components/createcustomevidencerequestinput.md
5759
- docs/models/components/customevidencerequest.md
60+
- docs/models/components/customfield.md
5861
- docs/models/components/evidence.md
5962
- docs/models/components/evidencecontrol.md
6063
- docs/models/components/evidenceurl.md
@@ -75,8 +78,10 @@ generatedFiles:
7578
- docs/models/components/recurrenceduration.md
7679
- docs/models/components/results.md
7780
- docs/models/components/role.md
81+
- docs/models/components/section.md
7882
- docs/models/components/security.md
7983
- docs/models/components/statusupdate.md
84+
- docs/models/components/value.md
8085
- docs/models/operations/createcommentforauditevidencerequest.md
8186
- docs/models/operations/createcustomcontrolrequest.md
8287
- docs/models/operations/createcustomevidencerequestrequest.md
@@ -89,6 +94,7 @@ generatedFiles:
8994
- docs/sdks/auditors/README.md
9095
- docs/sdks/audits/README.md
9196
- docs/sdks/vanta/README.md
97+
- eslint.config.mjs
9298
- jsr.json
9399
- package.json
94100
- src/core.ts
@@ -122,6 +128,29 @@ generatedFiles:
122128
- src/lib/sdks.ts
123129
- src/lib/security.ts
124130
- src/lib/url.ts
131+
- src/mcp-server/build.mts
132+
- src/mcp-server/cli.ts
133+
- src/mcp-server/cli/start/command.ts
134+
- src/mcp-server/cli/start/impl.ts
135+
- src/mcp-server/console-logger.ts
136+
- src/mcp-server/extensions.ts
137+
- src/mcp-server/mcp-server.ts
138+
- src/mcp-server/prompts.ts
139+
- src/mcp-server/resources.ts
140+
- src/mcp-server/scopes.ts
141+
- src/mcp-server/server.ts
142+
- src/mcp-server/shared.ts
143+
- src/mcp-server/tools.ts
144+
- src/mcp-server/tools/auditorsCreate.ts
145+
- src/mcp-server/tools/auditsCreateCommentForEvidence.ts
146+
- src/mcp-server/tools/auditsCreateCustomControl.ts
147+
- src/mcp-server/tools/auditsCreateCustomEvidenceRequest.ts
148+
- src/mcp-server/tools/auditsGetEvidenceUrls.ts
149+
- src/mcp-server/tools/auditsList.ts
150+
- src/mcp-server/tools/auditsListComments.ts
151+
- src/mcp-server/tools/auditsListControls.ts
152+
- src/mcp-server/tools/auditsListEvidence.ts
153+
- src/mcp-server/tools/auditsUpdateEvidence.ts
125154
- src/models/components/addauditorinput.ts
126155
- src/models/components/addcommentinput.ts
127156
- src/models/components/audit.ts
@@ -138,6 +167,7 @@ generatedFiles:
138167
- src/models/components/createcustomcontrolinput.ts
139168
- src/models/components/createcustomevidencerequestinput.ts
140169
- src/models/components/customevidencerequest.ts
170+
- src/models/components/customfield.ts
141171
- src/models/components/evidence.ts
142172
- src/models/components/evidencecontrol.ts
143173
- src/models/components/evidenceurl.ts
@@ -151,6 +181,7 @@ generatedFiles:
151181
- src/models/components/paginatedresponseevidence.ts
152182
- src/models/components/paginatedresponseevidenceurl.ts
153183
- src/models/components/recurrenceduration.ts
184+
- src/models/components/section.ts
154185
- src/models/components/security.ts
155186
- src/models/errors/apierror.ts
156187
- src/models/errors/httpclienterrors.ts
@@ -170,6 +201,7 @@ generatedFiles:
170201
- src/sdk/audits.ts
171202
- src/sdk/index.ts
172203
- src/sdk/sdk.ts
204+
- src/types/async.ts
173205
- src/types/blobs.ts
174206
- src/types/constdatetime.ts
175207
- src/types/enums.ts
@@ -182,6 +214,9 @@ generatedFiles:
182214
examples:
183215
ListAudits:
184216
Example 1:
217+
parameters:
218+
query:
219+
pageSize: 10
185220
responses:
186221
"200":
187222
application/json: {"results": {"data": [{"id": "65fc81a3359c8508c9af880f", "customerOrganizationName": "corporation.com", "customerDisplayName": "Corporation Company", "customerOrganizationId": "65fc81a3359c8508c9af880f", "auditStartDate": "2024-03-07T21:25:56Z", "auditEndDate": "2024-03-14T21:25:56Z", "earlyAccessStartsDate": "2024-03-07T21:25:56Z", "framework": "SOC 2 Type II", "allowAuditorEmails": ["sam@auditor.com"], "allowAllAuditors": true, "deletionDate": "2024-03-07T21:25:56Z", "creationDate": "2024-03-07T21:25:56Z", "modificationDate": "2024-03-07T21:25:56Z", "completionDate": "2024-03-07T21:25:56Z"}], "pageInfo": {"endCursor": "YXJyYXljb25uZWN0aW9uOjE=", "hasNextPage": false, "hasPreviousPage": false, "startCursor": "YXJyYXljb25uZWN0aW9uOjA="}}}
@@ -191,7 +226,8 @@ examples:
191226
path:
192227
auditId: "<id>"
193228
auditEvidenceId: "<id>"
194-
query: {}
229+
query:
230+
pageSize: 10
195231
responses:
196232
"200":
197233
application/json: {"results": {"data": [{"id": "NjVmYzgxYTMzNTljODUwOGM5YWY4ODBm", "url": "https://s3.amazonaws.com/audit-evidence/2022/audit.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=secret%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221104T140227Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=b228dbec8c1008c80c162e1210e4503dceead1e4d4751b4d9787314fd6da4d55", "filename": "example.jpg", "isDownloadable": true}], "pageInfo": {"endCursor": "YXJyYXljb25uZWN0aW9uOjE=", "hasNextPage": false, "hasPreviousPage": false, "startCursor": "YXJyYXljb25uZWN0aW9uOjA="}}}
@@ -200,7 +236,8 @@ examples:
200236
parameters:
201237
path:
202238
auditId: "<id>"
203-
query: {}
239+
query:
240+
pageSize: 10
204241
responses:
205242
"200":
206243
application/json: {"results": {"data": [{"id": "65fc81a3359c8508c9af880f", "externalId": "cG9saWN5OmFjY2Vzcy1jb250cm9sLXBvbGljeQo=", "status": "Ready for audit", "name": "Access Control Policy", "deletionDate": "2024-03-07T21:25:56Z", "creationDate": "2024-03-07T21:25:56Z", "statusUpdatedDate": "2024-03-07T21:25:56Z", "testStatus": "The test was passing during this period", "evidenceType": "Policy", "evidenceId": "access-control-policy", "relatedControls": [{"name": "CRY-104", "sectionNames": ["Article 13"]}], "description": "example description of test"}], "pageInfo": {"endCursor": "YXJyYXljb25uZWN0aW9uOjE=", "hasNextPage": false, "hasPreviousPage": false, "startCursor": "YXJyYXljb25uZWN0aW9uOjA="}}}
@@ -209,36 +246,40 @@ examples:
209246
parameters:
210247
path:
211248
auditId: "<id>"
212-
query: {}
249+
query:
250+
pageSize: 10
213251
responses:
214252
"200":
215-
application/json: {"results": {"data": [{"id": "65fc81a3359c8508c9af880f", "auditEvidenceId": "65fc81a3359c8508c9af880f", "text": "Some comment", "creationDate": "2024-03-07T21:25:56Z", "modificationDate": "2024-03-07T21:25:56Z", "email": "vlad@vantaroo.com"}], "pageInfo": {"endCursor": "YXJyYXljb25uZWN0aW9uOjE=", "hasNextPage": false, "hasPreviousPage": false, "startCursor": "YXJyYXljb25uZWN0aW9uOjA="}}}
253+
application/json: {"results": {"data": [{"id": "65fc81a3359c8508c9af880f", "auditEvidenceId": "65fc81a3359c8508c9af880f", "text": "Some comment", "creationDate": "2024-03-07T21:25:56Z", "modificationDate": "2024-03-07T21:25:56Z", "deletionDate": "2024-03-07T21:25:56Z", "email": "vlad@vantaroo.com"}], "pageInfo": {"endCursor": "YXJyYXljb25uZWN0aW9uOjE=", "hasNextPage": false, "hasPreviousPage": false, "startCursor": "YXJyYXljb25uZWN0aW9uOjA="}}}
216254
ListAuditControls:
217255
Example 1:
218256
parameters:
219257
path:
220258
auditId: "<id>"
221-
query: {}
259+
query:
260+
pageSize: 10
222261
responses:
223262
"200":
224-
application/json: {"results": {"data": [{"id": "a2f7e1b9d0c3f4e5a6c7b8d9", "externalId": "CRY-104", "name": "Data encryption utilized", "description": "Access reviews are performed to ensure that access is appropriate for the user's role and responsibilities.", "source": "Vanta", "domains": ["CRYPTOGRAPHIC_PROTECTIONS"], "owner": {"id": "65e1efde08e8478f143a8ff9", "displayName": "Example Owner", "emailAddress": "example-person@email.com"}, "framework": "soc2"}], "pageInfo": {"endCursor": "YXJyYXljb25uZWN0aW9uOjE=", "hasNextPage": false, "hasPreviousPage": false, "startCursor": "YXJyYXljb25uZWN0aW9uOjA="}}}
263+
application/json: {"results": {"data": [{"id": "a2f7e1b9d0c3f4e5a6c7b8d9", "externalId": "CRY-104", "name": "Data encryption utilized", "description": "Access reviews are performed to ensure that access is appropriate for the user's role and responsibilities.", "source": "Vanta", "domains": ["CRYPTOGRAPHIC_PROTECTIONS"], "owner": {"id": "65e1efde08e8478f143a8ff9", "displayName": "Example Owner", "emailAddress": "example-person@email.com"}, "role": null, "customFields": [], "framework": "soc2", "sections": [{"name": "IPP", "framework": "HITRUST"}]}], "pageInfo": {"endCursor": "YXJyYXljb25uZWN0aW9uOjE=", "hasNextPage": false, "hasPreviousPage": false, "startCursor": "YXJyYXljb25uZWN0aW9uOjA="}}}
225264
CreateCommentForAuditEvidence:
226265
Example 1:
227266
parameters:
228267
path:
229268
auditId: "<id>"
230269
auditEvidenceId: "<id>"
231270
requestBody:
232-
application/json: {"text": "<value>", "email": "Earnestine28@yahoo.com", "creationDate": "2024-11-28T04:59:12.710Z"}
271+
application/json: {"text": "<value>", "email": "Alexis74@hotmail.com", "creationDate": "2024-08-13T11:18:40.035Z"}
233272
responses:
234273
"200":
235-
application/json: {"id": "65fc81a3359c8508c9af880f", "auditEvidenceId": "65fc81a3359c8508c9af880f", "text": "Some comment", "creationDate": "2024-03-07T21:25:56Z", "modificationDate": "2024-03-07T21:25:56Z", "email": "vlad@vantaroo.com"}
274+
application/json: {"id": "65fc81a3359c8508c9af880f", "auditEvidenceId": "65fc81a3359c8508c9af880f", "text": "Some comment", "creationDate": "2024-03-07T21:25:56Z", "modificationDate": "2024-03-07T21:25:56Z", "deletionDate": "2024-03-07T21:25:56Z", "email": "vlad@vantaroo.com"}
236275
UpdateAuditEvidence:
237276
Example 1:
238277
parameters:
239278
path:
240279
auditId: "<id>"
241280
auditEvidenceId: "<id>"
281+
requestBody:
282+
application/json: {}
242283
responses:
243284
"200":
244285
application/json: {"id": "65fc81a3359c8508c9af880f", "externalId": "cG9saWN5OmFjY2Vzcy1jb250cm9sLXBvbGljeQo=", "status": "Ready for audit", "name": "Access Control Policy", "deletionDate": "2024-03-07T21:25:56Z", "creationDate": "2024-03-07T21:25:56Z", "statusUpdatedDate": "2024-03-07T21:25:56Z", "testStatus": "The test was passing during this period", "evidenceType": "Policy", "evidenceId": "access-control-policy", "relatedControls": [{"name": "CRY-104", "sectionNames": ["Article 13"]}], "description": "example description of test"}
@@ -248,7 +289,7 @@ examples:
248289
path:
249290
auditId: "<id>"
250291
requestBody:
251-
application/json: {"controlIds": ["<value>"], "title": "<value>", "description": "now whoa while", "cadence": "P3M", "reminderWindow": "P0D", "isRestricted": true}
292+
application/json: {"controlIds": ["<value>"], "title": "<value>", "description": "now whoa while", "cadence": "P3M", "reminderWindow": "P0D", "isRestricted": true, "auditorEmail": "<value>"}
252293
responses:
253294
"200":
254295
application/json: {"id": "65fc81a3359c8508c9af880f", "controlIds": ["1.1.2.a"], "title": "Access Control Policy", "description": "Description for Access Control Policy", "cadence": "P6M", "reminderWindow": "P6M", "isRestricted": true}
@@ -261,12 +302,13 @@ examples:
261302
application/json: {"externalId": "<id>", "name": "<value>", "description": "even keenly afore mmm yearningly ouch tough yearly intent", "effectiveDate": "2024-07-08T11:52:30.590Z", "category": "THREAT_MANAGEMENT"}
262303
responses:
263304
"201":
264-
application/json: {"id": "65fc81a3359c8508c9af880f", "externalId": "<id>", "name": "<value>", "description": "Description for Access Control Policy", "source": "Vanta", "domains": ["<value>"], "owner": {"id": "<id>", "displayName": "Jamey_Swaniawski", "emailAddress": "Sibyl.Connelly@yahoo.com"}}
305+
application/json: {"id": "a2f7e1b9d0c3f4e5a6c7b8d9", "externalId": "CRY-104", "name": "Data encryption utilized", "description": "Access reviews are performed to ensure that access is appropriate for the user's role and responsibilities.", "source": "Vanta", "domains": ["CRYPTOGRAPHIC_PROTECTIONS"], "owner": {"id": "65e1efde08e8478f143a8ff9", "displayName": "Example Owner", "emailAddress": "example-person@email.com"}, "role": "CONTROLLER", "customFields": [{"label": "Additional context", "value": "This control is critical for GDPR compliance"}]}
265306
CreateAuditor:
266307
Example 1:
267308
requestBody:
268-
application/json: {"email": "Cooper59@hotmail.com", "givenName": "<value>", "familyName": "<value>"}
309+
application/json: {"email": "Loyal79@yahoo.com", "givenName": "<value>", "familyName": "<value>"}
269310
responses:
270311
"200":
271312
application/json: {"id": "65fc81a3359c8508c9af880f", "organizationId": "8c9af880f1a335965fc850c8", "email": "testauditor@audit.com", "givenName": "Sam", "familyName": "Auditor"}
313+
examplesVersion: 1.0.1
272314
generatedTests: {}

.speakeasy/gen.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@ generation:
1010
useClassNamesForArrayFields: true
1111
fixes:
1212
nameResolutionDec2023: true
13+
nameResolutionFeb2025: false
1314
parameterOrderingFeb2024: true
1415
requestResponseComponentNamesFeb2024: true
16+
securityFeb2025: false
1517
auth:
1618
oAuth2ClientCredentialsEnabled: true
1719
oAuth2PasswordEnabled: true
1820
typescript:
19-
version: 0.1.1
21+
version: 0.2.0
2022
additionalDependencies:
2123
dependencies: {}
2224
devDependencies: {}
@@ -25,6 +27,8 @@ typescript:
2527
author: Speakeasy
2628
clientServerStatusCodesAsErrors: true
2729
defaultErrorName: APIError
30+
enableCustomCodeRegions: false
31+
enableMCPServer: true
2832
enableReactQuery: false
2933
enumFormat: union
3034
envVarPrefix: VANTA
@@ -39,6 +43,7 @@ typescript:
3943
shared: models/components
4044
webhooks: models/webhooks
4145
inputModelSuffix: input
46+
jsonpath: legacy
4247
maxMethodParams: 0
4348
methodArguments: require-security-and-request
4449
moduleFormat: commonjs

.speakeasy/workflow.lock

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
1-
speakeasyVersion: 1.467.1
1+
speakeasyVersion: 1.533.0
22
sources:
33
Conduct an audit:
44
sourceNamespace: conduct-an-audit
5-
sourceRevisionDigest: sha256:c524d9ce1fffa88089f94c22cd937ab1b866cd103705ac07cb1536ac41bdd0ea
6-
sourceBlobDigest: sha256:c5cd2640418deb9fbb6be419800b0e1e89fe7a03b454bdfc72b320db2ecd971b
5+
sourceRevisionDigest: sha256:ec0e5f7188da957554a2175874ee7a7c671251cddb84a0911cf73f1e6b4ae612
6+
sourceBlobDigest: sha256:bbe79169dea0b06f442a5b981fda5eb09f04b5ea369ef9832e48e6feabdccc08
77
tags:
88
- latest
9+
- speakeasy-sdk-regen-1744653558
910
- 1.0.0
1011
targets:
1112
vanta:
1213
source: Conduct an audit
1314
sourceNamespace: conduct-an-audit
14-
sourceRevisionDigest: sha256:c524d9ce1fffa88089f94c22cd937ab1b866cd103705ac07cb1536ac41bdd0ea
15-
sourceBlobDigest: sha256:c5cd2640418deb9fbb6be419800b0e1e89fe7a03b454bdfc72b320db2ecd971b
15+
sourceRevisionDigest: sha256:ec0e5f7188da957554a2175874ee7a7c671251cddb84a0911cf73f1e6b4ae612
16+
sourceBlobDigest: sha256:bbe79169dea0b06f442a5b981fda5eb09f04b5ea369ef9832e48e6feabdccc08
1617
codeSamplesNamespace: conduct-an-audit-typescript-code-samples
17-
codeSamplesRevisionDigest: sha256:a8b51b11c4cb76d29c1229ee5ab9151e17b167eda2d4786594bebc7165557413
18+
codeSamplesRevisionDigest: sha256:6e53c3e5e71c376fb2f45ab25697dad7892b83b774caaaabffbc63d3df63c95e
1819
workflow:
1920
workflowVersion: 1.0.0
2021
speakeasyVersion: latest
@@ -30,6 +31,9 @@ workflow:
3031
vanta:
3132
target: typescript
3233
source: Conduct an audit
34+
publish:
35+
npm:
36+
token: $npm_token
3337
codeSamples:
3438
registry:
3539
location: registry.speakeasyapi.dev/vanta/vanta/conduct-an-audit-typescript-code-samples

0 commit comments

Comments
 (0)