@distilled.cloud/vanta 1.0.0-rc.17 → 1.0.0-rc.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/_bundle/sdk.js +1 -1
- package/lib/_bundle/sdk.js.map +1 -1
- package/lib/credentials.d.ts +2 -1
- package/lib/credentials.d.ts.map +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/protocol.d.ts +2 -2
- package/lib/protocol.d.ts.map +1 -1
- package/lib/services/auditor_api.d.ts.map +1 -1
- package/lib/services/auditor_api.js +70 -69
- package/lib/services/auditor_api.js.map +1 -1
- package/lib/services/build_integrations.d.ts.map +1 -1
- package/lib/services/build_integrations.js +46 -45
- package/lib/services/build_integrations.js.map +1 -1
- package/lib/services/manage_vanta.d.ts.map +1 -1
- package/lib/services/manage_vanta.js +331 -330
- package/lib/services/manage_vanta.js.map +1 -1
- package/lib/services/webhooks.d.ts.map +1 -1
- package/lib/services/webhooks.js +34 -33
- package/lib/services/webhooks.js.map +1 -1
- package/lib/services.lazy/auditor_api.js +1 -1
- package/lib/services.lazy/build_integrations.js +1 -1
- package/lib/services.lazy/manage_vanta.js +1 -1
- package/lib/services.lazy/webhooks.js +1 -1
- package/package.json +5 -4
- package/src/credentials.ts +4 -2
- package/src/index.ts +2 -2
- package/src/protocol.ts +3 -2
- package/src/services/auditor_api.ts +115 -0
- package/src/services/build_integrations.ts +63 -0
- package/src/services/manage_vanta.ts +507 -0
- package/src/services/webhooks.ts +60 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@distilled.cloud/vanta",
|
|
3
|
-
"version": "1.0.0-rc.
|
|
3
|
+
"version": "1.0.0-rc.18",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -66,22 +66,23 @@
|
|
|
66
66
|
}
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@distilled.cloud/core": "1.0.0-rc.
|
|
69
|
+
"@distilled.cloud/core": "1.0.0-rc.18"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
|
+
"@distilled.cloud/dev": "0.0.0",
|
|
72
73
|
"@types/node": "26.6.5"
|
|
73
74
|
},
|
|
74
75
|
"peerDependencies": {
|
|
75
76
|
"effect": "^4.0.5"
|
|
76
77
|
},
|
|
77
78
|
"distilled": {
|
|
78
|
-
"generatedAt": "2026-10-
|
|
79
|
+
"generatedAt": "2026-10-25",
|
|
79
80
|
"specUpdatedAt": "2026-10-06"
|
|
80
81
|
},
|
|
81
82
|
"scripts": {
|
|
82
83
|
"build": "tsrs -b",
|
|
83
84
|
"convert": "node --conditions=bun scripts/convert.ts",
|
|
84
|
-
"generate": "node --conditions=bun scripts/
|
|
85
|
+
"generate": "node --conditions=bun scripts/generate.ts",
|
|
85
86
|
"typecheck": "tsrs -p tsconfig.json",
|
|
86
87
|
"specs:fetch": "git submodule update --force --init --depth=1 specs/spec-mirror-vanta",
|
|
87
88
|
"specs:update": "git submodule update --remote --force --depth=1 specs/spec-mirror-vanta"
|
package/src/credentials.ts
CHANGED
|
@@ -25,7 +25,9 @@ export interface Config {
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
export class Credentials
|
|
28
|
-
extends /*@__PURE__*/ Context.Service<Credentials, Effect.Effect<Config>>()(
|
|
28
|
+
extends /*@__PURE__*/ Context.Service<Credentials, Effect.Effect<Config, ConfigError>>()(
|
|
29
|
+
"VantaCredentials",
|
|
30
|
+
) {}
|
|
29
31
|
|
|
30
32
|
/** Layer from a redacted access token + optional base URL. */
|
|
31
33
|
export const fromApiKey = (config: {
|
|
@@ -56,5 +58,5 @@ export const CredentialsFromEnv: Layer.Layer<Credentials> = /*@__PURE__*/ Layer.
|
|
|
56
58
|
apiKey: Redacted.make(apiKey),
|
|
57
59
|
apiBaseUrl: process.env.VANTA_API_BASE_URL ?? DEFAULT_API_BASE_URL,
|
|
58
60
|
};
|
|
59
|
-
})
|
|
61
|
+
}),
|
|
60
62
|
);
|
package/src/index.ts
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @distilled.cloud/vanta -- Vanta SDK for Effect.
|
|
3
3
|
*
|
|
4
4
|
* `./services` is generated by `scripts/generate.ts` from the Smithy models
|
|
5
|
-
*
|
|
6
|
-
*
|
|
5
|
+
* that `scripts/convert.ts` converts from the OpenAPI specs. Everything else in
|
|
6
|
+
* this folder is hand-written.
|
|
7
7
|
*
|
|
8
8
|
* @example
|
|
9
9
|
* ```ts
|
package/src/protocol.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type * as API from "@distilled.cloud/core/api";
|
|
2
|
-
import type { API_ERRORS, ConfigError } from "@distilled.cloud/core/errors";
|
|
2
|
+
import type { API_ERRORS, ConfigError, InvalidInput } from "@distilled.cloud/core/errors";
|
|
3
3
|
import { makeRestProtocol } from "@distilled.cloud/core/protocol-rest";
|
|
4
4
|
/**
|
|
5
5
|
* VantaProtocol -- hand-written.
|
|
@@ -35,7 +35,8 @@ export type VantaOpError =
|
|
|
35
35
|
| UnknownVantaError
|
|
36
36
|
| ConfigError
|
|
37
37
|
| HttpClientError.HttpClientError
|
|
38
|
-
| VantaParseError
|
|
38
|
+
| VantaParseError
|
|
39
|
+
| InvalidInput;
|
|
39
40
|
|
|
40
41
|
/** Context (requirements) shared by every generated Vanta operation. */
|
|
41
42
|
export type VantaOpContext = Credentials | HttpClient.HttpClient;
|
|
@@ -11,6 +11,19 @@ const __s: any[] = [];
|
|
|
11
11
|
|
|
12
12
|
export type { VantaOpError, VantaOpContext };
|
|
13
13
|
|
|
14
|
+
/** Span facts shared by every operation (com.distilled.telemetry#service). */
|
|
15
|
+
const TELEMETRY = {
|
|
16
|
+
system: "vanta-api",
|
|
17
|
+
responseHeaders: [
|
|
18
|
+
{ header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
|
|
19
|
+
{ header: "request-id", name: "http.response.header.request-id", transform: "list" },
|
|
20
|
+
],
|
|
21
|
+
prefix: "Vanta",
|
|
22
|
+
service: "AuditorApi",
|
|
23
|
+
labels: "vanta",
|
|
24
|
+
propagate: "w3c",
|
|
25
|
+
} as const;
|
|
26
|
+
|
|
14
27
|
export interface AcceptInformationRequestEvidenceRequest {
|
|
15
28
|
auditId: string;
|
|
16
29
|
requestId: string;
|
|
@@ -2075,6 +2088,8 @@ export const acceptInformationRequestEvidence: API.OperationMethod<
|
|
|
2075
2088
|
errors: [UnknownVantaError],
|
|
2076
2089
|
protocol: VantaProtocol,
|
|
2077
2090
|
retry: Retry.Retry,
|
|
2091
|
+
telemetry: TELEMETRY,
|
|
2092
|
+
span: "AcceptInformationRequestEvidence",
|
|
2078
2093
|
}));
|
|
2079
2094
|
|
|
2080
2095
|
export type CreateAuditorError = VantaOpError;
|
|
@@ -2090,6 +2105,8 @@ export const createAuditor: API.OperationMethod<
|
|
|
2090
2105
|
errors: [UnknownVantaError],
|
|
2091
2106
|
protocol: VantaProtocol,
|
|
2092
2107
|
retry: Retry.Retry,
|
|
2108
|
+
telemetry: TELEMETRY,
|
|
2109
|
+
span: "CreateAuditor",
|
|
2093
2110
|
}));
|
|
2094
2111
|
|
|
2095
2112
|
export type CreateCommentForAuditEvidenceError = VantaOpError;
|
|
@@ -2105,6 +2122,8 @@ export const createCommentForAuditEvidence: API.OperationMethod<
|
|
|
2105
2122
|
errors: [UnknownVantaError],
|
|
2106
2123
|
protocol: VantaProtocol,
|
|
2107
2124
|
retry: Retry.Retry,
|
|
2125
|
+
telemetry: TELEMETRY,
|
|
2126
|
+
span: "CreateCommentForAuditEvidence",
|
|
2108
2127
|
}));
|
|
2109
2128
|
|
|
2110
2129
|
export type CreateCommentForControlError = VantaOpError;
|
|
@@ -2120,6 +2139,8 @@ export const createCommentForControl: API.OperationMethod<
|
|
|
2120
2139
|
errors: [UnknownVantaError],
|
|
2121
2140
|
protocol: VantaProtocol,
|
|
2122
2141
|
retry: Retry.Retry,
|
|
2142
|
+
telemetry: TELEMETRY,
|
|
2143
|
+
span: "CreateCommentForControl",
|
|
2123
2144
|
}));
|
|
2124
2145
|
|
|
2125
2146
|
export type CreateCommentForInformationRequestError = VantaOpError;
|
|
@@ -2135,6 +2156,8 @@ export const createCommentForInformationRequest: API.OperationMethod<
|
|
|
2135
2156
|
errors: [UnknownVantaError],
|
|
2136
2157
|
protocol: VantaProtocol,
|
|
2137
2158
|
retry: Retry.Retry,
|
|
2159
|
+
telemetry: TELEMETRY,
|
|
2160
|
+
span: "CreateCommentForInformationRequest",
|
|
2138
2161
|
}));
|
|
2139
2162
|
|
|
2140
2163
|
export type CreateCustomControlError = VantaOpError;
|
|
@@ -2150,6 +2173,8 @@ export const createCustomControl: API.OperationMethod<
|
|
|
2150
2173
|
errors: [UnknownVantaError],
|
|
2151
2174
|
protocol: VantaProtocol,
|
|
2152
2175
|
retry: Retry.Retry,
|
|
2176
|
+
telemetry: TELEMETRY,
|
|
2177
|
+
span: "CreateCustomControl",
|
|
2153
2178
|
}));
|
|
2154
2179
|
|
|
2155
2180
|
export type CreateCustomEvidenceRequestError = VantaOpError;
|
|
@@ -2165,6 +2190,8 @@ export const createCustomEvidenceRequest: API.OperationMethod<
|
|
|
2165
2190
|
errors: [UnknownVantaError],
|
|
2166
2191
|
protocol: VantaProtocol,
|
|
2167
2192
|
retry: Retry.Retry,
|
|
2193
|
+
telemetry: TELEMETRY,
|
|
2194
|
+
span: "CreateCustomEvidenceRequest",
|
|
2168
2195
|
}));
|
|
2169
2196
|
|
|
2170
2197
|
export type CreateInformationRequestError = VantaOpError;
|
|
@@ -2180,6 +2207,8 @@ export const createInformationRequest: API.OperationMethod<
|
|
|
2180
2207
|
errors: [UnknownVantaError],
|
|
2181
2208
|
protocol: VantaProtocol,
|
|
2182
2209
|
retry: Retry.Retry,
|
|
2210
|
+
telemetry: TELEMETRY,
|
|
2211
|
+
span: "CreateInformationRequest",
|
|
2183
2212
|
}));
|
|
2184
2213
|
|
|
2185
2214
|
export type DeleteCommentForControlError = VantaOpError;
|
|
@@ -2195,6 +2224,8 @@ export const deleteCommentForControl: API.OperationMethod<
|
|
|
2195
2224
|
errors: [UnknownVantaError],
|
|
2196
2225
|
protocol: VantaProtocol,
|
|
2197
2226
|
retry: Retry.Retry,
|
|
2227
|
+
telemetry: TELEMETRY,
|
|
2228
|
+
span: "DeleteCommentForControl",
|
|
2198
2229
|
}));
|
|
2199
2230
|
|
|
2200
2231
|
export type DeleteCommentForInformationRequestError = VantaOpError;
|
|
@@ -2210,6 +2241,8 @@ export const deleteCommentForInformationRequest: API.OperationMethod<
|
|
|
2210
2241
|
errors: [UnknownVantaError],
|
|
2211
2242
|
protocol: VantaProtocol,
|
|
2212
2243
|
retry: Retry.Retry,
|
|
2244
|
+
telemetry: TELEMETRY,
|
|
2245
|
+
span: "DeleteCommentForInformationRequest",
|
|
2213
2246
|
}));
|
|
2214
2247
|
|
|
2215
2248
|
export type DeleteInformationRequestError = VantaOpError;
|
|
@@ -2225,6 +2258,8 @@ export const deleteInformationRequest: API.OperationMethod<
|
|
|
2225
2258
|
errors: [UnknownVantaError],
|
|
2226
2259
|
protocol: VantaProtocol,
|
|
2227
2260
|
retry: Retry.Retry,
|
|
2261
|
+
telemetry: TELEMETRY,
|
|
2262
|
+
span: "DeleteInformationRequest",
|
|
2228
2263
|
}));
|
|
2229
2264
|
|
|
2230
2265
|
export type DuplicateError = VantaOpError;
|
|
@@ -2240,6 +2275,8 @@ export const duplicate: API.OperationMethod<
|
|
|
2240
2275
|
errors: [UnknownVantaError],
|
|
2241
2276
|
protocol: VantaProtocol,
|
|
2242
2277
|
retry: Retry.Retry,
|
|
2278
|
+
telemetry: TELEMETRY,
|
|
2279
|
+
span: "Duplicate",
|
|
2243
2280
|
}));
|
|
2244
2281
|
|
|
2245
2282
|
export type FlagInformationRequestEvidenceError = VantaOpError;
|
|
@@ -2255,6 +2292,8 @@ export const flagInformationRequestEvidence: API.OperationMethod<
|
|
|
2255
2292
|
errors: [UnknownVantaError],
|
|
2256
2293
|
protocol: VantaProtocol,
|
|
2257
2294
|
retry: Retry.Retry,
|
|
2295
|
+
telemetry: TELEMETRY,
|
|
2296
|
+
span: "FlagInformationRequestEvidence",
|
|
2258
2297
|
}));
|
|
2259
2298
|
|
|
2260
2299
|
export type GetAuditError = VantaOpError;
|
|
@@ -2266,6 +2305,8 @@ export const getAudit: API.OperationMethod<GetAuditRequest, Audit, GetAuditError
|
|
|
2266
2305
|
errors: [UnknownVantaError],
|
|
2267
2306
|
protocol: VantaProtocol,
|
|
2268
2307
|
retry: Retry.Retry,
|
|
2308
|
+
telemetry: TELEMETRY,
|
|
2309
|
+
span: "GetAudit",
|
|
2269
2310
|
}));
|
|
2270
2311
|
|
|
2271
2312
|
export type GetAuditEvidenceError = VantaOpError;
|
|
@@ -2281,6 +2322,8 @@ export const getAuditEvidence: API.OperationMethod<
|
|
|
2281
2322
|
errors: [UnknownVantaError],
|
|
2282
2323
|
protocol: VantaProtocol,
|
|
2283
2324
|
retry: Retry.Retry,
|
|
2325
|
+
telemetry: TELEMETRY,
|
|
2326
|
+
span: "GetAuditEvidence",
|
|
2284
2327
|
}));
|
|
2285
2328
|
|
|
2286
2329
|
export type GetAuditEvidenceCommentError = VantaOpError;
|
|
@@ -2296,6 +2339,8 @@ export const getAuditEvidenceComment: API.OperationMethod<
|
|
|
2296
2339
|
errors: [UnknownVantaError],
|
|
2297
2340
|
protocol: VantaProtocol,
|
|
2298
2341
|
retry: Retry.Retry,
|
|
2342
|
+
telemetry: TELEMETRY,
|
|
2343
|
+
span: "GetAuditEvidenceComment",
|
|
2299
2344
|
}));
|
|
2300
2345
|
|
|
2301
2346
|
export type GetCommentForInformationRequestError = VantaOpError;
|
|
@@ -2311,6 +2356,8 @@ export const getCommentForInformationRequest: API.OperationMethod<
|
|
|
2311
2356
|
errors: [UnknownVantaError],
|
|
2312
2357
|
protocol: VantaProtocol,
|
|
2313
2358
|
retry: Retry.Retry,
|
|
2359
|
+
telemetry: TELEMETRY,
|
|
2360
|
+
span: "GetCommentForInformationRequest",
|
|
2314
2361
|
}));
|
|
2315
2362
|
|
|
2316
2363
|
export type GetFrameworkCodesError = VantaOpError;
|
|
@@ -2326,6 +2373,8 @@ export const getFrameworkCodes: API.OperationMethod<
|
|
|
2326
2373
|
errors: [UnknownVantaError],
|
|
2327
2374
|
protocol: VantaProtocol,
|
|
2328
2375
|
retry: Retry.Retry,
|
|
2376
|
+
telemetry: TELEMETRY,
|
|
2377
|
+
span: "GetFrameworkCodes",
|
|
2329
2378
|
}));
|
|
2330
2379
|
|
|
2331
2380
|
export type GetInformationRequestError = VantaOpError;
|
|
@@ -2341,6 +2390,8 @@ export const getInformationRequest: API.OperationMethod<
|
|
|
2341
2390
|
errors: [UnknownVantaError],
|
|
2342
2391
|
protocol: VantaProtocol,
|
|
2343
2392
|
retry: Retry.Retry,
|
|
2393
|
+
telemetry: TELEMETRY,
|
|
2394
|
+
span: "GetInformationRequest",
|
|
2344
2395
|
}));
|
|
2345
2396
|
|
|
2346
2397
|
export type GetInformationRequestEvidenceError = VantaOpError;
|
|
@@ -2356,6 +2407,8 @@ export const getInformationRequestEvidence: API.OperationMethod<
|
|
|
2356
2407
|
errors: [UnknownVantaError],
|
|
2357
2408
|
protocol: VantaProtocol,
|
|
2358
2409
|
retry: Retry.Retry,
|
|
2410
|
+
telemetry: TELEMETRY,
|
|
2411
|
+
span: "GetInformationRequestEvidence",
|
|
2359
2412
|
}));
|
|
2360
2413
|
|
|
2361
2414
|
export type GetInformationRequestTestSnapshotEvidenceDetailError = VantaOpError;
|
|
@@ -2375,6 +2428,8 @@ export const getInformationRequestTestSnapshotEvidenceDetail: API.OperationMetho
|
|
|
2375
2428
|
errors: [UnknownVantaError],
|
|
2376
2429
|
protocol: VantaProtocol,
|
|
2377
2430
|
retry: Retry.Retry,
|
|
2431
|
+
telemetry: TELEMETRY,
|
|
2432
|
+
span: "GetInformationRequestTestSnapshotEvidenceDetail",
|
|
2378
2433
|
}));
|
|
2379
2434
|
|
|
2380
2435
|
export type GetOrganizationInformationError = VantaOpError;
|
|
@@ -2390,6 +2445,8 @@ export const getOrganizationInformation: API.OperationMethod<
|
|
|
2390
2445
|
errors: [UnknownVantaError],
|
|
2391
2446
|
protocol: VantaProtocol,
|
|
2392
2447
|
retry: Retry.Retry,
|
|
2448
|
+
telemetry: TELEMETRY,
|
|
2449
|
+
span: "GetOrganizationInformation",
|
|
2393
2450
|
}));
|
|
2394
2451
|
|
|
2395
2452
|
export type GetOrganizationNotificationsError = VantaOpError;
|
|
@@ -2405,6 +2462,8 @@ export const getOrganizationNotifications: API.OperationMethod<
|
|
|
2405
2462
|
errors: [UnknownVantaError],
|
|
2406
2463
|
protocol: VantaProtocol,
|
|
2407
2464
|
retry: Retry.Retry,
|
|
2465
|
+
telemetry: TELEMETRY,
|
|
2466
|
+
span: "GetOrganizationNotifications",
|
|
2408
2467
|
}));
|
|
2409
2468
|
|
|
2410
2469
|
export type ListAccountAccessServicesError = VantaOpError;
|
|
@@ -2420,6 +2479,8 @@ export const listAccountAccessServices: API.OperationMethod<
|
|
|
2420
2479
|
errors: [UnknownVantaError],
|
|
2421
2480
|
protocol: VantaProtocol,
|
|
2422
2481
|
retry: Retry.Retry,
|
|
2482
|
+
telemetry: TELEMETRY,
|
|
2483
|
+
span: "ListAccountAccessServices",
|
|
2423
2484
|
}));
|
|
2424
2485
|
|
|
2425
2486
|
export type ListAuditCommentsError = VantaOpError;
|
|
@@ -2435,6 +2496,8 @@ export const listAuditComments: API.OperationMethod<
|
|
|
2435
2496
|
errors: [UnknownVantaError],
|
|
2436
2497
|
protocol: VantaProtocol,
|
|
2437
2498
|
retry: Retry.Retry,
|
|
2499
|
+
telemetry: TELEMETRY,
|
|
2500
|
+
span: "ListAuditComments",
|
|
2438
2501
|
}));
|
|
2439
2502
|
|
|
2440
2503
|
export type ListAuditControlsError = VantaOpError;
|
|
@@ -2450,6 +2513,8 @@ export const listAuditControls: API.OperationMethod<
|
|
|
2450
2513
|
errors: [UnknownVantaError],
|
|
2451
2514
|
protocol: VantaProtocol,
|
|
2452
2515
|
retry: Retry.Retry,
|
|
2516
|
+
telemetry: TELEMETRY,
|
|
2517
|
+
span: "ListAuditControls",
|
|
2453
2518
|
}));
|
|
2454
2519
|
|
|
2455
2520
|
export type ListAuditEvidenceError = VantaOpError;
|
|
@@ -2465,6 +2530,8 @@ export const listAuditEvidence: API.OperationMethod<
|
|
|
2465
2530
|
errors: [UnknownVantaError],
|
|
2466
2531
|
protocol: VantaProtocol,
|
|
2467
2532
|
retry: Retry.Retry,
|
|
2533
|
+
telemetry: TELEMETRY,
|
|
2534
|
+
span: "ListAuditEvidence",
|
|
2468
2535
|
}));
|
|
2469
2536
|
|
|
2470
2537
|
export type ListAuditEvidenceUrlsError = VantaOpError;
|
|
@@ -2480,6 +2547,8 @@ export const listAuditEvidenceUrls: API.OperationMethod<
|
|
|
2480
2547
|
errors: [UnknownVantaError],
|
|
2481
2548
|
protocol: VantaProtocol,
|
|
2482
2549
|
retry: Retry.Retry,
|
|
2550
|
+
telemetry: TELEMETRY,
|
|
2551
|
+
span: "ListAuditEvidenceUrls",
|
|
2483
2552
|
}));
|
|
2484
2553
|
|
|
2485
2554
|
export type ListAuditIssuesError = VantaOpError;
|
|
@@ -2495,6 +2564,8 @@ export const listAuditIssues: API.OperationMethod<
|
|
|
2495
2564
|
errors: [UnknownVantaError],
|
|
2496
2565
|
protocol: VantaProtocol,
|
|
2497
2566
|
retry: Retry.Retry,
|
|
2567
|
+
telemetry: TELEMETRY,
|
|
2568
|
+
span: "ListAuditIssues",
|
|
2498
2569
|
}));
|
|
2499
2570
|
|
|
2500
2571
|
export type ListAuditRisksError = VantaOpError;
|
|
@@ -2510,6 +2581,8 @@ export const listAuditRisks: API.OperationMethod<
|
|
|
2510
2581
|
errors: [UnknownVantaError],
|
|
2511
2582
|
protocol: VantaProtocol,
|
|
2512
2583
|
retry: Retry.Retry,
|
|
2584
|
+
telemetry: TELEMETRY,
|
|
2585
|
+
span: "ListAuditRisks",
|
|
2513
2586
|
}));
|
|
2514
2587
|
|
|
2515
2588
|
export type ListAuditsError = VantaOpError;
|
|
@@ -2525,6 +2598,8 @@ export const listAudits: API.OperationMethod<
|
|
|
2525
2598
|
errors: [UnknownVantaError],
|
|
2526
2599
|
protocol: VantaProtocol,
|
|
2527
2600
|
retry: Retry.Retry,
|
|
2601
|
+
telemetry: TELEMETRY,
|
|
2602
|
+
span: "ListAudits",
|
|
2528
2603
|
}));
|
|
2529
2604
|
|
|
2530
2605
|
export type ListAuditSnapshotsError = VantaOpError;
|
|
@@ -2540,6 +2615,8 @@ export const listAuditSnapshots: API.OperationMethod<
|
|
|
2540
2615
|
errors: [UnknownVantaError],
|
|
2541
2616
|
protocol: VantaProtocol,
|
|
2542
2617
|
retry: Retry.Retry,
|
|
2618
|
+
telemetry: TELEMETRY,
|
|
2619
|
+
span: "ListAuditSnapshots",
|
|
2543
2620
|
}));
|
|
2544
2621
|
|
|
2545
2622
|
export type ListCodeChangesError = VantaOpError;
|
|
@@ -2555,6 +2632,8 @@ export const listCodeChanges: API.OperationMethod<
|
|
|
2555
2632
|
errors: [UnknownVantaError],
|
|
2556
2633
|
protocol: VantaProtocol,
|
|
2557
2634
|
retry: Retry.Retry,
|
|
2635
|
+
telemetry: TELEMETRY,
|
|
2636
|
+
span: "ListCodeChanges",
|
|
2558
2637
|
}));
|
|
2559
2638
|
|
|
2560
2639
|
export type ListCommentsForControlError = VantaOpError;
|
|
@@ -2570,6 +2649,8 @@ export const listCommentsForControl: API.OperationMethod<
|
|
|
2570
2649
|
errors: [UnknownVantaError],
|
|
2571
2650
|
protocol: VantaProtocol,
|
|
2572
2651
|
retry: Retry.Retry,
|
|
2652
|
+
telemetry: TELEMETRY,
|
|
2653
|
+
span: "ListCommentsForControl",
|
|
2573
2654
|
}));
|
|
2574
2655
|
|
|
2575
2656
|
export type ListCommentsForInformationRequestError = VantaOpError;
|
|
@@ -2585,6 +2666,8 @@ export const listCommentsForInformationRequest: API.OperationMethod<
|
|
|
2585
2666
|
errors: [UnknownVantaError],
|
|
2586
2667
|
protocol: VantaProtocol,
|
|
2587
2668
|
retry: Retry.Retry,
|
|
2669
|
+
telemetry: TELEMETRY,
|
|
2670
|
+
span: "ListCommentsForInformationRequest",
|
|
2588
2671
|
}));
|
|
2589
2672
|
|
|
2590
2673
|
export type ListInformationRequestActivityError = VantaOpError;
|
|
@@ -2600,6 +2683,8 @@ export const listInformationRequestActivity: API.OperationMethod<
|
|
|
2600
2683
|
errors: [UnknownVantaError],
|
|
2601
2684
|
protocol: VantaProtocol,
|
|
2602
2685
|
retry: Retry.Retry,
|
|
2686
|
+
telemetry: TELEMETRY,
|
|
2687
|
+
span: "ListInformationRequestActivity",
|
|
2603
2688
|
}));
|
|
2604
2689
|
|
|
2605
2690
|
export type ListInformationRequestEvidenceError = VantaOpError;
|
|
@@ -2615,6 +2700,8 @@ export const listInformationRequestEvidence: API.OperationMethod<
|
|
|
2615
2700
|
errors: [UnknownVantaError],
|
|
2616
2701
|
protocol: VantaProtocol,
|
|
2617
2702
|
retry: Retry.Retry,
|
|
2703
|
+
telemetry: TELEMETRY,
|
|
2704
|
+
span: "ListInformationRequestEvidence",
|
|
2618
2705
|
}));
|
|
2619
2706
|
|
|
2620
2707
|
export type ListInformationRequestsError = VantaOpError;
|
|
@@ -2630,6 +2717,8 @@ export const listInformationRequests: API.OperationMethod<
|
|
|
2630
2717
|
errors: [UnknownVantaError],
|
|
2631
2718
|
protocol: VantaProtocol,
|
|
2632
2719
|
retry: Retry.Retry,
|
|
2720
|
+
telemetry: TELEMETRY,
|
|
2721
|
+
span: "ListInformationRequests",
|
|
2633
2722
|
}));
|
|
2634
2723
|
|
|
2635
2724
|
export type ListInformationRequestsForControlError = VantaOpError;
|
|
@@ -2645,6 +2734,8 @@ export const listInformationRequestsForControl: API.OperationMethod<
|
|
|
2645
2734
|
errors: [UnknownVantaError],
|
|
2646
2735
|
protocol: VantaProtocol,
|
|
2647
2736
|
retry: Retry.Retry,
|
|
2737
|
+
telemetry: TELEMETRY,
|
|
2738
|
+
span: "ListInformationRequestsForControl",
|
|
2648
2739
|
}));
|
|
2649
2740
|
|
|
2650
2741
|
export type ListIntegrationsError = VantaOpError;
|
|
@@ -2660,6 +2751,8 @@ export const listIntegrations: API.OperationMethod<
|
|
|
2660
2751
|
errors: [UnknownVantaError],
|
|
2661
2752
|
protocol: VantaProtocol,
|
|
2662
2753
|
retry: Retry.Retry,
|
|
2754
|
+
telemetry: TELEMETRY,
|
|
2755
|
+
span: "ListIntegrations",
|
|
2663
2756
|
}));
|
|
2664
2757
|
|
|
2665
2758
|
export type ListPersonnelAccountAccessError = VantaOpError;
|
|
@@ -2675,6 +2768,8 @@ export const listPersonnelAccountAccess: API.OperationMethod<
|
|
|
2675
2768
|
errors: [UnknownVantaError],
|
|
2676
2769
|
protocol: VantaProtocol,
|
|
2677
2770
|
retry: Retry.Retry,
|
|
2771
|
+
telemetry: TELEMETRY,
|
|
2772
|
+
span: "ListPersonnelAccountAccess",
|
|
2678
2773
|
}));
|
|
2679
2774
|
|
|
2680
2775
|
export type ListPersonnelGroupsError = VantaOpError;
|
|
@@ -2690,6 +2785,8 @@ export const listPersonnelGroups: API.OperationMethod<
|
|
|
2690
2785
|
errors: [UnknownVantaError],
|
|
2691
2786
|
protocol: VantaProtocol,
|
|
2692
2787
|
retry: Retry.Retry,
|
|
2788
|
+
telemetry: TELEMETRY,
|
|
2789
|
+
span: "ListPersonnelGroups",
|
|
2693
2790
|
}));
|
|
2694
2791
|
|
|
2695
2792
|
export type ListPersonnelPeopleError = VantaOpError;
|
|
@@ -2705,6 +2802,8 @@ export const listPersonnelPeople: API.OperationMethod<
|
|
|
2705
2802
|
errors: [UnknownVantaError],
|
|
2706
2803
|
protocol: VantaProtocol,
|
|
2707
2804
|
retry: Retry.Retry,
|
|
2805
|
+
telemetry: TELEMETRY,
|
|
2806
|
+
span: "ListPersonnelPeople",
|
|
2708
2807
|
}));
|
|
2709
2808
|
|
|
2710
2809
|
export type ListRiskSnapshotsError = VantaOpError;
|
|
@@ -2720,6 +2819,8 @@ export const listRiskSnapshots: API.OperationMethod<
|
|
|
2720
2819
|
errors: [UnknownVantaError],
|
|
2721
2820
|
protocol: VantaProtocol,
|
|
2722
2821
|
retry: Retry.Retry,
|
|
2822
|
+
telemetry: TELEMETRY,
|
|
2823
|
+
span: "ListRiskSnapshots",
|
|
2723
2824
|
}));
|
|
2724
2825
|
|
|
2725
2826
|
export type ListShareInformationRequestError = VantaOpError;
|
|
@@ -2735,6 +2836,8 @@ export const listShareInformationRequest: API.OperationMethod<
|
|
|
2735
2836
|
errors: [UnknownVantaError],
|
|
2736
2837
|
protocol: VantaProtocol,
|
|
2737
2838
|
retry: Retry.Retry,
|
|
2839
|
+
telemetry: TELEMETRY,
|
|
2840
|
+
span: "ListShareInformationRequest",
|
|
2738
2841
|
}));
|
|
2739
2842
|
|
|
2740
2843
|
export type ListVendorsError = VantaOpError;
|
|
@@ -2750,6 +2853,8 @@ export const listVendors: API.OperationMethod<
|
|
|
2750
2853
|
errors: [UnknownVantaError],
|
|
2751
2854
|
protocol: VantaProtocol,
|
|
2752
2855
|
retry: Retry.Retry,
|
|
2856
|
+
telemetry: TELEMETRY,
|
|
2857
|
+
span: "ListVendors",
|
|
2753
2858
|
}));
|
|
2754
2859
|
|
|
2755
2860
|
export type UpdateAuditEvidenceError = VantaOpError;
|
|
@@ -2765,6 +2870,8 @@ export const updateAuditEvidence: API.OperationMethod<
|
|
|
2765
2870
|
errors: [UnknownVantaError],
|
|
2766
2871
|
protocol: VantaProtocol,
|
|
2767
2872
|
retry: Retry.Retry,
|
|
2873
|
+
telemetry: TELEMETRY,
|
|
2874
|
+
span: "UpdateAuditEvidence",
|
|
2768
2875
|
}));
|
|
2769
2876
|
|
|
2770
2877
|
export type UpdateCommentForControlError = VantaOpError;
|
|
@@ -2780,6 +2887,8 @@ export const updateCommentForControl: API.OperationMethod<
|
|
|
2780
2887
|
errors: [UnknownVantaError],
|
|
2781
2888
|
protocol: VantaProtocol,
|
|
2782
2889
|
retry: Retry.Retry,
|
|
2890
|
+
telemetry: TELEMETRY,
|
|
2891
|
+
span: "UpdateCommentForControl",
|
|
2783
2892
|
}));
|
|
2784
2893
|
|
|
2785
2894
|
export type UpdateCommentForInformationRequestError = VantaOpError;
|
|
@@ -2795,6 +2904,8 @@ export const updateCommentForInformationRequest: API.OperationMethod<
|
|
|
2795
2904
|
errors: [UnknownVantaError],
|
|
2796
2905
|
protocol: VantaProtocol,
|
|
2797
2906
|
retry: Retry.Retry,
|
|
2907
|
+
telemetry: TELEMETRY,
|
|
2908
|
+
span: "UpdateCommentForInformationRequest",
|
|
2798
2909
|
}));
|
|
2799
2910
|
|
|
2800
2911
|
export type UpdateInformationRequestError = VantaOpError;
|
|
@@ -2810,6 +2921,8 @@ export const updateInformationRequest: API.OperationMethod<
|
|
|
2810
2921
|
errors: [UnknownVantaError],
|
|
2811
2922
|
protocol: VantaProtocol,
|
|
2812
2923
|
retry: Retry.Retry,
|
|
2924
|
+
telemetry: TELEMETRY,
|
|
2925
|
+
span: "UpdateInformationRequest",
|
|
2813
2926
|
}));
|
|
2814
2927
|
|
|
2815
2928
|
export type UpsertAssessmentForControlError = VantaOpError;
|
|
@@ -2825,6 +2938,8 @@ export const upsertAssessmentForControl: API.OperationMethod<
|
|
|
2825
2938
|
errors: [UnknownVantaError],
|
|
2826
2939
|
protocol: VantaProtocol,
|
|
2827
2940
|
retry: Retry.Retry,
|
|
2941
|
+
telemetry: TELEMETRY,
|
|
2942
|
+
span: "UpsertAssessmentForControl",
|
|
2828
2943
|
}));
|
|
2829
2944
|
|
|
2830
2945
|
// Schema builders: each runs one schema initializer, on that schema's first use.
|