@ord-api/ord-api-types 1.0.25 → 1.0.27

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 +20 -17
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ord-api/ord-api-types",
3
- "version": "1.0.25",
3
+ "version": "1.0.27",
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,11 +1681,6 @@ 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
- };
1689
1684
  AnnotatedGrammarTip: {
1690
1685
  phrase: string;
1691
1686
  explanation: string;
@@ -1764,10 +1759,8 @@ export interface components {
1764
1759
  coherenceWithContext: number;
1765
1760
  registerAppropriate: boolean;
1766
1761
  mistakes: components["schemas"]["Mistake"][];
1767
- strengthsIdentified: string[];
1768
- vocabularyEnrichment: components["schemas"]["VocabularyEnrichment"][];
1769
- alternativeExpressions: components["schemas"]["AlternativeExpression"][];
1770
- culturalNote?: string;
1762
+ strengths: components["schemas"]["Strength"][];
1763
+ suggestions: components["schemas"]["Suggestion"][];
1771
1764
  /** Format: uuid */
1772
1765
  messageId: string;
1773
1766
  };
@@ -1776,13 +1769,21 @@ export interface components {
1776
1769
  /** Format: int32 */
1777
1770
  severity: number;
1778
1771
  /** @enum {string} */
1779
- errorType: "GRAMMAR_TENSE" | "GRAMMAR_AGREEMENT" | "GRAMMAR_WORD_ORDER" | "VOCABULARY_WRONG_WORD" | "VOCABULARY_UNNATURAL_COLLOCATION" | "SPELLING" | "PUNCTUATION" | "MISSING_WORD" | "UNNECESSARY_WORD" | "REGISTER_MISMATCH" | "COHERENCE_ISSUE";
1772
+ errorType: "GRAMMAR" | "VOCABULARY" | "SPELLING" | "PUNCTUATION" | "REGISTER";
1780
1773
  explanation: string;
1781
1774
  correctForm: string;
1782
1775
  };
1783
- VocabularyEnrichment: {
1776
+ Strength: {
1777
+ phrase: string;
1778
+ /** @enum {string} */
1779
+ strengthType: "GRAMMAR" | "VOCABULARY" | "FLUENCY" | "PRAGMATICS" | "COMMUNICATION";
1780
+ explanation: string;
1781
+ };
1782
+ Suggestion: {
1784
1783
  original: string;
1785
- suggestion: string;
1784
+ /** @enum {string} */
1785
+ suggestionType: "IMPROVEMENT" | "ENRICHMENT";
1786
+ alternatives: string[];
1786
1787
  explanation: string;
1787
1788
  };
1788
1789
  SuggestConversationTopicRequest: {
@@ -1850,10 +1851,8 @@ export interface components {
1850
1851
  coherenceWithContext: number;
1851
1852
  registerAppropriate: boolean;
1852
1853
  mistakes: components["schemas"]["Mistake"][];
1853
- strengthsIdentified: string[];
1854
- vocabularyEnrichment: components["schemas"]["VocabularyEnrichment"][];
1855
- alternativeExpressions: components["schemas"]["AlternativeExpression"][];
1856
- culturalNote?: string;
1854
+ strengths: components["schemas"]["Strength"][];
1855
+ suggestions: components["schemas"]["Suggestion"][];
1857
1856
  };
1858
1857
  CreateAIConversationMessageRequest: {
1859
1858
  /** Format: uuid */
@@ -2086,7 +2085,11 @@ export interface components {
2086
2085
  /** @enum {string} */
2087
2086
  ConversationMessageSender: "USER" | "AI";
2088
2087
  /** @enum {string} */
2089
- ErrorType: "GRAMMAR_TENSE" | "GRAMMAR_AGREEMENT" | "GRAMMAR_WORD_ORDER" | "VOCABULARY_WRONG_WORD" | "VOCABULARY_UNNATURAL_COLLOCATION" | "SPELLING" | "PUNCTUATION" | "MISSING_WORD" | "UNNECESSARY_WORD" | "REGISTER_MISMATCH" | "COHERENCE_ISSUE";
2088
+ ErrorType: "GRAMMAR" | "VOCABULARY" | "SPELLING" | "PUNCTUATION" | "REGISTER";
2089
+ /** @enum {string} */
2090
+ SuggestionType: "IMPROVEMENT" | "ENRICHMENT";
2091
+ /** @enum {string} */
2092
+ StrengthType: "GRAMMAR" | "VOCABULARY" | "FLUENCY" | "PRAGMATICS" | "COMMUNICATION";
2090
2093
  /** @enum {string} */
2091
2094
  ConversationTone: "FRIENDLY" | "FORMAL" | "HUMOROUS" | "NEUTRAL" | "ENCOURAGING" | "CHALLENGING";
2092
2095
  /** @enum {string} */