Merge branch 'feat/apps-in-toss' into release/1026-merge
# Conflicts: # frontend/src/api/client/@tanstack/react-query.gen.ts # frontend/src/api/client/index.ts # frontend/src/api/client/sdk.gen.ts
This commit is contained in:
commit
d727b38260
35 files changed
+2249
-70
No files matched your search
@@ -123,13 +123,20 @@ export type ArticleSummary = {
|
||||
/**
|
||||
* AuthProvider
|
||||
*/
|
||||
export const AuthProvider = { /**
|
||||
export const AuthProvider = {
|
||||
/**
|
||||
* LOCAL
|
||||
*/
|
||||
LOCAL: 1, /**
|
||||
LOCAL: 1,
|
||||
/**
|
||||
* GOOGLE
|
||||
*/
|
||||
GOOGLE: 2 } as const;
|
||||
GOOGLE: 2,
|
||||
/**
|
||||
* TOSS
|
||||
*/
|
||||
TOSS: 3
|
||||
} as const;
|
||||
|
||||
/**
|
||||
* AuthProvider
|
||||
@@ -1759,6 +1766,36 @@ export type ReqTalkReport = {
|
||||
reason: TalkReport;
|
||||
};
|
||||
|
||||
/**
|
||||
* Req_TossLogin
|
||||
*/
|
||||
export type ReqTossLogin = {
|
||||
/**
|
||||
* Authorization Code
|
||||
*/
|
||||
authorization_code: string;
|
||||
/**
|
||||
* Referrer
|
||||
*/
|
||||
referrer: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Req_TossUnlink
|
||||
*
|
||||
* 토스가 보내는 모양 그대로 (camelCase)
|
||||
*/
|
||||
export type ReqTossUnlink = {
|
||||
/**
|
||||
* Userkey
|
||||
*/
|
||||
userKey: number;
|
||||
/**
|
||||
* Referrer
|
||||
*/
|
||||
referrer: string;
|
||||
};
|
||||
|
||||
/**
|
||||
* Req_UpdateMe
|
||||
*/
|
||||
@@ -2543,6 +2580,17 @@ export type ResTalkList = {
|
||||
next_cursor?: string | null;
|
||||
};
|
||||
|
||||
/**
|
||||
* Res_TossUnlink
|
||||
*/
|
||||
export type ResTossUnlink = {
|
||||
result?: ErrorInfo;
|
||||
/**
|
||||
* Msg
|
||||
*/
|
||||
msg?: string | null;
|
||||
};
|
||||
|
||||
/**
|
||||
* Res_WatchSummary
|
||||
*/
|
||||
@@ -4454,6 +4502,62 @@ export type LoginResponses = {
|
||||
|
||||
export type LoginResponse = LoginResponses[keyof LoginResponses];
|
||||
|
||||
export type TossData = {
|
||||
body: ReqTossLogin;
|
||||
path?: never;
|
||||
query?: never;
|
||||
url: '/v1/auth/toss';
|
||||
};
|
||||
|
||||
export type TossErrors = {
|
||||
/**
|
||||
* Validation Error
|
||||
*/
|
||||
422: HttpValidationError;
|
||||
};
|
||||
|
||||
export type TossError = TossErrors[keyof TossErrors];
|
||||
|
||||
export type TossResponses = {
|
||||
/**
|
||||
* Successful Response
|
||||
*/
|
||||
200: ResAuth;
|
||||
};
|
||||
|
||||
export type TossResponse = TossResponses[keyof TossResponses];
|
||||
|
||||
export type TossUnlinkData = {
|
||||
body: ReqTossUnlink;
|
||||
headers?: {
|
||||
/**
|
||||
* Authorization
|
||||
*/
|
||||
authorization?: string | null;
|
||||
};
|
||||
path?: never;
|
||||
query?: never;
|
||||
url: '/v1/auth/toss/unlink';
|
||||
};
|
||||
|
||||
export type TossUnlinkErrors = {
|
||||
/**
|
||||
* Validation Error
|
||||
*/
|
||||
422: HttpValidationError;
|
||||
};
|
||||
|
||||
export type TossUnlinkError = TossUnlinkErrors[keyof TossUnlinkErrors];
|
||||
|
||||
export type TossUnlinkResponses = {
|
||||
/**
|
||||
* Successful Response
|
||||
*/
|
||||
200: ResTossUnlink;
|
||||
};
|
||||
|
||||
export type TossUnlinkResponse = TossUnlinkResponses[keyof TossUnlinkResponses];
|
||||
|
||||
export type GoogleLoginData = {
|
||||
body: ReqGoogle;
|
||||
path?: never;
|
||||
|
||||
Reference in new issue
Block a user