@corti/sdk 6.0.0-rc.2 → 6.1.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 (237) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/codes/client/Client.d.ts +11 -8
  3. package/dist/cjs/api/resources/codes/client/Client.js +11 -8
  4. package/dist/cjs/api/resources/codes/client/requests/CodesGeneralPredictRequest.d.ts +13 -8
  5. package/dist/cjs/api/resources/documents/resources/sections/client/Client.d.ts +32 -2
  6. package/dist/cjs/api/resources/documents/resources/sections/client/Client.js +76 -2
  7. package/dist/cjs/api/resources/documents/resources/sections/resources/versions/client/Client.d.ts +2 -2
  8. package/dist/cjs/api/resources/documents/resources/sections/resources/versions/client/Client.js +2 -2
  9. package/dist/cjs/api/resources/documents/resources/templates/client/Client.d.ts +2 -2
  10. package/dist/cjs/api/resources/documents/resources/templates/client/Client.js +2 -2
  11. package/dist/cjs/api/resources/documents/resources/templates/resources/versions/client/Client.d.ts +2 -2
  12. package/dist/cjs/api/resources/documents/resources/templates/resources/versions/client/Client.js +2 -2
  13. package/dist/cjs/api/resources/index.d.ts +1 -0
  14. package/dist/cjs/api/resources/index.js +1 -0
  15. package/dist/cjs/api/resources/recordings/client/Client.d.ts +3 -2
  16. package/dist/cjs/api/resources/recordings/client/Client.js +16 -6
  17. package/dist/cjs/api/resources/recordings/client/index.d.ts +1 -1
  18. package/dist/cjs/api/resources/recordings/client/index.js +15 -0
  19. package/dist/cjs/api/resources/recordings/client/requests/RecordingsListRequest.d.ts +9 -0
  20. package/dist/cjs/api/resources/recordings/client/requests/RecordingsListRequest.js +3 -0
  21. package/dist/cjs/api/resources/recordings/client/requests/index.d.ts +1 -0
  22. package/dist/cjs/api/resources/recordings/client/requests/index.js +2 -0
  23. package/dist/cjs/api/resources/transcripts/client/requests/TranscriptsCreateRequest.d.ts +1 -1
  24. package/dist/cjs/api/types/A2AsseEvent.d.ts +16 -0
  25. package/dist/cjs/api/types/A2AsseEvent.js +3 -0
  26. package/dist/cjs/api/types/AgenticAgentsSendMessageResponse.d.ts +5 -1
  27. package/dist/cjs/api/types/AgenticAgentsStreamEventResponse.d.ts +2 -12
  28. package/dist/cjs/api/types/CodesConditionGroup.d.ts +10 -0
  29. package/dist/cjs/api/types/CodesConditionGroup.js +3 -0
  30. package/dist/cjs/api/types/CodesConditionGroupConditionsItem.d.ts +2 -0
  31. package/dist/cjs/api/types/CodesConditionGroupConditionsItem.js +3 -0
  32. package/dist/cjs/api/types/CodesConditionGroupMatch.d.ts +6 -0
  33. package/dist/cjs/api/types/CodesConditionGroupMatch.js +9 -0
  34. package/dist/cjs/api/types/CodesFilter.d.ts +1 -1
  35. package/dist/cjs/api/types/CodesSystemFilter.d.ts +12 -0
  36. package/dist/cjs/api/types/CodesSystemFilter.js +3 -0
  37. package/dist/cjs/api/types/CommonCodingSystemEnum.d.ts +6 -0
  38. package/dist/cjs/api/types/CommonCodingSystemEnum.js +6 -0
  39. package/dist/cjs/api/types/GuidedSectionImpactResponse.d.ts +8 -0
  40. package/dist/cjs/api/types/GuidedSectionImpactResponse.js +3 -0
  41. package/dist/cjs/api/types/GuidedSectionImpactSectionItem.d.ts +11 -0
  42. package/dist/cjs/api/types/GuidedSectionImpactSectionItem.js +3 -0
  43. package/dist/cjs/api/types/GuidedSectionImpactSections.d.ts +10 -0
  44. package/dist/cjs/api/types/GuidedSectionImpactSections.js +3 -0
  45. package/dist/cjs/api/types/GuidedSectionImpactTemplateDirect.d.ts +10 -0
  46. package/dist/cjs/api/types/GuidedSectionImpactTemplateDirect.js +3 -0
  47. package/dist/cjs/api/types/GuidedSectionImpactTemplateInheritedSection.d.ts +12 -0
  48. package/dist/cjs/api/types/GuidedSectionImpactTemplateInheritedSection.js +3 -0
  49. package/dist/cjs/api/types/GuidedSectionImpactTemplateInheritedTemplate.d.ts +12 -0
  50. package/dist/cjs/api/types/GuidedSectionImpactTemplateInheritedTemplate.js +3 -0
  51. package/dist/cjs/api/types/GuidedSectionImpactTemplateItem.d.ts +2 -0
  52. package/dist/cjs/api/types/GuidedSectionImpactTemplateItem.js +3 -0
  53. package/dist/cjs/api/types/GuidedSectionImpactTemplates.d.ts +10 -0
  54. package/dist/cjs/api/types/GuidedSectionImpactTemplates.js +3 -0
  55. package/dist/cjs/api/types/StreamConfigTranscription.d.ts +2 -0
  56. package/dist/cjs/api/types/StreamConfigTranscriptionWordLevel.d.ts +6 -0
  57. package/dist/cjs/api/types/StreamConfigTranscriptionWordLevel.js +3 -0
  58. package/dist/cjs/api/types/TranscribeConfig.d.ts +2 -0
  59. package/dist/cjs/api/types/TranscribeConfigWordLevel.d.ts +6 -0
  60. package/dist/cjs/api/types/TranscribeConfigWordLevel.js +3 -0
  61. package/dist/cjs/api/types/TranscribeTranscriptMessage.d.ts +2 -1
  62. package/dist/cjs/api/types/TranscribeTranscriptMessageData.d.ts +5 -0
  63. package/dist/cjs/api/types/TranscribeTranscriptMessageData.js +3 -0
  64. package/dist/cjs/api/types/TranscriptsListItem.d.ts +4 -0
  65. package/dist/cjs/api/types/index.d.ts +16 -0
  66. package/dist/cjs/api/types/index.js +16 -0
  67. package/dist/cjs/serialization/resources/codes/client/requests/CodesGeneralPredictRequest.d.ts +2 -0
  68. package/dist/cjs/serialization/resources/codes/client/requests/CodesGeneralPredictRequest.js +2 -0
  69. package/dist/cjs/serialization/types/A2AsseEvent.d.ts +12 -0
  70. package/dist/cjs/serialization/types/A2AsseEvent.js +44 -0
  71. package/dist/cjs/serialization/types/AgenticAgentsSendMessageResponse.d.ts +7 -2
  72. package/dist/cjs/serialization/types/AgenticAgentsSendMessageResponse.js +6 -1
  73. package/dist/cjs/serialization/types/AgenticAgentsStreamEventResponse.d.ts +2 -5
  74. package/dist/cjs/serialization/types/AgenticAgentsStreamEventResponse.js +2 -6
  75. package/dist/cjs/serialization/types/CodesConditionGroup.d.ts +11 -0
  76. package/dist/cjs/serialization/types/CodesConditionGroup.js +44 -0
  77. package/dist/cjs/serialization/types/CodesConditionGroupConditionsItem.d.ts +8 -0
  78. package/dist/cjs/serialization/types/CodesConditionGroupConditionsItem.js +44 -0
  79. package/dist/cjs/serialization/types/CodesConditionGroupMatch.d.ts +7 -0
  80. package/dist/cjs/serialization/types/CodesConditionGroupMatch.js +39 -0
  81. package/dist/cjs/serialization/types/CodesSystemFilter.d.ts +11 -0
  82. package/dist/cjs/serialization/types/CodesSystemFilter.js +44 -0
  83. package/dist/cjs/serialization/types/CommonCodingSystemEnum.d.ts +1 -1
  84. package/dist/cjs/serialization/types/CommonCodingSystemEnum.js +6 -0
  85. package/dist/cjs/serialization/types/GuidedSectionImpactResponse.d.ts +12 -0
  86. package/dist/cjs/serialization/types/GuidedSectionImpactResponse.js +44 -0
  87. package/dist/cjs/serialization/types/GuidedSectionImpactSectionItem.d.ts +11 -0
  88. package/dist/cjs/serialization/types/GuidedSectionImpactSectionItem.js +43 -0
  89. package/dist/cjs/serialization/types/GuidedSectionImpactSections.d.ts +11 -0
  90. package/dist/cjs/serialization/types/GuidedSectionImpactSections.js +43 -0
  91. package/dist/cjs/serialization/types/GuidedSectionImpactTemplateDirect.d.ts +11 -0
  92. package/dist/cjs/serialization/types/GuidedSectionImpactTemplateDirect.js +43 -0
  93. package/dist/cjs/serialization/types/GuidedSectionImpactTemplateInheritedSection.d.ts +12 -0
  94. package/dist/cjs/serialization/types/GuidedSectionImpactTemplateInheritedSection.js +44 -0
  95. package/dist/cjs/serialization/types/GuidedSectionImpactTemplateInheritedTemplate.d.ts +12 -0
  96. package/dist/cjs/serialization/types/GuidedSectionImpactTemplateInheritedTemplate.js +44 -0
  97. package/dist/cjs/serialization/types/GuidedSectionImpactTemplateItem.d.ts +10 -0
  98. package/dist/cjs/serialization/types/GuidedSectionImpactTemplateItem.js +46 -0
  99. package/dist/cjs/serialization/types/GuidedSectionImpactTemplates.d.ts +11 -0
  100. package/dist/cjs/serialization/types/GuidedSectionImpactTemplates.js +43 -0
  101. package/dist/cjs/serialization/types/StreamConfigTranscription.d.ts +2 -0
  102. package/dist/cjs/serialization/types/StreamConfigTranscription.js +2 -0
  103. package/dist/cjs/serialization/types/StreamConfigTranscriptionWordLevel.d.ts +9 -0
  104. package/dist/cjs/serialization/types/StreamConfigTranscriptionWordLevel.js +41 -0
  105. package/dist/cjs/serialization/types/TranscribeConfig.d.ts +2 -0
  106. package/dist/cjs/serialization/types/TranscribeConfig.js +2 -0
  107. package/dist/cjs/serialization/types/TranscribeConfigWordLevel.d.ts +9 -0
  108. package/dist/cjs/serialization/types/TranscribeConfigWordLevel.js +41 -0
  109. package/dist/cjs/serialization/types/TranscribeTranscriptMessage.d.ts +2 -2
  110. package/dist/cjs/serialization/types/TranscribeTranscriptMessage.js +2 -2
  111. package/dist/cjs/serialization/types/TranscribeTranscriptMessageData.d.ts +8 -0
  112. package/dist/cjs/serialization/types/TranscribeTranscriptMessageData.js +43 -0
  113. package/dist/cjs/serialization/types/TranscriptsListItem.d.ts +2 -0
  114. package/dist/cjs/serialization/types/TranscriptsListItem.js +2 -0
  115. package/dist/cjs/serialization/types/index.d.ts +16 -0
  116. package/dist/cjs/serialization/types/index.js +16 -0
  117. package/dist/cjs/version.d.ts +1 -1
  118. package/dist/cjs/version.js +1 -1
  119. package/dist/esm/BaseClient.mjs +2 -2
  120. package/dist/esm/api/resources/codes/client/Client.d.mts +11 -8
  121. package/dist/esm/api/resources/codes/client/Client.mjs +11 -8
  122. package/dist/esm/api/resources/codes/client/requests/CodesGeneralPredictRequest.d.mts +13 -8
  123. package/dist/esm/api/resources/documents/resources/sections/client/Client.d.mts +32 -2
  124. package/dist/esm/api/resources/documents/resources/sections/client/Client.mjs +76 -2
  125. package/dist/esm/api/resources/documents/resources/sections/resources/versions/client/Client.d.mts +2 -2
  126. package/dist/esm/api/resources/documents/resources/sections/resources/versions/client/Client.mjs +2 -2
  127. package/dist/esm/api/resources/documents/resources/templates/client/Client.d.mts +2 -2
  128. package/dist/esm/api/resources/documents/resources/templates/client/Client.mjs +2 -2
  129. package/dist/esm/api/resources/documents/resources/templates/resources/versions/client/Client.d.mts +2 -2
  130. package/dist/esm/api/resources/documents/resources/templates/resources/versions/client/Client.mjs +2 -2
  131. package/dist/esm/api/resources/index.d.mts +1 -0
  132. package/dist/esm/api/resources/index.mjs +1 -0
  133. package/dist/esm/api/resources/recordings/client/Client.d.mts +3 -2
  134. package/dist/esm/api/resources/recordings/client/Client.mjs +16 -6
  135. package/dist/esm/api/resources/recordings/client/index.d.mts +1 -1
  136. package/dist/esm/api/resources/recordings/client/index.mjs +1 -1
  137. package/dist/esm/api/resources/recordings/client/requests/RecordingsListRequest.d.mts +9 -0
  138. package/dist/esm/api/resources/recordings/client/requests/RecordingsListRequest.mjs +2 -0
  139. package/dist/esm/api/resources/recordings/client/requests/index.d.mts +1 -0
  140. package/dist/esm/api/resources/recordings/client/requests/index.mjs +1 -0
  141. package/dist/esm/api/resources/transcripts/client/requests/TranscriptsCreateRequest.d.mts +1 -1
  142. package/dist/esm/api/types/A2AsseEvent.d.mts +16 -0
  143. package/dist/esm/api/types/A2AsseEvent.mjs +2 -0
  144. package/dist/esm/api/types/AgenticAgentsSendMessageResponse.d.mts +5 -1
  145. package/dist/esm/api/types/AgenticAgentsStreamEventResponse.d.mts +2 -12
  146. package/dist/esm/api/types/CodesConditionGroup.d.mts +10 -0
  147. package/dist/esm/api/types/CodesConditionGroup.mjs +2 -0
  148. package/dist/esm/api/types/CodesConditionGroupConditionsItem.d.mts +2 -0
  149. package/dist/esm/api/types/CodesConditionGroupConditionsItem.mjs +2 -0
  150. package/dist/esm/api/types/CodesConditionGroupMatch.d.mts +6 -0
  151. package/dist/esm/api/types/CodesConditionGroupMatch.mjs +6 -0
  152. package/dist/esm/api/types/CodesFilter.d.mts +1 -1
  153. package/dist/esm/api/types/CodesSystemFilter.d.mts +12 -0
  154. package/dist/esm/api/types/CodesSystemFilter.mjs +2 -0
  155. package/dist/esm/api/types/CommonCodingSystemEnum.d.mts +6 -0
  156. package/dist/esm/api/types/CommonCodingSystemEnum.mjs +6 -0
  157. package/dist/esm/api/types/GuidedSectionImpactResponse.d.mts +8 -0
  158. package/dist/esm/api/types/GuidedSectionImpactResponse.mjs +2 -0
  159. package/dist/esm/api/types/GuidedSectionImpactSectionItem.d.mts +11 -0
  160. package/dist/esm/api/types/GuidedSectionImpactSectionItem.mjs +2 -0
  161. package/dist/esm/api/types/GuidedSectionImpactSections.d.mts +10 -0
  162. package/dist/esm/api/types/GuidedSectionImpactSections.mjs +2 -0
  163. package/dist/esm/api/types/GuidedSectionImpactTemplateDirect.d.mts +10 -0
  164. package/dist/esm/api/types/GuidedSectionImpactTemplateDirect.mjs +2 -0
  165. package/dist/esm/api/types/GuidedSectionImpactTemplateInheritedSection.d.mts +12 -0
  166. package/dist/esm/api/types/GuidedSectionImpactTemplateInheritedSection.mjs +2 -0
  167. package/dist/esm/api/types/GuidedSectionImpactTemplateInheritedTemplate.d.mts +12 -0
  168. package/dist/esm/api/types/GuidedSectionImpactTemplateInheritedTemplate.mjs +2 -0
  169. package/dist/esm/api/types/GuidedSectionImpactTemplateItem.d.mts +2 -0
  170. package/dist/esm/api/types/GuidedSectionImpactTemplateItem.mjs +2 -0
  171. package/dist/esm/api/types/GuidedSectionImpactTemplates.d.mts +10 -0
  172. package/dist/esm/api/types/GuidedSectionImpactTemplates.mjs +2 -0
  173. package/dist/esm/api/types/StreamConfigTranscription.d.mts +2 -0
  174. package/dist/esm/api/types/StreamConfigTranscriptionWordLevel.d.mts +6 -0
  175. package/dist/esm/api/types/StreamConfigTranscriptionWordLevel.mjs +2 -0
  176. package/dist/esm/api/types/TranscribeConfig.d.mts +2 -0
  177. package/dist/esm/api/types/TranscribeConfigWordLevel.d.mts +6 -0
  178. package/dist/esm/api/types/TranscribeConfigWordLevel.mjs +2 -0
  179. package/dist/esm/api/types/TranscribeTranscriptMessage.d.mts +2 -1
  180. package/dist/esm/api/types/TranscribeTranscriptMessageData.d.mts +5 -0
  181. package/dist/esm/api/types/TranscribeTranscriptMessageData.mjs +2 -0
  182. package/dist/esm/api/types/TranscriptsListItem.d.mts +4 -0
  183. package/dist/esm/api/types/index.d.mts +16 -0
  184. package/dist/esm/api/types/index.mjs +16 -0
  185. package/dist/esm/serialization/resources/codes/client/requests/CodesGeneralPredictRequest.d.mts +2 -0
  186. package/dist/esm/serialization/resources/codes/client/requests/CodesGeneralPredictRequest.mjs +2 -0
  187. package/dist/esm/serialization/types/A2AsseEvent.d.mts +12 -0
  188. package/dist/esm/serialization/types/A2AsseEvent.mjs +8 -0
  189. package/dist/esm/serialization/types/AgenticAgentsSendMessageResponse.d.mts +7 -2
  190. package/dist/esm/serialization/types/AgenticAgentsSendMessageResponse.mjs +6 -1
  191. package/dist/esm/serialization/types/AgenticAgentsStreamEventResponse.d.mts +2 -5
  192. package/dist/esm/serialization/types/AgenticAgentsStreamEventResponse.mjs +2 -6
  193. package/dist/esm/serialization/types/CodesConditionGroup.d.mts +11 -0
  194. package/dist/esm/serialization/types/CodesConditionGroup.mjs +8 -0
  195. package/dist/esm/serialization/types/CodesConditionGroupConditionsItem.d.mts +8 -0
  196. package/dist/esm/serialization/types/CodesConditionGroupConditionsItem.mjs +8 -0
  197. package/dist/esm/serialization/types/CodesConditionGroupMatch.d.mts +7 -0
  198. package/dist/esm/serialization/types/CodesConditionGroupMatch.mjs +3 -0
  199. package/dist/esm/serialization/types/CodesSystemFilter.d.mts +11 -0
  200. package/dist/esm/serialization/types/CodesSystemFilter.mjs +8 -0
  201. package/dist/esm/serialization/types/CommonCodingSystemEnum.d.mts +1 -1
  202. package/dist/esm/serialization/types/CommonCodingSystemEnum.mjs +6 -0
  203. package/dist/esm/serialization/types/GuidedSectionImpactResponse.d.mts +12 -0
  204. package/dist/esm/serialization/types/GuidedSectionImpactResponse.mjs +8 -0
  205. package/dist/esm/serialization/types/GuidedSectionImpactSectionItem.d.mts +11 -0
  206. package/dist/esm/serialization/types/GuidedSectionImpactSectionItem.mjs +7 -0
  207. package/dist/esm/serialization/types/GuidedSectionImpactSections.d.mts +11 -0
  208. package/dist/esm/serialization/types/GuidedSectionImpactSections.mjs +7 -0
  209. package/dist/esm/serialization/types/GuidedSectionImpactTemplateDirect.d.mts +11 -0
  210. package/dist/esm/serialization/types/GuidedSectionImpactTemplateDirect.mjs +7 -0
  211. package/dist/esm/serialization/types/GuidedSectionImpactTemplateInheritedSection.d.mts +12 -0
  212. package/dist/esm/serialization/types/GuidedSectionImpactTemplateInheritedSection.mjs +8 -0
  213. package/dist/esm/serialization/types/GuidedSectionImpactTemplateInheritedTemplate.d.mts +12 -0
  214. package/dist/esm/serialization/types/GuidedSectionImpactTemplateInheritedTemplate.mjs +8 -0
  215. package/dist/esm/serialization/types/GuidedSectionImpactTemplateItem.d.mts +10 -0
  216. package/dist/esm/serialization/types/GuidedSectionImpactTemplateItem.mjs +10 -0
  217. package/dist/esm/serialization/types/GuidedSectionImpactTemplates.d.mts +11 -0
  218. package/dist/esm/serialization/types/GuidedSectionImpactTemplates.mjs +7 -0
  219. package/dist/esm/serialization/types/StreamConfigTranscription.d.mts +2 -0
  220. package/dist/esm/serialization/types/StreamConfigTranscription.mjs +2 -0
  221. package/dist/esm/serialization/types/StreamConfigTranscriptionWordLevel.d.mts +9 -0
  222. package/dist/esm/serialization/types/StreamConfigTranscriptionWordLevel.mjs +5 -0
  223. package/dist/esm/serialization/types/TranscribeConfig.d.mts +2 -0
  224. package/dist/esm/serialization/types/TranscribeConfig.mjs +2 -0
  225. package/dist/esm/serialization/types/TranscribeConfigWordLevel.d.mts +9 -0
  226. package/dist/esm/serialization/types/TranscribeConfigWordLevel.mjs +5 -0
  227. package/dist/esm/serialization/types/TranscribeTranscriptMessage.d.mts +2 -2
  228. package/dist/esm/serialization/types/TranscribeTranscriptMessage.mjs +2 -2
  229. package/dist/esm/serialization/types/TranscribeTranscriptMessageData.d.mts +8 -0
  230. package/dist/esm/serialization/types/TranscribeTranscriptMessageData.mjs +7 -0
  231. package/dist/esm/serialization/types/TranscriptsListItem.d.mts +2 -0
  232. package/dist/esm/serialization/types/TranscriptsListItem.mjs +2 -0
  233. package/dist/esm/serialization/types/index.d.mts +16 -0
  234. package/dist/esm/serialization/types/index.mjs +16 -0
  235. package/dist/esm/version.d.mts +1 -1
  236. package/dist/esm/version.mjs +1 -1
  237. package/package.json +1 -1
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.CodesConditionGroupMatch = void 0;
5
+ /** `all` ANDs conditions (every condition must match). `any` ORs them (at least one must match). Omit when `conditions` has a single element. */
6
+ exports.CodesConditionGroupMatch = {
7
+ All: "all",
8
+ Any: "any",
9
+ };
@@ -1,6 +1,6 @@
1
1
  import type * as Corti from "../index.js";
2
2
  /**
3
- * Optional filter to restrict the set of codes the model can predict.
3
+ * Deprecated: use `filters` with `CodesSystemFilter` instead.
4
4
  */
5
5
  export interface CodesFilter {
6
6
  /** Condition objects to include. When empty, the full set of codes for the requested systems is used. */
@@ -0,0 +1,12 @@
1
+ import type * as Corti from "../index.js";
2
+ /**
3
+ * System-scoped filter to restrict the set of codes the model can predict for a single coding system.
4
+ */
5
+ export interface CodesSystemFilter {
6
+ /** The coding system this filter applies to. Must match one of the systems in the `system` field. */
7
+ systemId: string;
8
+ /** Codes matching this group of conditions are eligible. Omitted means every code in the system is eligible. */
9
+ include?: Corti.CodesConditionGroup;
10
+ /** Codes matching this group of conditions are removed from the eligible set. Omitted means nothing is removed. */
11
+ exclude?: Corti.CodesConditionGroup;
12
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -22,6 +22,9 @@ export declare const CommonCodingSystemEnum: {
22
22
  readonly Snomedctdk: "snomedctdk";
23
23
  readonly Snomedctse: "snomedctse";
24
24
  readonly Snomedctus: "snomedctus";
25
+ readonly Snomedctno: "snomedctno";
26
+ readonly Snomedctat: "snomedctat";
27
+ readonly Snomedctnl: "snomedctnl";
25
28
  readonly MeddraIt: "meddra-it";
26
29
  readonly MeddraEn: "meddra-en";
27
30
  readonly MeddraFr: "meddra-fr";
@@ -31,5 +34,8 @@ export declare const CommonCodingSystemEnum: {
31
34
  readonly MeddraSe: "meddra-se";
32
35
  readonly Sks: "sks";
33
36
  readonly Kvaa: "kvaa";
37
+ readonly Icdo3Int: "icdo3int";
38
+ readonly Icdo3Fr: "icdo3fr";
39
+ readonly Icdo3De: "icdo3de";
34
40
  };
35
41
  export type CommonCodingSystemEnum = (typeof CommonCodingSystemEnum)[keyof typeof CommonCodingSystemEnum];
@@ -26,6 +26,9 @@ exports.CommonCodingSystemEnum = {
26
26
  Snomedctdk: "snomedctdk",
27
27
  Snomedctse: "snomedctse",
28
28
  Snomedctus: "snomedctus",
29
+ Snomedctno: "snomedctno",
30
+ Snomedctat: "snomedctat",
31
+ Snomedctnl: "snomedctnl",
29
32
  MeddraIt: "meddra-it",
30
33
  MeddraEn: "meddra-en",
31
34
  MeddraFr: "meddra-fr",
@@ -35,4 +38,7 @@ exports.CommonCodingSystemEnum = {
35
38
  MeddraSe: "meddra-se",
36
39
  Sks: "sks",
37
40
  Kvaa: "kvaa",
41
+ Icdo3Int: "icdo3int",
42
+ Icdo3Fr: "icdo3fr",
43
+ Icdo3De: "icdo3de",
38
44
  };
@@ -0,0 +1,8 @@
1
+ import type * as Corti from "../index.js";
2
+ /**
3
+ * The templates and sections that a change to a section can affect.
4
+ */
5
+ export interface GuidedSectionImpactResponse {
6
+ templates: Corti.GuidedSectionImpactTemplates;
7
+ sections: Corti.GuidedSectionImpactSections;
8
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /**
2
+ * A descendant section that inherits from this section.
3
+ */
4
+ export interface GuidedSectionImpactSectionItem {
5
+ /** The UUID of the descendant section. */
6
+ id: string;
7
+ /** The name of the descendant section. */
8
+ name: string;
9
+ /** The inheritance depth from this section. `1` is a direct child. */
10
+ depth: number;
11
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ import type * as Corti from "../index.js";
2
+ /**
3
+ * Descendant sections that inherit from this section.
4
+ */
5
+ export interface GuidedSectionImpactSections {
6
+ /** True when the group does not hold all the descendant sections. The 50-entry display cap or the inheritance depth cap can cause this. */
7
+ truncated: boolean;
8
+ /** The descendant sections. Holds at most 50 entries. */
9
+ items: Corti.GuidedSectionImpactSectionItem[];
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /**
2
+ * The template links this section directly.
3
+ */
4
+ export interface GuidedSectionImpactTemplateDirect {
5
+ /** The UUID of the template. */
6
+ id: string;
7
+ /** The name of the template. */
8
+ name: string;
9
+ via: "direct";
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * The template links a descendant section that inherits from this section.
3
+ */
4
+ export interface GuidedSectionImpactTemplateInheritedSection {
5
+ /** The UUID of the template. */
6
+ id: string;
7
+ /** The name of the template. */
8
+ name: string;
9
+ via: "inheritedSection";
10
+ /** The descendant section that the template references. */
11
+ viaSectionId: string;
12
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /**
2
+ * The template inherits its section list from a parent template that links this section.
3
+ */
4
+ export interface GuidedSectionImpactTemplateInheritedTemplate {
5
+ /** The UUID of the template. */
6
+ id: string;
7
+ /** The name of the template. */
8
+ name: string;
9
+ via: "inheritedTemplate";
10
+ /** The parent template that the template inherits from. */
11
+ viaTemplateId: string;
12
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ import type * as Corti from "../index.js";
2
+ export type GuidedSectionImpactTemplateItem = Corti.GuidedSectionImpactTemplateDirect | Corti.GuidedSectionImpactTemplateInheritedSection | Corti.GuidedSectionImpactTemplateInheritedTemplate;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ import type * as Corti from "../index.js";
2
+ /**
3
+ * Templates whose generation output changes when this section changes.
4
+ */
5
+ export interface GuidedSectionImpactTemplates {
6
+ /** True when the group does not hold all the templates. The 50-entry display cap or the inheritance depth cap can cause this. */
7
+ truncated: boolean;
8
+ /** The templates that the change can affect. Holds at most 50 entries. */
9
+ items: Corti.GuidedSectionImpactTemplateItem[];
10
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -4,6 +4,8 @@ export interface StreamConfigTranscription {
4
4
  primaryLanguage: Corti.StreamSupportedLanguage;
5
5
  /** Enable speaker diarization. */
6
6
  diarize?: boolean;
7
+ /** When enabled, transcripts are returned at word level instead of phrase/utterance level: each transcript list item is a single word with its own timing. Defaults to false. */
8
+ wordLevel?: Corti.StreamConfigTranscriptionWordLevel;
7
9
  /** **Deprecated** — renamed to `diarize`. Still accepted for backward compatibility; `diarize` takes precedence when both are provided. `CONFIG_ACCEPTED` echoes both fields during the deprecation period. No removal date is currently planned. */
8
10
  isDiarization?: boolean;
9
11
  /** Enable multi-channel audio processing. When false, all participants are collapsed to channel 0 and the audio is converted to mono. */
@@ -0,0 +1,6 @@
1
+ /**
2
+ * When enabled, transcripts are returned at word level instead of phrase/utterance level: each transcript list item is a single word with its own timing. Defaults to false.
3
+ */
4
+ export interface StreamConfigTranscriptionWordLevel {
5
+ enabled?: boolean;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -18,4 +18,6 @@ export interface TranscribeConfig {
18
18
  replacements?: Corti.TranscribeConfigReplacementsItem[];
19
19
  /** Define words, terms, and phrases to be recognized by Corti speech-to-text. Especially useful for proper nouns (e.g., surnames), but also supportive of words not being recognized consistently. */
20
20
  keyterms?: Corti.TranscribeConfigKeyterms;
21
+ /** When enabled, final transcripts are returned at word level instead of phrase/utterance level: all word items finalized together are delivered in a single message with `data` as a list. Interim previews remain segment level and arrive as a one-element list when `interimResults` is also enabled. Defaults to false. */
22
+ wordLevel?: Corti.TranscribeConfigWordLevel;
21
23
  }
@@ -0,0 +1,6 @@
1
+ /**
2
+ * When enabled, final transcripts are returned at word level instead of phrase/utterance level: all word items finalized together are delivered in a single message with `data` as a list. Interim previews remain segment level and arrive as a one-element list when `interimResults` is also enabled. Defaults to false.
3
+ */
4
+ export interface TranscribeConfigWordLevel {
5
+ enabled?: boolean;
6
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +1,6 @@
1
1
  import type * as Corti from "../index.js";
2
2
  export interface TranscribeTranscriptMessage {
3
3
  type: "transcript";
4
- data: Corti.TranscribeTranscriptData;
4
+ /** The singular segment object, or a list of items when `wordLevel` is enabled: all word items finalized together in one message, or a one-element list carrying the in-progress segment for interim previews when `interimResults` is also enabled. */
5
+ data: Corti.TranscribeTranscriptMessageData;
5
6
  }
@@ -0,0 +1,5 @@
1
+ import type * as Corti from "../index.js";
2
+ /**
3
+ * The singular segment object, or a list of items when `wordLevel` is enabled: all word items finalized together in one message, or a one-element list carrying the in-progress segment for interim previews when `interimResults` is also enabled.
4
+ */
5
+ export type TranscribeTranscriptMessageData = Corti.TranscribeTranscriptData | Corti.TranscribeTranscriptData[];
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -2,6 +2,10 @@ import type * as Corti from "../index.js";
2
2
  export interface TranscriptsListItem {
3
3
  /** The unique identifier of the transcript. */
4
4
  id: Corti.Uuid;
5
+ /** The unique identifier for the associated recording. */
6
+ recordingId: Corti.Uuid;
5
7
  transcriptSample: string;
8
+ /** The timestamp when the transcript was created. */
9
+ createdAt: Date;
6
10
  transcript?: Corti.TranscriptsData | null;
7
11
  }
@@ -1,3 +1,4 @@
1
+ export * from "./A2AsseEvent.js";
1
2
  export * from "./AgenticAgentCardResponse.js";
2
3
  export * from "./AgenticAgentCardResponseCapabilities.js";
3
4
  export * from "./AgenticAgentCardResponseProvider.js";
@@ -104,6 +105,9 @@ export * from "./AuthTokenRequestClientCredentials.js";
104
105
  export * from "./AuthTokenRequestRefresh.js";
105
106
  export * from "./AuthTokenRequestRopc.js";
106
107
  export * from "./AuthTokenResponse.js";
108
+ export * from "./CodesConditionGroup.js";
109
+ export * from "./CodesConditionGroupConditionsItem.js";
110
+ export * from "./CodesConditionGroupMatch.js";
107
111
  export * from "./CodesFilter.js";
108
112
  export * from "./CodesFilterCondition.js";
109
113
  export * from "./CodesFilterConditionOp.js";
@@ -112,6 +116,7 @@ export * from "./CodesGeneralReadResponse.js";
112
116
  export * from "./CodesGeneralReadResponseAlternativesItem.js";
113
117
  export * from "./CodesGeneralReadResponseEvidencesItem.js";
114
118
  export * from "./CodesGeneralResponse.js";
119
+ export * from "./CodesSystemFilter.js";
115
120
  export * from "./CommonA2AConnector.js";
116
121
  export * from "./CommonA2AConnectorCreate.js";
117
122
  export * from "./CommonAgentConnector.js";
@@ -229,6 +234,14 @@ export * from "./GuidedOutputSchema.js";
229
234
  export * from "./GuidedSection.js";
230
235
  export * from "./GuidedSectionGeneration.js";
231
236
  export * from "./GuidedSectionGenerationPartial.js";
237
+ export * from "./GuidedSectionImpactResponse.js";
238
+ export * from "./GuidedSectionImpactSectionItem.js";
239
+ export * from "./GuidedSectionImpactSections.js";
240
+ export * from "./GuidedSectionImpactTemplateDirect.js";
241
+ export * from "./GuidedSectionImpactTemplateInheritedSection.js";
242
+ export * from "./GuidedSectionImpactTemplateInheritedTemplate.js";
243
+ export * from "./GuidedSectionImpactTemplateItem.js";
244
+ export * from "./GuidedSectionImpactTemplates.js";
232
245
  export * from "./GuidedSectionInstructions.js";
233
246
  export * from "./GuidedSectionInstructionsOverride.js";
234
247
  export * from "./GuidedSectionInstructionsPartial.js";
@@ -298,6 +311,7 @@ export * from "./StreamConfigRetentionPolicy.js";
298
311
  export * from "./StreamConfigStatusMessage.js";
299
312
  export * from "./StreamConfigStatusMessageType.js";
300
313
  export * from "./StreamConfigTranscription.js";
314
+ export * from "./StreamConfigTranscriptionWordLevel.js";
301
315
  export * from "./StreamDeltaUsageMessage.js";
302
316
  export * from "./StreamEndedMessage.js";
303
317
  export * from "./StreamEndMessage.js";
@@ -350,6 +364,7 @@ export * from "./TranscribeConfigMessage.js";
350
364
  export * from "./TranscribeConfigReplacementsItem.js";
351
365
  export * from "./TranscribeConfigStatusMessage.js";
352
366
  export * from "./TranscribeConfigStatusMessageType.js";
367
+ export * from "./TranscribeConfigWordLevel.js";
353
368
  export * from "./TranscribeDeltaUsageMessage.js";
354
369
  export * from "./TranscribeEndedMessage.js";
355
370
  export * from "./TranscribeEndMessage.js";
@@ -367,6 +382,7 @@ export * from "./TranscribeFormattingTimes.js";
367
382
  export * from "./TranscribeSupportedLanguage.js";
368
383
  export * from "./TranscribeTranscriptData.js";
369
384
  export * from "./TranscribeTranscriptMessage.js";
385
+ export * from "./TranscribeTranscriptMessageData.js";
370
386
  export * from "./TranscribeUsageMessage.js";
371
387
  export * from "./TranscriptsData.js";
372
388
  export * from "./TranscriptsFormatting.js";
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./A2AsseEvent.js"), exports);
17
18
  __exportStar(require("./AgenticAgentCardResponse.js"), exports);
18
19
  __exportStar(require("./AgenticAgentCardResponseCapabilities.js"), exports);
19
20
  __exportStar(require("./AgenticAgentCardResponseProvider.js"), exports);
@@ -120,6 +121,9 @@ __exportStar(require("./AuthTokenRequestClientCredentials.js"), exports);
120
121
  __exportStar(require("./AuthTokenRequestRefresh.js"), exports);
121
122
  __exportStar(require("./AuthTokenRequestRopc.js"), exports);
122
123
  __exportStar(require("./AuthTokenResponse.js"), exports);
124
+ __exportStar(require("./CodesConditionGroup.js"), exports);
125
+ __exportStar(require("./CodesConditionGroupConditionsItem.js"), exports);
126
+ __exportStar(require("./CodesConditionGroupMatch.js"), exports);
123
127
  __exportStar(require("./CodesFilter.js"), exports);
124
128
  __exportStar(require("./CodesFilterCondition.js"), exports);
125
129
  __exportStar(require("./CodesFilterConditionOp.js"), exports);
@@ -128,6 +132,7 @@ __exportStar(require("./CodesGeneralReadResponse.js"), exports);
128
132
  __exportStar(require("./CodesGeneralReadResponseAlternativesItem.js"), exports);
129
133
  __exportStar(require("./CodesGeneralReadResponseEvidencesItem.js"), exports);
130
134
  __exportStar(require("./CodesGeneralResponse.js"), exports);
135
+ __exportStar(require("./CodesSystemFilter.js"), exports);
131
136
  __exportStar(require("./CommonA2AConnector.js"), exports);
132
137
  __exportStar(require("./CommonA2AConnectorCreate.js"), exports);
133
138
  __exportStar(require("./CommonAgentConnector.js"), exports);
@@ -245,6 +250,14 @@ __exportStar(require("./GuidedOutputSchema.js"), exports);
245
250
  __exportStar(require("./GuidedSection.js"), exports);
246
251
  __exportStar(require("./GuidedSectionGeneration.js"), exports);
247
252
  __exportStar(require("./GuidedSectionGenerationPartial.js"), exports);
253
+ __exportStar(require("./GuidedSectionImpactResponse.js"), exports);
254
+ __exportStar(require("./GuidedSectionImpactSectionItem.js"), exports);
255
+ __exportStar(require("./GuidedSectionImpactSections.js"), exports);
256
+ __exportStar(require("./GuidedSectionImpactTemplateDirect.js"), exports);
257
+ __exportStar(require("./GuidedSectionImpactTemplateInheritedSection.js"), exports);
258
+ __exportStar(require("./GuidedSectionImpactTemplateInheritedTemplate.js"), exports);
259
+ __exportStar(require("./GuidedSectionImpactTemplateItem.js"), exports);
260
+ __exportStar(require("./GuidedSectionImpactTemplates.js"), exports);
248
261
  __exportStar(require("./GuidedSectionInstructions.js"), exports);
249
262
  __exportStar(require("./GuidedSectionInstructionsOverride.js"), exports);
250
263
  __exportStar(require("./GuidedSectionInstructionsPartial.js"), exports);
@@ -314,6 +327,7 @@ __exportStar(require("./StreamConfigRetentionPolicy.js"), exports);
314
327
  __exportStar(require("./StreamConfigStatusMessage.js"), exports);
315
328
  __exportStar(require("./StreamConfigStatusMessageType.js"), exports);
316
329
  __exportStar(require("./StreamConfigTranscription.js"), exports);
330
+ __exportStar(require("./StreamConfigTranscriptionWordLevel.js"), exports);
317
331
  __exportStar(require("./StreamDeltaUsageMessage.js"), exports);
318
332
  __exportStar(require("./StreamEndedMessage.js"), exports);
319
333
  __exportStar(require("./StreamEndMessage.js"), exports);
@@ -366,6 +380,7 @@ __exportStar(require("./TranscribeConfigMessage.js"), exports);
366
380
  __exportStar(require("./TranscribeConfigReplacementsItem.js"), exports);
367
381
  __exportStar(require("./TranscribeConfigStatusMessage.js"), exports);
368
382
  __exportStar(require("./TranscribeConfigStatusMessageType.js"), exports);
383
+ __exportStar(require("./TranscribeConfigWordLevel.js"), exports);
369
384
  __exportStar(require("./TranscribeDeltaUsageMessage.js"), exports);
370
385
  __exportStar(require("./TranscribeEndedMessage.js"), exports);
371
386
  __exportStar(require("./TranscribeEndMessage.js"), exports);
@@ -383,6 +398,7 @@ __exportStar(require("./TranscribeFormattingTimes.js"), exports);
383
398
  __exportStar(require("./TranscribeSupportedLanguage.js"), exports);
384
399
  __exportStar(require("./TranscribeTranscriptData.js"), exports);
385
400
  __exportStar(require("./TranscribeTranscriptMessage.js"), exports);
401
+ __exportStar(require("./TranscribeTranscriptMessageData.js"), exports);
386
402
  __exportStar(require("./TranscribeUsageMessage.js"), exports);
387
403
  __exportStar(require("./TranscriptsData.js"), exports);
388
404
  __exportStar(require("./TranscriptsFormatting.js"), exports);
@@ -2,6 +2,7 @@ import type * as Corti from "../../../../../api/index.js";
2
2
  import * as core from "../../../../../core/index.js";
3
3
  import type * as serializers from "../../../../index.js";
4
4
  import { CodesFilter } from "../../../../types/CodesFilter.js";
5
+ import { CodesSystemFilter } from "../../../../types/CodesSystemFilter.js";
5
6
  import { CommonAiContext } from "../../../../types/CommonAiContext.js";
6
7
  import { CommonCodingSystemEnum } from "../../../../types/CommonCodingSystemEnum.js";
7
8
  export declare const CodesGeneralPredictRequest: core.serialization.Schema<serializers.CodesGeneralPredictRequest.Raw, Corti.CodesGeneralPredictRequest>;
@@ -10,5 +11,6 @@ export declare namespace CodesGeneralPredictRequest {
10
11
  system: CommonCodingSystemEnum.Raw[];
11
12
  context: CommonAiContext.Raw[];
12
13
  filter?: CodesFilter.Raw | null;
14
+ filters?: CodesSystemFilter.Raw[] | null;
13
15
  }
14
16
  }
@@ -37,10 +37,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.CodesGeneralPredictRequest = void 0;
38
38
  const core = __importStar(require("../../../../../core/index.js"));
39
39
  const CodesFilter_js_1 = require("../../../../types/CodesFilter.js");
40
+ const CodesSystemFilter_js_1 = require("../../../../types/CodesSystemFilter.js");
40
41
  const CommonAiContext_js_1 = require("../../../../types/CommonAiContext.js");
41
42
  const CommonCodingSystemEnum_js_1 = require("../../../../types/CommonCodingSystemEnum.js");
42
43
  exports.CodesGeneralPredictRequest = core.serialization.object({
43
44
  system: core.serialization.list(CommonCodingSystemEnum_js_1.CommonCodingSystemEnum),
44
45
  context: core.serialization.list(CommonAiContext_js_1.CommonAiContext),
45
46
  filter: CodesFilter_js_1.CodesFilter.optional(),
47
+ filters: core.serialization.list(CodesSystemFilter_js_1.CodesSystemFilter).optional(),
46
48
  });
@@ -0,0 +1,12 @@
1
+ import type * as Corti from "../../api/index.js";
2
+ import * as core from "../../core/index.js";
3
+ import type * as serializers from "../index.js";
4
+ export declare const A2AsseEvent: core.serialization.ObjectSchema<serializers.A2AsseEvent.Raw, Corti.A2AsseEvent>;
5
+ export declare namespace A2AsseEvent {
6
+ interface Raw {
7
+ data: string;
8
+ event?: string | null;
9
+ id?: string | null;
10
+ retry?: number | null;
11
+ }
12
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.A2AsseEvent = void 0;
38
+ const core = __importStar(require("../../core/index.js"));
39
+ exports.A2AsseEvent = core.serialization.object({
40
+ data: core.serialization.string(),
41
+ event: core.serialization.string().optional(),
42
+ id: core.serialization.string().optional(),
43
+ retry: core.serialization.number().optional(),
44
+ });
@@ -1,7 +1,12 @@
1
1
  import type * as Corti from "../../api/index.js";
2
2
  import * as core from "../../core/index.js";
3
3
  import type * as serializers from "../index.js";
4
- export declare const AgenticAgentsSendMessageResponse: core.serialization.Schema<serializers.AgenticAgentsSendMessageResponse.Raw, Corti.AgenticAgentsSendMessageResponse>;
4
+ import { CommonMessage } from "./CommonMessage.js";
5
+ import { CommonTaskResponse } from "./CommonTaskResponse.js";
6
+ export declare const AgenticAgentsSendMessageResponse: core.serialization.ObjectSchema<serializers.AgenticAgentsSendMessageResponse.Raw, Corti.AgenticAgentsSendMessageResponse>;
5
7
  export declare namespace AgenticAgentsSendMessageResponse {
6
- type Raw = unknown;
8
+ interface Raw {
9
+ task?: CommonTaskResponse.Raw | null;
10
+ message?: CommonMessage.Raw | null;
11
+ }
7
12
  }
@@ -36,4 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.AgenticAgentsSendMessageResponse = void 0;
38
38
  const core = __importStar(require("../../core/index.js"));
39
- exports.AgenticAgentsSendMessageResponse = core.serialization.undiscriminatedUnion([core.serialization.unknown()]);
39
+ const CommonMessage_js_1 = require("./CommonMessage.js");
40
+ const CommonTaskResponse_js_1 = require("./CommonTaskResponse.js");
41
+ exports.AgenticAgentsSendMessageResponse = core.serialization.object({
42
+ task: CommonTaskResponse_js_1.CommonTaskResponse.optional(),
43
+ message: CommonMessage_js_1.CommonMessage.optional(),
44
+ });
@@ -1,12 +1,9 @@
1
1
  import type * as Corti from "../../api/index.js";
2
2
  import * as core from "../../core/index.js";
3
3
  import type * as serializers from "../index.js";
4
+ import { A2AsseEvent } from "./A2AsseEvent.js";
4
5
  export declare const AgenticAgentsStreamEventResponse: core.serialization.ObjectSchema<serializers.AgenticAgentsStreamEventResponse.Raw, Corti.AgenticAgentsStreamEventResponse>;
5
6
  export declare namespace AgenticAgentsStreamEventResponse {
6
- interface Raw {
7
- data?: string | null;
8
- event?: string | null;
9
- id?: string | null;
10
- retry?: number | null;
7
+ interface Raw extends A2AsseEvent.Raw {
11
8
  }
12
9
  }
@@ -36,9 +36,5 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.AgenticAgentsStreamEventResponse = void 0;
38
38
  const core = __importStar(require("../../core/index.js"));
39
- exports.AgenticAgentsStreamEventResponse = core.serialization.object({
40
- data: core.serialization.string().optional(),
41
- event: core.serialization.string().optional(),
42
- id: core.serialization.string().optional(),
43
- retry: core.serialization.number().optional(),
44
- });
39
+ const A2AsseEvent_js_1 = require("./A2AsseEvent.js");
40
+ exports.AgenticAgentsStreamEventResponse = core.serialization.object({}).extend(A2AsseEvent_js_1.A2AsseEvent);
@@ -0,0 +1,11 @@
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 { CodesConditionGroupMatch } from "./CodesConditionGroupMatch.js";
5
+ export declare const CodesConditionGroup: core.serialization.ObjectSchema<serializers.CodesConditionGroup.Raw, Corti.CodesConditionGroup>;
6
+ export declare namespace CodesConditionGroup {
7
+ interface Raw {
8
+ match?: CodesConditionGroupMatch.Raw | null;
9
+ conditions: serializers.CodesConditionGroupConditionsItem.Raw[];
10
+ }
11
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
+ if (k2 === undefined) k2 = k;
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
+ desc = { enumerable: true, get: function() { return m[k]; } };
8
+ }
9
+ Object.defineProperty(o, k2, desc);
10
+ }) : (function(o, m, k, k2) {
11
+ if (k2 === undefined) k2 = k;
12
+ o[k2] = m[k];
13
+ }));
14
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
16
+ }) : function(o, v) {
17
+ o["default"] = v;
18
+ });
19
+ var __importStar = (this && this.__importStar) || (function () {
20
+ var ownKeys = function(o) {
21
+ ownKeys = Object.getOwnPropertyNames || function (o) {
22
+ var ar = [];
23
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
+ return ar;
25
+ };
26
+ return ownKeys(o);
27
+ };
28
+ return function (mod) {
29
+ if (mod && mod.__esModule) return mod;
30
+ var result = {};
31
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
+ __setModuleDefault(result, mod);
33
+ return result;
34
+ };
35
+ })();
36
+ Object.defineProperty(exports, "__esModule", { value: true });
37
+ exports.CodesConditionGroup = void 0;
38
+ const core = __importStar(require("../../core/index.js"));
39
+ const serializers = __importStar(require("../index.js"));
40
+ const CodesConditionGroupMatch_js_1 = require("./CodesConditionGroupMatch.js");
41
+ exports.CodesConditionGroup = core.serialization.object({
42
+ match: CodesConditionGroupMatch_js_1.CodesConditionGroupMatch.optional(),
43
+ conditions: core.serialization.list(core.serialization.lazy(() => serializers.CodesConditionGroupConditionsItem)),
44
+ });
@@ -0,0 +1,8 @@
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 { CodesFilterCondition } from "./CodesFilterCondition.js";
5
+ export declare const CodesConditionGroupConditionsItem: core.serialization.Schema<serializers.CodesConditionGroupConditionsItem.Raw, Corti.CodesConditionGroupConditionsItem>;
6
+ export declare namespace CodesConditionGroupConditionsItem {
7
+ type Raw = CodesFilterCondition.Raw | serializers.CodesConditionGroup.Raw;
8
+ }