@corti/sdk 2.0.0-templates → 2.0.0-templates.2

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 (233) hide show
  1. package/dist/cjs/BaseClient.d.ts +2 -2
  2. package/dist/cjs/BaseClient.js +2 -2
  3. package/dist/cjs/Client.d.ts +12 -12
  4. package/dist/cjs/Client.js +22 -22
  5. package/dist/cjs/api/resources/{newSectionVersions → alphaSectionVersions}/client/Client.d.ts +19 -19
  6. package/dist/cjs/api/resources/{newSectionVersions → alphaSectionVersions}/client/Client.js +14 -14
  7. package/dist/cjs/api/resources/{newSections → alphaSections}/client/Client.d.ts +20 -20
  8. package/dist/cjs/api/resources/{newSections → alphaSections}/client/Client.js +15 -15
  9. package/dist/cjs/api/resources/{newSections/client/requests/ListNewSectionsRequest.d.ts → alphaSections/client/requests/ListAlphaSectionsRequest.d.ts} +1 -1
  10. package/dist/cjs/api/resources/{newSections → alphaSections}/client/requests/index.d.ts +1 -1
  11. package/dist/cjs/api/resources/alphaTemplateVersions/client/Client.d.ts +81 -0
  12. package/dist/cjs/api/resources/{newTemplateVersions → alphaTemplateVersions}/client/Client.js +163 -72
  13. package/dist/cjs/api/resources/alphaTemplateVersions/client/requests/CreateTemplateVersionRequest.d.ts +14 -0
  14. package/dist/cjs/api/resources/alphaTemplateVersions/client/requests/index.d.ts +1 -0
  15. package/dist/cjs/api/resources/alphaTemplateVersions/types/CreateTemplateVersionRequestGeneration.d.ts +5 -0
  16. package/dist/cjs/api/resources/alphaTemplateVersions/types/index.d.ts +1 -0
  17. package/dist/cjs/api/resources/alphaTemplateVersions/types/index.js +17 -0
  18. package/dist/cjs/api/resources/alphaTemplates/client/Client.d.ts +76 -0
  19. package/dist/cjs/api/resources/{newTemplates → alphaTemplates}/client/Client.js +100 -51
  20. package/dist/cjs/api/resources/alphaTemplates/client/index.d.ts +1 -0
  21. package/dist/cjs/api/resources/alphaTemplates/client/index.js +17 -0
  22. package/dist/cjs/api/resources/{newTemplates/client/requests/ListNewTemplatesRequest.d.ts → alphaTemplates/client/requests/ListAlphaTemplatesRequest.d.ts} +1 -1
  23. package/dist/cjs/api/resources/alphaTemplates/client/requests/ListAlphaTemplatesRequest.js +3 -0
  24. package/dist/cjs/api/resources/alphaTemplates/client/requests/UpdateTemplateRequest.d.ts +10 -0
  25. package/dist/cjs/api/resources/alphaTemplates/client/requests/UpdateTemplateRequest.js +3 -0
  26. package/dist/cjs/api/resources/alphaTemplates/client/requests/index.d.ts +3 -0
  27. package/dist/cjs/api/resources/alphaTemplates/types/CreateTemplateRequestGeneration.js +3 -0
  28. package/dist/cjs/api/resources/index.d.ts +9 -7
  29. package/dist/cjs/api/resources/index.js +10 -8
  30. package/dist/cjs/serialization/resources/{newSectionVersions → alphaSectionVersions}/client/list.d.ts +1 -1
  31. package/dist/cjs/serialization/resources/{newSections → alphaSections}/client/list.d.ts +1 -1
  32. package/dist/cjs/serialization/resources/alphaTemplateVersions/client/list.d.ts +8 -0
  33. package/dist/cjs/serialization/resources/alphaTemplateVersions/client/list.js +40 -0
  34. package/dist/cjs/serialization/resources/alphaTemplateVersions/client/requests/CreateTemplateVersionRequest.d.ts +10 -0
  35. package/dist/cjs/serialization/resources/alphaTemplateVersions/client/requests/CreateTemplateVersionRequest.js +42 -0
  36. package/dist/cjs/serialization/resources/alphaTemplateVersions/client/requests/index.d.ts +1 -0
  37. package/dist/cjs/serialization/resources/alphaTemplateVersions/client/requests/index.js +5 -0
  38. package/dist/cjs/serialization/resources/alphaTemplateVersions/index.d.ts +2 -0
  39. package/dist/cjs/serialization/resources/alphaTemplateVersions/index.js +18 -0
  40. package/dist/cjs/serialization/resources/alphaTemplateVersions/types/CreateTemplateVersionRequestGeneration.d.ts +12 -0
  41. package/dist/cjs/serialization/resources/alphaTemplateVersions/types/CreateTemplateVersionRequestGeneration.js +44 -0
  42. package/dist/cjs/serialization/resources/alphaTemplateVersions/types/index.d.ts +1 -0
  43. package/dist/cjs/serialization/resources/alphaTemplateVersions/types/index.js +17 -0
  44. package/dist/cjs/serialization/resources/alphaTemplates/client/index.d.ts +2 -0
  45. package/dist/cjs/serialization/resources/alphaTemplates/client/index.js +41 -0
  46. package/dist/cjs/serialization/resources/{newTemplates → alphaTemplates}/client/list.d.ts +1 -1
  47. package/dist/cjs/serialization/resources/alphaTemplates/client/requests/UpdateTemplateRequest.d.ts +12 -0
  48. package/dist/cjs/serialization/resources/alphaTemplates/client/requests/UpdateTemplateRequest.js +44 -0
  49. package/dist/cjs/serialization/resources/{newTemplates → alphaTemplates}/client/requests/index.d.ts +1 -0
  50. package/dist/cjs/serialization/resources/{newTemplates → alphaTemplates}/client/requests/index.js +3 -1
  51. package/dist/cjs/serialization/resources/alphaTemplates/index.d.ts +2 -0
  52. package/dist/cjs/serialization/resources/alphaTemplates/index.js +18 -0
  53. package/dist/cjs/serialization/resources/index.d.ts +9 -6
  54. package/dist/cjs/serialization/resources/index.js +10 -7
  55. package/dist/cjs/version.d.ts +1 -1
  56. package/dist/cjs/version.js +1 -1
  57. package/dist/esm/BaseClient.d.mts +2 -2
  58. package/dist/esm/BaseClient.mjs +2 -2
  59. package/dist/esm/Client.d.mts +12 -12
  60. package/dist/esm/Client.mjs +12 -12
  61. package/dist/esm/api/resources/{newSectionVersions → alphaSectionVersions}/client/Client.d.mts +19 -19
  62. package/dist/esm/api/resources/{newSectionVersions → alphaSectionVersions}/client/Client.mjs +12 -12
  63. package/dist/esm/api/resources/{newSections → alphaSections}/client/Client.d.mts +20 -20
  64. package/dist/esm/api/resources/{newSections → alphaSections}/client/Client.mjs +13 -13
  65. package/dist/esm/api/resources/{newSections/client/requests/ListNewSectionsRequest.d.mts → alphaSections/client/requests/ListAlphaSectionsRequest.d.mts} +1 -1
  66. package/dist/esm/api/resources/{newSections → alphaSections}/client/requests/index.d.mts +1 -1
  67. package/dist/esm/api/resources/alphaTemplateVersions/client/Client.d.mts +81 -0
  68. package/dist/esm/api/resources/{newTemplateVersions → alphaTemplateVersions}/client/Client.mjs +161 -70
  69. package/dist/esm/api/resources/alphaTemplateVersions/client/requests/CreateTemplateVersionRequest.d.mts +14 -0
  70. package/dist/esm/api/resources/alphaTemplateVersions/client/requests/index.d.mts +1 -0
  71. package/dist/esm/api/resources/alphaTemplateVersions/types/CreateTemplateVersionRequestGeneration.d.mts +5 -0
  72. package/dist/esm/api/resources/alphaTemplateVersions/types/index.d.mts +1 -0
  73. package/dist/esm/api/resources/alphaTemplateVersions/types/index.mjs +1 -0
  74. package/dist/esm/api/resources/alphaTemplates/client/Client.d.mts +76 -0
  75. package/dist/esm/api/resources/{newTemplates → alphaTemplates}/client/Client.mjs +98 -49
  76. package/dist/esm/api/resources/alphaTemplates/client/index.d.mts +1 -0
  77. package/dist/esm/api/resources/alphaTemplates/client/index.mjs +1 -0
  78. package/dist/esm/api/resources/{newTemplates/client/requests/ListNewTemplatesRequest.d.mts → alphaTemplates/client/requests/ListAlphaTemplatesRequest.d.mts} +1 -1
  79. package/dist/esm/api/resources/alphaTemplates/client/requests/ListAlphaTemplatesRequest.mjs +2 -0
  80. package/dist/esm/api/resources/alphaTemplates/client/requests/UpdateTemplateRequest.d.mts +10 -0
  81. package/dist/esm/api/resources/alphaTemplates/client/requests/UpdateTemplateRequest.mjs +2 -0
  82. package/dist/esm/api/resources/alphaTemplates/client/requests/index.d.mts +3 -0
  83. package/dist/esm/api/resources/alphaTemplates/types/CreateTemplateRequestGeneration.mjs +2 -0
  84. package/dist/esm/api/resources/index.d.mts +9 -7
  85. package/dist/esm/api/resources/index.mjs +9 -7
  86. package/dist/esm/serialization/resources/{newSectionVersions → alphaSectionVersions}/client/list.d.mts +1 -1
  87. package/dist/esm/serialization/resources/{newSections → alphaSections}/client/list.d.mts +1 -1
  88. package/dist/esm/serialization/resources/alphaTemplateVersions/client/list.d.mts +8 -0
  89. package/dist/esm/serialization/resources/alphaTemplateVersions/client/list.mjs +4 -0
  90. package/dist/esm/serialization/resources/alphaTemplateVersions/client/requests/CreateTemplateVersionRequest.d.mts +10 -0
  91. package/dist/esm/serialization/resources/alphaTemplateVersions/client/requests/CreateTemplateVersionRequest.mjs +6 -0
  92. package/dist/esm/serialization/resources/alphaTemplateVersions/client/requests/index.d.mts +1 -0
  93. package/dist/esm/serialization/resources/alphaTemplateVersions/client/requests/index.mjs +1 -0
  94. package/dist/esm/serialization/resources/alphaTemplateVersions/index.d.mts +2 -0
  95. package/dist/esm/serialization/resources/alphaTemplateVersions/index.mjs +2 -0
  96. package/dist/esm/serialization/resources/alphaTemplateVersions/types/CreateTemplateVersionRequestGeneration.d.mts +12 -0
  97. package/dist/esm/serialization/resources/alphaTemplateVersions/types/CreateTemplateVersionRequestGeneration.mjs +8 -0
  98. package/dist/esm/serialization/resources/alphaTemplateVersions/types/index.d.mts +1 -0
  99. package/dist/esm/serialization/resources/alphaTemplateVersions/types/index.mjs +1 -0
  100. package/dist/esm/serialization/resources/alphaTemplates/client/index.d.mts +2 -0
  101. package/dist/esm/serialization/resources/alphaTemplates/client/index.mjs +2 -0
  102. package/dist/esm/serialization/resources/{newTemplates → alphaTemplates}/client/list.d.mts +1 -1
  103. package/dist/esm/serialization/resources/alphaTemplates/client/requests/UpdateTemplateRequest.d.mts +12 -0
  104. package/dist/esm/serialization/resources/alphaTemplates/client/requests/UpdateTemplateRequest.mjs +8 -0
  105. package/dist/esm/serialization/resources/{newTemplates → alphaTemplates}/client/requests/index.d.mts +1 -0
  106. package/dist/esm/serialization/resources/{newTemplates → alphaTemplates}/client/requests/index.mjs +1 -0
  107. package/dist/esm/serialization/resources/alphaTemplates/index.d.mts +2 -0
  108. package/dist/esm/serialization/resources/alphaTemplates/index.mjs +2 -0
  109. package/dist/esm/serialization/resources/index.d.mts +9 -6
  110. package/dist/esm/serialization/resources/index.mjs +9 -6
  111. package/dist/esm/version.d.mts +1 -1
  112. package/dist/esm/version.mjs +1 -1
  113. package/package.json +2 -4
  114. package/dist/cjs/api/resources/newTemplateVersions/client/Client.d.ts +0 -60
  115. package/dist/cjs/api/resources/newTemplateVersions/client/index.d.ts +0 -1
  116. package/dist/cjs/api/resources/newTemplates/client/Client.d.ts +0 -68
  117. package/dist/cjs/api/resources/newTemplates/client/requests/index.d.ts +0 -2
  118. package/dist/cjs/serialization/resources/newSections/index.d.ts +0 -1
  119. package/dist/cjs/serialization/resources/newSections/index.js +0 -17
  120. package/dist/esm/api/resources/newTemplateVersions/client/Client.d.mts +0 -60
  121. package/dist/esm/api/resources/newTemplateVersions/client/index.d.mts +0 -1
  122. package/dist/esm/api/resources/newTemplates/client/Client.d.mts +0 -68
  123. package/dist/esm/api/resources/newTemplates/client/requests/index.d.mts +0 -2
  124. package/dist/esm/serialization/resources/newSections/index.d.mts +0 -1
  125. package/dist/esm/serialization/resources/newSections/index.mjs +0 -1
  126. /package/dist/cjs/api/resources/{newSectionVersions → alphaSectionVersions}/client/index.d.ts +0 -0
  127. /package/dist/cjs/api/resources/{newSectionVersions → alphaSectionVersions}/client/index.js +0 -0
  128. /package/dist/cjs/api/resources/{newSectionVersions → alphaSectionVersions}/index.d.ts +0 -0
  129. /package/dist/cjs/api/resources/{newSectionVersions → alphaSectionVersions}/index.js +0 -0
  130. /package/dist/cjs/api/resources/{newSections → alphaSections}/client/index.d.ts +0 -0
  131. /package/dist/cjs/api/resources/{newSections → alphaSections}/client/index.js +0 -0
  132. /package/dist/cjs/api/resources/{newSections → alphaSections}/client/requests/CreateSectionRequest.d.ts +0 -0
  133. /package/dist/cjs/api/resources/{newSections → alphaSections}/client/requests/CreateSectionRequest.js +0 -0
  134. /package/dist/cjs/api/resources/{newSections/client/requests/ListNewSectionsRequest.js → alphaSections/client/requests/ListAlphaSectionsRequest.js} +0 -0
  135. /package/dist/cjs/api/resources/{newSections → alphaSections}/client/requests/UpdateSectionRequest.d.ts +0 -0
  136. /package/dist/cjs/api/resources/{newSections → alphaSections}/client/requests/UpdateSectionRequest.js +0 -0
  137. /package/dist/cjs/api/resources/{newSections → alphaSections}/client/requests/index.js +0 -0
  138. /package/dist/cjs/api/resources/{newSections → alphaSections}/index.d.ts +0 -0
  139. /package/dist/cjs/api/resources/{newSections → alphaSections}/index.js +0 -0
  140. /package/dist/cjs/api/resources/{newTemplates → alphaTemplateVersions}/client/index.d.ts +0 -0
  141. /package/dist/cjs/api/resources/{newTemplates → alphaTemplateVersions}/client/index.js +0 -0
  142. /package/dist/cjs/api/resources/{newTemplates/client/requests/CreateTemplateRequest.js → alphaTemplateVersions/client/requests/CreateTemplateVersionRequest.js} +0 -0
  143. /package/dist/cjs/api/resources/{newTemplateVersions/client → alphaTemplateVersions/client/requests}/index.js +0 -0
  144. /package/dist/cjs/api/resources/{newTemplates → alphaTemplateVersions}/index.d.ts +0 -0
  145. /package/dist/cjs/api/resources/{newTemplates → alphaTemplateVersions}/index.js +0 -0
  146. /package/dist/cjs/api/resources/{newTemplates/client/requests/ListNewTemplatesRequest.js → alphaTemplateVersions/types/CreateTemplateVersionRequestGeneration.js} +0 -0
  147. /package/dist/cjs/api/resources/{newTemplates → alphaTemplates}/client/requests/CreateTemplateRequest.d.ts +0 -0
  148. /package/dist/cjs/api/resources/{newTemplates/types/CreateTemplateRequestGeneration.js → alphaTemplates/client/requests/CreateTemplateRequest.js} +0 -0
  149. /package/dist/cjs/api/resources/{newTemplates → alphaTemplates}/client/requests/index.js +0 -0
  150. /package/dist/cjs/{serialization/resources/newTemplates → api/resources/alphaTemplates}/index.d.ts +0 -0
  151. /package/dist/cjs/{serialization/resources/newTemplates → api/resources/alphaTemplates}/index.js +0 -0
  152. /package/dist/cjs/api/resources/{newTemplates → alphaTemplates}/types/CreateTemplateRequestGeneration.d.ts +0 -0
  153. /package/dist/cjs/api/resources/{newTemplates → alphaTemplates}/types/index.d.ts +0 -0
  154. /package/dist/cjs/api/resources/{newTemplates → alphaTemplates}/types/index.js +0 -0
  155. /package/dist/cjs/serialization/resources/{newSectionVersions → alphaSectionVersions}/client/index.d.ts +0 -0
  156. /package/dist/cjs/serialization/resources/{newSectionVersions → alphaSectionVersions}/client/index.js +0 -0
  157. /package/dist/cjs/serialization/resources/{newSectionVersions → alphaSectionVersions}/client/list.js +0 -0
  158. /package/dist/cjs/{api/resources/newTemplateVersions → serialization/resources/alphaSectionVersions}/index.d.ts +0 -0
  159. /package/dist/cjs/{api/resources/newTemplateVersions → serialization/resources/alphaSectionVersions}/index.js +0 -0
  160. /package/dist/cjs/serialization/resources/{newSections → alphaSections}/client/index.d.ts +0 -0
  161. /package/dist/cjs/serialization/resources/{newSections → alphaSections}/client/index.js +0 -0
  162. /package/dist/cjs/serialization/resources/{newSections → alphaSections}/client/list.js +0 -0
  163. /package/dist/cjs/serialization/resources/{newSections → alphaSections}/client/requests/CreateSectionRequest.d.ts +0 -0
  164. /package/dist/cjs/serialization/resources/{newSections → alphaSections}/client/requests/CreateSectionRequest.js +0 -0
  165. /package/dist/cjs/serialization/resources/{newSections → alphaSections}/client/requests/UpdateSectionRequest.d.ts +0 -0
  166. /package/dist/cjs/serialization/resources/{newSections → alphaSections}/client/requests/UpdateSectionRequest.js +0 -0
  167. /package/dist/cjs/serialization/resources/{newSections → alphaSections}/client/requests/index.d.ts +0 -0
  168. /package/dist/cjs/serialization/resources/{newSections → alphaSections}/client/requests/index.js +0 -0
  169. /package/dist/cjs/serialization/resources/{newSectionVersions → alphaSections}/index.d.ts +0 -0
  170. /package/dist/cjs/serialization/resources/{newSectionVersions → alphaSections}/index.js +0 -0
  171. /package/dist/cjs/serialization/resources/{newTemplates → alphaTemplateVersions}/client/index.d.ts +0 -0
  172. /package/dist/cjs/serialization/resources/{newTemplates → alphaTemplateVersions}/client/index.js +0 -0
  173. /package/dist/cjs/serialization/resources/{newTemplates → alphaTemplates}/client/list.js +0 -0
  174. /package/dist/cjs/serialization/resources/{newTemplates → alphaTemplates}/client/requests/CreateTemplateRequest.d.ts +0 -0
  175. /package/dist/cjs/serialization/resources/{newTemplates → alphaTemplates}/client/requests/CreateTemplateRequest.js +0 -0
  176. /package/dist/cjs/serialization/resources/{newTemplates → alphaTemplates}/types/CreateTemplateRequestGeneration.d.ts +0 -0
  177. /package/dist/cjs/serialization/resources/{newTemplates → alphaTemplates}/types/CreateTemplateRequestGeneration.js +0 -0
  178. /package/dist/cjs/serialization/resources/{newTemplates → alphaTemplates}/types/index.d.ts +0 -0
  179. /package/dist/cjs/serialization/resources/{newTemplates → alphaTemplates}/types/index.js +0 -0
  180. /package/dist/esm/api/resources/{newSectionVersions → alphaSectionVersions}/client/index.d.mts +0 -0
  181. /package/dist/esm/api/resources/{newSectionVersions → alphaSectionVersions}/client/index.mjs +0 -0
  182. /package/dist/esm/api/resources/{newSectionVersions → alphaSectionVersions}/index.d.mts +0 -0
  183. /package/dist/esm/api/resources/{newSectionVersions → alphaSectionVersions}/index.mjs +0 -0
  184. /package/dist/esm/api/resources/{newSections → alphaSections}/client/index.d.mts +0 -0
  185. /package/dist/esm/api/resources/{newSections → alphaSections}/client/index.mjs +0 -0
  186. /package/dist/esm/api/resources/{newSections → alphaSections}/client/requests/CreateSectionRequest.d.mts +0 -0
  187. /package/dist/esm/api/resources/{newSections → alphaSections}/client/requests/CreateSectionRequest.mjs +0 -0
  188. /package/dist/esm/api/resources/{newSections/client/requests/ListNewSectionsRequest.mjs → alphaSections/client/requests/ListAlphaSectionsRequest.mjs} +0 -0
  189. /package/dist/esm/api/resources/{newSections → alphaSections}/client/requests/UpdateSectionRequest.d.mts +0 -0
  190. /package/dist/esm/api/resources/{newSections → alphaSections}/client/requests/UpdateSectionRequest.mjs +0 -0
  191. /package/dist/esm/api/resources/{newSections → alphaSections}/client/requests/index.mjs +0 -0
  192. /package/dist/esm/api/resources/{newSections → alphaSections}/index.d.mts +0 -0
  193. /package/dist/esm/api/resources/{newSections → alphaSections}/index.mjs +0 -0
  194. /package/dist/esm/api/resources/{newTemplates → alphaTemplateVersions}/client/index.d.mts +0 -0
  195. /package/dist/esm/api/resources/{newTemplates → alphaTemplateVersions}/client/index.mjs +0 -0
  196. /package/dist/esm/api/resources/{newTemplates/client/requests/CreateTemplateRequest.mjs → alphaTemplateVersions/client/requests/CreateTemplateVersionRequest.mjs} +0 -0
  197. /package/dist/esm/api/resources/{newTemplateVersions/client → alphaTemplateVersions/client/requests}/index.mjs +0 -0
  198. /package/dist/esm/api/resources/{newTemplates → alphaTemplateVersions}/index.d.mts +0 -0
  199. /package/dist/esm/api/resources/{newTemplates → alphaTemplateVersions}/index.mjs +0 -0
  200. /package/dist/esm/api/resources/{newTemplates/client/requests/ListNewTemplatesRequest.mjs → alphaTemplateVersions/types/CreateTemplateVersionRequestGeneration.mjs} +0 -0
  201. /package/dist/esm/api/resources/{newTemplates → alphaTemplates}/client/requests/CreateTemplateRequest.d.mts +0 -0
  202. /package/dist/esm/api/resources/{newTemplates/types/CreateTemplateRequestGeneration.mjs → alphaTemplates/client/requests/CreateTemplateRequest.mjs} +0 -0
  203. /package/dist/esm/api/resources/{newTemplates → alphaTemplates}/client/requests/index.mjs +0 -0
  204. /package/dist/esm/{serialization/resources/newTemplates → api/resources/alphaTemplates}/index.d.mts +0 -0
  205. /package/dist/esm/{serialization/resources/newTemplates → api/resources/alphaTemplates}/index.mjs +0 -0
  206. /package/dist/esm/api/resources/{newTemplates → alphaTemplates}/types/CreateTemplateRequestGeneration.d.mts +0 -0
  207. /package/dist/esm/api/resources/{newTemplates → alphaTemplates}/types/index.d.mts +0 -0
  208. /package/dist/esm/api/resources/{newTemplates → alphaTemplates}/types/index.mjs +0 -0
  209. /package/dist/esm/serialization/resources/{newSectionVersions → alphaSectionVersions}/client/index.d.mts +0 -0
  210. /package/dist/esm/serialization/resources/{newSectionVersions → alphaSectionVersions}/client/index.mjs +0 -0
  211. /package/dist/esm/serialization/resources/{newSectionVersions → alphaSectionVersions}/client/list.mjs +0 -0
  212. /package/dist/esm/{api/resources/newTemplateVersions → serialization/resources/alphaSectionVersions}/index.d.mts +0 -0
  213. /package/dist/esm/{api/resources/newTemplateVersions → serialization/resources/alphaSectionVersions}/index.mjs +0 -0
  214. /package/dist/esm/serialization/resources/{newSections → alphaSections}/client/index.d.mts +0 -0
  215. /package/dist/esm/serialization/resources/{newSections → alphaSections}/client/index.mjs +0 -0
  216. /package/dist/esm/serialization/resources/{newSections → alphaSections}/client/list.mjs +0 -0
  217. /package/dist/esm/serialization/resources/{newSections → alphaSections}/client/requests/CreateSectionRequest.d.mts +0 -0
  218. /package/dist/esm/serialization/resources/{newSections → alphaSections}/client/requests/CreateSectionRequest.mjs +0 -0
  219. /package/dist/esm/serialization/resources/{newSections → alphaSections}/client/requests/UpdateSectionRequest.d.mts +0 -0
  220. /package/dist/esm/serialization/resources/{newSections → alphaSections}/client/requests/UpdateSectionRequest.mjs +0 -0
  221. /package/dist/esm/serialization/resources/{newSections → alphaSections}/client/requests/index.d.mts +0 -0
  222. /package/dist/esm/serialization/resources/{newSections → alphaSections}/client/requests/index.mjs +0 -0
  223. /package/dist/esm/serialization/resources/{newSectionVersions → alphaSections}/index.d.mts +0 -0
  224. /package/dist/esm/serialization/resources/{newSectionVersions → alphaSections}/index.mjs +0 -0
  225. /package/dist/esm/serialization/resources/{newTemplates → alphaTemplateVersions}/client/index.d.mts +0 -0
  226. /package/dist/esm/serialization/resources/{newTemplates → alphaTemplateVersions}/client/index.mjs +0 -0
  227. /package/dist/esm/serialization/resources/{newTemplates → alphaTemplates}/client/list.mjs +0 -0
  228. /package/dist/esm/serialization/resources/{newTemplates → alphaTemplates}/client/requests/CreateTemplateRequest.d.mts +0 -0
  229. /package/dist/esm/serialization/resources/{newTemplates → alphaTemplates}/client/requests/CreateTemplateRequest.mjs +0 -0
  230. /package/dist/esm/serialization/resources/{newTemplates → alphaTemplates}/types/CreateTemplateRequestGeneration.d.mts +0 -0
  231. /package/dist/esm/serialization/resources/{newTemplates → alphaTemplates}/types/CreateTemplateRequestGeneration.mjs +0 -0
  232. /package/dist/esm/serialization/resources/{newTemplates → alphaTemplates}/types/index.d.mts +0 -0
  233. /package/dist/esm/serialization/resources/{newTemplates → alphaTemplates}/types/index.mjs +0 -0
@@ -43,7 +43,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
43
43
  });
44
44
  };
45
45
  Object.defineProperty(exports, "__esModule", { value: true });
46
- exports.NewTemplatesClient = void 0;
46
+ exports.AlphaTemplatesClient = void 0;
47
47
  const BaseClient_js_1 = require("../../../../BaseClient.js");
48
48
  const headers_js_1 = require("../../../../core/headers.js");
49
49
  const core = __importStar(require("../../../../core/index.js"));
@@ -51,16 +51,16 @@ 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
- class NewTemplatesClient {
54
+ class AlphaTemplatesClient {
55
55
  constructor(options) {
56
56
  this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
57
57
  }
58
58
  /**
59
- * @param {Corti.ListNewTemplatesRequest} request
60
- * @param {NewTemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
59
+ * @param {Corti.ListAlphaTemplatesRequest} request
60
+ * @param {AlphaTemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
61
61
  *
62
62
  * @example
63
- * await client.newTemplates.list()
63
+ * await client.alphaTemplates.list()
64
64
  */
65
65
  list(request = {}, requestOptions) {
66
66
  return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
@@ -89,7 +89,7 @@ class NewTemplatesClient {
89
89
  });
90
90
  if (_response.ok) {
91
91
  return {
92
- data: serializers.newTemplates.list.Response.parseOrThrow(_response.body, {
92
+ data: serializers.alphaTemplates.list.Response.parseOrThrow(_response.body, {
93
93
  unrecognizedObjectKeys: "passthrough",
94
94
  allowUnrecognizedUnionMembers: true,
95
95
  allowUnrecognizedEnumValues: true,
@@ -111,12 +111,12 @@ class NewTemplatesClient {
111
111
  }
112
112
  /**
113
113
  * @param {Corti.CreateTemplateRequest} request
114
- * @param {NewTemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
114
+ * @param {AlphaTemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
115
115
  *
116
116
  * @throws {@link Corti.BadRequestError}
117
117
  *
118
118
  * @example
119
- * await client.newTemplates.create({
119
+ * await client.alphaTemplates.create({
120
120
  * name: "name",
121
121
  * language: "language",
122
122
  * generation: {
@@ -179,22 +179,24 @@ class NewTemplatesClient {
179
179
  });
180
180
  }
181
181
  /**
182
- * @param {string} templateId
183
- * @param {NewTemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
182
+ * @param {string} templateID
183
+ * @param {AlphaTemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
184
+ *
185
+ * @throws {@link Corti.NotFoundError}
184
186
  *
185
187
  * @example
186
- * await client.newTemplates.get("templateId")
188
+ * await client.alphaTemplates.get("templateID")
187
189
  */
188
- get(templateId, requestOptions) {
189
- return core.HttpResponsePromise.fromPromise(this.__get(templateId, requestOptions));
190
+ get(templateID, requestOptions) {
191
+ return core.HttpResponsePromise.fromPromise(this.__get(templateID, requestOptions));
190
192
  }
191
- __get(templateId, requestOptions) {
193
+ __get(templateID, requestOptions) {
192
194
  return __awaiter(this, void 0, void 0, function* () {
193
195
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
194
196
  const _authRequest = yield this._options.authProvider.getAuthRequest();
195
197
  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)({ "Tenant-Name": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.tenantName) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.tenantName }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
196
198
  const _response = yield core.fetcher({
197
- 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, `alpha/templates/${core.url.encodePathParam(templateId)}`),
199
+ 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, `alpha/templates/${core.url.encodePathParam(templateID)}`),
198
200
  method: "GET",
199
201
  headers: _headers,
200
202
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -205,35 +207,51 @@ class NewTemplatesClient {
205
207
  logging: this._options.logging,
206
208
  });
207
209
  if (_response.ok) {
208
- return { data: undefined, rawResponse: _response.rawResponse };
210
+ return {
211
+ data: serializers.Template.parseOrThrow(_response.body, {
212
+ unrecognizedObjectKeys: "passthrough",
213
+ allowUnrecognizedUnionMembers: true,
214
+ allowUnrecognizedEnumValues: true,
215
+ skipValidation: true,
216
+ breadcrumbsPrefix: ["response"],
217
+ }),
218
+ rawResponse: _response.rawResponse,
219
+ };
209
220
  }
210
221
  if (_response.error.reason === "status-code") {
211
- throw new errors.CortiError({
212
- statusCode: _response.error.statusCode,
213
- body: _response.error.body,
214
- rawResponse: _response.rawResponse,
215
- });
222
+ switch (_response.error.statusCode) {
223
+ case 404:
224
+ throw new Corti.NotFoundError(_response.error.body, _response.rawResponse);
225
+ default:
226
+ throw new errors.CortiError({
227
+ statusCode: _response.error.statusCode,
228
+ body: _response.error.body,
229
+ rawResponse: _response.rawResponse,
230
+ });
231
+ }
216
232
  }
217
- return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/alpha/templates/{templateId}");
233
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/alpha/templates/{templateID}");
218
234
  });
219
235
  }
220
236
  /**
221
- * @param {string} templateId
222
- * @param {NewTemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
237
+ * @param {string} templateID
238
+ * @param {AlphaTemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
239
+ *
240
+ * @throws {@link Corti.NotFoundError}
223
241
  *
224
242
  * @example
225
- * await client.newTemplates.delete("templateId")
243
+ * await client.alphaTemplates.delete("templateID")
226
244
  */
227
- delete(templateId, requestOptions) {
228
- return core.HttpResponsePromise.fromPromise(this.__delete(templateId, requestOptions));
245
+ delete(templateID, requestOptions) {
246
+ return core.HttpResponsePromise.fromPromise(this.__delete(templateID, requestOptions));
229
247
  }
230
- __delete(templateId, requestOptions) {
248
+ __delete(templateID, requestOptions) {
231
249
  return __awaiter(this, void 0, void 0, function* () {
232
250
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
233
251
  const _authRequest = yield this._options.authProvider.getAuthRequest();
234
252
  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)({ "Tenant-Name": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.tenantName) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.tenantName }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
235
253
  const _response = yield core.fetcher({
236
- 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, `alpha/templates/${core.url.encodePathParam(templateId)}`),
254
+ 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, `alpha/templates/${core.url.encodePathParam(templateID)}`),
237
255
  method: "DELETE",
238
256
  headers: _headers,
239
257
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -247,35 +265,50 @@ class NewTemplatesClient {
247
265
  return { data: undefined, rawResponse: _response.rawResponse };
248
266
  }
249
267
  if (_response.error.reason === "status-code") {
250
- throw new errors.CortiError({
251
- statusCode: _response.error.statusCode,
252
- body: _response.error.body,
253
- rawResponse: _response.rawResponse,
254
- });
268
+ switch (_response.error.statusCode) {
269
+ case 404:
270
+ throw new Corti.NotFoundError(_response.error.body, _response.rawResponse);
271
+ default:
272
+ throw new errors.CortiError({
273
+ statusCode: _response.error.statusCode,
274
+ body: _response.error.body,
275
+ rawResponse: _response.rawResponse,
276
+ });
277
+ }
255
278
  }
256
- return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/alpha/templates/{templateId}");
279
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/alpha/templates/{templateID}");
257
280
  });
258
281
  }
259
282
  /**
260
- * @param {string} templateId
261
- * @param {NewTemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
283
+ * @param {string} templateID
284
+ * @param {Corti.UpdateTemplateRequest} request
285
+ * @param {AlphaTemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
286
+ *
287
+ * @throws {@link Corti.BadRequestError}
288
+ * @throws {@link Corti.NotFoundError}
262
289
  *
263
290
  * @example
264
- * await client.newTemplates.update("templateId")
291
+ * await client.alphaTemplates.update("templateID")
265
292
  */
266
- update(templateId, requestOptions) {
267
- return core.HttpResponsePromise.fromPromise(this.__update(templateId, requestOptions));
293
+ update(templateID, request = {}, requestOptions) {
294
+ return core.HttpResponsePromise.fromPromise(this.__update(templateID, request, requestOptions));
268
295
  }
269
- __update(templateId, requestOptions) {
270
- return __awaiter(this, void 0, void 0, function* () {
296
+ __update(templateID_1) {
297
+ return __awaiter(this, arguments, void 0, function* (templateID, request = {}, requestOptions) {
271
298
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
272
299
  const _authRequest = yield this._options.authProvider.getAuthRequest();
273
300
  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)({ "Tenant-Name": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.tenantName) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.tenantName }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
274
301
  const _response = yield core.fetcher({
275
- 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, `alpha/templates/${core.url.encodePathParam(templateId)}`),
302
+ 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, `alpha/templates/${core.url.encodePathParam(templateID)}`),
276
303
  method: "PATCH",
277
304
  headers: _headers,
305
+ contentType: "application/json",
278
306
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
307
+ requestType: "json",
308
+ body: serializers.UpdateTemplateRequest.jsonOrThrow(request, {
309
+ unrecognizedObjectKeys: "strip",
310
+ omitUndefined: true,
311
+ }),
279
312
  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,
280
313
  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,
281
314
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -283,17 +316,33 @@ class NewTemplatesClient {
283
316
  logging: this._options.logging,
284
317
  });
285
318
  if (_response.ok) {
286
- return { data: undefined, rawResponse: _response.rawResponse };
319
+ return {
320
+ data: serializers.Template.parseOrThrow(_response.body, {
321
+ unrecognizedObjectKeys: "passthrough",
322
+ allowUnrecognizedUnionMembers: true,
323
+ allowUnrecognizedEnumValues: true,
324
+ skipValidation: true,
325
+ breadcrumbsPrefix: ["response"],
326
+ }),
327
+ rawResponse: _response.rawResponse,
328
+ };
287
329
  }
288
330
  if (_response.error.reason === "status-code") {
289
- throw new errors.CortiError({
290
- statusCode: _response.error.statusCode,
291
- body: _response.error.body,
292
- rawResponse: _response.rawResponse,
293
- });
331
+ switch (_response.error.statusCode) {
332
+ case 400:
333
+ throw new Corti.BadRequestError(_response.error.body, _response.rawResponse);
334
+ case 404:
335
+ throw new Corti.NotFoundError(_response.error.body, _response.rawResponse);
336
+ default:
337
+ throw new errors.CortiError({
338
+ statusCode: _response.error.statusCode,
339
+ body: _response.error.body,
340
+ rawResponse: _response.rawResponse,
341
+ });
342
+ }
294
343
  }
295
- return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "PATCH", "/alpha/templates/{templateId}");
344
+ return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "PATCH", "/alpha/templates/{templateID}");
296
345
  });
297
346
  }
298
347
  }
299
- exports.NewTemplatesClient = NewTemplatesClient;
348
+ exports.AlphaTemplatesClient = AlphaTemplatesClient;
@@ -0,0 +1 @@
1
+ export * from "./requests/index.js";
@@ -0,0 +1,17 @@
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./requests/index.js"), exports);
@@ -2,7 +2,7 @@
2
2
  * @example
3
3
  * {}
4
4
  */
5
- export interface ListNewTemplatesRequest {
5
+ export interface ListAlphaTemplatesRequest {
6
6
  /** Filter templates by language (BCP 47 tag). Repeatable. */
7
7
  lang?: string | string[];
8
8
  /** Filter templates by label. Repeatable; matches templates that have any of the given labels. */
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * @example
3
+ * {}
4
+ */
5
+ export interface UpdateTemplateRequest {
6
+ name?: string;
7
+ description?: string;
8
+ language?: string;
9
+ labels?: string[];
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export type { CreateTemplateRequest } from "./CreateTemplateRequest.js";
2
+ export type { ListAlphaTemplatesRequest } from "./ListAlphaTemplatesRequest.js";
3
+ export type { UpdateTemplateRequest } from "./UpdateTemplateRequest.js";
@@ -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 });
@@ -1,6 +1,15 @@
1
1
  export * from "./agents/client/requests/index.js";
2
2
  export * as agents from "./agents/index.js";
3
3
  export * from "./agents/types/index.js";
4
+ export * from "./alphaSections/client/requests/index.js";
5
+ export * as alphaSections from "./alphaSections/index.js";
6
+ export * as alphaSectionVersions from "./alphaSectionVersions/index.js";
7
+ export * from "./alphaTemplates/client/requests/index.js";
8
+ export * as alphaTemplates from "./alphaTemplates/index.js";
9
+ export * from "./alphaTemplates/types/index.js";
10
+ export * from "./alphaTemplateVersions/client/requests/index.js";
11
+ export * as alphaTemplateVersions from "./alphaTemplateVersions/index.js";
12
+ export * from "./alphaTemplateVersions/types/index.js";
4
13
  export * as auth from "./auth/index.js";
5
14
  export * from "./auth/types/index.js";
6
15
  export * from "./codes/client/requests/index.js";
@@ -12,13 +21,6 @@ export * as facts from "./facts/index.js";
12
21
  export * from "./interactions/client/requests/index.js";
13
22
  export * as interactions from "./interactions/index.js";
14
23
  export * from "./interactions/types/index.js";
15
- export * from "./newSections/client/requests/index.js";
16
- export * as newSections from "./newSections/index.js";
17
- export * as newSectionVersions from "./newSectionVersions/index.js";
18
- export * from "./newTemplates/client/requests/index.js";
19
- export * as newTemplates from "./newTemplates/index.js";
20
- export * from "./newTemplates/types/index.js";
21
- export * as newTemplateVersions from "./newTemplateVersions/index.js";
22
24
  export * as recordings from "./recordings/index.js";
23
25
  export * as stream from "./stream/index.js";
24
26
  export * from "./templates/client/requests/index.js";
@@ -36,10 +36,19 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  };
37
37
  })();
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.transcripts = exports.transcribe = exports.templates = exports.stream = exports.recordings = exports.newTemplateVersions = exports.newTemplates = exports.newSectionVersions = exports.newSections = exports.interactions = exports.facts = exports.documents = exports.codes = exports.auth = exports.agents = void 0;
39
+ exports.transcripts = exports.transcribe = exports.templates = exports.stream = exports.recordings = exports.interactions = exports.facts = exports.documents = exports.codes = exports.auth = exports.alphaTemplateVersions = exports.alphaTemplates = exports.alphaSectionVersions = exports.alphaSections = exports.agents = void 0;
40
40
  __exportStar(require("./agents/client/requests/index.js"), exports);
41
41
  exports.agents = __importStar(require("./agents/index.js"));
42
42
  __exportStar(require("./agents/types/index.js"), exports);
43
+ __exportStar(require("./alphaSections/client/requests/index.js"), exports);
44
+ exports.alphaSections = __importStar(require("./alphaSections/index.js"));
45
+ exports.alphaSectionVersions = __importStar(require("./alphaSectionVersions/index.js"));
46
+ __exportStar(require("./alphaTemplates/client/requests/index.js"), exports);
47
+ exports.alphaTemplates = __importStar(require("./alphaTemplates/index.js"));
48
+ __exportStar(require("./alphaTemplates/types/index.js"), exports);
49
+ __exportStar(require("./alphaTemplateVersions/client/requests/index.js"), exports);
50
+ exports.alphaTemplateVersions = __importStar(require("./alphaTemplateVersions/index.js"));
51
+ __exportStar(require("./alphaTemplateVersions/types/index.js"), exports);
43
52
  exports.auth = __importStar(require("./auth/index.js"));
44
53
  __exportStar(require("./auth/types/index.js"), exports);
45
54
  __exportStar(require("./codes/client/requests/index.js"), exports);
@@ -51,13 +60,6 @@ exports.facts = __importStar(require("./facts/index.js"));
51
60
  __exportStar(require("./interactions/client/requests/index.js"), exports);
52
61
  exports.interactions = __importStar(require("./interactions/index.js"));
53
62
  __exportStar(require("./interactions/types/index.js"), exports);
54
- __exportStar(require("./newSections/client/requests/index.js"), exports);
55
- exports.newSections = __importStar(require("./newSections/index.js"));
56
- exports.newSectionVersions = __importStar(require("./newSectionVersions/index.js"));
57
- __exportStar(require("./newTemplates/client/requests/index.js"), exports);
58
- exports.newTemplates = __importStar(require("./newTemplates/index.js"));
59
- __exportStar(require("./newTemplates/types/index.js"), exports);
60
- exports.newTemplateVersions = __importStar(require("./newTemplateVersions/index.js"));
61
63
  exports.recordings = __importStar(require("./recordings/index.js"));
62
64
  exports.stream = __importStar(require("./stream/index.js"));
63
65
  __exportStar(require("./templates/client/requests/index.js"), exports);
@@ -2,7 +2,7 @@ import type * as Corti from "../../../../api/index.js";
2
2
  import * as core from "../../../../core/index.js";
3
3
  import type * as serializers from "../../../index.js";
4
4
  import { SectionVersion } from "../../../types/SectionVersion.js";
5
- export declare const Response: core.serialization.Schema<serializers.newSectionVersions.list.Response.Raw, Corti.SectionVersion[]>;
5
+ export declare const Response: core.serialization.Schema<serializers.alphaSectionVersions.list.Response.Raw, Corti.SectionVersion[]>;
6
6
  export declare namespace Response {
7
7
  type Raw = SectionVersion.Raw[];
8
8
  }
@@ -2,7 +2,7 @@ import type * as Corti from "../../../../api/index.js";
2
2
  import * as core from "../../../../core/index.js";
3
3
  import type * as serializers from "../../../index.js";
4
4
  import { Section } from "../../../types/Section.js";
5
- export declare const Response: core.serialization.Schema<serializers.newSections.list.Response.Raw, Corti.Section[]>;
5
+ export declare const Response: core.serialization.Schema<serializers.alphaSections.list.Response.Raw, Corti.Section[]>;
6
6
  export declare namespace Response {
7
7
  type Raw = Section.Raw[];
8
8
  }
@@ -0,0 +1,8 @@
1
+ import type * as Corti from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
4
+ import { TemplateVersion } from "../../../types/TemplateVersion.js";
5
+ export declare const Response: core.serialization.Schema<serializers.alphaTemplateVersions.list.Response.Raw, Corti.TemplateVersion[]>;
6
+ export declare namespace Response {
7
+ type Raw = TemplateVersion.Raw[];
8
+ }
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.Response = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ const TemplateVersion_js_1 = require("../../../types/TemplateVersion.js");
40
+ exports.Response = core.serialization.list(TemplateVersion_js_1.TemplateVersion);
@@ -0,0 +1,10 @@
1
+ import type * as Corti from "../../../../../api/index.js";
2
+ import * as core from "../../../../../core/index.js";
3
+ import type * as serializers from "../../../../index.js";
4
+ import { CreateTemplateVersionRequestGeneration } from "../../types/CreateTemplateVersionRequestGeneration.js";
5
+ export declare const CreateTemplateVersionRequest: core.serialization.Schema<serializers.CreateTemplateVersionRequest.Raw, Corti.CreateTemplateVersionRequest>;
6
+ export declare namespace CreateTemplateVersionRequest {
7
+ interface Raw {
8
+ generation: CreateTemplateVersionRequestGeneration.Raw;
9
+ }
10
+ }
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.CreateTemplateVersionRequest = void 0;
38
+ const core = __importStar(require("../../../../../core/index.js"));
39
+ const CreateTemplateVersionRequestGeneration_js_1 = require("../../types/CreateTemplateVersionRequestGeneration.js");
40
+ exports.CreateTemplateVersionRequest = core.serialization.object({
41
+ generation: CreateTemplateVersionRequestGeneration_js_1.CreateTemplateVersionRequestGeneration,
42
+ });
@@ -0,0 +1 @@
1
+ export { CreateTemplateVersionRequest } from "./CreateTemplateVersionRequest.js";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateTemplateVersionRequest = void 0;
4
+ var CreateTemplateVersionRequest_js_1 = require("./CreateTemplateVersionRequest.js");
5
+ Object.defineProperty(exports, "CreateTemplateVersionRequest", { enumerable: true, get: function () { return CreateTemplateVersionRequest_js_1.CreateTemplateVersionRequest; } });
@@ -0,0 +1,2 @@
1
+ export * from "./client/index.js";
2
+ export * from "./types/index.js";
@@ -0,0 +1,18 @@
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client/index.js"), exports);
18
+ __exportStar(require("./types/index.js"), exports);
@@ -0,0 +1,12 @@
1
+ import type * as Corti from "../../../../api/index.js";
2
+ import * as core from "../../../../core/index.js";
3
+ import type * as serializers from "../../../index.js";
4
+ import { TemplateInstructions } from "../../../types/TemplateInstructions.js";
5
+ import { TemplateVersionSectionRequest } from "../../../types/TemplateVersionSectionRequest.js";
6
+ export declare const CreateTemplateVersionRequestGeneration: core.serialization.ObjectSchema<serializers.CreateTemplateVersionRequestGeneration.Raw, Corti.CreateTemplateVersionRequestGeneration>;
7
+ export declare namespace CreateTemplateVersionRequestGeneration {
8
+ interface Raw {
9
+ instructions: TemplateInstructions.Raw;
10
+ sections?: TemplateVersionSectionRequest.Raw[] | null;
11
+ }
12
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.CreateTemplateVersionRequestGeneration = void 0;
38
+ const core = __importStar(require("../../../../core/index.js"));
39
+ const TemplateInstructions_js_1 = require("../../../types/TemplateInstructions.js");
40
+ const TemplateVersionSectionRequest_js_1 = require("../../../types/TemplateVersionSectionRequest.js");
41
+ exports.CreateTemplateVersionRequestGeneration = core.serialization.object({
42
+ instructions: TemplateInstructions_js_1.TemplateInstructions,
43
+ sections: core.serialization.list(TemplateVersionSectionRequest_js_1.TemplateVersionSectionRequest).optional(),
44
+ });
@@ -0,0 +1 @@
1
+ export * from "./CreateTemplateVersionRequestGeneration.js";
@@ -0,0 +1,17 @@
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 __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./CreateTemplateVersionRequestGeneration.js"), exports);