@ord-api/ord-api-types 1.0.6 → 1.0.7

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 (2) hide show
  1. package/package.json +1 -1
  2. package/types.ts +39 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ord-api/ord-api-types",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "TypeScript types for ORD API - Auto-generated from OpenAPI specification",
5
5
  "main": "types.ts",
6
6
  "types": "types.ts",
package/types.ts CHANGED
@@ -1681,6 +1681,11 @@ export interface components {
1681
1681
  aiInterlocutorName?: string;
1682
1682
  aiInterlocutorAvatarId?: string;
1683
1683
  };
1684
+ AlternativeExpression: {
1685
+ context: string;
1686
+ alternatives: string[];
1687
+ note?: string;
1688
+ };
1684
1689
  ConversationDTO: {
1685
1690
  /** Format: uuid */
1686
1691
  id: string;
@@ -1726,11 +1731,33 @@ export interface components {
1726
1731
  vocabulary: number;
1727
1732
  /** Format: int32 */
1728
1733
  answerLength: number;
1729
- comment?: string;
1730
- suggestedAnswer?: string;
1734
+ /** Format: int32 */
1735
+ naturalness: number;
1736
+ /** Format: int32 */
1737
+ coherenceWithContext: number;
1738
+ registerAppropriate: boolean;
1739
+ mistakes: components["schemas"]["Mistake"][];
1740
+ strengthsIdentified: string[];
1741
+ vocabularyEnrichment: components["schemas"]["VocabularyEnrichment"][];
1742
+ alternativeExpressions: components["schemas"]["AlternativeExpression"][];
1743
+ culturalNote?: string;
1731
1744
  /** Format: uuid */
1732
1745
  messageId: string;
1733
1746
  };
1747
+ Mistake: {
1748
+ phrase: string;
1749
+ /** Format: int32 */
1750
+ severity: number;
1751
+ /** @enum {string} */
1752
+ errorType: "GRAMMAR_TENSE" | "GRAMMAR_AGREEMENT" | "GRAMMAR_WORD_ORDER" | "VOCABULARY_WRONG_WORD" | "VOCABULARY_UNNATURAL_COLLOCATION" | "SPELLING" | "PUNCTUATION" | "MISSING_WORD" | "UNNECESSARY_WORD" | "REGISTER_MISMATCH" | "COHERENCE_ISSUE";
1753
+ explanation: string;
1754
+ correctForm: string;
1755
+ };
1756
+ VocabularyEnrichment: {
1757
+ original: string;
1758
+ suggestion: string;
1759
+ explanation: string;
1760
+ };
1734
1761
  SuggestConversationTopicRequest: {
1735
1762
  clueFromUser?: string;
1736
1763
  /** @enum {string} */
@@ -1780,8 +1807,16 @@ export interface components {
1780
1807
  vocabulary: number;
1781
1808
  /** Format: int32 */
1782
1809
  answerLength: number;
1783
- comment?: string;
1784
- suggestedAnswer?: string;
1810
+ /** Format: int32 */
1811
+ naturalness: number;
1812
+ /** Format: int32 */
1813
+ coherenceWithContext: number;
1814
+ registerAppropriate: boolean;
1815
+ mistakes: components["schemas"]["Mistake"][];
1816
+ strengthsIdentified: string[];
1817
+ vocabularyEnrichment: components["schemas"]["VocabularyEnrichment"][];
1818
+ alternativeExpressions: components["schemas"]["AlternativeExpression"][];
1819
+ culturalNote?: string;
1785
1820
  };
1786
1821
  /** @description Request to verify OTP code and authenticate user */
1787
1822
  OtpVerifyDto: {