@ord-api/ord-api-types 1.0.24 → 1.0.25
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.
- package/package.json +1 -1
- package/types.ts +13 -18
package/package.json
CHANGED
package/types.ts
CHANGED
|
@@ -614,8 +614,8 @@ export interface paths {
|
|
|
614
614
|
get?: never;
|
|
615
615
|
put?: never;
|
|
616
616
|
/**
|
|
617
|
-
* Generate learning tips from AI message
|
|
618
|
-
* @description Generate structured learning tips and annotations from
|
|
617
|
+
* Generate learning tips from latest AI message
|
|
618
|
+
* @description Generate structured learning tips and annotations from the most recent AI message in the conversation that doesn't have learning tips yet. The system automatically identifies the appropriate message.
|
|
619
619
|
*/
|
|
620
620
|
post: operations["generateLearningTipsForAIMessage"];
|
|
621
621
|
delete?: never;
|
|
@@ -1678,19 +1678,14 @@ export interface components {
|
|
|
1678
1678
|
tone: "FRIENDLY" | "FORMAL" | "HUMOROUS" | "NEUTRAL" | "ENCOURAGING" | "CHALLENGING";
|
|
1679
1679
|
/** @enum {string} */
|
|
1680
1680
|
type: "SMALL_TALK" | "SCENARIO_ROLEPLAY" | "EXAM_PRACTICE" | "TOPIC_EXPLORATION" | "OXFORD_DEBATE";
|
|
1681
|
-
aiInterlocutorName
|
|
1682
|
-
aiInterlocutorAvatarId
|
|
1681
|
+
aiInterlocutorName: string;
|
|
1682
|
+
aiInterlocutorAvatarId: string;
|
|
1683
1683
|
};
|
|
1684
1684
|
AlternativeExpression: {
|
|
1685
1685
|
context: string;
|
|
1686
1686
|
alternatives: string[];
|
|
1687
1687
|
note?: string;
|
|
1688
1688
|
};
|
|
1689
|
-
AnnotatedCulturalTip: {
|
|
1690
|
-
phrase: string;
|
|
1691
|
-
culturalContext: string;
|
|
1692
|
-
regionalNote: string;
|
|
1693
|
-
};
|
|
1694
1689
|
AnnotatedGrammarTip: {
|
|
1695
1690
|
phrase: string;
|
|
1696
1691
|
explanation: string;
|
|
@@ -1713,7 +1708,6 @@ export interface components {
|
|
|
1713
1708
|
grammarTips: components["schemas"]["AnnotatedGrammarTip"][];
|
|
1714
1709
|
vocabularyTips: components["schemas"]["AnnotatedVocabularyTip"][];
|
|
1715
1710
|
idiomTips: components["schemas"]["AnnotatedIdiomTip"][];
|
|
1716
|
-
culturalTips: components["schemas"]["AnnotatedCulturalTip"][];
|
|
1717
1711
|
/** Format: uuid */
|
|
1718
1712
|
messageId: string;
|
|
1719
1713
|
};
|
|
@@ -1732,8 +1726,8 @@ export interface components {
|
|
|
1732
1726
|
type: "SMALL_TALK" | "SCENARIO_ROLEPLAY" | "EXAM_PRACTICE" | "TOPIC_EXPLORATION" | "OXFORD_DEBATE";
|
|
1733
1727
|
/** @enum {string} */
|
|
1734
1728
|
aiTone: "FRIENDLY" | "FORMAL" | "HUMOROUS" | "NEUTRAL" | "ENCOURAGING" | "CHALLENGING";
|
|
1735
|
-
aiInterlocutorName
|
|
1736
|
-
aiInterlocutorAvatarId
|
|
1729
|
+
aiInterlocutorName: string;
|
|
1730
|
+
aiInterlocutorAvatarId: string;
|
|
1737
1731
|
additionalContext?: string;
|
|
1738
1732
|
messages: components["schemas"]["ConversationMessageDTO"][];
|
|
1739
1733
|
/** Format: date-time */
|
|
@@ -1757,6 +1751,7 @@ export interface components {
|
|
|
1757
1751
|
ConversationUserMessageFeedbackDTO: {
|
|
1758
1752
|
/** Format: uuid */
|
|
1759
1753
|
id: string;
|
|
1754
|
+
tutorComment: string;
|
|
1760
1755
|
/** Format: int32 */
|
|
1761
1756
|
grammar: number;
|
|
1762
1757
|
/** Format: int32 */
|
|
@@ -1842,6 +1837,7 @@ export interface components {
|
|
|
1842
1837
|
};
|
|
1843
1838
|
ReviewedUserConversationMessage: {
|
|
1844
1839
|
sabotage?: string;
|
|
1840
|
+
tutorComment: string;
|
|
1845
1841
|
/** Format: int32 */
|
|
1846
1842
|
grammar: number;
|
|
1847
1843
|
/** Format: int32 */
|
|
@@ -1869,14 +1865,11 @@ export interface components {
|
|
|
1869
1865
|
GetLearningTipsForAIMessageRequest: {
|
|
1870
1866
|
/** Format: uuid */
|
|
1871
1867
|
conversationId: string;
|
|
1872
|
-
/** Format: uuid */
|
|
1873
|
-
messageId: string;
|
|
1874
1868
|
};
|
|
1875
1869
|
AIMessageLearningTips: {
|
|
1876
1870
|
grammarTips: components["schemas"]["AnnotatedGrammarTip"][];
|
|
1877
1871
|
vocabularyTips: components["schemas"]["AnnotatedVocabularyTip"][];
|
|
1878
1872
|
idiomTips: components["schemas"]["AnnotatedIdiomTip"][];
|
|
1879
|
-
culturalTips: components["schemas"]["AnnotatedCulturalTip"][];
|
|
1880
1873
|
};
|
|
1881
1874
|
/** @description Request to verify OTP code and authenticate user */
|
|
1882
1875
|
OtpVerifyDto: {
|
|
@@ -3564,12 +3557,14 @@ export interface operations {
|
|
|
3564
3557
|
"*/*": components["schemas"]["AIMessageLearningTips"];
|
|
3565
3558
|
};
|
|
3566
3559
|
};
|
|
3567
|
-
/** @description
|
|
3560
|
+
/** @description Bad Request */
|
|
3568
3561
|
400: {
|
|
3569
3562
|
headers: {
|
|
3570
3563
|
[name: string]: unknown;
|
|
3571
3564
|
};
|
|
3572
|
-
content
|
|
3565
|
+
content: {
|
|
3566
|
+
"*/*": components["schemas"]["BadRequestResponse"];
|
|
3567
|
+
};
|
|
3573
3568
|
};
|
|
3574
3569
|
/** @description Unauthorized */
|
|
3575
3570
|
401: {
|
|
@@ -3578,7 +3573,7 @@ export interface operations {
|
|
|
3578
3573
|
};
|
|
3579
3574
|
content?: never;
|
|
3580
3575
|
};
|
|
3581
|
-
/** @description Conversation or message
|
|
3576
|
+
/** @description Conversation not found or no AI message without learning tips exists */
|
|
3582
3577
|
404: {
|
|
3583
3578
|
headers: {
|
|
3584
3579
|
[name: string]: unknown;
|