feat: 백엔드 신스키마 (PlanApiResponse / MarketingReportResponse) 반영 + plan 페이지 통합

- orval SDK 재생성:
  · generated/plans → generated/plan, generated/reports → generated/report
  · planOutput → planApiResponse (clinicName/clinicNameEn/screenshots 등 메타 포함)
  · reportOutput → marketingReportResponse (clinicSnapshot 등 풍부한 스키마 복원)
  · clinicSnapshot, screenshotEvidence, transformationProposal, websiteAudit 등 모델 신설
  · clinicListResponse, fileUploadResponse 등 운영/업로드 모델 신설
- useMarketingPlan / useReport: SDK 응답을 사실상 그대로 패스스루 (메타 매핑 단순화)
- transformReport: 신 SDK 모델 시그니처 반영
- plan 페이지 통합: GuestPlanPage + UserPlanPage → 단일 PlanPage 로 합치고 routes 갱신
- dev 페이지 (ClinicsPage / routes) 갱신
- MyAssetUpload 컴포넌트 + constants 업데이트

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
minaChoiandClaude Opus 4.7 committed 2026-05-19 16:52:39 +09:00
1 parent 82f166a80e
commit 0b139714ed
109 files changed
+1916 -458

No files matched your search

@@ -27,6 +27,9 @@ import type {
AnalysisCreate,
AnalysisStartResponse,
AnalysisStatusResponse,
BodyUploadAnalysisRunFileApiAnalysisRunIdFilesPost,
FileListItem,
FileUploadResponse,
HTTPValidationError
} from '../../model';
@@ -128,6 +131,312 @@ export const useStartAnalysis = <TError = HTTPValidationError,
return useMutation(mutationOptions, queryClient);
}
/**
* @summary Upload Analysis Run File
*/
export type uploadAnalysisRunFileResponse201 = {
data: FileUploadResponse
status: 201
}
export type uploadAnalysisRunFileResponse422 = {
data: HTTPValidationError
status: 422
}
export type uploadAnalysisRunFileResponseSuccess = (uploadAnalysisRunFileResponse201) & {
headers: Headers;
};
export type uploadAnalysisRunFileResponseError = (uploadAnalysisRunFileResponse422) & {
headers: Headers;
};
export type uploadAnalysisRunFileResponse = (uploadAnalysisRunFileResponseSuccess | uploadAnalysisRunFileResponseError)
export const getUploadAnalysisRunFileUrl = (runId: string,) => {
return `/api/analysis/${runId}/files`
}
export const uploadAnalysisRunFile = async (runId: string,
bodyUploadAnalysisRunFileApiAnalysisRunIdFilesPost: BodyUploadAnalysisRunFileApiAnalysisRunIdFilesPost, options?: RequestInit): Promise<uploadAnalysisRunFileResponse> => {
const formData = new FormData();
formData.append(`file`, bodyUploadAnalysisRunFileApiAnalysisRunIdFilesPost.file)
if(bodyUploadAnalysisRunFileApiAnalysisRunIdFilesPost.file_type !== undefined) {
formData.append(`file_type`, bodyUploadAnalysisRunFileApiAnalysisRunIdFilesPost.file_type)
}
return customFetcher<uploadAnalysisRunFileResponse>(getUploadAnalysisRunFileUrl(runId),
{
...options,
method: 'POST'
,
body:
formData,
}
);}
export const getUploadAnalysisRunFileMutationOptions = <TError = HTTPValidationError,
TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof uploadAnalysisRunFile>>, TError,{runId: string;data: BodyUploadAnalysisRunFileApiAnalysisRunIdFilesPost}, TContext>, request?: SecondParameter<typeof customFetcher>}
): UseMutationOptions<Awaited<ReturnType<typeof uploadAnalysisRunFile>>, TError,{runId: string;data: BodyUploadAnalysisRunFileApiAnalysisRunIdFilesPost}, TContext> => {
const mutationKey = ['uploadAnalysisRunFile'];
const {mutation: mutationOptions, request: requestOptions} = options ?
options.mutation && 'mutationKey' in options.mutation && options.mutation.mutationKey ?
options
: {...options, mutation: {...options.mutation, mutationKey}}
: {mutation: { mutationKey, }, request: undefined};
const mutationFn: MutationFunction<Awaited<ReturnType<typeof uploadAnalysisRunFile>>, {runId: string;data: BodyUploadAnalysisRunFileApiAnalysisRunIdFilesPost}> = (props) => {
const {runId,data} = props ?? {};
return uploadAnalysisRunFile(runId,data,requestOptions)
}
return { mutationFn, ...mutationOptions }}
export type UploadAnalysisRunFileMutationResult = NonNullable<Awaited<ReturnType<typeof uploadAnalysisRunFile>>>
export type UploadAnalysisRunFileMutationBody = BodyUploadAnalysisRunFileApiAnalysisRunIdFilesPost
export type UploadAnalysisRunFileMutationError = HTTPValidationError
/**
* @summary Upload Analysis Run File
*/
export const useUploadAnalysisRunFile = <TError = HTTPValidationError,
TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof uploadAnalysisRunFile>>, TError,{runId: string;data: BodyUploadAnalysisRunFileApiAnalysisRunIdFilesPost}, TContext>, request?: SecondParameter<typeof customFetcher>}
, queryClient?: QueryClient): UseMutationResult<
Awaited<ReturnType<typeof uploadAnalysisRunFile>>,
TError,
{runId: string;data: BodyUploadAnalysisRunFileApiAnalysisRunIdFilesPost},
TContext
> => {
const mutationOptions = getUploadAnalysisRunFileMutationOptions(options);
return useMutation(mutationOptions, queryClient);
}
/**
* @summary Get Analysis Run Files
*/
export type getAnalysisRunFilesResponse200 = {
data: FileListItem[]
status: 200
}
export type getAnalysisRunFilesResponse422 = {
data: HTTPValidationError
status: 422
}
export type getAnalysisRunFilesResponseSuccess = (getAnalysisRunFilesResponse200) & {
headers: Headers;
};
export type getAnalysisRunFilesResponseError = (getAnalysisRunFilesResponse422) & {
headers: Headers;
};
export type getAnalysisRunFilesResponse = (getAnalysisRunFilesResponseSuccess | getAnalysisRunFilesResponseError)
export const getGetAnalysisRunFilesUrl = (runId: string,) => {
return `/api/analysis/${runId}/files`
}
export const getAnalysisRunFiles = async (runId: string, options?: RequestInit): Promise<getAnalysisRunFilesResponse> => {
return customFetcher<getAnalysisRunFilesResponse>(getGetAnalysisRunFilesUrl(runId),
{
...options,
method: 'GET'
}
);}
export const getGetAnalysisRunFilesQueryKey = (runId?: string,) => {
return [
`/api/analysis/${runId}/files`
] as const;
}
export const getGetAnalysisRunFilesQueryOptions = <TData = Awaited<ReturnType<typeof getAnalysisRunFiles>>, TError = HTTPValidationError>(runId: string, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getAnalysisRunFiles>>, TError, TData>>, request?: SecondParameter<typeof customFetcher>}
) => {
const {query: queryOptions, request: requestOptions} = options ?? {};
const queryKey = queryOptions?.queryKey ?? getGetAnalysisRunFilesQueryKey(runId);
const queryFn: QueryFunction<Awaited<ReturnType<typeof getAnalysisRunFiles>>> = () => getAnalysisRunFiles(runId, requestOptions);
return { queryKey, queryFn, enabled: !!(runId), staleTime: 60000, ...queryOptions} as UseQueryOptions<Awaited<ReturnType<typeof getAnalysisRunFiles>>, TError, TData> & { queryKey: DataTag<QueryKey, TData> }
}
export type GetAnalysisRunFilesQueryResult = NonNullable<Awaited<ReturnType<typeof getAnalysisRunFiles>>>
export type GetAnalysisRunFilesQueryError = HTTPValidationError
export function useGetAnalysisRunFiles<TData = Awaited<ReturnType<typeof getAnalysisRunFiles>>, TError = HTTPValidationError>(
runId: string, options: { query:Partial<UseQueryOptions<Awaited<ReturnType<typeof getAnalysisRunFiles>>, TError, TData>> & Pick<
DefinedInitialDataOptions<
Awaited<ReturnType<typeof getAnalysisRunFiles>>,
TError,
Awaited<ReturnType<typeof getAnalysisRunFiles>>
> , 'initialData'
>, request?: SecondParameter<typeof customFetcher>}
, queryClient?: QueryClient
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> }
export function useGetAnalysisRunFiles<TData = Awaited<ReturnType<typeof getAnalysisRunFiles>>, TError = HTTPValidationError>(
runId: string, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getAnalysisRunFiles>>, TError, TData>> & Pick<
UndefinedInitialDataOptions<
Awaited<ReturnType<typeof getAnalysisRunFiles>>,
TError,
Awaited<ReturnType<typeof getAnalysisRunFiles>>
> , 'initialData'
>, request?: SecondParameter<typeof customFetcher>}
, queryClient?: QueryClient
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> }
export function useGetAnalysisRunFiles<TData = Awaited<ReturnType<typeof getAnalysisRunFiles>>, TError = HTTPValidationError>(
runId: string, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getAnalysisRunFiles>>, TError, TData>>, request?: SecondParameter<typeof customFetcher>}
, queryClient?: QueryClient
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> }
/**
* @summary Get Analysis Run Files
*/
export function useGetAnalysisRunFiles<TData = Awaited<ReturnType<typeof getAnalysisRunFiles>>, TError = HTTPValidationError>(
runId: string, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getAnalysisRunFiles>>, TError, TData>>, request?: SecondParameter<typeof customFetcher>}
, queryClient?: QueryClient
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
const queryOptions = getGetAnalysisRunFilesQueryOptions(runId,options)
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
query.queryKey = queryOptions.queryKey ;
return query;
}
/**
* @summary Delete Analysis Run File
*/
export type deleteAnalysisRunFileResponse204 = {
data: void
status: 204
}
export type deleteAnalysisRunFileResponse422 = {
data: HTTPValidationError
status: 422
}
export type deleteAnalysisRunFileResponseSuccess = (deleteAnalysisRunFileResponse204) & {
headers: Headers;
};
export type deleteAnalysisRunFileResponseError = (deleteAnalysisRunFileResponse422) & {
headers: Headers;
};
export type deleteAnalysisRunFileResponse = (deleteAnalysisRunFileResponseSuccess | deleteAnalysisRunFileResponseError)
export const getDeleteAnalysisRunFileUrl = (runId: string,
fileId: number,) => {
return `/api/analysis/${runId}/files/${fileId}`
}
export const deleteAnalysisRunFile = async (runId: string,
fileId: number, options?: RequestInit): Promise<deleteAnalysisRunFileResponse> => {
return customFetcher<deleteAnalysisRunFileResponse>(getDeleteAnalysisRunFileUrl(runId,fileId),
{
...options,
method: 'DELETE'
}
);}
export const getDeleteAnalysisRunFileMutationOptions = <TError = HTTPValidationError,
TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof deleteAnalysisRunFile>>, TError,{runId: string;fileId: number}, TContext>, request?: SecondParameter<typeof customFetcher>}
): UseMutationOptions<Awaited<ReturnType<typeof deleteAnalysisRunFile>>, TError,{runId: string;fileId: number}, TContext> => {
const mutationKey = ['deleteAnalysisRunFile'];
const {mutation: mutationOptions, request: requestOptions} = options ?
options.mutation && 'mutationKey' in options.mutation && options.mutation.mutationKey ?
options
: {...options, mutation: {...options.mutation, mutationKey}}
: {mutation: { mutationKey, }, request: undefined};
const mutationFn: MutationFunction<Awaited<ReturnType<typeof deleteAnalysisRunFile>>, {runId: string;fileId: number}> = (props) => {
const {runId,fileId} = props ?? {};
return deleteAnalysisRunFile(runId,fileId,requestOptions)
}
return { mutationFn, ...mutationOptions }}
export type DeleteAnalysisRunFileMutationResult = NonNullable<Awaited<ReturnType<typeof deleteAnalysisRunFile>>>
export type DeleteAnalysisRunFileMutationError = HTTPValidationError
/**
* @summary Delete Analysis Run File
*/
export const useDeleteAnalysisRunFile = <TError = HTTPValidationError,
TContext = unknown>(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof deleteAnalysisRunFile>>, TError,{runId: string;fileId: number}, TContext>, request?: SecondParameter<typeof customFetcher>}
, queryClient?: QueryClient): UseMutationResult<
Awaited<ReturnType<typeof deleteAnalysisRunFile>>,
TError,
{runId: string;fileId: number},
TContext
> => {
const mutationOptions = getDeleteAnalysisRunFileMutationOptions(options);
return useMutation(mutationOptions, queryClient);
}
/**
* @summary Get Analysis Status
*/
export type getAnalysisStatusResponse200 = {
+128
View File
@@ -27,7 +27,9 @@ import type {
ClinicCreate,
ClinicCreateResponse,
ClinicHistoryResponse,
ClinicListResponse,
ClinicResponse,
GetClinicsParams,
HTTPValidationError
} from '../../model';
@@ -38,6 +40,132 @@ type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
/**
* @summary Get Clinics
*/
export type getClinicsResponse200 = {
data: ClinicListResponse
status: 200
}
export type getClinicsResponse422 = {
data: HTTPValidationError
status: 422
}
export type getClinicsResponseSuccess = (getClinicsResponse200) & {
headers: Headers;
};
export type getClinicsResponseError = (getClinicsResponse422) & {
headers: Headers;
};
export type getClinicsResponse = (getClinicsResponseSuccess | getClinicsResponseError)
export const getGetClinicsUrl = (params?: GetClinicsParams,) => {
const normalizedParams = new URLSearchParams();
Object.entries(params || {}).forEach(([key, value]) => {
if (value !== undefined) {
normalizedParams.append(key, value === null ? 'null' : value.toString())
}
});
const stringifiedParams = normalizedParams.toString();
return stringifiedParams.length > 0 ? `/api/clinics?${stringifiedParams}` : `/api/clinics`
}
export const getClinics = async (params?: GetClinicsParams, options?: RequestInit): Promise<getClinicsResponse> => {
return customFetcher<getClinicsResponse>(getGetClinicsUrl(params),
{
...options,
method: 'GET'
}
);}
export const getGetClinicsQueryKey = (params?: GetClinicsParams,) => {
return [
`/api/clinics`, ...(params ? [params]: [])
] as const;
}
export const getGetClinicsQueryOptions = <TData = Awaited<ReturnType<typeof getClinics>>, TError = HTTPValidationError>(params?: GetClinicsParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getClinics>>, TError, TData>>, request?: SecondParameter<typeof customFetcher>}
) => {
const {query: queryOptions, request: requestOptions} = options ?? {};
const queryKey = queryOptions?.queryKey ?? getGetClinicsQueryKey(params);
const queryFn: QueryFunction<Awaited<ReturnType<typeof getClinics>>> = () => getClinics(params, requestOptions);
return { queryKey, queryFn, staleTime: 60000, ...queryOptions} as UseQueryOptions<Awaited<ReturnType<typeof getClinics>>, TError, TData> & { queryKey: DataTag<QueryKey, TData> }
}
export type GetClinicsQueryResult = NonNullable<Awaited<ReturnType<typeof getClinics>>>
export type GetClinicsQueryError = HTTPValidationError
export function useGetClinics<TData = Awaited<ReturnType<typeof getClinics>>, TError = HTTPValidationError>(
params: undefined | GetClinicsParams, options: { query:Partial<UseQueryOptions<Awaited<ReturnType<typeof getClinics>>, TError, TData>> & Pick<
DefinedInitialDataOptions<
Awaited<ReturnType<typeof getClinics>>,
TError,
Awaited<ReturnType<typeof getClinics>>
> , 'initialData'
>, request?: SecondParameter<typeof customFetcher>}
, queryClient?: QueryClient
): DefinedUseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> }
export function useGetClinics<TData = Awaited<ReturnType<typeof getClinics>>, TError = HTTPValidationError>(
params?: GetClinicsParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getClinics>>, TError, TData>> & Pick<
UndefinedInitialDataOptions<
Awaited<ReturnType<typeof getClinics>>,
TError,
Awaited<ReturnType<typeof getClinics>>
> , 'initialData'
>, request?: SecondParameter<typeof customFetcher>}
, queryClient?: QueryClient
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> }
export function useGetClinics<TData = Awaited<ReturnType<typeof getClinics>>, TError = HTTPValidationError>(
params?: GetClinicsParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getClinics>>, TError, TData>>, request?: SecondParameter<typeof customFetcher>}
, queryClient?: QueryClient
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> }
/**
* @summary Get Clinics
*/
export function useGetClinics<TData = Awaited<ReturnType<typeof getClinics>>, TError = HTTPValidationError>(
params?: GetClinicsParams, options?: { query?:Partial<UseQueryOptions<Awaited<ReturnType<typeof getClinics>>, TError, TData>>, request?: SecondParameter<typeof customFetcher>}
, queryClient?: QueryClient
): UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> } {
const queryOptions = getGetClinicsQueryOptions(params,options)
const query = useQuery(queryOptions, queryClient) as UseQueryResult<TData, TError> & { queryKey: DataTag<QueryKey, TData> };
query.queryKey = queryOptions.queryKey ;
return query;
}
/**
* @summary Create Clinic
*/
@@ -20,8 +20,8 @@ import type {
} from '@tanstack/react-query';
import type {
GetPlan200,
HTTPValidationError
HTTPValidationError,
PlanApiResponse
} from '../../model';
import { customFetcher } from '../../api';
@@ -35,7 +35,7 @@ type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
* @summary Get Plan
*/
export type getPlanResponse200 = {
data: GetPlan200
data: PlanApiResponse
status: 200
}
@@ -58,7 +58,7 @@ export const getGetPlanUrl = (runId: string,) => {
return `/api/plans/${runId}`
return `/api/plan/${runId}`
}
export const getPlan = async (runId: string, options?: RequestInit): Promise<getPlanResponse> => {
@@ -78,7 +78,7 @@ export const getPlan = async (runId: string, options?: RequestInit): Promise<get
export const getGetPlanQueryKey = (runId?: string,) => {
return [
`/api/plans/${runId}`
`/api/plan/${runId}`
] as const;
}
@@ -20,8 +20,8 @@ import type {
} from '@tanstack/react-query';
import type {
GetReport200,
HTTPValidationError
HTTPValidationError,
MarketingReportResponse
} from '../../model';
import { customFetcher } from '../../api';
@@ -35,7 +35,7 @@ type SecondParameter<T extends (...args: never) => unknown> = Parameters<T>[1];
* @summary Get Report
*/
export type getReportResponse200 = {
data: GetReport200
data: MarketingReportResponse
status: 200
}
@@ -58,7 +58,7 @@ export const getGetReportUrl = (runId: string,) => {
return `/api/reports/${runId}`
return `/api/report/${runId}`
}
export const getReport = async (runId: string, options?: RequestInit): Promise<getReportResponse> => {
@@ -78,7 +78,7 @@ export const getReport = async (runId: string, options?: RequestInit): Promise<g
export const getGetReportQueryKey = (runId?: string,) => {
return [
`/api/reports/${runId}`
`/api/report/${runId}`
] as const;
}
@@ -5,7 +5,7 @@
* OpenAPI spec version: 0.1.0
*/
export interface ConversionStrategy {
summary: string;
actions: string[];
export interface AdditionalDomain {
domain: string;
purpose: string;
}
+16
View File
@@ -0,0 +1,16 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type AnnotationType = typeof AnnotationType[keyof typeof AnnotationType];
// eslint-disable-next-line @typescript-eslint/no-redeclare
export const AnnotationType = {
highlight: 'highlight',
arrow: 'arrow',
text: 'text',
} as const;
@@ -4,6 +4,9 @@
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { PlanOutput } from './planOutput';
export type GetPlan200 = PlanOutput | null;
export interface AsIsToBeItem {
area: string;
asIs: string;
toBe: string;
}
@@ -0,0 +1,14 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { FileType } from './fileType';
export interface BodyUploadAnalysisRunFileApiAnalysisRunIdFilesPost {
/** 업로드할 파일 */
file: string;
/** 파일 타입 (image/video/audio/document/file) */
file_type?: FileType;
}
@@ -4,6 +4,9 @@
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { ReportOutput } from './reportOutput';
export type GetReport200 = ReportOutput | null;
export interface BrandColors {
primary: string;
accent: string;
text: string;
}
+2 -2
View File
@@ -9,7 +9,7 @@ import type { FontSpec } from './fontSpec';
import type { LogoUsageRule } from './logoUsageRule';
import type { ToneOfVoice } from './toneOfVoice';
import type { ChannelBrandingRule } from './channelBrandingRule';
import type { BrandInconsistency } from './brandInconsistency';
import type { BrandPlanInconsistency } from './brandPlanInconsistency';
export interface BrandGuide {
colors: ColorSwatch[];
@@ -17,5 +17,5 @@ export interface BrandGuide {
logoRules: LogoUsageRule[];
toneOfVoice: ToneOfVoice;
channelBranding: ChannelBrandingRule[];
brandInconsistencies: BrandInconsistency[];
brandInconsistencies: BrandPlanInconsistency[];
}
@@ -0,0 +1,14 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { BrandPlanInconsistencyValue } from './brandPlanInconsistencyValue';
export interface BrandPlanInconsistency {
field: string;
values: BrandPlanInconsistencyValue[];
impact: string;
recommendation: string;
}
@@ -4,6 +4,9 @@
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { ChannelScore } from './channelScore';
export type ReportOutputYoutube = ChannelScore | null;
export interface BrandPlanInconsistencyValue {
channel: string;
value: string;
isCorrect: boolean;
}
+6 -3
View File
@@ -4,10 +4,13 @@
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { Severity } from './severity';
export interface ChannelScore {
channel: string;
icon: string;
score: number;
summary: string;
strengths: string[];
weaknesses: string[];
maxScore: number;
status: Severity;
headline: string;
}
+17
View File
@@ -0,0 +1,17 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type ChannelStatus = typeof ChannelStatus[keyof typeof ChannelStatus];
// eslint-disable-next-line @typescript-eslint/no-redeclare
export const ChannelStatus = {
active: 'active',
inactive: 'inactive',
unknown: 'unknown',
not_found: 'not_found',
} as const;
+20
View File
@@ -0,0 +1,20 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { ClinicListItemHospitalNameEn } from './clinicListItemHospitalNameEn';
import type { ClinicListItemRoadAddress } from './clinicListItemRoadAddress';
import type { ClinicListItemUrl } from './clinicListItemUrl';
export interface ClinicListItem {
hospital_id: string;
hospital_name: string;
hospital_name_en: ClinicListItemHospitalNameEn;
road_address: ClinicListItemRoadAddress;
url: ClinicListItemUrl;
status: string;
created_at: string;
updated_at: string;
}
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type ClinicListItemHospitalNameEn = string | null;
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type ClinicListItemRoadAddress = string | null;
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type ClinicListItemUrl = string | null;
@@ -0,0 +1,12 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { ClinicListItem } from './clinicListItem';
export interface ClinicListResponse {
items: ClinicListItem[];
total: number;
}
+35
View File
@@ -0,0 +1,35 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { LeadDoctor } from './leadDoctor';
import type { PriceRange } from './priceRange';
import type { ClinicSnapshotLogoImages } from './clinicSnapshotLogoImages';
import type { ClinicSnapshotBrandColors } from './clinicSnapshotBrandColors';
import type { ClinicSnapshotSource } from './clinicSnapshotSource';
import type { ClinicSnapshotRegistryData } from './clinicSnapshotRegistryData';
export interface ClinicSnapshot {
name: string;
nameEn: string;
established: string;
yearsInBusiness: number;
staffCount: number;
leadDoctor: LeadDoctor;
overallRating: number;
totalReviews: number;
priceRange: PriceRange;
certifications: string[];
mediaAppearances: string[];
medicalTourism: string[];
location: string;
nearestStation: string;
phone: string;
domain: string;
logoImages?: ClinicSnapshotLogoImages;
brandColors?: ClinicSnapshotBrandColors;
source?: ClinicSnapshotSource;
registryData?: ClinicSnapshotRegistryData;
}
@@ -4,6 +4,6 @@
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { ChannelScore } from './channelScore';
import type { BrandColors } from './brandColors';
export type ReportOutputFacebook = ChannelScore | null;
export type ClinicSnapshotBrandColors = BrandColors | null;
@@ -0,0 +1,9 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { LogoImages } from './logoImages';
export type ClinicSnapshotLogoImages = LogoImages | null;
@@ -0,0 +1,9 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { RegistryData } from './registryData';
export type ClinicSnapshotRegistryData = RegistryData | null;
@@ -0,0 +1,9 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { DataSource } from './dataSource';
export type ClinicSnapshotSource = DataSource | null;
+1 -1
View File
@@ -8,7 +8,7 @@
export interface ContentPillar {
title: string;
description: string;
relatedUSP: string;
relatedUsp: string;
exampleTopics: string[];
color: string;
}
+15
View File
@@ -0,0 +1,15 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type DataSource = typeof DataSource[keyof typeof DataSource];
// eslint-disable-next-line @typescript-eslint/no-redeclare
export const DataSource = {
registry: 'registry',
scrape: 'scrape',
} as const;
+15
View File
@@ -0,0 +1,15 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { Severity } from './severity';
import type { DiagnosisItemEvidenceIds } from './diagnosisItemEvidenceIds';
export interface DiagnosisItem {
category: string;
detail: string;
severity: Severity;
evidenceIds?: DiagnosisItemEvidenceIds;
}
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type DiagnosisItemEvidenceIds = string[] | null;
+11
View File
@@ -0,0 +1,11 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export interface EstimatedRevenue {
min: number;
max: number;
}
+16
View File
@@ -0,0 +1,16 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { FacebookPage } from './facebookPage';
import type { DiagnosisItem } from './diagnosisItem';
import type { BrandInconsistency } from './brandInconsistency';
export interface FacebookAudit {
pages: FacebookPage[];
diagnosis: DiagnosisItem[];
brandInconsistencies: BrandInconsistency[];
consolidationRecommendation: string;
}
+31
View File
@@ -0,0 +1,31 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { Language } from './language';
import type { FacebookPagePostFrequency } from './facebookPagePostFrequency';
import type { FacebookPageTopContentType } from './facebookPageTopContentType';
import type { FacebookPageEngagement } from './facebookPageEngagement';
export interface FacebookPage {
url: string;
pageName: string;
language: Language;
label: string;
followers: number;
following: number;
category: string;
bio: string;
logo: string;
logoDescription: string;
link: string;
linkedDomain: string;
reviews: number;
recentPostAge: string;
hasWhatsapp: boolean;
postFrequency?: FacebookPagePostFrequency;
topContentType?: FacebookPageTopContentType;
engagement?: FacebookPageEngagement;
}
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type FacebookPageEngagement = string | null;
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type FacebookPagePostFrequency = string | null;
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type FacebookPageTopContentType = string | null;
+17
View File
@@ -0,0 +1,17 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { FileType } from './fileType';
import type { FileListItemSizeBytes } from './fileListItemSizeBytes';
export interface FileListItem {
id: number;
file_type: FileType;
file_name: string;
file_url: string;
size_bytes?: FileListItemSizeBytes;
created_at: string;
}
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type FileListItemSizeBytes = number | null;
+18
View File
@@ -0,0 +1,18 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type FileType = typeof FileType[keyof typeof FileType];
// eslint-disable-next-line @typescript-eslint/no-redeclare
export const FileType = {
image: 'image',
video: 'video',
audio: 'audio',
document: 'document',
file: 'file',
} as const;
@@ -0,0 +1,17 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { FileType } from './fileType';
import type { FileUploadResponseSizeBytes } from './fileUploadResponseSizeBytes';
export interface FileUploadResponse {
id: number;
analysis_run_id: string;
file_type: FileType;
file_name: string;
file_url: string;
size_bytes?: FileUploadResponseSizeBytes;
}
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type FileUploadResponseSizeBytes = number | null;
+11
View File
@@ -0,0 +1,11 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type GetClinicsParams = {
limit?: number;
offset?: number;
};
+87 -11
View File
@@ -5,6 +5,7 @@
* OpenAPI spec version: 0.1.0
*/
export * from './additionalDomain';
export * from './analysisCreate';
export * from './analysisOptions';
export * from './analysisStartResponse';
@@ -12,14 +13,20 @@ export * from './analysisStatus';
export * from './analysisStatusResponse';
export * from './analysisStatusResponseChannelErrors';
export * from './analysisStatusResponseCompletedAt';
export * from './annotationType';
export * from './asIsToBeItem';
export * from './assetCard';
export * from './assetCardSource';
export * from './assetCardStatus';
export * from './assetCardType';
export * from './assetCollectionData';
export * from './bodyUploadAnalysisRunFileApiAnalysisRunIdFilesPost';
export * from './brandColors';
export * from './brandGuide';
export * from './brandInconsistency';
export * from './brandInconsistencyValue';
export * from './brandPlanInconsistency';
export * from './brandPlanInconsistencyValue';
export * from './calendarData';
export * from './calendarEntry';
export * from './calendarEntryAiPromptSeed';
@@ -33,6 +40,7 @@ export * from './calendarWeek';
export * from './channelBrandingRule';
export * from './channelBrandingRuleCurrentStatus';
export * from './channelScore';
export * from './channelStatus';
export * from './channelStrategyCard';
export * from './channelStrategyCardCustomerJourneyStage';
export * from './channelStrategyCardPriority';
@@ -46,43 +54,111 @@ export * from './clinicCreate';
export * from './clinicCreateResponse';
export * from './clinicHistoryResponse';
export * from './clinicHistoryResponseMetricsTimeseries';
export * from './clinicListItem';
export * from './clinicListItemHospitalNameEn';
export * from './clinicListItemRoadAddress';
export * from './clinicListItemUrl';
export * from './clinicListResponse';
export * from './clinicResponse';
export * from './clinicResponseHospitalNameEn';
export * from './clinicResponseRawData';
export * from './clinicResponseRawDataAnyOf';
export * from './clinicResponseRoadAddress';
export * from './clinicResponseUrl';
export * from './clinicSnapshot';
export * from './clinicSnapshotBrandColors';
export * from './clinicSnapshotLogoImages';
export * from './clinicSnapshotRegistryData';
export * from './clinicSnapshotSource';
export * from './colorSwatch';
export * from './contentCountSummary';
export * from './contentCountSummaryType';
export * from './contentPillar';
export * from './contentStrategyData';
export * from './contentTypeRow';
export * from './conversionStrategy';
export * from './dataSource';
export * from './diagnosisItem';
export * from './diagnosisItemEvidenceIds';
export * from './estimatedRevenue';
export * from './facebookAudit';
export * from './facebookPage';
export * from './facebookPageEngagement';
export * from './facebookPagePostFrequency';
export * from './facebookPageTopContentType';
export * from './fileListItem';
export * from './fileListItemSizeBytes';
export * from './fileType';
export * from './fileUploadResponse';
export * from './fileUploadResponseSizeBytes';
export * from './fontSpec';
export * from './getPlan200';
export * from './getReport200';
export * from './getClinicsParams';
export * from './hTTPValidationError';
export * from './instagramAccount';
export * from './instagramAudit';
export * from './kPIMetric';
export * from './language';
export * from './leadDoctor';
export * from './linkedUrl';
export * from './logoImages';
export * from './logoImagesCircle';
export * from './logoImagesHorizontal';
export * from './logoImagesKorean';
export * from './logoUsageRule';
export * from './planOutput';
export * from './planOutputRepurposingProposals';
export * from './reportOutput';
export * from './reportOutputFacebook';
export * from './reportOutputGangnamUnni';
export * from './reportOutputInstagram';
export * from './reportOutputNaverBlog';
export * from './reportOutputYoutube';
export * from './marketingReportResponse';
export * from './marketingReportResponseClinicName';
export * from './marketingReportResponseClinicNameEn';
export * from './marketingReportResponseScreenshots';
export * from './newChannelProposal';
export * from './otherChannel';
export * from './otherChannelUrl';
export * from './planApiResponse';
export * from './planApiResponseClinicName';
export * from './planApiResponseClinicNameEn';
export * from './planApiResponseRepurposingProposals';
export * from './platformStrategy';
export * from './priceRange';
export * from './registryData';
export * from './registryDataBranches';
export * from './registryDataBrandGroup';
export * from './registryDataDistrict';
export * from './registryDataGangnamUnniUrl';
export * from './registryDataGoogleMapsUrl';
export * from './registryDataNaverPlaceUrl';
export * from './registryDataWebsiteEn';
export * from './repurposingOutput';
export * from './repurposingProposalItem';
export * from './repurposingProposalItemEstimatedEffort';
export * from './repurposingProposalItemPriority';
export * from './roadmapMonth';
export * from './roadmapTask';
export * from './runSummary';
export * from './runSummaryCompletedAt';
export * from './runSummaryOverallScore';
export * from './screenshotAnnotation';
export * from './screenshotAnnotationColor';
export * from './screenshotAnnotationHeight';
export * from './screenshotAnnotationLabel';
export * from './screenshotAnnotationWidth';
export * from './screenshotEvidence';
export * from './screenshotEvidenceAnnotations';
export * from './screenshotEvidenceSourceUrl';
export * from './severity';
export * from './snsLink';
export * from './strategyDetail';
export * from './toneOfVoice';
export * from './topVideo';
export * from './topVideoDuration';
export * from './trackingPixel';
export * from './trackingPixelDetails';
export * from './transformationProposal';
export * from './validationError';
export * from './validationErrorCtx';
export * from './validationErrorLocItem';
export * from './videoType';
export * from './websiteAudit';
export * from './websiteAuditSnsLinksDetail';
export * from './weeklyViewGrowth';
export * from './workflowStep';
export * from './youTubeAudit';
export * from './youTubeRepurposeItem';
export * from './youTubeRepurposeItemType';
+23
View File
@@ -0,0 +1,23 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { Language } from './language';
export interface InstagramAccount {
handle: string;
language: Language;
label: string;
posts: number;
followers: number;
following: number;
category: string;
profileLink: string;
highlights: string[];
reelsCount: number;
contentFormat: string;
profilePhoto: string;
bio: string;
}
+13
View File
@@ -0,0 +1,13 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { InstagramAccount } from './instagramAccount';
import type { DiagnosisItem } from './diagnosisItem';
export interface InstagramAudit {
accounts: InstagramAccount[];
diagnosis: DiagnosisItem[];
}
+13
View File
@@ -0,0 +1,13 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export interface KPIMetric {
metric: string;
current: string;
target3Month: string;
target12Month: string;
}
+15
View File
@@ -0,0 +1,15 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type Language = typeof Language[keyof typeof Language];
// eslint-disable-next-line @typescript-eslint/no-redeclare
export const Language = {
KR: 'KR',
EN: 'EN',
} as const;
+13
View File
@@ -0,0 +1,13 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export interface LeadDoctor {
name: string;
credentials: string;
rating: number;
reviewCount: number;
}
+11
View File
@@ -0,0 +1,11 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export interface LinkedUrl {
label: string;
url: string;
}
+15
View File
@@ -0,0 +1,15 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { LogoImagesCircle } from './logoImagesCircle';
import type { LogoImagesHorizontal } from './logoImagesHorizontal';
import type { LogoImagesKorean } from './logoImagesKorean';
export interface LogoImages {
circle?: LogoImagesCircle;
horizontal?: LogoImagesHorizontal;
korean?: LogoImagesKorean;
}
+8
View File
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type LogoImagesCircle = string | null;
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type LogoImagesHorizontal = string | null;
+8
View File
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type LogoImagesKorean = string | null;
@@ -0,0 +1,41 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { MarketingReportResponseClinicName } from './marketingReportResponseClinicName';
import type { MarketingReportResponseClinicNameEn } from './marketingReportResponseClinicNameEn';
import type { ClinicSnapshot } from './clinicSnapshot';
import type { ChannelScore } from './channelScore';
import type { YouTubeAudit } from './youTubeAudit';
import type { InstagramAudit } from './instagramAudit';
import type { FacebookAudit } from './facebookAudit';
import type { OtherChannel } from './otherChannel';
import type { WebsiteAudit } from './websiteAudit';
import type { DiagnosisItem } from './diagnosisItem';
import type { TransformationProposal } from './transformationProposal';
import type { RoadmapMonth } from './roadmapMonth';
import type { KPIMetric } from './kPIMetric';
import type { MarketingReportResponseScreenshots } from './marketingReportResponseScreenshots';
export interface MarketingReportResponse {
id: string;
clinicName?: MarketingReportResponseClinicName;
clinicNameEn?: MarketingReportResponseClinicNameEn;
createdAt: string;
targetUrl: string;
overallScore: number;
clinicSnapshot: ClinicSnapshot;
channelScores: ChannelScore[];
youtubeAudit: YouTubeAudit;
instagramAudit: InstagramAudit;
facebookAudit: FacebookAudit;
otherChannels: OtherChannel[];
websiteAudit: WebsiteAudit;
problemDiagnosis: DiagnosisItem[];
transformation: TransformationProposal;
roadmap: RoadmapMonth[];
kpiDashboard: KPIMetric[];
screenshots?: MarketingReportResponseScreenshots;
}
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type MarketingReportResponseClinicName = string | null;
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type MarketingReportResponseClinicNameEn = string | null;
@@ -0,0 +1,9 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { ScreenshotEvidence } from './screenshotEvidence';
export type MarketingReportResponseScreenshots = ScreenshotEvidence[] | null;
@@ -0,0 +1,12 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export interface NewChannelProposal {
channel: string;
priority: string;
rationale: string;
}
+15
View File
@@ -0,0 +1,15 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { ChannelStatus } from './channelStatus';
import type { OtherChannelUrl } from './otherChannelUrl';
export interface OtherChannel {
name: string;
status: ChannelStatus;
details: string;
url?: OtherChannelUrl;
}
+8
View File
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type OtherChannelUrl = string | null;
@@ -4,18 +4,25 @@
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { PlanApiResponseClinicName } from './planApiResponseClinicName';
import type { PlanApiResponseClinicNameEn } from './planApiResponseClinicNameEn';
import type { BrandGuide } from './brandGuide';
import type { ChannelStrategyCard } from './channelStrategyCard';
import type { ContentStrategyData } from './contentStrategyData';
import type { CalendarData } from './calendarData';
import type { AssetCollectionData } from './assetCollectionData';
import type { PlanOutputRepurposingProposals } from './planOutputRepurposingProposals';
import type { PlanApiResponseRepurposingProposals } from './planApiResponseRepurposingProposals';
export interface PlanOutput {
export interface PlanApiResponse {
id: string;
clinicName?: PlanApiResponseClinicName;
clinicNameEn?: PlanApiResponseClinicNameEn;
createdAt: string;
targetUrl: string;
brandGuide: BrandGuide;
channelStrategies: ChannelStrategyCard[];
contentStrategy: ContentStrategyData;
calendar: CalendarData;
assetCollection: AssetCollectionData;
repurposingProposals?: PlanOutputRepurposingProposals;
repurposingProposals?: PlanApiResponseRepurposingProposals;
}
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type PlanApiResponseClinicName = string | null;
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type PlanApiResponseClinicNameEn = string | null;
@@ -6,4 +6,4 @@
*/
import type { RepurposingProposalItem } from './repurposingProposalItem';
export type PlanOutputRepurposingProposals = RepurposingProposalItem[] | null;
export type PlanApiResponseRepurposingProposals = RepurposingProposalItem[] | null;
+15
View File
@@ -0,0 +1,15 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { StrategyDetail } from './strategyDetail';
export interface PlatformStrategy {
platform: string;
icon: string;
currentMetric: string;
targetMetric: string;
strategies: StrategyDetail[];
}
+12
View File
@@ -0,0 +1,12 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export interface PriceRange {
min: string;
max: string;
currency: string;
}
+23
View File
@@ -0,0 +1,23 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { RegistryDataDistrict } from './registryDataDistrict';
import type { RegistryDataBranches } from './registryDataBranches';
import type { RegistryDataBrandGroup } from './registryDataBrandGroup';
import type { RegistryDataWebsiteEn } from './registryDataWebsiteEn';
import type { RegistryDataNaverPlaceUrl } from './registryDataNaverPlaceUrl';
import type { RegistryDataGangnamUnniUrl } from './registryDataGangnamUnniUrl';
import type { RegistryDataGoogleMapsUrl } from './registryDataGoogleMapsUrl';
export interface RegistryData {
district?: RegistryDataDistrict;
branches?: RegistryDataBranches;
brandGroup?: RegistryDataBrandGroup;
websiteEn?: RegistryDataWebsiteEn;
naverPlaceUrl?: RegistryDataNaverPlaceUrl;
gangnamUnniUrl?: RegistryDataGangnamUnniUrl;
googleMapsUrl?: RegistryDataGoogleMapsUrl;
}
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type RegistryDataBranches = string | null;
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type RegistryDataBrandGroup = string | null;
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type RegistryDataDistrict = string | null;
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type RegistryDataGangnamUnniUrl = string | null;
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type RegistryDataGoogleMapsUrl = string | null;
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type RegistryDataNaverPlaceUrl = string | null;
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type RegistryDataWebsiteEn = string | null;
-24
View File
@@ -1,24 +0,0 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { ReportOutputInstagram } from './reportOutputInstagram';
import type { ReportOutputFacebook } from './reportOutputFacebook';
import type { ReportOutputNaverBlog } from './reportOutputNaverBlog';
import type { ReportOutputYoutube } from './reportOutputYoutube';
import type { ReportOutputGangnamUnni } from './reportOutputGangnamUnni';
import type { ConversionStrategy } from './conversionStrategy';
export interface ReportOutput {
overall_score: number;
instagram?: ReportOutputInstagram;
facebook?: ReportOutputFacebook;
naver_blog?: ReportOutputNaverBlog;
youtube?: ReportOutputYoutube;
gangnam_unni?: ReportOutputGangnamUnni;
conversion_strategy: ConversionStrategy;
roadmap: string[];
kpis: string[];
}
@@ -1,9 +0,0 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { ChannelScore } from './channelScore';
export type ReportOutputGangnamUnni = ChannelScore | null;
@@ -1,9 +0,0 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { ChannelScore } from './channelScore';
export type ReportOutputInstagram = ChannelScore | null;
@@ -1,9 +0,0 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { ChannelScore } from './channelScore';
export type ReportOutputNaverBlog = ChannelScore | null;
+14
View File
@@ -0,0 +1,14 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { RoadmapTask } from './roadmapTask';
export interface RoadmapMonth {
month: number;
title: string;
subtitle: string;
tasks: RoadmapTask[];
}
+11
View File
@@ -0,0 +1,11 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export interface RoadmapTask {
task: string;
completed: boolean;
}
@@ -0,0 +1,21 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { AnnotationType } from './annotationType';
import type { ScreenshotAnnotationWidth } from './screenshotAnnotationWidth';
import type { ScreenshotAnnotationHeight } from './screenshotAnnotationHeight';
import type { ScreenshotAnnotationLabel } from './screenshotAnnotationLabel';
import type { ScreenshotAnnotationColor } from './screenshotAnnotationColor';
export interface ScreenshotAnnotation {
type: AnnotationType;
x: number;
y: number;
width?: ScreenshotAnnotationWidth;
height?: ScreenshotAnnotationHeight;
label?: ScreenshotAnnotationLabel;
color?: ScreenshotAnnotationColor;
}
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type ScreenshotAnnotationColor = string | null;
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type ScreenshotAnnotationHeight = number | null;
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type ScreenshotAnnotationLabel = string | null;
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type ScreenshotAnnotationWidth = number | null;
@@ -0,0 +1,18 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { ScreenshotEvidenceSourceUrl } from './screenshotEvidenceSourceUrl';
import type { ScreenshotEvidenceAnnotations } from './screenshotEvidenceAnnotations';
export interface ScreenshotEvidence {
id: string;
url: string;
channel: string;
capturedAt: string;
caption: string;
sourceUrl?: ScreenshotEvidenceSourceUrl;
annotations?: ScreenshotEvidenceAnnotations;
}
@@ -0,0 +1,9 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { ScreenshotAnnotation } from './screenshotAnnotation';
export type ScreenshotEvidenceAnnotations = ScreenshotAnnotation[] | null;
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type ScreenshotEvidenceSourceUrl = string | null;
+18
View File
@@ -0,0 +1,18 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type Severity = typeof Severity[keyof typeof Severity];
// eslint-disable-next-line @typescript-eslint/no-redeclare
export const Severity = {
critical: 'critical',
warning: 'warning',
good: 'good',
excellent: 'excellent',
unknown: 'unknown',
} as const;
+12
View File
@@ -0,0 +1,12 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export interface SnsLink {
platform: string;
url: string;
location: string;
}
+11
View File
@@ -0,0 +1,11 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export interface StrategyDetail {
strategy: string;
detail: string;
}
+16
View File
@@ -0,0 +1,16 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { VideoType } from './videoType';
import type { TopVideoDuration } from './topVideoDuration';
export interface TopVideo {
title: string;
views: number;
uploadedAgo: string;
type: VideoType;
duration?: TopVideoDuration;
}
+8
View File
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type TopVideoDuration = string | null;
+13
View File
@@ -0,0 +1,13 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { TrackingPixelDetails } from './trackingPixelDetails';
export interface TrackingPixel {
name: string;
installed: boolean;
details?: TrackingPixelDetails;
}
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type TrackingPixelDetails = string | null;
@@ -0,0 +1,17 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { AsIsToBeItem } from './asIsToBeItem';
import type { PlatformStrategy } from './platformStrategy';
import type { NewChannelProposal } from './newChannelProposal';
export interface TransformationProposal {
brandIdentity: AsIsToBeItem[];
contentStrategy: AsIsToBeItem[];
platformStrategies: PlatformStrategy[];
websiteImprovements: AsIsToBeItem[];
newChannelProposals: NewChannelProposal[];
}
+15
View File
@@ -0,0 +1,15 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export type VideoType = typeof VideoType[keyof typeof VideoType];
// eslint-disable-next-line @typescript-eslint/no-redeclare
export const VideoType = {
Short: 'Short',
Long: 'Long',
} as const;
+18
View File
@@ -0,0 +1,18 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { AdditionalDomain } from './additionalDomain';
import type { WebsiteAuditSnsLinksDetail } from './websiteAuditSnsLinksDetail';
import type { TrackingPixel } from './trackingPixel';
export interface WebsiteAudit {
primaryDomain: string;
additionalDomains: AdditionalDomain[];
snsLinksOnSite: boolean;
snsLinksDetail?: WebsiteAuditSnsLinksDetail;
trackingPixels: TrackingPixel[];
mainCta: string;
}
@@ -0,0 +1,9 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { SnsLink } from './snsLink';
export type WebsiteAuditSnsLinksDetail = SnsLink[] | null;
+11
View File
@@ -0,0 +1,11 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
export interface WeeklyViewGrowth {
absolute: number;
percentage: number;
}
+30
View File
@@ -0,0 +1,30 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { WeeklyViewGrowth } from './weeklyViewGrowth';
import type { EstimatedRevenue } from './estimatedRevenue';
import type { LinkedUrl } from './linkedUrl';
import type { TopVideo } from './topVideo';
import type { DiagnosisItem } from './diagnosisItem';
export interface YouTubeAudit {
channelName: string;
handle: string;
subscribers: number;
totalVideos: number;
totalViews: number;
weeklyViewGrowth: WeeklyViewGrowth;
estimatedMonthlyRevenue: EstimatedRevenue;
avgVideoLength: string;
uploadFrequency: string;
channelCreatedDate: string;
subscriberRank: string;
channelDescription: string;
linkedUrls: LinkedUrl[];
playlists: string[];
topVideos: TopVideo[];
diagnosis: DiagnosisItem[];
}