@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
@@ -0,0 +1,14 @@
1
+ import type * as Corti from "../../../../index.mjs";
2
+ /**
3
+ * @example
4
+ * {
5
+ * generation: {
6
+ * instructions: {
7
+ * prompt: "prompt"
8
+ * }
9
+ * }
10
+ * }
11
+ */
12
+ export interface CreateTemplateVersionRequest {
13
+ generation: Corti.CreateTemplateVersionRequestGeneration;
14
+ }
@@ -0,0 +1 @@
1
+ export type { CreateTemplateVersionRequest } from "./CreateTemplateVersionRequest.mjs";
@@ -0,0 +1,5 @@
1
+ import type * as Corti from "../../../index.mjs";
2
+ export interface CreateTemplateVersionRequestGeneration {
3
+ instructions: Corti.TemplateInstructions;
4
+ sections?: Corti.TemplateVersionSectionRequest[];
5
+ }
@@ -0,0 +1 @@
1
+ export * from "./CreateTemplateVersionRequestGeneration.mjs";
@@ -0,0 +1 @@
1
+ export * from "./CreateTemplateVersionRequestGeneration.mjs";
@@ -0,0 +1,76 @@
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.mjs";
2
+ import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.mjs";
3
+ import * as core from "../../../../core/index.mjs";
4
+ import * as Corti from "../../../index.mjs";
5
+ export declare namespace AlphaTemplatesClient {
6
+ type Options = BaseClientOptions;
7
+ interface RequestOptions extends BaseRequestOptions {
8
+ }
9
+ }
10
+ export declare class AlphaTemplatesClient {
11
+ protected readonly _options: NormalizedClientOptionsWithAuth<AlphaTemplatesClient.Options>;
12
+ constructor(options: AlphaTemplatesClient.Options);
13
+ /**
14
+ * @param {Corti.ListAlphaTemplatesRequest} request
15
+ * @param {AlphaTemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
16
+ *
17
+ * @example
18
+ * await client.alphaTemplates.list()
19
+ */
20
+ list(request?: Corti.ListAlphaTemplatesRequest, requestOptions?: AlphaTemplatesClient.RequestOptions): core.HttpResponsePromise<Corti.Template[]>;
21
+ private __list;
22
+ /**
23
+ * @param {Corti.CreateTemplateRequest} request
24
+ * @param {AlphaTemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
25
+ *
26
+ * @throws {@link Corti.BadRequestError}
27
+ *
28
+ * @example
29
+ * await client.alphaTemplates.create({
30
+ * name: "name",
31
+ * language: "language",
32
+ * generation: {
33
+ * instructions: {
34
+ * prompt: "prompt"
35
+ * }
36
+ * }
37
+ * })
38
+ */
39
+ create(request: Corti.CreateTemplateRequest, requestOptions?: AlphaTemplatesClient.RequestOptions): core.HttpResponsePromise<Corti.Template>;
40
+ private __create;
41
+ /**
42
+ * @param {string} templateID
43
+ * @param {AlphaTemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
44
+ *
45
+ * @throws {@link Corti.NotFoundError}
46
+ *
47
+ * @example
48
+ * await client.alphaTemplates.get("templateID")
49
+ */
50
+ get(templateID: string, requestOptions?: AlphaTemplatesClient.RequestOptions): core.HttpResponsePromise<Corti.Template>;
51
+ private __get;
52
+ /**
53
+ * @param {string} templateID
54
+ * @param {AlphaTemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
55
+ *
56
+ * @throws {@link Corti.NotFoundError}
57
+ *
58
+ * @example
59
+ * await client.alphaTemplates.delete("templateID")
60
+ */
61
+ delete(templateID: string, requestOptions?: AlphaTemplatesClient.RequestOptions): core.HttpResponsePromise<void>;
62
+ private __delete;
63
+ /**
64
+ * @param {string} templateID
65
+ * @param {Corti.UpdateTemplateRequest} request
66
+ * @param {AlphaTemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
67
+ *
68
+ * @throws {@link Corti.BadRequestError}
69
+ * @throws {@link Corti.NotFoundError}
70
+ *
71
+ * @example
72
+ * await client.alphaTemplates.update("templateID")
73
+ */
74
+ update(templateID: string, request?: Corti.UpdateTemplateRequest, requestOptions?: AlphaTemplatesClient.RequestOptions): core.HttpResponsePromise<Corti.Template>;
75
+ private __update;
76
+ }
@@ -15,16 +15,16 @@ import { handleNonStatusCodeError } from "../../../../errors/handleNonStatusCode
15
15
  import * as errors from "../../../../errors/index.mjs";
16
16
  import * as serializers from "../../../../serialization/index.mjs";
17
17
  import * as Corti from "../../../index.mjs";
18
- export class NewTemplatesClient {
18
+ export class AlphaTemplatesClient {
19
19
  constructor(options) {
20
20
  this._options = normalizeClientOptionsWithAuth(options);
21
21
  }
22
22
  /**
23
- * @param {Corti.ListNewTemplatesRequest} request
24
- * @param {NewTemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
23
+ * @param {Corti.ListAlphaTemplatesRequest} request
24
+ * @param {AlphaTemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
25
25
  *
26
26
  * @example
27
- * await client.newTemplates.list()
27
+ * await client.alphaTemplates.list()
28
28
  */
29
29
  list(request = {}, requestOptions) {
30
30
  return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
@@ -53,7 +53,7 @@ export class NewTemplatesClient {
53
53
  });
54
54
  if (_response.ok) {
55
55
  return {
56
- data: serializers.newTemplates.list.Response.parseOrThrow(_response.body, {
56
+ data: serializers.alphaTemplates.list.Response.parseOrThrow(_response.body, {
57
57
  unrecognizedObjectKeys: "passthrough",
58
58
  allowUnrecognizedUnionMembers: true,
59
59
  allowUnrecognizedEnumValues: true,
@@ -75,12 +75,12 @@ export class NewTemplatesClient {
75
75
  }
76
76
  /**
77
77
  * @param {Corti.CreateTemplateRequest} request
78
- * @param {NewTemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
78
+ * @param {AlphaTemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
79
79
  *
80
80
  * @throws {@link Corti.BadRequestError}
81
81
  *
82
82
  * @example
83
- * await client.newTemplates.create({
83
+ * await client.alphaTemplates.create({
84
84
  * name: "name",
85
85
  * language: "language",
86
86
  * generation: {
@@ -143,22 +143,24 @@ export class NewTemplatesClient {
143
143
  });
144
144
  }
145
145
  /**
146
- * @param {string} templateId
147
- * @param {NewTemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
146
+ * @param {string} templateID
147
+ * @param {AlphaTemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
148
+ *
149
+ * @throws {@link Corti.NotFoundError}
148
150
  *
149
151
  * @example
150
- * await client.newTemplates.get("templateId")
152
+ * await client.alphaTemplates.get("templateID")
151
153
  */
152
- get(templateId, requestOptions) {
153
- return core.HttpResponsePromise.fromPromise(this.__get(templateId, requestOptions));
154
+ get(templateID, requestOptions) {
155
+ return core.HttpResponsePromise.fromPromise(this.__get(templateID, requestOptions));
154
156
  }
155
- __get(templateId, requestOptions) {
157
+ __get(templateID, requestOptions) {
156
158
  return __awaiter(this, void 0, void 0, function* () {
157
159
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
158
160
  const _authRequest = yield this._options.authProvider.getAuthRequest();
159
161
  const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ "Tenant-Name": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.tenantName) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.tenantName }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
160
162
  const _response = yield core.fetcher({
161
- 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)}`),
163
+ 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)}`),
162
164
  method: "GET",
163
165
  headers: _headers,
164
166
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -169,35 +171,51 @@ export class NewTemplatesClient {
169
171
  logging: this._options.logging,
170
172
  });
171
173
  if (_response.ok) {
172
- return { data: undefined, rawResponse: _response.rawResponse };
174
+ return {
175
+ data: serializers.Template.parseOrThrow(_response.body, {
176
+ unrecognizedObjectKeys: "passthrough",
177
+ allowUnrecognizedUnionMembers: true,
178
+ allowUnrecognizedEnumValues: true,
179
+ skipValidation: true,
180
+ breadcrumbsPrefix: ["response"],
181
+ }),
182
+ rawResponse: _response.rawResponse,
183
+ };
173
184
  }
174
185
  if (_response.error.reason === "status-code") {
175
- throw new errors.CortiError({
176
- statusCode: _response.error.statusCode,
177
- body: _response.error.body,
178
- rawResponse: _response.rawResponse,
179
- });
186
+ switch (_response.error.statusCode) {
187
+ case 404:
188
+ throw new Corti.NotFoundError(_response.error.body, _response.rawResponse);
189
+ default:
190
+ throw new errors.CortiError({
191
+ statusCode: _response.error.statusCode,
192
+ body: _response.error.body,
193
+ rawResponse: _response.rawResponse,
194
+ });
195
+ }
180
196
  }
181
- return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/alpha/templates/{templateId}");
197
+ return handleNonStatusCodeError(_response.error, _response.rawResponse, "GET", "/alpha/templates/{templateID}");
182
198
  });
183
199
  }
184
200
  /**
185
- * @param {string} templateId
186
- * @param {NewTemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
201
+ * @param {string} templateID
202
+ * @param {AlphaTemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
203
+ *
204
+ * @throws {@link Corti.NotFoundError}
187
205
  *
188
206
  * @example
189
- * await client.newTemplates.delete("templateId")
207
+ * await client.alphaTemplates.delete("templateID")
190
208
  */
191
- delete(templateId, requestOptions) {
192
- return core.HttpResponsePromise.fromPromise(this.__delete(templateId, requestOptions));
209
+ delete(templateID, requestOptions) {
210
+ return core.HttpResponsePromise.fromPromise(this.__delete(templateID, requestOptions));
193
211
  }
194
- __delete(templateId, requestOptions) {
212
+ __delete(templateID, requestOptions) {
195
213
  return __awaiter(this, void 0, void 0, function* () {
196
214
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
197
215
  const _authRequest = yield this._options.authProvider.getAuthRequest();
198
216
  const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ "Tenant-Name": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.tenantName) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.tenantName }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
199
217
  const _response = yield core.fetcher({
200
- 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)}`),
218
+ 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)}`),
201
219
  method: "DELETE",
202
220
  headers: _headers,
203
221
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -211,35 +229,50 @@ export class NewTemplatesClient {
211
229
  return { data: undefined, rawResponse: _response.rawResponse };
212
230
  }
213
231
  if (_response.error.reason === "status-code") {
214
- throw new errors.CortiError({
215
- statusCode: _response.error.statusCode,
216
- body: _response.error.body,
217
- rawResponse: _response.rawResponse,
218
- });
232
+ switch (_response.error.statusCode) {
233
+ case 404:
234
+ throw new Corti.NotFoundError(_response.error.body, _response.rawResponse);
235
+ default:
236
+ throw new errors.CortiError({
237
+ statusCode: _response.error.statusCode,
238
+ body: _response.error.body,
239
+ rawResponse: _response.rawResponse,
240
+ });
241
+ }
219
242
  }
220
- return handleNonStatusCodeError(_response.error, _response.rawResponse, "DELETE", "/alpha/templates/{templateId}");
243
+ return handleNonStatusCodeError(_response.error, _response.rawResponse, "DELETE", "/alpha/templates/{templateID}");
221
244
  });
222
245
  }
223
246
  /**
224
- * @param {string} templateId
225
- * @param {NewTemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
247
+ * @param {string} templateID
248
+ * @param {Corti.UpdateTemplateRequest} request
249
+ * @param {AlphaTemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
250
+ *
251
+ * @throws {@link Corti.BadRequestError}
252
+ * @throws {@link Corti.NotFoundError}
226
253
  *
227
254
  * @example
228
- * await client.newTemplates.update("templateId")
255
+ * await client.alphaTemplates.update("templateID")
229
256
  */
230
- update(templateId, requestOptions) {
231
- return core.HttpResponsePromise.fromPromise(this.__update(templateId, requestOptions));
257
+ update(templateID, request = {}, requestOptions) {
258
+ return core.HttpResponsePromise.fromPromise(this.__update(templateID, request, requestOptions));
232
259
  }
233
- __update(templateId, requestOptions) {
234
- return __awaiter(this, void 0, void 0, function* () {
260
+ __update(templateID_1) {
261
+ return __awaiter(this, arguments, void 0, function* (templateID, request = {}, requestOptions) {
235
262
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
236
263
  const _authRequest = yield this._options.authProvider.getAuthRequest();
237
264
  const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ "Tenant-Name": (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.tenantName) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.tenantName }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
238
265
  const _response = yield core.fetcher({
239
- 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)}`),
266
+ 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)}`),
240
267
  method: "PATCH",
241
268
  headers: _headers,
269
+ contentType: "application/json",
242
270
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
271
+ requestType: "json",
272
+ body: serializers.UpdateTemplateRequest.jsonOrThrow(request, {
273
+ unrecognizedObjectKeys: "strip",
274
+ omitUndefined: true,
275
+ }),
243
276
  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,
244
277
  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,
245
278
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -247,16 +280,32 @@ export class NewTemplatesClient {
247
280
  logging: this._options.logging,
248
281
  });
249
282
  if (_response.ok) {
250
- return { data: undefined, rawResponse: _response.rawResponse };
283
+ return {
284
+ data: serializers.Template.parseOrThrow(_response.body, {
285
+ unrecognizedObjectKeys: "passthrough",
286
+ allowUnrecognizedUnionMembers: true,
287
+ allowUnrecognizedEnumValues: true,
288
+ skipValidation: true,
289
+ breadcrumbsPrefix: ["response"],
290
+ }),
291
+ rawResponse: _response.rawResponse,
292
+ };
251
293
  }
252
294
  if (_response.error.reason === "status-code") {
253
- throw new errors.CortiError({
254
- statusCode: _response.error.statusCode,
255
- body: _response.error.body,
256
- rawResponse: _response.rawResponse,
257
- });
295
+ switch (_response.error.statusCode) {
296
+ case 400:
297
+ throw new Corti.BadRequestError(_response.error.body, _response.rawResponse);
298
+ case 404:
299
+ throw new Corti.NotFoundError(_response.error.body, _response.rawResponse);
300
+ default:
301
+ throw new errors.CortiError({
302
+ statusCode: _response.error.statusCode,
303
+ body: _response.error.body,
304
+ rawResponse: _response.rawResponse,
305
+ });
306
+ }
258
307
  }
259
- return handleNonStatusCodeError(_response.error, _response.rawResponse, "PATCH", "/alpha/templates/{templateId}");
308
+ return handleNonStatusCodeError(_response.error, _response.rawResponse, "PATCH", "/alpha/templates/{templateID}");
260
309
  });
261
310
  }
262
311
  }
@@ -0,0 +1 @@
1
+ export * from "./requests/index.mjs";
@@ -0,0 +1 @@
1
+ export * from "./requests/index.mjs";
@@ -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,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -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,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,3 @@
1
+ export type { CreateTemplateRequest } from "./CreateTemplateRequest.mjs";
2
+ export type { ListAlphaTemplatesRequest } from "./ListAlphaTemplatesRequest.mjs";
3
+ export type { UpdateTemplateRequest } from "./UpdateTemplateRequest.mjs";
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -1,6 +1,15 @@
1
1
  export * from "./agents/client/requests/index.mjs";
2
2
  export * as agents from "./agents/index.mjs";
3
3
  export * from "./agents/types/index.mjs";
4
+ export * from "./alphaSections/client/requests/index.mjs";
5
+ export * as alphaSections from "./alphaSections/index.mjs";
6
+ export * as alphaSectionVersions from "./alphaSectionVersions/index.mjs";
7
+ export * from "./alphaTemplates/client/requests/index.mjs";
8
+ export * as alphaTemplates from "./alphaTemplates/index.mjs";
9
+ export * from "./alphaTemplates/types/index.mjs";
10
+ export * from "./alphaTemplateVersions/client/requests/index.mjs";
11
+ export * as alphaTemplateVersions from "./alphaTemplateVersions/index.mjs";
12
+ export * from "./alphaTemplateVersions/types/index.mjs";
4
13
  export * as auth from "./auth/index.mjs";
5
14
  export * from "./auth/types/index.mjs";
6
15
  export * from "./codes/client/requests/index.mjs";
@@ -12,13 +21,6 @@ export * as facts from "./facts/index.mjs";
12
21
  export * from "./interactions/client/requests/index.mjs";
13
22
  export * as interactions from "./interactions/index.mjs";
14
23
  export * from "./interactions/types/index.mjs";
15
- export * from "./newSections/client/requests/index.mjs";
16
- export * as newSections from "./newSections/index.mjs";
17
- export * as newSectionVersions from "./newSectionVersions/index.mjs";
18
- export * from "./newTemplates/client/requests/index.mjs";
19
- export * as newTemplates from "./newTemplates/index.mjs";
20
- export * from "./newTemplates/types/index.mjs";
21
- export * as newTemplateVersions from "./newTemplateVersions/index.mjs";
22
24
  export * as recordings from "./recordings/index.mjs";
23
25
  export * as stream from "./stream/index.mjs";
24
26
  export * from "./templates/client/requests/index.mjs";
@@ -1,6 +1,15 @@
1
1
  export * from "./agents/client/requests/index.mjs";
2
2
  export * as agents from "./agents/index.mjs";
3
3
  export * from "./agents/types/index.mjs";
4
+ export * from "./alphaSections/client/requests/index.mjs";
5
+ export * as alphaSections from "./alphaSections/index.mjs";
6
+ export * as alphaSectionVersions from "./alphaSectionVersions/index.mjs";
7
+ export * from "./alphaTemplates/client/requests/index.mjs";
8
+ export * as alphaTemplates from "./alphaTemplates/index.mjs";
9
+ export * from "./alphaTemplates/types/index.mjs";
10
+ export * from "./alphaTemplateVersions/client/requests/index.mjs";
11
+ export * as alphaTemplateVersions from "./alphaTemplateVersions/index.mjs";
12
+ export * from "./alphaTemplateVersions/types/index.mjs";
4
13
  export * as auth from "./auth/index.mjs";
5
14
  export * from "./auth/types/index.mjs";
6
15
  export * from "./codes/client/requests/index.mjs";
@@ -12,13 +21,6 @@ export * as facts from "./facts/index.mjs";
12
21
  export * from "./interactions/client/requests/index.mjs";
13
22
  export * as interactions from "./interactions/index.mjs";
14
23
  export * from "./interactions/types/index.mjs";
15
- export * from "./newSections/client/requests/index.mjs";
16
- export * as newSections from "./newSections/index.mjs";
17
- export * as newSectionVersions from "./newSectionVersions/index.mjs";
18
- export * from "./newTemplates/client/requests/index.mjs";
19
- export * as newTemplates from "./newTemplates/index.mjs";
20
- export * from "./newTemplates/types/index.mjs";
21
- export * as newTemplateVersions from "./newTemplateVersions/index.mjs";
22
24
  export * as recordings from "./recordings/index.mjs";
23
25
  export * as stream from "./stream/index.mjs";
24
26
  export * from "./templates/client/requests/index.mjs";
@@ -2,7 +2,7 @@ import type * as Corti from "../../../../api/index.mjs";
2
2
  import * as core from "../../../../core/index.mjs";
3
3
  import type * as serializers from "../../../index.mjs";
4
4
  import { SectionVersion } from "../../../types/SectionVersion.mjs";
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.mjs";
2
2
  import * as core from "../../../../core/index.mjs";
3
3
  import type * as serializers from "../../../index.mjs";
4
4
  import { Section } from "../../../types/Section.mjs";
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.mjs";
2
+ import * as core from "../../../../core/index.mjs";
3
+ import type * as serializers from "../../../index.mjs";
4
+ import { TemplateVersion } from "../../../types/TemplateVersion.mjs";
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,4 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../../../core/index.mjs";
3
+ import { TemplateVersion } from "../../../types/TemplateVersion.mjs";
4
+ export const Response = core.serialization.list(TemplateVersion);
@@ -0,0 +1,10 @@
1
+ import type * as Corti from "../../../../../api/index.mjs";
2
+ import * as core from "../../../../../core/index.mjs";
3
+ import type * as serializers from "../../../../index.mjs";
4
+ import { CreateTemplateVersionRequestGeneration } from "../../types/CreateTemplateVersionRequestGeneration.mjs";
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,6 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../../../../core/index.mjs";
3
+ import { CreateTemplateVersionRequestGeneration } from "../../types/CreateTemplateVersionRequestGeneration.mjs";
4
+ export const CreateTemplateVersionRequest = core.serialization.object({
5
+ generation: CreateTemplateVersionRequestGeneration,
6
+ });
@@ -0,0 +1 @@
1
+ export { CreateTemplateVersionRequest } from "./CreateTemplateVersionRequest.mjs";
@@ -0,0 +1 @@
1
+ export { CreateTemplateVersionRequest } from "./CreateTemplateVersionRequest.mjs";
@@ -0,0 +1,2 @@
1
+ export * from "./client/index.mjs";
2
+ export * from "./types/index.mjs";
@@ -0,0 +1,2 @@
1
+ export * from "./client/index.mjs";
2
+ export * from "./types/index.mjs";
@@ -0,0 +1,12 @@
1
+ import type * as Corti from "../../../../api/index.mjs";
2
+ import * as core from "../../../../core/index.mjs";
3
+ import type * as serializers from "../../../index.mjs";
4
+ import { TemplateInstructions } from "../../../types/TemplateInstructions.mjs";
5
+ import { TemplateVersionSectionRequest } from "../../../types/TemplateVersionSectionRequest.mjs";
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,8 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../../../core/index.mjs";
3
+ import { TemplateInstructions } from "../../../types/TemplateInstructions.mjs";
4
+ import { TemplateVersionSectionRequest } from "../../../types/TemplateVersionSectionRequest.mjs";
5
+ export const CreateTemplateVersionRequestGeneration = core.serialization.object({
6
+ instructions: TemplateInstructions,
7
+ sections: core.serialization.list(TemplateVersionSectionRequest).optional(),
8
+ });
@@ -0,0 +1 @@
1
+ export * from "./CreateTemplateVersionRequestGeneration.mjs";
@@ -0,0 +1 @@
1
+ export * from "./CreateTemplateVersionRequestGeneration.mjs";
@@ -0,0 +1,2 @@
1
+ export * as list from "./list.mjs";
2
+ export * from "./requests/index.mjs";
@@ -0,0 +1,2 @@
1
+ export * as list from "./list.mjs";
2
+ export * from "./requests/index.mjs";
@@ -2,7 +2,7 @@ import type * as Corti from "../../../../api/index.mjs";
2
2
  import * as core from "../../../../core/index.mjs";
3
3
  import type * as serializers from "../../../index.mjs";
4
4
  import { Template } from "../../../types/Template.mjs";
5
- export declare const Response: core.serialization.Schema<serializers.newTemplates.list.Response.Raw, Corti.Template[]>;
5
+ export declare const Response: core.serialization.Schema<serializers.alphaTemplates.list.Response.Raw, Corti.Template[]>;
6
6
  export declare namespace Response {
7
7
  type Raw = Template.Raw[];
8
8
  }
@@ -0,0 +1,12 @@
1
+ import type * as Corti from "../../../../../api/index.mjs";
2
+ import * as core from "../../../../../core/index.mjs";
3
+ import type * as serializers from "../../../../index.mjs";
4
+ export declare const UpdateTemplateRequest: core.serialization.Schema<serializers.UpdateTemplateRequest.Raw, Corti.UpdateTemplateRequest>;
5
+ export declare namespace UpdateTemplateRequest {
6
+ interface Raw {
7
+ name?: string | null;
8
+ description?: string | null;
9
+ language?: string | null;
10
+ labels?: string[] | null;
11
+ }
12
+ }
@@ -0,0 +1,8 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ import * as core from "../../../../../core/index.mjs";
3
+ export const UpdateTemplateRequest = core.serialization.object({
4
+ name: core.serialization.string().optional(),
5
+ description: core.serialization.string().optional(),
6
+ language: core.serialization.string().optional(),
7
+ labels: core.serialization.list(core.serialization.string()).optional(),
8
+ });
@@ -1 +1,2 @@
1
1
  export { CreateTemplateRequest } from "./CreateTemplateRequest.mjs";
2
+ export { UpdateTemplateRequest } from "./UpdateTemplateRequest.mjs";
@@ -1 +1,2 @@
1
1
  export { CreateTemplateRequest } from "./CreateTemplateRequest.mjs";
2
+ export { UpdateTemplateRequest } from "./UpdateTemplateRequest.mjs";
@@ -0,0 +1,2 @@
1
+ export * from "./client/index.mjs";
2
+ export * from "./types/index.mjs";