This commit is contained in:
parent
3a3537831a
commit
3c23c49912
4 changed files with 1028 additions and 76 deletions
File diff suppressed because one or more lines are too long
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
import type { Client, Options as Options2, TDataShape } from './client';
|
||||
import { client } from './client.gen';
|
||||
import type { AnalyzePosApiPosPostData, AnalyzePosApiPosPostErrors, AnalyzePosApiPosPostResponses, CreateGenerationJobApiGeneratePostData, CreateGenerationJobApiGeneratePostErrors, CreateGenerationJobApiGeneratePostResponses, GetArticleBffArticlesArticleIdGetData, GetArticleBffArticlesArticleIdGetErrors, GetArticleBffArticlesArticleIdGetResponses, GetJobApiJobsJobIdGetData, GetJobApiJobsJobIdGetErrors, GetJobApiJobsJobIdGetResponses, GetJobsApiJobsGetData, GetJobsApiJobsGetResponses, GetMediaFileMediaFilenameGetData, GetMediaFileMediaFilenameGetErrors, GetMediaFileMediaFilenameGetResponses, GetUserProfileBffUserProfileGetData, GetUserProfileBffUserProfileGetResponses, HealthHealthGetData, HealthHealthGetResponses, ListArticlesBffArticlesGetData, ListArticlesBffArticlesGetErrors, ListArticlesBffArticlesGetResponses, LoginAuthLoginPostData, LoginAuthLoginPostErrors, LoginAuthLoginPostResponses, RegenerateAudioApiJobsJobIdRegenerateAudioPostData, RegenerateAudioApiJobsJobIdRegenerateAudioPostErrors, RegenerateAudioApiJobsJobIdRegenerateAudioPostResponses, RegisterAuthRegisterPostData, RegisterAuthRegisterPostErrors, RegisterAuthRegisterPostResponses, TranslateTextApiTranslateGetData, TranslateTextApiTranslateGetErrors, TranslateTextApiTranslateGetResponses, UpsertLearnableLanguageApiLearnableLanguagesPostData, UpsertLearnableLanguageApiLearnableLanguagesPostErrors, UpsertLearnableLanguageApiLearnableLanguagesPostResponses } from './types.gen';
|
||||
import type { AddFromTokenApiVocabFromTokenPostData, AddFromTokenApiVocabFromTokenPostErrors, AddFromTokenApiVocabFromTokenPostResponses, AddLearnableLanguageApiAccountLearnableLanguagesPostData, AddLearnableLanguageApiAccountLearnableLanguagesPostErrors, AddLearnableLanguageApiAccountLearnableLanguagesPostResponses, AddWordApiVocabPostData, AddWordApiVocabPostErrors, AddWordApiVocabPostResponses, AnalyzePosApiPosPostData, AnalyzePosApiPosPostErrors, AnalyzePosApiPosPostResponses, CompleteOnboardingApiAccountOnboardingPostData, CompleteOnboardingApiAccountOnboardingPostErrors, CompleteOnboardingApiAccountOnboardingPostResponses, CreateGenerationJobApiGeneratePostData, CreateGenerationJobApiGeneratePostErrors, CreateGenerationJobApiGeneratePostResponses, GenerateFlashcardsApiVocabEntryIdFlashcardsPostData, GenerateFlashcardsApiVocabEntryIdFlashcardsPostErrors, GenerateFlashcardsApiVocabEntryIdFlashcardsPostResponses, GetAccountBffAccountGetData, GetAccountBffAccountGetResponses, GetAccountStatusApiAccountStatusGetData, GetAccountStatusApiAccountStatusGetResponses, GetArticleBffArticlesArticleIdGetData, GetArticleBffArticlesArticleIdGetErrors, GetArticleBffArticlesArticleIdGetResponses, GetJobApiJobsJobIdGetData, GetJobApiJobsJobIdGetErrors, GetJobApiJobsJobIdGetResponses, GetJobsApiJobsGetData, GetJobsApiJobsGetResponses, GetMediaFileMediaFilenameGetData, GetMediaFileMediaFilenameGetErrors, GetMediaFileMediaFilenameGetResponses, GetOnboardingBffAccountOnboardingGetData, GetOnboardingBffAccountOnboardingGetResponses, GetUserProfileBffUserProfileGetData, GetUserProfileBffUserProfileGetResponses, HealthHealthGetData, HealthHealthGetResponses, ListArticlesBffArticlesGetData, ListArticlesBffArticlesGetErrors, ListArticlesBffArticlesGetResponses, ListEntriesApiVocabGetData, ListEntriesApiVocabGetErrors, ListEntriesApiVocabGetResponses, ListFlashcardsApiFlashcardsGetData, ListFlashcardsApiFlashcardsGetResponses, LoginApiAuthLoginPostData, LoginApiAuthLoginPostErrors, LoginApiAuthLoginPostResponses, PendingDisambiguationApiVocabPendingDisambiguationGetData, PendingDisambiguationApiVocabPendingDisambiguationGetResponses, RecordEventApiFlashcardsFlashcardIdEventsPostData, RecordEventApiFlashcardsFlashcardIdEventsPostErrors, RecordEventApiFlashcardsFlashcardIdEventsPostResponses, RegenerateAudioApiJobsJobIdRegenerateAudioPostData, RegenerateAudioApiJobsJobIdRegenerateAudioPostErrors, RegenerateAudioApiJobsJobIdRegenerateAudioPostResponses, RegisterApiAuthRegisterPostData, RegisterApiAuthRegisterPostErrors, RegisterApiAuthRegisterPostResponses, RemoveLearnableLanguageApiAccountLearnableLanguagesLanguageIdDeleteData, RemoveLearnableLanguageApiAccountLearnableLanguagesLanguageIdDeleteErrors, RemoveLearnableLanguageApiAccountLearnableLanguagesLanguageIdDeleteResponses, ResolveSenseApiVocabEntryIdSensePatchData, ResolveSenseApiVocabEntryIdSensePatchErrors, ResolveSenseApiVocabEntryIdSensePatchResponses, TranslateTextApiTranslateGetData, TranslateTextApiTranslateGetErrors, TranslateTextApiTranslateGetResponses, UpsertLearnableLanguageApiLearnableLanguagesPostData, UpsertLearnableLanguageApiLearnableLanguagesPostErrors, UpsertLearnableLanguageApiLearnableLanguagesPostResponses, VerifyEmailApiAuthVerifyEmailGetData, VerifyEmailApiAuthVerifyEmailGetErrors, VerifyEmailApiAuthVerifyEmailGetResponses } from './types.gen';
|
||||
|
||||
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options2<TData, ThrowOnError> & {
|
||||
/**
|
||||
|
|
@ -18,6 +18,114 @@ export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends
|
|||
meta?: Record<string, unknown>;
|
||||
};
|
||||
|
||||
/**
|
||||
* Register
|
||||
*/
|
||||
export const registerApiAuthRegisterPost = <ThrowOnError extends boolean = false>(options: Options<RegisterApiAuthRegisterPostData, ThrowOnError>) => (options.client ?? client).post<RegisterApiAuthRegisterPostResponses, RegisterApiAuthRegisterPostErrors, ThrowOnError>({
|
||||
url: '/api/auth/register',
|
||||
...options,
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
...options.headers
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
* Login
|
||||
*/
|
||||
export const loginApiAuthLoginPost = <ThrowOnError extends boolean = false>(options: Options<LoginApiAuthLoginPostData, ThrowOnError>) => (options.client ?? client).post<LoginApiAuthLoginPostResponses, LoginApiAuthLoginPostErrors, ThrowOnError>({
|
||||
url: '/api/auth/login',
|
||||
...options,
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
...options.headers
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
* Verify Email
|
||||
*/
|
||||
export const verifyEmailApiAuthVerifyEmailGet = <ThrowOnError extends boolean = false>(options: Options<VerifyEmailApiAuthVerifyEmailGetData, ThrowOnError>) => (options.client ?? client).get<VerifyEmailApiAuthVerifyEmailGetResponses, VerifyEmailApiAuthVerifyEmailGetErrors, ThrowOnError>({ url: '/api/auth/verify-email', ...options });
|
||||
|
||||
/**
|
||||
* Add Learnable Language
|
||||
*/
|
||||
export const addLearnableLanguageApiAccountLearnableLanguagesPost = <ThrowOnError extends boolean = false>(options: Options<AddLearnableLanguageApiAccountLearnableLanguagesPostData, ThrowOnError>) => (options.client ?? client).post<AddLearnableLanguageApiAccountLearnableLanguagesPostResponses, AddLearnableLanguageApiAccountLearnableLanguagesPostErrors, ThrowOnError>({
|
||||
security: [{ scheme: 'bearer', type: 'http' }],
|
||||
url: '/api/account/learnable-languages',
|
||||
...options,
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
...options.headers
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
* Complete Onboarding
|
||||
*/
|
||||
export const completeOnboardingApiAccountOnboardingPost = <ThrowOnError extends boolean = false>(options: Options<CompleteOnboardingApiAccountOnboardingPostData, ThrowOnError>) => (options.client ?? client).post<CompleteOnboardingApiAccountOnboardingPostResponses, CompleteOnboardingApiAccountOnboardingPostErrors, ThrowOnError>({
|
||||
security: [{ scheme: 'bearer', type: 'http' }],
|
||||
url: '/api/account/onboarding',
|
||||
...options,
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
...options.headers
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
* Get Account Status
|
||||
*/
|
||||
export const getAccountStatusApiAccountStatusGet = <ThrowOnError extends boolean = false>(options?: Options<GetAccountStatusApiAccountStatusGetData, ThrowOnError>) => (options?.client ?? client).get<GetAccountStatusApiAccountStatusGetResponses, unknown, ThrowOnError>({
|
||||
security: [{ scheme: 'bearer', type: 'http' }],
|
||||
url: '/api/account/status',
|
||||
...options
|
||||
});
|
||||
|
||||
/**
|
||||
* Remove Learnable Language
|
||||
*/
|
||||
export const removeLearnableLanguageApiAccountLearnableLanguagesLanguageIdDelete = <ThrowOnError extends boolean = false>(options: Options<RemoveLearnableLanguageApiAccountLearnableLanguagesLanguageIdDeleteData, ThrowOnError>) => (options.client ?? client).delete<RemoveLearnableLanguageApiAccountLearnableLanguagesLanguageIdDeleteResponses, RemoveLearnableLanguageApiAccountLearnableLanguagesLanguageIdDeleteErrors, ThrowOnError>({
|
||||
security: [{ scheme: 'bearer', type: 'http' }],
|
||||
url: '/api/account/learnable-languages/{language_id}',
|
||||
...options
|
||||
});
|
||||
|
||||
/**
|
||||
* Generate Flashcards
|
||||
*/
|
||||
export const generateFlashcardsApiVocabEntryIdFlashcardsPost = <ThrowOnError extends boolean = false>(options: Options<GenerateFlashcardsApiVocabEntryIdFlashcardsPostData, ThrowOnError>) => (options.client ?? client).post<GenerateFlashcardsApiVocabEntryIdFlashcardsPostResponses, GenerateFlashcardsApiVocabEntryIdFlashcardsPostErrors, ThrowOnError>({
|
||||
security: [{ scheme: 'bearer', type: 'http' }],
|
||||
url: '/api/vocab/{entry_id}/flashcards',
|
||||
...options,
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
...options.headers
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
* List Flashcards
|
||||
*/
|
||||
export const listFlashcardsApiFlashcardsGet = <ThrowOnError extends boolean = false>(options?: Options<ListFlashcardsApiFlashcardsGetData, ThrowOnError>) => (options?.client ?? client).get<ListFlashcardsApiFlashcardsGetResponses, unknown, ThrowOnError>({
|
||||
security: [{ scheme: 'bearer', type: 'http' }],
|
||||
url: '/api/flashcards',
|
||||
...options
|
||||
});
|
||||
|
||||
/**
|
||||
* Record Event
|
||||
*/
|
||||
export const recordEventApiFlashcardsFlashcardIdEventsPost = <ThrowOnError extends boolean = false>(options: Options<RecordEventApiFlashcardsFlashcardIdEventsPostData, ThrowOnError>) => (options.client ?? client).post<RecordEventApiFlashcardsFlashcardIdEventsPostResponses, RecordEventApiFlashcardsFlashcardIdEventsPostErrors, ThrowOnError>({
|
||||
security: [{ scheme: 'bearer', type: 'http' }],
|
||||
url: '/api/flashcards/{flashcard_id}/events',
|
||||
...options,
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
...options.headers
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
* Analyze Pos
|
||||
*/
|
||||
|
|
@ -93,6 +201,81 @@ export const upsertLearnableLanguageApiLearnableLanguagesPost = <ThrowOnError ex
|
|||
}
|
||||
});
|
||||
|
||||
/**
|
||||
* List Entries
|
||||
*/
|
||||
export const listEntriesApiVocabGet = <ThrowOnError extends boolean = false>(options: Options<ListEntriesApiVocabGetData, ThrowOnError>) => (options.client ?? client).get<ListEntriesApiVocabGetResponses, ListEntriesApiVocabGetErrors, ThrowOnError>({
|
||||
security: [{ scheme: 'bearer', type: 'http' }],
|
||||
url: '/api/vocab',
|
||||
...options
|
||||
});
|
||||
|
||||
/**
|
||||
* Add Word
|
||||
*/
|
||||
export const addWordApiVocabPost = <ThrowOnError extends boolean = false>(options: Options<AddWordApiVocabPostData, ThrowOnError>) => (options.client ?? client).post<AddWordApiVocabPostResponses, AddWordApiVocabPostErrors, ThrowOnError>({
|
||||
security: [{ scheme: 'bearer', type: 'http' }],
|
||||
url: '/api/vocab',
|
||||
...options,
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
...options.headers
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
* Add From Token
|
||||
*/
|
||||
export const addFromTokenApiVocabFromTokenPost = <ThrowOnError extends boolean = false>(options: Options<AddFromTokenApiVocabFromTokenPostData, ThrowOnError>) => (options.client ?? client).post<AddFromTokenApiVocabFromTokenPostResponses, AddFromTokenApiVocabFromTokenPostErrors, ThrowOnError>({
|
||||
security: [{ scheme: 'bearer', type: 'http' }],
|
||||
url: '/api/vocab/from-token',
|
||||
...options,
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
...options.headers
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
* Pending Disambiguation
|
||||
*/
|
||||
export const pendingDisambiguationApiVocabPendingDisambiguationGet = <ThrowOnError extends boolean = false>(options?: Options<PendingDisambiguationApiVocabPendingDisambiguationGetData, ThrowOnError>) => (options?.client ?? client).get<PendingDisambiguationApiVocabPendingDisambiguationGetResponses, unknown, ThrowOnError>({
|
||||
security: [{ scheme: 'bearer', type: 'http' }],
|
||||
url: '/api/vocab/pending-disambiguation',
|
||||
...options
|
||||
});
|
||||
|
||||
/**
|
||||
* Resolve Sense
|
||||
*/
|
||||
export const resolveSenseApiVocabEntryIdSensePatch = <ThrowOnError extends boolean = false>(options: Options<ResolveSenseApiVocabEntryIdSensePatchData, ThrowOnError>) => (options.client ?? client).patch<ResolveSenseApiVocabEntryIdSensePatchResponses, ResolveSenseApiVocabEntryIdSensePatchErrors, ThrowOnError>({
|
||||
security: [{ scheme: 'bearer', type: 'http' }],
|
||||
url: '/api/vocab/{entry_id}/sense',
|
||||
...options,
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
...options.headers
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
* Get Account
|
||||
*/
|
||||
export const getAccountBffAccountGet = <ThrowOnError extends boolean = false>(options?: Options<GetAccountBffAccountGetData, ThrowOnError>) => (options?.client ?? client).get<GetAccountBffAccountGetResponses, unknown, ThrowOnError>({
|
||||
security: [{ scheme: 'bearer', type: 'http' }],
|
||||
url: '/bff/account',
|
||||
...options
|
||||
});
|
||||
|
||||
/**
|
||||
* Get Onboarding
|
||||
*/
|
||||
export const getOnboardingBffAccountOnboardingGet = <ThrowOnError extends boolean = false>(options?: Options<GetOnboardingBffAccountOnboardingGetData, ThrowOnError>) => (options?.client ?? client).get<GetOnboardingBffAccountOnboardingGetResponses, unknown, ThrowOnError>({
|
||||
security: [{ scheme: 'bearer', type: 'http' }],
|
||||
url: '/bff/account/onboarding',
|
||||
...options
|
||||
});
|
||||
|
||||
/**
|
||||
* List Articles
|
||||
*/
|
||||
|
|
@ -120,30 +303,6 @@ export const getUserProfileBffUserProfileGet = <ThrowOnError extends boolean = f
|
|||
...options
|
||||
});
|
||||
|
||||
/**
|
||||
* Register
|
||||
*/
|
||||
export const registerAuthRegisterPost = <ThrowOnError extends boolean = false>(options: Options<RegisterAuthRegisterPostData, ThrowOnError>) => (options.client ?? client).post<RegisterAuthRegisterPostResponses, RegisterAuthRegisterPostErrors, ThrowOnError>({
|
||||
url: '/auth/register',
|
||||
...options,
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
...options.headers
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
* Login
|
||||
*/
|
||||
export const loginAuthLoginPost = <ThrowOnError extends boolean = false>(options: Options<LoginAuthLoginPostData, ThrowOnError>) => (options.client ?? client).post<LoginAuthLoginPostResponses, LoginAuthLoginPostErrors, ThrowOnError>({
|
||||
url: '/auth/login',
|
||||
...options,
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
...options.headers
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
* Get Media File
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -4,6 +4,134 @@ export type ClientOptions = {
|
|||
baseUrl: `${string}://src` | (string & {});
|
||||
};
|
||||
|
||||
/**
|
||||
* AccountLanguagePair
|
||||
*/
|
||||
export type AccountLanguagePair = {
|
||||
/**
|
||||
* Id
|
||||
*/
|
||||
id: string;
|
||||
/**
|
||||
* Source Language
|
||||
*/
|
||||
source_language: string;
|
||||
/**
|
||||
* Target Language
|
||||
*/
|
||||
target_language: string;
|
||||
/**
|
||||
* Proficiencies
|
||||
*/
|
||||
proficiencies: Array<string>;
|
||||
};
|
||||
|
||||
/**
|
||||
* AccountResponse
|
||||
*/
|
||||
export type AccountResponse = {
|
||||
/**
|
||||
* Email
|
||||
*/
|
||||
email: string;
|
||||
/**
|
||||
* Human Name
|
||||
*/
|
||||
human_name: string | null;
|
||||
/**
|
||||
* Language Pairs
|
||||
*/
|
||||
language_pairs: Array<AccountLanguagePair>;
|
||||
};
|
||||
|
||||
/**
|
||||
* AccountStatusResponse
|
||||
*/
|
||||
export type AccountStatusResponse = {
|
||||
/**
|
||||
* Problem Flags
|
||||
*/
|
||||
problem_flags: Array<string>;
|
||||
/**
|
||||
* Error Messages
|
||||
*/
|
||||
error_messages: Array<string>;
|
||||
};
|
||||
|
||||
/**
|
||||
* AddFromTokenRequest
|
||||
*/
|
||||
export type AddFromTokenRequest = {
|
||||
/**
|
||||
* Language Pair Id
|
||||
*/
|
||||
language_pair_id: string;
|
||||
/**
|
||||
* Surface
|
||||
*/
|
||||
surface: string;
|
||||
/**
|
||||
* Spacy Lemma
|
||||
*/
|
||||
spacy_lemma: string;
|
||||
/**
|
||||
* Pos Ud
|
||||
*/
|
||||
pos_ud: string;
|
||||
/**
|
||||
* Language
|
||||
*/
|
||||
language: string;
|
||||
/**
|
||||
* Source Article Id
|
||||
*/
|
||||
source_article_id?: string | null;
|
||||
};
|
||||
|
||||
/**
|
||||
* AddLearnableLanguageRequest
|
||||
*/
|
||||
export type AddLearnableLanguageRequest = {
|
||||
/**
|
||||
* Source Language
|
||||
*/
|
||||
source_language: string;
|
||||
/**
|
||||
* Target Language
|
||||
*/
|
||||
target_language: string;
|
||||
/**
|
||||
* Proficiencies
|
||||
*/
|
||||
proficiencies: Array<string>;
|
||||
};
|
||||
|
||||
/**
|
||||
* AddWordRequest
|
||||
*/
|
||||
export type AddWordRequest = {
|
||||
/**
|
||||
* Language Pair Id
|
||||
*/
|
||||
language_pair_id: string;
|
||||
/**
|
||||
* Surface Text
|
||||
*/
|
||||
surface_text: string;
|
||||
/**
|
||||
* Entry Pathway
|
||||
*/
|
||||
entry_pathway?: string;
|
||||
/**
|
||||
* Is Phrase
|
||||
*/
|
||||
is_phrase?: boolean;
|
||||
/**
|
||||
* Source Article Id
|
||||
*/
|
||||
source_article_id?: string | null;
|
||||
};
|
||||
|
||||
/**
|
||||
* ArticleDetail
|
||||
*/
|
||||
|
|
@ -112,6 +240,115 @@ export type ArticleListResponse = {
|
|||
articles: Array<ArticleItem>;
|
||||
};
|
||||
|
||||
/**
|
||||
* FlashcardEventResponse
|
||||
*/
|
||||
export type FlashcardEventResponse = {
|
||||
/**
|
||||
* Id
|
||||
*/
|
||||
id: string;
|
||||
/**
|
||||
* Flashcard Id
|
||||
*/
|
||||
flashcard_id: string;
|
||||
/**
|
||||
* User Id
|
||||
*/
|
||||
user_id: string;
|
||||
/**
|
||||
* Event Type
|
||||
*/
|
||||
event_type: string;
|
||||
/**
|
||||
* User Response
|
||||
*/
|
||||
user_response: string | null;
|
||||
/**
|
||||
* Created At
|
||||
*/
|
||||
created_at: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* FlashcardResponse
|
||||
*/
|
||||
export type FlashcardResponse = {
|
||||
/**
|
||||
* Id
|
||||
*/
|
||||
id: string;
|
||||
/**
|
||||
* User Id
|
||||
*/
|
||||
user_id: string;
|
||||
/**
|
||||
* Bank Entry Id
|
||||
*/
|
||||
bank_entry_id: string;
|
||||
/**
|
||||
* Source Lang
|
||||
*/
|
||||
source_lang: string;
|
||||
/**
|
||||
* Target Lang
|
||||
*/
|
||||
target_lang: string;
|
||||
/**
|
||||
* Prompt Text
|
||||
*/
|
||||
prompt_text: string;
|
||||
/**
|
||||
* Answer Text
|
||||
*/
|
||||
answer_text: string;
|
||||
/**
|
||||
* Prompt Context Text
|
||||
*/
|
||||
prompt_context_text: string | null;
|
||||
/**
|
||||
* Answer Context Text
|
||||
*/
|
||||
answer_context_text: string | null;
|
||||
/**
|
||||
* Card Direction
|
||||
*/
|
||||
card_direction: string;
|
||||
/**
|
||||
* Prompt Modality
|
||||
*/
|
||||
prompt_modality: string;
|
||||
/**
|
||||
* Created At
|
||||
*/
|
||||
created_at: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* FromTokenResponse
|
||||
*/
|
||||
export type FromTokenResponse = {
|
||||
entry: WordBankEntryResponse;
|
||||
/**
|
||||
* Sense Candidates
|
||||
*/
|
||||
sense_candidates: Array<SenseCandidateResponse>;
|
||||
/**
|
||||
* Matched Via
|
||||
*/
|
||||
matched_via: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* GenerateFlashcardsRequest
|
||||
*/
|
||||
export type GenerateFlashcardsRequest = {
|
||||
/**
|
||||
* Direction
|
||||
*/
|
||||
direction?: string | null;
|
||||
};
|
||||
|
||||
/**
|
||||
* GenerationRequest
|
||||
*/
|
||||
|
|
@ -224,6 +461,24 @@ export type JobSummary = {
|
|||
error_message?: string | null;
|
||||
};
|
||||
|
||||
/**
|
||||
* LanguagePairOption
|
||||
*/
|
||||
export type LanguagePairOption = {
|
||||
/**
|
||||
* Value
|
||||
*/
|
||||
value: string;
|
||||
/**
|
||||
* Label
|
||||
*/
|
||||
label: string;
|
||||
/**
|
||||
* Description
|
||||
*/
|
||||
description: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* LearnableLanguageItem
|
||||
*/
|
||||
|
|
@ -300,6 +555,38 @@ export type LoginRequest = {
|
|||
password: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* OnboardingRequest
|
||||
*/
|
||||
export type OnboardingRequest = {
|
||||
/**
|
||||
* Human Name
|
||||
*/
|
||||
human_name: string;
|
||||
/**
|
||||
* Language Pairs
|
||||
*/
|
||||
language_pairs: Array<string>;
|
||||
/**
|
||||
* Proficiencies
|
||||
*/
|
||||
proficiencies: Array<Array<string>>;
|
||||
};
|
||||
|
||||
/**
|
||||
* OnboardingResponse
|
||||
*/
|
||||
export type OnboardingResponse = {
|
||||
/**
|
||||
* Language Pairs
|
||||
*/
|
||||
language_pairs: Array<LanguagePairOption>;
|
||||
/**
|
||||
* Proficiencies
|
||||
*/
|
||||
proficiencies: Array<ProficiencyOption>;
|
||||
};
|
||||
|
||||
/**
|
||||
* POSRequest
|
||||
*/
|
||||
|
|
@ -328,6 +615,38 @@ export type PosResponse = {
|
|||
tokens: Array<TokenInfo>;
|
||||
};
|
||||
|
||||
/**
|
||||
* ProficiencyOption
|
||||
*/
|
||||
export type ProficiencyOption = {
|
||||
/**
|
||||
* Value
|
||||
*/
|
||||
value: string;
|
||||
/**
|
||||
* Label
|
||||
*/
|
||||
label: string;
|
||||
/**
|
||||
* Description
|
||||
*/
|
||||
description: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* RecordEventRequest
|
||||
*/
|
||||
export type RecordEventRequest = {
|
||||
/**
|
||||
* Event Type
|
||||
*/
|
||||
event_type: string;
|
||||
/**
|
||||
* User Response
|
||||
*/
|
||||
user_response?: string | null;
|
||||
};
|
||||
|
||||
/**
|
||||
* RegisterRequest
|
||||
*/
|
||||
|
|
@ -342,6 +661,52 @@ export type RegisterRequest = {
|
|||
password: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* RegisterResponse
|
||||
*/
|
||||
export type RegisterResponse = {
|
||||
/**
|
||||
* Success
|
||||
*/
|
||||
success: boolean;
|
||||
/**
|
||||
* Error Message
|
||||
*/
|
||||
error_message?: string | null;
|
||||
};
|
||||
|
||||
/**
|
||||
* SenseCandidateResponse
|
||||
*/
|
||||
export type SenseCandidateResponse = {
|
||||
/**
|
||||
* Id
|
||||
*/
|
||||
id: string;
|
||||
/**
|
||||
* Gloss
|
||||
*/
|
||||
gloss: string;
|
||||
/**
|
||||
* Topics
|
||||
*/
|
||||
topics: Array<string>;
|
||||
/**
|
||||
* Tags
|
||||
*/
|
||||
tags: Array<string>;
|
||||
};
|
||||
|
||||
/**
|
||||
* SetSenseRequest
|
||||
*/
|
||||
export type SetSenseRequest = {
|
||||
/**
|
||||
* Sense Id
|
||||
*/
|
||||
sense_id: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* TokenInfo
|
||||
*/
|
||||
|
|
@ -442,6 +807,320 @@ export type ValidationError = {
|
|||
};
|
||||
};
|
||||
|
||||
/**
|
||||
* WordBankEntryResponse
|
||||
*/
|
||||
export type WordBankEntryResponse = {
|
||||
/**
|
||||
* Id
|
||||
*/
|
||||
id: string;
|
||||
/**
|
||||
* User Id
|
||||
*/
|
||||
user_id: string;
|
||||
/**
|
||||
* Language Pair Id
|
||||
*/
|
||||
language_pair_id: string;
|
||||
/**
|
||||
* Sense Id
|
||||
*/
|
||||
sense_id: string | null;
|
||||
/**
|
||||
* Wordform Id
|
||||
*/
|
||||
wordform_id: string | null;
|
||||
/**
|
||||
* Surface Text
|
||||
*/
|
||||
surface_text: string;
|
||||
/**
|
||||
* Is Phrase
|
||||
*/
|
||||
is_phrase: boolean;
|
||||
/**
|
||||
* Entry Pathway
|
||||
*/
|
||||
entry_pathway: string;
|
||||
/**
|
||||
* Source Article Id
|
||||
*/
|
||||
source_article_id: string | null;
|
||||
/**
|
||||
* Disambiguation Status
|
||||
*/
|
||||
disambiguation_status: string;
|
||||
/**
|
||||
* Created At
|
||||
*/
|
||||
created_at: string;
|
||||
};
|
||||
|
||||
export type RegisterApiAuthRegisterPostData = {
|
||||
body: RegisterRequest;
|
||||
path?: never;
|
||||
query?: never;
|
||||
url: '/api/auth/register';
|
||||
};
|
||||
|
||||
export type RegisterApiAuthRegisterPostErrors = {
|
||||
/**
|
||||
* Validation Error
|
||||
*/
|
||||
422: HttpValidationError;
|
||||
};
|
||||
|
||||
export type RegisterApiAuthRegisterPostError = RegisterApiAuthRegisterPostErrors[keyof RegisterApiAuthRegisterPostErrors];
|
||||
|
||||
export type RegisterApiAuthRegisterPostResponses = {
|
||||
/**
|
||||
* Successful Response
|
||||
*/
|
||||
201: RegisterResponse;
|
||||
};
|
||||
|
||||
export type RegisterApiAuthRegisterPostResponse = RegisterApiAuthRegisterPostResponses[keyof RegisterApiAuthRegisterPostResponses];
|
||||
|
||||
export type LoginApiAuthLoginPostData = {
|
||||
body: LoginRequest;
|
||||
path?: never;
|
||||
query?: never;
|
||||
url: '/api/auth/login';
|
||||
};
|
||||
|
||||
export type LoginApiAuthLoginPostErrors = {
|
||||
/**
|
||||
* Validation Error
|
||||
*/
|
||||
422: HttpValidationError;
|
||||
};
|
||||
|
||||
export type LoginApiAuthLoginPostError = LoginApiAuthLoginPostErrors[keyof LoginApiAuthLoginPostErrors];
|
||||
|
||||
export type LoginApiAuthLoginPostResponses = {
|
||||
/**
|
||||
* Successful Response
|
||||
*/
|
||||
200: TokenResponse;
|
||||
};
|
||||
|
||||
export type LoginApiAuthLoginPostResponse = LoginApiAuthLoginPostResponses[keyof LoginApiAuthLoginPostResponses];
|
||||
|
||||
export type VerifyEmailApiAuthVerifyEmailGetData = {
|
||||
body?: never;
|
||||
path?: never;
|
||||
query: {
|
||||
/**
|
||||
* Token
|
||||
*/
|
||||
token: string;
|
||||
};
|
||||
url: '/api/auth/verify-email';
|
||||
};
|
||||
|
||||
export type VerifyEmailApiAuthVerifyEmailGetErrors = {
|
||||
/**
|
||||
* Validation Error
|
||||
*/
|
||||
422: HttpValidationError;
|
||||
};
|
||||
|
||||
export type VerifyEmailApiAuthVerifyEmailGetError = VerifyEmailApiAuthVerifyEmailGetErrors[keyof VerifyEmailApiAuthVerifyEmailGetErrors];
|
||||
|
||||
export type VerifyEmailApiAuthVerifyEmailGetResponses = {
|
||||
/**
|
||||
* Response Verify Email Api Auth Verify Email Get
|
||||
*
|
||||
* Successful Response
|
||||
*/
|
||||
200: {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
};
|
||||
|
||||
export type VerifyEmailApiAuthVerifyEmailGetResponse = VerifyEmailApiAuthVerifyEmailGetResponses[keyof VerifyEmailApiAuthVerifyEmailGetResponses];
|
||||
|
||||
export type AddLearnableLanguageApiAccountLearnableLanguagesPostData = {
|
||||
body: AddLearnableLanguageRequest;
|
||||
path?: never;
|
||||
query?: never;
|
||||
url: '/api/account/learnable-languages';
|
||||
};
|
||||
|
||||
export type AddLearnableLanguageApiAccountLearnableLanguagesPostErrors = {
|
||||
/**
|
||||
* Validation Error
|
||||
*/
|
||||
422: HttpValidationError;
|
||||
};
|
||||
|
||||
export type AddLearnableLanguageApiAccountLearnableLanguagesPostError = AddLearnableLanguageApiAccountLearnableLanguagesPostErrors[keyof AddLearnableLanguageApiAccountLearnableLanguagesPostErrors];
|
||||
|
||||
export type AddLearnableLanguageApiAccountLearnableLanguagesPostResponses = {
|
||||
/**
|
||||
* Successful Response
|
||||
*/
|
||||
201: LearnableLanguageResponse;
|
||||
};
|
||||
|
||||
export type AddLearnableLanguageApiAccountLearnableLanguagesPostResponse = AddLearnableLanguageApiAccountLearnableLanguagesPostResponses[keyof AddLearnableLanguageApiAccountLearnableLanguagesPostResponses];
|
||||
|
||||
export type CompleteOnboardingApiAccountOnboardingPostData = {
|
||||
body: OnboardingRequest;
|
||||
path?: never;
|
||||
query?: never;
|
||||
url: '/api/account/onboarding';
|
||||
};
|
||||
|
||||
export type CompleteOnboardingApiAccountOnboardingPostErrors = {
|
||||
/**
|
||||
* Validation Error
|
||||
*/
|
||||
422: HttpValidationError;
|
||||
};
|
||||
|
||||
export type CompleteOnboardingApiAccountOnboardingPostError = CompleteOnboardingApiAccountOnboardingPostErrors[keyof CompleteOnboardingApiAccountOnboardingPostErrors];
|
||||
|
||||
export type CompleteOnboardingApiAccountOnboardingPostResponses = {
|
||||
/**
|
||||
* Response Complete Onboarding Api Account Onboarding Post
|
||||
*
|
||||
* Successful Response
|
||||
*/
|
||||
200: {
|
||||
[key: string]: unknown;
|
||||
};
|
||||
};
|
||||
|
||||
export type CompleteOnboardingApiAccountOnboardingPostResponse = CompleteOnboardingApiAccountOnboardingPostResponses[keyof CompleteOnboardingApiAccountOnboardingPostResponses];
|
||||
|
||||
export type GetAccountStatusApiAccountStatusGetData = {
|
||||
body?: never;
|
||||
path?: never;
|
||||
query?: never;
|
||||
url: '/api/account/status';
|
||||
};
|
||||
|
||||
export type GetAccountStatusApiAccountStatusGetResponses = {
|
||||
/**
|
||||
* Successful Response
|
||||
*/
|
||||
200: AccountStatusResponse;
|
||||
};
|
||||
|
||||
export type GetAccountStatusApiAccountStatusGetResponse = GetAccountStatusApiAccountStatusGetResponses[keyof GetAccountStatusApiAccountStatusGetResponses];
|
||||
|
||||
export type RemoveLearnableLanguageApiAccountLearnableLanguagesLanguageIdDeleteData = {
|
||||
body?: never;
|
||||
path: {
|
||||
/**
|
||||
* Language Id
|
||||
*/
|
||||
language_id: string;
|
||||
};
|
||||
query?: never;
|
||||
url: '/api/account/learnable-languages/{language_id}';
|
||||
};
|
||||
|
||||
export type RemoveLearnableLanguageApiAccountLearnableLanguagesLanguageIdDeleteErrors = {
|
||||
/**
|
||||
* Validation Error
|
||||
*/
|
||||
422: HttpValidationError;
|
||||
};
|
||||
|
||||
export type RemoveLearnableLanguageApiAccountLearnableLanguagesLanguageIdDeleteError = RemoveLearnableLanguageApiAccountLearnableLanguagesLanguageIdDeleteErrors[keyof RemoveLearnableLanguageApiAccountLearnableLanguagesLanguageIdDeleteErrors];
|
||||
|
||||
export type RemoveLearnableLanguageApiAccountLearnableLanguagesLanguageIdDeleteResponses = {
|
||||
/**
|
||||
* Successful Response
|
||||
*/
|
||||
204: void;
|
||||
};
|
||||
|
||||
export type RemoveLearnableLanguageApiAccountLearnableLanguagesLanguageIdDeleteResponse = RemoveLearnableLanguageApiAccountLearnableLanguagesLanguageIdDeleteResponses[keyof RemoveLearnableLanguageApiAccountLearnableLanguagesLanguageIdDeleteResponses];
|
||||
|
||||
export type GenerateFlashcardsApiVocabEntryIdFlashcardsPostData = {
|
||||
body: GenerateFlashcardsRequest;
|
||||
path: {
|
||||
/**
|
||||
* Entry Id
|
||||
*/
|
||||
entry_id: string;
|
||||
};
|
||||
query?: never;
|
||||
url: '/api/vocab/{entry_id}/flashcards';
|
||||
};
|
||||
|
||||
export type GenerateFlashcardsApiVocabEntryIdFlashcardsPostErrors = {
|
||||
/**
|
||||
* Validation Error
|
||||
*/
|
||||
422: HttpValidationError;
|
||||
};
|
||||
|
||||
export type GenerateFlashcardsApiVocabEntryIdFlashcardsPostError = GenerateFlashcardsApiVocabEntryIdFlashcardsPostErrors[keyof GenerateFlashcardsApiVocabEntryIdFlashcardsPostErrors];
|
||||
|
||||
export type GenerateFlashcardsApiVocabEntryIdFlashcardsPostResponses = {
|
||||
/**
|
||||
* Response Generate Flashcards Api Vocab Entry Id Flashcards Post
|
||||
*
|
||||
* Successful Response
|
||||
*/
|
||||
201: Array<FlashcardResponse>;
|
||||
};
|
||||
|
||||
export type GenerateFlashcardsApiVocabEntryIdFlashcardsPostResponse = GenerateFlashcardsApiVocabEntryIdFlashcardsPostResponses[keyof GenerateFlashcardsApiVocabEntryIdFlashcardsPostResponses];
|
||||
|
||||
export type ListFlashcardsApiFlashcardsGetData = {
|
||||
body?: never;
|
||||
path?: never;
|
||||
query?: never;
|
||||
url: '/api/flashcards';
|
||||
};
|
||||
|
||||
export type ListFlashcardsApiFlashcardsGetResponses = {
|
||||
/**
|
||||
* Response List Flashcards Api Flashcards Get
|
||||
*
|
||||
* Successful Response
|
||||
*/
|
||||
200: Array<FlashcardResponse>;
|
||||
};
|
||||
|
||||
export type ListFlashcardsApiFlashcardsGetResponse = ListFlashcardsApiFlashcardsGetResponses[keyof ListFlashcardsApiFlashcardsGetResponses];
|
||||
|
||||
export type RecordEventApiFlashcardsFlashcardIdEventsPostData = {
|
||||
body: RecordEventRequest;
|
||||
path: {
|
||||
/**
|
||||
* Flashcard Id
|
||||
*/
|
||||
flashcard_id: string;
|
||||
};
|
||||
query?: never;
|
||||
url: '/api/flashcards/{flashcard_id}/events';
|
||||
};
|
||||
|
||||
export type RecordEventApiFlashcardsFlashcardIdEventsPostErrors = {
|
||||
/**
|
||||
* Validation Error
|
||||
*/
|
||||
422: HttpValidationError;
|
||||
};
|
||||
|
||||
export type RecordEventApiFlashcardsFlashcardIdEventsPostError = RecordEventApiFlashcardsFlashcardIdEventsPostErrors[keyof RecordEventApiFlashcardsFlashcardIdEventsPostErrors];
|
||||
|
||||
export type RecordEventApiFlashcardsFlashcardIdEventsPostResponses = {
|
||||
/**
|
||||
* Successful Response
|
||||
*/
|
||||
201: FlashcardEventResponse;
|
||||
};
|
||||
|
||||
export type RecordEventApiFlashcardsFlashcardIdEventsPostResponse = RecordEventApiFlashcardsFlashcardIdEventsPostResponses[keyof RecordEventApiFlashcardsFlashcardIdEventsPostResponses];
|
||||
|
||||
export type AnalyzePosApiPosPostData = {
|
||||
body: PosRequest;
|
||||
path?: never;
|
||||
|
|
@ -635,6 +1314,168 @@ export type UpsertLearnableLanguageApiLearnableLanguagesPostResponses = {
|
|||
|
||||
export type UpsertLearnableLanguageApiLearnableLanguagesPostResponse = UpsertLearnableLanguageApiLearnableLanguagesPostResponses[keyof UpsertLearnableLanguageApiLearnableLanguagesPostResponses];
|
||||
|
||||
export type ListEntriesApiVocabGetData = {
|
||||
body?: never;
|
||||
path?: never;
|
||||
query: {
|
||||
/**
|
||||
* Language Pair Id
|
||||
*/
|
||||
language_pair_id: string;
|
||||
};
|
||||
url: '/api/vocab';
|
||||
};
|
||||
|
||||
export type ListEntriesApiVocabGetErrors = {
|
||||
/**
|
||||
* Validation Error
|
||||
*/
|
||||
422: HttpValidationError;
|
||||
};
|
||||
|
||||
export type ListEntriesApiVocabGetError = ListEntriesApiVocabGetErrors[keyof ListEntriesApiVocabGetErrors];
|
||||
|
||||
export type ListEntriesApiVocabGetResponses = {
|
||||
/**
|
||||
* Response List Entries Api Vocab Get
|
||||
*
|
||||
* Successful Response
|
||||
*/
|
||||
200: Array<WordBankEntryResponse>;
|
||||
};
|
||||
|
||||
export type ListEntriesApiVocabGetResponse = ListEntriesApiVocabGetResponses[keyof ListEntriesApiVocabGetResponses];
|
||||
|
||||
export type AddWordApiVocabPostData = {
|
||||
body: AddWordRequest;
|
||||
path?: never;
|
||||
query?: never;
|
||||
url: '/api/vocab';
|
||||
};
|
||||
|
||||
export type AddWordApiVocabPostErrors = {
|
||||
/**
|
||||
* Validation Error
|
||||
*/
|
||||
422: HttpValidationError;
|
||||
};
|
||||
|
||||
export type AddWordApiVocabPostError = AddWordApiVocabPostErrors[keyof AddWordApiVocabPostErrors];
|
||||
|
||||
export type AddWordApiVocabPostResponses = {
|
||||
/**
|
||||
* Successful Response
|
||||
*/
|
||||
201: WordBankEntryResponse;
|
||||
};
|
||||
|
||||
export type AddWordApiVocabPostResponse = AddWordApiVocabPostResponses[keyof AddWordApiVocabPostResponses];
|
||||
|
||||
export type AddFromTokenApiVocabFromTokenPostData = {
|
||||
body: AddFromTokenRequest;
|
||||
path?: never;
|
||||
query?: never;
|
||||
url: '/api/vocab/from-token';
|
||||
};
|
||||
|
||||
export type AddFromTokenApiVocabFromTokenPostErrors = {
|
||||
/**
|
||||
* Validation Error
|
||||
*/
|
||||
422: HttpValidationError;
|
||||
};
|
||||
|
||||
export type AddFromTokenApiVocabFromTokenPostError = AddFromTokenApiVocabFromTokenPostErrors[keyof AddFromTokenApiVocabFromTokenPostErrors];
|
||||
|
||||
export type AddFromTokenApiVocabFromTokenPostResponses = {
|
||||
/**
|
||||
* Successful Response
|
||||
*/
|
||||
201: FromTokenResponse;
|
||||
};
|
||||
|
||||
export type AddFromTokenApiVocabFromTokenPostResponse = AddFromTokenApiVocabFromTokenPostResponses[keyof AddFromTokenApiVocabFromTokenPostResponses];
|
||||
|
||||
export type PendingDisambiguationApiVocabPendingDisambiguationGetData = {
|
||||
body?: never;
|
||||
path?: never;
|
||||
query?: never;
|
||||
url: '/api/vocab/pending-disambiguation';
|
||||
};
|
||||
|
||||
export type PendingDisambiguationApiVocabPendingDisambiguationGetResponses = {
|
||||
/**
|
||||
* Response Pending Disambiguation Api Vocab Pending Disambiguation Get
|
||||
*
|
||||
* Successful Response
|
||||
*/
|
||||
200: Array<WordBankEntryResponse>;
|
||||
};
|
||||
|
||||
export type PendingDisambiguationApiVocabPendingDisambiguationGetResponse = PendingDisambiguationApiVocabPendingDisambiguationGetResponses[keyof PendingDisambiguationApiVocabPendingDisambiguationGetResponses];
|
||||
|
||||
export type ResolveSenseApiVocabEntryIdSensePatchData = {
|
||||
body: SetSenseRequest;
|
||||
path: {
|
||||
/**
|
||||
* Entry Id
|
||||
*/
|
||||
entry_id: string;
|
||||
};
|
||||
query?: never;
|
||||
url: '/api/vocab/{entry_id}/sense';
|
||||
};
|
||||
|
||||
export type ResolveSenseApiVocabEntryIdSensePatchErrors = {
|
||||
/**
|
||||
* Validation Error
|
||||
*/
|
||||
422: HttpValidationError;
|
||||
};
|
||||
|
||||
export type ResolveSenseApiVocabEntryIdSensePatchError = ResolveSenseApiVocabEntryIdSensePatchErrors[keyof ResolveSenseApiVocabEntryIdSensePatchErrors];
|
||||
|
||||
export type ResolveSenseApiVocabEntryIdSensePatchResponses = {
|
||||
/**
|
||||
* Successful Response
|
||||
*/
|
||||
200: WordBankEntryResponse;
|
||||
};
|
||||
|
||||
export type ResolveSenseApiVocabEntryIdSensePatchResponse = ResolveSenseApiVocabEntryIdSensePatchResponses[keyof ResolveSenseApiVocabEntryIdSensePatchResponses];
|
||||
|
||||
export type GetAccountBffAccountGetData = {
|
||||
body?: never;
|
||||
path?: never;
|
||||
query?: never;
|
||||
url: '/bff/account';
|
||||
};
|
||||
|
||||
export type GetAccountBffAccountGetResponses = {
|
||||
/**
|
||||
* Successful Response
|
||||
*/
|
||||
200: AccountResponse;
|
||||
};
|
||||
|
||||
export type GetAccountBffAccountGetResponse = GetAccountBffAccountGetResponses[keyof GetAccountBffAccountGetResponses];
|
||||
|
||||
export type GetOnboardingBffAccountOnboardingGetData = {
|
||||
body?: never;
|
||||
path?: never;
|
||||
query?: never;
|
||||
url: '/bff/account/onboarding';
|
||||
};
|
||||
|
||||
export type GetOnboardingBffAccountOnboardingGetResponses = {
|
||||
/**
|
||||
* Successful Response
|
||||
*/
|
||||
200: OnboardingResponse;
|
||||
};
|
||||
|
||||
export type GetOnboardingBffAccountOnboardingGetResponse = GetOnboardingBffAccountOnboardingGetResponses[keyof GetOnboardingBffAccountOnboardingGetResponses];
|
||||
|
||||
export type ListArticlesBffArticlesGetData = {
|
||||
body?: never;
|
||||
path?: never;
|
||||
|
|
@ -711,54 +1552,6 @@ export type GetUserProfileBffUserProfileGetResponses = {
|
|||
|
||||
export type GetUserProfileBffUserProfileGetResponse = GetUserProfileBffUserProfileGetResponses[keyof GetUserProfileBffUserProfileGetResponses];
|
||||
|
||||
export type RegisterAuthRegisterPostData = {
|
||||
body: RegisterRequest;
|
||||
path?: never;
|
||||
query?: never;
|
||||
url: '/auth/register';
|
||||
};
|
||||
|
||||
export type RegisterAuthRegisterPostErrors = {
|
||||
/**
|
||||
* Validation Error
|
||||
*/
|
||||
422: HttpValidationError;
|
||||
};
|
||||
|
||||
export type RegisterAuthRegisterPostError = RegisterAuthRegisterPostErrors[keyof RegisterAuthRegisterPostErrors];
|
||||
|
||||
export type RegisterAuthRegisterPostResponses = {
|
||||
/**
|
||||
* Successful Response
|
||||
*/
|
||||
201: unknown;
|
||||
};
|
||||
|
||||
export type LoginAuthLoginPostData = {
|
||||
body: LoginRequest;
|
||||
path?: never;
|
||||
query?: never;
|
||||
url: '/auth/login';
|
||||
};
|
||||
|
||||
export type LoginAuthLoginPostErrors = {
|
||||
/**
|
||||
* Validation Error
|
||||
*/
|
||||
422: HttpValidationError;
|
||||
};
|
||||
|
||||
export type LoginAuthLoginPostError = LoginAuthLoginPostErrors[keyof LoginAuthLoginPostErrors];
|
||||
|
||||
export type LoginAuthLoginPostResponses = {
|
||||
/**
|
||||
* Successful Response
|
||||
*/
|
||||
200: TokenResponse;
|
||||
};
|
||||
|
||||
export type LoginAuthLoginPostResponse = LoginAuthLoginPostResponses[keyof LoginAuthLoginPostResponses];
|
||||
|
||||
export type GetMediaFileMediaFilenameGetData = {
|
||||
body?: never;
|
||||
path: {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue