@corti/sdk 1.2.0-templates-beta.4 → 2.0.0-rc

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 (339) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/Client.d.ts +0 -12
  3. package/dist/cjs/Client.js +10 -30
  4. package/dist/cjs/api/resources/index.d.ts +0 -7
  5. package/dist/cjs/api/resources/index.js +1 -8
  6. package/dist/cjs/api/types/index.d.ts +0 -17
  7. package/dist/cjs/api/types/index.js +0 -17
  8. package/dist/cjs/custom/CortiClient.js +2 -2
  9. package/dist/cjs/custom/auth/CortiAuth.js +2 -2
  10. package/dist/cjs/custom/stream/CustomStream.js +2 -2
  11. package/dist/cjs/custom/transcribe/CustomTranscribe.js +3 -3
  12. package/dist/cjs/serialization/resources/index.d.ts +0 -7
  13. package/dist/cjs/serialization/resources/index.js +1 -8
  14. package/dist/cjs/serialization/types/index.d.ts +0 -17
  15. package/dist/cjs/serialization/types/index.js +0 -17
  16. package/dist/cjs/version.d.ts +1 -1
  17. package/dist/cjs/version.js +1 -1
  18. package/dist/esm/BaseClient.mjs +2 -2
  19. package/dist/esm/Client.d.mts +0 -12
  20. package/dist/esm/Client.mjs +0 -20
  21. package/dist/esm/api/resources/index.d.mts +0 -7
  22. package/dist/esm/api/resources/index.mjs +0 -7
  23. package/dist/esm/api/types/index.d.mts +0 -17
  24. package/dist/esm/api/types/index.mjs +0 -17
  25. package/dist/esm/custom/CortiClient.mjs +2 -2
  26. package/dist/esm/custom/auth/CortiAuth.mjs +2 -2
  27. package/dist/esm/custom/stream/CustomStream.mjs +2 -2
  28. package/dist/esm/custom/transcribe/CustomTranscribe.mjs +3 -3
  29. package/dist/esm/serialization/resources/index.d.mts +0 -7
  30. package/dist/esm/serialization/resources/index.mjs +0 -7
  31. package/dist/esm/serialization/types/index.d.mts +0 -17
  32. package/dist/esm/serialization/types/index.mjs +0 -17
  33. package/dist/esm/version.d.mts +1 -1
  34. package/dist/esm/version.mjs +1 -1
  35. package/package.json +1 -1
  36. package/dist/cjs/api/resources/newSectionVersions/client/Client.d.ts +0 -81
  37. package/dist/cjs/api/resources/newSectionVersions/client/Client.js +0 -346
  38. package/dist/cjs/api/resources/newSectionVersions/client/index.d.ts +0 -1
  39. package/dist/cjs/api/resources/newSectionVersions/client/index.js +0 -2
  40. package/dist/cjs/api/resources/newSectionVersions/index.d.ts +0 -1
  41. package/dist/cjs/api/resources/newSectionVersions/index.js +0 -17
  42. package/dist/cjs/api/resources/newSections/client/Client.d.ts +0 -78
  43. package/dist/cjs/api/resources/newSections/client/Client.js +0 -350
  44. package/dist/cjs/api/resources/newSections/client/index.d.ts +0 -1
  45. package/dist/cjs/api/resources/newSections/client/index.js +0 -17
  46. package/dist/cjs/api/resources/newSections/client/requests/CreateSectionRequest.d.ts +0 -30
  47. package/dist/cjs/api/resources/newSections/client/requests/CreateSectionRequest.js +0 -3
  48. package/dist/cjs/api/resources/newSections/client/requests/ListNewSectionsRequest.d.ts +0 -12
  49. package/dist/cjs/api/resources/newSections/client/requests/ListNewSectionsRequest.js +0 -3
  50. package/dist/cjs/api/resources/newSections/client/requests/UpdateSectionRequest.d.ts +0 -10
  51. package/dist/cjs/api/resources/newSections/client/requests/UpdateSectionRequest.js +0 -3
  52. package/dist/cjs/api/resources/newSections/client/requests/index.d.ts +0 -3
  53. package/dist/cjs/api/resources/newSections/client/requests/index.js +0 -2
  54. package/dist/cjs/api/resources/newSections/index.d.ts +0 -1
  55. package/dist/cjs/api/resources/newSections/index.js +0 -17
  56. package/dist/cjs/api/resources/newTemplateVersions/client/Client.d.ts +0 -75
  57. package/dist/cjs/api/resources/newTemplateVersions/client/Client.js +0 -340
  58. package/dist/cjs/api/resources/newTemplateVersions/client/index.d.ts +0 -1
  59. package/dist/cjs/api/resources/newTemplateVersions/client/index.js +0 -17
  60. package/dist/cjs/api/resources/newTemplateVersions/client/requests/CreateTemplateVersionRequest.d.ts +0 -9
  61. package/dist/cjs/api/resources/newTemplateVersions/client/requests/CreateTemplateVersionRequest.js +0 -3
  62. package/dist/cjs/api/resources/newTemplateVersions/client/requests/index.d.ts +0 -1
  63. package/dist/cjs/api/resources/newTemplateVersions/client/requests/index.js +0 -2
  64. package/dist/cjs/api/resources/newTemplateVersions/index.d.ts +0 -1
  65. package/dist/cjs/api/resources/newTemplateVersions/index.js +0 -17
  66. package/dist/cjs/api/resources/newTemplates/client/Client.d.ts +0 -71
  67. package/dist/cjs/api/resources/newTemplates/client/Client.js +0 -343
  68. package/dist/cjs/api/resources/newTemplates/client/index.d.ts +0 -1
  69. package/dist/cjs/api/resources/newTemplates/client/index.js +0 -17
  70. package/dist/cjs/api/resources/newTemplates/client/requests/CreateTemplateRequest.d.ts +0 -24
  71. package/dist/cjs/api/resources/newTemplates/client/requests/CreateTemplateRequest.js +0 -3
  72. package/dist/cjs/api/resources/newTemplates/client/requests/ListNewTemplatesRequest.d.ts +0 -12
  73. package/dist/cjs/api/resources/newTemplates/client/requests/ListNewTemplatesRequest.js +0 -3
  74. package/dist/cjs/api/resources/newTemplates/client/requests/UpdateTemplateRequest.d.ts +0 -10
  75. package/dist/cjs/api/resources/newTemplates/client/requests/UpdateTemplateRequest.js +0 -3
  76. package/dist/cjs/api/resources/newTemplates/client/requests/index.d.ts +0 -3
  77. package/dist/cjs/api/resources/newTemplates/client/requests/index.js +0 -2
  78. package/dist/cjs/api/resources/newTemplates/index.d.ts +0 -1
  79. package/dist/cjs/api/resources/newTemplates/index.js +0 -17
  80. package/dist/cjs/api/types/BoolNode.d.ts +0 -7
  81. package/dist/cjs/api/types/BoolNode.js +0 -3
  82. package/dist/cjs/api/types/CreateSectionVersionRequest.d.ts +0 -7
  83. package/dist/cjs/api/types/CreateSectionVersionRequest.js +0 -3
  84. package/dist/cjs/api/types/DictNode.d.ts +0 -12
  85. package/dist/cjs/api/types/DictNode.js +0 -3
  86. package/dist/cjs/api/types/FieldDefinition.d.ts +0 -8
  87. package/dist/cjs/api/types/FieldDefinition.js +0 -3
  88. package/dist/cjs/api/types/FloatNode.d.ts +0 -13
  89. package/dist/cjs/api/types/FloatNode.js +0 -3
  90. package/dist/cjs/api/types/IntegerNode.d.ts +0 -13
  91. package/dist/cjs/api/types/IntegerNode.js +0 -3
  92. package/dist/cjs/api/types/ListNode.d.ts +0 -13
  93. package/dist/cjs/api/types/ListNode.js +0 -3
  94. package/dist/cjs/api/types/OutputSchema.d.ts +0 -2
  95. package/dist/cjs/api/types/OutputSchema.js +0 -3
  96. package/dist/cjs/api/types/Section.d.ts +0 -21
  97. package/dist/cjs/api/types/Section.js +0 -3
  98. package/dist/cjs/api/types/SectionInstructions.d.ts +0 -6
  99. package/dist/cjs/api/types/SectionInstructions.js +0 -3
  100. package/dist/cjs/api/types/SectionVersion.d.ts +0 -12
  101. package/dist/cjs/api/types/SectionVersion.js +0 -3
  102. package/dist/cjs/api/types/StatusResponse.d.ts +0 -3
  103. package/dist/cjs/api/types/StatusResponse.js +0 -3
  104. package/dist/cjs/api/types/StringNode.d.ts +0 -11
  105. package/dist/cjs/api/types/StringNode.js +0 -3
  106. package/dist/cjs/api/types/Template.d.ts +0 -22
  107. package/dist/cjs/api/types/Template.js +0 -3
  108. package/dist/cjs/api/types/TemplateInstructions.d.ts +0 -4
  109. package/dist/cjs/api/types/TemplateInstructions.js +0 -3
  110. package/dist/cjs/api/types/TemplateVersion.d.ts +0 -10
  111. package/dist/cjs/api/types/TemplateVersion.js +0 -3
  112. package/dist/cjs/api/types/TemplateVersionSectionRequest.d.ts +0 -7
  113. package/dist/cjs/api/types/TemplateVersionSectionRequest.js +0 -3
  114. package/dist/cjs/serialization/resources/newSectionVersions/client/index.d.ts +0 -1
  115. package/dist/cjs/serialization/resources/newSectionVersions/client/index.js +0 -37
  116. package/dist/cjs/serialization/resources/newSectionVersions/client/list.d.ts +0 -8
  117. package/dist/cjs/serialization/resources/newSectionVersions/client/list.js +0 -40
  118. package/dist/cjs/serialization/resources/newSectionVersions/index.d.ts +0 -1
  119. package/dist/cjs/serialization/resources/newSectionVersions/index.js +0 -17
  120. package/dist/cjs/serialization/resources/newSections/client/index.d.ts +0 -2
  121. package/dist/cjs/serialization/resources/newSections/client/index.js +0 -41
  122. package/dist/cjs/serialization/resources/newSections/client/list.d.ts +0 -8
  123. package/dist/cjs/serialization/resources/newSections/client/list.js +0 -40
  124. package/dist/cjs/serialization/resources/newSections/client/requests/CreateSectionRequest.d.ts +0 -16
  125. package/dist/cjs/serialization/resources/newSections/client/requests/CreateSectionRequest.js +0 -48
  126. package/dist/cjs/serialization/resources/newSections/client/requests/UpdateSectionRequest.d.ts +0 -12
  127. package/dist/cjs/serialization/resources/newSections/client/requests/UpdateSectionRequest.js +0 -44
  128. package/dist/cjs/serialization/resources/newSections/client/requests/index.d.ts +0 -2
  129. package/dist/cjs/serialization/resources/newSections/client/requests/index.js +0 -7
  130. package/dist/cjs/serialization/resources/newSections/index.d.ts +0 -1
  131. package/dist/cjs/serialization/resources/newSections/index.js +0 -17
  132. package/dist/cjs/serialization/resources/newTemplateVersions/client/index.d.ts +0 -2
  133. package/dist/cjs/serialization/resources/newTemplateVersions/client/index.js +0 -41
  134. package/dist/cjs/serialization/resources/newTemplateVersions/client/list.d.ts +0 -8
  135. package/dist/cjs/serialization/resources/newTemplateVersions/client/list.js +0 -40
  136. package/dist/cjs/serialization/resources/newTemplateVersions/client/requests/CreateTemplateVersionRequest.d.ts +0 -12
  137. package/dist/cjs/serialization/resources/newTemplateVersions/client/requests/CreateTemplateVersionRequest.js +0 -44
  138. package/dist/cjs/serialization/resources/newTemplateVersions/client/requests/index.d.ts +0 -1
  139. package/dist/cjs/serialization/resources/newTemplateVersions/client/requests/index.js +0 -5
  140. package/dist/cjs/serialization/resources/newTemplateVersions/index.d.ts +0 -1
  141. package/dist/cjs/serialization/resources/newTemplateVersions/index.js +0 -17
  142. package/dist/cjs/serialization/resources/newTemplates/client/index.d.ts +0 -2
  143. package/dist/cjs/serialization/resources/newTemplates/client/index.js +0 -41
  144. package/dist/cjs/serialization/resources/newTemplates/client/list.d.ts +0 -8
  145. package/dist/cjs/serialization/resources/newTemplates/client/list.js +0 -40
  146. package/dist/cjs/serialization/resources/newTemplates/client/requests/CreateTemplateRequest.d.ts +0 -18
  147. package/dist/cjs/serialization/resources/newTemplates/client/requests/CreateTemplateRequest.js +0 -50
  148. package/dist/cjs/serialization/resources/newTemplates/client/requests/UpdateTemplateRequest.d.ts +0 -12
  149. package/dist/cjs/serialization/resources/newTemplates/client/requests/UpdateTemplateRequest.js +0 -44
  150. package/dist/cjs/serialization/resources/newTemplates/client/requests/index.d.ts +0 -2
  151. package/dist/cjs/serialization/resources/newTemplates/client/requests/index.js +0 -7
  152. package/dist/cjs/serialization/resources/newTemplates/index.d.ts +0 -1
  153. package/dist/cjs/serialization/resources/newTemplates/index.js +0 -17
  154. package/dist/cjs/serialization/types/BoolNode.d.ts +0 -11
  155. package/dist/cjs/serialization/types/BoolNode.js +0 -43
  156. package/dist/cjs/serialization/types/CreateSectionVersionRequest.d.ts +0 -12
  157. package/dist/cjs/serialization/types/CreateSectionVersionRequest.js +0 -45
  158. package/dist/cjs/serialization/types/DictNode.d.ts +0 -13
  159. package/dist/cjs/serialization/types/DictNode.js +0 -46
  160. package/dist/cjs/serialization/types/FieldDefinition.d.ts +0 -11
  161. package/dist/cjs/serialization/types/FieldDefinition.js +0 -44
  162. package/dist/cjs/serialization/types/FloatNode.d.ts +0 -14
  163. package/dist/cjs/serialization/types/FloatNode.js +0 -46
  164. package/dist/cjs/serialization/types/IntegerNode.d.ts +0 -14
  165. package/dist/cjs/serialization/types/IntegerNode.js +0 -46
  166. package/dist/cjs/serialization/types/ListNode.d.ts +0 -14
  167. package/dist/cjs/serialization/types/ListNode.js +0 -47
  168. package/dist/cjs/serialization/types/OutputSchema.d.ts +0 -11
  169. package/dist/cjs/serialization/types/OutputSchema.js +0 -51
  170. package/dist/cjs/serialization/types/Section.d.ts +0 -18
  171. package/dist/cjs/serialization/types/Section.js +0 -50
  172. package/dist/cjs/serialization/types/SectionInstructions.d.ts +0 -10
  173. package/dist/cjs/serialization/types/SectionInstructions.js +0 -42
  174. package/dist/cjs/serialization/types/SectionVersion.d.ts +0 -14
  175. package/dist/cjs/serialization/types/SectionVersion.js +0 -47
  176. package/dist/cjs/serialization/types/StatusResponse.d.ts +0 -9
  177. package/dist/cjs/serialization/types/StatusResponse.js +0 -41
  178. package/dist/cjs/serialization/types/StringNode.d.ts +0 -13
  179. package/dist/cjs/serialization/types/StringNode.js +0 -45
  180. package/dist/cjs/serialization/types/Template.d.ts +0 -19
  181. package/dist/cjs/serialization/types/Template.js +0 -51
  182. package/dist/cjs/serialization/types/TemplateInstructions.d.ts +0 -9
  183. package/dist/cjs/serialization/types/TemplateInstructions.js +0 -41
  184. package/dist/cjs/serialization/types/TemplateVersion.d.ts +0 -14
  185. package/dist/cjs/serialization/types/TemplateVersion.js +0 -46
  186. package/dist/cjs/serialization/types/TemplateVersionSectionRequest.d.ts +0 -11
  187. package/dist/cjs/serialization/types/TemplateVersionSectionRequest.js +0 -43
  188. package/dist/esm/api/resources/newSectionVersions/client/Client.d.mts +0 -81
  189. package/dist/esm/api/resources/newSectionVersions/client/Client.mjs +0 -309
  190. package/dist/esm/api/resources/newSectionVersions/client/index.d.mts +0 -1
  191. package/dist/esm/api/resources/newSectionVersions/client/index.mjs +0 -1
  192. package/dist/esm/api/resources/newSectionVersions/index.d.mts +0 -1
  193. package/dist/esm/api/resources/newSectionVersions/index.mjs +0 -1
  194. package/dist/esm/api/resources/newSections/client/Client.d.mts +0 -78
  195. package/dist/esm/api/resources/newSections/client/Client.mjs +0 -313
  196. package/dist/esm/api/resources/newSections/client/index.d.mts +0 -1
  197. package/dist/esm/api/resources/newSections/client/index.mjs +0 -1
  198. package/dist/esm/api/resources/newSections/client/requests/CreateSectionRequest.d.mts +0 -30
  199. package/dist/esm/api/resources/newSections/client/requests/CreateSectionRequest.mjs +0 -2
  200. package/dist/esm/api/resources/newSections/client/requests/ListNewSectionsRequest.d.mts +0 -12
  201. package/dist/esm/api/resources/newSections/client/requests/ListNewSectionsRequest.mjs +0 -2
  202. package/dist/esm/api/resources/newSections/client/requests/UpdateSectionRequest.d.mts +0 -10
  203. package/dist/esm/api/resources/newSections/client/requests/UpdateSectionRequest.mjs +0 -2
  204. package/dist/esm/api/resources/newSections/client/requests/index.d.mts +0 -3
  205. package/dist/esm/api/resources/newSections/client/requests/index.mjs +0 -1
  206. package/dist/esm/api/resources/newSections/index.d.mts +0 -1
  207. package/dist/esm/api/resources/newSections/index.mjs +0 -1
  208. package/dist/esm/api/resources/newTemplateVersions/client/Client.d.mts +0 -75
  209. package/dist/esm/api/resources/newTemplateVersions/client/Client.mjs +0 -303
  210. package/dist/esm/api/resources/newTemplateVersions/client/index.d.mts +0 -1
  211. package/dist/esm/api/resources/newTemplateVersions/client/index.mjs +0 -1
  212. package/dist/esm/api/resources/newTemplateVersions/client/requests/CreateTemplateVersionRequest.d.mts +0 -9
  213. package/dist/esm/api/resources/newTemplateVersions/client/requests/CreateTemplateVersionRequest.mjs +0 -2
  214. package/dist/esm/api/resources/newTemplateVersions/client/requests/index.d.mts +0 -1
  215. package/dist/esm/api/resources/newTemplateVersions/client/requests/index.mjs +0 -1
  216. package/dist/esm/api/resources/newTemplateVersions/index.d.mts +0 -1
  217. package/dist/esm/api/resources/newTemplateVersions/index.mjs +0 -1
  218. package/dist/esm/api/resources/newTemplates/client/Client.d.mts +0 -71
  219. package/dist/esm/api/resources/newTemplates/client/Client.mjs +0 -306
  220. package/dist/esm/api/resources/newTemplates/client/index.d.mts +0 -1
  221. package/dist/esm/api/resources/newTemplates/client/index.mjs +0 -1
  222. package/dist/esm/api/resources/newTemplates/client/requests/CreateTemplateRequest.d.mts +0 -24
  223. package/dist/esm/api/resources/newTemplates/client/requests/CreateTemplateRequest.mjs +0 -2
  224. package/dist/esm/api/resources/newTemplates/client/requests/ListNewTemplatesRequest.d.mts +0 -12
  225. package/dist/esm/api/resources/newTemplates/client/requests/ListNewTemplatesRequest.mjs +0 -2
  226. package/dist/esm/api/resources/newTemplates/client/requests/UpdateTemplateRequest.d.mts +0 -10
  227. package/dist/esm/api/resources/newTemplates/client/requests/UpdateTemplateRequest.mjs +0 -2
  228. package/dist/esm/api/resources/newTemplates/client/requests/index.d.mts +0 -3
  229. package/dist/esm/api/resources/newTemplates/client/requests/index.mjs +0 -1
  230. package/dist/esm/api/resources/newTemplates/index.d.mts +0 -1
  231. package/dist/esm/api/resources/newTemplates/index.mjs +0 -1
  232. package/dist/esm/api/types/BoolNode.d.mts +0 -7
  233. package/dist/esm/api/types/BoolNode.mjs +0 -2
  234. package/dist/esm/api/types/CreateSectionVersionRequest.d.mts +0 -7
  235. package/dist/esm/api/types/CreateSectionVersionRequest.mjs +0 -2
  236. package/dist/esm/api/types/DictNode.d.mts +0 -12
  237. package/dist/esm/api/types/DictNode.mjs +0 -2
  238. package/dist/esm/api/types/FieldDefinition.d.mts +0 -8
  239. package/dist/esm/api/types/FieldDefinition.mjs +0 -2
  240. package/dist/esm/api/types/FloatNode.d.mts +0 -13
  241. package/dist/esm/api/types/FloatNode.mjs +0 -2
  242. package/dist/esm/api/types/IntegerNode.d.mts +0 -13
  243. package/dist/esm/api/types/IntegerNode.mjs +0 -2
  244. package/dist/esm/api/types/ListNode.d.mts +0 -13
  245. package/dist/esm/api/types/ListNode.mjs +0 -2
  246. package/dist/esm/api/types/OutputSchema.d.mts +0 -2
  247. package/dist/esm/api/types/OutputSchema.mjs +0 -2
  248. package/dist/esm/api/types/Section.d.mts +0 -21
  249. package/dist/esm/api/types/Section.mjs +0 -2
  250. package/dist/esm/api/types/SectionInstructions.d.mts +0 -6
  251. package/dist/esm/api/types/SectionInstructions.mjs +0 -2
  252. package/dist/esm/api/types/SectionVersion.d.mts +0 -12
  253. package/dist/esm/api/types/SectionVersion.mjs +0 -2
  254. package/dist/esm/api/types/StatusResponse.d.mts +0 -3
  255. package/dist/esm/api/types/StatusResponse.mjs +0 -2
  256. package/dist/esm/api/types/StringNode.d.mts +0 -11
  257. package/dist/esm/api/types/StringNode.mjs +0 -2
  258. package/dist/esm/api/types/Template.d.mts +0 -22
  259. package/dist/esm/api/types/Template.mjs +0 -2
  260. package/dist/esm/api/types/TemplateInstructions.d.mts +0 -4
  261. package/dist/esm/api/types/TemplateInstructions.mjs +0 -2
  262. package/dist/esm/api/types/TemplateVersion.d.mts +0 -10
  263. package/dist/esm/api/types/TemplateVersion.mjs +0 -2
  264. package/dist/esm/api/types/TemplateVersionSectionRequest.d.mts +0 -7
  265. package/dist/esm/api/types/TemplateVersionSectionRequest.mjs +0 -2
  266. package/dist/esm/serialization/resources/newSectionVersions/client/index.d.mts +0 -1
  267. package/dist/esm/serialization/resources/newSectionVersions/client/index.mjs +0 -1
  268. package/dist/esm/serialization/resources/newSectionVersions/client/list.d.mts +0 -8
  269. package/dist/esm/serialization/resources/newSectionVersions/client/list.mjs +0 -4
  270. package/dist/esm/serialization/resources/newSectionVersions/index.d.mts +0 -1
  271. package/dist/esm/serialization/resources/newSectionVersions/index.mjs +0 -1
  272. package/dist/esm/serialization/resources/newSections/client/index.d.mts +0 -2
  273. package/dist/esm/serialization/resources/newSections/client/index.mjs +0 -2
  274. package/dist/esm/serialization/resources/newSections/client/list.d.mts +0 -8
  275. package/dist/esm/serialization/resources/newSections/client/list.mjs +0 -4
  276. package/dist/esm/serialization/resources/newSections/client/requests/CreateSectionRequest.d.mts +0 -16
  277. package/dist/esm/serialization/resources/newSections/client/requests/CreateSectionRequest.mjs +0 -12
  278. package/dist/esm/serialization/resources/newSections/client/requests/UpdateSectionRequest.d.mts +0 -12
  279. package/dist/esm/serialization/resources/newSections/client/requests/UpdateSectionRequest.mjs +0 -8
  280. package/dist/esm/serialization/resources/newSections/client/requests/index.d.mts +0 -2
  281. package/dist/esm/serialization/resources/newSections/client/requests/index.mjs +0 -2
  282. package/dist/esm/serialization/resources/newSections/index.d.mts +0 -1
  283. package/dist/esm/serialization/resources/newSections/index.mjs +0 -1
  284. package/dist/esm/serialization/resources/newTemplateVersions/client/index.d.mts +0 -2
  285. package/dist/esm/serialization/resources/newTemplateVersions/client/index.mjs +0 -2
  286. package/dist/esm/serialization/resources/newTemplateVersions/client/list.d.mts +0 -8
  287. package/dist/esm/serialization/resources/newTemplateVersions/client/list.mjs +0 -4
  288. package/dist/esm/serialization/resources/newTemplateVersions/client/requests/CreateTemplateVersionRequest.d.mts +0 -12
  289. package/dist/esm/serialization/resources/newTemplateVersions/client/requests/CreateTemplateVersionRequest.mjs +0 -8
  290. package/dist/esm/serialization/resources/newTemplateVersions/client/requests/index.d.mts +0 -1
  291. package/dist/esm/serialization/resources/newTemplateVersions/client/requests/index.mjs +0 -1
  292. package/dist/esm/serialization/resources/newTemplateVersions/index.d.mts +0 -1
  293. package/dist/esm/serialization/resources/newTemplateVersions/index.mjs +0 -1
  294. package/dist/esm/serialization/resources/newTemplates/client/index.d.mts +0 -2
  295. package/dist/esm/serialization/resources/newTemplates/client/index.mjs +0 -2
  296. package/dist/esm/serialization/resources/newTemplates/client/list.d.mts +0 -8
  297. package/dist/esm/serialization/resources/newTemplates/client/list.mjs +0 -4
  298. package/dist/esm/serialization/resources/newTemplates/client/requests/CreateTemplateRequest.d.mts +0 -18
  299. package/dist/esm/serialization/resources/newTemplates/client/requests/CreateTemplateRequest.mjs +0 -14
  300. package/dist/esm/serialization/resources/newTemplates/client/requests/UpdateTemplateRequest.d.mts +0 -12
  301. package/dist/esm/serialization/resources/newTemplates/client/requests/UpdateTemplateRequest.mjs +0 -8
  302. package/dist/esm/serialization/resources/newTemplates/client/requests/index.d.mts +0 -2
  303. package/dist/esm/serialization/resources/newTemplates/client/requests/index.mjs +0 -2
  304. package/dist/esm/serialization/resources/newTemplates/index.d.mts +0 -1
  305. package/dist/esm/serialization/resources/newTemplates/index.mjs +0 -1
  306. package/dist/esm/serialization/types/BoolNode.d.mts +0 -11
  307. package/dist/esm/serialization/types/BoolNode.mjs +0 -7
  308. package/dist/esm/serialization/types/CreateSectionVersionRequest.d.mts +0 -12
  309. package/dist/esm/serialization/types/CreateSectionVersionRequest.mjs +0 -9
  310. package/dist/esm/serialization/types/DictNode.d.mts +0 -13
  311. package/dist/esm/serialization/types/DictNode.mjs +0 -10
  312. package/dist/esm/serialization/types/FieldDefinition.d.mts +0 -11
  313. package/dist/esm/serialization/types/FieldDefinition.mjs +0 -8
  314. package/dist/esm/serialization/types/FloatNode.d.mts +0 -14
  315. package/dist/esm/serialization/types/FloatNode.mjs +0 -10
  316. package/dist/esm/serialization/types/IntegerNode.d.mts +0 -14
  317. package/dist/esm/serialization/types/IntegerNode.mjs +0 -10
  318. package/dist/esm/serialization/types/ListNode.d.mts +0 -14
  319. package/dist/esm/serialization/types/ListNode.mjs +0 -11
  320. package/dist/esm/serialization/types/OutputSchema.d.mts +0 -11
  321. package/dist/esm/serialization/types/OutputSchema.mjs +0 -15
  322. package/dist/esm/serialization/types/Section.d.mts +0 -18
  323. package/dist/esm/serialization/types/Section.mjs +0 -14
  324. package/dist/esm/serialization/types/SectionInstructions.d.mts +0 -10
  325. package/dist/esm/serialization/types/SectionInstructions.mjs +0 -6
  326. package/dist/esm/serialization/types/SectionVersion.d.mts +0 -14
  327. package/dist/esm/serialization/types/SectionVersion.mjs +0 -11
  328. package/dist/esm/serialization/types/StatusResponse.d.mts +0 -9
  329. package/dist/esm/serialization/types/StatusResponse.mjs +0 -5
  330. package/dist/esm/serialization/types/StringNode.d.mts +0 -13
  331. package/dist/esm/serialization/types/StringNode.mjs +0 -9
  332. package/dist/esm/serialization/types/Template.d.mts +0 -19
  333. package/dist/esm/serialization/types/Template.mjs +0 -15
  334. package/dist/esm/serialization/types/TemplateInstructions.d.mts +0 -9
  335. package/dist/esm/serialization/types/TemplateInstructions.mjs +0 -5
  336. package/dist/esm/serialization/types/TemplateVersion.d.mts +0 -14
  337. package/dist/esm/serialization/types/TemplateVersion.mjs +0 -10
  338. package/dist/esm/serialization/types/TemplateVersionSectionRequest.d.mts +0 -11
  339. package/dist/esm/serialization/types/TemplateVersionSectionRequest.mjs +0 -7
@@ -1,12 +0,0 @@
1
- import type * as Corti from "../index.js";
2
- export interface SectionVersion {
3
- /** The UUID of the section version. */
4
- id: string;
5
- /** Starts a 0 and auto-increments. */
6
- versionNumber: number;
7
- /** The title of this section. Passed to the LLM. */
8
- title: string;
9
- /** The prompt instructions for this section. */
10
- instructions: Corti.SectionInstructions;
11
- outputSchema: Corti.OutputSchema;
12
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +0,0 @@
1
- export interface StatusResponse {
2
- status: string;
3
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,11 +0,0 @@
1
- export interface StringNode {
2
- type: "string";
3
- /** Can be used to prompt the LLM with more guidance in addition to the section.instructions */
4
- description?: string;
5
- /** The default to output if nothing to output. */
6
- default?: string | null;
7
- /** Can be used to prompt the LLM with specific values to output. */
8
- enum?: string[];
9
- /** Can be used to prompt the LLM for a specific output pattern. */
10
- pattern?: string | null;
11
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,22 +0,0 @@
1
- import type * as Corti from "../index.js";
2
- export interface Template {
3
- /** The UUID of the template. */
4
- id: string;
5
- /** Reference to the template to inherit template instructions and sections from. Inherits from published version by default. */
6
- inheritedFromId?: string | null;
7
- /** True if the template was auto-generated based on the section-composed POST /documents request. */
8
- autoGenerated?: boolean;
9
- /** The name of this template. Not passed to the LLM. */
10
- name: string;
11
- /** A description for this template. Not passed to the LLM. */
12
- description?: string;
13
- /** The intended language as BCP 47 tag. Does not strictly have to match outputLanguage in POST /documents request. */
14
- language: string;
15
- /** The available labels to use as query param filter in the LIST /templates endpoint. */
16
- labels: string[];
17
- publishedVersion?: Corti.TemplateVersion;
18
- /** The original timestamp when the template was created. */
19
- createdAt: Date;
20
- /** The original timestamp when the template was last updated. */
21
- updatedAt: Date;
22
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- export interface TemplateInstructions {
2
- /** Template-level prompt instructions that apply generally to all sections. */
3
- prompt: string;
4
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +0,0 @@
1
- import type * as Corti from "../index.js";
2
- export interface TemplateVersion {
3
- /** The UUID of the version. */
4
- id: string;
5
- /** Starts a 0 and auto-increments. */
6
- versionNumber: number;
7
- instructions: Corti.TemplateInstructions;
8
- /** Populated only on GET /new/templates/{id}/versions/{versionID} */
9
- sections?: Corti.Section[];
10
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- export interface TemplateVersionSectionRequest {
2
- sectionId: string;
3
- /** Can be used to pin the version of a section, else the latest published version is used in the resource. */
4
- pinnedVersionId?: string | null;
5
- /** Sets the order of this section within this template. Starts a 0. */
6
- orderIndex?: number;
7
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export * as list from "./list.js";
@@ -1,37 +0,0 @@
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
- Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.list = void 0;
37
- exports.list = __importStar(require("./list.js"));
@@ -1,8 +0,0 @@
1
- import type * as Corti from "../../../../api/index.js";
2
- import * as core from "../../../../core/index.js";
3
- import type * as serializers from "../../../index.js";
4
- import { SectionVersion } from "../../../types/SectionVersion.js";
5
- export declare const Response: core.serialization.Schema<serializers.newSectionVersions.list.Response.Raw, Corti.SectionVersion[]>;
6
- export declare namespace Response {
7
- type Raw = SectionVersion.Raw[];
8
- }
@@ -1,40 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
- if (k2 === undefined) k2 = k;
5
- var desc = Object.getOwnPropertyDescriptor(m, k);
6
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
- desc = { enumerable: true, get: function() { return m[k]; } };
8
- }
9
- Object.defineProperty(o, k2, desc);
10
- }) : (function(o, m, k, k2) {
11
- if (k2 === undefined) k2 = k;
12
- o[k2] = m[k];
13
- }));
14
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
- Object.defineProperty(o, "default", { enumerable: true, value: v });
16
- }) : function(o, v) {
17
- o["default"] = v;
18
- });
19
- var __importStar = (this && this.__importStar) || (function () {
20
- var ownKeys = function(o) {
21
- ownKeys = Object.getOwnPropertyNames || function (o) {
22
- var ar = [];
23
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
- return ar;
25
- };
26
- return ownKeys(o);
27
- };
28
- return function (mod) {
29
- if (mod && mod.__esModule) return mod;
30
- var result = {};
31
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
- __setModuleDefault(result, mod);
33
- return result;
34
- };
35
- })();
36
- Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.Response = void 0;
38
- const core = __importStar(require("../../../../core/index.js"));
39
- const SectionVersion_js_1 = require("../../../types/SectionVersion.js");
40
- exports.Response = core.serialization.list(SectionVersion_js_1.SectionVersion);
@@ -1 +0,0 @@
1
- export * from "./client/index.js";
@@ -1,17 +0,0 @@
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);
@@ -1,2 +0,0 @@
1
- export * as list from "./list.js";
2
- export * from "./requests/index.js";
@@ -1,41 +0,0 @@
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);
@@ -1,8 +0,0 @@
1
- import type * as Corti from "../../../../api/index.js";
2
- import * as core from "../../../../core/index.js";
3
- import type * as serializers from "../../../index.js";
4
- import { Section } from "../../../types/Section.js";
5
- export declare const Response: core.serialization.Schema<serializers.newSections.list.Response.Raw, Corti.Section[]>;
6
- export declare namespace Response {
7
- type Raw = Section.Raw[];
8
- }
@@ -1,40 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
- if (k2 === undefined) k2 = k;
5
- var desc = Object.getOwnPropertyDescriptor(m, k);
6
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
- desc = { enumerable: true, get: function() { return m[k]; } };
8
- }
9
- Object.defineProperty(o, k2, desc);
10
- }) : (function(o, m, k, k2) {
11
- if (k2 === undefined) k2 = k;
12
- o[k2] = m[k];
13
- }));
14
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
- Object.defineProperty(o, "default", { enumerable: true, value: v });
16
- }) : function(o, v) {
17
- o["default"] = v;
18
- });
19
- var __importStar = (this && this.__importStar) || (function () {
20
- var ownKeys = function(o) {
21
- ownKeys = Object.getOwnPropertyNames || function (o) {
22
- var ar = [];
23
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
- return ar;
25
- };
26
- return ownKeys(o);
27
- };
28
- return function (mod) {
29
- if (mod && mod.__esModule) return mod;
30
- var result = {};
31
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
- __setModuleDefault(result, mod);
33
- return result;
34
- };
35
- })();
36
- Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.Response = void 0;
38
- const core = __importStar(require("../../../../core/index.js"));
39
- const Section_js_1 = require("../../../types/Section.js");
40
- exports.Response = core.serialization.list(Section_js_1.Section);
@@ -1,16 +0,0 @@
1
- import type * as Corti from "../../../../../api/index.js";
2
- import * as core from "../../../../../core/index.js";
3
- import type * as serializers from "../../../../index.js";
4
- import { CreateSectionVersionRequest } from "../../../../types/CreateSectionVersionRequest.js";
5
- export declare const CreateSectionRequest: core.serialization.Schema<serializers.CreateSectionRequest.Raw, Corti.CreateSectionRequest>;
6
- export declare namespace CreateSectionRequest {
7
- interface Raw {
8
- name: string;
9
- language: string;
10
- description?: string | null;
11
- labels?: string[] | null;
12
- inheritFromId?: (string | null | undefined) | null;
13
- generation: CreateSectionVersionRequest.Raw;
14
- publish?: boolean | null;
15
- }
16
- }
@@ -1,48 +0,0 @@
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.CreateSectionRequest = void 0;
38
- const core = __importStar(require("../../../../../core/index.js"));
39
- const CreateSectionVersionRequest_js_1 = require("../../../../types/CreateSectionVersionRequest.js");
40
- exports.CreateSectionRequest = core.serialization.object({
41
- name: core.serialization.string(),
42
- language: core.serialization.string(),
43
- description: core.serialization.string().optional(),
44
- labels: core.serialization.list(core.serialization.string()).optional(),
45
- inheritFromId: core.serialization.string().optionalNullable(),
46
- generation: CreateSectionVersionRequest_js_1.CreateSectionVersionRequest,
47
- publish: core.serialization.boolean().optional(),
48
- });
@@ -1,12 +0,0 @@
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 UpdateSectionRequest: core.serialization.Schema<serializers.UpdateSectionRequest.Raw, Corti.UpdateSectionRequest>;
5
- export declare namespace UpdateSectionRequest {
6
- interface Raw {
7
- name?: string | null;
8
- language?: string | null;
9
- description?: string | null;
10
- labels?: string[] | null;
11
- }
12
- }
@@ -1,44 +0,0 @@
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.UpdateSectionRequest = void 0;
38
- const core = __importStar(require("../../../../../core/index.js"));
39
- exports.UpdateSectionRequest = core.serialization.object({
40
- name: core.serialization.string().optional(),
41
- language: core.serialization.string().optional(),
42
- description: core.serialization.string().optional(),
43
- labels: core.serialization.list(core.serialization.string()).optional(),
44
- });
@@ -1,2 +0,0 @@
1
- export { CreateSectionRequest } from "./CreateSectionRequest.js";
2
- export { UpdateSectionRequest } from "./UpdateSectionRequest.js";
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateSectionRequest = exports.CreateSectionRequest = void 0;
4
- var CreateSectionRequest_js_1 = require("./CreateSectionRequest.js");
5
- Object.defineProperty(exports, "CreateSectionRequest", { enumerable: true, get: function () { return CreateSectionRequest_js_1.CreateSectionRequest; } });
6
- var UpdateSectionRequest_js_1 = require("./UpdateSectionRequest.js");
7
- Object.defineProperty(exports, "UpdateSectionRequest", { enumerable: true, get: function () { return UpdateSectionRequest_js_1.UpdateSectionRequest; } });
@@ -1 +0,0 @@
1
- export * from "./client/index.js";
@@ -1,17 +0,0 @@
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);
@@ -1,2 +0,0 @@
1
- export * as list from "./list.js";
2
- export * from "./requests/index.js";
@@ -1,41 +0,0 @@
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);
@@ -1,8 +0,0 @@
1
- import type * as Corti from "../../../../api/index.js";
2
- import * as core from "../../../../core/index.js";
3
- import type * as serializers from "../../../index.js";
4
- import { TemplateVersion } from "../../../types/TemplateVersion.js";
5
- export declare const Response: core.serialization.Schema<serializers.newTemplateVersions.list.Response.Raw, Corti.TemplateVersion[]>;
6
- export declare namespace Response {
7
- type Raw = TemplateVersion.Raw[];
8
- }
@@ -1,40 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
- if (k2 === undefined) k2 = k;
5
- var desc = Object.getOwnPropertyDescriptor(m, k);
6
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
- desc = { enumerable: true, get: function() { return m[k]; } };
8
- }
9
- Object.defineProperty(o, k2, desc);
10
- }) : (function(o, m, k, k2) {
11
- if (k2 === undefined) k2 = k;
12
- o[k2] = m[k];
13
- }));
14
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
- Object.defineProperty(o, "default", { enumerable: true, value: v });
16
- }) : function(o, v) {
17
- o["default"] = v;
18
- });
19
- var __importStar = (this && this.__importStar) || (function () {
20
- var ownKeys = function(o) {
21
- ownKeys = Object.getOwnPropertyNames || function (o) {
22
- var ar = [];
23
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
- return ar;
25
- };
26
- return ownKeys(o);
27
- };
28
- return function (mod) {
29
- if (mod && mod.__esModule) return mod;
30
- var result = {};
31
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
- __setModuleDefault(result, mod);
33
- return result;
34
- };
35
- })();
36
- Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.Response = void 0;
38
- const core = __importStar(require("../../../../core/index.js"));
39
- const TemplateVersion_js_1 = require("../../../types/TemplateVersion.js");
40
- exports.Response = core.serialization.list(TemplateVersion_js_1.TemplateVersion);
@@ -1,12 +0,0 @@
1
- import type * as Corti from "../../../../../api/index.js";
2
- import * as core from "../../../../../core/index.js";
3
- import type * as serializers from "../../../../index.js";
4
- import { TemplateInstructions } from "../../../../types/TemplateInstructions.js";
5
- import { TemplateVersionSectionRequest } from "../../../../types/TemplateVersionSectionRequest.js";
6
- export declare const CreateTemplateVersionRequest: core.serialization.Schema<serializers.CreateTemplateVersionRequest.Raw, Corti.CreateTemplateVersionRequest>;
7
- export declare namespace CreateTemplateVersionRequest {
8
- interface Raw {
9
- instructions?: TemplateInstructions.Raw | null;
10
- sections?: TemplateVersionSectionRequest.Raw[] | null;
11
- }
12
- }