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

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 (646) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/Client.d.ts +0 -15
  3. package/dist/cjs/Client.js +20 -45
  4. package/dist/cjs/api/resources/documents/client/Client.d.ts +41 -0
  5. package/dist/cjs/api/resources/documents/client/Client.js +111 -0
  6. package/dist/cjs/api/resources/documents/client/requests/GenerateDocumentsRequest.d.ts +17 -0
  7. package/dist/cjs/api/resources/documents/client/requests/index.d.ts +1 -0
  8. package/dist/cjs/api/resources/documents/index.d.ts +2 -0
  9. package/dist/cjs/api/resources/documents/index.js +2 -0
  10. package/dist/cjs/api/resources/documents/resources/index.d.ts +4 -0
  11. package/dist/cjs/api/resources/documents/resources/index.js +43 -0
  12. package/dist/cjs/api/resources/documents/resources/sections/client/Client.d.ts +84 -0
  13. package/dist/cjs/api/resources/{alphaSections → documents/resources/sections}/client/Client.js +44 -36
  14. package/dist/cjs/api/resources/documents/resources/sections/client/requests/ListSectionsRequest.d.ts +16 -0
  15. package/dist/cjs/api/resources/documents/resources/sections/client/requests/UpdateSectionRequest.d.ts +13 -0
  16. package/dist/cjs/api/resources/documents/resources/sections/client/requests/index.d.ts +2 -0
  17. package/dist/cjs/api/resources/documents/resources/sections/index.d.ts +2 -0
  18. package/dist/cjs/api/resources/{alphaSections → documents/resources/sections}/index.js +1 -0
  19. package/dist/cjs/api/resources/documents/resources/sections/resources/index.d.ts +2 -0
  20. package/dist/cjs/api/resources/documents/resources/sections/resources/index.js +41 -0
  21. package/dist/cjs/api/resources/documents/resources/sections/resources/versions/client/Client.d.ts +87 -0
  22. package/dist/cjs/api/resources/{alphaSectionVersions → documents/resources/sections/resources/versions}/client/Client.js +43 -39
  23. package/dist/cjs/api/resources/documents/resources/sections/resources/versions/client/requests/CreateSectionVersionRequest.d.ts +18 -0
  24. package/dist/cjs/api/resources/documents/resources/sections/resources/versions/client/requests/index.d.ts +1 -0
  25. package/dist/cjs/api/resources/documents/resources/templates/client/Client.d.ts +80 -0
  26. package/dist/cjs/api/resources/{alphaTemplates → documents/resources/templates}/client/Client.js +44 -36
  27. package/dist/cjs/api/resources/documents/resources/templates/client/requests/ListTemplatesRequest.d.ts +16 -0
  28. package/dist/cjs/api/resources/documents/resources/templates/client/requests/UpdateTemplateRequest.d.ts +13 -0
  29. package/dist/cjs/api/resources/documents/resources/templates/client/requests/index.d.ts +2 -0
  30. package/dist/cjs/api/resources/documents/resources/templates/index.d.ts +2 -0
  31. package/dist/cjs/api/resources/documents/resources/templates/index.js +18 -0
  32. package/dist/cjs/api/resources/documents/resources/templates/resources/index.d.ts +3 -0
  33. package/dist/cjs/api/resources/documents/resources/templates/resources/index.js +42 -0
  34. package/dist/cjs/api/resources/documents/resources/templates/resources/versions/client/Client.d.ts +83 -0
  35. package/dist/cjs/api/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/client/Client.js +35 -33
  36. package/dist/cjs/api/resources/documents/resources/templates/resources/versions/client/index.d.ts +1 -0
  37. package/dist/cjs/api/resources/documents/resources/templates/resources/versions/client/index.js +17 -0
  38. package/dist/cjs/api/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/client/requests/CreateTemplateVersionRequest.d.ts +2 -2
  39. package/dist/cjs/api/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/types/CreateTemplateVersionRequestGeneration.d.ts +1 -1
  40. package/dist/cjs/api/resources/documents/types/GenerateDocumentsRequestXCortiRetentionPolicy.d.ts +4 -0
  41. package/dist/cjs/api/resources/documents/types/GenerateDocumentsRequestXCortiRetentionPolicy.js +7 -0
  42. package/dist/cjs/api/resources/documents/types/index.d.ts +1 -0
  43. package/dist/cjs/api/resources/documents/types/index.js +17 -0
  44. package/dist/cjs/api/resources/facts/client/requests/FactsExtractRequest.d.ts +1 -1
  45. package/dist/cjs/api/resources/index.d.ts +1 -9
  46. package/dist/cjs/api/resources/index.js +2 -10
  47. package/dist/cjs/api/resources/stream/client/Socket.d.ts +1 -1
  48. package/dist/cjs/api/resources/templates/client/Client.d.ts +4 -4
  49. package/dist/cjs/api/resources/templates/client/Client.js +2 -2
  50. package/dist/{esm/api/resources/templates/client/requests/TemplatesListRequest.d.mts → cjs/api/resources/templates/client/requests/ListTemplatesRequest.d.ts} +1 -1
  51. package/dist/cjs/api/resources/templates/client/requests/{TemplatesSectionListRequest.d.ts → SectionListTemplatesRequest.d.ts} +1 -1
  52. package/dist/cjs/api/resources/templates/client/requests/index.d.ts +2 -2
  53. package/dist/cjs/api/resources/transcribe/client/Socket.d.ts +1 -1
  54. package/dist/cjs/api/resources/transcripts/client/Client.d.ts +1 -1
  55. package/dist/cjs/api/resources/transcripts/client/Client.js +1 -1
  56. package/dist/cjs/api/resources/transcripts/client/requests/TranscriptsCreateRequest.d.ts +1 -1
  57. package/dist/cjs/api/types/CreateEphemeralDocumentResponse.d.ts +8 -0
  58. package/dist/cjs/api/types/CreateSectionBase.d.ts +8 -3
  59. package/dist/cjs/api/types/CreateSectionFromInheritanceRequest.d.ts +1 -1
  60. package/dist/cjs/api/types/CreateTemplateBase.d.ts +10 -3
  61. package/dist/cjs/api/types/CreateTemplateFromInheritanceRequest.d.ts +2 -2
  62. package/dist/cjs/api/types/DocumentationEvidence.d.ts +6 -0
  63. package/dist/cjs/api/types/DocumentsCreateRequestWithTemplate.d.ts +1 -1
  64. package/dist/cjs/api/types/DocumentsCreateRequestWithTemplateKey.d.ts +1 -1
  65. package/dist/cjs/api/types/DocumentsGetResponse.d.ts +1 -1
  66. package/dist/cjs/api/types/EphemeralDocument.d.ts +12 -0
  67. package/dist/cjs/api/types/EphemeralDocument.js +3 -0
  68. package/dist/cjs/api/types/GuidedAssemblyRequest.d.ts +0 -2
  69. package/dist/cjs/api/types/GuidedDocumentBase.d.ts +12 -0
  70. package/dist/cjs/api/types/GuidedDocumentBase.js +3 -0
  71. package/dist/cjs/api/types/GuidedDocumentByAssembly.d.ts +1 -5
  72. package/dist/cjs/api/types/GuidedDocumentByDynamic.d.ts +1 -5
  73. package/dist/cjs/api/types/GuidedDocumentByTemplateRef.d.ts +1 -5
  74. package/dist/cjs/api/types/GuidedDynamicRequest.d.ts +0 -2
  75. package/dist/cjs/api/types/GuidedSectionOverride.d.ts +1 -5
  76. package/dist/cjs/api/types/Label.d.ts +4 -0
  77. package/dist/cjs/api/types/Label.js +3 -0
  78. package/dist/cjs/api/types/Section.d.ts +9 -3
  79. package/dist/cjs/api/types/SectionInstructionsOverride.d.ts +2 -0
  80. package/dist/cjs/api/types/SectionOverrides.d.ts +2 -2
  81. package/dist/cjs/api/types/SectionSource.d.ts +6 -0
  82. package/dist/cjs/api/types/SectionSource.js +9 -0
  83. package/dist/cjs/api/types/StatusResponse.d.ts +2 -0
  84. package/dist/cjs/api/types/StreamAudioEventData.d.ts +9 -0
  85. package/dist/cjs/api/types/StreamAudioEventData.js +3 -0
  86. package/dist/cjs/api/types/StreamAudioEventDataEvent.d.ts +8 -0
  87. package/dist/cjs/api/types/StreamAudioEventDataEvent.js +11 -0
  88. package/dist/cjs/api/types/StreamAudioEventMessage.d.ts +5 -0
  89. package/dist/cjs/api/types/StreamAudioEventMessage.js +3 -0
  90. package/dist/cjs/api/types/StreamAudioEventsConfig.d.ts +4 -0
  91. package/dist/cjs/api/types/StreamAudioEventsConfig.js +3 -0
  92. package/dist/cjs/api/types/StreamConfig.d.ts +1 -0
  93. package/dist/cjs/api/types/StreamConfigMode.d.ts +2 -0
  94. package/dist/cjs/api/types/StreamConfigModeFactGenerationInterval.d.ts +6 -0
  95. package/dist/cjs/api/types/StreamConfigModeFactGenerationInterval.js +9 -0
  96. package/dist/cjs/api/types/Template.d.ts +11 -3
  97. package/dist/cjs/api/types/TemplateGeneration.d.ts +1 -1
  98. package/dist/cjs/api/types/TemplateSource.d.ts +6 -0
  99. package/dist/cjs/api/types/TemplateSource.js +9 -0
  100. package/dist/cjs/api/types/TranscribeAudioEventData.d.ts +9 -0
  101. package/dist/cjs/api/types/TranscribeAudioEventData.js +3 -0
  102. package/dist/cjs/api/types/TranscribeAudioEventDataEvent.d.ts +8 -0
  103. package/dist/cjs/api/types/TranscribeAudioEventDataEvent.js +11 -0
  104. package/dist/cjs/api/types/TranscribeAudioEventMessage.d.ts +5 -0
  105. package/dist/cjs/api/types/TranscribeAudioEventMessage.js +3 -0
  106. package/dist/cjs/api/types/TranscribeAudioEventsConfig.d.ts +4 -0
  107. package/dist/cjs/api/types/TranscribeAudioEventsConfig.js +3 -0
  108. package/dist/cjs/api/types/TranscribeConfig.d.ts +1 -0
  109. package/dist/cjs/api/types/index.d.ts +16 -4
  110. package/dist/cjs/api/types/index.js +16 -4
  111. package/dist/cjs/custom/CortiClient.js +2 -2
  112. package/dist/cjs/custom/auth/CortiAuth.js +2 -2
  113. package/dist/cjs/custom/stream/CustomStream.js +2 -2
  114. package/dist/cjs/custom/transcribe/CustomTranscribe.js +3 -3
  115. package/dist/cjs/serialization/resources/documents/index.d.ts +2 -0
  116. package/dist/cjs/serialization/resources/documents/index.js +2 -0
  117. package/dist/cjs/serialization/resources/documents/resources/index.d.ts +4 -0
  118. package/dist/cjs/serialization/resources/documents/resources/index.js +43 -0
  119. package/dist/cjs/serialization/resources/documents/resources/sections/client/list.d.ts +8 -0
  120. package/dist/cjs/serialization/resources/{alphaSections → documents/resources/sections}/client/list.js +2 -2
  121. package/dist/cjs/serialization/resources/documents/resources/sections/client/requests/UpdateSectionRequest.d.ts +15 -0
  122. package/dist/cjs/serialization/resources/{alphaSections → documents/resources/sections}/client/requests/UpdateSectionRequest.js +6 -3
  123. package/dist/cjs/serialization/resources/documents/resources/sections/index.d.ts +2 -0
  124. package/dist/cjs/serialization/resources/documents/resources/sections/index.js +18 -0
  125. package/dist/cjs/serialization/resources/documents/resources/sections/resources/index.d.ts +2 -0
  126. package/dist/cjs/serialization/resources/documents/resources/sections/resources/index.js +41 -0
  127. package/dist/cjs/serialization/resources/documents/resources/sections/resources/versions/client/list.d.ts +8 -0
  128. package/dist/cjs/serialization/resources/{alphaSectionVersions → documents/resources/sections/resources/versions}/client/list.js +2 -2
  129. package/dist/cjs/serialization/resources/documents/resources/sections/resources/versions/client/requests/CreateSectionVersionRequest.d.ts +10 -0
  130. package/dist/cjs/serialization/resources/documents/resources/sections/resources/versions/client/requests/CreateSectionVersionRequest.js +42 -0
  131. package/dist/cjs/serialization/resources/documents/resources/sections/resources/versions/client/requests/index.d.ts +1 -0
  132. package/dist/cjs/serialization/resources/documents/resources/sections/resources/versions/client/requests/index.js +5 -0
  133. package/dist/cjs/serialization/resources/documents/resources/templates/client/list.d.ts +8 -0
  134. package/dist/cjs/serialization/resources/{alphaTemplates → documents/resources/templates}/client/list.js +2 -2
  135. package/dist/cjs/serialization/resources/documents/resources/templates/client/requests/UpdateTemplateRequest.d.ts +15 -0
  136. package/dist/cjs/serialization/resources/{alphaTemplates → documents/resources/templates}/client/requests/UpdateTemplateRequest.js +6 -3
  137. package/dist/cjs/serialization/resources/documents/resources/templates/index.d.ts +2 -0
  138. package/dist/cjs/serialization/resources/documents/resources/templates/index.js +18 -0
  139. package/dist/cjs/serialization/resources/documents/resources/templates/resources/index.d.ts +3 -0
  140. package/dist/cjs/serialization/resources/documents/resources/templates/resources/index.js +42 -0
  141. package/dist/cjs/serialization/resources/documents/resources/templates/resources/versions/client/index.d.ts +2 -0
  142. package/dist/cjs/serialization/resources/documents/resources/templates/resources/versions/client/index.js +41 -0
  143. package/dist/cjs/serialization/resources/documents/resources/templates/resources/versions/client/list.d.ts +8 -0
  144. package/dist/cjs/serialization/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/client/list.js +2 -2
  145. package/dist/cjs/serialization/resources/documents/resources/templates/resources/versions/client/requests/CreateTemplateVersionRequest.d.ts +10 -0
  146. package/dist/cjs/serialization/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/client/requests/CreateTemplateVersionRequest.js +1 -1
  147. package/dist/cjs/serialization/resources/documents/resources/templates/resources/versions/types/CreateTemplateVersionRequestGeneration.d.ts +12 -0
  148. package/dist/cjs/serialization/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/types/CreateTemplateVersionRequestGeneration.js +3 -3
  149. package/dist/cjs/serialization/resources/documents/types/GenerateDocumentsRequestXCortiRetentionPolicy.d.ts +7 -0
  150. package/dist/cjs/serialization/resources/documents/types/GenerateDocumentsRequestXCortiRetentionPolicy.js +39 -0
  151. package/dist/cjs/serialization/resources/documents/types/index.d.ts +1 -0
  152. package/dist/cjs/serialization/resources/documents/types/index.js +17 -0
  153. package/dist/cjs/serialization/resources/index.d.ts +1 -8
  154. package/dist/cjs/serialization/resources/index.js +2 -9
  155. package/dist/cjs/serialization/resources/stream/client/socket/StreamSocketResponse.d.ts +3 -2
  156. package/dist/cjs/serialization/resources/stream/client/socket/StreamSocketResponse.js +2 -0
  157. package/dist/cjs/serialization/resources/transcribe/client/socket/TranscribeSocketResponse.d.ts +3 -2
  158. package/dist/cjs/serialization/resources/transcribe/client/socket/TranscribeSocketResponse.js +2 -0
  159. package/dist/cjs/serialization/types/CreateEphemeralDocumentResponse.d.ts +12 -0
  160. package/dist/cjs/serialization/types/CreateEphemeralDocumentResponse.js +44 -0
  161. package/dist/cjs/serialization/types/CreateSectionBase.d.ts +5 -2
  162. package/dist/cjs/serialization/types/CreateSectionBase.js +5 -2
  163. package/dist/cjs/serialization/types/CreateSectionFromInheritanceRequest.d.ts +1 -1
  164. package/dist/cjs/serialization/types/CreateSectionFromInheritanceRequest.js +1 -1
  165. package/dist/cjs/serialization/types/CreateTemplateBase.d.ts +6 -2
  166. package/dist/cjs/serialization/types/CreateTemplateBase.js +6 -2
  167. package/dist/cjs/serialization/types/CreateTemplateFromInheritanceRequest.d.ts +1 -1
  168. package/dist/cjs/serialization/types/CreateTemplateFromInheritanceRequest.js +1 -1
  169. package/dist/cjs/serialization/types/DocumentationEvidence.d.ts +12 -0
  170. package/dist/cjs/serialization/types/{GuidedDocumentResponse.js → DocumentationEvidence.js} +6 -6
  171. package/dist/cjs/serialization/types/EphemeralDocument.d.ts +14 -0
  172. package/dist/cjs/serialization/types/{GuidedGenerationResult.js → EphemeralDocument.js} +7 -5
  173. package/dist/cjs/serialization/types/GuidedAssemblyRequest.d.ts +0 -1
  174. package/dist/cjs/serialization/types/GuidedAssemblyRequest.js +0 -1
  175. package/dist/cjs/serialization/types/GuidedDocumentBase.d.ts +12 -0
  176. package/dist/cjs/serialization/types/GuidedDocumentBase.js +44 -0
  177. package/dist/cjs/serialization/types/GuidedDocumentByAssembly.d.ts +2 -4
  178. package/dist/cjs/serialization/types/GuidedDocumentByAssembly.js +5 -5
  179. package/dist/cjs/serialization/types/GuidedDocumentByDynamic.d.ts +2 -4
  180. package/dist/cjs/serialization/types/GuidedDocumentByDynamic.js +5 -5
  181. package/dist/cjs/serialization/types/GuidedDocumentByTemplateRef.d.ts +2 -4
  182. package/dist/cjs/serialization/types/GuidedDocumentByTemplateRef.js +5 -5
  183. package/dist/cjs/serialization/types/GuidedDynamicRequest.d.ts +0 -1
  184. package/dist/cjs/serialization/types/GuidedDynamicRequest.js +0 -1
  185. package/dist/cjs/serialization/types/GuidedSectionOverride.d.ts +3 -5
  186. package/dist/cjs/serialization/types/GuidedSectionOverride.js +2 -5
  187. package/dist/cjs/serialization/types/Label.d.ts +10 -0
  188. package/dist/cjs/serialization/types/{GuidedGenerationResultUsageTokenCount.js → Label.js} +4 -4
  189. package/dist/cjs/serialization/types/Section.d.ts +7 -2
  190. package/dist/cjs/serialization/types/Section.js +7 -2
  191. package/dist/cjs/serialization/types/SectionInstructionsOverride.d.ts +1 -0
  192. package/dist/cjs/serialization/types/SectionInstructionsOverride.js +1 -0
  193. package/dist/cjs/serialization/types/SectionOverrides.d.ts +1 -1
  194. package/dist/cjs/serialization/types/SectionOverrides.js +1 -1
  195. package/dist/cjs/serialization/types/SectionSource.d.ts +7 -0
  196. package/dist/cjs/serialization/{resources/alphaSectionVersions/client/index.js → types/SectionSource.js} +4 -2
  197. package/dist/cjs/serialization/types/StatusResponse.d.ts +2 -0
  198. package/dist/cjs/serialization/types/StatusResponse.js +2 -0
  199. package/dist/cjs/serialization/types/StreamAudioEventData.d.ts +12 -0
  200. package/dist/cjs/serialization/types/StreamAudioEventData.js +44 -0
  201. package/dist/cjs/serialization/types/StreamAudioEventDataEvent.d.ts +7 -0
  202. package/dist/cjs/serialization/types/StreamAudioEventDataEvent.js +44 -0
  203. package/dist/cjs/serialization/types/StreamAudioEventMessage.d.ts +11 -0
  204. package/dist/cjs/serialization/types/StreamAudioEventMessage.js +43 -0
  205. package/dist/cjs/serialization/types/StreamAudioEventsConfig.d.ts +9 -0
  206. package/dist/cjs/serialization/types/StreamAudioEventsConfig.js +41 -0
  207. package/dist/cjs/serialization/types/StreamConfig.d.ts +2 -0
  208. package/dist/cjs/serialization/types/StreamConfig.js +2 -0
  209. package/dist/cjs/serialization/types/StreamConfigMode.d.ts +2 -0
  210. package/dist/cjs/serialization/types/StreamConfigMode.js +2 -0
  211. package/dist/cjs/serialization/types/StreamConfigModeFactGenerationInterval.d.ts +7 -0
  212. package/dist/cjs/serialization/types/StreamConfigModeFactGenerationInterval.js +39 -0
  213. package/dist/cjs/serialization/types/Template.d.ts +8 -2
  214. package/dist/cjs/serialization/types/Template.js +8 -2
  215. package/dist/cjs/serialization/types/TemplateSource.d.ts +7 -0
  216. package/dist/cjs/serialization/types/TemplateSource.js +39 -0
  217. package/dist/cjs/serialization/types/TranscribeAudioEventData.d.ts +12 -0
  218. package/dist/cjs/serialization/types/TranscribeAudioEventData.js +44 -0
  219. package/dist/cjs/serialization/types/TranscribeAudioEventDataEvent.d.ts +7 -0
  220. package/dist/cjs/serialization/types/TranscribeAudioEventDataEvent.js +44 -0
  221. package/dist/cjs/serialization/types/TranscribeAudioEventMessage.d.ts +11 -0
  222. package/dist/cjs/serialization/types/{GuidedGenerationResultUsage.js → TranscribeAudioEventMessage.js} +5 -4
  223. package/dist/cjs/serialization/types/TranscribeAudioEventsConfig.d.ts +9 -0
  224. package/dist/cjs/serialization/types/TranscribeAudioEventsConfig.js +41 -0
  225. package/dist/cjs/serialization/types/TranscribeConfig.d.ts +2 -0
  226. package/dist/cjs/serialization/types/TranscribeConfig.js +2 -0
  227. package/dist/cjs/serialization/types/index.d.ts +16 -4
  228. package/dist/cjs/serialization/types/index.js +16 -4
  229. package/dist/cjs/version.d.ts +1 -1
  230. package/dist/cjs/version.js +1 -1
  231. package/dist/esm/BaseClient.mjs +2 -2
  232. package/dist/esm/Client.d.mts +0 -15
  233. package/dist/esm/Client.mjs +0 -25
  234. package/dist/esm/api/resources/documents/client/Client.d.mts +41 -0
  235. package/dist/esm/api/resources/documents/client/Client.mjs +111 -0
  236. package/dist/esm/api/resources/documents/client/requests/GenerateDocumentsRequest.d.mts +17 -0
  237. package/dist/esm/api/resources/documents/client/requests/index.d.mts +1 -0
  238. package/dist/esm/api/resources/documents/index.d.mts +2 -0
  239. package/dist/esm/api/resources/documents/index.mjs +2 -0
  240. package/dist/esm/api/resources/documents/resources/index.d.mts +4 -0
  241. package/dist/esm/api/resources/documents/resources/index.mjs +4 -0
  242. package/dist/esm/api/resources/documents/resources/sections/client/Client.d.mts +84 -0
  243. package/dist/esm/api/resources/{alphaSections → documents/resources/sections}/client/Client.mjs +42 -34
  244. package/dist/esm/api/resources/documents/resources/sections/client/requests/ListSectionsRequest.d.mts +16 -0
  245. package/dist/esm/api/resources/documents/resources/sections/client/requests/UpdateSectionRequest.d.mts +13 -0
  246. package/dist/esm/api/resources/documents/resources/sections/client/requests/index.d.mts +2 -0
  247. package/dist/esm/api/resources/documents/resources/sections/index.d.mts +2 -0
  248. package/dist/esm/api/resources/documents/resources/sections/index.mjs +2 -0
  249. package/dist/esm/api/resources/documents/resources/sections/resources/index.d.mts +2 -0
  250. package/dist/esm/api/resources/documents/resources/sections/resources/index.mjs +2 -0
  251. package/dist/esm/api/resources/documents/resources/sections/resources/versions/client/Client.d.mts +87 -0
  252. package/dist/esm/api/resources/{alphaSectionVersions → documents/resources/sections/resources/versions}/client/Client.mjs +41 -37
  253. package/dist/esm/api/resources/documents/resources/sections/resources/versions/client/requests/CreateSectionVersionRequest.d.mts +18 -0
  254. package/dist/esm/api/resources/documents/resources/sections/resources/versions/client/requests/index.d.mts +1 -0
  255. package/dist/esm/api/resources/documents/resources/templates/client/Client.d.mts +80 -0
  256. package/dist/esm/api/resources/{alphaTemplates → documents/resources/templates}/client/Client.mjs +42 -34
  257. package/dist/esm/api/resources/documents/resources/templates/client/requests/ListTemplatesRequest.d.mts +16 -0
  258. package/dist/esm/api/resources/documents/resources/templates/client/requests/UpdateTemplateRequest.d.mts +13 -0
  259. package/dist/esm/api/resources/documents/resources/templates/client/requests/index.d.mts +2 -0
  260. package/dist/esm/api/resources/documents/resources/templates/index.d.mts +2 -0
  261. package/dist/esm/api/resources/documents/resources/templates/index.mjs +2 -0
  262. package/dist/esm/api/resources/documents/resources/templates/resources/index.d.mts +3 -0
  263. package/dist/esm/api/resources/documents/resources/templates/resources/index.mjs +3 -0
  264. package/dist/esm/api/resources/documents/resources/templates/resources/versions/client/Client.d.mts +83 -0
  265. package/dist/esm/api/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/client/Client.mjs +33 -31
  266. package/dist/esm/api/resources/documents/resources/templates/resources/versions/client/index.d.mts +1 -0
  267. package/dist/esm/api/resources/documents/resources/templates/resources/versions/client/index.mjs +1 -0
  268. package/dist/esm/api/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/client/requests/CreateTemplateVersionRequest.d.mts +2 -2
  269. package/dist/esm/api/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/types/CreateTemplateVersionRequestGeneration.d.mts +1 -1
  270. package/dist/esm/api/resources/documents/types/GenerateDocumentsRequestXCortiRetentionPolicy.d.mts +4 -0
  271. package/dist/esm/api/resources/documents/types/GenerateDocumentsRequestXCortiRetentionPolicy.mjs +4 -0
  272. package/dist/esm/api/resources/documents/types/index.d.mts +1 -0
  273. package/dist/esm/api/resources/documents/types/index.mjs +1 -0
  274. package/dist/esm/api/resources/facts/client/requests/FactsExtractRequest.d.mts +1 -1
  275. package/dist/esm/api/resources/index.d.mts +1 -9
  276. package/dist/esm/api/resources/index.mjs +1 -9
  277. package/dist/esm/api/resources/stream/client/Socket.d.mts +1 -1
  278. package/dist/esm/api/resources/templates/client/Client.d.mts +4 -4
  279. package/dist/esm/api/resources/templates/client/Client.mjs +2 -2
  280. package/dist/{cjs/api/resources/templates/client/requests/TemplatesListRequest.d.ts → esm/api/resources/templates/client/requests/ListTemplatesRequest.d.mts} +1 -1
  281. package/dist/esm/api/resources/templates/client/requests/{TemplatesSectionListRequest.d.mts → SectionListTemplatesRequest.d.mts} +1 -1
  282. package/dist/esm/api/resources/templates/client/requests/index.d.mts +2 -2
  283. package/dist/esm/api/resources/transcribe/client/Socket.d.mts +1 -1
  284. package/dist/esm/api/resources/transcripts/client/Client.d.mts +1 -1
  285. package/dist/esm/api/resources/transcripts/client/Client.mjs +1 -1
  286. package/dist/esm/api/resources/transcripts/client/requests/TranscriptsCreateRequest.d.mts +1 -1
  287. package/dist/esm/api/types/CreateEphemeralDocumentResponse.d.mts +8 -0
  288. package/dist/esm/api/types/CreateSectionBase.d.mts +8 -3
  289. package/dist/esm/api/types/CreateSectionFromInheritanceRequest.d.mts +1 -1
  290. package/dist/esm/api/types/CreateTemplateBase.d.mts +10 -3
  291. package/dist/esm/api/types/CreateTemplateFromInheritanceRequest.d.mts +2 -2
  292. package/dist/esm/api/types/DocumentationEvidence.d.mts +6 -0
  293. package/dist/esm/api/types/DocumentsCreateRequestWithTemplate.d.mts +1 -1
  294. package/dist/esm/api/types/DocumentsCreateRequestWithTemplateKey.d.mts +1 -1
  295. package/dist/esm/api/types/DocumentsGetResponse.d.mts +1 -1
  296. package/dist/esm/api/types/EphemeralDocument.d.mts +12 -0
  297. package/dist/esm/api/types/EphemeralDocument.mjs +2 -0
  298. package/dist/esm/api/types/GuidedAssemblyRequest.d.mts +0 -2
  299. package/dist/esm/api/types/GuidedDocumentBase.d.mts +12 -0
  300. package/dist/esm/api/types/GuidedDocumentBase.mjs +2 -0
  301. package/dist/esm/api/types/GuidedDocumentByAssembly.d.mts +1 -5
  302. package/dist/esm/api/types/GuidedDocumentByDynamic.d.mts +1 -5
  303. package/dist/esm/api/types/GuidedDocumentByTemplateRef.d.mts +1 -5
  304. package/dist/esm/api/types/GuidedDynamicRequest.d.mts +0 -2
  305. package/dist/esm/api/types/GuidedSectionOverride.d.mts +1 -5
  306. package/dist/esm/api/types/Label.d.mts +4 -0
  307. package/dist/esm/api/types/Label.mjs +2 -0
  308. package/dist/esm/api/types/Section.d.mts +9 -3
  309. package/dist/esm/api/types/SectionInstructionsOverride.d.mts +2 -0
  310. package/dist/esm/api/types/SectionOverrides.d.mts +2 -2
  311. package/dist/esm/api/types/SectionSource.d.mts +6 -0
  312. package/dist/esm/api/types/SectionSource.mjs +6 -0
  313. package/dist/esm/api/types/StatusResponse.d.mts +2 -0
  314. package/dist/esm/api/types/StreamAudioEventData.d.mts +9 -0
  315. package/dist/esm/api/types/StreamAudioEventData.mjs +2 -0
  316. package/dist/esm/api/types/StreamAudioEventDataEvent.d.mts +8 -0
  317. package/dist/esm/api/types/StreamAudioEventDataEvent.mjs +8 -0
  318. package/dist/esm/api/types/StreamAudioEventMessage.d.mts +5 -0
  319. package/dist/esm/api/types/StreamAudioEventMessage.mjs +2 -0
  320. package/dist/esm/api/types/StreamAudioEventsConfig.d.mts +4 -0
  321. package/dist/esm/api/types/StreamAudioEventsConfig.mjs +2 -0
  322. package/dist/esm/api/types/StreamConfig.d.mts +1 -0
  323. package/dist/esm/api/types/StreamConfigMode.d.mts +2 -0
  324. package/dist/esm/api/types/StreamConfigModeFactGenerationInterval.d.mts +6 -0
  325. package/dist/esm/api/types/StreamConfigModeFactGenerationInterval.mjs +6 -0
  326. package/dist/esm/api/types/Template.d.mts +11 -3
  327. package/dist/esm/api/types/TemplateGeneration.d.mts +1 -1
  328. package/dist/esm/api/types/TemplateSource.d.mts +6 -0
  329. package/dist/esm/api/types/TemplateSource.mjs +6 -0
  330. package/dist/esm/api/types/TranscribeAudioEventData.d.mts +9 -0
  331. package/dist/esm/api/types/TranscribeAudioEventData.mjs +2 -0
  332. package/dist/esm/api/types/TranscribeAudioEventDataEvent.d.mts +8 -0
  333. package/dist/esm/api/types/TranscribeAudioEventDataEvent.mjs +8 -0
  334. package/dist/esm/api/types/TranscribeAudioEventMessage.d.mts +5 -0
  335. package/dist/esm/api/types/TranscribeAudioEventMessage.mjs +2 -0
  336. package/dist/esm/api/types/TranscribeAudioEventsConfig.d.mts +4 -0
  337. package/dist/esm/api/types/TranscribeAudioEventsConfig.mjs +2 -0
  338. package/dist/esm/api/types/TranscribeConfig.d.mts +1 -0
  339. package/dist/esm/api/types/index.d.mts +16 -4
  340. package/dist/esm/api/types/index.mjs +16 -4
  341. package/dist/esm/custom/CortiClient.mjs +2 -2
  342. package/dist/esm/custom/auth/CortiAuth.mjs +2 -2
  343. package/dist/esm/custom/stream/CustomStream.mjs +2 -2
  344. package/dist/esm/custom/transcribe/CustomTranscribe.mjs +3 -3
  345. package/dist/esm/serialization/resources/documents/index.d.mts +2 -0
  346. package/dist/esm/serialization/resources/documents/index.mjs +2 -0
  347. package/dist/esm/serialization/resources/documents/resources/index.d.mts +4 -0
  348. package/dist/esm/serialization/resources/documents/resources/index.mjs +4 -0
  349. package/dist/esm/serialization/resources/documents/resources/sections/client/list.d.mts +8 -0
  350. package/dist/esm/serialization/resources/documents/resources/sections/client/list.mjs +4 -0
  351. package/dist/esm/serialization/resources/documents/resources/sections/client/requests/UpdateSectionRequest.d.mts +15 -0
  352. package/dist/esm/serialization/resources/documents/resources/sections/client/requests/UpdateSectionRequest.mjs +11 -0
  353. package/dist/esm/serialization/resources/documents/resources/sections/index.d.mts +2 -0
  354. package/dist/esm/serialization/resources/documents/resources/sections/index.mjs +2 -0
  355. package/dist/esm/serialization/resources/documents/resources/sections/resources/index.d.mts +2 -0
  356. package/dist/esm/serialization/resources/documents/resources/sections/resources/index.mjs +2 -0
  357. package/dist/esm/serialization/resources/documents/resources/sections/resources/versions/client/list.d.mts +8 -0
  358. package/dist/esm/serialization/resources/documents/resources/sections/resources/versions/client/list.mjs +4 -0
  359. package/dist/esm/serialization/resources/documents/resources/sections/resources/versions/client/requests/CreateSectionVersionRequest.d.mts +10 -0
  360. package/dist/esm/serialization/resources/documents/resources/sections/resources/versions/client/requests/CreateSectionVersionRequest.mjs +6 -0
  361. package/dist/esm/serialization/resources/documents/resources/sections/resources/versions/client/requests/index.d.mts +1 -0
  362. package/dist/esm/serialization/resources/documents/resources/sections/resources/versions/client/requests/index.mjs +1 -0
  363. package/dist/esm/serialization/resources/documents/resources/templates/client/list.d.mts +8 -0
  364. package/dist/esm/serialization/resources/{alphaTemplates → documents/resources/templates}/client/list.mjs +2 -2
  365. package/dist/esm/serialization/resources/documents/resources/templates/client/requests/UpdateTemplateRequest.d.mts +15 -0
  366. package/dist/esm/serialization/resources/documents/resources/templates/client/requests/UpdateTemplateRequest.mjs +11 -0
  367. package/dist/esm/serialization/resources/documents/resources/templates/index.d.mts +2 -0
  368. package/dist/esm/serialization/resources/documents/resources/templates/index.mjs +2 -0
  369. package/dist/esm/serialization/resources/documents/resources/templates/resources/index.d.mts +3 -0
  370. package/dist/esm/serialization/resources/documents/resources/templates/resources/index.mjs +3 -0
  371. package/dist/esm/serialization/resources/documents/resources/templates/resources/versions/client/index.d.mts +2 -0
  372. package/dist/esm/serialization/resources/documents/resources/templates/resources/versions/client/index.mjs +2 -0
  373. package/dist/esm/serialization/resources/documents/resources/templates/resources/versions/client/list.d.mts +8 -0
  374. package/dist/esm/serialization/resources/documents/resources/templates/resources/versions/client/list.mjs +4 -0
  375. package/dist/esm/serialization/resources/documents/resources/templates/resources/versions/client/requests/CreateTemplateVersionRequest.d.mts +10 -0
  376. package/dist/esm/serialization/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/client/requests/CreateTemplateVersionRequest.mjs +1 -1
  377. package/dist/esm/serialization/resources/documents/resources/templates/resources/versions/types/CreateTemplateVersionRequestGeneration.d.mts +12 -0
  378. package/dist/esm/serialization/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/types/CreateTemplateVersionRequestGeneration.mjs +3 -3
  379. package/dist/esm/serialization/resources/documents/types/GenerateDocumentsRequestXCortiRetentionPolicy.d.mts +7 -0
  380. package/dist/esm/serialization/resources/{alphaSections/client/list.mjs → documents/types/GenerateDocumentsRequestXCortiRetentionPolicy.mjs} +1 -2
  381. package/dist/esm/serialization/resources/documents/types/index.d.mts +1 -0
  382. package/dist/esm/serialization/resources/documents/types/index.mjs +1 -0
  383. package/dist/esm/serialization/resources/index.d.mts +1 -8
  384. package/dist/esm/serialization/resources/index.mjs +1 -8
  385. package/dist/esm/serialization/resources/stream/client/socket/StreamSocketResponse.d.mts +3 -2
  386. package/dist/esm/serialization/resources/stream/client/socket/StreamSocketResponse.mjs +2 -0
  387. package/dist/esm/serialization/resources/transcribe/client/socket/TranscribeSocketResponse.d.mts +3 -2
  388. package/dist/esm/serialization/resources/transcribe/client/socket/TranscribeSocketResponse.mjs +2 -0
  389. package/dist/esm/serialization/types/CreateEphemeralDocumentResponse.d.mts +12 -0
  390. package/dist/esm/serialization/types/CreateEphemeralDocumentResponse.mjs +8 -0
  391. package/dist/esm/serialization/types/CreateSectionBase.d.mts +5 -2
  392. package/dist/esm/serialization/types/CreateSectionBase.mjs +5 -2
  393. package/dist/esm/serialization/types/CreateSectionFromInheritanceRequest.d.mts +1 -1
  394. package/dist/esm/serialization/types/CreateSectionFromInheritanceRequest.mjs +1 -1
  395. package/dist/esm/serialization/types/CreateTemplateBase.d.mts +6 -2
  396. package/dist/esm/serialization/types/CreateTemplateBase.mjs +6 -2
  397. package/dist/esm/serialization/types/CreateTemplateFromInheritanceRequest.d.mts +1 -1
  398. package/dist/esm/serialization/types/CreateTemplateFromInheritanceRequest.mjs +1 -1
  399. package/dist/esm/serialization/types/DocumentationEvidence.d.mts +12 -0
  400. package/dist/esm/serialization/types/DocumentationEvidence.mjs +8 -0
  401. package/dist/esm/serialization/types/EphemeralDocument.d.mts +14 -0
  402. package/dist/esm/serialization/types/{GuidedGenerationResult.mjs → EphemeralDocument.mjs} +6 -4
  403. package/dist/esm/serialization/types/GuidedAssemblyRequest.d.mts +0 -1
  404. package/dist/esm/serialization/types/GuidedAssemblyRequest.mjs +0 -1
  405. package/dist/esm/serialization/types/GuidedDocumentBase.d.mts +12 -0
  406. package/dist/esm/serialization/types/GuidedDocumentBase.mjs +8 -0
  407. package/dist/esm/serialization/types/GuidedDocumentByAssembly.d.mts +2 -4
  408. package/dist/esm/serialization/types/GuidedDocumentByAssembly.mjs +5 -5
  409. package/dist/esm/serialization/types/GuidedDocumentByDynamic.d.mts +2 -4
  410. package/dist/esm/serialization/types/GuidedDocumentByDynamic.mjs +5 -5
  411. package/dist/esm/serialization/types/GuidedDocumentByTemplateRef.d.mts +2 -4
  412. package/dist/esm/serialization/types/GuidedDocumentByTemplateRef.mjs +5 -5
  413. package/dist/esm/serialization/types/GuidedDynamicRequest.d.mts +0 -1
  414. package/dist/esm/serialization/types/GuidedDynamicRequest.mjs +0 -1
  415. package/dist/esm/serialization/types/GuidedSectionOverride.d.mts +3 -5
  416. package/dist/esm/serialization/types/GuidedSectionOverride.mjs +2 -5
  417. package/dist/esm/serialization/types/Label.d.mts +10 -0
  418. package/dist/esm/serialization/types/Label.mjs +6 -0
  419. package/dist/esm/serialization/types/Section.d.mts +7 -2
  420. package/dist/esm/serialization/types/Section.mjs +7 -2
  421. package/dist/esm/serialization/types/SectionInstructionsOverride.d.mts +1 -0
  422. package/dist/esm/serialization/types/SectionInstructionsOverride.mjs +1 -0
  423. package/dist/esm/serialization/types/SectionOverrides.d.mts +1 -1
  424. package/dist/esm/serialization/types/SectionOverrides.mjs +1 -1
  425. package/dist/esm/serialization/types/SectionSource.d.mts +7 -0
  426. package/dist/esm/serialization/types/SectionSource.mjs +3 -0
  427. package/dist/esm/serialization/types/StatusResponse.d.mts +2 -0
  428. package/dist/esm/serialization/types/StatusResponse.mjs +2 -0
  429. package/dist/esm/serialization/types/StreamAudioEventData.d.mts +12 -0
  430. package/dist/esm/serialization/types/StreamAudioEventData.mjs +8 -0
  431. package/dist/esm/serialization/types/StreamAudioEventDataEvent.d.mts +7 -0
  432. package/dist/esm/serialization/types/StreamAudioEventDataEvent.mjs +8 -0
  433. package/dist/esm/serialization/types/StreamAudioEventMessage.d.mts +11 -0
  434. package/dist/esm/serialization/types/StreamAudioEventMessage.mjs +7 -0
  435. package/dist/esm/serialization/types/StreamAudioEventsConfig.d.mts +9 -0
  436. package/dist/esm/serialization/types/StreamAudioEventsConfig.mjs +5 -0
  437. package/dist/esm/serialization/types/StreamConfig.d.mts +2 -0
  438. package/dist/esm/serialization/types/StreamConfig.mjs +2 -0
  439. package/dist/esm/serialization/types/StreamConfigMode.d.mts +2 -0
  440. package/dist/esm/serialization/types/StreamConfigMode.mjs +2 -0
  441. package/dist/esm/serialization/types/StreamConfigModeFactGenerationInterval.d.mts +7 -0
  442. package/dist/esm/serialization/types/StreamConfigModeFactGenerationInterval.mjs +3 -0
  443. package/dist/esm/serialization/types/Template.d.mts +8 -2
  444. package/dist/esm/serialization/types/Template.mjs +8 -2
  445. package/dist/esm/serialization/types/TemplateSource.d.mts +7 -0
  446. package/dist/esm/serialization/types/TemplateSource.mjs +3 -0
  447. package/dist/esm/serialization/types/TranscribeAudioEventData.d.mts +12 -0
  448. package/dist/esm/serialization/types/TranscribeAudioEventData.mjs +8 -0
  449. package/dist/esm/serialization/types/TranscribeAudioEventDataEvent.d.mts +7 -0
  450. package/dist/esm/serialization/types/TranscribeAudioEventDataEvent.mjs +8 -0
  451. package/dist/esm/serialization/types/TranscribeAudioEventMessage.d.mts +11 -0
  452. package/dist/esm/serialization/types/TranscribeAudioEventMessage.mjs +7 -0
  453. package/dist/esm/serialization/types/TranscribeAudioEventsConfig.d.mts +9 -0
  454. package/dist/esm/serialization/types/TranscribeAudioEventsConfig.mjs +5 -0
  455. package/dist/esm/serialization/types/TranscribeConfig.d.mts +2 -0
  456. package/dist/esm/serialization/types/TranscribeConfig.mjs +2 -0
  457. package/dist/esm/serialization/types/index.d.mts +16 -4
  458. package/dist/esm/serialization/types/index.mjs +16 -4
  459. package/dist/esm/version.d.mts +1 -1
  460. package/dist/esm/version.mjs +1 -1
  461. package/package.json +1 -1
  462. package/dist/cjs/api/resources/alphaDocuments/client/Client.d.ts +0 -35
  463. package/dist/cjs/api/resources/alphaDocuments/client/Client.js +0 -143
  464. package/dist/cjs/api/resources/alphaDocuments/client/index.d.ts +0 -1
  465. package/dist/cjs/api/resources/alphaSectionVersions/client/Client.d.ts +0 -83
  466. package/dist/cjs/api/resources/alphaSectionVersions/client/index.d.ts +0 -1
  467. package/dist/cjs/api/resources/alphaSections/client/Client.d.ts +0 -80
  468. package/dist/cjs/api/resources/alphaSections/client/requests/ListAlphaSectionsRequest.d.ts +0 -12
  469. package/dist/cjs/api/resources/alphaSections/client/requests/UpdateSectionRequest.d.ts +0 -10
  470. package/dist/cjs/api/resources/alphaSections/client/requests/index.d.ts +0 -2
  471. package/dist/cjs/api/resources/alphaSections/index.d.ts +0 -1
  472. package/dist/cjs/api/resources/alphaTemplateVersions/client/Client.d.ts +0 -81
  473. package/dist/cjs/api/resources/alphaTemplates/client/Client.d.ts +0 -76
  474. package/dist/cjs/api/resources/alphaTemplates/client/requests/ListAlphaTemplatesRequest.d.ts +0 -12
  475. package/dist/cjs/api/resources/alphaTemplates/client/requests/UpdateTemplateRequest.d.ts +0 -10
  476. package/dist/cjs/api/resources/alphaTemplates/client/requests/index.d.ts +0 -2
  477. package/dist/cjs/api/resources/alphaTemplates/client/requests/index.js +0 -2
  478. package/dist/cjs/api/resources/alphaTemplates/index.d.ts +0 -1
  479. package/dist/cjs/api/resources/alphaTemplates/index.js +0 -17
  480. package/dist/cjs/api/types/GuidedDocumentResponse.d.ts +0 -8
  481. package/dist/cjs/api/types/GuidedGenerationResult.d.ts +0 -11
  482. package/dist/cjs/api/types/GuidedGenerationResultUsage.d.ts +0 -4
  483. package/dist/cjs/api/types/GuidedGenerationResultUsageTokenCount.d.ts +0 -4
  484. package/dist/cjs/serialization/resources/alphaSectionVersions/client/index.d.ts +0 -1
  485. package/dist/cjs/serialization/resources/alphaSectionVersions/client/list.d.ts +0 -8
  486. package/dist/cjs/serialization/resources/alphaSectionVersions/index.d.ts +0 -1
  487. package/dist/cjs/serialization/resources/alphaSectionVersions/index.js +0 -17
  488. package/dist/cjs/serialization/resources/alphaSections/client/list.d.ts +0 -8
  489. package/dist/cjs/serialization/resources/alphaSections/client/requests/UpdateSectionRequest.d.ts +0 -12
  490. package/dist/cjs/serialization/resources/alphaSections/index.d.ts +0 -1
  491. package/dist/cjs/serialization/resources/alphaSections/index.js +0 -17
  492. package/dist/cjs/serialization/resources/alphaTemplateVersions/client/list.d.ts +0 -8
  493. package/dist/cjs/serialization/resources/alphaTemplateVersions/client/requests/CreateTemplateVersionRequest.d.ts +0 -10
  494. package/dist/cjs/serialization/resources/alphaTemplateVersions/types/CreateTemplateVersionRequestGeneration.d.ts +0 -12
  495. package/dist/cjs/serialization/resources/alphaTemplates/client/list.d.ts +0 -8
  496. package/dist/cjs/serialization/resources/alphaTemplates/client/requests/UpdateTemplateRequest.d.ts +0 -12
  497. package/dist/cjs/serialization/resources/alphaTemplates/index.d.ts +0 -1
  498. package/dist/cjs/serialization/resources/alphaTemplates/index.js +0 -17
  499. package/dist/cjs/serialization/types/GuidedDocumentResponse.d.ts +0 -12
  500. package/dist/cjs/serialization/types/GuidedGenerationResult.d.ts +0 -12
  501. package/dist/cjs/serialization/types/GuidedGenerationResultUsage.d.ts +0 -10
  502. package/dist/cjs/serialization/types/GuidedGenerationResultUsageTokenCount.d.ts +0 -10
  503. package/dist/esm/api/resources/alphaDocuments/client/Client.d.mts +0 -35
  504. package/dist/esm/api/resources/alphaDocuments/client/Client.mjs +0 -106
  505. package/dist/esm/api/resources/alphaDocuments/client/index.d.mts +0 -1
  506. package/dist/esm/api/resources/alphaSectionVersions/client/Client.d.mts +0 -83
  507. package/dist/esm/api/resources/alphaSectionVersions/client/index.d.mts +0 -1
  508. package/dist/esm/api/resources/alphaSections/client/Client.d.mts +0 -80
  509. package/dist/esm/api/resources/alphaSections/client/requests/ListAlphaSectionsRequest.d.mts +0 -12
  510. package/dist/esm/api/resources/alphaSections/client/requests/UpdateSectionRequest.d.mts +0 -10
  511. package/dist/esm/api/resources/alphaSections/client/requests/index.d.mts +0 -2
  512. package/dist/esm/api/resources/alphaSections/index.d.mts +0 -1
  513. package/dist/esm/api/resources/alphaSections/index.mjs +0 -1
  514. package/dist/esm/api/resources/alphaTemplateVersions/client/Client.d.mts +0 -81
  515. package/dist/esm/api/resources/alphaTemplates/client/Client.d.mts +0 -76
  516. package/dist/esm/api/resources/alphaTemplates/client/requests/ListAlphaTemplatesRequest.d.mts +0 -12
  517. package/dist/esm/api/resources/alphaTemplates/client/requests/UpdateTemplateRequest.d.mts +0 -10
  518. package/dist/esm/api/resources/alphaTemplates/client/requests/index.d.mts +0 -2
  519. package/dist/esm/api/resources/alphaTemplates/client/requests/index.mjs +0 -1
  520. package/dist/esm/api/resources/alphaTemplates/index.d.mts +0 -1
  521. package/dist/esm/api/resources/alphaTemplates/index.mjs +0 -1
  522. package/dist/esm/api/types/GuidedDocumentResponse.d.mts +0 -8
  523. package/dist/esm/api/types/GuidedGenerationResult.d.mts +0 -11
  524. package/dist/esm/api/types/GuidedGenerationResultUsage.d.mts +0 -4
  525. package/dist/esm/api/types/GuidedGenerationResultUsageTokenCount.d.mts +0 -4
  526. package/dist/esm/serialization/resources/alphaSectionVersions/client/index.d.mts +0 -1
  527. package/dist/esm/serialization/resources/alphaSectionVersions/client/index.mjs +0 -1
  528. package/dist/esm/serialization/resources/alphaSectionVersions/client/list.d.mts +0 -8
  529. package/dist/esm/serialization/resources/alphaSectionVersions/client/list.mjs +0 -4
  530. package/dist/esm/serialization/resources/alphaSectionVersions/index.d.mts +0 -1
  531. package/dist/esm/serialization/resources/alphaSectionVersions/index.mjs +0 -1
  532. package/dist/esm/serialization/resources/alphaSections/client/list.d.mts +0 -8
  533. package/dist/esm/serialization/resources/alphaSections/client/requests/UpdateSectionRequest.d.mts +0 -12
  534. package/dist/esm/serialization/resources/alphaSections/client/requests/UpdateSectionRequest.mjs +0 -8
  535. package/dist/esm/serialization/resources/alphaSections/index.d.mts +0 -1
  536. package/dist/esm/serialization/resources/alphaSections/index.mjs +0 -1
  537. package/dist/esm/serialization/resources/alphaTemplateVersions/client/list.d.mts +0 -8
  538. package/dist/esm/serialization/resources/alphaTemplateVersions/client/list.mjs +0 -4
  539. package/dist/esm/serialization/resources/alphaTemplateVersions/client/requests/CreateTemplateVersionRequest.d.mts +0 -10
  540. package/dist/esm/serialization/resources/alphaTemplateVersions/types/CreateTemplateVersionRequestGeneration.d.mts +0 -12
  541. package/dist/esm/serialization/resources/alphaTemplates/client/list.d.mts +0 -8
  542. package/dist/esm/serialization/resources/alphaTemplates/client/requests/UpdateTemplateRequest.d.mts +0 -12
  543. package/dist/esm/serialization/resources/alphaTemplates/client/requests/UpdateTemplateRequest.mjs +0 -8
  544. package/dist/esm/serialization/resources/alphaTemplates/index.d.mts +0 -1
  545. package/dist/esm/serialization/resources/alphaTemplates/index.mjs +0 -1
  546. package/dist/esm/serialization/types/GuidedDocumentResponse.d.mts +0 -12
  547. package/dist/esm/serialization/types/GuidedDocumentResponse.mjs +0 -8
  548. package/dist/esm/serialization/types/GuidedGenerationResult.d.mts +0 -12
  549. package/dist/esm/serialization/types/GuidedGenerationResultUsage.d.mts +0 -10
  550. package/dist/esm/serialization/types/GuidedGenerationResultUsage.mjs +0 -6
  551. package/dist/esm/serialization/types/GuidedGenerationResultUsageTokenCount.d.mts +0 -10
  552. package/dist/esm/serialization/types/GuidedGenerationResultUsageTokenCount.mjs +0 -6
  553. /package/dist/cjs/api/resources/{alphaSections/client/requests/ListAlphaSectionsRequest.js → documents/client/requests/GenerateDocumentsRequest.js} +0 -0
  554. /package/dist/cjs/api/resources/{alphaSections → documents/resources/sections}/client/index.d.ts +0 -0
  555. /package/dist/cjs/api/resources/{alphaSections → documents/resources/sections}/client/index.js +0 -0
  556. /package/dist/cjs/api/resources/{alphaSections/client/requests/UpdateSectionRequest.js → documents/resources/sections/client/requests/ListSectionsRequest.js} +0 -0
  557. /package/dist/cjs/api/resources/{alphaTemplateVersions/client/requests/CreateTemplateVersionRequest.js → documents/resources/sections/client/requests/UpdateSectionRequest.js} +0 -0
  558. /package/dist/cjs/api/resources/{alphaDocuments/client → documents/resources/sections/client/requests}/index.js +0 -0
  559. /package/dist/cjs/api/resources/{alphaTemplateVersions → documents/resources/sections/resources/versions}/client/index.d.ts +0 -0
  560. /package/dist/cjs/api/resources/{alphaTemplateVersions → documents/resources/sections/resources/versions}/client/index.js +0 -0
  561. /package/dist/cjs/api/resources/{alphaTemplateVersions/types/CreateTemplateVersionRequestGeneration.js → documents/resources/sections/resources/versions/client/requests/CreateSectionVersionRequest.js} +0 -0
  562. /package/dist/cjs/api/resources/{alphaSectionVersions/client → documents/resources/sections/resources/versions/client/requests}/index.js +0 -0
  563. /package/dist/cjs/api/resources/{alphaDocuments → documents/resources/sections/resources/versions}/index.d.ts +0 -0
  564. /package/dist/cjs/api/resources/{alphaDocuments → documents/resources/sections/resources/versions}/index.js +0 -0
  565. /package/dist/cjs/api/resources/{alphaTemplates → documents/resources/templates}/client/index.d.ts +0 -0
  566. /package/dist/cjs/api/resources/{alphaTemplates → documents/resources/templates}/client/index.js +0 -0
  567. /package/dist/cjs/api/resources/{alphaTemplates/client/requests/ListAlphaTemplatesRequest.js → documents/resources/templates/client/requests/ListTemplatesRequest.js} +0 -0
  568. /package/dist/cjs/api/resources/{alphaTemplates → documents/resources/templates}/client/requests/UpdateTemplateRequest.js +0 -0
  569. /package/dist/cjs/api/resources/{alphaSections → documents/resources/templates}/client/requests/index.js +0 -0
  570. /package/dist/cjs/api/resources/{templates/client/requests/TemplatesListRequest.js → documents/resources/templates/resources/versions/client/requests/CreateTemplateVersionRequest.js} +0 -0
  571. /package/dist/cjs/api/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/client/requests/index.d.ts +0 -0
  572. /package/dist/cjs/api/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/client/requests/index.js +0 -0
  573. /package/dist/cjs/api/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/index.d.ts +0 -0
  574. /package/dist/cjs/api/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/index.js +0 -0
  575. /package/dist/cjs/api/resources/{templates/client/requests/TemplatesSectionListRequest.js → documents/resources/templates/resources/versions/types/CreateTemplateVersionRequestGeneration.js} +0 -0
  576. /package/dist/cjs/api/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/types/index.d.ts +0 -0
  577. /package/dist/cjs/api/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/types/index.js +0 -0
  578. /package/dist/cjs/api/{types/GuidedDocumentResponse.js → resources/templates/client/requests/ListTemplatesRequest.js} +0 -0
  579. /package/dist/cjs/api/{types/GuidedGenerationResult.js → resources/templates/client/requests/SectionListTemplatesRequest.js} +0 -0
  580. /package/dist/cjs/api/types/{GuidedGenerationResultUsage.js → CreateEphemeralDocumentResponse.js} +0 -0
  581. /package/dist/cjs/api/types/{GuidedGenerationResultUsageTokenCount.js → DocumentationEvidence.js} +0 -0
  582. /package/dist/cjs/serialization/resources/{alphaSections → documents/resources/sections}/client/index.d.ts +0 -0
  583. /package/dist/cjs/serialization/resources/{alphaSections → documents/resources/sections}/client/index.js +0 -0
  584. /package/dist/cjs/serialization/resources/{alphaSections → documents/resources/sections}/client/requests/index.d.ts +0 -0
  585. /package/dist/cjs/serialization/resources/{alphaSections → documents/resources/sections}/client/requests/index.js +0 -0
  586. /package/dist/cjs/serialization/resources/{alphaTemplateVersions → documents/resources/sections/resources/versions}/client/index.d.ts +0 -0
  587. /package/dist/cjs/serialization/resources/{alphaTemplateVersions → documents/resources/sections/resources/versions}/client/index.js +0 -0
  588. /package/dist/cjs/{api/resources/alphaSectionVersions → serialization/resources/documents/resources/sections/resources/versions}/index.d.ts +0 -0
  589. /package/dist/cjs/{api/resources/alphaSectionVersions → serialization/resources/documents/resources/sections/resources/versions}/index.js +0 -0
  590. /package/dist/cjs/serialization/resources/{alphaTemplates → documents/resources/templates}/client/index.d.ts +0 -0
  591. /package/dist/cjs/serialization/resources/{alphaTemplates → documents/resources/templates}/client/index.js +0 -0
  592. /package/dist/cjs/serialization/resources/{alphaTemplates → documents/resources/templates}/client/requests/index.d.ts +0 -0
  593. /package/dist/cjs/serialization/resources/{alphaTemplates → documents/resources/templates}/client/requests/index.js +0 -0
  594. /package/dist/cjs/serialization/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/client/requests/index.d.ts +0 -0
  595. /package/dist/cjs/serialization/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/client/requests/index.js +0 -0
  596. /package/dist/cjs/serialization/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/index.d.ts +0 -0
  597. /package/dist/cjs/serialization/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/index.js +0 -0
  598. /package/dist/cjs/serialization/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/types/index.d.ts +0 -0
  599. /package/dist/cjs/serialization/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/types/index.js +0 -0
  600. /package/dist/esm/api/resources/{alphaSections/client/requests/ListAlphaSectionsRequest.mjs → documents/client/requests/GenerateDocumentsRequest.mjs} +0 -0
  601. /package/dist/esm/api/resources/{alphaSections → documents/resources/sections}/client/index.d.mts +0 -0
  602. /package/dist/esm/api/resources/{alphaSections → documents/resources/sections}/client/index.mjs +0 -0
  603. /package/dist/esm/api/resources/{alphaSections/client/requests/UpdateSectionRequest.mjs → documents/resources/sections/client/requests/ListSectionsRequest.mjs} +0 -0
  604. /package/dist/esm/api/resources/{alphaTemplateVersions/client/requests/CreateTemplateVersionRequest.mjs → documents/resources/sections/client/requests/UpdateSectionRequest.mjs} +0 -0
  605. /package/dist/esm/api/resources/{alphaDocuments/client → documents/resources/sections/client/requests}/index.mjs +0 -0
  606. /package/dist/esm/api/resources/{alphaTemplateVersions → documents/resources/sections/resources/versions}/client/index.d.mts +0 -0
  607. /package/dist/esm/api/resources/{alphaTemplateVersions → documents/resources/sections/resources/versions}/client/index.mjs +0 -0
  608. /package/dist/esm/api/resources/{alphaTemplateVersions/types/CreateTemplateVersionRequestGeneration.mjs → documents/resources/sections/resources/versions/client/requests/CreateSectionVersionRequest.mjs} +0 -0
  609. /package/dist/esm/api/resources/{alphaSectionVersions/client → documents/resources/sections/resources/versions/client/requests}/index.mjs +0 -0
  610. /package/dist/esm/api/resources/{alphaDocuments → documents/resources/sections/resources/versions}/index.d.mts +0 -0
  611. /package/dist/esm/api/resources/{alphaDocuments → documents/resources/sections/resources/versions}/index.mjs +0 -0
  612. /package/dist/esm/api/resources/{alphaTemplates → documents/resources/templates}/client/index.d.mts +0 -0
  613. /package/dist/esm/api/resources/{alphaTemplates → documents/resources/templates}/client/index.mjs +0 -0
  614. /package/dist/esm/api/resources/{alphaTemplates/client/requests/ListAlphaTemplatesRequest.mjs → documents/resources/templates/client/requests/ListTemplatesRequest.mjs} +0 -0
  615. /package/dist/esm/api/resources/{alphaTemplates → documents/resources/templates}/client/requests/UpdateTemplateRequest.mjs +0 -0
  616. /package/dist/esm/api/resources/{alphaSections → documents/resources/templates}/client/requests/index.mjs +0 -0
  617. /package/dist/esm/api/resources/{templates/client/requests/TemplatesListRequest.mjs → documents/resources/templates/resources/versions/client/requests/CreateTemplateVersionRequest.mjs} +0 -0
  618. /package/dist/esm/api/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/client/requests/index.d.mts +0 -0
  619. /package/dist/esm/api/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/client/requests/index.mjs +0 -0
  620. /package/dist/esm/api/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/index.d.mts +0 -0
  621. /package/dist/esm/api/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/index.mjs +0 -0
  622. /package/dist/esm/api/resources/{templates/client/requests/TemplatesSectionListRequest.mjs → documents/resources/templates/resources/versions/types/CreateTemplateVersionRequestGeneration.mjs} +0 -0
  623. /package/dist/esm/api/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/types/index.d.mts +0 -0
  624. /package/dist/esm/api/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/types/index.mjs +0 -0
  625. /package/dist/esm/api/{types/GuidedDocumentResponse.mjs → resources/templates/client/requests/ListTemplatesRequest.mjs} +0 -0
  626. /package/dist/esm/api/{types/GuidedGenerationResult.mjs → resources/templates/client/requests/SectionListTemplatesRequest.mjs} +0 -0
  627. /package/dist/esm/api/types/{GuidedGenerationResultUsage.mjs → CreateEphemeralDocumentResponse.mjs} +0 -0
  628. /package/dist/esm/api/types/{GuidedGenerationResultUsageTokenCount.mjs → DocumentationEvidence.mjs} +0 -0
  629. /package/dist/esm/serialization/resources/{alphaSections → documents/resources/sections}/client/index.d.mts +0 -0
  630. /package/dist/esm/serialization/resources/{alphaSections → documents/resources/sections}/client/index.mjs +0 -0
  631. /package/dist/esm/serialization/resources/{alphaSections → documents/resources/sections}/client/requests/index.d.mts +0 -0
  632. /package/dist/esm/serialization/resources/{alphaSections → documents/resources/sections}/client/requests/index.mjs +0 -0
  633. /package/dist/esm/serialization/resources/{alphaTemplateVersions → documents/resources/sections/resources/versions}/client/index.d.mts +0 -0
  634. /package/dist/esm/serialization/resources/{alphaTemplateVersions → documents/resources/sections/resources/versions}/client/index.mjs +0 -0
  635. /package/dist/esm/{api/resources/alphaSectionVersions → serialization/resources/documents/resources/sections/resources/versions}/index.d.mts +0 -0
  636. /package/dist/esm/{api/resources/alphaSectionVersions → serialization/resources/documents/resources/sections/resources/versions}/index.mjs +0 -0
  637. /package/dist/esm/serialization/resources/{alphaTemplates → documents/resources/templates}/client/index.d.mts +0 -0
  638. /package/dist/esm/serialization/resources/{alphaTemplates → documents/resources/templates}/client/index.mjs +0 -0
  639. /package/dist/esm/serialization/resources/{alphaTemplates → documents/resources/templates}/client/requests/index.d.mts +0 -0
  640. /package/dist/esm/serialization/resources/{alphaTemplates → documents/resources/templates}/client/requests/index.mjs +0 -0
  641. /package/dist/esm/serialization/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/client/requests/index.d.mts +0 -0
  642. /package/dist/esm/serialization/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/client/requests/index.mjs +0 -0
  643. /package/dist/esm/serialization/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/index.d.mts +0 -0
  644. /package/dist/esm/serialization/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/index.mjs +0 -0
  645. /package/dist/esm/serialization/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/types/index.d.mts +0 -0
  646. /package/dist/esm/serialization/resources/{alphaTemplateVersions → documents/resources/templates/resources/versions}/types/index.mjs +0 -0
@@ -0,0 +1,12 @@
1
+ /**
2
+ * A generated document that was not saved to the database.
3
+ */
4
+ export interface EphemeralDocument {
5
+ name: string;
6
+ templateId: string;
7
+ templateVersionId: string;
8
+ /** The BCP 47 language tag of the generated output. */
9
+ language: string;
10
+ stringDocument: Record<string, string>;
11
+ structuredDocument?: Record<string, unknown> | null;
12
+ }
@@ -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 });
@@ -5,8 +5,6 @@ import type * as Corti from "../index.js";
5
5
  export interface GuidedAssemblyRequest {
6
6
  /** Name for the auto-generated template aggregate that will be persisted. */
7
7
  name: string;
8
- /** BCP 47 language tag. */
9
- language: string;
10
8
  /** Template-level instructions for the assembled template. */
11
9
  instructions?: Corti.TemplateInstructions;
12
10
  sectionRefs: Corti.GuidedAssemblySectionRef[];
@@ -0,0 +1,12 @@
1
+ import type * as Corti from "../index.js";
2
+ /**
3
+ * Fields shared across all guided-document request variants.
4
+ */
5
+ export interface GuidedDocumentBase {
6
+ /** The language in which the document will be generated as a BCP 47 tag. */
7
+ outputLanguage: string;
8
+ /** Ordered list of context items the model reasons over. Each item is one of text, a transcript (with optional metadata and segments), or a single fact. Items are interleaved by timestamps where present on transcript segments; otherwise array order is preserved. */
9
+ context?: Corti.GuidedDocumentContext[];
10
+ /** When supplied, all facts and transcripts already attached to the referenced interaction are passed implicitly as input context. */
11
+ interactionId?: string;
12
+ }
@@ -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 });
@@ -2,11 +2,7 @@ import type * as Corti from "../index.js";
2
2
  /**
3
3
  * Generate a document by assembling a template from existing stored sections. The resulting template aggregate is auto-saved and can be referenced in future calls. At least one of `context` or `interactionId` must be supplied as input context for the model.
4
4
  */
5
- export interface GuidedDocumentByAssembly {
6
- /** Ordered list of context items the model reasons over. Each item is one of text, a transcript (with optional metadata and segments), or a single fact. Items are interleaved by timestamps where present on transcript segments; otherwise array order is preserved. */
7
- context?: Corti.GuidedDocumentContext[];
8
- /** When supplied, all facts and transcripts already attached to the referenced interaction are passed implicitly as input context. */
9
- interactionId?: string;
5
+ export interface GuidedDocumentByAssembly extends Corti.GuidedDocumentBase {
10
6
  /** Assemble a template from existing stored sections. */
11
7
  assemblyTemplate: Corti.GuidedAssemblyRequest;
12
8
  }
@@ -2,11 +2,7 @@ import type * as Corti from "../index.js";
2
2
  /**
3
3
  * Generate a document from a fully inline template definition supplied in the request body. Sections and the wrapping template are created and immediately published as auto-generated resources. At least one of `context` or `interactionId` must be supplied as input context for the model.
4
4
  */
5
- export interface GuidedDocumentByDynamic {
6
- /** Ordered list of context items the model reasons over. Each item is one of text, a transcript (with optional metadata and segments), or a single fact. Items are interleaved by timestamps where present on transcript segments; otherwise array order is preserved. */
7
- context?: Corti.GuidedDocumentContext[];
8
- /** When supplied, all facts and transcripts already attached to the referenced interaction are passed implicitly as input context. */
9
- interactionId?: string;
5
+ export interface GuidedDocumentByDynamic extends Corti.GuidedDocumentBase {
10
6
  /** Fully inline template defined in the request body. */
11
7
  dynamicTemplate: Corti.GuidedDynamicRequest;
12
8
  }
@@ -2,11 +2,7 @@ import type * as Corti from "../index.js";
2
2
  /**
3
3
  * Generate a document using a stored template. Optionally supply runtime overrides to patch instructions or sections without mutating the base template. At least one of `context` or `interactionId` must be supplied as input context for the model.
4
4
  */
5
- export interface GuidedDocumentByTemplateRef {
6
- /** Ordered list of context items the model reasons over. Each item is one of text, a transcript (with optional metadata and segments), or a single fact. Items are interleaved by timestamps where present on transcript segments; otherwise array order is preserved. */
7
- context?: Corti.GuidedDocumentContext[];
8
- /** When supplied, all facts and transcripts already attached to the referenced interaction are passed implicitly as input context. */
9
- interactionId?: string;
5
+ export interface GuidedDocumentByTemplateRef extends Corti.GuidedDocumentBase {
10
6
  /** Reference an existing stored template, optionally with overrides. */
11
7
  templateRef: Corti.GuidedTemplateRef;
12
8
  }
@@ -4,7 +4,5 @@ import type * as Corti from "../index.js";
4
4
  */
5
5
  export interface GuidedDynamicRequest {
6
6
  name: string;
7
- /** BCP 47 language tag. */
8
- language: string;
9
7
  generation: Corti.GuidedDynamicInline;
10
8
  }
@@ -5,9 +5,5 @@ import type * as Corti from "../index.js";
5
5
  export interface GuidedSectionOverride {
6
6
  /** The UUID of a section linked to the base template version. */
7
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;
8
+ generation?: Corti.SectionOverrides;
13
9
  }
@@ -0,0 +1,4 @@
1
+ export interface Label {
2
+ key: string;
3
+ value: string;
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 });
@@ -6,14 +6,20 @@ export interface Section {
6
6
  inheritedFromId?: string | null;
7
7
  /** True if the section was auto-generated as part of an inline section-composed POST /documents request. */
8
8
  autoGenerated?: boolean;
9
+ /** Whether this section was created by the user or from the Corti standard resources. */
10
+ source?: Corti.SectionSource;
9
11
  /** The name of the section. */
10
12
  name: string;
11
- /** The intended language for outputs as BCP 47 tag. */
12
- language: string;
13
+ /** BCP 47 languages this section has been tweaked for. Empty means no language-specific tweaks. */
14
+ languages: string[];
15
+ /** ISO 3166-1 alpha-3 country codes this section has been tweaked for. Empty means no region-specific tweaks. */
16
+ regions: string[];
17
+ /** Clinical specialties this section has been tweaked for. Empty means no specialty-specific tweaks. */
18
+ specialties: string[];
13
19
  /** The description for the section. */
14
20
  description?: string;
15
21
  /** The labels available to use as query param filter in the LIST /sections endpoint. */
16
- labels: string[];
22
+ labels: Corti.Label[];
17
23
  /** Shows the currently published version of this section. */
18
24
  publishedVersion?: Corti.SectionVersion;
19
25
  /** The original timestamp when the section was created. */
@@ -6,4 +6,6 @@ export interface SectionInstructionsOverride {
6
6
  contentPrompt?: string;
7
7
  /** When provided, replaces the section's writing style prompt. Omit to inherit from the parent. */
8
8
  writingStylePrompt?: string;
9
+ /** When provided, replaces the section's misc prompt. Omit to inherit from the parent. */
10
+ miscPrompt?: string;
9
11
  }
@@ -3,8 +3,8 @@ import type * as Corti from "../index.js";
3
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
4
  */
5
5
  export interface SectionOverrides {
6
- /** When provided, replaces the section's title for this call. */
7
- title?: string | null;
6
+ /** When provided, replaces the section's heading for this call. */
7
+ heading?: string | null;
8
8
  instructions?: Corti.SectionInstructionsOverride;
9
9
  /** When provided, fully replaces the parent's output schema. */
10
10
  outputSchema?: Corti.OutputSchema;
@@ -0,0 +1,6 @@
1
+ /** Whether this section was created by the user or from the Corti standard resources. */
2
+ export declare const SectionSource: {
3
+ readonly User: "user";
4
+ readonly Corti: "corti";
5
+ };
6
+ export type SectionSource = (typeof SectionSource)[keyof typeof SectionSource];
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.SectionSource = void 0;
5
+ /** Whether this section was created by the user or from the Corti standard resources. */
6
+ exports.SectionSource = {
7
+ User: "user",
8
+ Corti: "corti",
9
+ };
@@ -1,3 +1,5 @@
1
+ import type * as Corti from "../index.js";
1
2
  export interface StatusResponse {
2
3
  status: string;
4
+ evidence?: Corti.DocumentationEvidence;
3
5
  }
@@ -0,0 +1,9 @@
1
+ import type * as Corti from "../index.js";
2
+ export interface StreamAudioEventData {
3
+ /** The type of audio quality or speech activity event */
4
+ event: Corti.StreamAudioEventDataEvent;
5
+ /** Audio channel identifier */
6
+ channel: number;
7
+ /** Start time of the event in milliseconds */
8
+ startTimeMs: number;
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,8 @@
1
+ /** The type of audio quality or speech activity event */
2
+ export declare const StreamAudioEventDataEvent: {
3
+ readonly SpeechQualityIssueDetected: "speechQualityIssueDetected";
4
+ readonly SpeechQualityIssueRecovered: "speechQualityIssueRecovered";
5
+ readonly LongSilenceDetected: "longSilenceDetected";
6
+ readonly LongSilenceRecovered: "longSilenceRecovered";
7
+ };
8
+ export type StreamAudioEventDataEvent = (typeof StreamAudioEventDataEvent)[keyof typeof StreamAudioEventDataEvent];
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.StreamAudioEventDataEvent = void 0;
5
+ /** The type of audio quality or speech activity event */
6
+ exports.StreamAudioEventDataEvent = {
7
+ SpeechQualityIssueDetected: "speechQualityIssueDetected",
8
+ SpeechQualityIssueRecovered: "speechQualityIssueRecovered",
9
+ LongSilenceDetected: "longSilenceDetected",
10
+ LongSilenceRecovered: "longSilenceRecovered",
11
+ };
@@ -0,0 +1,5 @@
1
+ import type * as Corti from "../index.js";
2
+ export interface StreamAudioEventMessage {
3
+ type: "audioEvent";
4
+ data: Corti.StreamAudioEventData;
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,4 @@
1
+ export interface StreamAudioEventsConfig {
2
+ /** When true, enables audio quality and speech activity events to be sent over the WebSocket. Disabled by default. */
3
+ enabled?: boolean;
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 });
@@ -4,6 +4,7 @@ export interface StreamConfig {
4
4
  mode: Corti.StreamConfigMode;
5
5
  /** Optional parameter to specify data retention policy for the generated transcripts and facts. Use value 'none' to indicate data should not be stored in the database. Use value 'retain' to indicate that the data should be retained according to standard retention policies. If configuration is not provided, then the default retention policy will apply. */
6
6
  retentionPolicy?: Corti.StreamConfigRetentionPolicy;
7
+ audioEvents?: Corti.StreamAudioEventsConfig;
7
8
  /** The audio format of the incoming audio stream */
8
9
  audioFormat?: string;
9
10
  }
@@ -4,4 +4,6 @@ export interface StreamConfigMode {
4
4
  type: Corti.StreamConfigModeType;
5
5
  /** Output language locale specific to facts. */
6
6
  outputLocale?: Corti.StreamSupportedLanguage;
7
+ /** Rate at which fact generation should process and return results. If no value is set, the default is `fixed` and will trigger fact generation at the standard interval of around 60s. With `fast_init`, fact generation will follow a logarithmic curve. */
8
+ factGenerationInterval?: Corti.StreamConfigModeFactGenerationInterval;
7
9
  }
@@ -0,0 +1,6 @@
1
+ /** Rate at which fact generation should process and return results. If no value is set, the default is `fixed` and will trigger fact generation at the standard interval of around 60s. With `fast_init`, fact generation will follow a logarithmic curve. */
2
+ export declare const StreamConfigModeFactGenerationInterval: {
3
+ readonly Fixed: "fixed";
4
+ readonly FastInit: "fast_init";
5
+ };
6
+ export type StreamConfigModeFactGenerationInterval = (typeof StreamConfigModeFactGenerationInterval)[keyof typeof StreamConfigModeFactGenerationInterval];
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.StreamConfigModeFactGenerationInterval = void 0;
5
+ /** Rate at which fact generation should process and return results. If no value is set, the default is `fixed` and will trigger fact generation at the standard interval of around 60s. With `fast_init`, fact generation will follow a logarithmic curve. */
6
+ exports.StreamConfigModeFactGenerationInterval = {
7
+ Fixed: "fixed",
8
+ FastInit: "fast_init",
9
+ };
@@ -6,14 +6,22 @@ export interface Template {
6
6
  inheritedFromId?: string | null;
7
7
  /** True if the template was auto-generated based on the section-composed POST /documents request. */
8
8
  autoGenerated?: boolean;
9
+ /** Whether this template was created by the user or is a Corti standard resource. */
10
+ source?: Corti.TemplateSource;
9
11
  /** The name of this template. Not passed to the LLM. */
10
12
  name: string;
11
13
  /** A description for this template. Not passed to the LLM. */
12
14
  description?: string;
13
- /** The intended language as BCP 47 tag. Does not strictly have to match outputLanguage in POST /documents request. */
14
- language: string;
15
+ /** BCP 47 language subtags this template has been tweaked for (e.g. `["fr", "de"]`). Empty means no language-specific tweaks. */
16
+ languages: string[];
17
+ /** ISO 3166-1 alpha-3 country codes this template has been tweaked for (e.g. `["BEL"]`). Empty means no region-specific tweaks. */
18
+ regions: string[];
19
+ /** Clinical specialties this template has been tweaked for. Empty means no specialty-specific tweaks. */
20
+ specialties: string[];
15
21
  /** The available labels to use as query param filter in the LIST /templates endpoint. */
16
- labels: string[];
22
+ labels: Corti.Label[];
23
+ /** Access policies for this template. */
24
+ policies?: unknown[];
17
25
  publishedVersion?: Corti.TemplateVersion;
18
26
  /** The original timestamp when the template was created. */
19
27
  createdAt: Date;
@@ -1,6 +1,6 @@
1
1
  import type * as Corti from "../index.js";
2
2
  export interface TemplateGeneration {
3
3
  instructions: Corti.TemplateInstructions;
4
- /** Populated only on GET /alpha/templates/{templateID}/versions/{versionID}; omitted from list responses. */
4
+ /** Populated only on GET /documents/templates/{templateID}/versions/{versionID}; omitted from list responses. */
5
5
  sections?: Corti.Section[];
6
6
  }
@@ -0,0 +1,6 @@
1
+ /** Whether this template was created by the user or is a Corti standard resource. */
2
+ export declare const TemplateSource: {
3
+ readonly User: "user";
4
+ readonly Corti: "corti";
5
+ };
6
+ export type TemplateSource = (typeof TemplateSource)[keyof typeof TemplateSource];
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.TemplateSource = void 0;
5
+ /** Whether this template was created by the user or is a Corti standard resource. */
6
+ exports.TemplateSource = {
7
+ User: "user",
8
+ Corti: "corti",
9
+ };
@@ -0,0 +1,9 @@
1
+ import type * as Corti from "../index.js";
2
+ export interface TranscribeAudioEventData {
3
+ /** The type of audio quality or speech activity event */
4
+ event: Corti.TranscribeAudioEventDataEvent;
5
+ /** Audio channel identifier */
6
+ channel: number;
7
+ /** Start time of the event in milliseconds */
8
+ startTimeMs: number;
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,8 @@
1
+ /** The type of audio quality or speech activity event */
2
+ export declare const TranscribeAudioEventDataEvent: {
3
+ readonly SpeechQualityIssueDetected: "speechQualityIssueDetected";
4
+ readonly SpeechQualityIssueRecovered: "speechQualityIssueRecovered";
5
+ readonly LongSilenceDetected: "longSilenceDetected";
6
+ readonly LongSilenceRecovered: "longSilenceRecovered";
7
+ };
8
+ export type TranscribeAudioEventDataEvent = (typeof TranscribeAudioEventDataEvent)[keyof typeof TranscribeAudioEventDataEvent];
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.TranscribeAudioEventDataEvent = void 0;
5
+ /** The type of audio quality or speech activity event */
6
+ exports.TranscribeAudioEventDataEvent = {
7
+ SpeechQualityIssueDetected: "speechQualityIssueDetected",
8
+ SpeechQualityIssueRecovered: "speechQualityIssueRecovered",
9
+ LongSilenceDetected: "longSilenceDetected",
10
+ LongSilenceRecovered: "longSilenceRecovered",
11
+ };
@@ -0,0 +1,5 @@
1
+ import type * as Corti from "../index.js";
2
+ export interface TranscribeAudioEventMessage {
3
+ type: "audioEvent";
4
+ data: Corti.TranscribeAudioEventData;
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,4 @@
1
+ export interface TranscribeAudioEventsConfig {
2
+ /** When true, enables audio quality and speech activity events to be sent over the WebSocket. Disabled by default. */
3
+ enabled?: boolean;
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 });
@@ -11,6 +11,7 @@ export interface TranscribeConfig {
11
11
  /** Commands that should be registered and detected */
12
12
  commands?: Corti.TranscribeCommand[];
13
13
  formatting?: Corti.TranscribeFormatting;
14
+ audioEvents?: Corti.TranscribeAudioEventsConfig;
14
15
  /** The audio format of the incoming audio stream */
15
16
  audioFormat?: string;
16
17
  }
@@ -79,6 +79,7 @@ export * from "./CommonUsageInfo.js";
79
79
  export * from "./ContextFacts.js";
80
80
  export * from "./ContextText.js";
81
81
  export * from "./ContextTranscript.js";
82
+ export * from "./CreateEphemeralDocumentResponse.js";
82
83
  export * from "./CreateSectionBase.js";
83
84
  export * from "./CreateSectionFromInheritanceRequest.js";
84
85
  export * from "./CreateSectionFromScratchRequest.js";
@@ -89,6 +90,7 @@ export * from "./CreateTemplateFromInheritanceRequestGeneration.js";
89
90
  export * from "./CreateTemplateFromScratchRequest.js";
90
91
  export * from "./CreateTemplateFromScratchRequestGeneration.js";
91
92
  export * from "./CreateTemplateRequest.js";
93
+ export * from "./DocumentationEvidence.js";
92
94
  export * from "./DocumentsContext.js";
93
95
  export * from "./DocumentsContextWithFacts.js";
94
96
  export * from "./DocumentsContextWithFactsType.js";
@@ -107,6 +109,7 @@ export * from "./DocumentsSectionOverride.js";
107
109
  export * from "./DocumentsTemplate.js";
108
110
  export * from "./DocumentsTemplateWithSectionKeys.js";
109
111
  export * from "./DocumentsTemplateWithSections.js";
112
+ export * from "./EphemeralDocument.js";
110
113
  export * from "./ErrorResponse.js";
111
114
  export * from "./FactsBatchUpdateInput.js";
112
115
  export * from "./FactsBatchUpdateItem.js";
@@ -127,21 +130,18 @@ export * from "./FactsUpdateResponse.js";
127
130
  export * from "./FieldDefinition.js";
128
131
  export * from "./GuidedAssemblyRequest.js";
129
132
  export * from "./GuidedAssemblySectionRef.js";
133
+ export * from "./GuidedDocumentBase.js";
130
134
  export * from "./GuidedDocumentByAssembly.js";
131
135
  export * from "./GuidedDocumentByDynamic.js";
132
136
  export * from "./GuidedDocumentByTemplateRef.js";
133
137
  export * from "./GuidedDocumentContext.js";
134
138
  export * from "./GuidedDocumentFactMinimal.js";
135
139
  export * from "./GuidedDocumentRequest.js";
136
- export * from "./GuidedDocumentResponse.js";
137
140
  export * from "./GuidedDocumentTranscriptMetadataMinimal.js";
138
141
  export * from "./GuidedDocumentTranscriptMinimal.js";
139
142
  export * from "./GuidedDocumentTranscriptSegmentMinimal.js";
140
143
  export * from "./GuidedDynamicInline.js";
141
144
  export * from "./GuidedDynamicRequest.js";
142
- export * from "./GuidedGenerationResult.js";
143
- export * from "./GuidedGenerationResultUsage.js";
144
- export * from "./GuidedGenerationResultUsageTokenCount.js";
145
145
  export * from "./GuidedSectionOverride.js";
146
146
  export * from "./GuidedTemplateOverrides.js";
147
147
  export * from "./GuidedTemplateRef.js";
@@ -156,6 +156,7 @@ export * from "./InteractionsGenderEnum.js";
156
156
  export * from "./InteractionsGetResponse.js";
157
157
  export * from "./InteractionsListResponse.js";
158
158
  export * from "./InteractionsPatient.js";
159
+ export * from "./Label.js";
159
160
  export * from "./NumberNode.js";
160
161
  export * from "./OAuthTokenRequest.js";
161
162
  export * from "./ObjectNode.js";
@@ -169,11 +170,17 @@ export * from "./SectionInstructions.js";
169
170
  export * from "./SectionInstructionsOverride.js";
170
171
  export * from "./SectionInstructionsPartial.js";
171
172
  export * from "./SectionOverrides.js";
173
+ export * from "./SectionSource.js";
172
174
  export * from "./SectionVersion.js";
173
175
  export * from "./StatusResponse.js";
176
+ export * from "./StreamAudioEventData.js";
177
+ export * from "./StreamAudioEventDataEvent.js";
178
+ export * from "./StreamAudioEventMessage.js";
179
+ export * from "./StreamAudioEventsConfig.js";
174
180
  export * from "./StreamConfig.js";
175
181
  export * from "./StreamConfigMessage.js";
176
182
  export * from "./StreamConfigMode.js";
183
+ export * from "./StreamConfigModeFactGenerationInterval.js";
177
184
  export * from "./StreamConfigModeType.js";
178
185
  export * from "./StreamConfigParticipant.js";
179
186
  export * from "./StreamConfigParticipantRole.js";
@@ -201,6 +208,7 @@ export * from "./Template.js";
201
208
  export * from "./TemplateGeneration.js";
202
209
  export * from "./TemplateInstructions.js";
203
210
  export * from "./TemplateInstructionsPartial.js";
211
+ export * from "./TemplateSource.js";
204
212
  export * from "./TemplatesDocumentationModeEnum.js";
205
213
  export * from "./TemplatesFormatRule.js";
206
214
  export * from "./TemplatesItem.js";
@@ -213,6 +221,10 @@ export * from "./TemplatesTranslation.js";
213
221
  export * from "./TemplatesWritingStyle.js";
214
222
  export * from "./TemplateVersion.js";
215
223
  export * from "./TemplateVersionSectionRequest.js";
224
+ export * from "./TranscribeAudioEventData.js";
225
+ export * from "./TranscribeAudioEventDataEvent.js";
226
+ export * from "./TranscribeAudioEventMessage.js";
227
+ export * from "./TranscribeAudioEventsConfig.js";
216
228
  export * from "./TranscribeCommand.js";
217
229
  export * from "./TranscribeCommandData.js";
218
230
  export * from "./TranscribeCommandMessage.js";
@@ -95,6 +95,7 @@ __exportStar(require("./CommonUsageInfo.js"), exports);
95
95
  __exportStar(require("./ContextFacts.js"), exports);
96
96
  __exportStar(require("./ContextText.js"), exports);
97
97
  __exportStar(require("./ContextTranscript.js"), exports);
98
+ __exportStar(require("./CreateEphemeralDocumentResponse.js"), exports);
98
99
  __exportStar(require("./CreateSectionBase.js"), exports);
99
100
  __exportStar(require("./CreateSectionFromInheritanceRequest.js"), exports);
100
101
  __exportStar(require("./CreateSectionFromScratchRequest.js"), exports);
@@ -105,6 +106,7 @@ __exportStar(require("./CreateTemplateFromInheritanceRequestGeneration.js"), exp
105
106
  __exportStar(require("./CreateTemplateFromScratchRequest.js"), exports);
106
107
  __exportStar(require("./CreateTemplateFromScratchRequestGeneration.js"), exports);
107
108
  __exportStar(require("./CreateTemplateRequest.js"), exports);
109
+ __exportStar(require("./DocumentationEvidence.js"), exports);
108
110
  __exportStar(require("./DocumentsContext.js"), exports);
109
111
  __exportStar(require("./DocumentsContextWithFacts.js"), exports);
110
112
  __exportStar(require("./DocumentsContextWithFactsType.js"), exports);
@@ -123,6 +125,7 @@ __exportStar(require("./DocumentsSectionOverride.js"), exports);
123
125
  __exportStar(require("./DocumentsTemplate.js"), exports);
124
126
  __exportStar(require("./DocumentsTemplateWithSectionKeys.js"), exports);
125
127
  __exportStar(require("./DocumentsTemplateWithSections.js"), exports);
128
+ __exportStar(require("./EphemeralDocument.js"), exports);
126
129
  __exportStar(require("./ErrorResponse.js"), exports);
127
130
  __exportStar(require("./FactsBatchUpdateInput.js"), exports);
128
131
  __exportStar(require("./FactsBatchUpdateItem.js"), exports);
@@ -143,21 +146,18 @@ __exportStar(require("./FactsUpdateResponse.js"), exports);
143
146
  __exportStar(require("./FieldDefinition.js"), exports);
144
147
  __exportStar(require("./GuidedAssemblyRequest.js"), exports);
145
148
  __exportStar(require("./GuidedAssemblySectionRef.js"), exports);
149
+ __exportStar(require("./GuidedDocumentBase.js"), exports);
146
150
  __exportStar(require("./GuidedDocumentByAssembly.js"), exports);
147
151
  __exportStar(require("./GuidedDocumentByDynamic.js"), exports);
148
152
  __exportStar(require("./GuidedDocumentByTemplateRef.js"), exports);
149
153
  __exportStar(require("./GuidedDocumentContext.js"), exports);
150
154
  __exportStar(require("./GuidedDocumentFactMinimal.js"), exports);
151
155
  __exportStar(require("./GuidedDocumentRequest.js"), exports);
152
- __exportStar(require("./GuidedDocumentResponse.js"), exports);
153
156
  __exportStar(require("./GuidedDocumentTranscriptMetadataMinimal.js"), exports);
154
157
  __exportStar(require("./GuidedDocumentTranscriptMinimal.js"), exports);
155
158
  __exportStar(require("./GuidedDocumentTranscriptSegmentMinimal.js"), exports);
156
159
  __exportStar(require("./GuidedDynamicInline.js"), exports);
157
160
  __exportStar(require("./GuidedDynamicRequest.js"), exports);
158
- __exportStar(require("./GuidedGenerationResult.js"), exports);
159
- __exportStar(require("./GuidedGenerationResultUsage.js"), exports);
160
- __exportStar(require("./GuidedGenerationResultUsageTokenCount.js"), exports);
161
161
  __exportStar(require("./GuidedSectionOverride.js"), exports);
162
162
  __exportStar(require("./GuidedTemplateOverrides.js"), exports);
163
163
  __exportStar(require("./GuidedTemplateRef.js"), exports);
@@ -172,6 +172,7 @@ __exportStar(require("./InteractionsGenderEnum.js"), exports);
172
172
  __exportStar(require("./InteractionsGetResponse.js"), exports);
173
173
  __exportStar(require("./InteractionsListResponse.js"), exports);
174
174
  __exportStar(require("./InteractionsPatient.js"), exports);
175
+ __exportStar(require("./Label.js"), exports);
175
176
  __exportStar(require("./NumberNode.js"), exports);
176
177
  __exportStar(require("./OAuthTokenRequest.js"), exports);
177
178
  __exportStar(require("./ObjectNode.js"), exports);
@@ -185,11 +186,17 @@ __exportStar(require("./SectionInstructions.js"), exports);
185
186
  __exportStar(require("./SectionInstructionsOverride.js"), exports);
186
187
  __exportStar(require("./SectionInstructionsPartial.js"), exports);
187
188
  __exportStar(require("./SectionOverrides.js"), exports);
189
+ __exportStar(require("./SectionSource.js"), exports);
188
190
  __exportStar(require("./SectionVersion.js"), exports);
189
191
  __exportStar(require("./StatusResponse.js"), exports);
192
+ __exportStar(require("./StreamAudioEventData.js"), exports);
193
+ __exportStar(require("./StreamAudioEventDataEvent.js"), exports);
194
+ __exportStar(require("./StreamAudioEventMessage.js"), exports);
195
+ __exportStar(require("./StreamAudioEventsConfig.js"), exports);
190
196
  __exportStar(require("./StreamConfig.js"), exports);
191
197
  __exportStar(require("./StreamConfigMessage.js"), exports);
192
198
  __exportStar(require("./StreamConfigMode.js"), exports);
199
+ __exportStar(require("./StreamConfigModeFactGenerationInterval.js"), exports);
193
200
  __exportStar(require("./StreamConfigModeType.js"), exports);
194
201
  __exportStar(require("./StreamConfigParticipant.js"), exports);
195
202
  __exportStar(require("./StreamConfigParticipantRole.js"), exports);
@@ -217,6 +224,7 @@ __exportStar(require("./Template.js"), exports);
217
224
  __exportStar(require("./TemplateGeneration.js"), exports);
218
225
  __exportStar(require("./TemplateInstructions.js"), exports);
219
226
  __exportStar(require("./TemplateInstructionsPartial.js"), exports);
227
+ __exportStar(require("./TemplateSource.js"), exports);
220
228
  __exportStar(require("./TemplatesDocumentationModeEnum.js"), exports);
221
229
  __exportStar(require("./TemplatesFormatRule.js"), exports);
222
230
  __exportStar(require("./TemplatesItem.js"), exports);
@@ -229,6 +237,10 @@ __exportStar(require("./TemplatesTranslation.js"), exports);
229
237
  __exportStar(require("./TemplatesWritingStyle.js"), exports);
230
238
  __exportStar(require("./TemplateVersion.js"), exports);
231
239
  __exportStar(require("./TemplateVersionSectionRequest.js"), exports);
240
+ __exportStar(require("./TranscribeAudioEventData.js"), exports);
241
+ __exportStar(require("./TranscribeAudioEventDataEvent.js"), exports);
242
+ __exportStar(require("./TranscribeAudioEventMessage.js"), exports);
243
+ __exportStar(require("./TranscribeAudioEventsConfig.js"), exports);
232
244
  __exportStar(require("./TranscribeCommand.js"), exports);
233
245
  __exportStar(require("./TranscribeCommandData.js"), exports);
234
246
  __exportStar(require("./TranscribeCommandMessage.js"), exports);
@@ -76,9 +76,9 @@ class CortiClient extends Client_js_1.CortiClient {
76
76
  * ```
77
77
  */
78
78
  this.getAuthHeaders = () => __awaiter(this, void 0, void 0, function* () {
79
- var _a;
79
+ var _a, _b;
80
80
  const req = yield this._options.authProvider.getAuthRequest();
81
- return new Headers(Object.assign(Object.assign({}, ((_a = req.headers) !== null && _a !== void 0 ? _a : {})), { "Tenant-Name": yield core.Supplier.get(this._options.tenantName) }));
81
+ return new Headers(Object.assign(Object.assign({}, ((_a = req.headers) !== null && _a !== void 0 ? _a : {})), { "Tenant-Name": (_b = (yield core.Supplier.get(this._options.tenantName))) !== null && _b !== void 0 ? _b : "" }));
82
82
  });
83
83
  (0, withCredentialsConfig_js_1.setDefaultWithCredentials)(options.withCredentials);
84
84
  this._encodeHeadersAsWsProtocols = options.encodeHeadersAsWsProtocols;