@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,2 @@
1
+ export * as list from "./list.js";
2
+ export * from "./requests/index.js";
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
+ };
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.list = void 0;
40
+ exports.list = __importStar(require("./list.js"));
41
+ __exportStar(require("./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 { Template } from "../../../types/Template.js";
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.js";
2
+ import * as core from "../../../../../core/index.js";
3
+ import type * as serializers from "../../../../index.js";
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,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.UpdateTemplateRequest = void 0;
38
+ const core = __importStar(require("../../../../../core/index.js"));
39
+ exports.UpdateTemplateRequest = core.serialization.object({
40
+ name: core.serialization.string().optional(),
41
+ description: core.serialization.string().optional(),
42
+ language: core.serialization.string().optional(),
43
+ labels: core.serialization.list(core.serialization.string()).optional(),
44
+ });
@@ -1 +1,2 @@
1
1
  export { CreateTemplateRequest } from "./CreateTemplateRequest.js";
2
+ export { UpdateTemplateRequest } from "./UpdateTemplateRequest.js";
@@ -1,5 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateTemplateRequest = void 0;
3
+ exports.UpdateTemplateRequest = exports.CreateTemplateRequest = void 0;
4
4
  var CreateTemplateRequest_js_1 = require("./CreateTemplateRequest.js");
5
5
  Object.defineProperty(exports, "CreateTemplateRequest", { enumerable: true, get: function () { return CreateTemplateRequest_js_1.CreateTemplateRequest; } });
6
+ var UpdateTemplateRequest_js_1 = require("./UpdateTemplateRequest.js");
7
+ Object.defineProperty(exports, "UpdateTemplateRequest", { enumerable: true, get: function () { return UpdateTemplateRequest_js_1.UpdateTemplateRequest; } });
@@ -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);
@@ -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,12 +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
24
  export * from "./stream/client/socket/index.js";
22
25
  export * as stream from "./stream/index.js";
23
26
  export * from "./transcribe/client/socket/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.stream = 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.stream = 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,12 +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
63
  __exportStar(require("./stream/client/socket/index.js"), exports);
61
64
  exports.stream = __importStar(require("./stream/index.js"));
62
65
  __exportStar(require("./transcribe/client/socket/index.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "2.0.0-templates";
1
+ export declare const SDK_VERSION = "2.0.0-templates.2";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "2.0.0-templates";
4
+ exports.SDK_VERSION = "2.0.0-templates.2";
@@ -6,7 +6,7 @@ export type BaseClientOptions = {
6
6
  /** Specify a custom URL to connect the client to. */
7
7
  baseUrl?: core.Supplier<string>;
8
8
  /** Override the Tenant-Name header */
9
- tenantName?: core.Supplier<string | undefined>;
9
+ tenantName: core.Supplier<string>;
10
10
  /** Additional headers to include in requests. */
11
11
  headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
12
12
  /** The default maximum time to wait for a response in seconds. */
@@ -26,7 +26,7 @@ export interface BaseRequestOptions {
26
26
  /** A hook to abort the request. */
27
27
  abortSignal?: AbortSignal;
28
28
  /** Override the Tenant-Name header */
29
- tenantName?: string | undefined;
29
+ tenantName?: string;
30
30
  /** Additional query string parameters to include in the request. */
31
31
  queryParams?: Record<string, unknown>;
32
32
  /** Additional headers to include in the request. */
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
6
6
  const headers = mergeHeaders({
7
7
  "X-Fern-Language": "JavaScript",
8
8
  "X-Fern-SDK-Name": "@corti/sdk",
9
- "X-Fern-SDK-Version": "2.0.0-templates",
10
- "User-Agent": "@corti/sdk/2.0.0-templates",
9
+ "X-Fern-SDK-Version": "2.0.0-templates.2",
10
+ "User-Agent": "@corti/sdk/2.0.0-templates.2",
11
11
  "X-Fern-Runtime": core.RUNTIME.type,
12
12
  "X-Fern-Runtime-Version": core.RUNTIME.version,
13
13
  "Tenant-Name": options === null || options === void 0 ? void 0 : options.tenantName,
@@ -1,13 +1,13 @@
1
1
  import { AgentsClient } from "./api/resources/agents/client/Client.mjs";
2
+ import { AlphaSectionsClient } from "./api/resources/alphaSections/client/Client.mjs";
3
+ import { AlphaSectionVersionsClient } from "./api/resources/alphaSectionVersions/client/Client.mjs";
4
+ import { AlphaTemplatesClient } from "./api/resources/alphaTemplates/client/Client.mjs";
5
+ import { AlphaTemplateVersionsClient } from "./api/resources/alphaTemplateVersions/client/Client.mjs";
2
6
  import { AuthClient } from "./api/resources/auth/client/Client.mjs";
3
7
  import { CodesClient } from "./api/resources/codes/client/Client.mjs";
4
8
  import { DocumentsClient } from "./api/resources/documents/client/Client.mjs";
5
9
  import { FactsClient } from "./api/resources/facts/client/Client.mjs";
6
10
  import { InteractionsClient } from "./api/resources/interactions/client/Client.mjs";
7
- import { NewSectionsClient } from "./api/resources/newSections/client/Client.mjs";
8
- import { NewSectionVersionsClient } from "./api/resources/newSectionVersions/client/Client.mjs";
9
- import { NewTemplatesClient } from "./api/resources/newTemplates/client/Client.mjs";
10
- import { NewTemplateVersionsClient } from "./api/resources/newTemplateVersions/client/Client.mjs";
11
11
  import { RecordingsClient } from "./api/resources/recordings/client/Client.mjs";
12
12
  import { StreamClient } from "./api/resources/stream/client/Client.mjs";
13
13
  import { TemplatesClient } from "./api/resources/templates/client/Client.mjs";
@@ -30,10 +30,10 @@ export declare class CortiClient {
30
30
  protected _documents: DocumentsClient | undefined;
31
31
  protected _templates: TemplatesClient | undefined;
32
32
  protected _codes: CodesClient | undefined;
33
- protected _newTemplates: NewTemplatesClient | undefined;
34
- protected _newSections: NewSectionsClient | undefined;
35
- protected _newSectionVersions: NewSectionVersionsClient | undefined;
36
- protected _newTemplateVersions: NewTemplateVersionsClient | undefined;
33
+ protected _alphaTemplates: AlphaTemplatesClient | undefined;
34
+ protected _alphaTemplateVersions: AlphaTemplateVersionsClient | undefined;
35
+ protected _alphaSections: AlphaSectionsClient | undefined;
36
+ protected _alphaSectionVersions: AlphaSectionVersionsClient | undefined;
37
37
  protected _agents: AgentsClient | undefined;
38
38
  protected _stream: StreamClient | undefined;
39
39
  protected _transcribe: TranscribeClient | undefined;
@@ -46,10 +46,10 @@ export declare class CortiClient {
46
46
  get documents(): DocumentsClient;
47
47
  get templates(): TemplatesClient;
48
48
  get codes(): CodesClient;
49
- get newTemplates(): NewTemplatesClient;
50
- get newSections(): NewSectionsClient;
51
- get newSectionVersions(): NewSectionVersionsClient;
52
- get newTemplateVersions(): NewTemplateVersionsClient;
49
+ get alphaTemplates(): AlphaTemplatesClient;
50
+ get alphaTemplateVersions(): AlphaTemplateVersionsClient;
51
+ get alphaSections(): AlphaSectionsClient;
52
+ get alphaSectionVersions(): AlphaSectionVersionsClient;
53
53
  get agents(): AgentsClient;
54
54
  get stream(): StreamClient;
55
55
  get transcribe(): TranscribeClient;
@@ -1,14 +1,14 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
  import { AgentsClient } from "./api/resources/agents/client/Client.mjs";
3
+ import { AlphaSectionsClient } from "./api/resources/alphaSections/client/Client.mjs";
4
+ import { AlphaSectionVersionsClient } from "./api/resources/alphaSectionVersions/client/Client.mjs";
5
+ import { AlphaTemplatesClient } from "./api/resources/alphaTemplates/client/Client.mjs";
6
+ import { AlphaTemplateVersionsClient } from "./api/resources/alphaTemplateVersions/client/Client.mjs";
3
7
  import { AuthClient } from "./api/resources/auth/client/Client.mjs";
4
8
  import { CodesClient } from "./api/resources/codes/client/Client.mjs";
5
9
  import { DocumentsClient } from "./api/resources/documents/client/Client.mjs";
6
10
  import { FactsClient } from "./api/resources/facts/client/Client.mjs";
7
11
  import { InteractionsClient } from "./api/resources/interactions/client/Client.mjs";
8
- import { NewSectionsClient } from "./api/resources/newSections/client/Client.mjs";
9
- import { NewSectionVersionsClient } from "./api/resources/newSectionVersions/client/Client.mjs";
10
- import { NewTemplatesClient } from "./api/resources/newTemplates/client/Client.mjs";
11
- import { NewTemplateVersionsClient } from "./api/resources/newTemplateVersions/client/Client.mjs";
12
12
  import { RecordingsClient } from "./api/resources/recordings/client/Client.mjs";
13
13
  import { StreamClient } from "./api/resources/stream/client/Client.mjs";
14
14
  import { TemplatesClient } from "./api/resources/templates/client/Client.mjs";
@@ -51,21 +51,21 @@ export class CortiClient {
51
51
  var _a;
52
52
  return ((_a = this._codes) !== null && _a !== void 0 ? _a : (this._codes = new CodesClient(this._options)));
53
53
  }
54
- get newTemplates() {
54
+ get alphaTemplates() {
55
55
  var _a;
56
- return ((_a = this._newTemplates) !== null && _a !== void 0 ? _a : (this._newTemplates = new NewTemplatesClient(this._options)));
56
+ return ((_a = this._alphaTemplates) !== null && _a !== void 0 ? _a : (this._alphaTemplates = new AlphaTemplatesClient(this._options)));
57
57
  }
58
- get newSections() {
58
+ get alphaTemplateVersions() {
59
59
  var _a;
60
- return ((_a = this._newSections) !== null && _a !== void 0 ? _a : (this._newSections = new NewSectionsClient(this._options)));
60
+ return ((_a = this._alphaTemplateVersions) !== null && _a !== void 0 ? _a : (this._alphaTemplateVersions = new AlphaTemplateVersionsClient(this._options)));
61
61
  }
62
- get newSectionVersions() {
62
+ get alphaSections() {
63
63
  var _a;
64
- return ((_a = this._newSectionVersions) !== null && _a !== void 0 ? _a : (this._newSectionVersions = new NewSectionVersionsClient(this._options)));
64
+ return ((_a = this._alphaSections) !== null && _a !== void 0 ? _a : (this._alphaSections = new AlphaSectionsClient(this._options)));
65
65
  }
66
- get newTemplateVersions() {
66
+ get alphaSectionVersions() {
67
67
  var _a;
68
- return ((_a = this._newTemplateVersions) !== null && _a !== void 0 ? _a : (this._newTemplateVersions = new NewTemplateVersionsClient(this._options)));
68
+ return ((_a = this._alphaSectionVersions) !== null && _a !== void 0 ? _a : (this._alphaSectionVersions = new AlphaSectionVersionsClient(this._options)));
69
69
  }
70
70
  get agents() {
71
71
  var _a;
@@ -2,35 +2,35 @@ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClie
2
2
  import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.mjs";
3
3
  import * as core from "../../../../core/index.mjs";
4
4
  import * as Corti from "../../../index.mjs";
5
- export declare namespace NewSectionVersionsClient {
5
+ export declare namespace AlphaSectionVersionsClient {
6
6
  type Options = BaseClientOptions;
7
7
  interface RequestOptions extends BaseRequestOptions {
8
8
  }
9
9
  }
10
- export declare class NewSectionVersionsClient {
11
- protected readonly _options: NormalizedClientOptionsWithAuth<NewSectionVersionsClient.Options>;
12
- constructor(options: NewSectionVersionsClient.Options);
10
+ export declare class AlphaSectionVersionsClient {
11
+ protected readonly _options: NormalizedClientOptionsWithAuth<AlphaSectionVersionsClient.Options>;
12
+ constructor(options: AlphaSectionVersionsClient.Options);
13
13
  /**
14
14
  * @param {string} sectionID
15
- * @param {NewSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
15
+ * @param {AlphaSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
16
16
  *
17
17
  * @throws {@link Corti.NotFoundError}
18
18
  *
19
19
  * @example
20
- * await client.newSectionVersions.list("sectionID")
20
+ * await client.alphaSectionVersions.list("sectionID")
21
21
  */
22
- list(sectionID: string, requestOptions?: NewSectionVersionsClient.RequestOptions): core.HttpResponsePromise<Corti.SectionVersion[]>;
22
+ list(sectionID: string, requestOptions?: AlphaSectionVersionsClient.RequestOptions): core.HttpResponsePromise<Corti.SectionVersion[]>;
23
23
  private __list;
24
24
  /**
25
25
  * @param {string} sectionID
26
26
  * @param {Corti.SectionGeneration} request
27
- * @param {NewSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
27
+ * @param {AlphaSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
28
28
  *
29
29
  * @throws {@link Corti.BadRequestError}
30
30
  * @throws {@link Corti.NotFoundError}
31
31
  *
32
32
  * @example
33
- * await client.newSectionVersions.create("sectionID", {
33
+ * await client.alphaSectionVersions.create("sectionID", {
34
34
  * title: "title",
35
35
  * instructions: {
36
36
  * contentPrompt: "contentPrompt",
@@ -41,44 +41,44 @@ export declare class NewSectionVersionsClient {
41
41
  * }
42
42
  * })
43
43
  */
44
- create(sectionID: string, request: Corti.SectionGeneration, requestOptions?: NewSectionVersionsClient.RequestOptions): core.HttpResponsePromise<Corti.SectionVersion>;
44
+ create(sectionID: string, request: Corti.SectionGeneration, requestOptions?: AlphaSectionVersionsClient.RequestOptions): core.HttpResponsePromise<Corti.SectionVersion>;
45
45
  private __create;
46
46
  /**
47
47
  * @param {string} sectionID
48
48
  * @param {string} versionID
49
- * @param {NewSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
49
+ * @param {AlphaSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
50
50
  *
51
51
  * @throws {@link Corti.NotFoundError}
52
52
  *
53
53
  * @example
54
- * await client.newSectionVersions.get("sectionID", "versionID")
54
+ * await client.alphaSectionVersions.get("sectionID", "versionID")
55
55
  */
56
- get(sectionID: string, versionID: string, requestOptions?: NewSectionVersionsClient.RequestOptions): core.HttpResponsePromise<Corti.SectionVersion>;
56
+ get(sectionID: string, versionID: string, requestOptions?: AlphaSectionVersionsClient.RequestOptions): core.HttpResponsePromise<Corti.SectionVersion>;
57
57
  private __get;
58
58
  /**
59
59
  * @param {string} sectionID
60
60
  * @param {string} versionID
61
- * @param {NewSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
61
+ * @param {AlphaSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
62
62
  *
63
63
  * @throws {@link Corti.NotFoundError}
64
64
  *
65
65
  * @example
66
- * await client.newSectionVersions.delete("sectionID", "versionID")
66
+ * await client.alphaSectionVersions.delete("sectionID", "versionID")
67
67
  */
68
- delete(sectionID: string, versionID: string, requestOptions?: NewSectionVersionsClient.RequestOptions): core.HttpResponsePromise<void>;
68
+ delete(sectionID: string, versionID: string, requestOptions?: AlphaSectionVersionsClient.RequestOptions): core.HttpResponsePromise<void>;
69
69
  private __delete;
70
70
  /**
71
71
  * Sets this version as the published version of the section.
72
72
  *
73
73
  * @param {string} sectionID
74
74
  * @param {string} versionID
75
- * @param {NewSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
75
+ * @param {AlphaSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
76
76
  *
77
77
  * @throws {@link Corti.NotFoundError}
78
78
  *
79
79
  * @example
80
- * await client.newSectionVersions.publish("sectionID", "versionID")
80
+ * await client.alphaSectionVersions.publish("sectionID", "versionID")
81
81
  */
82
- publish(sectionID: string, versionID: string, requestOptions?: NewSectionVersionsClient.RequestOptions): core.HttpResponsePromise<Corti.StatusResponse>;
82
+ publish(sectionID: string, versionID: string, requestOptions?: AlphaSectionVersionsClient.RequestOptions): core.HttpResponsePromise<Corti.StatusResponse>;
83
83
  private __publish;
84
84
  }
@@ -15,18 +15,18 @@ 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 NewSectionVersionsClient {
18
+ export class AlphaSectionVersionsClient {
19
19
  constructor(options) {
20
20
  this._options = normalizeClientOptionsWithAuth(options);
21
21
  }
22
22
  /**
23
23
  * @param {string} sectionID
24
- * @param {NewSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
24
+ * @param {AlphaSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
25
25
  *
26
26
  * @throws {@link Corti.NotFoundError}
27
27
  *
28
28
  * @example
29
- * await client.newSectionVersions.list("sectionID")
29
+ * await client.alphaSectionVersions.list("sectionID")
30
30
  */
31
31
  list(sectionID, requestOptions) {
32
32
  return core.HttpResponsePromise.fromPromise(this.__list(sectionID, requestOptions));
@@ -49,7 +49,7 @@ export class NewSectionVersionsClient {
49
49
  });
50
50
  if (_response.ok) {
51
51
  return {
52
- data: serializers.newSectionVersions.list.Response.parseOrThrow(_response.body, {
52
+ data: serializers.alphaSectionVersions.list.Response.parseOrThrow(_response.body, {
53
53
  unrecognizedObjectKeys: "passthrough",
54
54
  allowUnrecognizedUnionMembers: true,
55
55
  allowUnrecognizedEnumValues: true,
@@ -77,13 +77,13 @@ export class NewSectionVersionsClient {
77
77
  /**
78
78
  * @param {string} sectionID
79
79
  * @param {Corti.SectionGeneration} request
80
- * @param {NewSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
80
+ * @param {AlphaSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
81
81
  *
82
82
  * @throws {@link Corti.BadRequestError}
83
83
  * @throws {@link Corti.NotFoundError}
84
84
  *
85
85
  * @example
86
- * await client.newSectionVersions.create("sectionID", {
86
+ * await client.alphaSectionVersions.create("sectionID", {
87
87
  * title: "title",
88
88
  * instructions: {
89
89
  * contentPrompt: "contentPrompt",
@@ -151,12 +151,12 @@ export class NewSectionVersionsClient {
151
151
  /**
152
152
  * @param {string} sectionID
153
153
  * @param {string} versionID
154
- * @param {NewSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
154
+ * @param {AlphaSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
155
155
  *
156
156
  * @throws {@link Corti.NotFoundError}
157
157
  *
158
158
  * @example
159
- * await client.newSectionVersions.get("sectionID", "versionID")
159
+ * await client.alphaSectionVersions.get("sectionID", "versionID")
160
160
  */
161
161
  get(sectionID, versionID, requestOptions) {
162
162
  return core.HttpResponsePromise.fromPromise(this.__get(sectionID, versionID, requestOptions));
@@ -207,12 +207,12 @@ export class NewSectionVersionsClient {
207
207
  /**
208
208
  * @param {string} sectionID
209
209
  * @param {string} versionID
210
- * @param {NewSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
210
+ * @param {AlphaSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
211
211
  *
212
212
  * @throws {@link Corti.NotFoundError}
213
213
  *
214
214
  * @example
215
- * await client.newSectionVersions.delete("sectionID", "versionID")
215
+ * await client.alphaSectionVersions.delete("sectionID", "versionID")
216
216
  */
217
217
  delete(sectionID, versionID, requestOptions) {
218
218
  return core.HttpResponsePromise.fromPromise(this.__delete(sectionID, versionID, requestOptions));
@@ -256,12 +256,12 @@ export class NewSectionVersionsClient {
256
256
  *
257
257
  * @param {string} sectionID
258
258
  * @param {string} versionID
259
- * @param {NewSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
259
+ * @param {AlphaSectionVersionsClient.RequestOptions} requestOptions - Request-specific configuration.
260
260
  *
261
261
  * @throws {@link Corti.NotFoundError}
262
262
  *
263
263
  * @example
264
- * await client.newSectionVersions.publish("sectionID", "versionID")
264
+ * await client.alphaSectionVersions.publish("sectionID", "versionID")
265
265
  */
266
266
  publish(sectionID, versionID, requestOptions) {
267
267
  return core.HttpResponsePromise.fromPromise(this.__publish(sectionID, versionID, requestOptions));