@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,14 +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 IntegerNode: core.serialization.ObjectSchema<serializers.IntegerNode.Raw, Corti.IntegerNode>;
5
- export declare namespace IntegerNode {
6
- interface Raw {
7
- type: "integer";
8
- description?: string | null;
9
- default?: (number | null | undefined) | null;
10
- enum?: number[] | null;
11
- minimum?: (number | null | undefined) | null;
12
- maximum?: (number | null | undefined) | null;
13
- }
14
- }
@@ -1,46 +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.IntegerNode = void 0;
38
- const core = __importStar(require("../../core/index.js"));
39
- exports.IntegerNode = core.serialization.object({
40
- type: core.serialization.stringLiteral("integer"),
41
- description: core.serialization.string().optional(),
42
- default: core.serialization.number().optionalNullable(),
43
- enum: core.serialization.list(core.serialization.number()).optional(),
44
- minimum: core.serialization.number().optionalNullable(),
45
- maximum: core.serialization.number().optionalNullable(),
46
- });
@@ -1,14 +0,0 @@
1
- import type * as Corti from "../../api/index.js";
2
- import * as core from "../../core/index.js";
3
- import * as serializers from "../index.js";
4
- export declare const ListNode: core.serialization.ObjectSchema<serializers.ListNode.Raw, Corti.ListNode>;
5
- export declare namespace ListNode {
6
- interface Raw {
7
- type: "list";
8
- description?: string | null;
9
- items: serializers.OutputSchema.Raw;
10
- itemFormat?: string | null;
11
- minItems?: (number | null | undefined) | null;
12
- maxItems?: (number | null | undefined) | null;
13
- }
14
- }
@@ -1,47 +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.ListNode = void 0;
38
- const core = __importStar(require("../../core/index.js"));
39
- const serializers = __importStar(require("../index.js"));
40
- exports.ListNode = core.serialization.object({
41
- type: core.serialization.stringLiteral("list"),
42
- description: core.serialization.string().optional(),
43
- items: core.serialization.lazy(() => serializers.OutputSchema),
44
- itemFormat: core.serialization.string().optional(),
45
- minItems: core.serialization.number().optionalNullable(),
46
- maxItems: core.serialization.number().optionalNullable(),
47
- });
@@ -1,11 +0,0 @@
1
- import type * as Corti from "../../api/index.js";
2
- import * as core from "../../core/index.js";
3
- import * as serializers from "../index.js";
4
- import { BoolNode } from "./BoolNode.js";
5
- import { FloatNode } from "./FloatNode.js";
6
- import { IntegerNode } from "./IntegerNode.js";
7
- import { StringNode } from "./StringNode.js";
8
- export declare const OutputSchema: core.serialization.Schema<serializers.OutputSchema.Raw, Corti.OutputSchema>;
9
- export declare namespace OutputSchema {
10
- type Raw = StringNode.Raw | IntegerNode.Raw | FloatNode.Raw | BoolNode.Raw | serializers.DictNode.Raw | serializers.ListNode.Raw;
11
- }
@@ -1,51 +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.OutputSchema = void 0;
38
- const core = __importStar(require("../../core/index.js"));
39
- const serializers = __importStar(require("../index.js"));
40
- const BoolNode_js_1 = require("./BoolNode.js");
41
- const FloatNode_js_1 = require("./FloatNode.js");
42
- const IntegerNode_js_1 = require("./IntegerNode.js");
43
- const StringNode_js_1 = require("./StringNode.js");
44
- exports.OutputSchema = core.serialization.undiscriminatedUnion([
45
- StringNode_js_1.StringNode,
46
- IntegerNode_js_1.IntegerNode,
47
- FloatNode_js_1.FloatNode,
48
- BoolNode_js_1.BoolNode,
49
- core.serialization.lazyObject(() => serializers.DictNode),
50
- core.serialization.lazyObject(() => serializers.ListNode),
51
- ]);
@@ -1,18 +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 "./SectionVersion.js";
5
- export declare const Section: core.serialization.ObjectSchema<serializers.Section.Raw, Corti.Section>;
6
- export declare namespace Section {
7
- interface Raw {
8
- id: string;
9
- inheritedFromId?: (string | null | undefined) | null;
10
- name: string;
11
- language: string;
12
- description?: string | null;
13
- labels: string[];
14
- publishedVersion?: SectionVersion.Raw | null;
15
- createdAt: string;
16
- updatedAt: string;
17
- }
18
- }
@@ -1,50 +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.Section = void 0;
38
- const core = __importStar(require("../../core/index.js"));
39
- const SectionVersion_js_1 = require("./SectionVersion.js");
40
- exports.Section = core.serialization.object({
41
- id: core.serialization.string(),
42
- inheritedFromId: core.serialization.string().optionalNullable(),
43
- name: core.serialization.string(),
44
- language: core.serialization.string(),
45
- description: core.serialization.string().optional(),
46
- labels: core.serialization.list(core.serialization.string()),
47
- publishedVersion: SectionVersion_js_1.SectionVersion.optional(),
48
- createdAt: core.serialization.date(),
49
- updatedAt: core.serialization.date(),
50
- });
@@ -1,10 +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 SectionInstructions: core.serialization.ObjectSchema<serializers.SectionInstructions.Raw, Corti.SectionInstructions>;
5
- export declare namespace SectionInstructions {
6
- interface Raw {
7
- contentPrompt: string;
8
- writingStylePrompt: string;
9
- }
10
- }
@@ -1,42 +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.SectionInstructions = void 0;
38
- const core = __importStar(require("../../core/index.js"));
39
- exports.SectionInstructions = core.serialization.object({
40
- contentPrompt: core.serialization.string(),
41
- writingStylePrompt: core.serialization.string(),
42
- });
@@ -1,14 +0,0 @@
1
- import type * as Corti from "../../api/index.js";
2
- import * as core from "../../core/index.js";
3
- import * as serializers from "../index.js";
4
- import { SectionInstructions } from "./SectionInstructions.js";
5
- export declare const SectionVersion: core.serialization.ObjectSchema<serializers.SectionVersion.Raw, Corti.SectionVersion>;
6
- export declare namespace SectionVersion {
7
- interface Raw {
8
- id: string;
9
- versionNumber: number;
10
- title: string;
11
- instructions: SectionInstructions.Raw;
12
- outputSchema: serializers.OutputSchema.Raw;
13
- }
14
- }
@@ -1,47 +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.SectionVersion = void 0;
38
- const core = __importStar(require("../../core/index.js"));
39
- const serializers = __importStar(require("../index.js"));
40
- const SectionInstructions_js_1 = require("./SectionInstructions.js");
41
- exports.SectionVersion = core.serialization.object({
42
- id: core.serialization.string(),
43
- versionNumber: core.serialization.number(),
44
- title: core.serialization.string(),
45
- instructions: SectionInstructions_js_1.SectionInstructions,
46
- outputSchema: core.serialization.lazy(() => serializers.OutputSchema),
47
- });
@@ -1,9 +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 StatusResponse: core.serialization.ObjectSchema<serializers.StatusResponse.Raw, Corti.StatusResponse>;
5
- export declare namespace StatusResponse {
6
- interface Raw {
7
- status: string;
8
- }
9
- }
@@ -1,41 +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.StatusResponse = void 0;
38
- const core = __importStar(require("../../core/index.js"));
39
- exports.StatusResponse = core.serialization.object({
40
- status: core.serialization.string(),
41
- });
@@ -1,13 +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 StringNode: core.serialization.ObjectSchema<serializers.StringNode.Raw, Corti.StringNode>;
5
- export declare namespace StringNode {
6
- interface Raw {
7
- type: "string";
8
- description?: string | null;
9
- default?: (string | null | undefined) | null;
10
- enum?: string[] | null;
11
- pattern?: (string | null | undefined) | null;
12
- }
13
- }
@@ -1,45 +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.StringNode = void 0;
38
- const core = __importStar(require("../../core/index.js"));
39
- exports.StringNode = core.serialization.object({
40
- type: core.serialization.stringLiteral("string"),
41
- description: core.serialization.string().optional(),
42
- default: core.serialization.string().optionalNullable(),
43
- enum: core.serialization.list(core.serialization.string()).optional(),
44
- pattern: core.serialization.string().optionalNullable(),
45
- });
@@ -1,19 +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 "./TemplateVersion.js";
5
- export declare const Template: core.serialization.ObjectSchema<serializers.Template.Raw, Corti.Template>;
6
- export declare namespace Template {
7
- interface Raw {
8
- id: string;
9
- inheritedFromId?: (string | null | undefined) | null;
10
- autoGenerated?: boolean | null;
11
- name: string;
12
- description?: string | null;
13
- language: string;
14
- labels: string[];
15
- publishedVersion?: TemplateVersion.Raw | null;
16
- createdAt: string;
17
- updatedAt: string;
18
- }
19
- }
@@ -1,51 +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.Template = void 0;
38
- const core = __importStar(require("../../core/index.js"));
39
- const TemplateVersion_js_1 = require("./TemplateVersion.js");
40
- exports.Template = core.serialization.object({
41
- id: core.serialization.string(),
42
- inheritedFromId: core.serialization.string().optionalNullable(),
43
- autoGenerated: core.serialization.boolean().optional(),
44
- name: core.serialization.string(),
45
- description: core.serialization.string().optional(),
46
- language: core.serialization.string(),
47
- labels: core.serialization.list(core.serialization.string()),
48
- publishedVersion: TemplateVersion_js_1.TemplateVersion.optional(),
49
- createdAt: core.serialization.date(),
50
- updatedAt: core.serialization.date(),
51
- });
@@ -1,9 +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 TemplateInstructions: core.serialization.ObjectSchema<serializers.TemplateInstructions.Raw, Corti.TemplateInstructions>;
5
- export declare namespace TemplateInstructions {
6
- interface Raw {
7
- prompt: string;
8
- }
9
- }
@@ -1,41 +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.TemplateInstructions = void 0;
38
- const core = __importStar(require("../../core/index.js"));
39
- exports.TemplateInstructions = core.serialization.object({
40
- prompt: core.serialization.string(),
41
- });
@@ -1,14 +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 "./Section.js";
5
- import { TemplateInstructions } from "./TemplateInstructions.js";
6
- export declare const TemplateVersion: core.serialization.ObjectSchema<serializers.TemplateVersion.Raw, Corti.TemplateVersion>;
7
- export declare namespace TemplateVersion {
8
- interface Raw {
9
- id: string;
10
- versionNumber: number;
11
- instructions: TemplateInstructions.Raw;
12
- sections?: Section.Raw[] | null;
13
- }
14
- }