@corti/sdk 2.0.0-templates.5 → 2.0.0-templates.7

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 (259) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/Client.d.ts +3 -0
  3. package/dist/cjs/Client.js +33 -28
  4. package/dist/cjs/api/errors/UnprocessableEntityError.d.ts +1 -2
  5. package/dist/cjs/api/resources/agents/client/Client.js +4 -28
  6. package/dist/cjs/api/resources/alphaDocuments/client/Client.d.ts +35 -0
  7. package/dist/cjs/api/resources/alphaDocuments/client/Client.js +143 -0
  8. package/dist/cjs/api/resources/alphaDocuments/client/index.d.ts +1 -0
  9. package/dist/cjs/api/resources/alphaDocuments/client/index.js +2 -0
  10. package/dist/cjs/api/resources/alphaDocuments/index.d.ts +1 -0
  11. package/dist/cjs/api/resources/alphaDocuments/index.js +17 -0
  12. package/dist/cjs/api/resources/index.d.ts +1 -0
  13. package/dist/cjs/api/resources/index.js +2 -1
  14. package/dist/cjs/api/types/ContextFacts.d.ts +8 -0
  15. package/dist/cjs/api/types/ContextText.d.ts +8 -0
  16. package/dist/cjs/api/types/ContextTranscript.d.ts +8 -0
  17. package/dist/cjs/api/types/GuidedAssemblyRequest.d.ts +13 -0
  18. package/dist/cjs/api/types/GuidedAssemblySectionRef.d.ts +10 -0
  19. package/dist/cjs/api/types/GuidedAssemblySectionRef.js +3 -0
  20. package/dist/cjs/api/types/GuidedDocumentByAssembly.d.ts +12 -0
  21. package/dist/cjs/api/types/GuidedDocumentByAssembly.js +3 -0
  22. package/dist/cjs/api/types/GuidedDocumentByDynamic.d.ts +12 -0
  23. package/dist/cjs/api/types/GuidedDocumentByDynamic.js +3 -0
  24. package/dist/cjs/api/types/GuidedDocumentByTemplateRef.d.ts +12 -0
  25. package/dist/cjs/api/types/GuidedDocumentByTemplateRef.js +3 -0
  26. package/dist/cjs/api/types/GuidedDocumentContext.d.ts +2 -0
  27. package/dist/cjs/api/types/GuidedDocumentContext.js +3 -0
  28. package/dist/cjs/api/types/GuidedDocumentFactMinimal.d.ts +7 -0
  29. package/dist/cjs/api/types/GuidedDocumentFactMinimal.js +3 -0
  30. package/dist/cjs/api/types/GuidedDocumentRequest.d.ts +2 -0
  31. package/dist/cjs/api/types/GuidedDocumentRequest.js +3 -0
  32. package/dist/cjs/api/types/GuidedDocumentResponse.d.ts +8 -0
  33. package/dist/cjs/api/types/GuidedDocumentResponse.js +3 -0
  34. package/dist/cjs/api/types/GuidedDocumentTranscriptMetadataMinimal.d.ts +7 -0
  35. package/dist/cjs/api/types/GuidedDocumentTranscriptMetadataMinimal.js +3 -0
  36. package/dist/cjs/api/types/GuidedDocumentTranscriptMinimal.d.ts +8 -0
  37. package/dist/cjs/api/types/GuidedDocumentTranscriptMinimal.js +3 -0
  38. package/dist/cjs/api/types/GuidedDocumentTranscriptSegmentMinimal.d.ts +17 -0
  39. package/dist/cjs/api/types/GuidedDocumentTranscriptSegmentMinimal.js +3 -0
  40. package/dist/cjs/api/types/GuidedDynamicInline.d.ts +5 -0
  41. package/dist/cjs/api/types/GuidedDynamicInline.js +3 -0
  42. package/dist/cjs/api/types/GuidedDynamicRequest.d.ts +10 -0
  43. package/dist/cjs/api/types/GuidedDynamicRequest.js +3 -0
  44. package/dist/cjs/api/types/GuidedGenerationResult.d.ts +11 -0
  45. package/dist/cjs/api/types/GuidedGenerationResult.js +3 -0
  46. package/dist/cjs/api/types/GuidedGenerationResultUsage.d.ts +4 -0
  47. package/dist/cjs/api/types/GuidedGenerationResultUsage.js +3 -0
  48. package/dist/cjs/api/types/GuidedGenerationResultUsageTokenCount.d.ts +4 -0
  49. package/dist/cjs/api/types/GuidedGenerationResultUsageTokenCount.js +3 -0
  50. package/dist/cjs/api/types/GuidedSectionOverride.d.ts +13 -0
  51. package/dist/cjs/api/types/GuidedSectionOverride.js +3 -0
  52. package/dist/cjs/api/types/GuidedTemplateOverrides.d.ts +7 -0
  53. package/dist/cjs/api/types/GuidedTemplateOverrides.js +3 -0
  54. package/dist/cjs/api/types/GuidedTemplateRef.d.ts +9 -0
  55. package/dist/cjs/api/types/GuidedTemplateRef.js +3 -0
  56. package/dist/cjs/api/types/SectionInstructionsOverride.d.ts +9 -0
  57. package/dist/cjs/api/types/SectionInstructionsOverride.js +3 -0
  58. package/dist/cjs/api/types/SectionOverrides.d.ts +11 -0
  59. package/dist/cjs/api/types/SectionOverrides.js +3 -0
  60. package/dist/cjs/api/types/index.d.ts +25 -4
  61. package/dist/cjs/api/types/index.js +25 -4
  62. package/dist/cjs/serialization/types/ContextFacts.d.ts +11 -0
  63. package/dist/cjs/serialization/types/{AgentsErrorResponse.js → ContextFacts.js} +5 -7
  64. package/dist/cjs/serialization/types/ContextText.d.ts +10 -0
  65. package/dist/cjs/serialization/types/{AgentsValidationErrorErrorsItem.js → ContextText.js} +4 -4
  66. package/dist/cjs/serialization/types/ContextTranscript.d.ts +11 -0
  67. package/dist/cjs/serialization/types/{AgentsValidationError.js → ContextTranscript.js} +5 -8
  68. package/dist/cjs/serialization/types/GuidedAssemblyRequest.d.ts +14 -0
  69. package/dist/cjs/serialization/types/GuidedAssemblyRequest.js +46 -0
  70. package/dist/cjs/serialization/types/GuidedAssemblySectionRef.d.ts +12 -0
  71. package/dist/cjs/serialization/types/GuidedAssemblySectionRef.js +44 -0
  72. package/dist/cjs/serialization/types/GuidedDocumentByAssembly.d.ts +13 -0
  73. package/dist/cjs/serialization/types/GuidedDocumentByAssembly.js +45 -0
  74. package/dist/cjs/serialization/types/GuidedDocumentByDynamic.d.ts +13 -0
  75. package/dist/cjs/serialization/types/GuidedDocumentByDynamic.js +45 -0
  76. package/dist/cjs/serialization/types/GuidedDocumentByTemplateRef.d.ts +13 -0
  77. package/dist/cjs/serialization/types/GuidedDocumentByTemplateRef.js +45 -0
  78. package/dist/cjs/serialization/types/GuidedDocumentContext.d.ts +10 -0
  79. package/dist/cjs/serialization/types/GuidedDocumentContext.js +42 -0
  80. package/dist/cjs/serialization/types/GuidedDocumentFactMinimal.d.ts +9 -0
  81. package/dist/cjs/serialization/types/GuidedDocumentFactMinimal.js +41 -0
  82. package/dist/cjs/serialization/types/GuidedDocumentRequest.d.ts +10 -0
  83. package/dist/cjs/serialization/types/GuidedDocumentRequest.js +46 -0
  84. package/dist/cjs/serialization/types/GuidedDocumentResponse.d.ts +12 -0
  85. package/dist/cjs/serialization/types/GuidedDocumentResponse.js +44 -0
  86. package/dist/cjs/serialization/types/GuidedDocumentTranscriptMetadataMinimal.d.ts +10 -0
  87. package/dist/cjs/serialization/types/GuidedDocumentTranscriptMetadataMinimal.js +42 -0
  88. package/dist/cjs/serialization/types/GuidedDocumentTranscriptMinimal.d.ts +12 -0
  89. package/dist/cjs/serialization/types/GuidedDocumentTranscriptMinimal.js +44 -0
  90. package/dist/cjs/serialization/types/GuidedDocumentTranscriptSegmentMinimal.d.ts +14 -0
  91. package/dist/cjs/serialization/types/GuidedDocumentTranscriptSegmentMinimal.js +46 -0
  92. package/dist/cjs/serialization/types/GuidedDynamicInline.d.ts +12 -0
  93. package/dist/cjs/serialization/types/GuidedDynamicInline.js +44 -0
  94. package/dist/cjs/serialization/types/GuidedDynamicRequest.d.ts +12 -0
  95. package/dist/cjs/serialization/types/{AgentsValidationErrorResponse.js → GuidedDynamicRequest.js} +7 -8
  96. package/dist/cjs/serialization/types/GuidedGenerationResult.d.ts +12 -0
  97. package/dist/cjs/serialization/types/GuidedGenerationResult.js +46 -0
  98. package/dist/cjs/serialization/types/GuidedGenerationResultUsage.d.ts +10 -0
  99. package/dist/cjs/serialization/types/GuidedGenerationResultUsage.js +42 -0
  100. package/dist/cjs/serialization/types/GuidedGenerationResultUsageTokenCount.d.ts +10 -0
  101. package/dist/cjs/serialization/types/GuidedGenerationResultUsageTokenCount.js +42 -0
  102. package/dist/cjs/serialization/types/GuidedSectionOverride.d.ts +13 -0
  103. package/dist/cjs/serialization/types/GuidedSectionOverride.js +46 -0
  104. package/dist/cjs/serialization/types/GuidedTemplateOverrides.d.ts +12 -0
  105. package/dist/cjs/serialization/types/GuidedTemplateOverrides.js +44 -0
  106. package/dist/cjs/serialization/types/GuidedTemplateRef.d.ts +12 -0
  107. package/dist/cjs/serialization/types/GuidedTemplateRef.js +44 -0
  108. package/dist/cjs/serialization/types/SectionInstructionsOverride.d.ts +10 -0
  109. package/dist/cjs/serialization/types/SectionInstructionsOverride.js +42 -0
  110. package/dist/cjs/serialization/types/SectionOverrides.d.ts +12 -0
  111. package/dist/cjs/serialization/types/SectionOverrides.js +45 -0
  112. package/dist/cjs/serialization/types/index.d.ts +25 -4
  113. package/dist/cjs/serialization/types/index.js +25 -4
  114. package/dist/cjs/version.d.ts +1 -1
  115. package/dist/cjs/version.js +1 -1
  116. package/dist/esm/BaseClient.mjs +2 -2
  117. package/dist/esm/Client.d.mts +3 -0
  118. package/dist/esm/Client.mjs +5 -0
  119. package/dist/esm/api/errors/UnprocessableEntityError.d.mts +1 -2
  120. package/dist/esm/api/resources/agents/client/Client.mjs +4 -28
  121. package/dist/esm/api/resources/alphaDocuments/client/Client.d.mts +35 -0
  122. package/dist/esm/api/resources/alphaDocuments/client/Client.mjs +106 -0
  123. package/dist/esm/api/resources/alphaDocuments/client/index.d.mts +1 -0
  124. package/dist/esm/api/resources/alphaDocuments/client/index.mjs +1 -0
  125. package/dist/esm/api/resources/alphaDocuments/index.d.mts +1 -0
  126. package/dist/esm/api/resources/alphaDocuments/index.mjs +1 -0
  127. package/dist/esm/api/resources/index.d.mts +1 -0
  128. package/dist/esm/api/resources/index.mjs +1 -0
  129. package/dist/esm/api/types/ContextFacts.d.mts +8 -0
  130. package/dist/esm/api/types/ContextText.d.mts +8 -0
  131. package/dist/esm/api/types/ContextTranscript.d.mts +8 -0
  132. package/dist/esm/api/types/GuidedAssemblyRequest.d.mts +13 -0
  133. package/dist/esm/api/types/GuidedAssemblySectionRef.d.mts +10 -0
  134. package/dist/esm/api/types/GuidedAssemblySectionRef.mjs +2 -0
  135. package/dist/esm/api/types/GuidedDocumentByAssembly.d.mts +12 -0
  136. package/dist/esm/api/types/GuidedDocumentByAssembly.mjs +2 -0
  137. package/dist/esm/api/types/GuidedDocumentByDynamic.d.mts +12 -0
  138. package/dist/esm/api/types/GuidedDocumentByDynamic.mjs +2 -0
  139. package/dist/esm/api/types/GuidedDocumentByTemplateRef.d.mts +12 -0
  140. package/dist/esm/api/types/GuidedDocumentByTemplateRef.mjs +2 -0
  141. package/dist/esm/api/types/GuidedDocumentContext.d.mts +2 -0
  142. package/dist/esm/api/types/GuidedDocumentContext.mjs +2 -0
  143. package/dist/esm/api/types/GuidedDocumentFactMinimal.d.mts +7 -0
  144. package/dist/esm/api/types/GuidedDocumentFactMinimal.mjs +2 -0
  145. package/dist/esm/api/types/GuidedDocumentRequest.d.mts +2 -0
  146. package/dist/esm/api/types/GuidedDocumentRequest.mjs +2 -0
  147. package/dist/esm/api/types/GuidedDocumentResponse.d.mts +8 -0
  148. package/dist/esm/api/types/GuidedDocumentResponse.mjs +2 -0
  149. package/dist/esm/api/types/GuidedDocumentTranscriptMetadataMinimal.d.mts +7 -0
  150. package/dist/esm/api/types/GuidedDocumentTranscriptMetadataMinimal.mjs +2 -0
  151. package/dist/esm/api/types/GuidedDocumentTranscriptMinimal.d.mts +8 -0
  152. package/dist/esm/api/types/GuidedDocumentTranscriptMinimal.mjs +2 -0
  153. package/dist/esm/api/types/GuidedDocumentTranscriptSegmentMinimal.d.mts +17 -0
  154. package/dist/esm/api/types/GuidedDocumentTranscriptSegmentMinimal.mjs +2 -0
  155. package/dist/esm/api/types/GuidedDynamicInline.d.mts +5 -0
  156. package/dist/esm/api/types/GuidedDynamicInline.mjs +2 -0
  157. package/dist/esm/api/types/GuidedDynamicRequest.d.mts +10 -0
  158. package/dist/esm/api/types/GuidedDynamicRequest.mjs +2 -0
  159. package/dist/esm/api/types/GuidedGenerationResult.d.mts +11 -0
  160. package/dist/esm/api/types/GuidedGenerationResult.mjs +2 -0
  161. package/dist/esm/api/types/GuidedGenerationResultUsage.d.mts +4 -0
  162. package/dist/esm/api/types/GuidedGenerationResultUsage.mjs +2 -0
  163. package/dist/esm/api/types/GuidedGenerationResultUsageTokenCount.d.mts +4 -0
  164. package/dist/esm/api/types/GuidedGenerationResultUsageTokenCount.mjs +2 -0
  165. package/dist/esm/api/types/GuidedSectionOverride.d.mts +13 -0
  166. package/dist/esm/api/types/GuidedSectionOverride.mjs +2 -0
  167. package/dist/esm/api/types/GuidedTemplateOverrides.d.mts +7 -0
  168. package/dist/esm/api/types/GuidedTemplateOverrides.mjs +2 -0
  169. package/dist/esm/api/types/GuidedTemplateRef.d.mts +9 -0
  170. package/dist/esm/api/types/GuidedTemplateRef.mjs +2 -0
  171. package/dist/esm/api/types/SectionInstructionsOverride.d.mts +9 -0
  172. package/dist/esm/api/types/SectionInstructionsOverride.mjs +2 -0
  173. package/dist/esm/api/types/SectionOverrides.d.mts +11 -0
  174. package/dist/esm/api/types/SectionOverrides.mjs +2 -0
  175. package/dist/esm/api/types/index.d.mts +25 -4
  176. package/dist/esm/api/types/index.mjs +25 -4
  177. package/dist/esm/serialization/types/ContextFacts.d.mts +11 -0
  178. package/dist/esm/serialization/types/ContextFacts.mjs +7 -0
  179. package/dist/esm/serialization/types/ContextText.d.mts +10 -0
  180. package/dist/esm/serialization/types/ContextText.mjs +6 -0
  181. package/dist/esm/serialization/types/ContextTranscript.d.mts +11 -0
  182. package/dist/esm/serialization/types/ContextTranscript.mjs +7 -0
  183. package/dist/esm/serialization/types/GuidedAssemblyRequest.d.mts +14 -0
  184. package/dist/esm/serialization/types/GuidedAssemblyRequest.mjs +10 -0
  185. package/dist/esm/serialization/types/GuidedAssemblySectionRef.d.mts +12 -0
  186. package/dist/esm/serialization/types/GuidedAssemblySectionRef.mjs +8 -0
  187. package/dist/esm/serialization/types/GuidedDocumentByAssembly.d.mts +13 -0
  188. package/dist/esm/serialization/types/GuidedDocumentByAssembly.mjs +9 -0
  189. package/dist/esm/serialization/types/GuidedDocumentByDynamic.d.mts +13 -0
  190. package/dist/esm/serialization/types/GuidedDocumentByDynamic.mjs +9 -0
  191. package/dist/esm/serialization/types/GuidedDocumentByTemplateRef.d.mts +13 -0
  192. package/dist/esm/serialization/types/GuidedDocumentByTemplateRef.mjs +9 -0
  193. package/dist/esm/serialization/types/GuidedDocumentContext.d.mts +10 -0
  194. package/dist/esm/serialization/types/GuidedDocumentContext.mjs +6 -0
  195. package/dist/esm/serialization/types/GuidedDocumentFactMinimal.d.mts +9 -0
  196. package/dist/esm/serialization/types/GuidedDocumentFactMinimal.mjs +5 -0
  197. package/dist/esm/serialization/types/GuidedDocumentRequest.d.mts +10 -0
  198. package/dist/esm/serialization/types/GuidedDocumentRequest.mjs +10 -0
  199. package/dist/esm/serialization/types/GuidedDocumentResponse.d.mts +12 -0
  200. package/dist/esm/serialization/types/GuidedDocumentResponse.mjs +8 -0
  201. package/dist/esm/serialization/types/GuidedDocumentTranscriptMetadataMinimal.d.mts +10 -0
  202. package/dist/esm/serialization/types/GuidedDocumentTranscriptMetadataMinimal.mjs +6 -0
  203. package/dist/esm/serialization/types/GuidedDocumentTranscriptMinimal.d.mts +12 -0
  204. package/dist/esm/serialization/types/GuidedDocumentTranscriptMinimal.mjs +8 -0
  205. package/dist/esm/serialization/types/GuidedDocumentTranscriptSegmentMinimal.d.mts +14 -0
  206. package/dist/esm/serialization/types/GuidedDocumentTranscriptSegmentMinimal.mjs +10 -0
  207. package/dist/esm/serialization/types/GuidedDynamicInline.d.mts +12 -0
  208. package/dist/esm/serialization/types/GuidedDynamicInline.mjs +8 -0
  209. package/dist/esm/serialization/types/GuidedDynamicRequest.d.mts +12 -0
  210. package/dist/esm/serialization/types/GuidedDynamicRequest.mjs +8 -0
  211. package/dist/esm/serialization/types/GuidedGenerationResult.d.mts +12 -0
  212. package/dist/esm/serialization/types/GuidedGenerationResult.mjs +10 -0
  213. package/dist/esm/serialization/types/GuidedGenerationResultUsage.d.mts +10 -0
  214. package/dist/esm/serialization/types/GuidedGenerationResultUsage.mjs +6 -0
  215. package/dist/esm/serialization/types/GuidedGenerationResultUsageTokenCount.d.mts +10 -0
  216. package/dist/esm/serialization/types/GuidedGenerationResultUsageTokenCount.mjs +6 -0
  217. package/dist/esm/serialization/types/GuidedSectionOverride.d.mts +13 -0
  218. package/dist/esm/serialization/types/GuidedSectionOverride.mjs +10 -0
  219. package/dist/esm/serialization/types/GuidedTemplateOverrides.d.mts +12 -0
  220. package/dist/esm/serialization/types/GuidedTemplateOverrides.mjs +8 -0
  221. package/dist/esm/serialization/types/GuidedTemplateRef.d.mts +12 -0
  222. package/dist/esm/serialization/types/GuidedTemplateRef.mjs +8 -0
  223. package/dist/esm/serialization/types/SectionInstructionsOverride.d.mts +10 -0
  224. package/dist/esm/serialization/types/SectionInstructionsOverride.mjs +6 -0
  225. package/dist/esm/serialization/types/SectionOverrides.d.mts +12 -0
  226. package/dist/esm/serialization/types/SectionOverrides.mjs +9 -0
  227. package/dist/esm/serialization/types/index.d.mts +25 -4
  228. package/dist/esm/serialization/types/index.mjs +25 -4
  229. package/dist/esm/version.d.mts +1 -1
  230. package/dist/esm/version.mjs +1 -1
  231. package/package.json +1 -1
  232. package/dist/cjs/api/types/AgentsErrorResponse.d.ts +0 -12
  233. package/dist/cjs/api/types/AgentsValidationError.d.ts +0 -8
  234. package/dist/cjs/api/types/AgentsValidationErrorErrorsItem.d.ts +0 -4
  235. package/dist/cjs/api/types/AgentsValidationErrorResponse.d.ts +0 -4
  236. package/dist/cjs/serialization/types/AgentsErrorResponse.d.ts +0 -13
  237. package/dist/cjs/serialization/types/AgentsValidationError.d.ts +0 -14
  238. package/dist/cjs/serialization/types/AgentsValidationErrorErrorsItem.d.ts +0 -10
  239. package/dist/cjs/serialization/types/AgentsValidationErrorResponse.d.ts +0 -11
  240. package/dist/esm/api/types/AgentsErrorResponse.d.mts +0 -12
  241. package/dist/esm/api/types/AgentsValidationError.d.mts +0 -8
  242. package/dist/esm/api/types/AgentsValidationErrorErrorsItem.d.mts +0 -4
  243. package/dist/esm/api/types/AgentsValidationErrorResponse.d.mts +0 -4
  244. package/dist/esm/serialization/types/AgentsErrorResponse.d.mts +0 -13
  245. package/dist/esm/serialization/types/AgentsErrorResponse.mjs +0 -9
  246. package/dist/esm/serialization/types/AgentsValidationError.d.mts +0 -14
  247. package/dist/esm/serialization/types/AgentsValidationError.mjs +0 -10
  248. package/dist/esm/serialization/types/AgentsValidationErrorErrorsItem.d.mts +0 -10
  249. package/dist/esm/serialization/types/AgentsValidationErrorErrorsItem.mjs +0 -6
  250. package/dist/esm/serialization/types/AgentsValidationErrorResponse.d.mts +0 -11
  251. package/dist/esm/serialization/types/AgentsValidationErrorResponse.mjs +0 -9
  252. /package/dist/cjs/api/types/{AgentsErrorResponse.js → ContextFacts.js} +0 -0
  253. /package/dist/cjs/api/types/{AgentsValidationError.js → ContextText.js} +0 -0
  254. /package/dist/cjs/api/types/{AgentsValidationErrorErrorsItem.js → ContextTranscript.js} +0 -0
  255. /package/dist/cjs/api/types/{AgentsValidationErrorResponse.js → GuidedAssemblyRequest.js} +0 -0
  256. /package/dist/esm/api/types/{AgentsErrorResponse.mjs → ContextFacts.mjs} +0 -0
  257. /package/dist/esm/api/types/{AgentsValidationError.mjs → ContextText.mjs} +0 -0
  258. /package/dist/esm/api/types/{AgentsValidationErrorErrorsItem.mjs → ContextTranscript.mjs} +0 -0
  259. /package/dist/esm/api/types/{AgentsValidationErrorResponse.mjs → GuidedAssemblyRequest.mjs} +0 -0
@@ -0,0 +1,7 @@
1
+ import type * as Corti from "../index.js";
2
+ /**
3
+ * Optional transcript-level metadata. All fields optional.
4
+ */
5
+ export interface GuidedDocumentTranscriptMetadataMinimal {
6
+ participantsRoles?: Corti.TranscriptsParticipant[] | null;
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ import type * as Corti from "../index.js";
2
+ /**
3
+ * Minimal transcript shape accepted as guided-document input context. Decoupled from the transcript resource: only `transcripts` is required, and within each segment only `text` is required.
4
+ */
5
+ export interface GuidedDocumentTranscriptMinimal {
6
+ metadata?: Corti.GuidedDocumentTranscriptMetadataMinimal;
7
+ transcripts: Corti.GuidedDocumentTranscriptSegmentMinimal[];
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Minimal transcript segment. Only `text` is required.
3
+ */
4
+ export interface GuidedDocumentTranscriptSegmentMinimal {
5
+ /** The channel associated with this phrase/utterance. */
6
+ channel?: number;
7
+ /** The identifier of the participant. */
8
+ participant?: number;
9
+ /** Id to tag an identified speaker. */
10
+ speakerId?: number;
11
+ /** The spoken phrase or utterance. */
12
+ text: string;
13
+ /** Start time in milliseconds for phrase/utterance. */
14
+ start?: number;
15
+ /** End time in milliseconds for phrase/utterance. */
16
+ end?: number;
17
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ import type * as Corti from "../index.js";
2
+ export interface GuidedDynamicInline {
3
+ instructions: Corti.TemplateInstructions;
4
+ sections: Corti.SectionGeneration[];
5
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ import type * as Corti from "../index.js";
2
+ /**
3
+ * Fully inline template definition. Sections and the wrapping template are created and immediately published as auto-generated resources.
4
+ */
5
+ export interface GuidedDynamicRequest {
6
+ name: string;
7
+ /** BCP 47 language tag. */
8
+ language: string;
9
+ generation: Corti.GuidedDynamicInline;
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ import type * as Corti from "../index.js";
2
+ /**
3
+ * Generation result. The shape mirrors the resolved template's section output schemas.
4
+ */
5
+ export interface GuidedGenerationResult {
6
+ /** The generated document as a map of section key to rendered string output. */
7
+ stringDocument?: Record<string, string>;
8
+ /** The generated document as a structured object keyed by section. */
9
+ structuredDocument?: Record<string, unknown> | null;
10
+ usage?: Corti.GuidedGenerationResultUsage;
11
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ import type * as Corti from "../index.js";
2
+ export interface GuidedGenerationResultUsage {
3
+ tokenCount?: Corti.GuidedGenerationResultUsageTokenCount;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,4 @@
1
+ export interface GuidedGenerationResultUsageTokenCount {
2
+ input?: number;
3
+ output?: number;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ import type * as Corti from "../index.js";
2
+ /**
3
+ * Override patch applied to a section linked to the base template version. Override semantics are per-field for `instructions` (any field you omit is inherited from the parent's published version) and wholesale for `outputSchema` (whatever you submit fully replaces the parent schema — partial schemas are not merged). The same rule applies when a section is forked via `inheritFromId`.
4
+ */
5
+ export interface GuidedSectionOverride {
6
+ /** The UUID of a section linked to the base template version. */
7
+ sectionId: string;
8
+ /** When provided, replaces the section's title for this call. */
9
+ title?: string | null;
10
+ instructions?: Corti.SectionInstructionsOverride;
11
+ /** When provided, fully replaces the parent's output schema. Not a partial merge — any submitted value replaces the parent's schema in its entirety. */
12
+ outputSchema?: Corti.OutputSchema;
13
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ import type * as Corti from "../index.js";
2
+ export interface GuidedTemplateOverrides {
3
+ /** Replaces the template-level instructions for this call. */
4
+ instructions?: Corti.TemplateInstructions;
5
+ /** Per-section override patches. Each entry must reference a section already linked to the base template version. */
6
+ sections?: Corti.GuidedSectionOverride[];
7
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ import type * as Corti from "../index.js";
2
+ export interface GuidedTemplateRef {
3
+ /** The UUID of a stored template. */
4
+ templateId: string;
5
+ /** Optional explicit template version. Defaults to the template's published version when omitted. */
6
+ templateVersionId?: string | null;
7
+ /** Runtime overrides applied on top of the resolved template. When present, a new auto-generated template is persisted with `inheritedFromId` pointing at the base template. */
8
+ overrides?: Corti.GuidedTemplateOverrides;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Partial section-instructions patch used in override and fork contexts. Each field is independent: provide only the fields you want to replace, and any field you omit is inherited from the parent's published version.
3
+ */
4
+ export interface SectionInstructionsOverride {
5
+ /** When provided, replaces the section's content prompt. Omit to inherit from the parent. */
6
+ contentPrompt?: string;
7
+ /** When provided, replaces the section's writing style prompt. Omit to inherit from the parent. */
8
+ writingStylePrompt?: string;
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ import type * as Corti from "../index.js";
2
+ /**
3
+ * Patches a section's content at link time without mutating the underlying section. Override semantics are per-field for instructions (any field you omit is inherited from the parent's published version) and wholesale for `outputSchema` (whatever you submit fully replaces the parent schema). The same applies when a section is forked via `inheritFromId`.
4
+ */
5
+ export interface SectionOverrides {
6
+ /** When provided, replaces the section's title for this call. */
7
+ title?: string | null;
8
+ instructions?: Corti.SectionInstructionsOverride;
9
+ /** When provided, fully replaces the parent's output schema. */
10
+ outputSchema?: Corti.OutputSchema;
11
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -22,7 +22,6 @@ export * from "./AgentsCreateMcpServerAuthorizationType.js";
22
22
  export * from "./AgentsCreateMcpServerTransportType.js";
23
23
  export * from "./AgentsDataPart.js";
24
24
  export * from "./AgentsDataPartKind.js";
25
- export * from "./AgentsErrorResponse.js";
26
25
  export * from "./AgentsExpert.js";
27
26
  export * from "./AgentsExpertReference.js";
28
27
  export * from "./AgentsExpertReferenceType.js";
@@ -53,9 +52,6 @@ export * from "./AgentsTaskStatusState.js";
53
52
  export * from "./AgentsTextPart.js";
54
53
  export * from "./AgentsTextPartKind.js";
55
54
  export * from "./AgentsUpdateExpertReference.js";
56
- export * from "./AgentsValidationError.js";
57
- export * from "./AgentsValidationErrorErrorsItem.js";
58
- export * from "./AgentsValidationErrorResponse.js";
59
55
  export * from "./ArrayNode.js";
60
56
  export * from "./AuthTokenRequestAuthorizationCode.js";
61
57
  export * from "./AuthTokenRequestAuthorizationPkce.js";
@@ -80,6 +76,9 @@ export * from "./CommonTextContextType.js";
80
76
  export * from "./CommonTranscriptRequest.js";
81
77
  export * from "./CommonTranscriptResponse.js";
82
78
  export * from "./CommonUsageInfo.js";
79
+ export * from "./ContextFacts.js";
80
+ export * from "./ContextText.js";
81
+ export * from "./ContextTranscript.js";
83
82
  export * from "./CreateSectionBase.js";
84
83
  export * from "./CreateSectionFromInheritanceRequest.js";
85
84
  export * from "./CreateSectionFromScratchRequest.js";
@@ -126,6 +125,26 @@ export * from "./FactsListItem.js";
126
125
  export * from "./FactsListResponse.js";
127
126
  export * from "./FactsUpdateResponse.js";
128
127
  export * from "./FieldDefinition.js";
128
+ export * from "./GuidedAssemblyRequest.js";
129
+ export * from "./GuidedAssemblySectionRef.js";
130
+ export * from "./GuidedDocumentByAssembly.js";
131
+ export * from "./GuidedDocumentByDynamic.js";
132
+ export * from "./GuidedDocumentByTemplateRef.js";
133
+ export * from "./GuidedDocumentContext.js";
134
+ export * from "./GuidedDocumentFactMinimal.js";
135
+ export * from "./GuidedDocumentRequest.js";
136
+ export * from "./GuidedDocumentResponse.js";
137
+ export * from "./GuidedDocumentTranscriptMetadataMinimal.js";
138
+ export * from "./GuidedDocumentTranscriptMinimal.js";
139
+ export * from "./GuidedDocumentTranscriptSegmentMinimal.js";
140
+ export * from "./GuidedDynamicInline.js";
141
+ export * from "./GuidedDynamicRequest.js";
142
+ export * from "./GuidedGenerationResult.js";
143
+ export * from "./GuidedGenerationResultUsage.js";
144
+ export * from "./GuidedGenerationResultUsageTokenCount.js";
145
+ export * from "./GuidedSectionOverride.js";
146
+ export * from "./GuidedTemplateOverrides.js";
147
+ export * from "./GuidedTemplateRef.js";
129
148
  export * from "./InteractionsCreateResponse.js";
130
149
  export * from "./InteractionsEncounterCreateRequest.js";
131
150
  export * from "./InteractionsEncounterPeriod.js";
@@ -147,7 +166,9 @@ export * from "./Section.js";
147
166
  export * from "./SectionGeneration.js";
148
167
  export * from "./SectionGenerationPartial.js";
149
168
  export * from "./SectionInstructions.js";
169
+ export * from "./SectionInstructionsOverride.js";
150
170
  export * from "./SectionInstructionsPartial.js";
171
+ export * from "./SectionOverrides.js";
151
172
  export * from "./SectionVersion.js";
152
173
  export * from "./StatusResponse.js";
153
174
  export * from "./StreamConfig.js";
@@ -38,7 +38,6 @@ __exportStar(require("./AgentsCreateMcpServerAuthorizationType.js"), exports);
38
38
  __exportStar(require("./AgentsCreateMcpServerTransportType.js"), exports);
39
39
  __exportStar(require("./AgentsDataPart.js"), exports);
40
40
  __exportStar(require("./AgentsDataPartKind.js"), exports);
41
- __exportStar(require("./AgentsErrorResponse.js"), exports);
42
41
  __exportStar(require("./AgentsExpert.js"), exports);
43
42
  __exportStar(require("./AgentsExpertReference.js"), exports);
44
43
  __exportStar(require("./AgentsExpertReferenceType.js"), exports);
@@ -69,9 +68,6 @@ __exportStar(require("./AgentsTaskStatusState.js"), exports);
69
68
  __exportStar(require("./AgentsTextPart.js"), exports);
70
69
  __exportStar(require("./AgentsTextPartKind.js"), exports);
71
70
  __exportStar(require("./AgentsUpdateExpertReference.js"), exports);
72
- __exportStar(require("./AgentsValidationError.js"), exports);
73
- __exportStar(require("./AgentsValidationErrorErrorsItem.js"), exports);
74
- __exportStar(require("./AgentsValidationErrorResponse.js"), exports);
75
71
  __exportStar(require("./ArrayNode.js"), exports);
76
72
  __exportStar(require("./AuthTokenRequestAuthorizationCode.js"), exports);
77
73
  __exportStar(require("./AuthTokenRequestAuthorizationPkce.js"), exports);
@@ -96,6 +92,9 @@ __exportStar(require("./CommonTextContextType.js"), exports);
96
92
  __exportStar(require("./CommonTranscriptRequest.js"), exports);
97
93
  __exportStar(require("./CommonTranscriptResponse.js"), exports);
98
94
  __exportStar(require("./CommonUsageInfo.js"), exports);
95
+ __exportStar(require("./ContextFacts.js"), exports);
96
+ __exportStar(require("./ContextText.js"), exports);
97
+ __exportStar(require("./ContextTranscript.js"), exports);
99
98
  __exportStar(require("./CreateSectionBase.js"), exports);
100
99
  __exportStar(require("./CreateSectionFromInheritanceRequest.js"), exports);
101
100
  __exportStar(require("./CreateSectionFromScratchRequest.js"), exports);
@@ -142,6 +141,26 @@ __exportStar(require("./FactsListItem.js"), exports);
142
141
  __exportStar(require("./FactsListResponse.js"), exports);
143
142
  __exportStar(require("./FactsUpdateResponse.js"), exports);
144
143
  __exportStar(require("./FieldDefinition.js"), exports);
144
+ __exportStar(require("./GuidedAssemblyRequest.js"), exports);
145
+ __exportStar(require("./GuidedAssemblySectionRef.js"), exports);
146
+ __exportStar(require("./GuidedDocumentByAssembly.js"), exports);
147
+ __exportStar(require("./GuidedDocumentByDynamic.js"), exports);
148
+ __exportStar(require("./GuidedDocumentByTemplateRef.js"), exports);
149
+ __exportStar(require("./GuidedDocumentContext.js"), exports);
150
+ __exportStar(require("./GuidedDocumentFactMinimal.js"), exports);
151
+ __exportStar(require("./GuidedDocumentRequest.js"), exports);
152
+ __exportStar(require("./GuidedDocumentResponse.js"), exports);
153
+ __exportStar(require("./GuidedDocumentTranscriptMetadataMinimal.js"), exports);
154
+ __exportStar(require("./GuidedDocumentTranscriptMinimal.js"), exports);
155
+ __exportStar(require("./GuidedDocumentTranscriptSegmentMinimal.js"), exports);
156
+ __exportStar(require("./GuidedDynamicInline.js"), exports);
157
+ __exportStar(require("./GuidedDynamicRequest.js"), exports);
158
+ __exportStar(require("./GuidedGenerationResult.js"), exports);
159
+ __exportStar(require("./GuidedGenerationResultUsage.js"), exports);
160
+ __exportStar(require("./GuidedGenerationResultUsageTokenCount.js"), exports);
161
+ __exportStar(require("./GuidedSectionOverride.js"), exports);
162
+ __exportStar(require("./GuidedTemplateOverrides.js"), exports);
163
+ __exportStar(require("./GuidedTemplateRef.js"), exports);
145
164
  __exportStar(require("./InteractionsCreateResponse.js"), exports);
146
165
  __exportStar(require("./InteractionsEncounterCreateRequest.js"), exports);
147
166
  __exportStar(require("./InteractionsEncounterPeriod.js"), exports);
@@ -163,7 +182,9 @@ __exportStar(require("./Section.js"), exports);
163
182
  __exportStar(require("./SectionGeneration.js"), exports);
164
183
  __exportStar(require("./SectionGenerationPartial.js"), exports);
165
184
  __exportStar(require("./SectionInstructions.js"), exports);
185
+ __exportStar(require("./SectionInstructionsOverride.js"), exports);
166
186
  __exportStar(require("./SectionInstructionsPartial.js"), exports);
187
+ __exportStar(require("./SectionOverrides.js"), exports);
167
188
  __exportStar(require("./SectionVersion.js"), exports);
168
189
  __exportStar(require("./StatusResponse.js"), exports);
169
190
  __exportStar(require("./StreamConfig.js"), exports);
@@ -0,0 +1,11 @@
1
+ import type * as Corti from "../../api/index.js";
2
+ import * as core from "../../core/index.js";
3
+ import type * as serializers from "../index.js";
4
+ import { GuidedDocumentFactMinimal } from "./GuidedDocumentFactMinimal.js";
5
+ export declare const ContextFacts: core.serialization.ObjectSchema<serializers.ContextFacts.Raw, Corti.ContextFacts>;
6
+ export declare namespace ContextFacts {
7
+ interface Raw {
8
+ type: "facts";
9
+ fact: GuidedDocumentFactMinimal.Raw;
10
+ }
11
+ }
@@ -34,12 +34,10 @@ var __importStar = (this && this.__importStar) || (function () {
34
34
  };
35
35
  })();
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.AgentsErrorResponse = void 0;
37
+ exports.ContextFacts = void 0;
38
38
  const core = __importStar(require("../../core/index.js"));
39
- exports.AgentsErrorResponse = core.serialization.object({
40
- code: core.serialization.string(),
41
- description: core.serialization.string(),
42
- howToFix: core.serialization.string().optional(),
43
- details: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
44
- cause: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
39
+ const GuidedDocumentFactMinimal_js_1 = require("./GuidedDocumentFactMinimal.js");
40
+ exports.ContextFacts = core.serialization.object({
41
+ type: core.serialization.stringLiteral("facts"),
42
+ fact: GuidedDocumentFactMinimal_js_1.GuidedDocumentFactMinimal,
45
43
  });
@@ -0,0 +1,10 @@
1
+ import type * as Corti from "../../api/index.js";
2
+ import * as core from "../../core/index.js";
3
+ import type * as serializers from "../index.js";
4
+ export declare const ContextText: core.serialization.ObjectSchema<serializers.ContextText.Raw, Corti.ContextText>;
5
+ export declare namespace ContextText {
6
+ interface Raw {
7
+ type: "text";
8
+ text: string;
9
+ }
10
+ }
@@ -34,9 +34,9 @@ var __importStar = (this && this.__importStar) || (function () {
34
34
  };
35
35
  })();
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.AgentsValidationErrorErrorsItem = void 0;
37
+ exports.ContextText = void 0;
38
38
  const core = __importStar(require("../../core/index.js"));
39
- exports.AgentsValidationErrorErrorsItem = core.serialization.object({
40
- location: core.serialization.string().optional(),
41
- reason: core.serialization.string().optional(),
39
+ exports.ContextText = core.serialization.object({
40
+ type: core.serialization.stringLiteral("text"),
41
+ text: core.serialization.string(),
42
42
  });
@@ -0,0 +1,11 @@
1
+ import type * as Corti from "../../api/index.js";
2
+ import * as core from "../../core/index.js";
3
+ import type * as serializers from "../index.js";
4
+ import { GuidedDocumentTranscriptMinimal } from "./GuidedDocumentTranscriptMinimal.js";
5
+ export declare const ContextTranscript: core.serialization.ObjectSchema<serializers.ContextTranscript.Raw, Corti.ContextTranscript>;
6
+ export declare namespace ContextTranscript {
7
+ interface Raw {
8
+ type: "transcript";
9
+ transcript: GuidedDocumentTranscriptMinimal.Raw;
10
+ }
11
+ }
@@ -34,13 +34,10 @@ var __importStar = (this && this.__importStar) || (function () {
34
34
  };
35
35
  })();
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.AgentsValidationError = void 0;
37
+ exports.ContextTranscript = void 0;
38
38
  const core = __importStar(require("../../core/index.js"));
39
- const AgentsValidationErrorErrorsItem_js_1 = require("./AgentsValidationErrorErrorsItem.js");
40
- exports.AgentsValidationError = core.serialization.object({
41
- msg: core.serialization.string(),
42
- type: core.serialization.string(),
43
- reason: core.serialization.string(),
44
- howToFix: core.serialization.string(),
45
- errors: core.serialization.list(AgentsValidationErrorErrorsItem_js_1.AgentsValidationErrorErrorsItem).optional(),
39
+ const GuidedDocumentTranscriptMinimal_js_1 = require("./GuidedDocumentTranscriptMinimal.js");
40
+ exports.ContextTranscript = core.serialization.object({
41
+ type: core.serialization.stringLiteral("transcript"),
42
+ transcript: GuidedDocumentTranscriptMinimal_js_1.GuidedDocumentTranscriptMinimal,
46
43
  });
@@ -0,0 +1,14 @@
1
+ import type * as Corti from "../../api/index.js";
2
+ import * as core from "../../core/index.js";
3
+ import type * as serializers from "../index.js";
4
+ import { GuidedAssemblySectionRef } from "./GuidedAssemblySectionRef.js";
5
+ import { TemplateInstructions } from "./TemplateInstructions.js";
6
+ export declare const GuidedAssemblyRequest: core.serialization.ObjectSchema<serializers.GuidedAssemblyRequest.Raw, Corti.GuidedAssemblyRequest>;
7
+ export declare namespace GuidedAssemblyRequest {
8
+ interface Raw {
9
+ name: string;
10
+ language: string;
11
+ instructions?: TemplateInstructions.Raw | null;
12
+ sectionRefs: GuidedAssemblySectionRef.Raw[];
13
+ }
14
+ }
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.GuidedAssemblyRequest = void 0;
38
+ const core = __importStar(require("../../core/index.js"));
39
+ const GuidedAssemblySectionRef_js_1 = require("./GuidedAssemblySectionRef.js");
40
+ const TemplateInstructions_js_1 = require("./TemplateInstructions.js");
41
+ exports.GuidedAssemblyRequest = core.serialization.object({
42
+ name: core.serialization.string(),
43
+ language: core.serialization.string(),
44
+ instructions: TemplateInstructions_js_1.TemplateInstructions.optional(),
45
+ sectionRefs: core.serialization.list(GuidedAssemblySectionRef_js_1.GuidedAssemblySectionRef),
46
+ });
@@ -0,0 +1,12 @@
1
+ import type * as Corti from "../../api/index.js";
2
+ import * as core from "../../core/index.js";
3
+ import type * as serializers from "../index.js";
4
+ import { SectionOverrides } from "./SectionOverrides.js";
5
+ export declare const GuidedAssemblySectionRef: core.serialization.ObjectSchema<serializers.GuidedAssemblySectionRef.Raw, Corti.GuidedAssemblySectionRef>;
6
+ export declare namespace GuidedAssemblySectionRef {
7
+ interface Raw {
8
+ sectionId: string;
9
+ sectionVersionId?: (string | null | undefined) | null;
10
+ overrides?: SectionOverrides.Raw | null;
11
+ }
12
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.GuidedAssemblySectionRef = void 0;
38
+ const core = __importStar(require("../../core/index.js"));
39
+ const SectionOverrides_js_1 = require("./SectionOverrides.js");
40
+ exports.GuidedAssemblySectionRef = core.serialization.object({
41
+ sectionId: core.serialization.string(),
42
+ sectionVersionId: core.serialization.string().optionalNullable(),
43
+ overrides: SectionOverrides_js_1.SectionOverrides.optional(),
44
+ });
@@ -0,0 +1,13 @@
1
+ import type * as Corti from "../../api/index.js";
2
+ import * as core from "../../core/index.js";
3
+ import type * as serializers from "../index.js";
4
+ import { GuidedAssemblyRequest } from "./GuidedAssemblyRequest.js";
5
+ import { GuidedDocumentContext } from "./GuidedDocumentContext.js";
6
+ export declare const GuidedDocumentByAssembly: core.serialization.ObjectSchema<serializers.GuidedDocumentByAssembly.Raw, Corti.GuidedDocumentByAssembly>;
7
+ export declare namespace GuidedDocumentByAssembly {
8
+ interface Raw {
9
+ context?: GuidedDocumentContext.Raw[] | null;
10
+ interactionId?: string | null;
11
+ assemblyTemplate: GuidedAssemblyRequest.Raw;
12
+ }
13
+ }
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.GuidedDocumentByAssembly = void 0;
38
+ const core = __importStar(require("../../core/index.js"));
39
+ const GuidedAssemblyRequest_js_1 = require("./GuidedAssemblyRequest.js");
40
+ const GuidedDocumentContext_js_1 = require("./GuidedDocumentContext.js");
41
+ exports.GuidedDocumentByAssembly = core.serialization.object({
42
+ context: core.serialization.list(GuidedDocumentContext_js_1.GuidedDocumentContext).optional(),
43
+ interactionId: core.serialization.string().optional(),
44
+ assemblyTemplate: GuidedAssemblyRequest_js_1.GuidedAssemblyRequest,
45
+ });
@@ -0,0 +1,13 @@
1
+ import type * as Corti from "../../api/index.js";
2
+ import * as core from "../../core/index.js";
3
+ import type * as serializers from "../index.js";
4
+ import { GuidedDocumentContext } from "./GuidedDocumentContext.js";
5
+ import { GuidedDynamicRequest } from "./GuidedDynamicRequest.js";
6
+ export declare const GuidedDocumentByDynamic: core.serialization.ObjectSchema<serializers.GuidedDocumentByDynamic.Raw, Corti.GuidedDocumentByDynamic>;
7
+ export declare namespace GuidedDocumentByDynamic {
8
+ interface Raw {
9
+ context?: GuidedDocumentContext.Raw[] | null;
10
+ interactionId?: string | null;
11
+ dynamicTemplate: GuidedDynamicRequest.Raw;
12
+ }
13
+ }