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

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 +33 -31
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ord-api/ord-api-types",
3
- "version": "1.0.27",
3
+ "version": "1.0.29",
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
@@ -1743,6 +1743,28 @@ export interface components {
1743
1743
  /** Format: date-time */
1744
1744
  createdAt: string;
1745
1745
  };
1746
+ ConversationMessageMistake: {
1747
+ phrase: string;
1748
+ /** @enum {string} */
1749
+ severity: "MINOR" | "MODERATE" | "CRITICAL";
1750
+ /** @enum {string} */
1751
+ errorType: "GRAMMAR" | "VOCABULARY" | "SPELLING" | "PUNCTUATION" | "REGISTER";
1752
+ explanation: string;
1753
+ correctForm: string;
1754
+ };
1755
+ ConversationMessageStrength: {
1756
+ phrase: string;
1757
+ /** @enum {string} */
1758
+ strengthType: "GRAMMAR" | "VOCABULARY" | "FLUENCY" | "PRAGMATICS" | "COMMUNICATION";
1759
+ explanation: string;
1760
+ };
1761
+ ConversationMessageSuggestion: {
1762
+ original: string;
1763
+ /** @enum {string} */
1764
+ suggestionType: "VOCABULARY" | "STRUCTURE";
1765
+ alternatives: string[];
1766
+ explanation: string;
1767
+ };
1746
1768
  ConversationUserMessageFeedbackDTO: {
1747
1769
  /** Format: uuid */
1748
1770
  id: string;
@@ -1758,34 +1780,12 @@ export interface components {
1758
1780
  /** Format: int32 */
1759
1781
  coherenceWithContext: number;
1760
1782
  registerAppropriate: boolean;
1761
- mistakes: components["schemas"]["Mistake"][];
1762
- strengths: components["schemas"]["Strength"][];
1763
- suggestions: components["schemas"]["Suggestion"][];
1783
+ mistakes: components["schemas"]["ConversationMessageMistake"][];
1784
+ strengths: components["schemas"]["ConversationMessageStrength"][];
1785
+ suggestions: components["schemas"]["ConversationMessageSuggestion"][];
1764
1786
  /** Format: uuid */
1765
1787
  messageId: string;
1766
1788
  };
1767
- Mistake: {
1768
- phrase: string;
1769
- /** Format: int32 */
1770
- severity: number;
1771
- /** @enum {string} */
1772
- errorType: "GRAMMAR" | "VOCABULARY" | "SPELLING" | "PUNCTUATION" | "REGISTER";
1773
- explanation: string;
1774
- correctForm: string;
1775
- };
1776
- Strength: {
1777
- phrase: string;
1778
- /** @enum {string} */
1779
- strengthType: "GRAMMAR" | "VOCABULARY" | "FLUENCY" | "PRAGMATICS" | "COMMUNICATION";
1780
- explanation: string;
1781
- };
1782
- Suggestion: {
1783
- original: string;
1784
- /** @enum {string} */
1785
- suggestionType: "IMPROVEMENT" | "ENRICHMENT";
1786
- alternatives: string[];
1787
- explanation: string;
1788
- };
1789
1789
  SuggestConversationTopicRequest: {
1790
1790
  clueFromUser?: string;
1791
1791
  /** @enum {string} */
@@ -1850,9 +1850,9 @@ export interface components {
1850
1850
  /** Format: int32 */
1851
1851
  coherenceWithContext: number;
1852
1852
  registerAppropriate: boolean;
1853
- mistakes: components["schemas"]["Mistake"][];
1854
- strengths: components["schemas"]["Strength"][];
1855
- suggestions: components["schemas"]["Suggestion"][];
1853
+ mistakes: components["schemas"]["ConversationMessageMistake"][];
1854
+ strengths: components["schemas"]["ConversationMessageStrength"][];
1855
+ suggestions: components["schemas"]["ConversationMessageSuggestion"][];
1856
1856
  };
1857
1857
  CreateAIConversationMessageRequest: {
1858
1858
  /** Format: uuid */
@@ -2085,11 +2085,13 @@ export interface components {
2085
2085
  /** @enum {string} */
2086
2086
  ConversationMessageSender: "USER" | "AI";
2087
2087
  /** @enum {string} */
2088
- ErrorType: "GRAMMAR" | "VOCABULARY" | "SPELLING" | "PUNCTUATION" | "REGISTER";
2088
+ ConversationMessageMistakeSeverity: "MINOR" | "MODERATE" | "CRITICAL";
2089
+ /** @enum {string} */
2090
+ ConversationMessageSuggestionType: "VOCABULARY" | "STRUCTURE";
2089
2091
  /** @enum {string} */
2090
- SuggestionType: "IMPROVEMENT" | "ENRICHMENT";
2092
+ ConversationMessageStrengthType: "GRAMMAR" | "VOCABULARY" | "FLUENCY" | "PRAGMATICS" | "COMMUNICATION";
2091
2093
  /** @enum {string} */
2092
- StrengthType: "GRAMMAR" | "VOCABULARY" | "FLUENCY" | "PRAGMATICS" | "COMMUNICATION";
2094
+ ConversationMessageErrorType: "GRAMMAR" | "VOCABULARY" | "SPELLING" | "PUNCTUATION" | "REGISTER";
2093
2095
  /** @enum {string} */
2094
2096
  ConversationTone: "FRIENDLY" | "FORMAL" | "HUMOROUS" | "NEUTRAL" | "ENCOURAGING" | "CHALLENGING";
2095
2097
  /** @enum {string} */