@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
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
43
43
  const headers = (0, headers_js_1.mergeHeaders)({
44
44
  "X-Fern-Language": "JavaScript",
45
45
  "X-Fern-SDK-Name": "@corti/sdk",
46
- "X-Fern-SDK-Version": "2.0.0-templates.7",
47
- "User-Agent": "@corti/sdk/2.0.0-templates.7",
46
+ "X-Fern-SDK-Version": "2.0.0-templates.8",
47
+ "User-Agent": "@corti/sdk/2.0.0-templates.8",
48
48
  "X-Fern-Runtime": core.RUNTIME.type,
49
49
  "X-Fern-Runtime-Version": core.RUNTIME.version,
50
50
  "Tenant-Name": options === null || options === void 0 ? void 0 : options.tenantName,
@@ -1,9 +1,4 @@
1
1
  import { AgentsClient } from "./api/resources/agents/client/Client.js";
2
- import { AlphaDocumentsClient } from "./api/resources/alphaDocuments/client/Client.js";
3
- import { AlphaSectionsClient } from "./api/resources/alphaSections/client/Client.js";
4
- import { AlphaSectionVersionsClient } from "./api/resources/alphaSectionVersions/client/Client.js";
5
- import { AlphaTemplatesClient } from "./api/resources/alphaTemplates/client/Client.js";
6
- import { AlphaTemplateVersionsClient } from "./api/resources/alphaTemplateVersions/client/Client.js";
7
2
  import { AuthClient } from "./api/resources/auth/client/Client.js";
8
3
  import { CodesClient } from "./api/resources/codes/client/Client.js";
9
4
  import { DocumentsClient } from "./api/resources/documents/client/Client.js";
@@ -31,11 +26,6 @@ export declare class CortiClient {
31
26
  protected _documents: DocumentsClient | undefined;
32
27
  protected _templates: TemplatesClient | undefined;
33
28
  protected _codes: CodesClient | undefined;
34
- protected _alphaTemplates: AlphaTemplatesClient | undefined;
35
- protected _alphaTemplateVersions: AlphaTemplateVersionsClient | undefined;
36
- protected _alphaSections: AlphaSectionsClient | undefined;
37
- protected _alphaSectionVersions: AlphaSectionVersionsClient | undefined;
38
- protected _alphaDocuments: AlphaDocumentsClient | undefined;
39
29
  protected _agents: AgentsClient | undefined;
40
30
  protected _stream: StreamClient | undefined;
41
31
  protected _transcribe: TranscribeClient | undefined;
@@ -48,11 +38,6 @@ export declare class CortiClient {
48
38
  get documents(): DocumentsClient;
49
39
  get templates(): TemplatesClient;
50
40
  get codes(): CodesClient;
51
- get alphaTemplates(): AlphaTemplatesClient;
52
- get alphaTemplateVersions(): AlphaTemplateVersionsClient;
53
- get alphaSections(): AlphaSectionsClient;
54
- get alphaSectionVersions(): AlphaSectionVersionsClient;
55
- get alphaDocuments(): AlphaDocumentsClient;
56
41
  get agents(): AgentsClient;
57
42
  get stream(): StreamClient;
58
43
  get transcribe(): TranscribeClient;
@@ -3,21 +3,16 @@
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.CortiClient = void 0;
5
5
  const Client_js_1 = require("./api/resources/agents/client/Client.js");
6
- const Client_js_2 = require("./api/resources/alphaDocuments/client/Client.js");
7
- const Client_js_3 = require("./api/resources/alphaSections/client/Client.js");
8
- const Client_js_4 = require("./api/resources/alphaSectionVersions/client/Client.js");
9
- const Client_js_5 = require("./api/resources/alphaTemplates/client/Client.js");
10
- const Client_js_6 = require("./api/resources/alphaTemplateVersions/client/Client.js");
11
- const Client_js_7 = require("./api/resources/auth/client/Client.js");
12
- const Client_js_8 = require("./api/resources/codes/client/Client.js");
13
- const Client_js_9 = require("./api/resources/documents/client/Client.js");
14
- const Client_js_10 = require("./api/resources/facts/client/Client.js");
15
- const Client_js_11 = require("./api/resources/interactions/client/Client.js");
16
- const Client_js_12 = require("./api/resources/recordings/client/Client.js");
17
- const Client_js_13 = require("./api/resources/stream/client/Client.js");
18
- const Client_js_14 = require("./api/resources/templates/client/Client.js");
19
- const Client_js_15 = require("./api/resources/transcribe/client/Client.js");
20
- const Client_js_16 = require("./api/resources/transcripts/client/Client.js");
6
+ const Client_js_2 = require("./api/resources/auth/client/Client.js");
7
+ const Client_js_3 = require("./api/resources/codes/client/Client.js");
8
+ const Client_js_4 = require("./api/resources/documents/client/Client.js");
9
+ const Client_js_5 = require("./api/resources/facts/client/Client.js");
10
+ const Client_js_6 = require("./api/resources/interactions/client/Client.js");
11
+ const Client_js_7 = require("./api/resources/recordings/client/Client.js");
12
+ const Client_js_8 = require("./api/resources/stream/client/Client.js");
13
+ const Client_js_9 = require("./api/resources/templates/client/Client.js");
14
+ const Client_js_10 = require("./api/resources/transcribe/client/Client.js");
15
+ const Client_js_11 = require("./api/resources/transcripts/client/Client.js");
21
16
  const BaseClient_js_1 = require("./BaseClient.js");
22
17
  class CortiClient {
23
18
  constructor(options) {
@@ -25,55 +20,35 @@ class CortiClient {
25
20
  }
26
21
  get auth() {
27
22
  var _a;
28
- return ((_a = this._auth) !== null && _a !== void 0 ? _a : (this._auth = new Client_js_7.AuthClient(this._options)));
23
+ return ((_a = this._auth) !== null && _a !== void 0 ? _a : (this._auth = new Client_js_2.AuthClient(this._options)));
29
24
  }
30
25
  get interactions() {
31
26
  var _a;
32
- return ((_a = this._interactions) !== null && _a !== void 0 ? _a : (this._interactions = new Client_js_11.InteractionsClient(this._options)));
27
+ return ((_a = this._interactions) !== null && _a !== void 0 ? _a : (this._interactions = new Client_js_6.InteractionsClient(this._options)));
33
28
  }
34
29
  get recordings() {
35
30
  var _a;
36
- return ((_a = this._recordings) !== null && _a !== void 0 ? _a : (this._recordings = new Client_js_12.RecordingsClient(this._options)));
31
+ return ((_a = this._recordings) !== null && _a !== void 0 ? _a : (this._recordings = new Client_js_7.RecordingsClient(this._options)));
37
32
  }
38
33
  get transcripts() {
39
34
  var _a;
40
- return ((_a = this._transcripts) !== null && _a !== void 0 ? _a : (this._transcripts = new Client_js_16.TranscriptsClient(this._options)));
35
+ return ((_a = this._transcripts) !== null && _a !== void 0 ? _a : (this._transcripts = new Client_js_11.TranscriptsClient(this._options)));
41
36
  }
42
37
  get facts() {
43
38
  var _a;
44
- return ((_a = this._facts) !== null && _a !== void 0 ? _a : (this._facts = new Client_js_10.FactsClient(this._options)));
39
+ return ((_a = this._facts) !== null && _a !== void 0 ? _a : (this._facts = new Client_js_5.FactsClient(this._options)));
45
40
  }
46
41
  get documents() {
47
42
  var _a;
48
- return ((_a = this._documents) !== null && _a !== void 0 ? _a : (this._documents = new Client_js_9.DocumentsClient(this._options)));
43
+ return ((_a = this._documents) !== null && _a !== void 0 ? _a : (this._documents = new Client_js_4.DocumentsClient(this._options)));
49
44
  }
50
45
  get templates() {
51
46
  var _a;
52
- return ((_a = this._templates) !== null && _a !== void 0 ? _a : (this._templates = new Client_js_14.TemplatesClient(this._options)));
47
+ return ((_a = this._templates) !== null && _a !== void 0 ? _a : (this._templates = new Client_js_9.TemplatesClient(this._options)));
53
48
  }
54
49
  get codes() {
55
50
  var _a;
56
- return ((_a = this._codes) !== null && _a !== void 0 ? _a : (this._codes = new Client_js_8.CodesClient(this._options)));
57
- }
58
- get alphaTemplates() {
59
- var _a;
60
- return ((_a = this._alphaTemplates) !== null && _a !== void 0 ? _a : (this._alphaTemplates = new Client_js_5.AlphaTemplatesClient(this._options)));
61
- }
62
- get alphaTemplateVersions() {
63
- var _a;
64
- return ((_a = this._alphaTemplateVersions) !== null && _a !== void 0 ? _a : (this._alphaTemplateVersions = new Client_js_6.AlphaTemplateVersionsClient(this._options)));
65
- }
66
- get alphaSections() {
67
- var _a;
68
- return ((_a = this._alphaSections) !== null && _a !== void 0 ? _a : (this._alphaSections = new Client_js_3.AlphaSectionsClient(this._options)));
69
- }
70
- get alphaSectionVersions() {
71
- var _a;
72
- return ((_a = this._alphaSectionVersions) !== null && _a !== void 0 ? _a : (this._alphaSectionVersions = new Client_js_4.AlphaSectionVersionsClient(this._options)));
73
- }
74
- get alphaDocuments() {
75
- var _a;
76
- return ((_a = this._alphaDocuments) !== null && _a !== void 0 ? _a : (this._alphaDocuments = new Client_js_2.AlphaDocumentsClient(this._options)));
51
+ return ((_a = this._codes) !== null && _a !== void 0 ? _a : (this._codes = new Client_js_3.CodesClient(this._options)));
77
52
  }
78
53
  get agents() {
79
54
  var _a;
@@ -81,11 +56,11 @@ class CortiClient {
81
56
  }
82
57
  get stream() {
83
58
  var _a;
84
- return ((_a = this._stream) !== null && _a !== void 0 ? _a : (this._stream = new Client_js_13.StreamClient(this._options)));
59
+ return ((_a = this._stream) !== null && _a !== void 0 ? _a : (this._stream = new Client_js_8.StreamClient(this._options)));
85
60
  }
86
61
  get transcribe() {
87
62
  var _a;
88
- return ((_a = this._transcribe) !== null && _a !== void 0 ? _a : (this._transcribe = new Client_js_15.TranscribeClient(this._options)));
63
+ return ((_a = this._transcribe) !== null && _a !== void 0 ? _a : (this._transcribe = new Client_js_10.TranscribeClient(this._options)));
89
64
  }
90
65
  }
91
66
  exports.CortiClient = CortiClient;
@@ -2,6 +2,8 @@ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClie
2
2
  import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
3
3
  import * as core from "../../../../core/index.js";
4
4
  import * as Corti from "../../../index.js";
5
+ import { SectionsClient } from "../resources/sections/client/Client.js";
6
+ import { TemplatesClient } from "../resources/templates/client/Client.js";
5
7
  export declare namespace DocumentsClient {
6
8
  type Options = BaseClientOptions;
7
9
  interface RequestOptions extends BaseRequestOptions {
@@ -9,8 +11,14 @@ export declare namespace DocumentsClient {
9
11
  }
10
12
  export declare class DocumentsClient {
11
13
  protected readonly _options: NormalizedClientOptionsWithAuth<DocumentsClient.Options>;
14
+ protected _templates: TemplatesClient | undefined;
15
+ protected _sections: SectionsClient | undefined;
12
16
  constructor(options: DocumentsClient.Options);
17
+ get templates(): TemplatesClient;
18
+ get sections(): SectionsClient;
13
19
  /**
20
+ * @deprecated
21
+ *
14
22
  * List Documents
15
23
  *
16
24
  * @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
@@ -27,6 +35,8 @@ export declare class DocumentsClient {
27
35
  list(id: Corti.Uuid, requestOptions?: DocumentsClient.RequestOptions): core.HttpResponsePromise<Corti.DocumentsListResponse>;
28
36
  private __list;
29
37
  /**
38
+ * @deprecated
39
+ *
30
40
  * This endpoint offers different ways to generate a document. Find guides to document generation [here](/textgen/documents-standard).
31
41
  *
32
42
  * @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
@@ -53,6 +63,8 @@ export declare class DocumentsClient {
53
63
  create(id: Corti.Uuid, request: Corti.DocumentsCreateRequest, requestOptions?: DocumentsClient.RequestOptions): core.HttpResponsePromise<Corti.DocumentsGetResponse>;
54
64
  private __create;
55
65
  /**
66
+ * @deprecated
67
+ *
56
68
  * Get Document.
57
69
  *
58
70
  * @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
@@ -70,6 +82,8 @@ export declare class DocumentsClient {
70
82
  get(id: Corti.Uuid, documentId: Corti.Uuid, requestOptions?: DocumentsClient.RequestOptions): core.HttpResponsePromise<Corti.DocumentsGetResponse>;
71
83
  private __get;
72
84
  /**
85
+ * @deprecated
86
+ *
73
87
  * @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
74
88
  * @param {Corti.Uuid} documentId - The document ID representing the context for the request. Must be a valid UUID.
75
89
  * @param {DocumentsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -85,6 +99,8 @@ export declare class DocumentsClient {
85
99
  delete(id: Corti.Uuid, documentId: Corti.Uuid, requestOptions?: DocumentsClient.RequestOptions): core.HttpResponsePromise<void>;
86
100
  private __delete;
87
101
  /**
102
+ * @deprecated
103
+ *
88
104
  * @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
89
105
  * @param {Corti.Uuid} documentId - The document ID representing the context for the request. Must be a valid UUID.
90
106
  * @param {Corti.DocumentsUpdateRequest} request
@@ -100,4 +116,29 @@ export declare class DocumentsClient {
100
116
  */
101
117
  update(id: Corti.Uuid, documentId: Corti.Uuid, request?: Corti.DocumentsUpdateRequest, requestOptions?: DocumentsClient.RequestOptions): core.HttpResponsePromise<Corti.DocumentsGetResponse>;
102
118
  private __update;
119
+ /**
120
+ * Generates a structured document using one of three template-supply paths: a stored template reference (optionally with runtime overrides), an ad-hoc assembly of stored sections, or a fully inline dynamic template. Exactly one of `templateRef`, `assemblyTemplate`, or `dynamicTemplate` must be provided.
121
+ *
122
+ * With the exception of the plain `templateRef` path (no overrides), every call persists a new auto-generated template aggregate that snapshots the resolved content. The snapshot is drift-proof: subsequent edits to base templates or sections do not affect previously generated documents.
123
+ *
124
+ * @param {Corti.GenerateDocumentsRequest} request
125
+ * @param {DocumentsClient.RequestOptions} requestOptions - Request-specific configuration.
126
+ *
127
+ * @throws {@link Corti.BadRequestError}
128
+ * @throws {@link Corti.NotFoundError}
129
+ * @throws {@link Corti.UnprocessableEntityError}
130
+ * @throws {@link Corti.InternalServerError}
131
+ *
132
+ * @example
133
+ * await client.documents.generate({
134
+ * body: {
135
+ * outputLanguage: "outputLanguage",
136
+ * templateRef: {
137
+ * templateId: "templateId"
138
+ * }
139
+ * }
140
+ * })
141
+ */
142
+ generate(request: Corti.GenerateDocumentsRequest, requestOptions?: DocumentsClient.RequestOptions): core.HttpResponsePromise<Corti.CreateEphemeralDocumentResponse>;
143
+ private __generate;
103
144
  }
@@ -51,11 +51,23 @@ const handleNonStatusCodeError_js_1 = require("../../../../errors/handleNonStatu
51
51
  const errors = __importStar(require("../../../../errors/index.js"));
52
52
  const serializers = __importStar(require("../../../../serialization/index.js"));
53
53
  const Corti = __importStar(require("../../../index.js"));
54
+ const Client_js_1 = require("../resources/sections/client/Client.js");
55
+ const Client_js_2 = require("../resources/templates/client/Client.js");
54
56
  class DocumentsClient {
55
57
  constructor(options) {
56
58
  this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
57
59
  }
60
+ get templates() {
61
+ var _a;
62
+ return ((_a = this._templates) !== null && _a !== void 0 ? _a : (this._templates = new Client_js_2.TemplatesClient(this._options)));
63
+ }
64
+ get sections() {
65
+ var _a;
66
+ return ((_a = this._sections) !== null && _a !== void 0 ? _a : (this._sections = new Client_js_1.SectionsClient(this._options)));
67
+ }
58
68
  /**
69
+ * @deprecated
70
+ *
59
71
  * List Documents
60
72
  *
61
73
  * @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
@@ -134,6 +146,8 @@ class DocumentsClient {
134
146
  });
135
147
  }
136
148
  /**
149
+ * @deprecated
150
+ *
137
151
  * This endpoint offers different ways to generate a document. Find guides to document generation [here](/textgen/documents-standard).
138
152
  *
139
153
  * @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
@@ -228,6 +242,8 @@ class DocumentsClient {
228
242
  });
229
243
  }
230
244
  /**
245
+ * @deprecated
246
+ *
231
247
  * Get Document.
232
248
  *
233
249
  * @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
@@ -307,6 +323,8 @@ class DocumentsClient {
307
323
  });
308
324
  }
309
325
  /**
326
+ * @deprecated
327
+ *
310
328
  * @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
311
329
  * @param {Corti.Uuid} documentId - The document ID representing the context for the request. Must be a valid UUID.
312
330
  * @param {DocumentsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -375,6 +393,8 @@ class DocumentsClient {
375
393
  });
376
394
  }
377
395
  /**
396
+ * @deprecated
397
+ *
378
398
  * @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
379
399
  * @param {Corti.Uuid} documentId - The document ID representing the context for the request. Must be a valid UUID.
380
400
  * @param {Corti.DocumentsUpdateRequest} request
@@ -458,5 +478,96 @@ class DocumentsClient {
458
478
  return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "PATCH", "/interactions/{id}/documents/{documentId}");
459
479
  });
460
480
  }
481
+ /**
482
+ * Generates a structured document using one of three template-supply paths: a stored template reference (optionally with runtime overrides), an ad-hoc assembly of stored sections, or a fully inline dynamic template. Exactly one of `templateRef`, `assemblyTemplate`, or `dynamicTemplate` must be provided.
483
+ *
484
+ * With the exception of the plain `templateRef` path (no overrides), every call persists a new auto-generated template aggregate that snapshots the resolved content. The snapshot is drift-proof: subsequent edits to base templates or sections do not affect previously generated documents.
485
+ *
486
+ * @param {Corti.GenerateDocumentsRequest} request
487
+ * @param {DocumentsClient.RequestOptions} requestOptions - Request-specific configuration.
488
+ *
489
+ * @throws {@link Corti.BadRequestError}
490
+ * @throws {@link Corti.NotFoundError}
491
+ * @throws {@link Corti.UnprocessableEntityError}
492
+ * @throws {@link Corti.InternalServerError}
493
+ *
494
+ * @example
495
+ * await client.documents.generate({
496
+ * body: {
497
+ * outputLanguage: "outputLanguage",
498
+ * templateRef: {
499
+ * templateId: "templateId"
500
+ * }
501
+ * }
502
+ * })
503
+ */
504
+ generate(request, requestOptions) {
505
+ return core.HttpResponsePromise.fromPromise(this.__generate(request, requestOptions));
506
+ }
507
+ __generate(request, requestOptions) {
508
+ return __awaiter(this, void 0, void 0, function* () {
509
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
510
+ const { cortiRetentionPolicy, body: _body } = request;
511
+ const _authRequest = yield this._options.authProvider.getAuthRequest();
512
+ const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({
513
+ "X-Corti-Retention-Policy": cortiRetentionPolicy,
514
+ "Tenant-Name": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.tenantName) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.tenantName,
515
+ }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
516
+ const _response = yield core.fetcher({
517
+ url: core.url.join((_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment)).base, "documents/"),
518
+ method: "POST",
519
+ headers: _headers,
520
+ contentType: "application/json",
521
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
522
+ requestType: "json",
523
+ body: serializers.GuidedDocumentRequest.jsonOrThrow(_body, {
524
+ unrecognizedObjectKeys: "strip",
525
+ omitUndefined: true,
526
+ }),
527
+ timeoutMs: ((_g = (_e = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _e !== void 0 ? _e : (_f = this._options) === null || _f === void 0 ? void 0 : _f.timeoutInSeconds) !== null && _g !== void 0 ? _g : 60) * 1000,
528
+ maxRetries: (_h = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _h !== void 0 ? _h : (_j = this._options) === null || _j === void 0 ? void 0 : _j.maxRetries,
529
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
530
+ fetchFn: (_k = this._options) === null || _k === void 0 ? void 0 : _k.fetch,
531
+ logging: this._options.logging,
532
+ });
533
+ if (_response.ok) {
534
+ return {
535
+ data: serializers.CreateEphemeralDocumentResponse.parseOrThrow(_response.body, {
536
+ unrecognizedObjectKeys: "passthrough",
537
+ allowUnrecognizedUnionMembers: true,
538
+ allowUnrecognizedEnumValues: true,
539
+ skipValidation: true,
540
+ breadcrumbsPrefix: ["response"],
541
+ }),
542
+ rawResponse: _response.rawResponse,
543
+ };
544
+ }
545
+ if (_response.error.reason === "status-code") {
546
+ switch (_response.error.statusCode) {
547
+ case 400:
548
+ throw new Corti.BadRequestError(_response.error.body, _response.rawResponse);
549
+ case 404:
550
+ throw new Corti.NotFoundError(_response.error.body, _response.rawResponse);
551
+ case 422:
552
+ throw new Corti.UnprocessableEntityError(_response.error.body, _response.rawResponse);
553
+ case 500:
554
+ throw new Corti.InternalServerError(serializers.ErrorResponse.parseOrThrow(_response.error.body, {
555
+ unrecognizedObjectKeys: "passthrough",
556
+ allowUnrecognizedUnionMembers: true,
557
+ allowUnrecognizedEnumValues: true,
558
+ skipValidation: true,
559
+ breadcrumbsPrefix: ["response"],
560
+ }), _response.rawResponse);
561
+ default:
562
+ throw new errors.CortiError({
563
+ statusCode: _response.error.statusCode,
564
+ body: _response.error.body,
565
+ rawResponse: _response.rawResponse,
566
+ });
567
+ }
568
+ }
569
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/documents/");
570
+ });
571
+ }
461
572
  }
462
573
  exports.DocumentsClient = DocumentsClient;
@@ -0,0 +1,17 @@
1
+ import type * as Corti from "../../../../index.js";
2
+ /**
3
+ * @example
4
+ * {
5
+ * body: {
6
+ * outputLanguage: "outputLanguage",
7
+ * templateRef: {
8
+ * templateId: "templateId"
9
+ * }
10
+ * }
11
+ * }
12
+ */
13
+ export interface GenerateDocumentsRequest {
14
+ /** Pass the optional `X-Corti-Retention-Policy: none` header to generate and return the document without saving it to the database. The response will be 200 with `EphemeralDocumentResponse`. Without the header the document is saved and the response is 201 with `CreateDocumentResponse`. */
15
+ cortiRetentionPolicy?: Corti.GenerateDocumentsRequestXCortiRetentionPolicy;
16
+ body: Corti.GuidedDocumentRequest;
17
+ }
@@ -1 +1,2 @@
1
1
  export type { DocumentsUpdateRequest } from "./DocumentsUpdateRequest.js";
2
+ export type { GenerateDocumentsRequest } from "./GenerateDocumentsRequest.js";
@@ -1 +1,3 @@
1
1
  export * from "./client/index.js";
2
+ export * from "./resources/index.js";
3
+ export * from "./types/index.js";
@@ -15,3 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./client/index.js"), exports);
18
+ __exportStar(require("./resources/index.js"), exports);
19
+ __exportStar(require("./types/index.js"), exports);
@@ -0,0 +1,4 @@
1
+ export * from "./sections/client/requests/index.js";
2
+ export * as sections from "./sections/index.js";
3
+ export * from "./templates/client/requests/index.js";
4
+ export * as templates from "./templates/index.js";
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
19
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
20
+ };
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.templates = exports.sections = void 0;
40
+ __exportStar(require("./sections/client/requests/index.js"), exports);
41
+ exports.sections = __importStar(require("./sections/index.js"));
42
+ __exportStar(require("./templates/client/requests/index.js"), exports);
43
+ exports.templates = __importStar(require("./templates/index.js"));
@@ -0,0 +1,84 @@
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../BaseClient.js";
2
+ import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClient.js";
3
+ import * as core from "../../../../../../core/index.js";
4
+ import * as Corti from "../../../../../index.js";
5
+ import { VersionsClient } from "../resources/versions/client/Client.js";
6
+ export declare namespace SectionsClient {
7
+ type Options = BaseClientOptions;
8
+ interface RequestOptions extends BaseRequestOptions {
9
+ }
10
+ }
11
+ export declare class SectionsClient {
12
+ protected readonly _options: NormalizedClientOptionsWithAuth<SectionsClient.Options>;
13
+ protected _versions: VersionsClient | undefined;
14
+ constructor(options: SectionsClient.Options);
15
+ get versions(): VersionsClient;
16
+ /**
17
+ * @param {Corti.documents.ListSectionsRequest} request
18
+ * @param {SectionsClient.RequestOptions} requestOptions - Request-specific configuration.
19
+ *
20
+ * @example
21
+ * await client.documents.sections.list()
22
+ */
23
+ list(request?: Corti.documents.ListSectionsRequest, requestOptions?: SectionsClient.RequestOptions): core.HttpResponsePromise<Corti.Section[]>;
24
+ private __list;
25
+ /**
26
+ * @param {Corti.CreateSectionRequest} request
27
+ * @param {SectionsClient.RequestOptions} requestOptions - Request-specific configuration.
28
+ *
29
+ * @throws {@link Corti.BadRequestError}
30
+ *
31
+ * @example
32
+ * await client.documents.sections.create({
33
+ * name: "name",
34
+ * generation: {
35
+ * heading: "heading",
36
+ * instructions: {
37
+ * contentPrompt: "contentPrompt"
38
+ * },
39
+ * outputSchema: {
40
+ * type: "string"
41
+ * }
42
+ * }
43
+ * })
44
+ */
45
+ create(request: Corti.CreateSectionRequest, requestOptions?: SectionsClient.RequestOptions): core.HttpResponsePromise<Corti.Section>;
46
+ private __create;
47
+ /**
48
+ * @param {string} sectionID
49
+ * @param {SectionsClient.RequestOptions} requestOptions - Request-specific configuration.
50
+ *
51
+ * @throws {@link Corti.NotFoundError}
52
+ *
53
+ * @example
54
+ * await client.documents.sections.get("sectionID")
55
+ */
56
+ get(sectionID: string, requestOptions?: SectionsClient.RequestOptions): core.HttpResponsePromise<Corti.Section>;
57
+ private __get;
58
+ /**
59
+ * Delete section
60
+ *
61
+ * @param {string} sectionID
62
+ * @param {SectionsClient.RequestOptions} requestOptions - Request-specific configuration.
63
+ *
64
+ * @throws {@link Corti.NotFoundError}
65
+ *
66
+ * @example
67
+ * await client.documents.sections.delete("sectionID")
68
+ */
69
+ delete(sectionID: string, requestOptions?: SectionsClient.RequestOptions): core.HttpResponsePromise<void>;
70
+ private __delete;
71
+ /**
72
+ * @param {string} sectionID
73
+ * @param {Corti.documents.UpdateSectionRequest} request
74
+ * @param {SectionsClient.RequestOptions} requestOptions - Request-specific configuration.
75
+ *
76
+ * @throws {@link Corti.BadRequestError}
77
+ * @throws {@link Corti.NotFoundError}
78
+ *
79
+ * @example
80
+ * await client.documents.sections.update("sectionID")
81
+ */
82
+ update(sectionID: string, request?: Corti.documents.UpdateSectionRequest, requestOptions?: SectionsClient.RequestOptions): core.HttpResponsePromise<Corti.Section>;
83
+ private __update;
84
+ }