@ord-api/ord-api-types 1.0.30 → 1.0.32
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 +39 -4
package/package.json
CHANGED
package/types.ts
CHANGED
|
@@ -1686,25 +1686,50 @@ export interface components {
|
|
|
1686
1686
|
explanation: string;
|
|
1687
1687
|
grammarPoint: string;
|
|
1688
1688
|
exampleSentences: string[];
|
|
1689
|
+
/**
|
|
1690
|
+
* @description Formality register indicator for learning tips
|
|
1691
|
+
* @enum {string}
|
|
1692
|
+
*/
|
|
1693
|
+
register: "FORMAL" | "INFORMAL" | "COLLOQUIAL";
|
|
1689
1694
|
};
|
|
1690
|
-
|
|
1695
|
+
AnnotatedPhraseTip: {
|
|
1691
1696
|
phrase: string;
|
|
1697
|
+
/**
|
|
1698
|
+
* @description Type of phrase learning tip
|
|
1699
|
+
* @enum {string}
|
|
1700
|
+
*/
|
|
1701
|
+
phraseType: "IDIOMATIC" | "LITERAL";
|
|
1692
1702
|
meaning: string;
|
|
1693
1703
|
exampleSentences: string[];
|
|
1704
|
+
/**
|
|
1705
|
+
* @description Formality register indicator for learning tips
|
|
1706
|
+
* @enum {string}
|
|
1707
|
+
*/
|
|
1708
|
+
register: "FORMAL" | "INFORMAL" | "COLLOQUIAL";
|
|
1694
1709
|
};
|
|
1695
1710
|
AnnotatedVocabularyTip: {
|
|
1696
1711
|
word: string;
|
|
1697
1712
|
definition: string;
|
|
1698
1713
|
usageNote: string;
|
|
1699
|
-
|
|
1714
|
+
/**
|
|
1715
|
+
* @description Type of word or expression
|
|
1716
|
+
* @enum {string}
|
|
1717
|
+
*/
|
|
1718
|
+
wordType: "NOUN" | "VERB" | "ADJECTIVE" | "ADVERB" | "IDIOM" | "PHRASE";
|
|
1700
1719
|
exampleSentences: string[];
|
|
1720
|
+
/**
|
|
1721
|
+
* @description Formality register indicator for learning tips
|
|
1722
|
+
* @enum {string}
|
|
1723
|
+
*/
|
|
1724
|
+
register: "FORMAL" | "INFORMAL" | "COLLOQUIAL";
|
|
1725
|
+
nativeLanguageEquivalent: string;
|
|
1701
1726
|
};
|
|
1702
1727
|
ConversationAIMessageLearningTipsDTO: {
|
|
1703
1728
|
/** Format: uuid */
|
|
1704
1729
|
id: string;
|
|
1705
1730
|
grammarTips: components["schemas"]["AnnotatedGrammarTip"][];
|
|
1706
1731
|
vocabularyTips: components["schemas"]["AnnotatedVocabularyTip"][];
|
|
1707
|
-
|
|
1732
|
+
phraseTips: components["schemas"]["AnnotatedPhraseTip"][];
|
|
1708
1733
|
/** Format: uuid */
|
|
1709
1734
|
messageId: string;
|
|
1710
1735
|
};
|
|
@@ -1870,7 +1895,7 @@ export interface components {
|
|
|
1870
1895
|
AIMessageLearningTips: {
|
|
1871
1896
|
grammarTips: components["schemas"]["AnnotatedGrammarTip"][];
|
|
1872
1897
|
vocabularyTips: components["schemas"]["AnnotatedVocabularyTip"][];
|
|
1873
|
-
|
|
1898
|
+
phraseTips: components["schemas"]["AnnotatedPhraseTip"][];
|
|
1874
1899
|
};
|
|
1875
1900
|
/** @description Request to verify OTP code and authenticate user */
|
|
1876
1901
|
OtpVerifyDto: {
|
|
@@ -2086,6 +2111,16 @@ export interface components {
|
|
|
2086
2111
|
UserActivityType: "CROSSWORD_GAME_COMPLETED_FLAWLESSLY" | "CROSSWORD_GAME_COMPLETED_WITH_MISTAKES" | "WORDS_TYPING_GAME_COMPLETED_FLAWLESSLY" | "WORDS_TYPING_GAME_COMPLETED_WITH_MISTAKES" | "SENTENCES_WRITING_GAME_COMPLETED_FLAWLESSLY" | "SENTENCES_WRITING_GAME_COMPLETED_WITH_MISTAKES" | "GAME_QUIT" | "WORDS_ADDED_IN_ONE_DAY_10" | "WORDS_ADDED_IN_ONE_WEEK_50" | "WORD_COMPLETED" | "WORDS_COMPLETED_IN_ONE_DAY_10" | "WORDS_COMPLETED_IN_ONE_WEEK_30";
|
|
2087
2112
|
/** @enum {string} */
|
|
2088
2113
|
ConversationMessageSender: "USER" | "AI";
|
|
2114
|
+
/**
|
|
2115
|
+
* @description Formality register indicator for learning tips
|
|
2116
|
+
* @enum {string}
|
|
2117
|
+
*/
|
|
2118
|
+
TipRegister: "FORMAL" | "INFORMAL" | "COLLOQUIAL";
|
|
2119
|
+
/**
|
|
2120
|
+
* @description Type of phrase learning tip
|
|
2121
|
+
* @enum {string}
|
|
2122
|
+
*/
|
|
2123
|
+
PhraseType: "IDIOMATIC" | "LITERAL";
|
|
2089
2124
|
/** @enum {string} */
|
|
2090
2125
|
ConversationMessageMistakeSeverity: "MINOR" | "MODERATE" | "CRITICAL";
|
|
2091
2126
|
/** @enum {string} */
|