vanta-auditor-api-sdk 0.4.0 → 0.4.1
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/bin/mcp-server.js +47 -255
- package/bin/mcp-server.js.map +46 -46
- package/examples/package-lock.json +2 -10
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/models/components/addauditorinput.d.ts +0 -12
- package/models/components/addauditorinput.d.ts.map +1 -1
- package/models/components/addauditorinput.js +1 -12
- package/models/components/addauditorinput.js.map +1 -1
- package/models/components/addcommentinput.d.ts +0 -12
- package/models/components/addcommentinput.d.ts.map +1 -1
- package/models/components/addcommentinput.js +1 -12
- package/models/components/addcommentinput.js.map +1 -1
- package/models/components/audit.d.ts +0 -12
- package/models/components/audit.d.ts.map +1 -1
- package/models/components/audit.js +1 -12
- package/models/components/audit.js.map +1 -1
- package/models/components/auditevidencestate.d.ts +0 -24
- package/models/components/auditevidencestate.d.ts.map +1 -1
- package/models/components/auditevidencestate.js +1 -12
- package/models/components/auditevidencestate.js.map +1 -1
- package/models/components/auditevidencetype.d.ts +0 -18
- package/models/components/auditevidencetype.d.ts.map +1 -1
- package/models/components/auditevidencetype.js +1 -12
- package/models/components/auditevidencetype.js.map +1 -1
- package/models/components/auditevidenceupdateinput.d.ts +0 -24
- package/models/components/auditevidenceupdateinput.d.ts.map +1 -1
- package/models/components/auditevidenceupdateinput.js +1 -23
- package/models/components/auditevidenceupdateinput.js.map +1 -1
- package/models/components/auditfocus.d.ts +0 -16
- package/models/components/auditfocus.d.ts.map +1 -1
- package/models/components/auditfocus.js +1 -12
- package/models/components/auditfocus.js.map +1 -1
- package/models/components/auditor.d.ts +0 -12
- package/models/components/auditor.d.ts.map +1 -1
- package/models/components/auditor.js +1 -12
- package/models/components/auditor.js.map +1 -1
- package/models/components/auditorcontrol.d.ts +0 -24
- package/models/components/auditorcontrol.d.ts.map +1 -1
- package/models/components/auditorcontrol.js +1 -23
- package/models/components/auditorcontrol.js.map +1 -1
- package/models/components/auditorenabledstatetransition.d.ts +0 -22
- package/models/components/auditorenabledstatetransition.d.ts.map +1 -1
- package/models/components/auditorenabledstatetransition.js +1 -12
- package/models/components/auditorenabledstatetransition.js.map +1 -1
- package/models/components/comment.d.ts +0 -12
- package/models/components/comment.d.ts.map +1 -1
- package/models/components/comment.js +1 -12
- package/models/components/comment.js.map +1 -1
- package/models/components/control.d.ts +0 -24
- package/models/components/control.d.ts.map +1 -1
- package/models/components/control.js +1 -23
- package/models/components/control.js.map +1 -1
- package/models/components/controldomain.d.ts +0 -88
- package/models/components/controldomain.d.ts.map +1 -1
- package/models/components/controldomain.js +1 -12
- package/models/components/controldomain.js.map +1 -1
- package/models/components/controlsource.d.ts +0 -16
- package/models/components/controlsource.d.ts.map +1 -1
- package/models/components/controlsource.js +1 -12
- package/models/components/controlsource.js.map +1 -1
- package/models/components/createcustomcontrolinput.d.ts +0 -30
- package/models/components/createcustomcontrolinput.d.ts.map +1 -1
- package/models/components/createcustomcontrolinput.js +1 -23
- package/models/components/createcustomcontrolinput.js.map +1 -1
- package/models/components/createcustomevidencerequestinput.d.ts +0 -12
- package/models/components/createcustomevidencerequestinput.d.ts.map +1 -1
- package/models/components/createcustomevidencerequestinput.js +1 -12
- package/models/components/createcustomevidencerequestinput.js.map +1 -1
- package/models/components/customevidencerequest.d.ts +0 -12
- package/models/components/customevidencerequest.d.ts.map +1 -1
- package/models/components/customevidencerequest.js +1 -12
- package/models/components/customevidencerequest.js.map +1 -1
- package/models/components/customfield.d.ts +0 -24
- package/models/components/customfield.d.ts.map +1 -1
- package/models/components/customfield.js +1 -23
- package/models/components/customfield.js.map +1 -1
- package/models/components/evidence.d.ts +0 -12
- package/models/components/evidence.d.ts.map +1 -1
- package/models/components/evidence.js +1 -12
- package/models/components/evidence.js.map +1 -1
- package/models/components/evidencecontrol.d.ts +0 -12
- package/models/components/evidencecontrol.d.ts.map +1 -1
- package/models/components/evidencecontrol.js +1 -12
- package/models/components/evidencecontrol.js.map +1 -1
- package/models/components/evidenceurl.d.ts +0 -12
- package/models/components/evidenceurl.d.ts.map +1 -1
- package/models/components/evidenceurl.js +1 -12
- package/models/components/evidenceurl.js.map +1 -1
- package/models/components/frameworkid.d.ts +0 -82
- package/models/components/frameworkid.d.ts.map +1 -1
- package/models/components/frameworkid.js +1 -12
- package/models/components/frameworkid.js.map +1 -1
- package/models/components/frameworksection.d.ts +0 -24
- package/models/components/frameworksection.d.ts.map +1 -1
- package/models/components/frameworksection.js +1 -23
- package/models/components/frameworksection.js.map +1 -1
- package/models/components/pageinfo.d.ts +0 -12
- package/models/components/pageinfo.d.ts.map +1 -1
- package/models/components/pageinfo.js +1 -12
- package/models/components/pageinfo.js.map +1 -1
- package/models/components/paginatedresponseaudit.d.ts +0 -24
- package/models/components/paginatedresponseaudit.d.ts.map +1 -1
- package/models/components/paginatedresponseaudit.js +1 -23
- package/models/components/paginatedresponseaudit.js.map +1 -1
- package/models/components/paginatedresponseauditorcontrol.d.ts +0 -24
- package/models/components/paginatedresponseauditorcontrol.d.ts.map +1 -1
- package/models/components/paginatedresponseauditorcontrol.js +1 -23
- package/models/components/paginatedresponseauditorcontrol.js.map +1 -1
- package/models/components/paginatedresponsecomment.d.ts +0 -24
- package/models/components/paginatedresponsecomment.d.ts.map +1 -1
- package/models/components/paginatedresponsecomment.js +1 -23
- package/models/components/paginatedresponsecomment.js.map +1 -1
- package/models/components/paginatedresponseevidence.d.ts +0 -24
- package/models/components/paginatedresponseevidence.d.ts.map +1 -1
- package/models/components/paginatedresponseevidence.js +1 -23
- package/models/components/paginatedresponseevidence.js.map +1 -1
- package/models/components/paginatedresponseevidenceurl.d.ts +0 -24
- package/models/components/paginatedresponseevidenceurl.d.ts.map +1 -1
- package/models/components/paginatedresponseevidenceurl.js +1 -23
- package/models/components/paginatedresponseevidenceurl.js.map +1 -1
- package/models/components/recurrenceduration.d.ts +0 -26
- package/models/components/recurrenceduration.d.ts.map +1 -1
- package/models/components/recurrenceduration.js +1 -12
- package/models/components/recurrenceduration.js.map +1 -1
- package/models/components/section.d.ts +0 -12
- package/models/components/section.d.ts.map +1 -1
- package/models/components/section.js +1 -12
- package/models/components/section.js.map +1 -1
- package/models/components/security.d.ts +0 -12
- package/models/components/security.d.ts.map +1 -1
- package/models/components/security.js +1 -12
- package/models/components/security.js.map +1 -1
- package/models/operations/createcommentforauditevidence.d.ts +0 -12
- package/models/operations/createcommentforauditevidence.d.ts.map +1 -1
- package/models/operations/createcommentforauditevidence.js +1 -12
- package/models/operations/createcommentforauditevidence.js.map +1 -1
- package/models/operations/createcustomcontrol.d.ts +0 -12
- package/models/operations/createcustomcontrol.d.ts.map +1 -1
- package/models/operations/createcustomcontrol.js +1 -12
- package/models/operations/createcustomcontrol.js.map +1 -1
- package/models/operations/createcustomevidencerequest.d.ts +0 -12
- package/models/operations/createcustomevidencerequest.d.ts.map +1 -1
- package/models/operations/createcustomevidencerequest.js +1 -12
- package/models/operations/createcustomevidencerequest.js.map +1 -1
- package/models/operations/listauditcomments.d.ts +0 -12
- package/models/operations/listauditcomments.d.ts.map +1 -1
- package/models/operations/listauditcomments.js +1 -12
- package/models/operations/listauditcomments.js.map +1 -1
- package/models/operations/listauditcontrols.d.ts +0 -12
- package/models/operations/listauditcontrols.d.ts.map +1 -1
- package/models/operations/listauditcontrols.js +1 -12
- package/models/operations/listauditcontrols.js.map +1 -1
- package/models/operations/listauditevidence.d.ts +0 -12
- package/models/operations/listauditevidence.d.ts.map +1 -1
- package/models/operations/listauditevidence.js +1 -12
- package/models/operations/listauditevidence.js.map +1 -1
- package/models/operations/listauditevidenceurls.d.ts +0 -12
- package/models/operations/listauditevidenceurls.d.ts.map +1 -1
- package/models/operations/listauditevidenceurls.js +1 -12
- package/models/operations/listauditevidenceurls.js.map +1 -1
- package/models/operations/listaudits.d.ts +0 -12
- package/models/operations/listaudits.d.ts.map +1 -1
- package/models/operations/listaudits.js +1 -12
- package/models/operations/listaudits.js.map +1 -1
- package/models/operations/updateauditevidence.d.ts +0 -12
- package/models/operations/updateauditevidence.d.ts.map +1 -1
- package/models/operations/updateauditevidence.js +1 -12
- package/models/operations/updateauditevidence.js.map +1 -1
- package/package.json +3 -6
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/models/components/addauditorinput.ts +0 -15
- package/src/models/components/addcommentinput.ts +0 -15
- package/src/models/components/audit.ts +0 -15
- package/src/models/components/auditevidencestate.ts +0 -12
- package/src/models/components/auditevidencetype.ts +0 -12
- package/src/models/components/auditevidenceupdateinput.ts +0 -30
- package/src/models/components/auditfocus.ts +0 -12
- package/src/models/components/auditor.ts +0 -15
- package/src/models/components/auditorcontrol.ts +0 -30
- package/src/models/components/auditorenabledstatetransition.ts +0 -12
- package/src/models/components/comment.ts +0 -15
- package/src/models/components/control.ts +0 -30
- package/src/models/components/controldomain.ts +0 -12
- package/src/models/components/controlsource.ts +0 -12
- package/src/models/components/createcustomcontrolinput.ts +0 -27
- package/src/models/components/createcustomevidencerequestinput.ts +0 -15
- package/src/models/components/customevidencerequest.ts +0 -15
- package/src/models/components/customfield.ts +0 -30
- package/src/models/components/evidence.ts +0 -15
- package/src/models/components/evidencecontrol.ts +0 -15
- package/src/models/components/evidenceurl.ts +0 -15
- package/src/models/components/frameworkid.ts +0 -12
- package/src/models/components/frameworksection.ts +0 -30
- package/src/models/components/pageinfo.ts +0 -15
- package/src/models/components/paginatedresponseaudit.ts +0 -30
- package/src/models/components/paginatedresponseauditorcontrol.ts +0 -32
- package/src/models/components/paginatedresponsecomment.ts +0 -30
- package/src/models/components/paginatedresponseevidence.ts +0 -30
- package/src/models/components/paginatedresponseevidenceurl.ts +0 -32
- package/src/models/components/recurrenceduration.ts +0 -12
- package/src/models/components/section.ts +0 -15
- package/src/models/components/security.ts +0 -15
- package/src/models/operations/createcommentforauditevidence.ts +0 -17
- package/src/models/operations/createcustomcontrol.ts +0 -15
- package/src/models/operations/createcustomevidencerequest.ts +0 -16
- package/src/models/operations/listauditcomments.ts +0 -15
- package/src/models/operations/listauditcontrols.ts +0 -15
- package/src/models/operations/listauditevidence.ts +0 -15
- package/src/models/operations/listauditevidenceurls.ts +0 -15
- package/src/models/operations/listaudits.ts +0 -15
- package/src/models/operations/updateauditevidence.ts +0 -15
- package/src/types/enums.ts +55 -6
- package/src/types/index.ts +0 -1
- package/types/enums.d.ts +10 -6
- package/types/enums.d.ts.map +1 -1
- package/types/enums.js +76 -2
- package/types/enums.js.map +1 -1
- package/types/index.d.ts +0 -1
- package/types/index.d.ts.map +1 -1
- package/types/index.js +1 -3
- package/types/index.js.map +1 -1
|
@@ -33,7 +33,6 @@ export const StatusUpdate$inboundSchema: z.ZodType<
|
|
|
33
33
|
auditorEmail: z.string(),
|
|
34
34
|
stateTransition: AuditorEnabledStateTransition$inboundSchema,
|
|
35
35
|
});
|
|
36
|
-
|
|
37
36
|
/** @internal */
|
|
38
37
|
export type StatusUpdate$Outbound = {
|
|
39
38
|
auditorEmail: string;
|
|
@@ -50,23 +49,9 @@ export const StatusUpdate$outboundSchema: z.ZodType<
|
|
|
50
49
|
stateTransition: AuditorEnabledStateTransition$outboundSchema,
|
|
51
50
|
});
|
|
52
51
|
|
|
53
|
-
/**
|
|
54
|
-
* @internal
|
|
55
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
56
|
-
*/
|
|
57
|
-
export namespace StatusUpdate$ {
|
|
58
|
-
/** @deprecated use `StatusUpdate$inboundSchema` instead. */
|
|
59
|
-
export const inboundSchema = StatusUpdate$inboundSchema;
|
|
60
|
-
/** @deprecated use `StatusUpdate$outboundSchema` instead. */
|
|
61
|
-
export const outboundSchema = StatusUpdate$outboundSchema;
|
|
62
|
-
/** @deprecated use `StatusUpdate$Outbound` instead. */
|
|
63
|
-
export type Outbound = StatusUpdate$Outbound;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
52
|
export function statusUpdateToJSON(statusUpdate: StatusUpdate): string {
|
|
67
53
|
return JSON.stringify(StatusUpdate$outboundSchema.parse(statusUpdate));
|
|
68
54
|
}
|
|
69
|
-
|
|
70
55
|
export function statusUpdateFromJSON(
|
|
71
56
|
jsonString: string,
|
|
72
57
|
): SafeParseResult<StatusUpdate, SDKValidationError> {
|
|
@@ -85,7 +70,6 @@ export const AuditEvidenceUpdateInput$inboundSchema: z.ZodType<
|
|
|
85
70
|
> = z.object({
|
|
86
71
|
statusUpdate: z.lazy(() => StatusUpdate$inboundSchema).optional(),
|
|
87
72
|
});
|
|
88
|
-
|
|
89
73
|
/** @internal */
|
|
90
74
|
export type AuditEvidenceUpdateInput$Outbound = {
|
|
91
75
|
statusUpdate?: StatusUpdate$Outbound | undefined;
|
|
@@ -100,19 +84,6 @@ export const AuditEvidenceUpdateInput$outboundSchema: z.ZodType<
|
|
|
100
84
|
statusUpdate: z.lazy(() => StatusUpdate$outboundSchema).optional(),
|
|
101
85
|
});
|
|
102
86
|
|
|
103
|
-
/**
|
|
104
|
-
* @internal
|
|
105
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
106
|
-
*/
|
|
107
|
-
export namespace AuditEvidenceUpdateInput$ {
|
|
108
|
-
/** @deprecated use `AuditEvidenceUpdateInput$inboundSchema` instead. */
|
|
109
|
-
export const inboundSchema = AuditEvidenceUpdateInput$inboundSchema;
|
|
110
|
-
/** @deprecated use `AuditEvidenceUpdateInput$outboundSchema` instead. */
|
|
111
|
-
export const outboundSchema = AuditEvidenceUpdateInput$outboundSchema;
|
|
112
|
-
/** @deprecated use `AuditEvidenceUpdateInput$Outbound` instead. */
|
|
113
|
-
export type Outbound = AuditEvidenceUpdateInput$Outbound;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
87
|
export function auditEvidenceUpdateInputToJSON(
|
|
117
88
|
auditEvidenceUpdateInput: AuditEvidenceUpdateInput,
|
|
118
89
|
): string {
|
|
@@ -120,7 +91,6 @@ export function auditEvidenceUpdateInputToJSON(
|
|
|
120
91
|
AuditEvidenceUpdateInput$outboundSchema.parse(auditEvidenceUpdateInput),
|
|
121
92
|
);
|
|
122
93
|
}
|
|
123
|
-
|
|
124
94
|
export function auditEvidenceUpdateInputFromJSON(
|
|
125
95
|
jsonString: string,
|
|
126
96
|
): SafeParseResult<AuditEvidenceUpdateInput, SDKValidationError> {
|
|
@@ -14,18 +14,6 @@ export type AuditFocus = ClosedEnum<typeof AuditFocus>;
|
|
|
14
14
|
/** @internal */
|
|
15
15
|
export const AuditFocus$inboundSchema: z.ZodNativeEnum<typeof AuditFocus> = z
|
|
16
16
|
.nativeEnum(AuditFocus);
|
|
17
|
-
|
|
18
17
|
/** @internal */
|
|
19
18
|
export const AuditFocus$outboundSchema: z.ZodNativeEnum<typeof AuditFocus> =
|
|
20
19
|
AuditFocus$inboundSchema;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* @internal
|
|
24
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
25
|
-
*/
|
|
26
|
-
export namespace AuditFocus$ {
|
|
27
|
-
/** @deprecated use `AuditFocus$inboundSchema` instead. */
|
|
28
|
-
export const inboundSchema = AuditFocus$inboundSchema;
|
|
29
|
-
/** @deprecated use `AuditFocus$outboundSchema` instead. */
|
|
30
|
-
export const outboundSchema = AuditFocus$outboundSchema;
|
|
31
|
-
}
|
|
@@ -36,7 +36,6 @@ export const Auditor$inboundSchema: z.ZodType<Auditor, z.ZodTypeDef, unknown> =
|
|
|
36
36
|
givenName: z.string(),
|
|
37
37
|
familyName: z.string(),
|
|
38
38
|
});
|
|
39
|
-
|
|
40
39
|
/** @internal */
|
|
41
40
|
export type Auditor$Outbound = {
|
|
42
41
|
id: string;
|
|
@@ -59,23 +58,9 @@ export const Auditor$outboundSchema: z.ZodType<
|
|
|
59
58
|
familyName: z.string(),
|
|
60
59
|
});
|
|
61
60
|
|
|
62
|
-
/**
|
|
63
|
-
* @internal
|
|
64
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
65
|
-
*/
|
|
66
|
-
export namespace Auditor$ {
|
|
67
|
-
/** @deprecated use `Auditor$inboundSchema` instead. */
|
|
68
|
-
export const inboundSchema = Auditor$inboundSchema;
|
|
69
|
-
/** @deprecated use `Auditor$outboundSchema` instead. */
|
|
70
|
-
export const outboundSchema = Auditor$outboundSchema;
|
|
71
|
-
/** @deprecated use `Auditor$Outbound` instead. */
|
|
72
|
-
export type Outbound = Auditor$Outbound;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
61
|
export function auditorToJSON(auditor: Auditor): string {
|
|
76
62
|
return JSON.stringify(Auditor$outboundSchema.parse(auditor));
|
|
77
63
|
}
|
|
78
|
-
|
|
79
64
|
export function auditorFromJSON(
|
|
80
65
|
jsonString: string,
|
|
81
66
|
): SafeParseResult<Auditor, SDKValidationError> {
|
|
@@ -93,7 +93,6 @@ export const Owner$inboundSchema: z.ZodType<Owner, z.ZodTypeDef, unknown> = z
|
|
|
93
93
|
displayName: z.string(),
|
|
94
94
|
emailAddress: z.string(),
|
|
95
95
|
});
|
|
96
|
-
|
|
97
96
|
/** @internal */
|
|
98
97
|
export type Owner$Outbound = {
|
|
99
98
|
id: string;
|
|
@@ -112,23 +111,9 @@ export const Owner$outboundSchema: z.ZodType<
|
|
|
112
111
|
emailAddress: z.string(),
|
|
113
112
|
});
|
|
114
113
|
|
|
115
|
-
/**
|
|
116
|
-
* @internal
|
|
117
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
118
|
-
*/
|
|
119
|
-
export namespace Owner$ {
|
|
120
|
-
/** @deprecated use `Owner$inboundSchema` instead. */
|
|
121
|
-
export const inboundSchema = Owner$inboundSchema;
|
|
122
|
-
/** @deprecated use `Owner$outboundSchema` instead. */
|
|
123
|
-
export const outboundSchema = Owner$outboundSchema;
|
|
124
|
-
/** @deprecated use `Owner$Outbound` instead. */
|
|
125
|
-
export type Outbound = Owner$Outbound;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
114
|
export function ownerToJSON(owner: Owner): string {
|
|
129
115
|
return JSON.stringify(Owner$outboundSchema.parse(owner));
|
|
130
116
|
}
|
|
131
|
-
|
|
132
117
|
export function ownerFromJSON(
|
|
133
118
|
jsonString: string,
|
|
134
119
|
): SafeParseResult<Owner, SDKValidationError> {
|
|
@@ -157,7 +142,6 @@ export const AuditorControl$inboundSchema: z.ZodType<
|
|
|
157
142
|
framework: z.string(),
|
|
158
143
|
sections: z.array(Section$inboundSchema),
|
|
159
144
|
});
|
|
160
|
-
|
|
161
145
|
/** @internal */
|
|
162
146
|
export type AuditorControl$Outbound = {
|
|
163
147
|
id: string;
|
|
@@ -192,23 +176,9 @@ export const AuditorControl$outboundSchema: z.ZodType<
|
|
|
192
176
|
sections: z.array(Section$outboundSchema),
|
|
193
177
|
});
|
|
194
178
|
|
|
195
|
-
/**
|
|
196
|
-
* @internal
|
|
197
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
198
|
-
*/
|
|
199
|
-
export namespace AuditorControl$ {
|
|
200
|
-
/** @deprecated use `AuditorControl$inboundSchema` instead. */
|
|
201
|
-
export const inboundSchema = AuditorControl$inboundSchema;
|
|
202
|
-
/** @deprecated use `AuditorControl$outboundSchema` instead. */
|
|
203
|
-
export const outboundSchema = AuditorControl$outboundSchema;
|
|
204
|
-
/** @deprecated use `AuditorControl$Outbound` instead. */
|
|
205
|
-
export type Outbound = AuditorControl$Outbound;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
179
|
export function auditorControlToJSON(auditorControl: AuditorControl): string {
|
|
209
180
|
return JSON.stringify(AuditorControl$outboundSchema.parse(auditorControl));
|
|
210
181
|
}
|
|
211
|
-
|
|
212
182
|
export function auditorControlFromJSON(
|
|
213
183
|
jsonString: string,
|
|
214
184
|
): SafeParseResult<AuditorControl, SDKValidationError> {
|
|
@@ -20,19 +20,7 @@ export type AuditorEnabledStateTransition = ClosedEnum<
|
|
|
20
20
|
export const AuditorEnabledStateTransition$inboundSchema: z.ZodNativeEnum<
|
|
21
21
|
typeof AuditorEnabledStateTransition
|
|
22
22
|
> = z.nativeEnum(AuditorEnabledStateTransition);
|
|
23
|
-
|
|
24
23
|
/** @internal */
|
|
25
24
|
export const AuditorEnabledStateTransition$outboundSchema: z.ZodNativeEnum<
|
|
26
25
|
typeof AuditorEnabledStateTransition
|
|
27
26
|
> = AuditorEnabledStateTransition$inboundSchema;
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* @internal
|
|
31
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
32
|
-
*/
|
|
33
|
-
export namespace AuditorEnabledStateTransition$ {
|
|
34
|
-
/** @deprecated use `AuditorEnabledStateTransition$inboundSchema` instead. */
|
|
35
|
-
export const inboundSchema = AuditorEnabledStateTransition$inboundSchema;
|
|
36
|
-
/** @deprecated use `AuditorEnabledStateTransition$outboundSchema` instead. */
|
|
37
|
-
export const outboundSchema = AuditorEnabledStateTransition$outboundSchema;
|
|
38
|
-
}
|
|
@@ -55,7 +55,6 @@ export const Comment$inboundSchema: z.ZodType<Comment, z.ZodTypeDef, unknown> =
|
|
|
55
55
|
),
|
|
56
56
|
email: z.nullable(z.string()),
|
|
57
57
|
});
|
|
58
|
-
|
|
59
58
|
/** @internal */
|
|
60
59
|
export type Comment$Outbound = {
|
|
61
60
|
id: string;
|
|
@@ -82,23 +81,9 @@ export const Comment$outboundSchema: z.ZodType<
|
|
|
82
81
|
email: z.nullable(z.string()),
|
|
83
82
|
});
|
|
84
83
|
|
|
85
|
-
/**
|
|
86
|
-
* @internal
|
|
87
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
88
|
-
*/
|
|
89
|
-
export namespace Comment$ {
|
|
90
|
-
/** @deprecated use `Comment$inboundSchema` instead. */
|
|
91
|
-
export const inboundSchema = Comment$inboundSchema;
|
|
92
|
-
/** @deprecated use `Comment$outboundSchema` instead. */
|
|
93
|
-
export const outboundSchema = Comment$outboundSchema;
|
|
94
|
-
/** @deprecated use `Comment$Outbound` instead. */
|
|
95
|
-
export type Outbound = Comment$Outbound;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
84
|
export function commentToJSON(comment: Comment): string {
|
|
99
85
|
return JSON.stringify(Comment$outboundSchema.parse(comment));
|
|
100
86
|
}
|
|
101
|
-
|
|
102
87
|
export function commentFromJSON(
|
|
103
88
|
jsonString: string,
|
|
104
89
|
): SafeParseResult<Comment, SDKValidationError> {
|
|
@@ -82,7 +82,6 @@ export const ControlOwner$inboundSchema: z.ZodType<
|
|
|
82
82
|
displayName: z.string(),
|
|
83
83
|
emailAddress: z.string(),
|
|
84
84
|
});
|
|
85
|
-
|
|
86
85
|
/** @internal */
|
|
87
86
|
export type ControlOwner$Outbound = {
|
|
88
87
|
id: string;
|
|
@@ -101,23 +100,9 @@ export const ControlOwner$outboundSchema: z.ZodType<
|
|
|
101
100
|
emailAddress: z.string(),
|
|
102
101
|
});
|
|
103
102
|
|
|
104
|
-
/**
|
|
105
|
-
* @internal
|
|
106
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
107
|
-
*/
|
|
108
|
-
export namespace ControlOwner$ {
|
|
109
|
-
/** @deprecated use `ControlOwner$inboundSchema` instead. */
|
|
110
|
-
export const inboundSchema = ControlOwner$inboundSchema;
|
|
111
|
-
/** @deprecated use `ControlOwner$outboundSchema` instead. */
|
|
112
|
-
export const outboundSchema = ControlOwner$outboundSchema;
|
|
113
|
-
/** @deprecated use `ControlOwner$Outbound` instead. */
|
|
114
|
-
export type Outbound = ControlOwner$Outbound;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
103
|
export function controlOwnerToJSON(controlOwner: ControlOwner): string {
|
|
118
104
|
return JSON.stringify(ControlOwner$outboundSchema.parse(controlOwner));
|
|
119
105
|
}
|
|
120
|
-
|
|
121
106
|
export function controlOwnerFromJSON(
|
|
122
107
|
jsonString: string,
|
|
123
108
|
): SafeParseResult<ControlOwner, SDKValidationError> {
|
|
@@ -141,7 +126,6 @@ export const Control$inboundSchema: z.ZodType<Control, z.ZodTypeDef, unknown> =
|
|
|
141
126
|
role: z.nullable(z.string()).optional(),
|
|
142
127
|
customFields: z.array(CustomField$inboundSchema),
|
|
143
128
|
});
|
|
144
|
-
|
|
145
129
|
/** @internal */
|
|
146
130
|
export type Control$Outbound = {
|
|
147
131
|
id: string;
|
|
@@ -172,23 +156,9 @@ export const Control$outboundSchema: z.ZodType<
|
|
|
172
156
|
customFields: z.array(CustomField$outboundSchema),
|
|
173
157
|
});
|
|
174
158
|
|
|
175
|
-
/**
|
|
176
|
-
* @internal
|
|
177
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
178
|
-
*/
|
|
179
|
-
export namespace Control$ {
|
|
180
|
-
/** @deprecated use `Control$inboundSchema` instead. */
|
|
181
|
-
export const inboundSchema = Control$inboundSchema;
|
|
182
|
-
/** @deprecated use `Control$outboundSchema` instead. */
|
|
183
|
-
export const outboundSchema = Control$outboundSchema;
|
|
184
|
-
/** @deprecated use `Control$Outbound` instead. */
|
|
185
|
-
export type Outbound = Control$Outbound;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
159
|
export function controlToJSON(control: Control): string {
|
|
189
160
|
return JSON.stringify(Control$outboundSchema.parse(control));
|
|
190
161
|
}
|
|
191
|
-
|
|
192
162
|
export function controlFromJSON(
|
|
193
163
|
jsonString: string,
|
|
194
164
|
): SafeParseResult<Control, SDKValidationError> {
|
|
@@ -52,19 +52,7 @@ export type ControlDomain = ClosedEnum<typeof ControlDomain>;
|
|
|
52
52
|
export const ControlDomain$inboundSchema: z.ZodNativeEnum<
|
|
53
53
|
typeof ControlDomain
|
|
54
54
|
> = z.nativeEnum(ControlDomain);
|
|
55
|
-
|
|
56
55
|
/** @internal */
|
|
57
56
|
export const ControlDomain$outboundSchema: z.ZodNativeEnum<
|
|
58
57
|
typeof ControlDomain
|
|
59
58
|
> = ControlDomain$inboundSchema;
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
64
|
-
*/
|
|
65
|
-
export namespace ControlDomain$ {
|
|
66
|
-
/** @deprecated use `ControlDomain$inboundSchema` instead. */
|
|
67
|
-
export const inboundSchema = ControlDomain$inboundSchema;
|
|
68
|
-
/** @deprecated use `ControlDomain$outboundSchema` instead. */
|
|
69
|
-
export const outboundSchema = ControlDomain$outboundSchema;
|
|
70
|
-
}
|
|
@@ -15,19 +15,7 @@ export type ControlSource = ClosedEnum<typeof ControlSource>;
|
|
|
15
15
|
export const ControlSource$inboundSchema: z.ZodNativeEnum<
|
|
16
16
|
typeof ControlSource
|
|
17
17
|
> = z.nativeEnum(ControlSource);
|
|
18
|
-
|
|
19
18
|
/** @internal */
|
|
20
19
|
export const ControlSource$outboundSchema: z.ZodNativeEnum<
|
|
21
20
|
typeof ControlSource
|
|
22
21
|
> = ControlSource$inboundSchema;
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* @internal
|
|
26
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
27
|
-
*/
|
|
28
|
-
export namespace ControlSource$ {
|
|
29
|
-
/** @deprecated use `ControlSource$inboundSchema` instead. */
|
|
30
|
-
export const inboundSchema = ControlSource$inboundSchema;
|
|
31
|
-
/** @deprecated use `ControlSource$outboundSchema` instead. */
|
|
32
|
-
export const outboundSchema = ControlSource$outboundSchema;
|
|
33
|
-
}
|
|
@@ -73,22 +73,10 @@ export type CreateCustomControlInput = {
|
|
|
73
73
|
export const Role$inboundSchema: z.ZodNativeEnum<typeof Role> = z.nativeEnum(
|
|
74
74
|
Role,
|
|
75
75
|
);
|
|
76
|
-
|
|
77
76
|
/** @internal */
|
|
78
77
|
export const Role$outboundSchema: z.ZodNativeEnum<typeof Role> =
|
|
79
78
|
Role$inboundSchema;
|
|
80
79
|
|
|
81
|
-
/**
|
|
82
|
-
* @internal
|
|
83
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
84
|
-
*/
|
|
85
|
-
export namespace Role$ {
|
|
86
|
-
/** @deprecated use `Role$inboundSchema` instead. */
|
|
87
|
-
export const inboundSchema = Role$inboundSchema;
|
|
88
|
-
/** @deprecated use `Role$outboundSchema` instead. */
|
|
89
|
-
export const outboundSchema = Role$outboundSchema;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
80
|
/** @internal */
|
|
93
81
|
export const CreateCustomControlInput$inboundSchema: z.ZodType<
|
|
94
82
|
CreateCustomControlInput,
|
|
@@ -105,7 +93,6 @@ export const CreateCustomControlInput$inboundSchema: z.ZodType<
|
|
|
105
93
|
sections: z.nullable(z.array(FrameworkSection$inboundSchema)).optional(),
|
|
106
94
|
role: z.nullable(Role$inboundSchema).optional(),
|
|
107
95
|
});
|
|
108
|
-
|
|
109
96
|
/** @internal */
|
|
110
97
|
export type CreateCustomControlInput$Outbound = {
|
|
111
98
|
externalId: string;
|
|
@@ -132,19 +119,6 @@ export const CreateCustomControlInput$outboundSchema: z.ZodType<
|
|
|
132
119
|
role: z.nullable(Role$outboundSchema).optional(),
|
|
133
120
|
});
|
|
134
121
|
|
|
135
|
-
/**
|
|
136
|
-
* @internal
|
|
137
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
138
|
-
*/
|
|
139
|
-
export namespace CreateCustomControlInput$ {
|
|
140
|
-
/** @deprecated use `CreateCustomControlInput$inboundSchema` instead. */
|
|
141
|
-
export const inboundSchema = CreateCustomControlInput$inboundSchema;
|
|
142
|
-
/** @deprecated use `CreateCustomControlInput$outboundSchema` instead. */
|
|
143
|
-
export const outboundSchema = CreateCustomControlInput$outboundSchema;
|
|
144
|
-
/** @deprecated use `CreateCustomControlInput$Outbound` instead. */
|
|
145
|
-
export type Outbound = CreateCustomControlInput$Outbound;
|
|
146
|
-
}
|
|
147
|
-
|
|
148
122
|
export function createCustomControlInputToJSON(
|
|
149
123
|
createCustomControlInput: CreateCustomControlInput,
|
|
150
124
|
): string {
|
|
@@ -152,7 +126,6 @@ export function createCustomControlInputToJSON(
|
|
|
152
126
|
CreateCustomControlInput$outboundSchema.parse(createCustomControlInput),
|
|
153
127
|
);
|
|
154
128
|
}
|
|
155
|
-
|
|
156
129
|
export function createCustomControlInputFromJSON(
|
|
157
130
|
jsonString: string,
|
|
158
131
|
): SafeParseResult<CreateCustomControlInput, SDKValidationError> {
|
|
@@ -51,7 +51,6 @@ export const CreateCustomEvidenceRequestInput$inboundSchema: z.ZodType<
|
|
|
51
51
|
isRestricted: z.boolean(),
|
|
52
52
|
auditorEmail: z.string(),
|
|
53
53
|
});
|
|
54
|
-
|
|
55
54
|
/** @internal */
|
|
56
55
|
export type CreateCustomEvidenceRequestInput$Outbound = {
|
|
57
56
|
controlIds: Array<string>;
|
|
@@ -78,19 +77,6 @@ export const CreateCustomEvidenceRequestInput$outboundSchema: z.ZodType<
|
|
|
78
77
|
auditorEmail: z.string(),
|
|
79
78
|
});
|
|
80
79
|
|
|
81
|
-
/**
|
|
82
|
-
* @internal
|
|
83
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
84
|
-
*/
|
|
85
|
-
export namespace CreateCustomEvidenceRequestInput$ {
|
|
86
|
-
/** @deprecated use `CreateCustomEvidenceRequestInput$inboundSchema` instead. */
|
|
87
|
-
export const inboundSchema = CreateCustomEvidenceRequestInput$inboundSchema;
|
|
88
|
-
/** @deprecated use `CreateCustomEvidenceRequestInput$outboundSchema` instead. */
|
|
89
|
-
export const outboundSchema = CreateCustomEvidenceRequestInput$outboundSchema;
|
|
90
|
-
/** @deprecated use `CreateCustomEvidenceRequestInput$Outbound` instead. */
|
|
91
|
-
export type Outbound = CreateCustomEvidenceRequestInput$Outbound;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
80
|
export function createCustomEvidenceRequestInputToJSON(
|
|
95
81
|
createCustomEvidenceRequestInput: CreateCustomEvidenceRequestInput,
|
|
96
82
|
): string {
|
|
@@ -100,7 +86,6 @@ export function createCustomEvidenceRequestInputToJSON(
|
|
|
100
86
|
),
|
|
101
87
|
);
|
|
102
88
|
}
|
|
103
|
-
|
|
104
89
|
export function createCustomEvidenceRequestInputFromJSON(
|
|
105
90
|
jsonString: string,
|
|
106
91
|
): SafeParseResult<CreateCustomEvidenceRequestInput, SDKValidationError> {
|
|
@@ -51,7 +51,6 @@ export const CustomEvidenceRequest$inboundSchema: z.ZodType<
|
|
|
51
51
|
reminderWindow: RecurrenceDuration$inboundSchema,
|
|
52
52
|
isRestricted: z.boolean(),
|
|
53
53
|
});
|
|
54
|
-
|
|
55
54
|
/** @internal */
|
|
56
55
|
export type CustomEvidenceRequest$Outbound = {
|
|
57
56
|
id: string;
|
|
@@ -78,19 +77,6 @@ export const CustomEvidenceRequest$outboundSchema: z.ZodType<
|
|
|
78
77
|
isRestricted: z.boolean(),
|
|
79
78
|
});
|
|
80
79
|
|
|
81
|
-
/**
|
|
82
|
-
* @internal
|
|
83
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
84
|
-
*/
|
|
85
|
-
export namespace CustomEvidenceRequest$ {
|
|
86
|
-
/** @deprecated use `CustomEvidenceRequest$inboundSchema` instead. */
|
|
87
|
-
export const inboundSchema = CustomEvidenceRequest$inboundSchema;
|
|
88
|
-
/** @deprecated use `CustomEvidenceRequest$outboundSchema` instead. */
|
|
89
|
-
export const outboundSchema = CustomEvidenceRequest$outboundSchema;
|
|
90
|
-
/** @deprecated use `CustomEvidenceRequest$Outbound` instead. */
|
|
91
|
-
export type Outbound = CustomEvidenceRequest$Outbound;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
80
|
export function customEvidenceRequestToJSON(
|
|
95
81
|
customEvidenceRequest: CustomEvidenceRequest,
|
|
96
82
|
): string {
|
|
@@ -98,7 +84,6 @@ export function customEvidenceRequestToJSON(
|
|
|
98
84
|
CustomEvidenceRequest$outboundSchema.parse(customEvidenceRequest),
|
|
99
85
|
);
|
|
100
86
|
}
|
|
101
|
-
|
|
102
87
|
export function customEvidenceRequestFromJSON(
|
|
103
88
|
jsonString: string,
|
|
104
89
|
): SafeParseResult<CustomEvidenceRequest, SDKValidationError> {
|
|
@@ -17,7 +17,6 @@ export type CustomField = {
|
|
|
17
17
|
/** @internal */
|
|
18
18
|
export const Value$inboundSchema: z.ZodType<Value, z.ZodTypeDef, unknown> = z
|
|
19
19
|
.union([z.string(), z.array(z.string())]);
|
|
20
|
-
|
|
21
20
|
/** @internal */
|
|
22
21
|
export type Value$Outbound = string | Array<string>;
|
|
23
22
|
|
|
@@ -28,23 +27,9 @@ export const Value$outboundSchema: z.ZodType<
|
|
|
28
27
|
Value
|
|
29
28
|
> = z.union([z.string(), z.array(z.string())]);
|
|
30
29
|
|
|
31
|
-
/**
|
|
32
|
-
* @internal
|
|
33
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
34
|
-
*/
|
|
35
|
-
export namespace Value$ {
|
|
36
|
-
/** @deprecated use `Value$inboundSchema` instead. */
|
|
37
|
-
export const inboundSchema = Value$inboundSchema;
|
|
38
|
-
/** @deprecated use `Value$outboundSchema` instead. */
|
|
39
|
-
export const outboundSchema = Value$outboundSchema;
|
|
40
|
-
/** @deprecated use `Value$Outbound` instead. */
|
|
41
|
-
export type Outbound = Value$Outbound;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
30
|
export function valueToJSON(value: Value): string {
|
|
45
31
|
return JSON.stringify(Value$outboundSchema.parse(value));
|
|
46
32
|
}
|
|
47
|
-
|
|
48
33
|
export function valueFromJSON(
|
|
49
34
|
jsonString: string,
|
|
50
35
|
): SafeParseResult<Value, SDKValidationError> {
|
|
@@ -64,7 +49,6 @@ export const CustomField$inboundSchema: z.ZodType<
|
|
|
64
49
|
label: z.string(),
|
|
65
50
|
value: z.union([z.string(), z.array(z.string())]),
|
|
66
51
|
});
|
|
67
|
-
|
|
68
52
|
/** @internal */
|
|
69
53
|
export type CustomField$Outbound = {
|
|
70
54
|
label: string;
|
|
@@ -81,23 +65,9 @@ export const CustomField$outboundSchema: z.ZodType<
|
|
|
81
65
|
value: z.union([z.string(), z.array(z.string())]),
|
|
82
66
|
});
|
|
83
67
|
|
|
84
|
-
/**
|
|
85
|
-
* @internal
|
|
86
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
87
|
-
*/
|
|
88
|
-
export namespace CustomField$ {
|
|
89
|
-
/** @deprecated use `CustomField$inboundSchema` instead. */
|
|
90
|
-
export const inboundSchema = CustomField$inboundSchema;
|
|
91
|
-
/** @deprecated use `CustomField$outboundSchema` instead. */
|
|
92
|
-
export const outboundSchema = CustomField$outboundSchema;
|
|
93
|
-
/** @deprecated use `CustomField$Outbound` instead. */
|
|
94
|
-
export type Outbound = CustomField$Outbound;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
68
|
export function customFieldToJSON(customField: CustomField): string {
|
|
98
69
|
return JSON.stringify(CustomField$outboundSchema.parse(customField));
|
|
99
70
|
}
|
|
100
|
-
|
|
101
71
|
export function customFieldFromJSON(
|
|
102
72
|
jsonString: string,
|
|
103
73
|
): SafeParseResult<CustomField, SDKValidationError> {
|
|
@@ -93,7 +93,6 @@ export const Evidence$inboundSchema: z.ZodType<
|
|
|
93
93
|
relatedControls: z.array(EvidenceControl$inboundSchema),
|
|
94
94
|
description: z.nullable(z.string()),
|
|
95
95
|
});
|
|
96
|
-
|
|
97
96
|
/** @internal */
|
|
98
97
|
export type Evidence$Outbound = {
|
|
99
98
|
id: string;
|
|
@@ -130,23 +129,9 @@ export const Evidence$outboundSchema: z.ZodType<
|
|
|
130
129
|
description: z.nullable(z.string()),
|
|
131
130
|
});
|
|
132
131
|
|
|
133
|
-
/**
|
|
134
|
-
* @internal
|
|
135
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
136
|
-
*/
|
|
137
|
-
export namespace Evidence$ {
|
|
138
|
-
/** @deprecated use `Evidence$inboundSchema` instead. */
|
|
139
|
-
export const inboundSchema = Evidence$inboundSchema;
|
|
140
|
-
/** @deprecated use `Evidence$outboundSchema` instead. */
|
|
141
|
-
export const outboundSchema = Evidence$outboundSchema;
|
|
142
|
-
/** @deprecated use `Evidence$Outbound` instead. */
|
|
143
|
-
export type Outbound = Evidence$Outbound;
|
|
144
|
-
}
|
|
145
|
-
|
|
146
132
|
export function evidenceToJSON(evidence: Evidence): string {
|
|
147
133
|
return JSON.stringify(Evidence$outboundSchema.parse(evidence));
|
|
148
134
|
}
|
|
149
|
-
|
|
150
135
|
export function evidenceFromJSON(
|
|
151
136
|
jsonString: string,
|
|
152
137
|
): SafeParseResult<Evidence, SDKValidationError> {
|
|
@@ -27,7 +27,6 @@ export const EvidenceControl$inboundSchema: z.ZodType<
|
|
|
27
27
|
name: z.string(),
|
|
28
28
|
sectionNames: z.array(z.string()),
|
|
29
29
|
});
|
|
30
|
-
|
|
31
30
|
/** @internal */
|
|
32
31
|
export type EvidenceControl$Outbound = {
|
|
33
32
|
name: string;
|
|
@@ -44,25 +43,11 @@ export const EvidenceControl$outboundSchema: z.ZodType<
|
|
|
44
43
|
sectionNames: z.array(z.string()),
|
|
45
44
|
});
|
|
46
45
|
|
|
47
|
-
/**
|
|
48
|
-
* @internal
|
|
49
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
50
|
-
*/
|
|
51
|
-
export namespace EvidenceControl$ {
|
|
52
|
-
/** @deprecated use `EvidenceControl$inboundSchema` instead. */
|
|
53
|
-
export const inboundSchema = EvidenceControl$inboundSchema;
|
|
54
|
-
/** @deprecated use `EvidenceControl$outboundSchema` instead. */
|
|
55
|
-
export const outboundSchema = EvidenceControl$outboundSchema;
|
|
56
|
-
/** @deprecated use `EvidenceControl$Outbound` instead. */
|
|
57
|
-
export type Outbound = EvidenceControl$Outbound;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
46
|
export function evidenceControlToJSON(
|
|
61
47
|
evidenceControl: EvidenceControl,
|
|
62
48
|
): string {
|
|
63
49
|
return JSON.stringify(EvidenceControl$outboundSchema.parse(evidenceControl));
|
|
64
50
|
}
|
|
65
|
-
|
|
66
51
|
export function evidenceControlFromJSON(
|
|
67
52
|
jsonString: string,
|
|
68
53
|
): SafeParseResult<EvidenceControl, SDKValidationError> {
|
|
@@ -37,7 +37,6 @@ export const EvidenceUrl$inboundSchema: z.ZodType<
|
|
|
37
37
|
filename: z.string(),
|
|
38
38
|
isDownloadable: z.boolean(),
|
|
39
39
|
});
|
|
40
|
-
|
|
41
40
|
/** @internal */
|
|
42
41
|
export type EvidenceUrl$Outbound = {
|
|
43
42
|
id: string;
|
|
@@ -58,23 +57,9 @@ export const EvidenceUrl$outboundSchema: z.ZodType<
|
|
|
58
57
|
isDownloadable: z.boolean(),
|
|
59
58
|
});
|
|
60
59
|
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
64
|
-
*/
|
|
65
|
-
export namespace EvidenceUrl$ {
|
|
66
|
-
/** @deprecated use `EvidenceUrl$inboundSchema` instead. */
|
|
67
|
-
export const inboundSchema = EvidenceUrl$inboundSchema;
|
|
68
|
-
/** @deprecated use `EvidenceUrl$outboundSchema` instead. */
|
|
69
|
-
export const outboundSchema = EvidenceUrl$outboundSchema;
|
|
70
|
-
/** @deprecated use `EvidenceUrl$Outbound` instead. */
|
|
71
|
-
export type Outbound = EvidenceUrl$Outbound;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
60
|
export function evidenceUrlToJSON(evidenceUrl: EvidenceUrl): string {
|
|
75
61
|
return JSON.stringify(EvidenceUrl$outboundSchema.parse(evidenceUrl));
|
|
76
62
|
}
|
|
77
|
-
|
|
78
63
|
export function evidenceUrlFromJSON(
|
|
79
64
|
jsonString: string,
|
|
80
65
|
): SafeParseResult<EvidenceUrl, SDKValidationError> {
|
|
@@ -47,18 +47,6 @@ export type FrameworkId = ClosedEnum<typeof FrameworkId>;
|
|
|
47
47
|
/** @internal */
|
|
48
48
|
export const FrameworkId$inboundSchema: z.ZodNativeEnum<typeof FrameworkId> = z
|
|
49
49
|
.nativeEnum(FrameworkId);
|
|
50
|
-
|
|
51
50
|
/** @internal */
|
|
52
51
|
export const FrameworkId$outboundSchema: z.ZodNativeEnum<typeof FrameworkId> =
|
|
53
52
|
FrameworkId$inboundSchema;
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
58
|
-
*/
|
|
59
|
-
export namespace FrameworkId$ {
|
|
60
|
-
/** @deprecated use `FrameworkId$inboundSchema` instead. */
|
|
61
|
-
export const inboundSchema = FrameworkId$inboundSchema;
|
|
62
|
-
/** @deprecated use `FrameworkId$outboundSchema` instead. */
|
|
63
|
-
export const outboundSchema = FrameworkId$outboundSchema;
|
|
64
|
-
}
|