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.
Files changed (227) hide show
  1. package/bin/mcp-server.js +47 -255
  2. package/bin/mcp-server.js.map +46 -46
  3. package/examples/package-lock.json +2 -10
  4. package/jsr.json +1 -1
  5. package/lib/config.d.ts +3 -3
  6. package/lib/config.js +3 -3
  7. package/mcp-server/mcp-server.js +1 -1
  8. package/mcp-server/server.js +1 -1
  9. package/models/components/addauditorinput.d.ts +0 -12
  10. package/models/components/addauditorinput.d.ts.map +1 -1
  11. package/models/components/addauditorinput.js +1 -12
  12. package/models/components/addauditorinput.js.map +1 -1
  13. package/models/components/addcommentinput.d.ts +0 -12
  14. package/models/components/addcommentinput.d.ts.map +1 -1
  15. package/models/components/addcommentinput.js +1 -12
  16. package/models/components/addcommentinput.js.map +1 -1
  17. package/models/components/audit.d.ts +0 -12
  18. package/models/components/audit.d.ts.map +1 -1
  19. package/models/components/audit.js +1 -12
  20. package/models/components/audit.js.map +1 -1
  21. package/models/components/auditevidencestate.d.ts +0 -24
  22. package/models/components/auditevidencestate.d.ts.map +1 -1
  23. package/models/components/auditevidencestate.js +1 -12
  24. package/models/components/auditevidencestate.js.map +1 -1
  25. package/models/components/auditevidencetype.d.ts +0 -18
  26. package/models/components/auditevidencetype.d.ts.map +1 -1
  27. package/models/components/auditevidencetype.js +1 -12
  28. package/models/components/auditevidencetype.js.map +1 -1
  29. package/models/components/auditevidenceupdateinput.d.ts +0 -24
  30. package/models/components/auditevidenceupdateinput.d.ts.map +1 -1
  31. package/models/components/auditevidenceupdateinput.js +1 -23
  32. package/models/components/auditevidenceupdateinput.js.map +1 -1
  33. package/models/components/auditfocus.d.ts +0 -16
  34. package/models/components/auditfocus.d.ts.map +1 -1
  35. package/models/components/auditfocus.js +1 -12
  36. package/models/components/auditfocus.js.map +1 -1
  37. package/models/components/auditor.d.ts +0 -12
  38. package/models/components/auditor.d.ts.map +1 -1
  39. package/models/components/auditor.js +1 -12
  40. package/models/components/auditor.js.map +1 -1
  41. package/models/components/auditorcontrol.d.ts +0 -24
  42. package/models/components/auditorcontrol.d.ts.map +1 -1
  43. package/models/components/auditorcontrol.js +1 -23
  44. package/models/components/auditorcontrol.js.map +1 -1
  45. package/models/components/auditorenabledstatetransition.d.ts +0 -22
  46. package/models/components/auditorenabledstatetransition.d.ts.map +1 -1
  47. package/models/components/auditorenabledstatetransition.js +1 -12
  48. package/models/components/auditorenabledstatetransition.js.map +1 -1
  49. package/models/components/comment.d.ts +0 -12
  50. package/models/components/comment.d.ts.map +1 -1
  51. package/models/components/comment.js +1 -12
  52. package/models/components/comment.js.map +1 -1
  53. package/models/components/control.d.ts +0 -24
  54. package/models/components/control.d.ts.map +1 -1
  55. package/models/components/control.js +1 -23
  56. package/models/components/control.js.map +1 -1
  57. package/models/components/controldomain.d.ts +0 -88
  58. package/models/components/controldomain.d.ts.map +1 -1
  59. package/models/components/controldomain.js +1 -12
  60. package/models/components/controldomain.js.map +1 -1
  61. package/models/components/controlsource.d.ts +0 -16
  62. package/models/components/controlsource.d.ts.map +1 -1
  63. package/models/components/controlsource.js +1 -12
  64. package/models/components/controlsource.js.map +1 -1
  65. package/models/components/createcustomcontrolinput.d.ts +0 -30
  66. package/models/components/createcustomcontrolinput.d.ts.map +1 -1
  67. package/models/components/createcustomcontrolinput.js +1 -23
  68. package/models/components/createcustomcontrolinput.js.map +1 -1
  69. package/models/components/createcustomevidencerequestinput.d.ts +0 -12
  70. package/models/components/createcustomevidencerequestinput.d.ts.map +1 -1
  71. package/models/components/createcustomevidencerequestinput.js +1 -12
  72. package/models/components/createcustomevidencerequestinput.js.map +1 -1
  73. package/models/components/customevidencerequest.d.ts +0 -12
  74. package/models/components/customevidencerequest.d.ts.map +1 -1
  75. package/models/components/customevidencerequest.js +1 -12
  76. package/models/components/customevidencerequest.js.map +1 -1
  77. package/models/components/customfield.d.ts +0 -24
  78. package/models/components/customfield.d.ts.map +1 -1
  79. package/models/components/customfield.js +1 -23
  80. package/models/components/customfield.js.map +1 -1
  81. package/models/components/evidence.d.ts +0 -12
  82. package/models/components/evidence.d.ts.map +1 -1
  83. package/models/components/evidence.js +1 -12
  84. package/models/components/evidence.js.map +1 -1
  85. package/models/components/evidencecontrol.d.ts +0 -12
  86. package/models/components/evidencecontrol.d.ts.map +1 -1
  87. package/models/components/evidencecontrol.js +1 -12
  88. package/models/components/evidencecontrol.js.map +1 -1
  89. package/models/components/evidenceurl.d.ts +0 -12
  90. package/models/components/evidenceurl.d.ts.map +1 -1
  91. package/models/components/evidenceurl.js +1 -12
  92. package/models/components/evidenceurl.js.map +1 -1
  93. package/models/components/frameworkid.d.ts +0 -82
  94. package/models/components/frameworkid.d.ts.map +1 -1
  95. package/models/components/frameworkid.js +1 -12
  96. package/models/components/frameworkid.js.map +1 -1
  97. package/models/components/frameworksection.d.ts +0 -24
  98. package/models/components/frameworksection.d.ts.map +1 -1
  99. package/models/components/frameworksection.js +1 -23
  100. package/models/components/frameworksection.js.map +1 -1
  101. package/models/components/pageinfo.d.ts +0 -12
  102. package/models/components/pageinfo.d.ts.map +1 -1
  103. package/models/components/pageinfo.js +1 -12
  104. package/models/components/pageinfo.js.map +1 -1
  105. package/models/components/paginatedresponseaudit.d.ts +0 -24
  106. package/models/components/paginatedresponseaudit.d.ts.map +1 -1
  107. package/models/components/paginatedresponseaudit.js +1 -23
  108. package/models/components/paginatedresponseaudit.js.map +1 -1
  109. package/models/components/paginatedresponseauditorcontrol.d.ts +0 -24
  110. package/models/components/paginatedresponseauditorcontrol.d.ts.map +1 -1
  111. package/models/components/paginatedresponseauditorcontrol.js +1 -23
  112. package/models/components/paginatedresponseauditorcontrol.js.map +1 -1
  113. package/models/components/paginatedresponsecomment.d.ts +0 -24
  114. package/models/components/paginatedresponsecomment.d.ts.map +1 -1
  115. package/models/components/paginatedresponsecomment.js +1 -23
  116. package/models/components/paginatedresponsecomment.js.map +1 -1
  117. package/models/components/paginatedresponseevidence.d.ts +0 -24
  118. package/models/components/paginatedresponseevidence.d.ts.map +1 -1
  119. package/models/components/paginatedresponseevidence.js +1 -23
  120. package/models/components/paginatedresponseevidence.js.map +1 -1
  121. package/models/components/paginatedresponseevidenceurl.d.ts +0 -24
  122. package/models/components/paginatedresponseevidenceurl.d.ts.map +1 -1
  123. package/models/components/paginatedresponseevidenceurl.js +1 -23
  124. package/models/components/paginatedresponseevidenceurl.js.map +1 -1
  125. package/models/components/recurrenceduration.d.ts +0 -26
  126. package/models/components/recurrenceduration.d.ts.map +1 -1
  127. package/models/components/recurrenceduration.js +1 -12
  128. package/models/components/recurrenceduration.js.map +1 -1
  129. package/models/components/section.d.ts +0 -12
  130. package/models/components/section.d.ts.map +1 -1
  131. package/models/components/section.js +1 -12
  132. package/models/components/section.js.map +1 -1
  133. package/models/components/security.d.ts +0 -12
  134. package/models/components/security.d.ts.map +1 -1
  135. package/models/components/security.js +1 -12
  136. package/models/components/security.js.map +1 -1
  137. package/models/operations/createcommentforauditevidence.d.ts +0 -12
  138. package/models/operations/createcommentforauditevidence.d.ts.map +1 -1
  139. package/models/operations/createcommentforauditevidence.js +1 -12
  140. package/models/operations/createcommentforauditevidence.js.map +1 -1
  141. package/models/operations/createcustomcontrol.d.ts +0 -12
  142. package/models/operations/createcustomcontrol.d.ts.map +1 -1
  143. package/models/operations/createcustomcontrol.js +1 -12
  144. package/models/operations/createcustomcontrol.js.map +1 -1
  145. package/models/operations/createcustomevidencerequest.d.ts +0 -12
  146. package/models/operations/createcustomevidencerequest.d.ts.map +1 -1
  147. package/models/operations/createcustomevidencerequest.js +1 -12
  148. package/models/operations/createcustomevidencerequest.js.map +1 -1
  149. package/models/operations/listauditcomments.d.ts +0 -12
  150. package/models/operations/listauditcomments.d.ts.map +1 -1
  151. package/models/operations/listauditcomments.js +1 -12
  152. package/models/operations/listauditcomments.js.map +1 -1
  153. package/models/operations/listauditcontrols.d.ts +0 -12
  154. package/models/operations/listauditcontrols.d.ts.map +1 -1
  155. package/models/operations/listauditcontrols.js +1 -12
  156. package/models/operations/listauditcontrols.js.map +1 -1
  157. package/models/operations/listauditevidence.d.ts +0 -12
  158. package/models/operations/listauditevidence.d.ts.map +1 -1
  159. package/models/operations/listauditevidence.js +1 -12
  160. package/models/operations/listauditevidence.js.map +1 -1
  161. package/models/operations/listauditevidenceurls.d.ts +0 -12
  162. package/models/operations/listauditevidenceurls.d.ts.map +1 -1
  163. package/models/operations/listauditevidenceurls.js +1 -12
  164. package/models/operations/listauditevidenceurls.js.map +1 -1
  165. package/models/operations/listaudits.d.ts +0 -12
  166. package/models/operations/listaudits.d.ts.map +1 -1
  167. package/models/operations/listaudits.js +1 -12
  168. package/models/operations/listaudits.js.map +1 -1
  169. package/models/operations/updateauditevidence.d.ts +0 -12
  170. package/models/operations/updateauditevidence.d.ts.map +1 -1
  171. package/models/operations/updateauditevidence.js +1 -12
  172. package/models/operations/updateauditevidence.js.map +1 -1
  173. package/package.json +3 -6
  174. package/src/lib/config.ts +3 -3
  175. package/src/mcp-server/mcp-server.ts +1 -1
  176. package/src/mcp-server/server.ts +1 -1
  177. package/src/models/components/addauditorinput.ts +0 -15
  178. package/src/models/components/addcommentinput.ts +0 -15
  179. package/src/models/components/audit.ts +0 -15
  180. package/src/models/components/auditevidencestate.ts +0 -12
  181. package/src/models/components/auditevidencetype.ts +0 -12
  182. package/src/models/components/auditevidenceupdateinput.ts +0 -30
  183. package/src/models/components/auditfocus.ts +0 -12
  184. package/src/models/components/auditor.ts +0 -15
  185. package/src/models/components/auditorcontrol.ts +0 -30
  186. package/src/models/components/auditorenabledstatetransition.ts +0 -12
  187. package/src/models/components/comment.ts +0 -15
  188. package/src/models/components/control.ts +0 -30
  189. package/src/models/components/controldomain.ts +0 -12
  190. package/src/models/components/controlsource.ts +0 -12
  191. package/src/models/components/createcustomcontrolinput.ts +0 -27
  192. package/src/models/components/createcustomevidencerequestinput.ts +0 -15
  193. package/src/models/components/customevidencerequest.ts +0 -15
  194. package/src/models/components/customfield.ts +0 -30
  195. package/src/models/components/evidence.ts +0 -15
  196. package/src/models/components/evidencecontrol.ts +0 -15
  197. package/src/models/components/evidenceurl.ts +0 -15
  198. package/src/models/components/frameworkid.ts +0 -12
  199. package/src/models/components/frameworksection.ts +0 -30
  200. package/src/models/components/pageinfo.ts +0 -15
  201. package/src/models/components/paginatedresponseaudit.ts +0 -30
  202. package/src/models/components/paginatedresponseauditorcontrol.ts +0 -32
  203. package/src/models/components/paginatedresponsecomment.ts +0 -30
  204. package/src/models/components/paginatedresponseevidence.ts +0 -30
  205. package/src/models/components/paginatedresponseevidenceurl.ts +0 -32
  206. package/src/models/components/recurrenceduration.ts +0 -12
  207. package/src/models/components/section.ts +0 -15
  208. package/src/models/components/security.ts +0 -15
  209. package/src/models/operations/createcommentforauditevidence.ts +0 -17
  210. package/src/models/operations/createcustomcontrol.ts +0 -15
  211. package/src/models/operations/createcustomevidencerequest.ts +0 -16
  212. package/src/models/operations/listauditcomments.ts +0 -15
  213. package/src/models/operations/listauditcontrols.ts +0 -15
  214. package/src/models/operations/listauditevidence.ts +0 -15
  215. package/src/models/operations/listauditevidenceurls.ts +0 -15
  216. package/src/models/operations/listaudits.ts +0 -15
  217. package/src/models/operations/updateauditevidence.ts +0 -15
  218. package/src/types/enums.ts +55 -6
  219. package/src/types/index.ts +0 -1
  220. package/types/enums.d.ts +10 -6
  221. package/types/enums.d.ts.map +1 -1
  222. package/types/enums.js +76 -2
  223. package/types/enums.js.map +1 -1
  224. package/types/index.d.ts +0 -1
  225. package/types/index.d.ts.map +1 -1
  226. package/types/index.js +1 -3
  227. package/types/index.js.map +1 -1
@@ -25,7 +25,6 @@ export const FrameworkSectionFrameworkId$inboundSchema: z.ZodType<
25
25
  z.ZodTypeDef,
26
26
  unknown
27
27
  > = z.union([FrameworkId$inboundSchema, z.string()]);
28
-
29
28
  /** @internal */
30
29
  export type FrameworkSectionFrameworkId$Outbound = string | string;
31
30
 
@@ -36,19 +35,6 @@ export const FrameworkSectionFrameworkId$outboundSchema: z.ZodType<
36
35
  FrameworkSectionFrameworkId
37
36
  > = z.union([FrameworkId$outboundSchema, z.string()]);
38
37
 
39
- /**
40
- * @internal
41
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
42
- */
43
- export namespace FrameworkSectionFrameworkId$ {
44
- /** @deprecated use `FrameworkSectionFrameworkId$inboundSchema` instead. */
45
- export const inboundSchema = FrameworkSectionFrameworkId$inboundSchema;
46
- /** @deprecated use `FrameworkSectionFrameworkId$outboundSchema` instead. */
47
- export const outboundSchema = FrameworkSectionFrameworkId$outboundSchema;
48
- /** @deprecated use `FrameworkSectionFrameworkId$Outbound` instead. */
49
- export type Outbound = FrameworkSectionFrameworkId$Outbound;
50
- }
51
-
52
38
  export function frameworkSectionFrameworkIdToJSON(
53
39
  frameworkSectionFrameworkId: FrameworkSectionFrameworkId,
54
40
  ): string {
@@ -58,7 +44,6 @@ export function frameworkSectionFrameworkIdToJSON(
58
44
  ),
59
45
  );
60
46
  }
61
-
62
47
  export function frameworkSectionFrameworkIdFromJSON(
63
48
  jsonString: string,
64
49
  ): SafeParseResult<FrameworkSectionFrameworkId, SDKValidationError> {
@@ -78,7 +63,6 @@ export const FrameworkSection$inboundSchema: z.ZodType<
78
63
  frameworkId: z.union([FrameworkId$inboundSchema, z.string()]),
79
64
  sectionId: z.string(),
80
65
  });
81
-
82
66
  /** @internal */
83
67
  export type FrameworkSection$Outbound = {
84
68
  frameworkId: string | string;
@@ -95,19 +79,6 @@ export const FrameworkSection$outboundSchema: z.ZodType<
95
79
  sectionId: z.string(),
96
80
  });
97
81
 
98
- /**
99
- * @internal
100
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
101
- */
102
- export namespace FrameworkSection$ {
103
- /** @deprecated use `FrameworkSection$inboundSchema` instead. */
104
- export const inboundSchema = FrameworkSection$inboundSchema;
105
- /** @deprecated use `FrameworkSection$outboundSchema` instead. */
106
- export const outboundSchema = FrameworkSection$outboundSchema;
107
- /** @deprecated use `FrameworkSection$Outbound` instead. */
108
- export type Outbound = FrameworkSection$Outbound;
109
- }
110
-
111
82
  export function frameworkSectionToJSON(
112
83
  frameworkSection: FrameworkSection,
113
84
  ): string {
@@ -115,7 +86,6 @@ export function frameworkSectionToJSON(
115
86
  FrameworkSection$outboundSchema.parse(frameworkSection),
116
87
  );
117
88
  }
118
-
119
89
  export function frameworkSectionFromJSON(
120
90
  jsonString: string,
121
91
  ): SafeParseResult<FrameworkSection, SDKValidationError> {
@@ -40,7 +40,6 @@ export const PageInfo$inboundSchema: z.ZodType<
40
40
  hasPreviousPage: z.boolean(),
41
41
  startCursor: z.nullable(z.string()),
42
42
  });
43
-
44
43
  /** @internal */
45
44
  export type PageInfo$Outbound = {
46
45
  endCursor: string | null;
@@ -61,23 +60,9 @@ export const PageInfo$outboundSchema: z.ZodType<
61
60
  startCursor: z.nullable(z.string()),
62
61
  });
63
62
 
64
- /**
65
- * @internal
66
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
67
- */
68
- export namespace PageInfo$ {
69
- /** @deprecated use `PageInfo$inboundSchema` instead. */
70
- export const inboundSchema = PageInfo$inboundSchema;
71
- /** @deprecated use `PageInfo$outboundSchema` instead. */
72
- export const outboundSchema = PageInfo$outboundSchema;
73
- /** @deprecated use `PageInfo$Outbound` instead. */
74
- export type Outbound = PageInfo$Outbound;
75
- }
76
-
77
63
  export function pageInfoToJSON(pageInfo: PageInfo): string {
78
64
  return JSON.stringify(PageInfo$outboundSchema.parse(pageInfo));
79
65
  }
80
-
81
66
  export function pageInfoFromJSON(
82
67
  jsonString: string,
83
68
  ): SafeParseResult<PageInfo, SDKValidationError> {
@@ -37,7 +37,6 @@ export const Results$inboundSchema: z.ZodType<Results, z.ZodTypeDef, unknown> =
37
37
  data: z.array(Audit$inboundSchema),
38
38
  pageInfo: PageInfo$inboundSchema,
39
39
  });
40
-
41
40
  /** @internal */
42
41
  export type Results$Outbound = {
43
42
  data: Array<Audit$Outbound>;
@@ -54,23 +53,9 @@ export const Results$outboundSchema: z.ZodType<
54
53
  pageInfo: PageInfo$outboundSchema,
55
54
  });
56
55
 
57
- /**
58
- * @internal
59
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
60
- */
61
- export namespace Results$ {
62
- /** @deprecated use `Results$inboundSchema` instead. */
63
- export const inboundSchema = Results$inboundSchema;
64
- /** @deprecated use `Results$outboundSchema` instead. */
65
- export const outboundSchema = Results$outboundSchema;
66
- /** @deprecated use `Results$Outbound` instead. */
67
- export type Outbound = Results$Outbound;
68
- }
69
-
70
56
  export function resultsToJSON(results: Results): string {
71
57
  return JSON.stringify(Results$outboundSchema.parse(results));
72
58
  }
73
-
74
59
  export function resultsFromJSON(
75
60
  jsonString: string,
76
61
  ): SafeParseResult<Results, SDKValidationError> {
@@ -89,7 +74,6 @@ export const PaginatedResponseAudit$inboundSchema: z.ZodType<
89
74
  > = z.object({
90
75
  results: z.lazy(() => Results$inboundSchema),
91
76
  });
92
-
93
77
  /** @internal */
94
78
  export type PaginatedResponseAudit$Outbound = {
95
79
  results: Results$Outbound;
@@ -104,19 +88,6 @@ export const PaginatedResponseAudit$outboundSchema: z.ZodType<
104
88
  results: z.lazy(() => Results$outboundSchema),
105
89
  });
106
90
 
107
- /**
108
- * @internal
109
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
110
- */
111
- export namespace PaginatedResponseAudit$ {
112
- /** @deprecated use `PaginatedResponseAudit$inboundSchema` instead. */
113
- export const inboundSchema = PaginatedResponseAudit$inboundSchema;
114
- /** @deprecated use `PaginatedResponseAudit$outboundSchema` instead. */
115
- export const outboundSchema = PaginatedResponseAudit$outboundSchema;
116
- /** @deprecated use `PaginatedResponseAudit$Outbound` instead. */
117
- export type Outbound = PaginatedResponseAudit$Outbound;
118
- }
119
-
120
91
  export function paginatedResponseAuditToJSON(
121
92
  paginatedResponseAudit: PaginatedResponseAudit,
122
93
  ): string {
@@ -124,7 +95,6 @@ export function paginatedResponseAuditToJSON(
124
95
  PaginatedResponseAudit$outboundSchema.parse(paginatedResponseAudit),
125
96
  );
126
97
  }
127
-
128
98
  export function paginatedResponseAuditFromJSON(
129
99
  jsonString: string,
130
100
  ): SafeParseResult<PaginatedResponseAudit, SDKValidationError> {
@@ -40,7 +40,6 @@ export const PaginatedResponseAuditorControlResults$inboundSchema: z.ZodType<
40
40
  data: z.array(AuditorControl$inboundSchema),
41
41
  pageInfo: PageInfo$inboundSchema,
42
42
  });
43
-
44
43
  /** @internal */
45
44
  export type PaginatedResponseAuditorControlResults$Outbound = {
46
45
  data: Array<AuditorControl$Outbound>;
@@ -57,21 +56,6 @@ export const PaginatedResponseAuditorControlResults$outboundSchema: z.ZodType<
57
56
  pageInfo: PageInfo$outboundSchema,
58
57
  });
59
58
 
60
- /**
61
- * @internal
62
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
63
- */
64
- export namespace PaginatedResponseAuditorControlResults$ {
65
- /** @deprecated use `PaginatedResponseAuditorControlResults$inboundSchema` instead. */
66
- export const inboundSchema =
67
- PaginatedResponseAuditorControlResults$inboundSchema;
68
- /** @deprecated use `PaginatedResponseAuditorControlResults$outboundSchema` instead. */
69
- export const outboundSchema =
70
- PaginatedResponseAuditorControlResults$outboundSchema;
71
- /** @deprecated use `PaginatedResponseAuditorControlResults$Outbound` instead. */
72
- export type Outbound = PaginatedResponseAuditorControlResults$Outbound;
73
- }
74
-
75
59
  export function paginatedResponseAuditorControlResultsToJSON(
76
60
  paginatedResponseAuditorControlResults:
77
61
  PaginatedResponseAuditorControlResults,
@@ -82,7 +66,6 @@ export function paginatedResponseAuditorControlResultsToJSON(
82
66
  ),
83
67
  );
84
68
  }
85
-
86
69
  export function paginatedResponseAuditorControlResultsFromJSON(
87
70
  jsonString: string,
88
71
  ): SafeParseResult<PaginatedResponseAuditorControlResults, SDKValidationError> {
@@ -102,7 +85,6 @@ export const PaginatedResponseAuditorControl$inboundSchema: z.ZodType<
102
85
  > = z.object({
103
86
  results: z.lazy(() => PaginatedResponseAuditorControlResults$inboundSchema),
104
87
  });
105
-
106
88
  /** @internal */
107
89
  export type PaginatedResponseAuditorControl$Outbound = {
108
90
  results: PaginatedResponseAuditorControlResults$Outbound;
@@ -117,19 +99,6 @@ export const PaginatedResponseAuditorControl$outboundSchema: z.ZodType<
117
99
  results: z.lazy(() => PaginatedResponseAuditorControlResults$outboundSchema),
118
100
  });
119
101
 
120
- /**
121
- * @internal
122
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
123
- */
124
- export namespace PaginatedResponseAuditorControl$ {
125
- /** @deprecated use `PaginatedResponseAuditorControl$inboundSchema` instead. */
126
- export const inboundSchema = PaginatedResponseAuditorControl$inboundSchema;
127
- /** @deprecated use `PaginatedResponseAuditorControl$outboundSchema` instead. */
128
- export const outboundSchema = PaginatedResponseAuditorControl$outboundSchema;
129
- /** @deprecated use `PaginatedResponseAuditorControl$Outbound` instead. */
130
- export type Outbound = PaginatedResponseAuditorControl$Outbound;
131
- }
132
-
133
102
  export function paginatedResponseAuditorControlToJSON(
134
103
  paginatedResponseAuditorControl: PaginatedResponseAuditorControl,
135
104
  ): string {
@@ -139,7 +108,6 @@ export function paginatedResponseAuditorControlToJSON(
139
108
  ),
140
109
  );
141
110
  }
142
-
143
111
  export function paginatedResponseAuditorControlFromJSON(
144
112
  jsonString: string,
145
113
  ): SafeParseResult<PaginatedResponseAuditorControl, SDKValidationError> {
@@ -40,7 +40,6 @@ export const PaginatedResponseCommentResults$inboundSchema: z.ZodType<
40
40
  data: z.array(Comment$inboundSchema),
41
41
  pageInfo: PageInfo$inboundSchema,
42
42
  });
43
-
44
43
  /** @internal */
45
44
  export type PaginatedResponseCommentResults$Outbound = {
46
45
  data: Array<Comment$Outbound>;
@@ -57,19 +56,6 @@ export const PaginatedResponseCommentResults$outboundSchema: z.ZodType<
57
56
  pageInfo: PageInfo$outboundSchema,
58
57
  });
59
58
 
60
- /**
61
- * @internal
62
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
63
- */
64
- export namespace PaginatedResponseCommentResults$ {
65
- /** @deprecated use `PaginatedResponseCommentResults$inboundSchema` instead. */
66
- export const inboundSchema = PaginatedResponseCommentResults$inboundSchema;
67
- /** @deprecated use `PaginatedResponseCommentResults$outboundSchema` instead. */
68
- export const outboundSchema = PaginatedResponseCommentResults$outboundSchema;
69
- /** @deprecated use `PaginatedResponseCommentResults$Outbound` instead. */
70
- export type Outbound = PaginatedResponseCommentResults$Outbound;
71
- }
72
-
73
59
  export function paginatedResponseCommentResultsToJSON(
74
60
  paginatedResponseCommentResults: PaginatedResponseCommentResults,
75
61
  ): string {
@@ -79,7 +65,6 @@ export function paginatedResponseCommentResultsToJSON(
79
65
  ),
80
66
  );
81
67
  }
82
-
83
68
  export function paginatedResponseCommentResultsFromJSON(
84
69
  jsonString: string,
85
70
  ): SafeParseResult<PaginatedResponseCommentResults, SDKValidationError> {
@@ -98,7 +83,6 @@ export const PaginatedResponseComment$inboundSchema: z.ZodType<
98
83
  > = z.object({
99
84
  results: z.lazy(() => PaginatedResponseCommentResults$inboundSchema),
100
85
  });
101
-
102
86
  /** @internal */
103
87
  export type PaginatedResponseComment$Outbound = {
104
88
  results: PaginatedResponseCommentResults$Outbound;
@@ -113,19 +97,6 @@ export const PaginatedResponseComment$outboundSchema: z.ZodType<
113
97
  results: z.lazy(() => PaginatedResponseCommentResults$outboundSchema),
114
98
  });
115
99
 
116
- /**
117
- * @internal
118
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
119
- */
120
- export namespace PaginatedResponseComment$ {
121
- /** @deprecated use `PaginatedResponseComment$inboundSchema` instead. */
122
- export const inboundSchema = PaginatedResponseComment$inboundSchema;
123
- /** @deprecated use `PaginatedResponseComment$outboundSchema` instead. */
124
- export const outboundSchema = PaginatedResponseComment$outboundSchema;
125
- /** @deprecated use `PaginatedResponseComment$Outbound` instead. */
126
- export type Outbound = PaginatedResponseComment$Outbound;
127
- }
128
-
129
100
  export function paginatedResponseCommentToJSON(
130
101
  paginatedResponseComment: PaginatedResponseComment,
131
102
  ): string {
@@ -133,7 +104,6 @@ export function paginatedResponseCommentToJSON(
133
104
  PaginatedResponseComment$outboundSchema.parse(paginatedResponseComment),
134
105
  );
135
106
  }
136
-
137
107
  export function paginatedResponseCommentFromJSON(
138
108
  jsonString: string,
139
109
  ): SafeParseResult<PaginatedResponseComment, SDKValidationError> {
@@ -40,7 +40,6 @@ export const PaginatedResponseEvidenceResults$inboundSchema: z.ZodType<
40
40
  data: z.array(Evidence$inboundSchema),
41
41
  pageInfo: PageInfo$inboundSchema,
42
42
  });
43
-
44
43
  /** @internal */
45
44
  export type PaginatedResponseEvidenceResults$Outbound = {
46
45
  data: Array<Evidence$Outbound>;
@@ -57,19 +56,6 @@ export const PaginatedResponseEvidenceResults$outboundSchema: z.ZodType<
57
56
  pageInfo: PageInfo$outboundSchema,
58
57
  });
59
58
 
60
- /**
61
- * @internal
62
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
63
- */
64
- export namespace PaginatedResponseEvidenceResults$ {
65
- /** @deprecated use `PaginatedResponseEvidenceResults$inboundSchema` instead. */
66
- export const inboundSchema = PaginatedResponseEvidenceResults$inboundSchema;
67
- /** @deprecated use `PaginatedResponseEvidenceResults$outboundSchema` instead. */
68
- export const outboundSchema = PaginatedResponseEvidenceResults$outboundSchema;
69
- /** @deprecated use `PaginatedResponseEvidenceResults$Outbound` instead. */
70
- export type Outbound = PaginatedResponseEvidenceResults$Outbound;
71
- }
72
-
73
59
  export function paginatedResponseEvidenceResultsToJSON(
74
60
  paginatedResponseEvidenceResults: PaginatedResponseEvidenceResults,
75
61
  ): string {
@@ -79,7 +65,6 @@ export function paginatedResponseEvidenceResultsToJSON(
79
65
  ),
80
66
  );
81
67
  }
82
-
83
68
  export function paginatedResponseEvidenceResultsFromJSON(
84
69
  jsonString: string,
85
70
  ): SafeParseResult<PaginatedResponseEvidenceResults, SDKValidationError> {
@@ -98,7 +83,6 @@ export const PaginatedResponseEvidence$inboundSchema: z.ZodType<
98
83
  > = z.object({
99
84
  results: z.lazy(() => PaginatedResponseEvidenceResults$inboundSchema),
100
85
  });
101
-
102
86
  /** @internal */
103
87
  export type PaginatedResponseEvidence$Outbound = {
104
88
  results: PaginatedResponseEvidenceResults$Outbound;
@@ -113,19 +97,6 @@ export const PaginatedResponseEvidence$outboundSchema: z.ZodType<
113
97
  results: z.lazy(() => PaginatedResponseEvidenceResults$outboundSchema),
114
98
  });
115
99
 
116
- /**
117
- * @internal
118
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
119
- */
120
- export namespace PaginatedResponseEvidence$ {
121
- /** @deprecated use `PaginatedResponseEvidence$inboundSchema` instead. */
122
- export const inboundSchema = PaginatedResponseEvidence$inboundSchema;
123
- /** @deprecated use `PaginatedResponseEvidence$outboundSchema` instead. */
124
- export const outboundSchema = PaginatedResponseEvidence$outboundSchema;
125
- /** @deprecated use `PaginatedResponseEvidence$Outbound` instead. */
126
- export type Outbound = PaginatedResponseEvidence$Outbound;
127
- }
128
-
129
100
  export function paginatedResponseEvidenceToJSON(
130
101
  paginatedResponseEvidence: PaginatedResponseEvidence,
131
102
  ): string {
@@ -133,7 +104,6 @@ export function paginatedResponseEvidenceToJSON(
133
104
  PaginatedResponseEvidence$outboundSchema.parse(paginatedResponseEvidence),
134
105
  );
135
106
  }
136
-
137
107
  export function paginatedResponseEvidenceFromJSON(
138
108
  jsonString: string,
139
109
  ): SafeParseResult<PaginatedResponseEvidence, SDKValidationError> {
@@ -40,7 +40,6 @@ export const PaginatedResponseEvidenceUrlResults$inboundSchema: z.ZodType<
40
40
  data: z.array(EvidenceUrl$inboundSchema),
41
41
  pageInfo: PageInfo$inboundSchema,
42
42
  });
43
-
44
43
  /** @internal */
45
44
  export type PaginatedResponseEvidenceUrlResults$Outbound = {
46
45
  data: Array<EvidenceUrl$Outbound>;
@@ -57,21 +56,6 @@ export const PaginatedResponseEvidenceUrlResults$outboundSchema: z.ZodType<
57
56
  pageInfo: PageInfo$outboundSchema,
58
57
  });
59
58
 
60
- /**
61
- * @internal
62
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
63
- */
64
- export namespace PaginatedResponseEvidenceUrlResults$ {
65
- /** @deprecated use `PaginatedResponseEvidenceUrlResults$inboundSchema` instead. */
66
- export const inboundSchema =
67
- PaginatedResponseEvidenceUrlResults$inboundSchema;
68
- /** @deprecated use `PaginatedResponseEvidenceUrlResults$outboundSchema` instead. */
69
- export const outboundSchema =
70
- PaginatedResponseEvidenceUrlResults$outboundSchema;
71
- /** @deprecated use `PaginatedResponseEvidenceUrlResults$Outbound` instead. */
72
- export type Outbound = PaginatedResponseEvidenceUrlResults$Outbound;
73
- }
74
-
75
59
  export function paginatedResponseEvidenceUrlResultsToJSON(
76
60
  paginatedResponseEvidenceUrlResults: PaginatedResponseEvidenceUrlResults,
77
61
  ): string {
@@ -81,7 +65,6 @@ export function paginatedResponseEvidenceUrlResultsToJSON(
81
65
  ),
82
66
  );
83
67
  }
84
-
85
68
  export function paginatedResponseEvidenceUrlResultsFromJSON(
86
69
  jsonString: string,
87
70
  ): SafeParseResult<PaginatedResponseEvidenceUrlResults, SDKValidationError> {
@@ -101,7 +84,6 @@ export const PaginatedResponseEvidenceUrl$inboundSchema: z.ZodType<
101
84
  > = z.object({
102
85
  results: z.lazy(() => PaginatedResponseEvidenceUrlResults$inboundSchema),
103
86
  });
104
-
105
87
  /** @internal */
106
88
  export type PaginatedResponseEvidenceUrl$Outbound = {
107
89
  results: PaginatedResponseEvidenceUrlResults$Outbound;
@@ -116,19 +98,6 @@ export const PaginatedResponseEvidenceUrl$outboundSchema: z.ZodType<
116
98
  results: z.lazy(() => PaginatedResponseEvidenceUrlResults$outboundSchema),
117
99
  });
118
100
 
119
- /**
120
- * @internal
121
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
122
- */
123
- export namespace PaginatedResponseEvidenceUrl$ {
124
- /** @deprecated use `PaginatedResponseEvidenceUrl$inboundSchema` instead. */
125
- export const inboundSchema = PaginatedResponseEvidenceUrl$inboundSchema;
126
- /** @deprecated use `PaginatedResponseEvidenceUrl$outboundSchema` instead. */
127
- export const outboundSchema = PaginatedResponseEvidenceUrl$outboundSchema;
128
- /** @deprecated use `PaginatedResponseEvidenceUrl$Outbound` instead. */
129
- export type Outbound = PaginatedResponseEvidenceUrl$Outbound;
130
- }
131
-
132
101
  export function paginatedResponseEvidenceUrlToJSON(
133
102
  paginatedResponseEvidenceUrl: PaginatedResponseEvidenceUrl,
134
103
  ): string {
@@ -138,7 +107,6 @@ export function paginatedResponseEvidenceUrlToJSON(
138
107
  ),
139
108
  );
140
109
  }
141
-
142
110
  export function paginatedResponseEvidenceUrlFromJSON(
143
111
  jsonString: string,
144
112
  ): SafeParseResult<PaginatedResponseEvidenceUrl, SDKValidationError> {
@@ -20,19 +20,7 @@ export type RecurrenceDuration = ClosedEnum<typeof RecurrenceDuration>;
20
20
  export const RecurrenceDuration$inboundSchema: z.ZodNativeEnum<
21
21
  typeof RecurrenceDuration
22
22
  > = z.nativeEnum(RecurrenceDuration);
23
-
24
23
  /** @internal */
25
24
  export const RecurrenceDuration$outboundSchema: z.ZodNativeEnum<
26
25
  typeof RecurrenceDuration
27
26
  > = RecurrenceDuration$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 RecurrenceDuration$ {
34
- /** @deprecated use `RecurrenceDuration$inboundSchema` instead. */
35
- export const inboundSchema = RecurrenceDuration$inboundSchema;
36
- /** @deprecated use `RecurrenceDuration$outboundSchema` instead. */
37
- export const outboundSchema = RecurrenceDuration$outboundSchema;
38
- }
@@ -24,7 +24,6 @@ export const Section$inboundSchema: z.ZodType<Section, z.ZodTypeDef, unknown> =
24
24
  name: z.string(),
25
25
  framework: z.string(),
26
26
  });
27
-
28
27
  /** @internal */
29
28
  export type Section$Outbound = {
30
29
  name: string;
@@ -41,23 +40,9 @@ export const Section$outboundSchema: z.ZodType<
41
40
  framework: z.string(),
42
41
  });
43
42
 
44
- /**
45
- * @internal
46
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
47
- */
48
- export namespace Section$ {
49
- /** @deprecated use `Section$inboundSchema` instead. */
50
- export const inboundSchema = Section$inboundSchema;
51
- /** @deprecated use `Section$outboundSchema` instead. */
52
- export const outboundSchema = Section$outboundSchema;
53
- /** @deprecated use `Section$Outbound` instead. */
54
- export type Outbound = Section$Outbound;
55
- }
56
-
57
43
  export function sectionToJSON(section: Section): string {
58
44
  return JSON.stringify(Section$outboundSchema.parse(section));
59
45
  }
60
-
61
46
  export function sectionFromJSON(
62
47
  jsonString: string,
63
48
  ): SafeParseResult<Section, SDKValidationError> {
@@ -19,7 +19,6 @@ export const Security$inboundSchema: z.ZodType<
19
19
  > = z.object({
20
20
  bearerAuth: z.string().optional(),
21
21
  });
22
-
23
22
  /** @internal */
24
23
  export type Security$Outbound = {
25
24
  bearerAuth?: string | undefined;
@@ -34,23 +33,9 @@ export const Security$outboundSchema: z.ZodType<
34
33
  bearerAuth: z.string().optional(),
35
34
  });
36
35
 
37
- /**
38
- * @internal
39
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
40
- */
41
- export namespace Security$ {
42
- /** @deprecated use `Security$inboundSchema` instead. */
43
- export const inboundSchema = Security$inboundSchema;
44
- /** @deprecated use `Security$outboundSchema` instead. */
45
- export const outboundSchema = Security$outboundSchema;
46
- /** @deprecated use `Security$Outbound` instead. */
47
- export type Outbound = Security$Outbound;
48
- }
49
-
50
36
  export function securityToJSON(security: Security): string {
51
37
  return JSON.stringify(Security$outboundSchema.parse(security));
52
38
  }
53
-
54
39
  export function securityFromJSON(
55
40
  jsonString: string,
56
41
  ): SafeParseResult<Security, SDKValidationError> {
@@ -29,7 +29,6 @@ export const CreateCommentForAuditEvidenceRequest$inboundSchema: z.ZodType<
29
29
  "AddCommentInput": "addCommentInput",
30
30
  });
31
31
  });
32
-
33
32
  /** @internal */
34
33
  export type CreateCommentForAuditEvidenceRequest$Outbound = {
35
34
  auditId: string;
@@ -52,21 +51,6 @@ export const CreateCommentForAuditEvidenceRequest$outboundSchema: z.ZodType<
52
51
  });
53
52
  });
54
53
 
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 CreateCommentForAuditEvidenceRequest$ {
60
- /** @deprecated use `CreateCommentForAuditEvidenceRequest$inboundSchema` instead. */
61
- export const inboundSchema =
62
- CreateCommentForAuditEvidenceRequest$inboundSchema;
63
- /** @deprecated use `CreateCommentForAuditEvidenceRequest$outboundSchema` instead. */
64
- export const outboundSchema =
65
- CreateCommentForAuditEvidenceRequest$outboundSchema;
66
- /** @deprecated use `CreateCommentForAuditEvidenceRequest$Outbound` instead. */
67
- export type Outbound = CreateCommentForAuditEvidenceRequest$Outbound;
68
- }
69
-
70
54
  export function createCommentForAuditEvidenceRequestToJSON(
71
55
  createCommentForAuditEvidenceRequest: CreateCommentForAuditEvidenceRequest,
72
56
  ): string {
@@ -76,7 +60,6 @@ export function createCommentForAuditEvidenceRequestToJSON(
76
60
  ),
77
61
  );
78
62
  }
79
-
80
63
  export function createCommentForAuditEvidenceRequestFromJSON(
81
64
  jsonString: string,
82
65
  ): SafeParseResult<CreateCommentForAuditEvidenceRequest, SDKValidationError> {
@@ -27,7 +27,6 @@ export const CreateCustomControlRequest$inboundSchema: z.ZodType<
27
27
  "CreateCustomControlInput": "createCustomControlInput",
28
28
  });
29
29
  });
30
-
31
30
  /** @internal */
32
31
  export type CreateCustomControlRequest$Outbound = {
33
32
  auditId: string;
@@ -48,19 +47,6 @@ export const CreateCustomControlRequest$outboundSchema: z.ZodType<
48
47
  });
49
48
  });
50
49
 
51
- /**
52
- * @internal
53
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
54
- */
55
- export namespace CreateCustomControlRequest$ {
56
- /** @deprecated use `CreateCustomControlRequest$inboundSchema` instead. */
57
- export const inboundSchema = CreateCustomControlRequest$inboundSchema;
58
- /** @deprecated use `CreateCustomControlRequest$outboundSchema` instead. */
59
- export const outboundSchema = CreateCustomControlRequest$outboundSchema;
60
- /** @deprecated use `CreateCustomControlRequest$Outbound` instead. */
61
- export type Outbound = CreateCustomControlRequest$Outbound;
62
- }
63
-
64
50
  export function createCustomControlRequestToJSON(
65
51
  createCustomControlRequest: CreateCustomControlRequest,
66
52
  ): string {
@@ -68,7 +54,6 @@ export function createCustomControlRequestToJSON(
68
54
  CreateCustomControlRequest$outboundSchema.parse(createCustomControlRequest),
69
55
  );
70
56
  }
71
-
72
57
  export function createCustomControlRequestFromJSON(
73
58
  jsonString: string,
74
59
  ): SafeParseResult<CreateCustomControlRequest, SDKValidationError> {
@@ -28,7 +28,6 @@ export const CreateCustomEvidenceRequestRequest$inboundSchema: z.ZodType<
28
28
  "CreateCustomEvidenceRequestInput": "createCustomEvidenceRequestInput",
29
29
  });
30
30
  });
31
-
32
31
  /** @internal */
33
32
  export type CreateCustomEvidenceRequestRequest$Outbound = {
34
33
  auditId: string;
@@ -51,20 +50,6 @@ export const CreateCustomEvidenceRequestRequest$outboundSchema: z.ZodType<
51
50
  });
52
51
  });
53
52
 
54
- /**
55
- * @internal
56
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
57
- */
58
- export namespace CreateCustomEvidenceRequestRequest$ {
59
- /** @deprecated use `CreateCustomEvidenceRequestRequest$inboundSchema` instead. */
60
- export const inboundSchema = CreateCustomEvidenceRequestRequest$inboundSchema;
61
- /** @deprecated use `CreateCustomEvidenceRequestRequest$outboundSchema` instead. */
62
- export const outboundSchema =
63
- CreateCustomEvidenceRequestRequest$outboundSchema;
64
- /** @deprecated use `CreateCustomEvidenceRequestRequest$Outbound` instead. */
65
- export type Outbound = CreateCustomEvidenceRequestRequest$Outbound;
66
- }
67
-
68
53
  export function createCustomEvidenceRequestRequestToJSON(
69
54
  createCustomEvidenceRequestRequest: CreateCustomEvidenceRequestRequest,
70
55
  ): string {
@@ -74,7 +59,6 @@ export function createCustomEvidenceRequestRequestToJSON(
74
59
  ),
75
60
  );
76
61
  }
77
-
78
62
  export function createCustomEvidenceRequestRequestFromJSON(
79
63
  jsonString: string,
80
64
  ): SafeParseResult<CreateCustomEvidenceRequestRequest, SDKValidationError> {