@corti/sdk 2.1.0-templates.1 → 2.1.0

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 (777) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/errors/UnprocessableEntityError.d.ts +2 -1
  3. package/dist/cjs/api/errors/index.d.ts +0 -1
  4. package/dist/cjs/api/errors/index.js +0 -1
  5. package/dist/cjs/api/resources/agents/client/Client.js +28 -4
  6. package/dist/cjs/api/resources/documents/client/Client.d.ts +0 -39
  7. package/dist/cjs/api/resources/documents/client/Client.js +0 -105
  8. package/dist/cjs/api/resources/documents/index.d.ts +0 -1
  9. package/dist/cjs/api/resources/documents/index.js +0 -1
  10. package/dist/cjs/api/resources/templates/client/Client.d.ts +4 -4
  11. package/dist/cjs/api/resources/templates/client/Client.js +2 -2
  12. package/dist/cjs/api/resources/templates/client/requests/{ListTemplatesRequest.d.ts → TemplatesListRequest.d.ts} +1 -1
  13. package/dist/{esm/api/resources/templates/client/requests/SectionListTemplatesRequest.d.mts → cjs/api/resources/templates/client/requests/TemplatesSectionListRequest.d.ts} +1 -1
  14. package/dist/cjs/api/resources/templates/client/requests/index.d.ts +2 -2
  15. package/dist/cjs/api/types/AgentsErrorResponse.d.ts +12 -0
  16. package/dist/cjs/api/types/AgentsValidationError.d.ts +8 -0
  17. package/dist/cjs/api/types/AgentsValidationErrorErrorsItem.d.ts +4 -0
  18. package/dist/cjs/api/types/AgentsValidationErrorResponse.d.ts +4 -0
  19. package/dist/cjs/api/types/index.d.ts +4 -61
  20. package/dist/cjs/api/types/index.js +4 -61
  21. package/dist/cjs/custom/CortiClient.js +2 -2
  22. package/dist/cjs/custom/auth/CortiAuth.js +2 -2
  23. package/dist/cjs/custom/stream/CustomStream.js +2 -2
  24. package/dist/cjs/custom/transcribe/CustomTranscribe.js +3 -3
  25. package/dist/cjs/serialization/resources/documents/index.d.ts +0 -1
  26. package/dist/cjs/serialization/resources/documents/index.js +0 -1
  27. package/dist/cjs/serialization/types/AgentsErrorResponse.d.ts +13 -0
  28. package/dist/cjs/serialization/types/{FieldDefinition.js → AgentsErrorResponse.js} +6 -5
  29. package/dist/cjs/serialization/types/AgentsValidationError.d.ts +14 -0
  30. package/dist/cjs/serialization/types/{ContextFacts.js → AgentsValidationError.js} +8 -5
  31. package/dist/cjs/serialization/types/AgentsValidationErrorErrorsItem.d.ts +10 -0
  32. package/dist/cjs/serialization/types/{TemplateInstructions.js → AgentsValidationErrorErrorsItem.js} +4 -3
  33. package/dist/cjs/serialization/types/AgentsValidationErrorResponse.d.ts +11 -0
  34. package/dist/cjs/serialization/types/{CreateSectionFromScratchRequest.js → AgentsValidationErrorResponse.js} +6 -6
  35. package/dist/cjs/serialization/types/index.d.ts +4 -61
  36. package/dist/cjs/serialization/types/index.js +4 -61
  37. package/dist/cjs/version.d.ts +1 -1
  38. package/dist/cjs/version.js +1 -1
  39. package/dist/esm/BaseClient.mjs +2 -2
  40. package/dist/esm/api/errors/UnprocessableEntityError.d.mts +2 -1
  41. package/dist/esm/api/errors/index.d.mts +0 -1
  42. package/dist/esm/api/errors/index.mjs +0 -1
  43. package/dist/esm/api/resources/agents/client/Client.mjs +28 -4
  44. package/dist/esm/api/resources/documents/client/Client.d.mts +0 -39
  45. package/dist/esm/api/resources/documents/client/Client.mjs +0 -105
  46. package/dist/esm/api/resources/documents/index.d.mts +0 -1
  47. package/dist/esm/api/resources/documents/index.mjs +0 -1
  48. package/dist/esm/api/resources/templates/client/Client.d.mts +4 -4
  49. package/dist/esm/api/resources/templates/client/Client.mjs +2 -2
  50. package/dist/esm/api/resources/templates/client/requests/{ListTemplatesRequest.d.mts → TemplatesListRequest.d.mts} +1 -1
  51. package/dist/{cjs/api/resources/templates/client/requests/SectionListTemplatesRequest.d.ts → esm/api/resources/templates/client/requests/TemplatesSectionListRequest.d.mts} +1 -1
  52. package/dist/esm/api/resources/templates/client/requests/index.d.mts +2 -2
  53. package/dist/esm/api/types/AgentsErrorResponse.d.mts +12 -0
  54. package/dist/esm/api/types/AgentsValidationError.d.mts +8 -0
  55. package/dist/esm/api/types/AgentsValidationErrorErrorsItem.d.mts +4 -0
  56. package/dist/esm/api/types/AgentsValidationErrorResponse.d.mts +4 -0
  57. package/dist/esm/api/types/index.d.mts +4 -61
  58. package/dist/esm/api/types/index.mjs +4 -61
  59. package/dist/esm/custom/CortiClient.mjs +2 -2
  60. package/dist/esm/custom/auth/CortiAuth.mjs +2 -2
  61. package/dist/esm/custom/stream/CustomStream.mjs +2 -2
  62. package/dist/esm/custom/transcribe/CustomTranscribe.mjs +3 -3
  63. package/dist/esm/serialization/resources/documents/index.d.mts +0 -1
  64. package/dist/esm/serialization/resources/documents/index.mjs +0 -1
  65. package/dist/esm/serialization/types/AgentsErrorResponse.d.mts +13 -0
  66. package/dist/esm/serialization/types/AgentsErrorResponse.mjs +9 -0
  67. package/dist/esm/serialization/types/AgentsValidationError.d.mts +14 -0
  68. package/dist/esm/serialization/types/AgentsValidationError.mjs +10 -0
  69. package/dist/esm/serialization/types/AgentsValidationErrorErrorsItem.d.mts +10 -0
  70. package/dist/esm/serialization/types/AgentsValidationErrorErrorsItem.mjs +6 -0
  71. package/dist/esm/serialization/types/AgentsValidationErrorResponse.d.mts +11 -0
  72. package/dist/esm/serialization/types/AgentsValidationErrorResponse.mjs +9 -0
  73. package/dist/esm/serialization/types/index.d.mts +4 -61
  74. package/dist/esm/serialization/types/index.mjs +4 -61
  75. package/dist/esm/version.d.mts +1 -1
  76. package/dist/esm/version.mjs +1 -1
  77. package/package.json +1 -1
  78. package/dist/cjs/api/errors/ConflictError.d.ts +0 -6
  79. package/dist/cjs/api/errors/ConflictError.js +0 -54
  80. package/dist/cjs/api/resources/documents/resources/index.d.ts +0 -4
  81. package/dist/cjs/api/resources/documents/resources/index.js +0 -43
  82. package/dist/cjs/api/resources/documents/resources/sections/client/Client.d.ts +0 -85
  83. package/dist/cjs/api/resources/documents/resources/sections/client/Client.js +0 -369
  84. package/dist/cjs/api/resources/documents/resources/sections/client/index.d.ts +0 -1
  85. package/dist/cjs/api/resources/documents/resources/sections/client/index.js +0 -17
  86. package/dist/cjs/api/resources/documents/resources/sections/client/requests/ListSectionsRequest.d.ts +0 -16
  87. package/dist/cjs/api/resources/documents/resources/sections/client/requests/UpdateSectionRequest.d.ts +0 -19
  88. package/dist/cjs/api/resources/documents/resources/sections/client/requests/index.d.ts +0 -2
  89. package/dist/cjs/api/resources/documents/resources/sections/client/requests/index.js +0 -2
  90. package/dist/cjs/api/resources/documents/resources/sections/index.d.ts +0 -2
  91. package/dist/cjs/api/resources/documents/resources/sections/index.js +0 -18
  92. package/dist/cjs/api/resources/documents/resources/sections/resources/index.d.ts +0 -2
  93. package/dist/cjs/api/resources/documents/resources/sections/resources/index.js +0 -41
  94. package/dist/cjs/api/resources/documents/resources/sections/resources/versions/client/Client.d.ts +0 -87
  95. package/dist/cjs/api/resources/documents/resources/sections/resources/versions/client/Client.js +0 -352
  96. package/dist/cjs/api/resources/documents/resources/sections/resources/versions/client/index.d.ts +0 -1
  97. package/dist/cjs/api/resources/documents/resources/sections/resources/versions/client/index.js +0 -17
  98. package/dist/cjs/api/resources/documents/resources/sections/resources/versions/client/requests/CreateSectionVersionRequest.d.ts +0 -18
  99. package/dist/cjs/api/resources/documents/resources/sections/resources/versions/client/requests/index.d.ts +0 -1
  100. package/dist/cjs/api/resources/documents/resources/sections/resources/versions/client/requests/index.js +0 -2
  101. package/dist/cjs/api/resources/documents/resources/sections/resources/versions/index.d.ts +0 -1
  102. package/dist/cjs/api/resources/documents/resources/sections/resources/versions/index.js +0 -17
  103. package/dist/cjs/api/resources/documents/resources/templates/client/Client.d.ts +0 -81
  104. package/dist/cjs/api/resources/documents/resources/templates/client/Client.js +0 -365
  105. package/dist/cjs/api/resources/documents/resources/templates/client/index.d.ts +0 -1
  106. package/dist/cjs/api/resources/documents/resources/templates/client/index.js +0 -17
  107. package/dist/cjs/api/resources/documents/resources/templates/client/requests/ListTemplatesRequest.d.ts +0 -16
  108. package/dist/cjs/api/resources/documents/resources/templates/client/requests/UpdateTemplateRequest.d.ts +0 -19
  109. package/dist/cjs/api/resources/documents/resources/templates/client/requests/index.d.ts +0 -2
  110. package/dist/cjs/api/resources/documents/resources/templates/client/requests/index.js +0 -2
  111. package/dist/cjs/api/resources/documents/resources/templates/index.d.ts +0 -2
  112. package/dist/cjs/api/resources/documents/resources/templates/index.js +0 -18
  113. package/dist/cjs/api/resources/documents/resources/templates/resources/index.d.ts +0 -3
  114. package/dist/cjs/api/resources/documents/resources/templates/resources/index.js +0 -42
  115. package/dist/cjs/api/resources/documents/resources/templates/resources/versions/client/Client.d.ts +0 -83
  116. package/dist/cjs/api/resources/documents/resources/templates/resources/versions/client/Client.js +0 -348
  117. package/dist/cjs/api/resources/documents/resources/templates/resources/versions/client/index.d.ts +0 -1
  118. package/dist/cjs/api/resources/documents/resources/templates/resources/versions/client/index.js +0 -17
  119. package/dist/cjs/api/resources/documents/resources/templates/resources/versions/client/requests/CreateTemplateVersionRequest.d.ts +0 -14
  120. package/dist/cjs/api/resources/documents/resources/templates/resources/versions/client/requests/index.d.ts +0 -1
  121. package/dist/cjs/api/resources/documents/resources/templates/resources/versions/client/requests/index.js +0 -2
  122. package/dist/cjs/api/resources/documents/resources/templates/resources/versions/index.d.ts +0 -2
  123. package/dist/cjs/api/resources/documents/resources/templates/resources/versions/index.js +0 -18
  124. package/dist/cjs/api/resources/documents/resources/templates/resources/versions/types/CreateTemplateVersionRequestGeneration.d.ts +0 -5
  125. package/dist/cjs/api/resources/documents/resources/templates/resources/versions/types/CreateTemplateVersionRequestGeneration.js +0 -3
  126. package/dist/cjs/api/resources/documents/resources/templates/resources/versions/types/index.d.ts +0 -1
  127. package/dist/cjs/api/resources/documents/resources/templates/resources/versions/types/index.js +0 -17
  128. package/dist/cjs/api/resources/templates/client/requests/ListTemplatesRequest.js +0 -3
  129. package/dist/cjs/api/resources/templates/client/requests/SectionListTemplatesRequest.js +0 -3
  130. package/dist/cjs/api/types/ArrayNode.d.ts +0 -13
  131. package/dist/cjs/api/types/ArrayNode.js +0 -3
  132. package/dist/cjs/api/types/BoolNode.d.ts +0 -7
  133. package/dist/cjs/api/types/BoolNode.js +0 -3
  134. package/dist/cjs/api/types/ContextFacts.d.ts +0 -8
  135. package/dist/cjs/api/types/ContextFacts.js +0 -3
  136. package/dist/cjs/api/types/ContextText.d.ts +0 -8
  137. package/dist/cjs/api/types/ContextText.js +0 -3
  138. package/dist/cjs/api/types/ContextTranscript.d.ts +0 -8
  139. package/dist/cjs/api/types/ContextTranscript.js +0 -3
  140. package/dist/cjs/api/types/CreateEphemeralDocumentResponse.d.ts +0 -8
  141. package/dist/cjs/api/types/CreateEphemeralDocumentResponse.js +0 -3
  142. package/dist/cjs/api/types/CreateSectionBase.d.ts +0 -17
  143. package/dist/cjs/api/types/CreateSectionBase.js +0 -3
  144. package/dist/cjs/api/types/CreateSectionFromInheritanceRequest.d.ts +0 -9
  145. package/dist/cjs/api/types/CreateSectionFromInheritanceRequest.js +0 -3
  146. package/dist/cjs/api/types/CreateSectionFromScratchRequest.d.ts +0 -7
  147. package/dist/cjs/api/types/CreateSectionFromScratchRequest.js +0 -3
  148. package/dist/cjs/api/types/CreateSectionRequest.d.ts +0 -2
  149. package/dist/cjs/api/types/CreateSectionRequest.js +0 -3
  150. package/dist/cjs/api/types/CreateTemplateBase.d.ts +0 -19
  151. package/dist/cjs/api/types/CreateTemplateBase.js +0 -3
  152. package/dist/cjs/api/types/CreateTemplateFromInheritanceRequest.d.ts +0 -10
  153. package/dist/cjs/api/types/CreateTemplateFromInheritanceRequest.js +0 -3
  154. package/dist/cjs/api/types/CreateTemplateFromInheritanceRequestGeneration.d.ts +0 -8
  155. package/dist/cjs/api/types/CreateTemplateFromInheritanceRequestGeneration.js +0 -3
  156. package/dist/cjs/api/types/CreateTemplateFromScratchRequest.d.ts +0 -7
  157. package/dist/cjs/api/types/CreateTemplateFromScratchRequest.js +0 -3
  158. package/dist/cjs/api/types/CreateTemplateFromScratchRequestGeneration.d.ts +0 -5
  159. package/dist/cjs/api/types/CreateTemplateFromScratchRequestGeneration.js +0 -3
  160. package/dist/cjs/api/types/CreateTemplateRequest.d.ts +0 -2
  161. package/dist/cjs/api/types/CreateTemplateRequest.js +0 -3
  162. package/dist/cjs/api/types/DocumentationEvidence.d.ts +0 -6
  163. package/dist/cjs/api/types/DocumentationEvidence.js +0 -3
  164. package/dist/cjs/api/types/EphemeralDocument.d.ts +0 -12
  165. package/dist/cjs/api/types/EphemeralDocument.js +0 -3
  166. package/dist/cjs/api/types/FieldDefinition.d.ts +0 -8
  167. package/dist/cjs/api/types/FieldDefinition.js +0 -3
  168. package/dist/cjs/api/types/GuidedAssemblyRequest.d.ts +0 -11
  169. package/dist/cjs/api/types/GuidedAssemblyRequest.js +0 -3
  170. package/dist/cjs/api/types/GuidedAssemblySectionRef.d.ts +0 -10
  171. package/dist/cjs/api/types/GuidedAssemblySectionRef.js +0 -3
  172. package/dist/cjs/api/types/GuidedDocumentBase.d.ts +0 -12
  173. package/dist/cjs/api/types/GuidedDocumentBase.js +0 -3
  174. package/dist/cjs/api/types/GuidedDocumentByAssembly.d.ts +0 -8
  175. package/dist/cjs/api/types/GuidedDocumentByAssembly.js +0 -3
  176. package/dist/cjs/api/types/GuidedDocumentByDynamic.d.ts +0 -8
  177. package/dist/cjs/api/types/GuidedDocumentByDynamic.js +0 -3
  178. package/dist/cjs/api/types/GuidedDocumentByTemplateRef.d.ts +0 -8
  179. package/dist/cjs/api/types/GuidedDocumentByTemplateRef.js +0 -3
  180. package/dist/cjs/api/types/GuidedDocumentContext.d.ts +0 -2
  181. package/dist/cjs/api/types/GuidedDocumentContext.js +0 -3
  182. package/dist/cjs/api/types/GuidedDocumentFactMinimal.d.ts +0 -9
  183. package/dist/cjs/api/types/GuidedDocumentFactMinimal.js +0 -3
  184. package/dist/cjs/api/types/GuidedDocumentRequest.d.ts +0 -2
  185. package/dist/cjs/api/types/GuidedDocumentRequest.js +0 -3
  186. package/dist/cjs/api/types/GuidedDocumentTranscriptMetadataMinimal.d.ts +0 -7
  187. package/dist/cjs/api/types/GuidedDocumentTranscriptMetadataMinimal.js +0 -3
  188. package/dist/cjs/api/types/GuidedDocumentTranscriptMinimal.d.ts +0 -8
  189. package/dist/cjs/api/types/GuidedDocumentTranscriptMinimal.js +0 -3
  190. package/dist/cjs/api/types/GuidedDocumentTranscriptSegmentMinimal.d.ts +0 -17
  191. package/dist/cjs/api/types/GuidedDocumentTranscriptSegmentMinimal.js +0 -3
  192. package/dist/cjs/api/types/GuidedDynamicInline.d.ts +0 -5
  193. package/dist/cjs/api/types/GuidedDynamicInline.js +0 -3
  194. package/dist/cjs/api/types/GuidedDynamicRequest.d.ts +0 -8
  195. package/dist/cjs/api/types/GuidedDynamicRequest.js +0 -3
  196. package/dist/cjs/api/types/GuidedSectionOverride.d.ts +0 -9
  197. package/dist/cjs/api/types/GuidedSectionOverride.js +0 -3
  198. package/dist/cjs/api/types/GuidedTemplateOverrides.d.ts +0 -7
  199. package/dist/cjs/api/types/GuidedTemplateOverrides.js +0 -3
  200. package/dist/cjs/api/types/GuidedTemplateRef.d.ts +0 -9
  201. package/dist/cjs/api/types/GuidedTemplateRef.js +0 -3
  202. package/dist/cjs/api/types/Label.d.ts +0 -4
  203. package/dist/cjs/api/types/Label.js +0 -3
  204. package/dist/cjs/api/types/NumberNode.d.ts +0 -13
  205. package/dist/cjs/api/types/NumberNode.js +0 -3
  206. package/dist/cjs/api/types/ObjectNode.d.ts +0 -10
  207. package/dist/cjs/api/types/ObjectNode.js +0 -3
  208. package/dist/cjs/api/types/OutputSchema.d.ts +0 -2
  209. package/dist/cjs/api/types/OutputSchema.js +0 -3
  210. package/dist/cjs/api/types/Section.d.ts +0 -31
  211. package/dist/cjs/api/types/Section.js +0 -3
  212. package/dist/cjs/api/types/SectionGeneration.d.ts +0 -8
  213. package/dist/cjs/api/types/SectionGeneration.js +0 -3
  214. package/dist/cjs/api/types/SectionGenerationPartial.d.ts +0 -12
  215. package/dist/cjs/api/types/SectionGenerationPartial.js +0 -3
  216. package/dist/cjs/api/types/SectionInstructions.d.ts +0 -8
  217. package/dist/cjs/api/types/SectionInstructions.js +0 -3
  218. package/dist/cjs/api/types/SectionInstructionsOverride.d.ts +0 -11
  219. package/dist/cjs/api/types/SectionInstructionsOverride.js +0 -3
  220. package/dist/cjs/api/types/SectionInstructionsPartial.d.ts +0 -11
  221. package/dist/cjs/api/types/SectionInstructionsPartial.js +0 -3
  222. package/dist/cjs/api/types/SectionOverrides.d.ts +0 -11
  223. package/dist/cjs/api/types/SectionOverrides.js +0 -3
  224. package/dist/cjs/api/types/SectionSource.d.ts +0 -6
  225. package/dist/cjs/api/types/SectionSource.js +0 -9
  226. package/dist/cjs/api/types/SectionVersion.d.ts +0 -10
  227. package/dist/cjs/api/types/SectionVersion.js +0 -3
  228. package/dist/cjs/api/types/ShallowTemplateGeneration.d.ts +0 -9
  229. package/dist/cjs/api/types/ShallowTemplateGeneration.js +0 -3
  230. package/dist/cjs/api/types/ShallowTemplateVersionResponse.d.ts +0 -13
  231. package/dist/cjs/api/types/ShallowTemplateVersionResponse.js +0 -3
  232. package/dist/cjs/api/types/StatusResponse.d.ts +0 -5
  233. package/dist/cjs/api/types/StatusResponse.js +0 -3
  234. package/dist/cjs/api/types/StringNode.d.ts +0 -11
  235. package/dist/cjs/api/types/StringNode.js +0 -3
  236. package/dist/cjs/api/types/Template.d.ts +0 -32
  237. package/dist/cjs/api/types/Template.js +0 -3
  238. package/dist/cjs/api/types/TemplateGeneration.d.ts +0 -6
  239. package/dist/cjs/api/types/TemplateGeneration.js +0 -3
  240. package/dist/cjs/api/types/TemplateInstructions.d.ts +0 -4
  241. package/dist/cjs/api/types/TemplateInstructions.js +0 -3
  242. package/dist/cjs/api/types/TemplateInstructionsPartial.d.ts +0 -7
  243. package/dist/cjs/api/types/TemplateInstructionsPartial.js +0 -3
  244. package/dist/cjs/api/types/TemplateSource.d.ts +0 -6
  245. package/dist/cjs/api/types/TemplateSource.js +0 -9
  246. package/dist/cjs/api/types/TemplateVersion.d.ts +0 -13
  247. package/dist/cjs/api/types/TemplateVersion.js +0 -3
  248. package/dist/cjs/api/types/TemplateVersionSectionRef.d.ts +0 -6
  249. package/dist/cjs/api/types/TemplateVersionSectionRef.js +0 -3
  250. package/dist/cjs/api/types/TemplateVersionSectionRequest.d.ts +0 -6
  251. package/dist/cjs/api/types/TemplateVersionSectionRequest.js +0 -3
  252. package/dist/cjs/serialization/resources/documents/resources/index.d.ts +0 -4
  253. package/dist/cjs/serialization/resources/documents/resources/index.js +0 -43
  254. package/dist/cjs/serialization/resources/documents/resources/sections/client/index.d.ts +0 -2
  255. package/dist/cjs/serialization/resources/documents/resources/sections/client/index.js +0 -41
  256. package/dist/cjs/serialization/resources/documents/resources/sections/client/list.d.ts +0 -8
  257. package/dist/cjs/serialization/resources/documents/resources/sections/client/list.js +0 -40
  258. package/dist/cjs/serialization/resources/documents/resources/sections/client/requests/UpdateSectionRequest.d.ts +0 -15
  259. package/dist/cjs/serialization/resources/documents/resources/sections/client/requests/UpdateSectionRequest.js +0 -47
  260. package/dist/cjs/serialization/resources/documents/resources/sections/client/requests/index.d.ts +0 -1
  261. package/dist/cjs/serialization/resources/documents/resources/sections/client/requests/index.js +0 -5
  262. package/dist/cjs/serialization/resources/documents/resources/sections/index.d.ts +0 -2
  263. package/dist/cjs/serialization/resources/documents/resources/sections/index.js +0 -18
  264. package/dist/cjs/serialization/resources/documents/resources/sections/resources/index.d.ts +0 -2
  265. package/dist/cjs/serialization/resources/documents/resources/sections/resources/index.js +0 -41
  266. package/dist/cjs/serialization/resources/documents/resources/sections/resources/versions/client/index.d.ts +0 -2
  267. package/dist/cjs/serialization/resources/documents/resources/sections/resources/versions/client/index.js +0 -41
  268. package/dist/cjs/serialization/resources/documents/resources/sections/resources/versions/client/list.d.ts +0 -8
  269. package/dist/cjs/serialization/resources/documents/resources/sections/resources/versions/client/list.js +0 -40
  270. package/dist/cjs/serialization/resources/documents/resources/sections/resources/versions/client/requests/CreateSectionVersionRequest.d.ts +0 -10
  271. package/dist/cjs/serialization/resources/documents/resources/sections/resources/versions/client/requests/CreateSectionVersionRequest.js +0 -42
  272. package/dist/cjs/serialization/resources/documents/resources/sections/resources/versions/client/requests/index.d.ts +0 -1
  273. package/dist/cjs/serialization/resources/documents/resources/sections/resources/versions/client/requests/index.js +0 -5
  274. package/dist/cjs/serialization/resources/documents/resources/sections/resources/versions/index.d.ts +0 -1
  275. package/dist/cjs/serialization/resources/documents/resources/sections/resources/versions/index.js +0 -17
  276. package/dist/cjs/serialization/resources/documents/resources/templates/client/index.d.ts +0 -2
  277. package/dist/cjs/serialization/resources/documents/resources/templates/client/index.js +0 -41
  278. package/dist/cjs/serialization/resources/documents/resources/templates/client/list.d.ts +0 -8
  279. package/dist/cjs/serialization/resources/documents/resources/templates/client/list.js +0 -40
  280. package/dist/cjs/serialization/resources/documents/resources/templates/client/requests/UpdateTemplateRequest.d.ts +0 -15
  281. package/dist/cjs/serialization/resources/documents/resources/templates/client/requests/UpdateTemplateRequest.js +0 -47
  282. package/dist/cjs/serialization/resources/documents/resources/templates/client/requests/index.d.ts +0 -1
  283. package/dist/cjs/serialization/resources/documents/resources/templates/client/requests/index.js +0 -5
  284. package/dist/cjs/serialization/resources/documents/resources/templates/index.d.ts +0 -2
  285. package/dist/cjs/serialization/resources/documents/resources/templates/index.js +0 -18
  286. package/dist/cjs/serialization/resources/documents/resources/templates/resources/index.d.ts +0 -3
  287. package/dist/cjs/serialization/resources/documents/resources/templates/resources/index.js +0 -42
  288. package/dist/cjs/serialization/resources/documents/resources/templates/resources/versions/client/index.d.ts +0 -2
  289. package/dist/cjs/serialization/resources/documents/resources/templates/resources/versions/client/index.js +0 -41
  290. package/dist/cjs/serialization/resources/documents/resources/templates/resources/versions/client/list.d.ts +0 -8
  291. package/dist/cjs/serialization/resources/documents/resources/templates/resources/versions/client/list.js +0 -40
  292. package/dist/cjs/serialization/resources/documents/resources/templates/resources/versions/client/requests/CreateTemplateVersionRequest.d.ts +0 -10
  293. package/dist/cjs/serialization/resources/documents/resources/templates/resources/versions/client/requests/CreateTemplateVersionRequest.js +0 -42
  294. package/dist/cjs/serialization/resources/documents/resources/templates/resources/versions/client/requests/index.d.ts +0 -1
  295. package/dist/cjs/serialization/resources/documents/resources/templates/resources/versions/client/requests/index.js +0 -5
  296. package/dist/cjs/serialization/resources/documents/resources/templates/resources/versions/index.d.ts +0 -2
  297. package/dist/cjs/serialization/resources/documents/resources/templates/resources/versions/index.js +0 -18
  298. package/dist/cjs/serialization/resources/documents/resources/templates/resources/versions/types/CreateTemplateVersionRequestGeneration.d.ts +0 -12
  299. package/dist/cjs/serialization/resources/documents/resources/templates/resources/versions/types/CreateTemplateVersionRequestGeneration.js +0 -44
  300. package/dist/cjs/serialization/resources/documents/resources/templates/resources/versions/types/index.d.ts +0 -1
  301. package/dist/cjs/serialization/resources/documents/resources/templates/resources/versions/types/index.js +0 -17
  302. package/dist/cjs/serialization/types/ArrayNode.d.ts +0 -14
  303. package/dist/cjs/serialization/types/ArrayNode.js +0 -47
  304. package/dist/cjs/serialization/types/BoolNode.d.ts +0 -11
  305. package/dist/cjs/serialization/types/BoolNode.js +0 -43
  306. package/dist/cjs/serialization/types/ContextFacts.d.ts +0 -11
  307. package/dist/cjs/serialization/types/ContextText.d.ts +0 -10
  308. package/dist/cjs/serialization/types/ContextText.js +0 -42
  309. package/dist/cjs/serialization/types/ContextTranscript.d.ts +0 -11
  310. package/dist/cjs/serialization/types/ContextTranscript.js +0 -43
  311. package/dist/cjs/serialization/types/CreateEphemeralDocumentResponse.d.ts +0 -12
  312. package/dist/cjs/serialization/types/CreateEphemeralDocumentResponse.js +0 -44
  313. package/dist/cjs/serialization/types/CreateSectionBase.d.ts +0 -16
  314. package/dist/cjs/serialization/types/CreateSectionBase.js +0 -48
  315. package/dist/cjs/serialization/types/CreateSectionFromInheritanceRequest.d.ts +0 -12
  316. package/dist/cjs/serialization/types/CreateSectionFromInheritanceRequest.js +0 -46
  317. package/dist/cjs/serialization/types/CreateSectionFromScratchRequest.d.ts +0 -11
  318. package/dist/cjs/serialization/types/CreateSectionRequest.d.ts +0 -9
  319. package/dist/cjs/serialization/types/CreateSectionRequest.js +0 -41
  320. package/dist/cjs/serialization/types/CreateTemplateBase.d.ts +0 -17
  321. package/dist/cjs/serialization/types/CreateTemplateBase.js +0 -49
  322. package/dist/cjs/serialization/types/CreateTemplateFromInheritanceRequest.d.ts +0 -12
  323. package/dist/cjs/serialization/types/CreateTemplateFromInheritanceRequest.js +0 -46
  324. package/dist/cjs/serialization/types/CreateTemplateFromInheritanceRequestGeneration.d.ts +0 -12
  325. package/dist/cjs/serialization/types/CreateTemplateFromInheritanceRequestGeneration.js +0 -44
  326. package/dist/cjs/serialization/types/CreateTemplateFromScratchRequest.d.ts +0 -11
  327. package/dist/cjs/serialization/types/CreateTemplateFromScratchRequest.js +0 -45
  328. package/dist/cjs/serialization/types/CreateTemplateFromScratchRequestGeneration.d.ts +0 -12
  329. package/dist/cjs/serialization/types/CreateTemplateFromScratchRequestGeneration.js +0 -44
  330. package/dist/cjs/serialization/types/CreateTemplateRequest.d.ts +0 -9
  331. package/dist/cjs/serialization/types/CreateTemplateRequest.js +0 -41
  332. package/dist/cjs/serialization/types/DocumentationEvidence.d.ts +0 -12
  333. package/dist/cjs/serialization/types/DocumentationEvidence.js +0 -44
  334. package/dist/cjs/serialization/types/EphemeralDocument.d.ts +0 -14
  335. package/dist/cjs/serialization/types/EphemeralDocument.js +0 -48
  336. package/dist/cjs/serialization/types/FieldDefinition.d.ts +0 -11
  337. package/dist/cjs/serialization/types/GuidedAssemblyRequest.d.ts +0 -13
  338. package/dist/cjs/serialization/types/GuidedAssemblyRequest.js +0 -45
  339. package/dist/cjs/serialization/types/GuidedAssemblySectionRef.d.ts +0 -12
  340. package/dist/cjs/serialization/types/GuidedAssemblySectionRef.js +0 -44
  341. package/dist/cjs/serialization/types/GuidedDocumentBase.d.ts +0 -12
  342. package/dist/cjs/serialization/types/GuidedDocumentBase.js +0 -44
  343. package/dist/cjs/serialization/types/GuidedDocumentByAssembly.d.ts +0 -11
  344. package/dist/cjs/serialization/types/GuidedDocumentByAssembly.js +0 -45
  345. package/dist/cjs/serialization/types/GuidedDocumentByDynamic.d.ts +0 -11
  346. package/dist/cjs/serialization/types/GuidedDocumentByDynamic.js +0 -45
  347. package/dist/cjs/serialization/types/GuidedDocumentByTemplateRef.d.ts +0 -11
  348. package/dist/cjs/serialization/types/GuidedDocumentByTemplateRef.js +0 -45
  349. package/dist/cjs/serialization/types/GuidedDocumentContext.d.ts +0 -10
  350. package/dist/cjs/serialization/types/GuidedDocumentContext.js +0 -42
  351. package/dist/cjs/serialization/types/GuidedDocumentFactMinimal.d.ts +0 -10
  352. package/dist/cjs/serialization/types/GuidedDocumentFactMinimal.js +0 -42
  353. package/dist/cjs/serialization/types/GuidedDocumentRequest.d.ts +0 -10
  354. package/dist/cjs/serialization/types/GuidedDocumentRequest.js +0 -46
  355. package/dist/cjs/serialization/types/GuidedDocumentTranscriptMetadataMinimal.d.ts +0 -10
  356. package/dist/cjs/serialization/types/GuidedDocumentTranscriptMetadataMinimal.js +0 -42
  357. package/dist/cjs/serialization/types/GuidedDocumentTranscriptMinimal.d.ts +0 -12
  358. package/dist/cjs/serialization/types/GuidedDocumentTranscriptMinimal.js +0 -44
  359. package/dist/cjs/serialization/types/GuidedDocumentTranscriptSegmentMinimal.d.ts +0 -14
  360. package/dist/cjs/serialization/types/GuidedDocumentTranscriptSegmentMinimal.js +0 -46
  361. package/dist/cjs/serialization/types/GuidedDynamicInline.d.ts +0 -12
  362. package/dist/cjs/serialization/types/GuidedDynamicInline.js +0 -44
  363. package/dist/cjs/serialization/types/GuidedDynamicRequest.d.ts +0 -11
  364. package/dist/cjs/serialization/types/GuidedDynamicRequest.js +0 -43
  365. package/dist/cjs/serialization/types/GuidedSectionOverride.d.ts +0 -11
  366. package/dist/cjs/serialization/types/GuidedSectionOverride.js +0 -43
  367. package/dist/cjs/serialization/types/GuidedTemplateOverrides.d.ts +0 -12
  368. package/dist/cjs/serialization/types/GuidedTemplateOverrides.js +0 -44
  369. package/dist/cjs/serialization/types/GuidedTemplateRef.d.ts +0 -12
  370. package/dist/cjs/serialization/types/GuidedTemplateRef.js +0 -44
  371. package/dist/cjs/serialization/types/Label.d.ts +0 -10
  372. package/dist/cjs/serialization/types/Label.js +0 -42
  373. package/dist/cjs/serialization/types/NumberNode.d.ts +0 -14
  374. package/dist/cjs/serialization/types/NumberNode.js +0 -46
  375. package/dist/cjs/serialization/types/ObjectNode.d.ts +0 -12
  376. package/dist/cjs/serialization/types/ObjectNode.js +0 -45
  377. package/dist/cjs/serialization/types/OutputSchema.d.ts +0 -10
  378. package/dist/cjs/serialization/types/OutputSchema.js +0 -49
  379. package/dist/cjs/serialization/types/Section.d.ts +0 -25
  380. package/dist/cjs/serialization/types/Section.js +0 -57
  381. package/dist/cjs/serialization/types/SectionGeneration.d.ts +0 -12
  382. package/dist/cjs/serialization/types/SectionGeneration.js +0 -45
  383. package/dist/cjs/serialization/types/SectionGenerationPartial.d.ts +0 -12
  384. package/dist/cjs/serialization/types/SectionGenerationPartial.js +0 -45
  385. package/dist/cjs/serialization/types/SectionInstructions.d.ts +0 -11
  386. package/dist/cjs/serialization/types/SectionInstructions.js +0 -43
  387. package/dist/cjs/serialization/types/SectionInstructionsOverride.d.ts +0 -11
  388. package/dist/cjs/serialization/types/SectionInstructionsOverride.js +0 -43
  389. package/dist/cjs/serialization/types/SectionInstructionsPartial.d.ts +0 -11
  390. package/dist/cjs/serialization/types/SectionInstructionsPartial.js +0 -43
  391. package/dist/cjs/serialization/types/SectionOverrides.d.ts +0 -12
  392. package/dist/cjs/serialization/types/SectionOverrides.js +0 -45
  393. package/dist/cjs/serialization/types/SectionSource.d.ts +0 -7
  394. package/dist/cjs/serialization/types/SectionSource.js +0 -39
  395. package/dist/cjs/serialization/types/SectionVersion.d.ts +0 -13
  396. package/dist/cjs/serialization/types/SectionVersion.js +0 -45
  397. package/dist/cjs/serialization/types/ShallowTemplateGeneration.d.ts +0 -12
  398. package/dist/cjs/serialization/types/ShallowTemplateGeneration.js +0 -44
  399. package/dist/cjs/serialization/types/ShallowTemplateVersionResponse.d.ts +0 -13
  400. package/dist/cjs/serialization/types/ShallowTemplateVersionResponse.js +0 -45
  401. package/dist/cjs/serialization/types/StatusResponse.d.ts +0 -11
  402. package/dist/cjs/serialization/types/StatusResponse.js +0 -43
  403. package/dist/cjs/serialization/types/StringNode.d.ts +0 -13
  404. package/dist/cjs/serialization/types/StringNode.js +0 -45
  405. package/dist/cjs/serialization/types/Template.d.ts +0 -26
  406. package/dist/cjs/serialization/types/Template.js +0 -58
  407. package/dist/cjs/serialization/types/TemplateGeneration.d.ts +0 -12
  408. package/dist/cjs/serialization/types/TemplateGeneration.js +0 -44
  409. package/dist/cjs/serialization/types/TemplateInstructions.d.ts +0 -9
  410. package/dist/cjs/serialization/types/TemplateInstructionsPartial.d.ts +0 -9
  411. package/dist/cjs/serialization/types/TemplateInstructionsPartial.js +0 -41
  412. package/dist/cjs/serialization/types/TemplateSource.d.ts +0 -7
  413. package/dist/cjs/serialization/types/TemplateSource.js +0 -39
  414. package/dist/cjs/serialization/types/TemplateVersion.d.ts +0 -13
  415. package/dist/cjs/serialization/types/TemplateVersion.js +0 -45
  416. package/dist/cjs/serialization/types/TemplateVersionSectionRef.d.ts +0 -10
  417. package/dist/cjs/serialization/types/TemplateVersionSectionRef.js +0 -42
  418. package/dist/cjs/serialization/types/TemplateVersionSectionRequest.d.ts +0 -10
  419. package/dist/cjs/serialization/types/TemplateVersionSectionRequest.js +0 -42
  420. package/dist/esm/api/errors/ConflictError.d.mts +0 -6
  421. package/dist/esm/api/errors/ConflictError.mjs +0 -17
  422. package/dist/esm/api/resources/documents/resources/index.d.mts +0 -4
  423. package/dist/esm/api/resources/documents/resources/index.mjs +0 -4
  424. package/dist/esm/api/resources/documents/resources/sections/client/Client.d.mts +0 -85
  425. package/dist/esm/api/resources/documents/resources/sections/client/Client.mjs +0 -332
  426. package/dist/esm/api/resources/documents/resources/sections/client/index.d.mts +0 -1
  427. package/dist/esm/api/resources/documents/resources/sections/client/index.mjs +0 -1
  428. package/dist/esm/api/resources/documents/resources/sections/client/requests/ListSectionsRequest.d.mts +0 -16
  429. package/dist/esm/api/resources/documents/resources/sections/client/requests/UpdateSectionRequest.d.mts +0 -19
  430. package/dist/esm/api/resources/documents/resources/sections/client/requests/index.d.mts +0 -2
  431. package/dist/esm/api/resources/documents/resources/sections/client/requests/index.mjs +0 -1
  432. package/dist/esm/api/resources/documents/resources/sections/index.d.mts +0 -2
  433. package/dist/esm/api/resources/documents/resources/sections/index.mjs +0 -2
  434. package/dist/esm/api/resources/documents/resources/sections/resources/index.d.mts +0 -2
  435. package/dist/esm/api/resources/documents/resources/sections/resources/index.mjs +0 -2
  436. package/dist/esm/api/resources/documents/resources/sections/resources/versions/client/Client.d.mts +0 -87
  437. package/dist/esm/api/resources/documents/resources/sections/resources/versions/client/Client.mjs +0 -315
  438. package/dist/esm/api/resources/documents/resources/sections/resources/versions/client/index.d.mts +0 -1
  439. package/dist/esm/api/resources/documents/resources/sections/resources/versions/client/index.mjs +0 -1
  440. package/dist/esm/api/resources/documents/resources/sections/resources/versions/client/requests/CreateSectionVersionRequest.d.mts +0 -18
  441. package/dist/esm/api/resources/documents/resources/sections/resources/versions/client/requests/index.d.mts +0 -1
  442. package/dist/esm/api/resources/documents/resources/sections/resources/versions/client/requests/index.mjs +0 -1
  443. package/dist/esm/api/resources/documents/resources/sections/resources/versions/index.d.mts +0 -1
  444. package/dist/esm/api/resources/documents/resources/sections/resources/versions/index.mjs +0 -1
  445. package/dist/esm/api/resources/documents/resources/templates/client/Client.d.mts +0 -81
  446. package/dist/esm/api/resources/documents/resources/templates/client/Client.mjs +0 -328
  447. package/dist/esm/api/resources/documents/resources/templates/client/index.d.mts +0 -1
  448. package/dist/esm/api/resources/documents/resources/templates/client/index.mjs +0 -1
  449. package/dist/esm/api/resources/documents/resources/templates/client/requests/ListTemplatesRequest.d.mts +0 -16
  450. package/dist/esm/api/resources/documents/resources/templates/client/requests/UpdateTemplateRequest.d.mts +0 -19
  451. package/dist/esm/api/resources/documents/resources/templates/client/requests/index.d.mts +0 -2
  452. package/dist/esm/api/resources/documents/resources/templates/client/requests/index.mjs +0 -1
  453. package/dist/esm/api/resources/documents/resources/templates/index.d.mts +0 -2
  454. package/dist/esm/api/resources/documents/resources/templates/index.mjs +0 -2
  455. package/dist/esm/api/resources/documents/resources/templates/resources/index.d.mts +0 -3
  456. package/dist/esm/api/resources/documents/resources/templates/resources/index.mjs +0 -3
  457. package/dist/esm/api/resources/documents/resources/templates/resources/versions/client/Client.d.mts +0 -83
  458. package/dist/esm/api/resources/documents/resources/templates/resources/versions/client/Client.mjs +0 -311
  459. package/dist/esm/api/resources/documents/resources/templates/resources/versions/client/index.d.mts +0 -1
  460. package/dist/esm/api/resources/documents/resources/templates/resources/versions/client/index.mjs +0 -1
  461. package/dist/esm/api/resources/documents/resources/templates/resources/versions/client/requests/CreateTemplateVersionRequest.d.mts +0 -14
  462. package/dist/esm/api/resources/documents/resources/templates/resources/versions/client/requests/index.d.mts +0 -1
  463. package/dist/esm/api/resources/documents/resources/templates/resources/versions/client/requests/index.mjs +0 -1
  464. package/dist/esm/api/resources/documents/resources/templates/resources/versions/index.d.mts +0 -2
  465. package/dist/esm/api/resources/documents/resources/templates/resources/versions/index.mjs +0 -2
  466. package/dist/esm/api/resources/documents/resources/templates/resources/versions/types/CreateTemplateVersionRequestGeneration.d.mts +0 -5
  467. package/dist/esm/api/resources/documents/resources/templates/resources/versions/types/CreateTemplateVersionRequestGeneration.mjs +0 -2
  468. package/dist/esm/api/resources/documents/resources/templates/resources/versions/types/index.d.mts +0 -1
  469. package/dist/esm/api/resources/documents/resources/templates/resources/versions/types/index.mjs +0 -1
  470. package/dist/esm/api/resources/templates/client/requests/ListTemplatesRequest.mjs +0 -2
  471. package/dist/esm/api/resources/templates/client/requests/SectionListTemplatesRequest.mjs +0 -2
  472. package/dist/esm/api/types/ArrayNode.d.mts +0 -13
  473. package/dist/esm/api/types/ArrayNode.mjs +0 -2
  474. package/dist/esm/api/types/BoolNode.d.mts +0 -7
  475. package/dist/esm/api/types/BoolNode.mjs +0 -2
  476. package/dist/esm/api/types/ContextFacts.d.mts +0 -8
  477. package/dist/esm/api/types/ContextFacts.mjs +0 -2
  478. package/dist/esm/api/types/ContextText.d.mts +0 -8
  479. package/dist/esm/api/types/ContextText.mjs +0 -2
  480. package/dist/esm/api/types/ContextTranscript.d.mts +0 -8
  481. package/dist/esm/api/types/ContextTranscript.mjs +0 -2
  482. package/dist/esm/api/types/CreateEphemeralDocumentResponse.d.mts +0 -8
  483. package/dist/esm/api/types/CreateEphemeralDocumentResponse.mjs +0 -2
  484. package/dist/esm/api/types/CreateSectionBase.d.mts +0 -17
  485. package/dist/esm/api/types/CreateSectionBase.mjs +0 -2
  486. package/dist/esm/api/types/CreateSectionFromInheritanceRequest.d.mts +0 -9
  487. package/dist/esm/api/types/CreateSectionFromInheritanceRequest.mjs +0 -2
  488. package/dist/esm/api/types/CreateSectionFromScratchRequest.d.mts +0 -7
  489. package/dist/esm/api/types/CreateSectionFromScratchRequest.mjs +0 -2
  490. package/dist/esm/api/types/CreateSectionRequest.d.mts +0 -2
  491. package/dist/esm/api/types/CreateSectionRequest.mjs +0 -2
  492. package/dist/esm/api/types/CreateTemplateBase.d.mts +0 -19
  493. package/dist/esm/api/types/CreateTemplateBase.mjs +0 -2
  494. package/dist/esm/api/types/CreateTemplateFromInheritanceRequest.d.mts +0 -10
  495. package/dist/esm/api/types/CreateTemplateFromInheritanceRequest.mjs +0 -2
  496. package/dist/esm/api/types/CreateTemplateFromInheritanceRequestGeneration.d.mts +0 -8
  497. package/dist/esm/api/types/CreateTemplateFromInheritanceRequestGeneration.mjs +0 -2
  498. package/dist/esm/api/types/CreateTemplateFromScratchRequest.d.mts +0 -7
  499. package/dist/esm/api/types/CreateTemplateFromScratchRequest.mjs +0 -2
  500. package/dist/esm/api/types/CreateTemplateFromScratchRequestGeneration.d.mts +0 -5
  501. package/dist/esm/api/types/CreateTemplateFromScratchRequestGeneration.mjs +0 -2
  502. package/dist/esm/api/types/CreateTemplateRequest.d.mts +0 -2
  503. package/dist/esm/api/types/CreateTemplateRequest.mjs +0 -2
  504. package/dist/esm/api/types/DocumentationEvidence.d.mts +0 -6
  505. package/dist/esm/api/types/DocumentationEvidence.mjs +0 -2
  506. package/dist/esm/api/types/EphemeralDocument.d.mts +0 -12
  507. package/dist/esm/api/types/EphemeralDocument.mjs +0 -2
  508. package/dist/esm/api/types/FieldDefinition.d.mts +0 -8
  509. package/dist/esm/api/types/FieldDefinition.mjs +0 -2
  510. package/dist/esm/api/types/GuidedAssemblyRequest.d.mts +0 -11
  511. package/dist/esm/api/types/GuidedAssemblyRequest.mjs +0 -2
  512. package/dist/esm/api/types/GuidedAssemblySectionRef.d.mts +0 -10
  513. package/dist/esm/api/types/GuidedAssemblySectionRef.mjs +0 -2
  514. package/dist/esm/api/types/GuidedDocumentBase.d.mts +0 -12
  515. package/dist/esm/api/types/GuidedDocumentBase.mjs +0 -2
  516. package/dist/esm/api/types/GuidedDocumentByAssembly.d.mts +0 -8
  517. package/dist/esm/api/types/GuidedDocumentByAssembly.mjs +0 -2
  518. package/dist/esm/api/types/GuidedDocumentByDynamic.d.mts +0 -8
  519. package/dist/esm/api/types/GuidedDocumentByDynamic.mjs +0 -2
  520. package/dist/esm/api/types/GuidedDocumentByTemplateRef.d.mts +0 -8
  521. package/dist/esm/api/types/GuidedDocumentByTemplateRef.mjs +0 -2
  522. package/dist/esm/api/types/GuidedDocumentContext.d.mts +0 -2
  523. package/dist/esm/api/types/GuidedDocumentContext.mjs +0 -2
  524. package/dist/esm/api/types/GuidedDocumentFactMinimal.d.mts +0 -9
  525. package/dist/esm/api/types/GuidedDocumentFactMinimal.mjs +0 -2
  526. package/dist/esm/api/types/GuidedDocumentRequest.d.mts +0 -2
  527. package/dist/esm/api/types/GuidedDocumentRequest.mjs +0 -2
  528. package/dist/esm/api/types/GuidedDocumentTranscriptMetadataMinimal.d.mts +0 -7
  529. package/dist/esm/api/types/GuidedDocumentTranscriptMetadataMinimal.mjs +0 -2
  530. package/dist/esm/api/types/GuidedDocumentTranscriptMinimal.d.mts +0 -8
  531. package/dist/esm/api/types/GuidedDocumentTranscriptMinimal.mjs +0 -2
  532. package/dist/esm/api/types/GuidedDocumentTranscriptSegmentMinimal.d.mts +0 -17
  533. package/dist/esm/api/types/GuidedDocumentTranscriptSegmentMinimal.mjs +0 -2
  534. package/dist/esm/api/types/GuidedDynamicInline.d.mts +0 -5
  535. package/dist/esm/api/types/GuidedDynamicInline.mjs +0 -2
  536. package/dist/esm/api/types/GuidedDynamicRequest.d.mts +0 -8
  537. package/dist/esm/api/types/GuidedDynamicRequest.mjs +0 -2
  538. package/dist/esm/api/types/GuidedSectionOverride.d.mts +0 -9
  539. package/dist/esm/api/types/GuidedSectionOverride.mjs +0 -2
  540. package/dist/esm/api/types/GuidedTemplateOverrides.d.mts +0 -7
  541. package/dist/esm/api/types/GuidedTemplateOverrides.mjs +0 -2
  542. package/dist/esm/api/types/GuidedTemplateRef.d.mts +0 -9
  543. package/dist/esm/api/types/GuidedTemplateRef.mjs +0 -2
  544. package/dist/esm/api/types/Label.d.mts +0 -4
  545. package/dist/esm/api/types/Label.mjs +0 -2
  546. package/dist/esm/api/types/NumberNode.d.mts +0 -13
  547. package/dist/esm/api/types/NumberNode.mjs +0 -2
  548. package/dist/esm/api/types/ObjectNode.d.mts +0 -10
  549. package/dist/esm/api/types/ObjectNode.mjs +0 -2
  550. package/dist/esm/api/types/OutputSchema.d.mts +0 -2
  551. package/dist/esm/api/types/OutputSchema.mjs +0 -2
  552. package/dist/esm/api/types/Section.d.mts +0 -31
  553. package/dist/esm/api/types/Section.mjs +0 -2
  554. package/dist/esm/api/types/SectionGeneration.d.mts +0 -8
  555. package/dist/esm/api/types/SectionGeneration.mjs +0 -2
  556. package/dist/esm/api/types/SectionGenerationPartial.d.mts +0 -12
  557. package/dist/esm/api/types/SectionGenerationPartial.mjs +0 -2
  558. package/dist/esm/api/types/SectionInstructions.d.mts +0 -8
  559. package/dist/esm/api/types/SectionInstructions.mjs +0 -2
  560. package/dist/esm/api/types/SectionInstructionsOverride.d.mts +0 -11
  561. package/dist/esm/api/types/SectionInstructionsOverride.mjs +0 -2
  562. package/dist/esm/api/types/SectionInstructionsPartial.d.mts +0 -11
  563. package/dist/esm/api/types/SectionInstructionsPartial.mjs +0 -2
  564. package/dist/esm/api/types/SectionOverrides.d.mts +0 -11
  565. package/dist/esm/api/types/SectionOverrides.mjs +0 -2
  566. package/dist/esm/api/types/SectionSource.d.mts +0 -6
  567. package/dist/esm/api/types/SectionSource.mjs +0 -6
  568. package/dist/esm/api/types/SectionVersion.d.mts +0 -10
  569. package/dist/esm/api/types/SectionVersion.mjs +0 -2
  570. package/dist/esm/api/types/ShallowTemplateGeneration.d.mts +0 -9
  571. package/dist/esm/api/types/ShallowTemplateGeneration.mjs +0 -2
  572. package/dist/esm/api/types/ShallowTemplateVersionResponse.d.mts +0 -13
  573. package/dist/esm/api/types/ShallowTemplateVersionResponse.mjs +0 -2
  574. package/dist/esm/api/types/StatusResponse.d.mts +0 -5
  575. package/dist/esm/api/types/StatusResponse.mjs +0 -2
  576. package/dist/esm/api/types/StringNode.d.mts +0 -11
  577. package/dist/esm/api/types/StringNode.mjs +0 -2
  578. package/dist/esm/api/types/Template.d.mts +0 -32
  579. package/dist/esm/api/types/Template.mjs +0 -2
  580. package/dist/esm/api/types/TemplateGeneration.d.mts +0 -6
  581. package/dist/esm/api/types/TemplateGeneration.mjs +0 -2
  582. package/dist/esm/api/types/TemplateInstructions.d.mts +0 -4
  583. package/dist/esm/api/types/TemplateInstructions.mjs +0 -2
  584. package/dist/esm/api/types/TemplateInstructionsPartial.d.mts +0 -7
  585. package/dist/esm/api/types/TemplateInstructionsPartial.mjs +0 -2
  586. package/dist/esm/api/types/TemplateSource.d.mts +0 -6
  587. package/dist/esm/api/types/TemplateSource.mjs +0 -6
  588. package/dist/esm/api/types/TemplateVersion.d.mts +0 -13
  589. package/dist/esm/api/types/TemplateVersion.mjs +0 -2
  590. package/dist/esm/api/types/TemplateVersionSectionRef.d.mts +0 -6
  591. package/dist/esm/api/types/TemplateVersionSectionRef.mjs +0 -2
  592. package/dist/esm/api/types/TemplateVersionSectionRequest.d.mts +0 -6
  593. package/dist/esm/api/types/TemplateVersionSectionRequest.mjs +0 -2
  594. package/dist/esm/serialization/resources/documents/resources/index.d.mts +0 -4
  595. package/dist/esm/serialization/resources/documents/resources/index.mjs +0 -4
  596. package/dist/esm/serialization/resources/documents/resources/sections/client/index.d.mts +0 -2
  597. package/dist/esm/serialization/resources/documents/resources/sections/client/index.mjs +0 -2
  598. package/dist/esm/serialization/resources/documents/resources/sections/client/list.d.mts +0 -8
  599. package/dist/esm/serialization/resources/documents/resources/sections/client/list.mjs +0 -4
  600. package/dist/esm/serialization/resources/documents/resources/sections/client/requests/UpdateSectionRequest.d.mts +0 -15
  601. package/dist/esm/serialization/resources/documents/resources/sections/client/requests/UpdateSectionRequest.mjs +0 -11
  602. package/dist/esm/serialization/resources/documents/resources/sections/client/requests/index.d.mts +0 -1
  603. package/dist/esm/serialization/resources/documents/resources/sections/client/requests/index.mjs +0 -1
  604. package/dist/esm/serialization/resources/documents/resources/sections/index.d.mts +0 -2
  605. package/dist/esm/serialization/resources/documents/resources/sections/index.mjs +0 -2
  606. package/dist/esm/serialization/resources/documents/resources/sections/resources/index.d.mts +0 -2
  607. package/dist/esm/serialization/resources/documents/resources/sections/resources/index.mjs +0 -2
  608. package/dist/esm/serialization/resources/documents/resources/sections/resources/versions/client/index.d.mts +0 -2
  609. package/dist/esm/serialization/resources/documents/resources/sections/resources/versions/client/index.mjs +0 -2
  610. package/dist/esm/serialization/resources/documents/resources/sections/resources/versions/client/list.d.mts +0 -8
  611. package/dist/esm/serialization/resources/documents/resources/sections/resources/versions/client/list.mjs +0 -4
  612. package/dist/esm/serialization/resources/documents/resources/sections/resources/versions/client/requests/CreateSectionVersionRequest.d.mts +0 -10
  613. package/dist/esm/serialization/resources/documents/resources/sections/resources/versions/client/requests/CreateSectionVersionRequest.mjs +0 -6
  614. package/dist/esm/serialization/resources/documents/resources/sections/resources/versions/client/requests/index.d.mts +0 -1
  615. package/dist/esm/serialization/resources/documents/resources/sections/resources/versions/client/requests/index.mjs +0 -1
  616. package/dist/esm/serialization/resources/documents/resources/sections/resources/versions/index.d.mts +0 -1
  617. package/dist/esm/serialization/resources/documents/resources/sections/resources/versions/index.mjs +0 -1
  618. package/dist/esm/serialization/resources/documents/resources/templates/client/index.d.mts +0 -2
  619. package/dist/esm/serialization/resources/documents/resources/templates/client/index.mjs +0 -2
  620. package/dist/esm/serialization/resources/documents/resources/templates/client/list.d.mts +0 -8
  621. package/dist/esm/serialization/resources/documents/resources/templates/client/list.mjs +0 -4
  622. package/dist/esm/serialization/resources/documents/resources/templates/client/requests/UpdateTemplateRequest.d.mts +0 -15
  623. package/dist/esm/serialization/resources/documents/resources/templates/client/requests/UpdateTemplateRequest.mjs +0 -11
  624. package/dist/esm/serialization/resources/documents/resources/templates/client/requests/index.d.mts +0 -1
  625. package/dist/esm/serialization/resources/documents/resources/templates/client/requests/index.mjs +0 -1
  626. package/dist/esm/serialization/resources/documents/resources/templates/index.d.mts +0 -2
  627. package/dist/esm/serialization/resources/documents/resources/templates/index.mjs +0 -2
  628. package/dist/esm/serialization/resources/documents/resources/templates/resources/index.d.mts +0 -3
  629. package/dist/esm/serialization/resources/documents/resources/templates/resources/index.mjs +0 -3
  630. package/dist/esm/serialization/resources/documents/resources/templates/resources/versions/client/index.d.mts +0 -2
  631. package/dist/esm/serialization/resources/documents/resources/templates/resources/versions/client/index.mjs +0 -2
  632. package/dist/esm/serialization/resources/documents/resources/templates/resources/versions/client/list.d.mts +0 -8
  633. package/dist/esm/serialization/resources/documents/resources/templates/resources/versions/client/list.mjs +0 -4
  634. package/dist/esm/serialization/resources/documents/resources/templates/resources/versions/client/requests/CreateTemplateVersionRequest.d.mts +0 -10
  635. package/dist/esm/serialization/resources/documents/resources/templates/resources/versions/client/requests/CreateTemplateVersionRequest.mjs +0 -6
  636. package/dist/esm/serialization/resources/documents/resources/templates/resources/versions/client/requests/index.d.mts +0 -1
  637. package/dist/esm/serialization/resources/documents/resources/templates/resources/versions/client/requests/index.mjs +0 -1
  638. package/dist/esm/serialization/resources/documents/resources/templates/resources/versions/index.d.mts +0 -2
  639. package/dist/esm/serialization/resources/documents/resources/templates/resources/versions/index.mjs +0 -2
  640. package/dist/esm/serialization/resources/documents/resources/templates/resources/versions/types/CreateTemplateVersionRequestGeneration.d.mts +0 -12
  641. package/dist/esm/serialization/resources/documents/resources/templates/resources/versions/types/CreateTemplateVersionRequestGeneration.mjs +0 -8
  642. package/dist/esm/serialization/resources/documents/resources/templates/resources/versions/types/index.d.mts +0 -1
  643. package/dist/esm/serialization/resources/documents/resources/templates/resources/versions/types/index.mjs +0 -1
  644. package/dist/esm/serialization/types/ArrayNode.d.mts +0 -14
  645. package/dist/esm/serialization/types/ArrayNode.mjs +0 -11
  646. package/dist/esm/serialization/types/BoolNode.d.mts +0 -11
  647. package/dist/esm/serialization/types/BoolNode.mjs +0 -7
  648. package/dist/esm/serialization/types/ContextFacts.d.mts +0 -11
  649. package/dist/esm/serialization/types/ContextFacts.mjs +0 -7
  650. package/dist/esm/serialization/types/ContextText.d.mts +0 -10
  651. package/dist/esm/serialization/types/ContextText.mjs +0 -6
  652. package/dist/esm/serialization/types/ContextTranscript.d.mts +0 -11
  653. package/dist/esm/serialization/types/ContextTranscript.mjs +0 -7
  654. package/dist/esm/serialization/types/CreateEphemeralDocumentResponse.d.mts +0 -12
  655. package/dist/esm/serialization/types/CreateEphemeralDocumentResponse.mjs +0 -8
  656. package/dist/esm/serialization/types/CreateSectionBase.d.mts +0 -16
  657. package/dist/esm/serialization/types/CreateSectionBase.mjs +0 -12
  658. package/dist/esm/serialization/types/CreateSectionFromInheritanceRequest.d.mts +0 -12
  659. package/dist/esm/serialization/types/CreateSectionFromInheritanceRequest.mjs +0 -10
  660. package/dist/esm/serialization/types/CreateSectionFromScratchRequest.d.mts +0 -11
  661. package/dist/esm/serialization/types/CreateSectionFromScratchRequest.mjs +0 -9
  662. package/dist/esm/serialization/types/CreateSectionRequest.d.mts +0 -9
  663. package/dist/esm/serialization/types/CreateSectionRequest.mjs +0 -5
  664. package/dist/esm/serialization/types/CreateTemplateBase.d.mts +0 -17
  665. package/dist/esm/serialization/types/CreateTemplateBase.mjs +0 -13
  666. package/dist/esm/serialization/types/CreateTemplateFromInheritanceRequest.d.mts +0 -12
  667. package/dist/esm/serialization/types/CreateTemplateFromInheritanceRequest.mjs +0 -10
  668. package/dist/esm/serialization/types/CreateTemplateFromInheritanceRequestGeneration.d.mts +0 -12
  669. package/dist/esm/serialization/types/CreateTemplateFromInheritanceRequestGeneration.mjs +0 -8
  670. package/dist/esm/serialization/types/CreateTemplateFromScratchRequest.d.mts +0 -11
  671. package/dist/esm/serialization/types/CreateTemplateFromScratchRequest.mjs +0 -9
  672. package/dist/esm/serialization/types/CreateTemplateFromScratchRequestGeneration.d.mts +0 -12
  673. package/dist/esm/serialization/types/CreateTemplateFromScratchRequestGeneration.mjs +0 -8
  674. package/dist/esm/serialization/types/CreateTemplateRequest.d.mts +0 -9
  675. package/dist/esm/serialization/types/CreateTemplateRequest.mjs +0 -5
  676. package/dist/esm/serialization/types/DocumentationEvidence.d.mts +0 -12
  677. package/dist/esm/serialization/types/DocumentationEvidence.mjs +0 -8
  678. package/dist/esm/serialization/types/EphemeralDocument.d.mts +0 -14
  679. package/dist/esm/serialization/types/EphemeralDocument.mjs +0 -12
  680. package/dist/esm/serialization/types/FieldDefinition.d.mts +0 -11
  681. package/dist/esm/serialization/types/FieldDefinition.mjs +0 -8
  682. package/dist/esm/serialization/types/GuidedAssemblyRequest.d.mts +0 -13
  683. package/dist/esm/serialization/types/GuidedAssemblyRequest.mjs +0 -9
  684. package/dist/esm/serialization/types/GuidedAssemblySectionRef.d.mts +0 -12
  685. package/dist/esm/serialization/types/GuidedAssemblySectionRef.mjs +0 -8
  686. package/dist/esm/serialization/types/GuidedDocumentBase.d.mts +0 -12
  687. package/dist/esm/serialization/types/GuidedDocumentBase.mjs +0 -8
  688. package/dist/esm/serialization/types/GuidedDocumentByAssembly.d.mts +0 -11
  689. package/dist/esm/serialization/types/GuidedDocumentByAssembly.mjs +0 -9
  690. package/dist/esm/serialization/types/GuidedDocumentByDynamic.d.mts +0 -11
  691. package/dist/esm/serialization/types/GuidedDocumentByDynamic.mjs +0 -9
  692. package/dist/esm/serialization/types/GuidedDocumentByTemplateRef.d.mts +0 -11
  693. package/dist/esm/serialization/types/GuidedDocumentByTemplateRef.mjs +0 -9
  694. package/dist/esm/serialization/types/GuidedDocumentContext.d.mts +0 -10
  695. package/dist/esm/serialization/types/GuidedDocumentContext.mjs +0 -6
  696. package/dist/esm/serialization/types/GuidedDocumentFactMinimal.d.mts +0 -10
  697. package/dist/esm/serialization/types/GuidedDocumentFactMinimal.mjs +0 -6
  698. package/dist/esm/serialization/types/GuidedDocumentRequest.d.mts +0 -10
  699. package/dist/esm/serialization/types/GuidedDocumentRequest.mjs +0 -10
  700. package/dist/esm/serialization/types/GuidedDocumentTranscriptMetadataMinimal.d.mts +0 -10
  701. package/dist/esm/serialization/types/GuidedDocumentTranscriptMetadataMinimal.mjs +0 -6
  702. package/dist/esm/serialization/types/GuidedDocumentTranscriptMinimal.d.mts +0 -12
  703. package/dist/esm/serialization/types/GuidedDocumentTranscriptMinimal.mjs +0 -8
  704. package/dist/esm/serialization/types/GuidedDocumentTranscriptSegmentMinimal.d.mts +0 -14
  705. package/dist/esm/serialization/types/GuidedDocumentTranscriptSegmentMinimal.mjs +0 -10
  706. package/dist/esm/serialization/types/GuidedDynamicInline.d.mts +0 -12
  707. package/dist/esm/serialization/types/GuidedDynamicInline.mjs +0 -8
  708. package/dist/esm/serialization/types/GuidedDynamicRequest.d.mts +0 -11
  709. package/dist/esm/serialization/types/GuidedDynamicRequest.mjs +0 -7
  710. package/dist/esm/serialization/types/GuidedSectionOverride.d.mts +0 -11
  711. package/dist/esm/serialization/types/GuidedSectionOverride.mjs +0 -7
  712. package/dist/esm/serialization/types/GuidedTemplateOverrides.d.mts +0 -12
  713. package/dist/esm/serialization/types/GuidedTemplateOverrides.mjs +0 -8
  714. package/dist/esm/serialization/types/GuidedTemplateRef.d.mts +0 -12
  715. package/dist/esm/serialization/types/GuidedTemplateRef.mjs +0 -8
  716. package/dist/esm/serialization/types/Label.d.mts +0 -10
  717. package/dist/esm/serialization/types/Label.mjs +0 -6
  718. package/dist/esm/serialization/types/NumberNode.d.mts +0 -14
  719. package/dist/esm/serialization/types/NumberNode.mjs +0 -10
  720. package/dist/esm/serialization/types/ObjectNode.d.mts +0 -12
  721. package/dist/esm/serialization/types/ObjectNode.mjs +0 -9
  722. package/dist/esm/serialization/types/OutputSchema.d.mts +0 -10
  723. package/dist/esm/serialization/types/OutputSchema.mjs +0 -13
  724. package/dist/esm/serialization/types/Section.d.mts +0 -25
  725. package/dist/esm/serialization/types/Section.mjs +0 -21
  726. package/dist/esm/serialization/types/SectionGeneration.d.mts +0 -12
  727. package/dist/esm/serialization/types/SectionGeneration.mjs +0 -9
  728. package/dist/esm/serialization/types/SectionGenerationPartial.d.mts +0 -12
  729. package/dist/esm/serialization/types/SectionGenerationPartial.mjs +0 -9
  730. package/dist/esm/serialization/types/SectionInstructions.d.mts +0 -11
  731. package/dist/esm/serialization/types/SectionInstructions.mjs +0 -7
  732. package/dist/esm/serialization/types/SectionInstructionsOverride.d.mts +0 -11
  733. package/dist/esm/serialization/types/SectionInstructionsOverride.mjs +0 -7
  734. package/dist/esm/serialization/types/SectionInstructionsPartial.d.mts +0 -11
  735. package/dist/esm/serialization/types/SectionInstructionsPartial.mjs +0 -7
  736. package/dist/esm/serialization/types/SectionOverrides.d.mts +0 -12
  737. package/dist/esm/serialization/types/SectionOverrides.mjs +0 -9
  738. package/dist/esm/serialization/types/SectionSource.d.mts +0 -7
  739. package/dist/esm/serialization/types/SectionSource.mjs +0 -3
  740. package/dist/esm/serialization/types/SectionVersion.d.mts +0 -13
  741. package/dist/esm/serialization/types/SectionVersion.mjs +0 -9
  742. package/dist/esm/serialization/types/ShallowTemplateGeneration.d.mts +0 -12
  743. package/dist/esm/serialization/types/ShallowTemplateGeneration.mjs +0 -8
  744. package/dist/esm/serialization/types/ShallowTemplateVersionResponse.d.mts +0 -13
  745. package/dist/esm/serialization/types/ShallowTemplateVersionResponse.mjs +0 -9
  746. package/dist/esm/serialization/types/StatusResponse.d.mts +0 -11
  747. package/dist/esm/serialization/types/StatusResponse.mjs +0 -7
  748. package/dist/esm/serialization/types/StringNode.d.mts +0 -13
  749. package/dist/esm/serialization/types/StringNode.mjs +0 -9
  750. package/dist/esm/serialization/types/Template.d.mts +0 -26
  751. package/dist/esm/serialization/types/Template.mjs +0 -22
  752. package/dist/esm/serialization/types/TemplateGeneration.d.mts +0 -12
  753. package/dist/esm/serialization/types/TemplateGeneration.mjs +0 -8
  754. package/dist/esm/serialization/types/TemplateInstructions.d.mts +0 -9
  755. package/dist/esm/serialization/types/TemplateInstructions.mjs +0 -5
  756. package/dist/esm/serialization/types/TemplateInstructionsPartial.d.mts +0 -9
  757. package/dist/esm/serialization/types/TemplateInstructionsPartial.mjs +0 -5
  758. package/dist/esm/serialization/types/TemplateSource.d.mts +0 -7
  759. package/dist/esm/serialization/types/TemplateSource.mjs +0 -3
  760. package/dist/esm/serialization/types/TemplateVersion.d.mts +0 -13
  761. package/dist/esm/serialization/types/TemplateVersion.mjs +0 -9
  762. package/dist/esm/serialization/types/TemplateVersionSectionRef.d.mts +0 -10
  763. package/dist/esm/serialization/types/TemplateVersionSectionRef.mjs +0 -6
  764. package/dist/esm/serialization/types/TemplateVersionSectionRequest.d.mts +0 -10
  765. package/dist/esm/serialization/types/TemplateVersionSectionRequest.mjs +0 -6
  766. /package/dist/cjs/api/resources/{documents/resources/sections/client/requests/ListSectionsRequest.js → templates/client/requests/TemplatesListRequest.js} +0 -0
  767. /package/dist/cjs/api/resources/{documents/resources/sections/client/requests/UpdateSectionRequest.js → templates/client/requests/TemplatesSectionListRequest.js} +0 -0
  768. /package/dist/cjs/api/{resources/documents/resources/sections/resources/versions/client/requests/CreateSectionVersionRequest.js → types/AgentsErrorResponse.js} +0 -0
  769. /package/dist/cjs/api/{resources/documents/resources/templates/client/requests/ListTemplatesRequest.js → types/AgentsValidationError.js} +0 -0
  770. /package/dist/cjs/api/{resources/documents/resources/templates/client/requests/UpdateTemplateRequest.js → types/AgentsValidationErrorErrorsItem.js} +0 -0
  771. /package/dist/cjs/api/{resources/documents/resources/templates/resources/versions/client/requests/CreateTemplateVersionRequest.js → types/AgentsValidationErrorResponse.js} +0 -0
  772. /package/dist/esm/api/resources/{documents/resources/sections/client/requests/ListSectionsRequest.mjs → templates/client/requests/TemplatesListRequest.mjs} +0 -0
  773. /package/dist/esm/api/resources/{documents/resources/sections/client/requests/UpdateSectionRequest.mjs → templates/client/requests/TemplatesSectionListRequest.mjs} +0 -0
  774. /package/dist/esm/api/{resources/documents/resources/sections/resources/versions/client/requests/CreateSectionVersionRequest.mjs → types/AgentsErrorResponse.mjs} +0 -0
  775. /package/dist/esm/api/{resources/documents/resources/templates/client/requests/ListTemplatesRequest.mjs → types/AgentsValidationError.mjs} +0 -0
  776. /package/dist/esm/api/{resources/documents/resources/templates/client/requests/UpdateTemplateRequest.mjs → types/AgentsValidationErrorErrorsItem.mjs} +0 -0
  777. /package/dist/esm/api/{resources/documents/resources/templates/resources/versions/client/requests/CreateTemplateVersionRequest.mjs → types/AgentsValidationErrorResponse.mjs} +0 -0
@@ -1,311 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- import { normalizeClientOptionsWithAuth, } from "../../../../../../../../BaseClient.mjs";
12
- import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../../../core/headers.mjs";
13
- import * as core from "../../../../../../../../core/index.mjs";
14
- import { handleNonStatusCodeError } from "../../../../../../../../errors/handleNonStatusCodeError.mjs";
15
- import * as errors from "../../../../../../../../errors/index.mjs";
16
- import * as serializers from "../../../../../../../../serialization/index.mjs";
17
- import * as Corti from "../../../../../../../index.mjs";
18
- export class VersionsClient {
19
- constructor(options) {
20
- this._options = normalizeClientOptionsWithAuth(options);
21
- }
22
- /**
23
- * @param {string} templateID
24
- * @param {VersionsClient.RequestOptions} requestOptions - Request-specific configuration.
25
- *
26
- * @throws {@link Corti.NotFoundError}
27
- *
28
- * @example
29
- * await client.documents.templates.versions.list("templateID")
30
- */
31
- list(templateID, requestOptions) {
32
- return core.HttpResponsePromise.fromPromise(this.__list(templateID, requestOptions));
33
- }
34
- __list(templateID, requestOptions) {
35
- return __awaiter(this, void 0, void 0, function* () {
36
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
37
- const _authRequest = yield this._options.authProvider.getAuthRequest();
38
- const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ "Tenant-Name": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.tenantName) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.tenantName }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
39
- const _response = yield core.fetcher({
40
- url: core.url.join((_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment)).base, `documents/templates/${core.url.encodePathParam(templateID)}/versions/`),
41
- method: "GET",
42
- headers: _headers,
43
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
44
- timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
45
- maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
46
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
47
- fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
48
- logging: this._options.logging,
49
- });
50
- if (_response.ok) {
51
- return {
52
- data: serializers.documents.templates.versions.list.Response.parseOrThrow(_response.body, {
53
- unrecognizedObjectKeys: "passthrough",
54
- allowUnrecognizedUnionMembers: true,
55
- allowUnrecognizedEnumValues: true,
56
- skipValidation: true,
57
- breadcrumbsPrefix: ["response"],
58
- }),
59
- rawResponse: _response.rawResponse,
60
- };
61
- }
62
- if (_response.error.reason === "status-code") {
63
- switch (_response.error.statusCode) {
64
- case 404:
65
- throw new Corti.NotFoundError(_response.error.body, _response.rawResponse);
66
- default:
67
- throw new errors.CortiError({
68
- statusCode: _response.error.statusCode,
69
- body: _response.error.body,
70
- rawResponse: _response.rawResponse,
71
- });
72
- }
73
- }
74
- return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/documents/templates/{templateID}/versions/");
75
- });
76
- }
77
- /**
78
- * @param {string} templateID
79
- * @param {Corti.documents.templates.CreateTemplateVersionRequest} request
80
- * @param {VersionsClient.RequestOptions} requestOptions - Request-specific configuration.
81
- *
82
- * @throws {@link Corti.BadRequestError}
83
- * @throws {@link Corti.NotFoundError}
84
- *
85
- * @example
86
- * await client.documents.templates.versions.create("templateID", {
87
- * generation: {
88
- * instructions: {
89
- * prompt: "prompt"
90
- * }
91
- * }
92
- * })
93
- */
94
- create(templateID, request, requestOptions) {
95
- return core.HttpResponsePromise.fromPromise(this.__create(templateID, request, requestOptions));
96
- }
97
- __create(templateID, request, requestOptions) {
98
- return __awaiter(this, void 0, void 0, function* () {
99
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
100
- const _authRequest = yield this._options.authProvider.getAuthRequest();
101
- const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ "Tenant-Name": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.tenantName) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.tenantName }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
102
- const _response = yield core.fetcher({
103
- url: core.url.join((_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment)).base, `documents/templates/${core.url.encodePathParam(templateID)}/versions/`),
104
- method: "POST",
105
- headers: _headers,
106
- contentType: "application/json",
107
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
108
- requestType: "json",
109
- body: serializers.documents.templates.CreateTemplateVersionRequest.jsonOrThrow(request, {
110
- unrecognizedObjectKeys: "strip",
111
- omitUndefined: true,
112
- }),
113
- timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
114
- maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
115
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
116
- fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
117
- logging: this._options.logging,
118
- });
119
- if (_response.ok) {
120
- return {
121
- data: serializers.TemplateVersion.parseOrThrow(_response.body, {
122
- unrecognizedObjectKeys: "passthrough",
123
- allowUnrecognizedUnionMembers: true,
124
- allowUnrecognizedEnumValues: true,
125
- skipValidation: true,
126
- breadcrumbsPrefix: ["response"],
127
- }),
128
- rawResponse: _response.rawResponse,
129
- };
130
- }
131
- if (_response.error.reason === "status-code") {
132
- switch (_response.error.statusCode) {
133
- case 400:
134
- throw new Corti.BadRequestError(_response.error.body, _response.rawResponse);
135
- case 404:
136
- throw new Corti.NotFoundError(_response.error.body, _response.rawResponse);
137
- default:
138
- throw new errors.CortiError({
139
- statusCode: _response.error.statusCode,
140
- body: _response.error.body,
141
- rawResponse: _response.rawResponse,
142
- });
143
- }
144
- }
145
- return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/documents/templates/{templateID}/versions/");
146
- });
147
- }
148
- /**
149
- * @param {string} templateID
150
- * @param {string} versionID
151
- * @param {VersionsClient.RequestOptions} requestOptions - Request-specific configuration.
152
- *
153
- * @throws {@link Corti.NotFoundError}
154
- *
155
- * @example
156
- * await client.documents.templates.versions.get("templateID", "versionID")
157
- */
158
- get(templateID, versionID, requestOptions) {
159
- return core.HttpResponsePromise.fromPromise(this.__get(templateID, versionID, requestOptions));
160
- }
161
- __get(templateID, versionID, requestOptions) {
162
- return __awaiter(this, void 0, void 0, function* () {
163
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
164
- const _authRequest = yield this._options.authProvider.getAuthRequest();
165
- const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ "Tenant-Name": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.tenantName) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.tenantName }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
166
- const _response = yield core.fetcher({
167
- url: core.url.join((_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment)).base, `documents/templates/${core.url.encodePathParam(templateID)}/versions/${core.url.encodePathParam(versionID)}`),
168
- method: "GET",
169
- headers: _headers,
170
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
171
- timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
172
- maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
173
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
174
- fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
175
- logging: this._options.logging,
176
- });
177
- if (_response.ok) {
178
- return {
179
- data: serializers.ShallowTemplateVersionResponse.parseOrThrow(_response.body, {
180
- unrecognizedObjectKeys: "passthrough",
181
- allowUnrecognizedUnionMembers: true,
182
- allowUnrecognizedEnumValues: true,
183
- skipValidation: true,
184
- breadcrumbsPrefix: ["response"],
185
- }),
186
- rawResponse: _response.rawResponse,
187
- };
188
- }
189
- if (_response.error.reason === "status-code") {
190
- switch (_response.error.statusCode) {
191
- case 404:
192
- throw new Corti.NotFoundError(_response.error.body, _response.rawResponse);
193
- default:
194
- throw new errors.CortiError({
195
- statusCode: _response.error.statusCode,
196
- body: _response.error.body,
197
- rawResponse: _response.rawResponse,
198
- });
199
- }
200
- }
201
- return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/documents/templates/{templateID}/versions/{versionID}");
202
- });
203
- }
204
- /**
205
- * A published version cannot be deleted. When deleting a last remaining version of a template, simply create a new version again if needed.
206
- *
207
- * @param {string} templateID
208
- * @param {string} versionID
209
- * @param {VersionsClient.RequestOptions} requestOptions - Request-specific configuration.
210
- *
211
- * @throws {@link Corti.NotFoundError}
212
- *
213
- * @example
214
- * await client.documents.templates.versions.delete("templateID", "versionID")
215
- */
216
- delete(templateID, versionID, requestOptions) {
217
- return core.HttpResponsePromise.fromPromise(this.__delete(templateID, versionID, requestOptions));
218
- }
219
- __delete(templateID, versionID, requestOptions) {
220
- return __awaiter(this, void 0, void 0, function* () {
221
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
222
- const _authRequest = yield this._options.authProvider.getAuthRequest();
223
- const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ "Tenant-Name": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.tenantName) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.tenantName }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
224
- const _response = yield core.fetcher({
225
- url: core.url.join((_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment)).base, `documents/templates/${core.url.encodePathParam(templateID)}/versions/${core.url.encodePathParam(versionID)}`),
226
- method: "DELETE",
227
- headers: _headers,
228
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
229
- timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
230
- maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
231
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
232
- fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
233
- logging: this._options.logging,
234
- });
235
- if (_response.ok) {
236
- return { data: undefined, rawResponse: _response.rawResponse };
237
- }
238
- if (_response.error.reason === "status-code") {
239
- switch (_response.error.statusCode) {
240
- case 404:
241
- throw new Corti.NotFoundError(_response.error.body, _response.rawResponse);
242
- default:
243
- throw new errors.CortiError({
244
- statusCode: _response.error.statusCode,
245
- body: _response.error.body,
246
- rawResponse: _response.rawResponse,
247
- });
248
- }
249
- }
250
- return handleNonStatusCodeError(_response.error, _response.rawResponse, "DELETE", "/documents/templates/{templateID}/versions/{versionID}");
251
- });
252
- }
253
- /**
254
- * Sets this version as the published version of the template.
255
- *
256
- * @param {string} templateID
257
- * @param {string} versionID
258
- * @param {VersionsClient.RequestOptions} requestOptions - Request-specific configuration.
259
- *
260
- * @throws {@link Corti.NotFoundError}
261
- *
262
- * @example
263
- * await client.documents.templates.versions.publish("templateID", "versionID")
264
- */
265
- publish(templateID, versionID, requestOptions) {
266
- return core.HttpResponsePromise.fromPromise(this.__publish(templateID, versionID, requestOptions));
267
- }
268
- __publish(templateID, versionID, requestOptions) {
269
- return __awaiter(this, void 0, void 0, function* () {
270
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
271
- const _authRequest = yield this._options.authProvider.getAuthRequest();
272
- const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ "Tenant-Name": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.tenantName) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.tenantName }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
273
- const _response = yield core.fetcher({
274
- url: core.url.join((_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment)).base, `documents/templates/${core.url.encodePathParam(templateID)}/versions/${core.url.encodePathParam(versionID)}/publish`),
275
- method: "POST",
276
- headers: _headers,
277
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
278
- timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
279
- maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
280
- abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
281
- fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
282
- logging: this._options.logging,
283
- });
284
- if (_response.ok) {
285
- return {
286
- data: serializers.StatusResponse.parseOrThrow(_response.body, {
287
- unrecognizedObjectKeys: "passthrough",
288
- allowUnrecognizedUnionMembers: true,
289
- allowUnrecognizedEnumValues: true,
290
- skipValidation: true,
291
- breadcrumbsPrefix: ["response"],
292
- }),
293
- rawResponse: _response.rawResponse,
294
- };
295
- }
296
- if (_response.error.reason === "status-code") {
297
- switch (_response.error.statusCode) {
298
- case 404:
299
- throw new Corti.NotFoundError(_response.error.body, _response.rawResponse);
300
- default:
301
- throw new errors.CortiError({
302
- statusCode: _response.error.statusCode,
303
- body: _response.error.body,
304
- rawResponse: _response.rawResponse,
305
- });
306
- }
307
- }
308
- return handleNonStatusCodeError(_response.error, _response.rawResponse, "POST", "/documents/templates/{templateID}/versions/{versionID}/publish");
309
- });
310
- }
311
- }
@@ -1 +0,0 @@
1
- export * from "./requests/index.mjs";
@@ -1 +0,0 @@
1
- export * from "./requests/index.mjs";
@@ -1,14 +0,0 @@
1
- import type * as Corti from "../../../../../../../../index.mjs";
2
- /**
3
- * @example
4
- * {
5
- * generation: {
6
- * instructions: {
7
- * prompt: "prompt"
8
- * }
9
- * }
10
- * }
11
- */
12
- export interface CreateTemplateVersionRequest {
13
- generation: Corti.documents.templates.CreateTemplateVersionRequestGeneration;
14
- }
@@ -1 +0,0 @@
1
- export type { CreateTemplateVersionRequest } from "./CreateTemplateVersionRequest.mjs";
@@ -1,2 +0,0 @@
1
- export * from "./client/index.mjs";
2
- export * from "./types/index.mjs";
@@ -1,2 +0,0 @@
1
- export * from "./client/index.mjs";
2
- export * from "./types/index.mjs";
@@ -1,5 +0,0 @@
1
- import type * as Corti from "../../../../../../../index.mjs";
2
- export interface CreateTemplateVersionRequestGeneration {
3
- instructions: Corti.TemplateInstructions;
4
- sections?: Corti.TemplateVersionSectionRequest[];
5
- }
@@ -1,2 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- export {};
@@ -1 +0,0 @@
1
- export * from "./CreateTemplateVersionRequestGeneration.mjs";
@@ -1 +0,0 @@
1
- export * from "./CreateTemplateVersionRequestGeneration.mjs";
@@ -1,2 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- export {};
@@ -1,2 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- export {};
@@ -1,13 +0,0 @@
1
- import type * as Corti from "../index.mjs";
2
- export interface ArrayNode {
3
- type: "array";
4
- /** Can be used to prompt the LLM with more guidance in addition to the section.instructions */
5
- description?: string;
6
- items: Corti.OutputSchema;
7
- /** Controls how each array item is rendered in the generated output. Use `bullet` (default), `numbered`, or `plain`, or provide a custom format string containing the `{item}` placeholder. */
8
- itemFormat?: string;
9
- /** Minimum number of array items to generate. */
10
- minItems?: number | null;
11
- /** Maximum number of array items to generate. */
12
- maxItems?: number | null;
13
- }
@@ -1,2 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- export {};
@@ -1,7 +0,0 @@
1
- export interface BoolNode {
2
- type: "boolean";
3
- /** Can be used to prompt the LLM with more guidance in addition to the section.instructions */
4
- description?: string;
5
- /** The default to output if nothing to output. */
6
- default?: boolean | null;
7
- }
@@ -1,2 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- export {};
@@ -1,8 +0,0 @@
1
- import type * as Corti from "../index.mjs";
2
- /**
3
- * A single fact provided as input context to the model.
4
- */
5
- export interface ContextFacts {
6
- type: "facts";
7
- fact: Corti.GuidedDocumentFactMinimal;
8
- }
@@ -1,2 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- export {};
@@ -1,8 +0,0 @@
1
- /**
2
- * A freeform text snippet provided as input context to the model.
3
- */
4
- export interface ContextText {
5
- type: "text";
6
- /** Arbitrary text to be reasoned over. */
7
- text: string;
8
- }
@@ -1,2 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- export {};
@@ -1,8 +0,0 @@
1
- import type * as Corti from "../index.mjs";
2
- /**
3
- * A transcript provided as input context to the model.
4
- */
5
- export interface ContextTranscript {
6
- type: "transcript";
7
- transcript: Corti.GuidedDocumentTranscriptMinimal;
8
- }
@@ -1,2 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- export {};
@@ -1,8 +0,0 @@
1
- import type * as Corti from "../index.mjs";
2
- /**
3
- * Response when a document is generated but not saved (retention policy `none`).
4
- */
5
- export interface CreateEphemeralDocumentResponse {
6
- document: Corti.EphemeralDocument;
7
- usageInfo: Corti.CommonUsageInfo;
8
- }
@@ -1,2 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- export {};
@@ -1,17 +0,0 @@
1
- import type * as Corti from "../index.mjs";
2
- export interface CreateSectionBase {
3
- /** A human-readable identifier for this section. Not passed to the LLM. */
4
- name: string;
5
- /** A description for this section. Not passed to the LLM. */
6
- description?: string;
7
- /** BCP 47 language tags this section has been tweaked for. */
8
- languages?: string[];
9
- /** ISO 3166-1 alpha-3 country codes this section has been tweaked for. */
10
- regions?: string[];
11
- /** Clinical specialties this section has been tweaked for. */
12
- specialties?: string[];
13
- /** Labels work as query param filter in the LIST /sections endpoint. */
14
- labels?: Corti.Label[];
15
- /** Defaults to true when omitted. Set this to false if you do not want the section to automatically show up in LIST /sections. */
16
- publish?: boolean;
17
- }
@@ -1,2 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- export {};
@@ -1,9 +0,0 @@
1
- import type * as Corti from "../index.mjs";
2
- /**
3
- * Creates a section that inherits from another section. Any fields omitted in `generation` are inherited from the referenced section's published version; any fields provided override the inherited values.
4
- */
5
- export interface CreateSectionFromInheritanceRequest extends Corti.CreateSectionBase {
6
- /** Reference to the section to inherit generation configuration from. Inherits from the published version of the referenced section. */
7
- inheritFromId: string;
8
- generation?: Corti.SectionGenerationPartial;
9
- }
@@ -1,2 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- export {};
@@ -1,7 +0,0 @@
1
- import type * as Corti from "../index.mjs";
2
- /**
3
- * Creates a section from scratch with an explicit generation configuration. All required fields on `generation` apply.
4
- */
5
- export interface CreateSectionFromScratchRequest extends Corti.CreateSectionBase {
6
- generation: Corti.SectionGeneration;
7
- }
@@ -1,2 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- export {};
@@ -1,2 +0,0 @@
1
- import type * as Corti from "../index.mjs";
2
- export type CreateSectionRequest = Corti.CreateSectionFromScratchRequest | Corti.CreateSectionFromInheritanceRequest;
@@ -1,2 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- export {};
@@ -1,19 +0,0 @@
1
- import type * as Corti from "../index.mjs";
2
- export interface CreateTemplateBase {
3
- /** The name of this template. Not passed to the LLM. */
4
- name: string;
5
- /** A description for this template. Not passed to the LLM. */
6
- description?: string;
7
- /** BCP 47 language tags this template has been tweaked for (e.g. `["fr", "de", "en-GB"]`). */
8
- languages?: string[];
9
- /** ISO 3166-1 alpha-3 country codes this template has been tweaked for (e.g. `["BEL"]`). */
10
- regions?: string[];
11
- /** Clinical specialties this template has been tweaked for. */
12
- specialties?: string[];
13
- /** Labels work as query param filter in the LIST /templates endpoint. */
14
- labels?: Corti.Label[];
15
- /** Defaults to true when omitted. Set this to false if you do not want the template to automatically show up in LIST templates. */
16
- publish?: boolean;
17
- /** Access policies to apply to the template on creation. */
18
- policies?: unknown[];
19
- }
@@ -1,2 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- export {};
@@ -1,10 +0,0 @@
1
- import type * as Corti from "../index.mjs";
2
- /**
3
- * Creates a template that inherits from another template. Any fields omitted in `generation` are inherited from the referenced template's published version; any fields provided override the inherited values.
4
- */
5
- export interface CreateTemplateFromInheritanceRequest extends Corti.CreateTemplateBase {
6
- /** Reference to the template to inherit instructions and sections from. Inherits from the published version of the referenced template. */
7
- inheritFromId: string;
8
- /** Partial overrides applied on top of the inherited template. All inner fields are optional. Any field omitted is inherited from the referenced template. */
9
- generation?: Corti.CreateTemplateFromInheritanceRequestGeneration;
10
- }
@@ -1,2 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- export {};
@@ -1,8 +0,0 @@
1
- import type * as Corti from "../index.mjs";
2
- /**
3
- * Partial overrides applied on top of the inherited template. All inner fields are optional. Any field omitted is inherited from the referenced template.
4
- */
5
- export interface CreateTemplateFromInheritanceRequestGeneration {
6
- instructions?: Corti.TemplateInstructionsPartial;
7
- sections?: Corti.TemplateVersionSectionRequest[];
8
- }
@@ -1,2 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- export {};
@@ -1,7 +0,0 @@
1
- import type * as Corti from "../index.mjs";
2
- /**
3
- * Creates a template from scratch. `generation.instructions` is required and the template fully specifies its own instructions and sections.
4
- */
5
- export interface CreateTemplateFromScratchRequest extends Corti.CreateTemplateBase {
6
- generation: Corti.CreateTemplateFromScratchRequestGeneration;
7
- }
@@ -1,2 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- export {};
@@ -1,5 +0,0 @@
1
- import type * as Corti from "../index.mjs";
2
- export interface CreateTemplateFromScratchRequestGeneration {
3
- instructions: Corti.TemplateInstructions;
4
- sections?: Corti.TemplateVersionSectionRequest[];
5
- }
@@ -1,2 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- export {};
@@ -1,2 +0,0 @@
1
- import type * as Corti from "../index.mjs";
2
- export type CreateTemplateRequest = Corti.CreateTemplateFromScratchRequest | Corti.CreateTemplateFromInheritanceRequest;
@@ -1,2 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- export {};
@@ -1,6 +0,0 @@
1
- import type * as Corti from "../index.mjs";
2
- export interface DocumentationEvidence {
3
- evidenceId?: Corti.Uuid;
4
- type?: string;
5
- quote?: string;
6
- }
@@ -1,2 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- export {};