@distilled.cloud/vanta 0.0.0 → 1.0.0-rc.9
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/LICENSE +201 -0
- package/lib/credentials.d.ts +33 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +39 -0
- package/lib/credentials.js.map +1 -0
- package/lib/errors.d.ts +36 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +26 -0
- package/lib/errors.js.map +1 -0
- package/lib/index.d.ts +22 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +22 -0
- package/lib/index.js.map +1 -0
- package/lib/pagination.d.ts +8 -0
- package/lib/pagination.d.ts.map +1 -0
- package/lib/pagination.js +8 -0
- package/lib/pagination.js.map +1 -0
- package/lib/protocol.d.ts +18 -0
- package/lib/protocol.d.ts.map +1 -0
- package/lib/protocol.js +44 -0
- package/lib/protocol.js.map +1 -0
- package/lib/retry.d.ts +32 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +32 -0
- package/lib/retry.js.map +1 -0
- package/lib/services/auditor_api.d.ts +2239 -0
- package/lib/services/auditor_api.d.ts.map +1 -0
- package/lib/services/auditor_api.js +2106 -0
- package/lib/services/auditor_api.js.map +1 -0
- package/lib/services/build_integrations.d.ts +1537 -0
- package/lib/services/build_integrations.d.ts.map +1 -0
- package/lib/services/build_integrations.js +1365 -0
- package/lib/services/build_integrations.js.map +1 -0
- package/lib/services/index.d.ts +5 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/index.js +6 -0
- package/lib/services/index.js.map +1 -0
- package/lib/services/manage_vanta.d.ts +7087 -0
- package/lib/services/manage_vanta.d.ts.map +1 -0
- package/lib/services/manage_vanta.js +7569 -0
- package/lib/services/manage_vanta.js.map +1 -0
- package/lib/services/webhooks.d.ts +474 -0
- package/lib/services/webhooks.d.ts.map +1 -0
- package/lib/services/webhooks.js +639 -0
- package/lib/services/webhooks.js.map +1 -0
- package/lib/traits.d.ts +11 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +11 -0
- package/lib/traits.js.map +1 -0
- package/package.json +77 -6
- package/src/credentials.ts +62 -0
- package/src/errors.ts +50 -0
- package/src/index.ts +25 -0
- package/src/pagination.ts +7 -0
- package/src/protocol.ts +67 -0
- package/src/retry.ts +54 -0
- package/src/services/auditor_api.ts +5479 -0
- package/src/services/build_integrations.ts +3788 -0
- package/src/services/index.ts +5 -0
- package/src/services/manage_vanta.ts +18850 -0
- package/src/services/webhooks.ts +1460 -0
- package/src/traits.ts +44 -0
|
@@ -0,0 +1,1460 @@
|
|
|
1
|
+
// AUTO-GENERATED by scripts/generate.ts from .generated-specs (specs/spec-mirror-vanta). Do not edit.
|
|
2
|
+
import * as S from "@distilled.cloud/core/schema";
|
|
3
|
+
import * as API from "@distilled.cloud/core/api";
|
|
4
|
+
import * as T from "../traits.ts";
|
|
5
|
+
import {
|
|
6
|
+
VantaProtocol,
|
|
7
|
+
type VantaOpError,
|
|
8
|
+
type VantaOpContext,
|
|
9
|
+
} from "../protocol.ts";
|
|
10
|
+
import { UnknownVantaError } from "../errors.ts";
|
|
11
|
+
import * as Retry from "../retry.ts";
|
|
12
|
+
|
|
13
|
+
export type { VantaOpError, VantaOpContext };
|
|
14
|
+
|
|
15
|
+
export interface V1ControlCommentCreatedRequestControl {
|
|
16
|
+
/** The unique identifier of the control the comment was added to. */
|
|
17
|
+
id: string;
|
|
18
|
+
/** The unique identifier of the audit the control belongs to. */
|
|
19
|
+
auditId: string;
|
|
20
|
+
}
|
|
21
|
+
export const V1ControlCommentCreatedRequestControl = /*@__PURE__*/ S.suspend(
|
|
22
|
+
() =>
|
|
23
|
+
S.Struct({
|
|
24
|
+
id: S.String,
|
|
25
|
+
auditId: S.String,
|
|
26
|
+
}),
|
|
27
|
+
).annotate({
|
|
28
|
+
identifier: "V1ControlCommentCreatedRequestControl",
|
|
29
|
+
}) as any as S.Schema<V1ControlCommentCreatedRequestControl>;
|
|
30
|
+
|
|
31
|
+
export interface V1ControlCommentCreatedRequestComment {
|
|
32
|
+
/** The unique identifier of the comment. */
|
|
33
|
+
id: string;
|
|
34
|
+
}
|
|
35
|
+
export const V1ControlCommentCreatedRequestComment = /*@__PURE__*/ S.suspend(
|
|
36
|
+
() =>
|
|
37
|
+
S.Struct({
|
|
38
|
+
id: S.String,
|
|
39
|
+
}),
|
|
40
|
+
).annotate({
|
|
41
|
+
identifier: "V1ControlCommentCreatedRequestComment",
|
|
42
|
+
}) as any as S.Schema<V1ControlCommentCreatedRequestComment>;
|
|
43
|
+
|
|
44
|
+
export interface V1ControlCommentCreatedRequest {
|
|
45
|
+
control: V1ControlCommentCreatedRequestControl;
|
|
46
|
+
comment: V1ControlCommentCreatedRequestComment;
|
|
47
|
+
}
|
|
48
|
+
export const V1ControlCommentCreatedRequest = /*@__PURE__*/ S.suspend(() =>
|
|
49
|
+
S.Struct({
|
|
50
|
+
control: V1ControlCommentCreatedRequestControl,
|
|
51
|
+
comment: V1ControlCommentCreatedRequestComment,
|
|
52
|
+
}).pipe(
|
|
53
|
+
T.Http({ method: "POST", uri: "/v1.control.comment.created", code: 200 }),
|
|
54
|
+
),
|
|
55
|
+
).annotate({
|
|
56
|
+
identifier: "V1ControlCommentCreatedRequest",
|
|
57
|
+
}) as any as S.Schema<V1ControlCommentCreatedRequest>;
|
|
58
|
+
|
|
59
|
+
export interface V1ControlCommentCreatedResponse {}
|
|
60
|
+
export const V1ControlCommentCreatedResponse = /*@__PURE__*/ S.suspend(() =>
|
|
61
|
+
S.Struct({}),
|
|
62
|
+
).annotate({
|
|
63
|
+
identifier: "V1ControlCommentCreatedResponse",
|
|
64
|
+
}) as any as S.Schema<V1ControlCommentCreatedResponse>;
|
|
65
|
+
|
|
66
|
+
export interface V1ControlCommentDeletedRequestControl {
|
|
67
|
+
/** The unique identifier of the control the comment was deleted from. */
|
|
68
|
+
id: string;
|
|
69
|
+
/** The unique identifier of the audit the control belongs to. */
|
|
70
|
+
auditId: string;
|
|
71
|
+
}
|
|
72
|
+
export const V1ControlCommentDeletedRequestControl = /*@__PURE__*/ S.suspend(
|
|
73
|
+
() =>
|
|
74
|
+
S.Struct({
|
|
75
|
+
id: S.String,
|
|
76
|
+
auditId: S.String,
|
|
77
|
+
}),
|
|
78
|
+
).annotate({
|
|
79
|
+
identifier: "V1ControlCommentDeletedRequestControl",
|
|
80
|
+
}) as any as S.Schema<V1ControlCommentDeletedRequestControl>;
|
|
81
|
+
|
|
82
|
+
export type V1ControlCommentDeletedRequestComment =
|
|
83
|
+
V1ControlCommentCreatedRequestComment;
|
|
84
|
+
export const V1ControlCommentDeletedRequestComment =
|
|
85
|
+
V1ControlCommentCreatedRequestComment;
|
|
86
|
+
|
|
87
|
+
export interface V1ControlCommentDeletedRequest {
|
|
88
|
+
control: V1ControlCommentDeletedRequestControl;
|
|
89
|
+
comment: V1ControlCommentCreatedRequestComment;
|
|
90
|
+
}
|
|
91
|
+
export const V1ControlCommentDeletedRequest = /*@__PURE__*/ S.suspend(() =>
|
|
92
|
+
S.Struct({
|
|
93
|
+
control: V1ControlCommentDeletedRequestControl,
|
|
94
|
+
comment: V1ControlCommentCreatedRequestComment,
|
|
95
|
+
}).pipe(
|
|
96
|
+
T.Http({ method: "POST", uri: "/v1.control.comment.deleted", code: 200 }),
|
|
97
|
+
),
|
|
98
|
+
).annotate({
|
|
99
|
+
identifier: "V1ControlCommentDeletedRequest",
|
|
100
|
+
}) as any as S.Schema<V1ControlCommentDeletedRequest>;
|
|
101
|
+
|
|
102
|
+
export interface V1ControlCommentDeletedResponse {}
|
|
103
|
+
export const V1ControlCommentDeletedResponse = /*@__PURE__*/ S.suspend(() =>
|
|
104
|
+
S.Struct({}),
|
|
105
|
+
).annotate({
|
|
106
|
+
identifier: "V1ControlCommentDeletedResponse",
|
|
107
|
+
}) as any as S.Schema<V1ControlCommentDeletedResponse>;
|
|
108
|
+
|
|
109
|
+
export interface V1ControlCommentUpdatedRequestControl {
|
|
110
|
+
/** The unique identifier of the control the comment belongs to. */
|
|
111
|
+
id: string;
|
|
112
|
+
/** The unique identifier of the audit the control belongs to. */
|
|
113
|
+
auditId: string;
|
|
114
|
+
}
|
|
115
|
+
export const V1ControlCommentUpdatedRequestControl = /*@__PURE__*/ S.suspend(
|
|
116
|
+
() =>
|
|
117
|
+
S.Struct({
|
|
118
|
+
id: S.String,
|
|
119
|
+
auditId: S.String,
|
|
120
|
+
}),
|
|
121
|
+
).annotate({
|
|
122
|
+
identifier: "V1ControlCommentUpdatedRequestControl",
|
|
123
|
+
}) as any as S.Schema<V1ControlCommentUpdatedRequestControl>;
|
|
124
|
+
|
|
125
|
+
export type V1ControlCommentUpdatedRequestComment =
|
|
126
|
+
V1ControlCommentCreatedRequestComment;
|
|
127
|
+
export const V1ControlCommentUpdatedRequestComment =
|
|
128
|
+
V1ControlCommentCreatedRequestComment;
|
|
129
|
+
|
|
130
|
+
export interface V1ControlCommentUpdatedRequest {
|
|
131
|
+
control: V1ControlCommentUpdatedRequestControl;
|
|
132
|
+
comment: V1ControlCommentCreatedRequestComment;
|
|
133
|
+
}
|
|
134
|
+
export const V1ControlCommentUpdatedRequest = /*@__PURE__*/ S.suspend(() =>
|
|
135
|
+
S.Struct({
|
|
136
|
+
control: V1ControlCommentUpdatedRequestControl,
|
|
137
|
+
comment: V1ControlCommentCreatedRequestComment,
|
|
138
|
+
}).pipe(
|
|
139
|
+
T.Http({ method: "POST", uri: "/v1.control.comment.updated", code: 200 }),
|
|
140
|
+
),
|
|
141
|
+
).annotate({
|
|
142
|
+
identifier: "V1ControlCommentUpdatedRequest",
|
|
143
|
+
}) as any as S.Schema<V1ControlCommentUpdatedRequest>;
|
|
144
|
+
|
|
145
|
+
export interface V1ControlCommentUpdatedResponse {}
|
|
146
|
+
export const V1ControlCommentUpdatedResponse = /*@__PURE__*/ S.suspend(() =>
|
|
147
|
+
S.Struct({}),
|
|
148
|
+
).annotate({
|
|
149
|
+
identifier: "V1ControlCommentUpdatedResponse",
|
|
150
|
+
}) as any as S.Schema<V1ControlCommentUpdatedResponse>;
|
|
151
|
+
|
|
152
|
+
export interface V1EvidenceCommentCreatedRequestEvidence {
|
|
153
|
+
/** The unique identifier of the evidence. */
|
|
154
|
+
id: string;
|
|
155
|
+
/** The unique identifier of the audit the evidence belongs to. */
|
|
156
|
+
auditId: string;
|
|
157
|
+
}
|
|
158
|
+
export const V1EvidenceCommentCreatedRequestEvidence = /*@__PURE__*/ S.suspend(
|
|
159
|
+
() =>
|
|
160
|
+
S.Struct({
|
|
161
|
+
id: S.String,
|
|
162
|
+
auditId: S.String,
|
|
163
|
+
}),
|
|
164
|
+
).annotate({
|
|
165
|
+
identifier: "V1EvidenceCommentCreatedRequestEvidence",
|
|
166
|
+
}) as any as S.Schema<V1EvidenceCommentCreatedRequestEvidence>;
|
|
167
|
+
|
|
168
|
+
export type V1EvidenceCommentCreatedRequestComment =
|
|
169
|
+
V1ControlCommentCreatedRequestComment;
|
|
170
|
+
export const V1EvidenceCommentCreatedRequestComment =
|
|
171
|
+
V1ControlCommentCreatedRequestComment;
|
|
172
|
+
|
|
173
|
+
export interface V1EvidenceCommentCreatedRequest {
|
|
174
|
+
evidence: V1EvidenceCommentCreatedRequestEvidence;
|
|
175
|
+
comment: V1ControlCommentCreatedRequestComment;
|
|
176
|
+
}
|
|
177
|
+
export const V1EvidenceCommentCreatedRequest = /*@__PURE__*/ S.suspend(() =>
|
|
178
|
+
S.Struct({
|
|
179
|
+
evidence: V1EvidenceCommentCreatedRequestEvidence,
|
|
180
|
+
comment: V1ControlCommentCreatedRequestComment,
|
|
181
|
+
}).pipe(
|
|
182
|
+
T.Http({ method: "POST", uri: "/v1.evidence.comment.created", code: 200 }),
|
|
183
|
+
),
|
|
184
|
+
).annotate({
|
|
185
|
+
identifier: "V1EvidenceCommentCreatedRequest",
|
|
186
|
+
}) as any as S.Schema<V1EvidenceCommentCreatedRequest>;
|
|
187
|
+
|
|
188
|
+
export interface V1EvidenceCommentCreatedResponse {}
|
|
189
|
+
export const V1EvidenceCommentCreatedResponse = /*@__PURE__*/ S.suspend(() =>
|
|
190
|
+
S.Struct({}),
|
|
191
|
+
).annotate({
|
|
192
|
+
identifier: "V1EvidenceCommentCreatedResponse",
|
|
193
|
+
}) as any as S.Schema<V1EvidenceCommentCreatedResponse>;
|
|
194
|
+
|
|
195
|
+
export type V1EvidenceCommentDeletedRequestEvidence =
|
|
196
|
+
V1EvidenceCommentCreatedRequestEvidence;
|
|
197
|
+
export const V1EvidenceCommentDeletedRequestEvidence =
|
|
198
|
+
V1EvidenceCommentCreatedRequestEvidence;
|
|
199
|
+
|
|
200
|
+
export type V1EvidenceCommentDeletedRequestComment =
|
|
201
|
+
V1ControlCommentCreatedRequestComment;
|
|
202
|
+
export const V1EvidenceCommentDeletedRequestComment =
|
|
203
|
+
V1ControlCommentCreatedRequestComment;
|
|
204
|
+
|
|
205
|
+
export interface V1EvidenceCommentDeletedRequest {
|
|
206
|
+
evidence: V1EvidenceCommentCreatedRequestEvidence;
|
|
207
|
+
comment: V1ControlCommentCreatedRequestComment;
|
|
208
|
+
}
|
|
209
|
+
export const V1EvidenceCommentDeletedRequest = /*@__PURE__*/ S.suspend(() =>
|
|
210
|
+
S.Struct({
|
|
211
|
+
evidence: V1EvidenceCommentCreatedRequestEvidence,
|
|
212
|
+
comment: V1ControlCommentCreatedRequestComment,
|
|
213
|
+
}).pipe(
|
|
214
|
+
T.Http({ method: "POST", uri: "/v1.evidence.comment.deleted", code: 200 }),
|
|
215
|
+
),
|
|
216
|
+
).annotate({
|
|
217
|
+
identifier: "V1EvidenceCommentDeletedRequest",
|
|
218
|
+
}) as any as S.Schema<V1EvidenceCommentDeletedRequest>;
|
|
219
|
+
|
|
220
|
+
export interface V1EvidenceCommentDeletedResponse {}
|
|
221
|
+
export const V1EvidenceCommentDeletedResponse = /*@__PURE__*/ S.suspend(() =>
|
|
222
|
+
S.Struct({}),
|
|
223
|
+
).annotate({
|
|
224
|
+
identifier: "V1EvidenceCommentDeletedResponse",
|
|
225
|
+
}) as any as S.Schema<V1EvidenceCommentDeletedResponse>;
|
|
226
|
+
|
|
227
|
+
export type V1EvidenceCommentUpdatedRequestEvidence =
|
|
228
|
+
V1EvidenceCommentCreatedRequestEvidence;
|
|
229
|
+
export const V1EvidenceCommentUpdatedRequestEvidence =
|
|
230
|
+
V1EvidenceCommentCreatedRequestEvidence;
|
|
231
|
+
|
|
232
|
+
export type V1EvidenceCommentUpdatedRequestComment =
|
|
233
|
+
V1ControlCommentCreatedRequestComment;
|
|
234
|
+
export const V1EvidenceCommentUpdatedRequestComment =
|
|
235
|
+
V1ControlCommentCreatedRequestComment;
|
|
236
|
+
|
|
237
|
+
export interface V1EvidenceCommentUpdatedRequest {
|
|
238
|
+
evidence: V1EvidenceCommentCreatedRequestEvidence;
|
|
239
|
+
comment: V1ControlCommentCreatedRequestComment;
|
|
240
|
+
}
|
|
241
|
+
export const V1EvidenceCommentUpdatedRequest = /*@__PURE__*/ S.suspend(() =>
|
|
242
|
+
S.Struct({
|
|
243
|
+
evidence: V1EvidenceCommentCreatedRequestEvidence,
|
|
244
|
+
comment: V1ControlCommentCreatedRequestComment,
|
|
245
|
+
}).pipe(
|
|
246
|
+
T.Http({ method: "POST", uri: "/v1.evidence.comment.updated", code: 200 }),
|
|
247
|
+
),
|
|
248
|
+
).annotate({
|
|
249
|
+
identifier: "V1EvidenceCommentUpdatedRequest",
|
|
250
|
+
}) as any as S.Schema<V1EvidenceCommentUpdatedRequest>;
|
|
251
|
+
|
|
252
|
+
export interface V1EvidenceCommentUpdatedResponse {}
|
|
253
|
+
export const V1EvidenceCommentUpdatedResponse = /*@__PURE__*/ S.suspend(() =>
|
|
254
|
+
S.Struct({}),
|
|
255
|
+
).annotate({
|
|
256
|
+
identifier: "V1EvidenceCommentUpdatedResponse",
|
|
257
|
+
}) as any as S.Schema<V1EvidenceCommentUpdatedResponse>;
|
|
258
|
+
|
|
259
|
+
/** The evidence item that came into scope for the audit. */
|
|
260
|
+
export type V1EvidenceCreatedRequestEvidence =
|
|
261
|
+
V1EvidenceCommentCreatedRequestEvidence;
|
|
262
|
+
export const V1EvidenceCreatedRequestEvidence =
|
|
263
|
+
V1EvidenceCommentCreatedRequestEvidence;
|
|
264
|
+
|
|
265
|
+
export interface V1EvidenceCreatedRequest {
|
|
266
|
+
/** The evidence item that came into scope for the audit. */
|
|
267
|
+
evidence: V1EvidenceCommentCreatedRequestEvidence;
|
|
268
|
+
}
|
|
269
|
+
export const V1EvidenceCreatedRequest = /*@__PURE__*/ S.suspend(() =>
|
|
270
|
+
S.Struct({
|
|
271
|
+
evidence: V1EvidenceCommentCreatedRequestEvidence,
|
|
272
|
+
}).pipe(T.Http({ method: "POST", uri: "/v1.evidence.created", code: 200 })),
|
|
273
|
+
).annotate({
|
|
274
|
+
identifier: "V1EvidenceCreatedRequest",
|
|
275
|
+
}) as any as S.Schema<V1EvidenceCreatedRequest>;
|
|
276
|
+
|
|
277
|
+
export interface V1EvidenceCreatedResponse {}
|
|
278
|
+
export const V1EvidenceCreatedResponse = /*@__PURE__*/ S.suspend(() =>
|
|
279
|
+
S.Struct({}),
|
|
280
|
+
).annotate({
|
|
281
|
+
identifier: "V1EvidenceCreatedResponse",
|
|
282
|
+
}) as any as S.Schema<V1EvidenceCreatedResponse>;
|
|
283
|
+
|
|
284
|
+
/** The evidence item that left scope for the audit. */
|
|
285
|
+
export type V1EvidenceDeletedRequestEvidence =
|
|
286
|
+
V1EvidenceCommentCreatedRequestEvidence;
|
|
287
|
+
export const V1EvidenceDeletedRequestEvidence =
|
|
288
|
+
V1EvidenceCommentCreatedRequestEvidence;
|
|
289
|
+
|
|
290
|
+
export interface V1EvidenceDeletedRequest {
|
|
291
|
+
/** The evidence item that left scope for the audit. */
|
|
292
|
+
evidence: V1EvidenceCommentCreatedRequestEvidence;
|
|
293
|
+
}
|
|
294
|
+
export const V1EvidenceDeletedRequest = /*@__PURE__*/ S.suspend(() =>
|
|
295
|
+
S.Struct({
|
|
296
|
+
evidence: V1EvidenceCommentCreatedRequestEvidence,
|
|
297
|
+
}).pipe(T.Http({ method: "POST", uri: "/v1.evidence.deleted", code: 200 })),
|
|
298
|
+
).annotate({
|
|
299
|
+
identifier: "V1EvidenceDeletedRequest",
|
|
300
|
+
}) as any as S.Schema<V1EvidenceDeletedRequest>;
|
|
301
|
+
|
|
302
|
+
export interface V1EvidenceDeletedResponse {}
|
|
303
|
+
export const V1EvidenceDeletedResponse = /*@__PURE__*/ S.suspend(() =>
|
|
304
|
+
S.Struct({}),
|
|
305
|
+
).annotate({
|
|
306
|
+
identifier: "V1EvidenceDeletedResponse",
|
|
307
|
+
}) as any as S.Schema<V1EvidenceDeletedResponse>;
|
|
308
|
+
|
|
309
|
+
/** The status the evidence item was in before the change. `INITIALIZED` is an internal status and is never delivered. */
|
|
310
|
+
export type V1EvidenceStatusChangedRequestEvidenceOldStatus =
|
|
311
|
+
| "ACCEPTED"
|
|
312
|
+
| "FLAGGED"
|
|
313
|
+
| "INITIALIZED"
|
|
314
|
+
| "NA"
|
|
315
|
+
| "NOT_READY_FOR_AUDIT"
|
|
316
|
+
| "READY_FOR_AUDIT";
|
|
317
|
+
export const V1EvidenceStatusChangedRequestEvidenceOldStatus =
|
|
318
|
+
/*@__PURE__*/ S.String;
|
|
319
|
+
|
|
320
|
+
/** The status the evidence item is in after the change. A value of `READY_FOR_AUDIT` means the customer has provided evidence for the item and it is ready for the auditor to review. `INITIALIZED` is an internal status and is never delivered. */
|
|
321
|
+
export type V1EvidenceStatusChangedRequestEvidenceNewStatus =
|
|
322
|
+
| "ACCEPTED"
|
|
323
|
+
| "FLAGGED"
|
|
324
|
+
| "INITIALIZED"
|
|
325
|
+
| "NA"
|
|
326
|
+
| "NOT_READY_FOR_AUDIT"
|
|
327
|
+
| "READY_FOR_AUDIT";
|
|
328
|
+
export const V1EvidenceStatusChangedRequestEvidenceNewStatus =
|
|
329
|
+
/*@__PURE__*/ S.String;
|
|
330
|
+
|
|
331
|
+
export interface V1EvidenceStatusChangedRequestEvidence {
|
|
332
|
+
/** The unique identifier of the evidence. */
|
|
333
|
+
id: string;
|
|
334
|
+
/** The unique identifier of the audit the evidence belongs to. */
|
|
335
|
+
auditId: string;
|
|
336
|
+
/** The status the evidence item was in before the change. `INITIALIZED` is an internal status and is never delivered. */
|
|
337
|
+
oldStatus: V1EvidenceStatusChangedRequestEvidenceOldStatus | (string & {});
|
|
338
|
+
/** The status the evidence item is in after the change. A value of `READY_FOR_AUDIT` means the customer has provided evidence for the item and it is ready for the auditor to review. `INITIALIZED` is an internal status and is never delivered. */
|
|
339
|
+
newStatus: V1EvidenceStatusChangedRequestEvidenceNewStatus | (string & {});
|
|
340
|
+
}
|
|
341
|
+
export const V1EvidenceStatusChangedRequestEvidence = /*@__PURE__*/ S.suspend(
|
|
342
|
+
() =>
|
|
343
|
+
S.Struct({
|
|
344
|
+
id: S.String,
|
|
345
|
+
auditId: S.String,
|
|
346
|
+
oldStatus: V1EvidenceStatusChangedRequestEvidenceOldStatus,
|
|
347
|
+
newStatus: V1EvidenceStatusChangedRequestEvidenceNewStatus,
|
|
348
|
+
}),
|
|
349
|
+
).annotate({
|
|
350
|
+
identifier: "V1EvidenceStatusChangedRequestEvidence",
|
|
351
|
+
}) as any as S.Schema<V1EvidenceStatusChangedRequestEvidence>;
|
|
352
|
+
|
|
353
|
+
export interface V1EvidenceStatusChangedRequest {
|
|
354
|
+
evidence: V1EvidenceStatusChangedRequestEvidence;
|
|
355
|
+
}
|
|
356
|
+
export const V1EvidenceStatusChangedRequest = /*@__PURE__*/ S.suspend(() =>
|
|
357
|
+
S.Struct({
|
|
358
|
+
evidence: V1EvidenceStatusChangedRequestEvidence,
|
|
359
|
+
}).pipe(
|
|
360
|
+
T.Http({ method: "POST", uri: "/v1.evidence.status-changed", code: 200 }),
|
|
361
|
+
),
|
|
362
|
+
).annotate({
|
|
363
|
+
identifier: "V1EvidenceStatusChangedRequest",
|
|
364
|
+
}) as any as S.Schema<V1EvidenceStatusChangedRequest>;
|
|
365
|
+
|
|
366
|
+
export interface V1EvidenceStatusChangedResponse {}
|
|
367
|
+
export const V1EvidenceStatusChangedResponse = /*@__PURE__*/ S.suspend(() =>
|
|
368
|
+
S.Struct({}),
|
|
369
|
+
).annotate({
|
|
370
|
+
identifier: "V1EvidenceStatusChangedResponse",
|
|
371
|
+
}) as any as S.Schema<V1EvidenceStatusChangedResponse>;
|
|
372
|
+
|
|
373
|
+
export interface V1InformationRequestCommentCreatedRequestInformationRequest {
|
|
374
|
+
/** The unique identifier of the information request. */
|
|
375
|
+
id: string;
|
|
376
|
+
/** The unique identifier of the audit the information request belongs to. */
|
|
377
|
+
auditId: string;
|
|
378
|
+
}
|
|
379
|
+
export const V1InformationRequestCommentCreatedRequestInformationRequest =
|
|
380
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
381
|
+
S.Struct({
|
|
382
|
+
id: S.String,
|
|
383
|
+
auditId: S.String,
|
|
384
|
+
}),
|
|
385
|
+
).annotate({
|
|
386
|
+
identifier: "V1InformationRequestCommentCreatedRequestInformationRequest",
|
|
387
|
+
}) as any as S.Schema<V1InformationRequestCommentCreatedRequestInformationRequest>;
|
|
388
|
+
|
|
389
|
+
export type V1InformationRequestCommentCreatedRequestComment =
|
|
390
|
+
V1ControlCommentCreatedRequestComment;
|
|
391
|
+
export const V1InformationRequestCommentCreatedRequestComment =
|
|
392
|
+
V1ControlCommentCreatedRequestComment;
|
|
393
|
+
|
|
394
|
+
export interface V1InformationRequestCommentCreatedRequest {
|
|
395
|
+
informationRequest: V1InformationRequestCommentCreatedRequestInformationRequest;
|
|
396
|
+
comment: V1ControlCommentCreatedRequestComment;
|
|
397
|
+
}
|
|
398
|
+
export const V1InformationRequestCommentCreatedRequest =
|
|
399
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
400
|
+
S.Struct({
|
|
401
|
+
informationRequest:
|
|
402
|
+
V1InformationRequestCommentCreatedRequestInformationRequest,
|
|
403
|
+
comment: V1ControlCommentCreatedRequestComment,
|
|
404
|
+
}).pipe(
|
|
405
|
+
T.Http({
|
|
406
|
+
method: "POST",
|
|
407
|
+
uri: "/v1.information-request.comment.created",
|
|
408
|
+
code: 200,
|
|
409
|
+
}),
|
|
410
|
+
),
|
|
411
|
+
).annotate({
|
|
412
|
+
identifier: "V1InformationRequestCommentCreatedRequest",
|
|
413
|
+
}) as any as S.Schema<V1InformationRequestCommentCreatedRequest>;
|
|
414
|
+
|
|
415
|
+
export interface V1InformationRequestCommentCreatedResponse {}
|
|
416
|
+
export const V1InformationRequestCommentCreatedResponse =
|
|
417
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
418
|
+
identifier: "V1InformationRequestCommentCreatedResponse",
|
|
419
|
+
}) as any as S.Schema<V1InformationRequestCommentCreatedResponse>;
|
|
420
|
+
|
|
421
|
+
export type V1InformationRequestCommentDeletedRequestInformationRequest =
|
|
422
|
+
V1InformationRequestCommentCreatedRequestInformationRequest;
|
|
423
|
+
export const V1InformationRequestCommentDeletedRequestInformationRequest =
|
|
424
|
+
V1InformationRequestCommentCreatedRequestInformationRequest;
|
|
425
|
+
|
|
426
|
+
export type V1InformationRequestCommentDeletedRequestComment =
|
|
427
|
+
V1ControlCommentCreatedRequestComment;
|
|
428
|
+
export const V1InformationRequestCommentDeletedRequestComment =
|
|
429
|
+
V1ControlCommentCreatedRequestComment;
|
|
430
|
+
|
|
431
|
+
export interface V1InformationRequestCommentDeletedRequest {
|
|
432
|
+
informationRequest: V1InformationRequestCommentCreatedRequestInformationRequest;
|
|
433
|
+
comment: V1ControlCommentCreatedRequestComment;
|
|
434
|
+
}
|
|
435
|
+
export const V1InformationRequestCommentDeletedRequest =
|
|
436
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
437
|
+
S.Struct({
|
|
438
|
+
informationRequest:
|
|
439
|
+
V1InformationRequestCommentCreatedRequestInformationRequest,
|
|
440
|
+
comment: V1ControlCommentCreatedRequestComment,
|
|
441
|
+
}).pipe(
|
|
442
|
+
T.Http({
|
|
443
|
+
method: "POST",
|
|
444
|
+
uri: "/v1.information-request.comment.deleted",
|
|
445
|
+
code: 200,
|
|
446
|
+
}),
|
|
447
|
+
),
|
|
448
|
+
).annotate({
|
|
449
|
+
identifier: "V1InformationRequestCommentDeletedRequest",
|
|
450
|
+
}) as any as S.Schema<V1InformationRequestCommentDeletedRequest>;
|
|
451
|
+
|
|
452
|
+
export interface V1InformationRequestCommentDeletedResponse {}
|
|
453
|
+
export const V1InformationRequestCommentDeletedResponse =
|
|
454
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
455
|
+
identifier: "V1InformationRequestCommentDeletedResponse",
|
|
456
|
+
}) as any as S.Schema<V1InformationRequestCommentDeletedResponse>;
|
|
457
|
+
|
|
458
|
+
export type V1InformationRequestCommentUpdatedRequestInformationRequest =
|
|
459
|
+
V1InformationRequestCommentCreatedRequestInformationRequest;
|
|
460
|
+
export const V1InformationRequestCommentUpdatedRequestInformationRequest =
|
|
461
|
+
V1InformationRequestCommentCreatedRequestInformationRequest;
|
|
462
|
+
|
|
463
|
+
export type V1InformationRequestCommentUpdatedRequestComment =
|
|
464
|
+
V1ControlCommentCreatedRequestComment;
|
|
465
|
+
export const V1InformationRequestCommentUpdatedRequestComment =
|
|
466
|
+
V1ControlCommentCreatedRequestComment;
|
|
467
|
+
|
|
468
|
+
export interface V1InformationRequestCommentUpdatedRequest {
|
|
469
|
+
informationRequest: V1InformationRequestCommentCreatedRequestInformationRequest;
|
|
470
|
+
comment: V1ControlCommentCreatedRequestComment;
|
|
471
|
+
}
|
|
472
|
+
export const V1InformationRequestCommentUpdatedRequest =
|
|
473
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
474
|
+
S.Struct({
|
|
475
|
+
informationRequest:
|
|
476
|
+
V1InformationRequestCommentCreatedRequestInformationRequest,
|
|
477
|
+
comment: V1ControlCommentCreatedRequestComment,
|
|
478
|
+
}).pipe(
|
|
479
|
+
T.Http({
|
|
480
|
+
method: "POST",
|
|
481
|
+
uri: "/v1.information-request.comment.updated",
|
|
482
|
+
code: 200,
|
|
483
|
+
}),
|
|
484
|
+
),
|
|
485
|
+
).annotate({
|
|
486
|
+
identifier: "V1InformationRequestCommentUpdatedRequest",
|
|
487
|
+
}) as any as S.Schema<V1InformationRequestCommentUpdatedRequest>;
|
|
488
|
+
|
|
489
|
+
export interface V1InformationRequestCommentUpdatedResponse {}
|
|
490
|
+
export const V1InformationRequestCommentUpdatedResponse =
|
|
491
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
492
|
+
identifier: "V1InformationRequestCommentUpdatedResponse",
|
|
493
|
+
}) as any as S.Schema<V1InformationRequestCommentUpdatedResponse>;
|
|
494
|
+
|
|
495
|
+
export type V1InformationRequestEvidenceCreatedRequestInformationRequest =
|
|
496
|
+
V1InformationRequestCommentCreatedRequestInformationRequest;
|
|
497
|
+
export const V1InformationRequestEvidenceCreatedRequestInformationRequest =
|
|
498
|
+
V1InformationRequestCommentCreatedRequestInformationRequest;
|
|
499
|
+
|
|
500
|
+
export interface V1InformationRequestEvidenceCreatedRequestEvidence {
|
|
501
|
+
/** The unique identifier of the evidence. */
|
|
502
|
+
id: string;
|
|
503
|
+
}
|
|
504
|
+
export const V1InformationRequestEvidenceCreatedRequestEvidence =
|
|
505
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
506
|
+
S.Struct({
|
|
507
|
+
id: S.String,
|
|
508
|
+
}),
|
|
509
|
+
).annotate({
|
|
510
|
+
identifier: "V1InformationRequestEvidenceCreatedRequestEvidence",
|
|
511
|
+
}) as any as S.Schema<V1InformationRequestEvidenceCreatedRequestEvidence>;
|
|
512
|
+
|
|
513
|
+
export interface V1InformationRequestEvidenceCreatedRequest {
|
|
514
|
+
informationRequest: V1InformationRequestCommentCreatedRequestInformationRequest;
|
|
515
|
+
evidence: V1InformationRequestEvidenceCreatedRequestEvidence;
|
|
516
|
+
}
|
|
517
|
+
export const V1InformationRequestEvidenceCreatedRequest =
|
|
518
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
519
|
+
S.Struct({
|
|
520
|
+
informationRequest:
|
|
521
|
+
V1InformationRequestCommentCreatedRequestInformationRequest,
|
|
522
|
+
evidence: V1InformationRequestEvidenceCreatedRequestEvidence,
|
|
523
|
+
}).pipe(
|
|
524
|
+
T.Http({
|
|
525
|
+
method: "POST",
|
|
526
|
+
uri: "/v1.information-request.evidence.created",
|
|
527
|
+
code: 200,
|
|
528
|
+
}),
|
|
529
|
+
),
|
|
530
|
+
).annotate({
|
|
531
|
+
identifier: "V1InformationRequestEvidenceCreatedRequest",
|
|
532
|
+
}) as any as S.Schema<V1InformationRequestEvidenceCreatedRequest>;
|
|
533
|
+
|
|
534
|
+
export interface V1InformationRequestEvidenceCreatedResponse {}
|
|
535
|
+
export const V1InformationRequestEvidenceCreatedResponse =
|
|
536
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
537
|
+
identifier: "V1InformationRequestEvidenceCreatedResponse",
|
|
538
|
+
}) as any as S.Schema<V1InformationRequestEvidenceCreatedResponse>;
|
|
539
|
+
|
|
540
|
+
export type V1InformationRequestEvidenceDeletedRequestInformationRequest =
|
|
541
|
+
V1InformationRequestCommentCreatedRequestInformationRequest;
|
|
542
|
+
export const V1InformationRequestEvidenceDeletedRequestInformationRequest =
|
|
543
|
+
V1InformationRequestCommentCreatedRequestInformationRequest;
|
|
544
|
+
|
|
545
|
+
export type V1InformationRequestEvidenceDeletedRequestEvidence =
|
|
546
|
+
V1InformationRequestEvidenceCreatedRequestEvidence;
|
|
547
|
+
export const V1InformationRequestEvidenceDeletedRequestEvidence =
|
|
548
|
+
V1InformationRequestEvidenceCreatedRequestEvidence;
|
|
549
|
+
|
|
550
|
+
export interface V1InformationRequestEvidenceDeletedRequest {
|
|
551
|
+
informationRequest: V1InformationRequestCommentCreatedRequestInformationRequest;
|
|
552
|
+
evidence: V1InformationRequestEvidenceCreatedRequestEvidence;
|
|
553
|
+
}
|
|
554
|
+
export const V1InformationRequestEvidenceDeletedRequest =
|
|
555
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
556
|
+
S.Struct({
|
|
557
|
+
informationRequest:
|
|
558
|
+
V1InformationRequestCommentCreatedRequestInformationRequest,
|
|
559
|
+
evidence: V1InformationRequestEvidenceCreatedRequestEvidence,
|
|
560
|
+
}).pipe(
|
|
561
|
+
T.Http({
|
|
562
|
+
method: "POST",
|
|
563
|
+
uri: "/v1.information-request.evidence.deleted",
|
|
564
|
+
code: 200,
|
|
565
|
+
}),
|
|
566
|
+
),
|
|
567
|
+
).annotate({
|
|
568
|
+
identifier: "V1InformationRequestEvidenceDeletedRequest",
|
|
569
|
+
}) as any as S.Schema<V1InformationRequestEvidenceDeletedRequest>;
|
|
570
|
+
|
|
571
|
+
export interface V1InformationRequestEvidenceDeletedResponse {}
|
|
572
|
+
export const V1InformationRequestEvidenceDeletedResponse =
|
|
573
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
574
|
+
identifier: "V1InformationRequestEvidenceDeletedResponse",
|
|
575
|
+
}) as any as S.Schema<V1InformationRequestEvidenceDeletedResponse>;
|
|
576
|
+
|
|
577
|
+
/** The status the information request was in before the change. */
|
|
578
|
+
export type V1InformationRequestStatusChangedRequestInformationRequestOldStatus =
|
|
579
|
+
| "NEEDS_EVIDENCE"
|
|
580
|
+
| "READY_FOR_AUDIT"
|
|
581
|
+
| "AUDITOR_APPROVED"
|
|
582
|
+
| "AUDITOR_FLAGGED";
|
|
583
|
+
export const V1InformationRequestStatusChangedRequestInformationRequestOldStatus =
|
|
584
|
+
/*@__PURE__*/ S.String;
|
|
585
|
+
|
|
586
|
+
/** The status the information request is in after the change. A value of `READY_FOR_AUDIT` means the customer has submitted the request and it is ready for the auditor to review. */
|
|
587
|
+
export type V1InformationRequestStatusChangedRequestInformationRequestNewStatus =
|
|
588
|
+
| "NEEDS_EVIDENCE"
|
|
589
|
+
| "READY_FOR_AUDIT"
|
|
590
|
+
| "AUDITOR_APPROVED"
|
|
591
|
+
| "AUDITOR_FLAGGED";
|
|
592
|
+
export const V1InformationRequestStatusChangedRequestInformationRequestNewStatus =
|
|
593
|
+
/*@__PURE__*/ S.String;
|
|
594
|
+
|
|
595
|
+
export interface V1InformationRequestStatusChangedRequestInformationRequest {
|
|
596
|
+
/** The unique identifier of the information request. */
|
|
597
|
+
id: string;
|
|
598
|
+
/** The unique identifier of the audit the information request belongs to. */
|
|
599
|
+
auditId: string;
|
|
600
|
+
/** The status the information request was in before the change. */
|
|
601
|
+
oldStatus:
|
|
602
|
+
| V1InformationRequestStatusChangedRequestInformationRequestOldStatus
|
|
603
|
+
| (string & {});
|
|
604
|
+
/** The status the information request is in after the change. A value of `READY_FOR_AUDIT` means the customer has submitted the request and it is ready for the auditor to review. */
|
|
605
|
+
newStatus:
|
|
606
|
+
| V1InformationRequestStatusChangedRequestInformationRequestNewStatus
|
|
607
|
+
| (string & {});
|
|
608
|
+
}
|
|
609
|
+
export const V1InformationRequestStatusChangedRequestInformationRequest =
|
|
610
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
611
|
+
S.Struct({
|
|
612
|
+
id: S.String,
|
|
613
|
+
auditId: S.String,
|
|
614
|
+
oldStatus:
|
|
615
|
+
V1InformationRequestStatusChangedRequestInformationRequestOldStatus,
|
|
616
|
+
newStatus:
|
|
617
|
+
V1InformationRequestStatusChangedRequestInformationRequestNewStatus,
|
|
618
|
+
}),
|
|
619
|
+
).annotate({
|
|
620
|
+
identifier: "V1InformationRequestStatusChangedRequestInformationRequest",
|
|
621
|
+
}) as any as S.Schema<V1InformationRequestStatusChangedRequestInformationRequest>;
|
|
622
|
+
|
|
623
|
+
export interface V1InformationRequestStatusChangedRequest {
|
|
624
|
+
informationRequest: V1InformationRequestStatusChangedRequestInformationRequest;
|
|
625
|
+
}
|
|
626
|
+
export const V1InformationRequestStatusChangedRequest = /*@__PURE__*/ S.suspend(
|
|
627
|
+
() =>
|
|
628
|
+
S.Struct({
|
|
629
|
+
informationRequest:
|
|
630
|
+
V1InformationRequestStatusChangedRequestInformationRequest,
|
|
631
|
+
}).pipe(
|
|
632
|
+
T.Http({
|
|
633
|
+
method: "POST",
|
|
634
|
+
uri: "/v1.information-request.status-changed",
|
|
635
|
+
code: 200,
|
|
636
|
+
}),
|
|
637
|
+
),
|
|
638
|
+
).annotate({
|
|
639
|
+
identifier: "V1InformationRequestStatusChangedRequest",
|
|
640
|
+
}) as any as S.Schema<V1InformationRequestStatusChangedRequest>;
|
|
641
|
+
|
|
642
|
+
export interface V1InformationRequestStatusChangedResponse {}
|
|
643
|
+
export const V1InformationRequestStatusChangedResponse =
|
|
644
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
645
|
+
identifier: "V1InformationRequestStatusChangedResponse",
|
|
646
|
+
}) as any as S.Schema<V1InformationRequestStatusChangedResponse>;
|
|
647
|
+
|
|
648
|
+
export interface V1QuestionnaireCreatedRequestQuestionnaire {
|
|
649
|
+
/** The questionnaire ID. */
|
|
650
|
+
id: string;
|
|
651
|
+
}
|
|
652
|
+
export const V1QuestionnaireCreatedRequestQuestionnaire =
|
|
653
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
654
|
+
S.Struct({
|
|
655
|
+
id: S.String,
|
|
656
|
+
}),
|
|
657
|
+
).annotate({
|
|
658
|
+
identifier: "V1QuestionnaireCreatedRequestQuestionnaire",
|
|
659
|
+
}) as any as S.Schema<V1QuestionnaireCreatedRequestQuestionnaire>;
|
|
660
|
+
|
|
661
|
+
export interface V1QuestionnaireCreatedRequest {
|
|
662
|
+
questionnaire: V1QuestionnaireCreatedRequestQuestionnaire;
|
|
663
|
+
}
|
|
664
|
+
export const V1QuestionnaireCreatedRequest = /*@__PURE__*/ S.suspend(() =>
|
|
665
|
+
S.Struct({
|
|
666
|
+
questionnaire: V1QuestionnaireCreatedRequestQuestionnaire,
|
|
667
|
+
}).pipe(
|
|
668
|
+
T.Http({ method: "POST", uri: "/v1.questionnaire.created", code: 200 }),
|
|
669
|
+
),
|
|
670
|
+
).annotate({
|
|
671
|
+
identifier: "V1QuestionnaireCreatedRequest",
|
|
672
|
+
}) as any as S.Schema<V1QuestionnaireCreatedRequest>;
|
|
673
|
+
|
|
674
|
+
export interface V1QuestionnaireCreatedResponse {}
|
|
675
|
+
export const V1QuestionnaireCreatedResponse = /*@__PURE__*/ S.suspend(() =>
|
|
676
|
+
S.Struct({}),
|
|
677
|
+
).annotate({
|
|
678
|
+
identifier: "V1QuestionnaireCreatedResponse",
|
|
679
|
+
}) as any as S.Schema<V1QuestionnaireCreatedResponse>;
|
|
680
|
+
|
|
681
|
+
export type V1QuestionnaireDeletedRequestQuestionnaire =
|
|
682
|
+
V1QuestionnaireCreatedRequestQuestionnaire;
|
|
683
|
+
export const V1QuestionnaireDeletedRequestQuestionnaire =
|
|
684
|
+
V1QuestionnaireCreatedRequestQuestionnaire;
|
|
685
|
+
|
|
686
|
+
export interface V1QuestionnaireDeletedRequest {
|
|
687
|
+
questionnaire: V1QuestionnaireCreatedRequestQuestionnaire;
|
|
688
|
+
}
|
|
689
|
+
export const V1QuestionnaireDeletedRequest = /*@__PURE__*/ S.suspend(() =>
|
|
690
|
+
S.Struct({
|
|
691
|
+
questionnaire: V1QuestionnaireCreatedRequestQuestionnaire,
|
|
692
|
+
}).pipe(
|
|
693
|
+
T.Http({ method: "POST", uri: "/v1.questionnaire.deleted", code: 200 }),
|
|
694
|
+
),
|
|
695
|
+
).annotate({
|
|
696
|
+
identifier: "V1QuestionnaireDeletedRequest",
|
|
697
|
+
}) as any as S.Schema<V1QuestionnaireDeletedRequest>;
|
|
698
|
+
|
|
699
|
+
export interface V1QuestionnaireDeletedResponse {}
|
|
700
|
+
export const V1QuestionnaireDeletedResponse = /*@__PURE__*/ S.suspend(() =>
|
|
701
|
+
S.Struct({}),
|
|
702
|
+
).annotate({
|
|
703
|
+
identifier: "V1QuestionnaireDeletedResponse",
|
|
704
|
+
}) as any as S.Schema<V1QuestionnaireDeletedResponse>;
|
|
705
|
+
|
|
706
|
+
export interface V1QuestionnaireExportCompletedRequestQuestionnaire {
|
|
707
|
+
/** The unique identifier of the questionnaire. */
|
|
708
|
+
id: string;
|
|
709
|
+
}
|
|
710
|
+
export const V1QuestionnaireExportCompletedRequestQuestionnaire =
|
|
711
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
712
|
+
S.Struct({
|
|
713
|
+
id: S.String,
|
|
714
|
+
}),
|
|
715
|
+
).annotate({
|
|
716
|
+
identifier: "V1QuestionnaireExportCompletedRequestQuestionnaire",
|
|
717
|
+
}) as any as S.Schema<V1QuestionnaireExportCompletedRequestQuestionnaire>;
|
|
718
|
+
|
|
719
|
+
/** The export format. */
|
|
720
|
+
export type V1QuestionnaireExportCompletedRequestExportFormat =
|
|
721
|
+
| "original"
|
|
722
|
+
| "csv";
|
|
723
|
+
export const V1QuestionnaireExportCompletedRequestExportFormat =
|
|
724
|
+
/*@__PURE__*/ S.String;
|
|
725
|
+
|
|
726
|
+
export interface V1QuestionnaireExportCompletedRequestExport {
|
|
727
|
+
/** The unique identifier of the export job. */
|
|
728
|
+
id: string;
|
|
729
|
+
/** The export format. */
|
|
730
|
+
format: V1QuestionnaireExportCompletedRequestExportFormat | (string & {});
|
|
731
|
+
/** When the export was initiated (ISO 8601). */
|
|
732
|
+
requestedAt: string;
|
|
733
|
+
/** When the export finished (ISO 8601). */
|
|
734
|
+
completedAt: string;
|
|
735
|
+
}
|
|
736
|
+
export const V1QuestionnaireExportCompletedRequestExport =
|
|
737
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
738
|
+
S.Struct({
|
|
739
|
+
id: S.String,
|
|
740
|
+
format: V1QuestionnaireExportCompletedRequestExportFormat,
|
|
741
|
+
requestedAt: S.String,
|
|
742
|
+
completedAt: S.String,
|
|
743
|
+
}),
|
|
744
|
+
).annotate({
|
|
745
|
+
identifier: "V1QuestionnaireExportCompletedRequestExport",
|
|
746
|
+
}) as any as S.Schema<V1QuestionnaireExportCompletedRequestExport>;
|
|
747
|
+
|
|
748
|
+
export interface V1QuestionnaireExportCompletedRequest {
|
|
749
|
+
questionnaire: V1QuestionnaireExportCompletedRequestQuestionnaire;
|
|
750
|
+
export: V1QuestionnaireExportCompletedRequestExport;
|
|
751
|
+
}
|
|
752
|
+
export const V1QuestionnaireExportCompletedRequest = /*@__PURE__*/ S.suspend(
|
|
753
|
+
() =>
|
|
754
|
+
S.Struct({
|
|
755
|
+
questionnaire: V1QuestionnaireExportCompletedRequestQuestionnaire,
|
|
756
|
+
export: V1QuestionnaireExportCompletedRequestExport,
|
|
757
|
+
}).pipe(
|
|
758
|
+
T.Http({
|
|
759
|
+
method: "POST",
|
|
760
|
+
uri: "/v1.questionnaire.export-completed",
|
|
761
|
+
code: 200,
|
|
762
|
+
}),
|
|
763
|
+
),
|
|
764
|
+
).annotate({
|
|
765
|
+
identifier: "V1QuestionnaireExportCompletedRequest",
|
|
766
|
+
}) as any as S.Schema<V1QuestionnaireExportCompletedRequest>;
|
|
767
|
+
|
|
768
|
+
export interface V1QuestionnaireExportCompletedResponse {}
|
|
769
|
+
export const V1QuestionnaireExportCompletedResponse = /*@__PURE__*/ S.suspend(
|
|
770
|
+
() => S.Struct({}),
|
|
771
|
+
).annotate({
|
|
772
|
+
identifier: "V1QuestionnaireExportCompletedResponse",
|
|
773
|
+
}) as any as S.Schema<V1QuestionnaireExportCompletedResponse>;
|
|
774
|
+
|
|
775
|
+
export type V1QuestionnaireExportFailedRequestQuestionnaire =
|
|
776
|
+
V1QuestionnaireExportCompletedRequestQuestionnaire;
|
|
777
|
+
export const V1QuestionnaireExportFailedRequestQuestionnaire =
|
|
778
|
+
V1QuestionnaireExportCompletedRequestQuestionnaire;
|
|
779
|
+
|
|
780
|
+
/** The export format. */
|
|
781
|
+
export type V1QuestionnaireExportFailedRequestExportFormat = "original" | "csv";
|
|
782
|
+
export const V1QuestionnaireExportFailedRequestExportFormat =
|
|
783
|
+
/*@__PURE__*/ S.String;
|
|
784
|
+
|
|
785
|
+
export interface V1QuestionnaireExportFailedRequestExport {
|
|
786
|
+
/** The unique identifier of the export job. */
|
|
787
|
+
id: string;
|
|
788
|
+
/** The export format. */
|
|
789
|
+
format: V1QuestionnaireExportFailedRequestExportFormat | (string & {});
|
|
790
|
+
/** When the export was initiated (ISO 8601). */
|
|
791
|
+
requestedAt: string;
|
|
792
|
+
/** When the export failed (ISO 8601). */
|
|
793
|
+
failedAt: string;
|
|
794
|
+
/** The reason for the export failure. */
|
|
795
|
+
reason: string;
|
|
796
|
+
}
|
|
797
|
+
export const V1QuestionnaireExportFailedRequestExport = /*@__PURE__*/ S.suspend(
|
|
798
|
+
() =>
|
|
799
|
+
S.Struct({
|
|
800
|
+
id: S.String,
|
|
801
|
+
format: V1QuestionnaireExportFailedRequestExportFormat,
|
|
802
|
+
requestedAt: S.String,
|
|
803
|
+
failedAt: S.String,
|
|
804
|
+
reason: S.String,
|
|
805
|
+
}),
|
|
806
|
+
).annotate({
|
|
807
|
+
identifier: "V1QuestionnaireExportFailedRequestExport",
|
|
808
|
+
}) as any as S.Schema<V1QuestionnaireExportFailedRequestExport>;
|
|
809
|
+
|
|
810
|
+
export interface V1QuestionnaireExportFailedRequest {
|
|
811
|
+
questionnaire: V1QuestionnaireExportCompletedRequestQuestionnaire;
|
|
812
|
+
export: V1QuestionnaireExportFailedRequestExport;
|
|
813
|
+
}
|
|
814
|
+
export const V1QuestionnaireExportFailedRequest = /*@__PURE__*/ S.suspend(() =>
|
|
815
|
+
S.Struct({
|
|
816
|
+
questionnaire: V1QuestionnaireExportCompletedRequestQuestionnaire,
|
|
817
|
+
export: V1QuestionnaireExportFailedRequestExport,
|
|
818
|
+
}).pipe(
|
|
819
|
+
T.Http({
|
|
820
|
+
method: "POST",
|
|
821
|
+
uri: "/v1.questionnaire.export-failed",
|
|
822
|
+
code: 200,
|
|
823
|
+
}),
|
|
824
|
+
),
|
|
825
|
+
).annotate({
|
|
826
|
+
identifier: "V1QuestionnaireExportFailedRequest",
|
|
827
|
+
}) as any as S.Schema<V1QuestionnaireExportFailedRequest>;
|
|
828
|
+
|
|
829
|
+
export interface V1QuestionnaireExportFailedResponse {}
|
|
830
|
+
export const V1QuestionnaireExportFailedResponse = /*@__PURE__*/ S.suspend(() =>
|
|
831
|
+
S.Struct({}),
|
|
832
|
+
).annotate({
|
|
833
|
+
identifier: "V1QuestionnaireExportFailedResponse",
|
|
834
|
+
}) as any as S.Schema<V1QuestionnaireExportFailedResponse>;
|
|
835
|
+
|
|
836
|
+
/** The new questionnaire status. */
|
|
837
|
+
export type V1QuestionnaireStatusChangedRequestQuestionnaireStatus =
|
|
838
|
+
| "APPROVED"
|
|
839
|
+
| "COMPLETE"
|
|
840
|
+
| "ERROR"
|
|
841
|
+
| "IN_PROGRESS"
|
|
842
|
+
| "IN_REVIEW"
|
|
843
|
+
| "EXTRACTING_QUESTIONS"
|
|
844
|
+
| "QUEUED_FOR_EXTRACTION"
|
|
845
|
+
| "PROCESSING"
|
|
846
|
+
| "QUEUED_FOR_PROCESSING"
|
|
847
|
+
| "READY_FOR_REVIEW"
|
|
848
|
+
| "WAITING_ON_ANSWERS"
|
|
849
|
+
| "WAITING_ON_COLUMN_SELECTION"
|
|
850
|
+
| "WAITING_ON_COLUMN_APPROVAL"
|
|
851
|
+
| "QUEUED_FOR_COLUMN_DETECTION"
|
|
852
|
+
| "DETECTING_COLUMNS"
|
|
853
|
+
| "ON_HOLD"
|
|
854
|
+
| "NO_LONGER_NEEDED";
|
|
855
|
+
export const V1QuestionnaireStatusChangedRequestQuestionnaireStatus =
|
|
856
|
+
/*@__PURE__*/ S.String;
|
|
857
|
+
|
|
858
|
+
export interface V1QuestionnaireStatusChangedRequestQuestionnaire {
|
|
859
|
+
/** The questionnaire ID. */
|
|
860
|
+
id: string;
|
|
861
|
+
/** The new questionnaire status. */
|
|
862
|
+
status:
|
|
863
|
+
| V1QuestionnaireStatusChangedRequestQuestionnaireStatus
|
|
864
|
+
| (string & {});
|
|
865
|
+
}
|
|
866
|
+
export const V1QuestionnaireStatusChangedRequestQuestionnaire =
|
|
867
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
868
|
+
S.Struct({
|
|
869
|
+
id: S.String,
|
|
870
|
+
status: V1QuestionnaireStatusChangedRequestQuestionnaireStatus,
|
|
871
|
+
}),
|
|
872
|
+
).annotate({
|
|
873
|
+
identifier: "V1QuestionnaireStatusChangedRequestQuestionnaire",
|
|
874
|
+
}) as any as S.Schema<V1QuestionnaireStatusChangedRequestQuestionnaire>;
|
|
875
|
+
|
|
876
|
+
export interface V1QuestionnaireStatusChangedRequest {
|
|
877
|
+
questionnaire: V1QuestionnaireStatusChangedRequestQuestionnaire;
|
|
878
|
+
}
|
|
879
|
+
export const V1QuestionnaireStatusChangedRequest = /*@__PURE__*/ S.suspend(() =>
|
|
880
|
+
S.Struct({
|
|
881
|
+
questionnaire: V1QuestionnaireStatusChangedRequestQuestionnaire,
|
|
882
|
+
}).pipe(
|
|
883
|
+
T.Http({
|
|
884
|
+
method: "POST",
|
|
885
|
+
uri: "/v1.questionnaire.status-changed",
|
|
886
|
+
code: 200,
|
|
887
|
+
}),
|
|
888
|
+
),
|
|
889
|
+
).annotate({
|
|
890
|
+
identifier: "V1QuestionnaireStatusChangedRequest",
|
|
891
|
+
}) as any as S.Schema<V1QuestionnaireStatusChangedRequest>;
|
|
892
|
+
|
|
893
|
+
export interface V1QuestionnaireStatusChangedResponse {}
|
|
894
|
+
export const V1QuestionnaireStatusChangedResponse = /*@__PURE__*/ S.suspend(
|
|
895
|
+
() => S.Struct({}),
|
|
896
|
+
).annotate({
|
|
897
|
+
identifier: "V1QuestionnaireStatusChangedResponse",
|
|
898
|
+
}) as any as S.Schema<V1QuestionnaireStatusChangedResponse>;
|
|
899
|
+
|
|
900
|
+
export interface V1TrustCenterAccessRequestApprovedRequestTrustCenter {
|
|
901
|
+
/** The Trust Center slug ID. */
|
|
902
|
+
slugId: string;
|
|
903
|
+
}
|
|
904
|
+
export const V1TrustCenterAccessRequestApprovedRequestTrustCenter =
|
|
905
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
906
|
+
S.Struct({
|
|
907
|
+
slugId: S.String,
|
|
908
|
+
}),
|
|
909
|
+
).annotate({
|
|
910
|
+
identifier: "V1TrustCenterAccessRequestApprovedRequestTrustCenter",
|
|
911
|
+
}) as any as S.Schema<V1TrustCenterAccessRequestApprovedRequestTrustCenter>;
|
|
912
|
+
|
|
913
|
+
export interface V1TrustCenterAccessRequestApprovedRequestAccessRequest {
|
|
914
|
+
/** The access request ID. */
|
|
915
|
+
id: string;
|
|
916
|
+
}
|
|
917
|
+
export const V1TrustCenterAccessRequestApprovedRequestAccessRequest =
|
|
918
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
919
|
+
S.Struct({
|
|
920
|
+
id: S.String,
|
|
921
|
+
}),
|
|
922
|
+
).annotate({
|
|
923
|
+
identifier: "V1TrustCenterAccessRequestApprovedRequestAccessRequest",
|
|
924
|
+
}) as any as S.Schema<V1TrustCenterAccessRequestApprovedRequestAccessRequest>;
|
|
925
|
+
|
|
926
|
+
export interface V1TrustCenterAccessRequestApprovedRequestViewer {
|
|
927
|
+
/** The viewer ID granted access. */
|
|
928
|
+
id: string;
|
|
929
|
+
}
|
|
930
|
+
export const V1TrustCenterAccessRequestApprovedRequestViewer =
|
|
931
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
932
|
+
S.Struct({
|
|
933
|
+
id: S.String,
|
|
934
|
+
}),
|
|
935
|
+
).annotate({
|
|
936
|
+
identifier: "V1TrustCenterAccessRequestApprovedRequestViewer",
|
|
937
|
+
}) as any as S.Schema<V1TrustCenterAccessRequestApprovedRequestViewer>;
|
|
938
|
+
|
|
939
|
+
export interface V1TrustCenterAccessRequestApprovedRequest {
|
|
940
|
+
trustCenter: V1TrustCenterAccessRequestApprovedRequestTrustCenter;
|
|
941
|
+
accessRequest: V1TrustCenterAccessRequestApprovedRequestAccessRequest;
|
|
942
|
+
viewer: V1TrustCenterAccessRequestApprovedRequestViewer;
|
|
943
|
+
}
|
|
944
|
+
export const V1TrustCenterAccessRequestApprovedRequest =
|
|
945
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
946
|
+
S.Struct({
|
|
947
|
+
trustCenter: V1TrustCenterAccessRequestApprovedRequestTrustCenter,
|
|
948
|
+
accessRequest: V1TrustCenterAccessRequestApprovedRequestAccessRequest,
|
|
949
|
+
viewer: V1TrustCenterAccessRequestApprovedRequestViewer,
|
|
950
|
+
}).pipe(
|
|
951
|
+
T.Http({
|
|
952
|
+
method: "POST",
|
|
953
|
+
uri: "/v1.trust-center.access-request.approved",
|
|
954
|
+
code: 200,
|
|
955
|
+
}),
|
|
956
|
+
),
|
|
957
|
+
).annotate({
|
|
958
|
+
identifier: "V1TrustCenterAccessRequestApprovedRequest",
|
|
959
|
+
}) as any as S.Schema<V1TrustCenterAccessRequestApprovedRequest>;
|
|
960
|
+
|
|
961
|
+
export interface V1TrustCenterAccessRequestApprovedResponse {}
|
|
962
|
+
export const V1TrustCenterAccessRequestApprovedResponse =
|
|
963
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
964
|
+
identifier: "V1TrustCenterAccessRequestApprovedResponse",
|
|
965
|
+
}) as any as S.Schema<V1TrustCenterAccessRequestApprovedResponse>;
|
|
966
|
+
|
|
967
|
+
export type V1TrustCenterAccessRequestDeniedRequestTrustCenter =
|
|
968
|
+
V1TrustCenterAccessRequestApprovedRequestTrustCenter;
|
|
969
|
+
export const V1TrustCenterAccessRequestDeniedRequestTrustCenter =
|
|
970
|
+
V1TrustCenterAccessRequestApprovedRequestTrustCenter;
|
|
971
|
+
|
|
972
|
+
export type V1TrustCenterAccessRequestDeniedRequestAccessRequest =
|
|
973
|
+
V1TrustCenterAccessRequestApprovedRequestAccessRequest;
|
|
974
|
+
export const V1TrustCenterAccessRequestDeniedRequestAccessRequest =
|
|
975
|
+
V1TrustCenterAccessRequestApprovedRequestAccessRequest;
|
|
976
|
+
|
|
977
|
+
export interface V1TrustCenterAccessRequestDeniedRequest {
|
|
978
|
+
trustCenter: V1TrustCenterAccessRequestApprovedRequestTrustCenter;
|
|
979
|
+
accessRequest: V1TrustCenterAccessRequestApprovedRequestAccessRequest;
|
|
980
|
+
}
|
|
981
|
+
export const V1TrustCenterAccessRequestDeniedRequest = /*@__PURE__*/ S.suspend(
|
|
982
|
+
() =>
|
|
983
|
+
S.Struct({
|
|
984
|
+
trustCenter: V1TrustCenterAccessRequestApprovedRequestTrustCenter,
|
|
985
|
+
accessRequest: V1TrustCenterAccessRequestApprovedRequestAccessRequest,
|
|
986
|
+
}).pipe(
|
|
987
|
+
T.Http({
|
|
988
|
+
method: "POST",
|
|
989
|
+
uri: "/v1.trust-center.access-request.denied",
|
|
990
|
+
code: 200,
|
|
991
|
+
}),
|
|
992
|
+
),
|
|
993
|
+
).annotate({
|
|
994
|
+
identifier: "V1TrustCenterAccessRequestDeniedRequest",
|
|
995
|
+
}) as any as S.Schema<V1TrustCenterAccessRequestDeniedRequest>;
|
|
996
|
+
|
|
997
|
+
export interface V1TrustCenterAccessRequestDeniedResponse {}
|
|
998
|
+
export const V1TrustCenterAccessRequestDeniedResponse = /*@__PURE__*/ S.suspend(
|
|
999
|
+
() => S.Struct({}),
|
|
1000
|
+
).annotate({
|
|
1001
|
+
identifier: "V1TrustCenterAccessRequestDeniedResponse",
|
|
1002
|
+
}) as any as S.Schema<V1TrustCenterAccessRequestDeniedResponse>;
|
|
1003
|
+
|
|
1004
|
+
export type V1TrustCenterAccessRequestReceivedRequestTrustCenter =
|
|
1005
|
+
V1TrustCenterAccessRequestApprovedRequestTrustCenter;
|
|
1006
|
+
export const V1TrustCenterAccessRequestReceivedRequestTrustCenter =
|
|
1007
|
+
V1TrustCenterAccessRequestApprovedRequestTrustCenter;
|
|
1008
|
+
|
|
1009
|
+
export type V1TrustCenterAccessRequestReceivedRequestAccessRequest =
|
|
1010
|
+
V1TrustCenterAccessRequestApprovedRequestAccessRequest;
|
|
1011
|
+
export const V1TrustCenterAccessRequestReceivedRequestAccessRequest =
|
|
1012
|
+
V1TrustCenterAccessRequestApprovedRequestAccessRequest;
|
|
1013
|
+
|
|
1014
|
+
export interface V1TrustCenterAccessRequestReceivedRequest {
|
|
1015
|
+
trustCenter: V1TrustCenterAccessRequestApprovedRequestTrustCenter;
|
|
1016
|
+
accessRequest: V1TrustCenterAccessRequestApprovedRequestAccessRequest;
|
|
1017
|
+
}
|
|
1018
|
+
export const V1TrustCenterAccessRequestReceivedRequest =
|
|
1019
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1020
|
+
S.Struct({
|
|
1021
|
+
trustCenter: V1TrustCenterAccessRequestApprovedRequestTrustCenter,
|
|
1022
|
+
accessRequest: V1TrustCenterAccessRequestApprovedRequestAccessRequest,
|
|
1023
|
+
}).pipe(
|
|
1024
|
+
T.Http({
|
|
1025
|
+
method: "POST",
|
|
1026
|
+
uri: "/v1.trust-center.access-request.received",
|
|
1027
|
+
code: 200,
|
|
1028
|
+
}),
|
|
1029
|
+
),
|
|
1030
|
+
).annotate({
|
|
1031
|
+
identifier: "V1TrustCenterAccessRequestReceivedRequest",
|
|
1032
|
+
}) as any as S.Schema<V1TrustCenterAccessRequestReceivedRequest>;
|
|
1033
|
+
|
|
1034
|
+
export interface V1TrustCenterAccessRequestReceivedResponse {}
|
|
1035
|
+
export const V1TrustCenterAccessRequestReceivedResponse =
|
|
1036
|
+
/*@__PURE__*/ S.suspend(() => S.Struct({})).annotate({
|
|
1037
|
+
identifier: "V1TrustCenterAccessRequestReceivedResponse",
|
|
1038
|
+
}) as any as S.Schema<V1TrustCenterAccessRequestReceivedResponse>;
|
|
1039
|
+
|
|
1040
|
+
/** The vendor decision status. */
|
|
1041
|
+
export type V1VendorDecisionCreatedRequestVendorDecisionStatus =
|
|
1042
|
+
| "APPROVED"
|
|
1043
|
+
| "CONDITIONALLY_APPROVED"
|
|
1044
|
+
| "NOT_APPROVED";
|
|
1045
|
+
export const V1VendorDecisionCreatedRequestVendorDecisionStatus =
|
|
1046
|
+
/*@__PURE__*/ S.String;
|
|
1047
|
+
|
|
1048
|
+
export interface V1VendorDecisionCreatedRequestVendorDecision {
|
|
1049
|
+
/** The vendor decision status. */
|
|
1050
|
+
status: V1VendorDecisionCreatedRequestVendorDecisionStatus | (string & {});
|
|
1051
|
+
/** When the decision was last updated (ISO 8601). */
|
|
1052
|
+
lastUpdatedAt: string;
|
|
1053
|
+
/** Optional comments on the decision. */
|
|
1054
|
+
comments?: string;
|
|
1055
|
+
}
|
|
1056
|
+
export const V1VendorDecisionCreatedRequestVendorDecision =
|
|
1057
|
+
/*@__PURE__*/ S.suspend(() =>
|
|
1058
|
+
S.Struct({
|
|
1059
|
+
status: V1VendorDecisionCreatedRequestVendorDecisionStatus,
|
|
1060
|
+
lastUpdatedAt: S.String,
|
|
1061
|
+
comments: S.optional(S.String),
|
|
1062
|
+
}),
|
|
1063
|
+
).annotate({
|
|
1064
|
+
identifier: "V1VendorDecisionCreatedRequestVendorDecision",
|
|
1065
|
+
}) as any as S.Schema<V1VendorDecisionCreatedRequestVendorDecision>;
|
|
1066
|
+
|
|
1067
|
+
export interface V1VendorDecisionCreatedRequestVendor {
|
|
1068
|
+
/** The vendor ID. */
|
|
1069
|
+
id: string;
|
|
1070
|
+
decision: V1VendorDecisionCreatedRequestVendorDecision;
|
|
1071
|
+
}
|
|
1072
|
+
export const V1VendorDecisionCreatedRequestVendor = /*@__PURE__*/ S.suspend(
|
|
1073
|
+
() =>
|
|
1074
|
+
S.Struct({
|
|
1075
|
+
id: S.String,
|
|
1076
|
+
decision: V1VendorDecisionCreatedRequestVendorDecision,
|
|
1077
|
+
}),
|
|
1078
|
+
).annotate({
|
|
1079
|
+
identifier: "V1VendorDecisionCreatedRequestVendor",
|
|
1080
|
+
}) as any as S.Schema<V1VendorDecisionCreatedRequestVendor>;
|
|
1081
|
+
|
|
1082
|
+
export interface V1VendorDecisionCreatedRequest {
|
|
1083
|
+
vendor: V1VendorDecisionCreatedRequestVendor;
|
|
1084
|
+
}
|
|
1085
|
+
export const V1VendorDecisionCreatedRequest = /*@__PURE__*/ S.suspend(() =>
|
|
1086
|
+
S.Struct({
|
|
1087
|
+
vendor: V1VendorDecisionCreatedRequestVendor,
|
|
1088
|
+
}).pipe(
|
|
1089
|
+
T.Http({ method: "POST", uri: "/v1.vendor.decision.created", code: 200 }),
|
|
1090
|
+
),
|
|
1091
|
+
).annotate({
|
|
1092
|
+
identifier: "V1VendorDecisionCreatedRequest",
|
|
1093
|
+
}) as any as S.Schema<V1VendorDecisionCreatedRequest>;
|
|
1094
|
+
|
|
1095
|
+
export interface V1VendorDecisionCreatedResponse {}
|
|
1096
|
+
export const V1VendorDecisionCreatedResponse = /*@__PURE__*/ S.suspend(() =>
|
|
1097
|
+
S.Struct({}),
|
|
1098
|
+
).annotate({
|
|
1099
|
+
identifier: "V1VendorDecisionCreatedResponse",
|
|
1100
|
+
}) as any as S.Schema<V1VendorDecisionCreatedResponse>;
|
|
1101
|
+
|
|
1102
|
+
export type V1ControlCommentCreatedError = VantaOpError;
|
|
1103
|
+
/** Control comment created An external comment was created on an audit control. Fires once per comment. This event is delivered only to [Audit Partner](/reference/audits/overview) accounts and is gated by the early-access `audit_control_comment_webhook` feature — reach out to your Vanta contact to enable it. The payload contains only identifiers. Fetch the comment body from `GET /v1/audits/{auditId}/controls/{controlId}/comments`. */
|
|
1104
|
+
export const v1ControlCommentCreated: API.OperationMethod<
|
|
1105
|
+
V1ControlCommentCreatedRequest,
|
|
1106
|
+
V1ControlCommentCreatedResponse,
|
|
1107
|
+
V1ControlCommentCreatedError,
|
|
1108
|
+
VantaOpContext
|
|
1109
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1110
|
+
input: V1ControlCommentCreatedRequest,
|
|
1111
|
+
output: V1ControlCommentCreatedResponse,
|
|
1112
|
+
errors: [UnknownVantaError],
|
|
1113
|
+
protocol: VantaProtocol,
|
|
1114
|
+
retry: Retry.Retry,
|
|
1115
|
+
}));
|
|
1116
|
+
|
|
1117
|
+
export type V1ControlCommentDeletedError = VantaOpError;
|
|
1118
|
+
/** Control comment deleted An external comment was deleted from an audit control. Fires once per comment deletion. This event is delivered only to [Audit Partner](/reference/audits/overview) accounts and is gated by the early-access `audit_control_comment_webhook` feature — reach out to your Vanta contact to enable it. The payload contains only identifiers. The deleted comment no longer appears in `GET /v1/audits/{auditId}/controls/{controlId}/comments`. */
|
|
1119
|
+
export const v1ControlCommentDeleted: API.OperationMethod<
|
|
1120
|
+
V1ControlCommentDeletedRequest,
|
|
1121
|
+
V1ControlCommentDeletedResponse,
|
|
1122
|
+
V1ControlCommentDeletedError,
|
|
1123
|
+
VantaOpContext
|
|
1124
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1125
|
+
input: V1ControlCommentDeletedRequest,
|
|
1126
|
+
output: V1ControlCommentDeletedResponse,
|
|
1127
|
+
errors: [UnknownVantaError],
|
|
1128
|
+
protocol: VantaProtocol,
|
|
1129
|
+
retry: Retry.Retry,
|
|
1130
|
+
}));
|
|
1131
|
+
|
|
1132
|
+
export type V1ControlCommentUpdatedError = VantaOpError;
|
|
1133
|
+
/** Control comment updated An external comment on an audit control was updated. Fires once per comment update. This event is delivered only to [Audit Partner](/reference/audits/overview) accounts and is gated by the early-access `audit_control_comment_webhook` feature — reach out to your Vanta contact to enable it. The payload contains only identifiers. Fetch the current comment body from `GET /v1/audits/{auditId}/controls/{controlId}/comments`. */
|
|
1134
|
+
export const v1ControlCommentUpdated: API.OperationMethod<
|
|
1135
|
+
V1ControlCommentUpdatedRequest,
|
|
1136
|
+
V1ControlCommentUpdatedResponse,
|
|
1137
|
+
V1ControlCommentUpdatedError,
|
|
1138
|
+
VantaOpContext
|
|
1139
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1140
|
+
input: V1ControlCommentUpdatedRequest,
|
|
1141
|
+
output: V1ControlCommentUpdatedResponse,
|
|
1142
|
+
errors: [UnknownVantaError],
|
|
1143
|
+
protocol: VantaProtocol,
|
|
1144
|
+
retry: Retry.Retry,
|
|
1145
|
+
}));
|
|
1146
|
+
|
|
1147
|
+
export type V1EvidenceCommentCreatedError = VantaOpError;
|
|
1148
|
+
/** Evidence comment created Fires when a comment is created on an audit evidence item. Fires once per comment. */
|
|
1149
|
+
export const v1EvidenceCommentCreated: API.OperationMethod<
|
|
1150
|
+
V1EvidenceCommentCreatedRequest,
|
|
1151
|
+
V1EvidenceCommentCreatedResponse,
|
|
1152
|
+
V1EvidenceCommentCreatedError,
|
|
1153
|
+
VantaOpContext
|
|
1154
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1155
|
+
input: V1EvidenceCommentCreatedRequest,
|
|
1156
|
+
output: V1EvidenceCommentCreatedResponse,
|
|
1157
|
+
errors: [UnknownVantaError],
|
|
1158
|
+
protocol: VantaProtocol,
|
|
1159
|
+
retry: Retry.Retry,
|
|
1160
|
+
}));
|
|
1161
|
+
|
|
1162
|
+
export type V1EvidenceCommentDeletedError = VantaOpError;
|
|
1163
|
+
/** Evidence comment deleted Fires when a comment is deleted from an audit evidence item. Fires once per comment deletion. */
|
|
1164
|
+
export const v1EvidenceCommentDeleted: API.OperationMethod<
|
|
1165
|
+
V1EvidenceCommentDeletedRequest,
|
|
1166
|
+
V1EvidenceCommentDeletedResponse,
|
|
1167
|
+
V1EvidenceCommentDeletedError,
|
|
1168
|
+
VantaOpContext
|
|
1169
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1170
|
+
input: V1EvidenceCommentDeletedRequest,
|
|
1171
|
+
output: V1EvidenceCommentDeletedResponse,
|
|
1172
|
+
errors: [UnknownVantaError],
|
|
1173
|
+
protocol: VantaProtocol,
|
|
1174
|
+
retry: Retry.Retry,
|
|
1175
|
+
}));
|
|
1176
|
+
|
|
1177
|
+
export type V1EvidenceCommentUpdatedError = VantaOpError;
|
|
1178
|
+
/** Evidence comment updated Fires when a comment on an audit evidence item is updated. Fires once per comment update. */
|
|
1179
|
+
export const v1EvidenceCommentUpdated: API.OperationMethod<
|
|
1180
|
+
V1EvidenceCommentUpdatedRequest,
|
|
1181
|
+
V1EvidenceCommentUpdatedResponse,
|
|
1182
|
+
V1EvidenceCommentUpdatedError,
|
|
1183
|
+
VantaOpContext
|
|
1184
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1185
|
+
input: V1EvidenceCommentUpdatedRequest,
|
|
1186
|
+
output: V1EvidenceCommentUpdatedResponse,
|
|
1187
|
+
errors: [UnknownVantaError],
|
|
1188
|
+
protocol: VantaProtocol,
|
|
1189
|
+
retry: Retry.Retry,
|
|
1190
|
+
}));
|
|
1191
|
+
|
|
1192
|
+
export type V1EvidenceCreatedError = VantaOpError;
|
|
1193
|
+
/** Evidence created Fires when an audit evidence item comes into scope for an audit, including when a previously removed item re-enters scope after soft-delete. Evidence items are derived from the customer's compliance program, so this event means "a new item is now in scope for this audit", not "a customer uploaded a file". A brand-new item starts in `NOT_READY_FOR_AUDIT` with no files; wait for [`v1.evidence.status-changed`](/reference/webhooks/v1-evidence-status-changed) before requesting URLs. A re-scoped item retains its previous status and files. It may already be in `READY_FOR_AUDIT` or another state, and no follow-up status-change event is guaranteed. **This event does not replace the initial sync.** Items can come into scope from the moment the audit exists, which is normally before your access to the audit begins, and events from before that point are not delivered or replayed. Always perform a full traversal of `GET /audits/{auditId}/evidence` when you first pick up an audit, then rely on this event for items that come into scope afterwards. */
|
|
1194
|
+
export const v1EvidenceCreated: API.OperationMethod<
|
|
1195
|
+
V1EvidenceCreatedRequest,
|
|
1196
|
+
V1EvidenceCreatedResponse,
|
|
1197
|
+
V1EvidenceCreatedError,
|
|
1198
|
+
VantaOpContext
|
|
1199
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1200
|
+
input: V1EvidenceCreatedRequest,
|
|
1201
|
+
output: V1EvidenceCreatedResponse,
|
|
1202
|
+
errors: [UnknownVantaError],
|
|
1203
|
+
protocol: VantaProtocol,
|
|
1204
|
+
retry: Retry.Retry,
|
|
1205
|
+
}));
|
|
1206
|
+
|
|
1207
|
+
export type V1EvidenceDeletedError = VantaOpError;
|
|
1208
|
+
/** Evidence deleted Fires when an audit evidence item leaves scope for an audit. Fires once per item. The item is soft-deleted rather than removed: `GET /audits/{auditId}/evidence` still returns it, with a non-null `deletionDate`. Stop requesting URLs for the item. If the item later returns to scope, Vanta emits a fresh [`v1.evidence.created`](/reference/webhooks/v1-evidence-created) event and clears `deletionDate`. */
|
|
1209
|
+
export const v1EvidenceDeleted: API.OperationMethod<
|
|
1210
|
+
V1EvidenceDeletedRequest,
|
|
1211
|
+
V1EvidenceDeletedResponse,
|
|
1212
|
+
V1EvidenceDeletedError,
|
|
1213
|
+
VantaOpContext
|
|
1214
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1215
|
+
input: V1EvidenceDeletedRequest,
|
|
1216
|
+
output: V1EvidenceDeletedResponse,
|
|
1217
|
+
errors: [UnknownVantaError],
|
|
1218
|
+
protocol: VantaProtocol,
|
|
1219
|
+
retry: Retry.Retry,
|
|
1220
|
+
}));
|
|
1221
|
+
|
|
1222
|
+
export type V1EvidenceStatusChangedError = VantaOpError;
|
|
1223
|
+
/** Evidence status changed Fires when an existing audit evidence item changes status. `oldStatus` and `newStatus` always describe a transition of an item that already exists. See [`v1.evidence.created`](/reference/webhooks/v1-evidence-created) for the event that fires when an item first comes into scope for an audit. **Ready-to-review signal:** a `newStatus` of `READY_FOR_AUDIT` means the customer has provided evidence for the item and it is ready for the auditor to review. **When it fires:** once per evidence item, each time its status changes. Status can also change on its own as the customer's compliance posture changes, so an item may move from `READY_FOR_AUDIT` back to `NOT_READY_FOR_AUDIT` without an explicit auditor action. `oldStatus` and `newStatus` can be equal. A newly detected document re-fires this event with both fields set to the item's current status (for example, `READY_FOR_AUDIT`, `ACCEPTED`, or `FLAGGED`). Treat that as a signal that the item's files may have changed and re-fetch its URLs. Do not discard events where the status is unchanged. **Status values:** - `NOT_READY_FOR_AUDIT` — the item is not yet ready for the auditor; required evidence is missing or does not meet the requirement. - `READY_FOR_AUDIT` — the customer has provided the evidence and it is ready for the auditor to review. - `ACCEPTED` — the auditor reviewed the item and accepted it. - `FLAGGED` — the auditor reviewed the item and flagged an issue for the customer to address; once the customer addresses it the item returns to `READY_FOR_AUDIT`. - `NA` — the item is not applicable to this audit. A typical lifecycle is `NOT_READY_FOR_AUDIT → READY_FOR_AUDIT → ACCEPTED` (or `→ FLAGGED`, which returns to `READY_FOR_AUDIT` once the customer addresses the issue). `INITIALIZED` is an internal status and is never delivered — `oldStatus` and `newStatus` are always one of the values above. */
|
|
1224
|
+
export const v1EvidenceStatusChanged: API.OperationMethod<
|
|
1225
|
+
V1EvidenceStatusChangedRequest,
|
|
1226
|
+
V1EvidenceStatusChangedResponse,
|
|
1227
|
+
V1EvidenceStatusChangedError,
|
|
1228
|
+
VantaOpContext
|
|
1229
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1230
|
+
input: V1EvidenceStatusChangedRequest,
|
|
1231
|
+
output: V1EvidenceStatusChangedResponse,
|
|
1232
|
+
errors: [UnknownVantaError],
|
|
1233
|
+
protocol: VantaProtocol,
|
|
1234
|
+
retry: Retry.Retry,
|
|
1235
|
+
}));
|
|
1236
|
+
|
|
1237
|
+
export type V1InformationRequestCommentCreatedError = VantaOpError;
|
|
1238
|
+
/** Information request comment created Fires when a comment is created on an information request. Fires once per comment. The payload contains only identifiers; fetch the comment body from the information request comments endpoint (`GET /v1/audits/{auditId}/information-requests/{requestId}/comments`). */
|
|
1239
|
+
export const v1InformationRequestCommentCreated: API.OperationMethod<
|
|
1240
|
+
V1InformationRequestCommentCreatedRequest,
|
|
1241
|
+
V1InformationRequestCommentCreatedResponse,
|
|
1242
|
+
V1InformationRequestCommentCreatedError,
|
|
1243
|
+
VantaOpContext
|
|
1244
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1245
|
+
input: V1InformationRequestCommentCreatedRequest,
|
|
1246
|
+
output: V1InformationRequestCommentCreatedResponse,
|
|
1247
|
+
errors: [UnknownVantaError],
|
|
1248
|
+
protocol: VantaProtocol,
|
|
1249
|
+
retry: Retry.Retry,
|
|
1250
|
+
}));
|
|
1251
|
+
|
|
1252
|
+
export type V1InformationRequestCommentDeletedError = VantaOpError;
|
|
1253
|
+
/** Information request comment deleted Fires when a comment is deleted from an information request. Fires once per comment deletion. The payload contains only identifiers; the deleted comment is still returned by the information request comments endpoint (`GET /v1/audits/{auditId}/information-requests/{requestId}/comments`) as a soft-deleted record with a non-null `deletionDate`. */
|
|
1254
|
+
export const v1InformationRequestCommentDeleted: API.OperationMethod<
|
|
1255
|
+
V1InformationRequestCommentDeletedRequest,
|
|
1256
|
+
V1InformationRequestCommentDeletedResponse,
|
|
1257
|
+
V1InformationRequestCommentDeletedError,
|
|
1258
|
+
VantaOpContext
|
|
1259
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1260
|
+
input: V1InformationRequestCommentDeletedRequest,
|
|
1261
|
+
output: V1InformationRequestCommentDeletedResponse,
|
|
1262
|
+
errors: [UnknownVantaError],
|
|
1263
|
+
protocol: VantaProtocol,
|
|
1264
|
+
retry: Retry.Retry,
|
|
1265
|
+
}));
|
|
1266
|
+
|
|
1267
|
+
export type V1InformationRequestCommentUpdatedError = VantaOpError;
|
|
1268
|
+
/** Information request comment updated Fires when a comment on an information request is updated. Fires once per comment update. The payload contains only identifiers; fetch the current comment body from the information request comments endpoint (`GET /v1/audits/{auditId}/information-requests/{requestId}/comments`). */
|
|
1269
|
+
export const v1InformationRequestCommentUpdated: API.OperationMethod<
|
|
1270
|
+
V1InformationRequestCommentUpdatedRequest,
|
|
1271
|
+
V1InformationRequestCommentUpdatedResponse,
|
|
1272
|
+
V1InformationRequestCommentUpdatedError,
|
|
1273
|
+
VantaOpContext
|
|
1274
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1275
|
+
input: V1InformationRequestCommentUpdatedRequest,
|
|
1276
|
+
output: V1InformationRequestCommentUpdatedResponse,
|
|
1277
|
+
errors: [UnknownVantaError],
|
|
1278
|
+
protocol: VantaProtocol,
|
|
1279
|
+
retry: Retry.Retry,
|
|
1280
|
+
}));
|
|
1281
|
+
|
|
1282
|
+
export type V1InformationRequestEvidenceCreatedError = VantaOpError;
|
|
1283
|
+
/** Information request evidence created Fires when a piece of evidence is added to an information request. Fires once per piece of evidence — if several pieces are added in a single action, you receive one event per piece. These `v1.information-request.evidence.*` events belong to the Information Request experience and are unrelated to the `v1.evidence.*` classic audit evidence events. */
|
|
1284
|
+
export const v1InformationRequestEvidenceCreated: API.OperationMethod<
|
|
1285
|
+
V1InformationRequestEvidenceCreatedRequest,
|
|
1286
|
+
V1InformationRequestEvidenceCreatedResponse,
|
|
1287
|
+
V1InformationRequestEvidenceCreatedError,
|
|
1288
|
+
VantaOpContext
|
|
1289
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1290
|
+
input: V1InformationRequestEvidenceCreatedRequest,
|
|
1291
|
+
output: V1InformationRequestEvidenceCreatedResponse,
|
|
1292
|
+
errors: [UnknownVantaError],
|
|
1293
|
+
protocol: VantaProtocol,
|
|
1294
|
+
retry: Retry.Retry,
|
|
1295
|
+
}));
|
|
1296
|
+
|
|
1297
|
+
export type V1InformationRequestEvidenceDeletedError = VantaOpError;
|
|
1298
|
+
/** Information request evidence deleted Fires when a piece of evidence is removed from an information request. Fires once per piece of evidence removed. These `v1.information-request.evidence.*` events belong to the Information Request experience and are unrelated to the `v1.evidence.*` classic audit evidence events. */
|
|
1299
|
+
export const v1InformationRequestEvidenceDeleted: API.OperationMethod<
|
|
1300
|
+
V1InformationRequestEvidenceDeletedRequest,
|
|
1301
|
+
V1InformationRequestEvidenceDeletedResponse,
|
|
1302
|
+
V1InformationRequestEvidenceDeletedError,
|
|
1303
|
+
VantaOpContext
|
|
1304
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1305
|
+
input: V1InformationRequestEvidenceDeletedRequest,
|
|
1306
|
+
output: V1InformationRequestEvidenceDeletedResponse,
|
|
1307
|
+
errors: [UnknownVantaError],
|
|
1308
|
+
protocol: VantaProtocol,
|
|
1309
|
+
retry: Retry.Retry,
|
|
1310
|
+
}));
|
|
1311
|
+
|
|
1312
|
+
export type V1InformationRequestStatusChangedError = VantaOpError;
|
|
1313
|
+
/** Information request status changed Fires when an information request's approval status changes. This is a status-change event. **Ready-to-review signal:** a `newStatus` of `READY_FOR_AUDIT` means the customer has submitted the information request and it is ready for the auditor to review. **When it fires:** once per information request, each time its status changes between the values below. Not every status transition emits an event. **Status values:** - `NEEDS_EVIDENCE` — the request still needs work from the customer; it is not yet ready for the auditor. - `READY_FOR_AUDIT` — the customer has submitted the request and it is ready for the auditor to review. - `AUDITOR_APPROVED` — the auditor reviewed the request and approved it. - `AUDITOR_FLAGGED` — the auditor flagged the request for the customer to address. A typical lifecycle is `NEEDS_EVIDENCE → READY_FOR_AUDIT → AUDITOR_APPROVED` (or `→ AUDITOR_FLAGGED`). A request can also move from `READY_FOR_AUDIT` back to `NEEDS_EVIDENCE` when the customer takes it back to continue working on it. */
|
|
1314
|
+
export const v1InformationRequestStatusChanged: API.OperationMethod<
|
|
1315
|
+
V1InformationRequestStatusChangedRequest,
|
|
1316
|
+
V1InformationRequestStatusChangedResponse,
|
|
1317
|
+
V1InformationRequestStatusChangedError,
|
|
1318
|
+
VantaOpContext
|
|
1319
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1320
|
+
input: V1InformationRequestStatusChangedRequest,
|
|
1321
|
+
output: V1InformationRequestStatusChangedResponse,
|
|
1322
|
+
errors: [UnknownVantaError],
|
|
1323
|
+
protocol: VantaProtocol,
|
|
1324
|
+
retry: Retry.Retry,
|
|
1325
|
+
}));
|
|
1326
|
+
|
|
1327
|
+
export type V1QuestionnaireCreatedError = VantaOpError;
|
|
1328
|
+
/** Questionnaire created A questionnaire was created. */
|
|
1329
|
+
export const v1QuestionnaireCreated: API.OperationMethod<
|
|
1330
|
+
V1QuestionnaireCreatedRequest,
|
|
1331
|
+
V1QuestionnaireCreatedResponse,
|
|
1332
|
+
V1QuestionnaireCreatedError,
|
|
1333
|
+
VantaOpContext
|
|
1334
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1335
|
+
input: V1QuestionnaireCreatedRequest,
|
|
1336
|
+
output: V1QuestionnaireCreatedResponse,
|
|
1337
|
+
errors: [UnknownVantaError],
|
|
1338
|
+
protocol: VantaProtocol,
|
|
1339
|
+
retry: Retry.Retry,
|
|
1340
|
+
}));
|
|
1341
|
+
|
|
1342
|
+
export type V1QuestionnaireDeletedError = VantaOpError;
|
|
1343
|
+
/** Questionnaire deleted A questionnaire was deleted. */
|
|
1344
|
+
export const v1QuestionnaireDeleted: API.OperationMethod<
|
|
1345
|
+
V1QuestionnaireDeletedRequest,
|
|
1346
|
+
V1QuestionnaireDeletedResponse,
|
|
1347
|
+
V1QuestionnaireDeletedError,
|
|
1348
|
+
VantaOpContext
|
|
1349
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1350
|
+
input: V1QuestionnaireDeletedRequest,
|
|
1351
|
+
output: V1QuestionnaireDeletedResponse,
|
|
1352
|
+
errors: [UnknownVantaError],
|
|
1353
|
+
protocol: VantaProtocol,
|
|
1354
|
+
retry: Retry.Retry,
|
|
1355
|
+
}));
|
|
1356
|
+
|
|
1357
|
+
export type V1QuestionnaireExportCompletedError = VantaOpError;
|
|
1358
|
+
/** Questionnaire export completed A questionnaire export has completed successfully. */
|
|
1359
|
+
export const v1QuestionnaireExportCompleted: API.OperationMethod<
|
|
1360
|
+
V1QuestionnaireExportCompletedRequest,
|
|
1361
|
+
V1QuestionnaireExportCompletedResponse,
|
|
1362
|
+
V1QuestionnaireExportCompletedError,
|
|
1363
|
+
VantaOpContext
|
|
1364
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1365
|
+
input: V1QuestionnaireExportCompletedRequest,
|
|
1366
|
+
output: V1QuestionnaireExportCompletedResponse,
|
|
1367
|
+
errors: [UnknownVantaError],
|
|
1368
|
+
protocol: VantaProtocol,
|
|
1369
|
+
retry: Retry.Retry,
|
|
1370
|
+
}));
|
|
1371
|
+
|
|
1372
|
+
export type V1QuestionnaireExportFailedError = VantaOpError;
|
|
1373
|
+
/** Questionnaire export failed A questionnaire export has failed. */
|
|
1374
|
+
export const v1QuestionnaireExportFailed: API.OperationMethod<
|
|
1375
|
+
V1QuestionnaireExportFailedRequest,
|
|
1376
|
+
V1QuestionnaireExportFailedResponse,
|
|
1377
|
+
V1QuestionnaireExportFailedError,
|
|
1378
|
+
VantaOpContext
|
|
1379
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1380
|
+
input: V1QuestionnaireExportFailedRequest,
|
|
1381
|
+
output: V1QuestionnaireExportFailedResponse,
|
|
1382
|
+
errors: [UnknownVantaError],
|
|
1383
|
+
protocol: VantaProtocol,
|
|
1384
|
+
retry: Retry.Retry,
|
|
1385
|
+
}));
|
|
1386
|
+
|
|
1387
|
+
export type V1QuestionnaireStatusChangedError = VantaOpError;
|
|
1388
|
+
/** Questionnaire status changed A questionnaire status was changed. */
|
|
1389
|
+
export const v1QuestionnaireStatusChanged: API.OperationMethod<
|
|
1390
|
+
V1QuestionnaireStatusChangedRequest,
|
|
1391
|
+
V1QuestionnaireStatusChangedResponse,
|
|
1392
|
+
V1QuestionnaireStatusChangedError,
|
|
1393
|
+
VantaOpContext
|
|
1394
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1395
|
+
input: V1QuestionnaireStatusChangedRequest,
|
|
1396
|
+
output: V1QuestionnaireStatusChangedResponse,
|
|
1397
|
+
errors: [UnknownVantaError],
|
|
1398
|
+
protocol: VantaProtocol,
|
|
1399
|
+
retry: Retry.Retry,
|
|
1400
|
+
}));
|
|
1401
|
+
|
|
1402
|
+
export type V1TrustCenterAccessRequestApprovedError = VantaOpError;
|
|
1403
|
+
/** Trust Center access request approved A Trust Center access request was approved. */
|
|
1404
|
+
export const v1TrustCenterAccessRequestApproved: API.OperationMethod<
|
|
1405
|
+
V1TrustCenterAccessRequestApprovedRequest,
|
|
1406
|
+
V1TrustCenterAccessRequestApprovedResponse,
|
|
1407
|
+
V1TrustCenterAccessRequestApprovedError,
|
|
1408
|
+
VantaOpContext
|
|
1409
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1410
|
+
input: V1TrustCenterAccessRequestApprovedRequest,
|
|
1411
|
+
output: V1TrustCenterAccessRequestApprovedResponse,
|
|
1412
|
+
errors: [UnknownVantaError],
|
|
1413
|
+
protocol: VantaProtocol,
|
|
1414
|
+
retry: Retry.Retry,
|
|
1415
|
+
}));
|
|
1416
|
+
|
|
1417
|
+
export type V1TrustCenterAccessRequestDeniedError = VantaOpError;
|
|
1418
|
+
/** Trust Center access request denied A Trust Center access request was denied. */
|
|
1419
|
+
export const v1TrustCenterAccessRequestDenied: API.OperationMethod<
|
|
1420
|
+
V1TrustCenterAccessRequestDeniedRequest,
|
|
1421
|
+
V1TrustCenterAccessRequestDeniedResponse,
|
|
1422
|
+
V1TrustCenterAccessRequestDeniedError,
|
|
1423
|
+
VantaOpContext
|
|
1424
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1425
|
+
input: V1TrustCenterAccessRequestDeniedRequest,
|
|
1426
|
+
output: V1TrustCenterAccessRequestDeniedResponse,
|
|
1427
|
+
errors: [UnknownVantaError],
|
|
1428
|
+
protocol: VantaProtocol,
|
|
1429
|
+
retry: Retry.Retry,
|
|
1430
|
+
}));
|
|
1431
|
+
|
|
1432
|
+
export type V1TrustCenterAccessRequestReceivedError = VantaOpError;
|
|
1433
|
+
/** Trust Center access request received A Trust Center access request was received. */
|
|
1434
|
+
export const v1TrustCenterAccessRequestReceived: API.OperationMethod<
|
|
1435
|
+
V1TrustCenterAccessRequestReceivedRequest,
|
|
1436
|
+
V1TrustCenterAccessRequestReceivedResponse,
|
|
1437
|
+
V1TrustCenterAccessRequestReceivedError,
|
|
1438
|
+
VantaOpContext
|
|
1439
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1440
|
+
input: V1TrustCenterAccessRequestReceivedRequest,
|
|
1441
|
+
output: V1TrustCenterAccessRequestReceivedResponse,
|
|
1442
|
+
errors: [UnknownVantaError],
|
|
1443
|
+
protocol: VantaProtocol,
|
|
1444
|
+
retry: Retry.Retry,
|
|
1445
|
+
}));
|
|
1446
|
+
|
|
1447
|
+
export type V1VendorDecisionCreatedError = VantaOpError;
|
|
1448
|
+
/** Vendor decision created A new vendor decision has been created. */
|
|
1449
|
+
export const v1VendorDecisionCreated: API.OperationMethod<
|
|
1450
|
+
V1VendorDecisionCreatedRequest,
|
|
1451
|
+
V1VendorDecisionCreatedResponse,
|
|
1452
|
+
V1VendorDecisionCreatedError,
|
|
1453
|
+
VantaOpContext
|
|
1454
|
+
> = /*@__PURE__*/ API.make(() => ({
|
|
1455
|
+
input: V1VendorDecisionCreatedRequest,
|
|
1456
|
+
output: V1VendorDecisionCreatedResponse,
|
|
1457
|
+
errors: [UnknownVantaError],
|
|
1458
|
+
protocol: VantaProtocol,
|
|
1459
|
+
retry: Retry.Retry,
|
|
1460
|
+
}));
|