chore(api): orval 재생성 — clinic_snapshot/youtube_audit/instagram_account/facebook_page nullable 필드 분리, priceRange/clinicResponseRawData 제거

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
main
Mina Choi 2026-06-04 09:42:07 +09:00
parent 2db78e6bec
commit 156dad59dc
58 changed files with 524 additions and 96 deletions

View File

@ -6,17 +6,13 @@
*/ */
import type { ClinicResponseHospitalNameEn } from './clinicResponseHospitalNameEn'; import type { ClinicResponseHospitalNameEn } from './clinicResponseHospitalNameEn';
import type { ClinicResponseRoadAddress } from './clinicResponseRoadAddress'; import type { ClinicResponseRoadAddress } from './clinicResponseRoadAddress';
import type { ClinicResponseUrl } from './clinicResponseUrl';
import type { ClinicResponseRawData } from './clinicResponseRawData';
export interface ClinicResponse { export interface ClinicResponse {
hospital_id: string; hospital_id: string;
hospital_name: string; hospital_name: string;
hospital_name_en: ClinicResponseHospitalNameEn; hospital_name_en: ClinicResponseHospitalNameEn;
road_address: ClinicResponseRoadAddress; road_address: ClinicResponseRoadAddress;
url: ClinicResponseUrl;
status: string; status: string;
raw_data: ClinicResponseRawData;
created_at: string; created_at: string;
updated_at: string; updated_at: string;
} }

View File

@ -1,9 +0,0 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { ClinicResponseRawDataAnyOf } from './clinicResponseRawDataAnyOf';
export type ClinicResponseRawData = ClinicResponseRawDataAnyOf | null;

View File

@ -4,30 +4,31 @@
* FastAPI * FastAPI
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
import type { LeadDoctor } from './leadDoctor'; import type { ClinicSnapshotName } from './clinicSnapshotName';
import type { PriceRange } from './priceRange'; import type { ClinicSnapshotNameEn } from './clinicSnapshotNameEn';
import type { ClinicSnapshotStaffCount } from './clinicSnapshotStaffCount';
import type { ClinicSnapshotLeadDoctor } from './clinicSnapshotLeadDoctor';
import type { ClinicSnapshotOverallRating } from './clinicSnapshotOverallRating';
import type { ClinicSnapshotTotalReviews } from './clinicSnapshotTotalReviews';
import type { ClinicSnapshotLocation } from './clinicSnapshotLocation';
import type { ClinicSnapshotPhone } from './clinicSnapshotPhone';
import type { ClinicSnapshotDomain } from './clinicSnapshotDomain';
import type { ClinicSnapshotLogoImages } from './clinicSnapshotLogoImages'; import type { ClinicSnapshotLogoImages } from './clinicSnapshotLogoImages';
import type { ClinicSnapshotBrandColors } from './clinicSnapshotBrandColors'; import type { ClinicSnapshotBrandColors } from './clinicSnapshotBrandColors';
import type { ClinicSnapshotSource } from './clinicSnapshotSource'; import type { ClinicSnapshotSource } from './clinicSnapshotSource';
import type { ClinicSnapshotRegistryData } from './clinicSnapshotRegistryData'; import type { ClinicSnapshotRegistryData } from './clinicSnapshotRegistryData';
export interface ClinicSnapshot { export interface ClinicSnapshot {
name: string; name?: ClinicSnapshotName;
nameEn: string; nameEn?: ClinicSnapshotNameEn;
established: string; staffCount?: ClinicSnapshotStaffCount;
yearsInBusiness: number; leadDoctor?: ClinicSnapshotLeadDoctor;
staffCount: number; overallRating?: ClinicSnapshotOverallRating;
leadDoctor: LeadDoctor; totalReviews?: ClinicSnapshotTotalReviews;
overallRating: number; certifications?: string[];
totalReviews: number; location?: ClinicSnapshotLocation;
priceRange: PriceRange; phone?: ClinicSnapshotPhone;
certifications: string[]; domain?: ClinicSnapshotDomain;
mediaAppearances: string[];
medicalTourism: string[];
location: string;
nearestStation: string;
phone: string;
domain: string;
logoImages?: ClinicSnapshotLogoImages; logoImages?: ClinicSnapshotLogoImages;
brandColors?: ClinicSnapshotBrandColors; brandColors?: ClinicSnapshotBrandColors;
source?: ClinicSnapshotSource; source?: ClinicSnapshotSource;

View File

@ -5,4 +5,4 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
export type ClinicResponseRawDataAnyOf = { [key: string]: unknown }; export type ClinicSnapshotDomain = string | null;

View File

@ -0,0 +1,9 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { LeadDoctor } from './leadDoctor';
export type ClinicSnapshotLeadDoctor = LeadDoctor | null;

View File

@ -5,8 +5,4 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
export interface PriceRange { export type ClinicSnapshotLocation = string | null;
min: string;
max: string;
currency: string;
}

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 ClinicSnapshotName = string | null;

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 ClinicSnapshotNameEn = string | null;

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 ClinicSnapshotOverallRating = number | null;

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 ClinicSnapshotPhone = string | null;

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 ClinicSnapshotStaffCount = number | null;

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 ClinicSnapshotTotalReviews = number | null;

View File

@ -7,10 +7,11 @@
import type { FacebookPage } from './facebookPage'; import type { FacebookPage } from './facebookPage';
import type { DiagnosisItem } from './diagnosisItem'; import type { DiagnosisItem } from './diagnosisItem';
import type { BrandInconsistency } from './brandInconsistency'; import type { BrandInconsistency } from './brandInconsistency';
import type { FacebookAuditConsolidationRecommendation } from './facebookAuditConsolidationRecommendation';
export interface FacebookAudit { export interface FacebookAudit {
pages: FacebookPage[]; pages?: FacebookPage[];
diagnosis: DiagnosisItem[]; diagnosis?: DiagnosisItem[];
brandInconsistencies: BrandInconsistency[]; brandInconsistencies?: BrandInconsistency[];
consolidationRecommendation: string; consolidationRecommendation?: FacebookAuditConsolidationRecommendation;
} }

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 FacebookAuditConsolidationRecommendation = string | null;

View File

@ -4,27 +4,41 @@
* FastAPI * FastAPI
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
import type { Language } from './language'; import type { FacebookPageUrl } from './facebookPageUrl';
import type { FacebookPagePageName } from './facebookPagePageName';
import type { FacebookPageLanguage } from './facebookPageLanguage';
import type { FacebookPageLabel } from './facebookPageLabel';
import type { FacebookPageFollowers } from './facebookPageFollowers';
import type { FacebookPageFollowing } from './facebookPageFollowing';
import type { FacebookPageCategory } from './facebookPageCategory';
import type { FacebookPageBio } from './facebookPageBio';
import type { FacebookPageLogo } from './facebookPageLogo';
import type { FacebookPageLogoDescription } from './facebookPageLogoDescription';
import type { FacebookPageLink } from './facebookPageLink';
import type { FacebookPageLinkedDomain } from './facebookPageLinkedDomain';
import type { FacebookPageReviews } from './facebookPageReviews';
import type { FacebookPageRecentPostAge } from './facebookPageRecentPostAge';
import type { FacebookPageHasWhatsapp } from './facebookPageHasWhatsapp';
import type { FacebookPagePostFrequency } from './facebookPagePostFrequency'; import type { FacebookPagePostFrequency } from './facebookPagePostFrequency';
import type { FacebookPageTopContentType } from './facebookPageTopContentType'; import type { FacebookPageTopContentType } from './facebookPageTopContentType';
import type { FacebookPageEngagement } from './facebookPageEngagement'; import type { FacebookPageEngagement } from './facebookPageEngagement';
export interface FacebookPage { export interface FacebookPage {
url: string; url?: FacebookPageUrl;
pageName: string; pageName?: FacebookPagePageName;
language: Language; language?: FacebookPageLanguage;
label: string; label?: FacebookPageLabel;
followers: number; followers?: FacebookPageFollowers;
following: number; following?: FacebookPageFollowing;
category: string; category?: FacebookPageCategory;
bio: string; bio?: FacebookPageBio;
logo: string; logo?: FacebookPageLogo;
logoDescription: string; logoDescription?: FacebookPageLogoDescription;
link: string; link?: FacebookPageLink;
linkedDomain: string; linkedDomain?: FacebookPageLinkedDomain;
reviews: number; reviews?: FacebookPageReviews;
recentPostAge: string; recentPostAge?: FacebookPageRecentPostAge;
hasWhatsapp: boolean; hasWhatsapp?: FacebookPageHasWhatsapp;
postFrequency?: FacebookPagePostFrequency; postFrequency?: FacebookPagePostFrequency;
topContentType?: FacebookPageTopContentType; topContentType?: FacebookPageTopContentType;
engagement?: FacebookPageEngagement; engagement?: FacebookPageEngagement;

View File

@ -5,4 +5,4 @@
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
export type ClinicResponseUrl = string | null; export type FacebookPageBio = string | null;

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 FacebookPageCategory = string | null;

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 FacebookPageFollowers = number | null;

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 FacebookPageFollowing = number | null;

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 FacebookPageHasWhatsapp = boolean | null;

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 FacebookPageLabel = string | null;

View File

@ -0,0 +1,9 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { Language } from './language';
export type FacebookPageLanguage = Language | null;

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 FacebookPageLink = string | null;

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 FacebookPageLinkedDomain = string | null;

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 FacebookPageLogo = string | null;

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 FacebookPageLogoDescription = string | null;

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 FacebookPagePageName = string | null;

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 FacebookPageRecentPostAge = string | null;

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 FacebookPageReviews = number | null;

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 FacebookPageUrl = string | null;

View File

@ -61,15 +61,21 @@ export * from './clinicHistoryResponse';
export * from './clinicHistoryResponseMetricsTimeseries'; export * from './clinicHistoryResponseMetricsTimeseries';
export * from './clinicResponse'; export * from './clinicResponse';
export * from './clinicResponseHospitalNameEn'; export * from './clinicResponseHospitalNameEn';
export * from './clinicResponseRawData';
export * from './clinicResponseRawDataAnyOf';
export * from './clinicResponseRoadAddress'; export * from './clinicResponseRoadAddress';
export * from './clinicResponseUrl';
export * from './clinicSnapshot'; export * from './clinicSnapshot';
export * from './clinicSnapshotBrandColors'; export * from './clinicSnapshotBrandColors';
export * from './clinicSnapshotDomain';
export * from './clinicSnapshotLeadDoctor';
export * from './clinicSnapshotLocation';
export * from './clinicSnapshotLogoImages'; export * from './clinicSnapshotLogoImages';
export * from './clinicSnapshotName';
export * from './clinicSnapshotNameEn';
export * from './clinicSnapshotOverallRating';
export * from './clinicSnapshotPhone';
export * from './clinicSnapshotRegistryData'; export * from './clinicSnapshotRegistryData';
export * from './clinicSnapshotSource'; export * from './clinicSnapshotSource';
export * from './clinicSnapshotStaffCount';
export * from './clinicSnapshotTotalReviews';
export * from './colorSwatch'; export * from './colorSwatch';
export * from './contentCountSummary'; export * from './contentCountSummary';
export * from './contentCountSummaryType'; export * from './contentCountSummaryType';
@ -81,10 +87,26 @@ export * from './diagnosisItem';
export * from './diagnosisItemEvidenceIds'; export * from './diagnosisItemEvidenceIds';
export * from './estimatedRevenue'; export * from './estimatedRevenue';
export * from './facebookAudit'; export * from './facebookAudit';
export * from './facebookAuditConsolidationRecommendation';
export * from './facebookPage'; export * from './facebookPage';
export * from './facebookPageBio';
export * from './facebookPageCategory';
export * from './facebookPageEngagement'; export * from './facebookPageEngagement';
export * from './facebookPageFollowers';
export * from './facebookPageFollowing';
export * from './facebookPageHasWhatsapp';
export * from './facebookPageLabel';
export * from './facebookPageLanguage';
export * from './facebookPageLink';
export * from './facebookPageLinkedDomain';
export * from './facebookPageLogo';
export * from './facebookPageLogoDescription';
export * from './facebookPagePageName';
export * from './facebookPagePostFrequency'; export * from './facebookPagePostFrequency';
export * from './facebookPageRecentPostAge';
export * from './facebookPageReviews';
export * from './facebookPageTopContentType'; export * from './facebookPageTopContentType';
export * from './facebookPageUrl';
export * from './fileListItem'; export * from './fileListItem';
export * from './fileListItemSizeBytes'; export * from './fileListItemSizeBytes';
export * from './fileType'; export * from './fileType';
@ -93,6 +115,18 @@ export * from './fileUploadResponseSizeBytes';
export * from './fontSpec'; export * from './fontSpec';
export * from './hTTPValidationError'; export * from './hTTPValidationError';
export * from './instagramAccount'; export * from './instagramAccount';
export * from './instagramAccountBio';
export * from './instagramAccountCategory';
export * from './instagramAccountContentFormat';
export * from './instagramAccountFollowers';
export * from './instagramAccountFollowing';
export * from './instagramAccountHandle';
export * from './instagramAccountLabel';
export * from './instagramAccountLanguage';
export * from './instagramAccountPosts';
export * from './instagramAccountProfileLink';
export * from './instagramAccountProfilePhoto';
export * from './instagramAccountReelsCount';
export * from './instagramAudit'; export * from './instagramAudit';
export * from './kPIMetric'; export * from './kPIMetric';
export * from './language'; export * from './language';
@ -115,7 +149,6 @@ export * from './planApiResponseClinicName';
export * from './planApiResponseClinicNameEn'; export * from './planApiResponseClinicNameEn';
export * from './planApiResponseRepurposingProposals'; export * from './planApiResponseRepurposingProposals';
export * from './platformStrategy'; export * from './platformStrategy';
export * from './priceRange';
export * from './registryData'; export * from './registryData';
export * from './registryDataBranches'; export * from './registryDataBranches';
export * from './registryDataBrandGroup'; export * from './registryDataBrandGroup';
@ -159,5 +192,16 @@ export * from './websiteAuditSnsLinksDetail';
export * from './weeklyViewGrowth'; export * from './weeklyViewGrowth';
export * from './workflowStep'; export * from './workflowStep';
export * from './youTubeAudit'; export * from './youTubeAudit';
export * from './youTubeAuditAvgVideoLength';
export * from './youTubeAuditChannelCreatedDate';
export * from './youTubeAuditChannelDescription';
export * from './youTubeAuditChannelName';
export * from './youTubeAuditEstimatedMonthlyRevenue';
export * from './youTubeAuditHandle';
export * from './youTubeAuditSubscribers';
export * from './youTubeAuditTotalVideos';
export * from './youTubeAuditTotalViews';
export * from './youTubeAuditUploadFrequency';
export * from './youTubeAuditWeeklyViewGrowth';
export * from './youTubeRepurposeItem'; export * from './youTubeRepurposeItem';
export * from './youTubeRepurposeItemType'; export * from './youTubeRepurposeItemType';

View File

@ -4,20 +4,31 @@
* FastAPI * FastAPI
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
import type { Language } from './language'; import type { InstagramAccountHandle } from './instagramAccountHandle';
import type { InstagramAccountLanguage } from './instagramAccountLanguage';
import type { InstagramAccountLabel } from './instagramAccountLabel';
import type { InstagramAccountPosts } from './instagramAccountPosts';
import type { InstagramAccountFollowers } from './instagramAccountFollowers';
import type { InstagramAccountFollowing } from './instagramAccountFollowing';
import type { InstagramAccountCategory } from './instagramAccountCategory';
import type { InstagramAccountProfileLink } from './instagramAccountProfileLink';
import type { InstagramAccountReelsCount } from './instagramAccountReelsCount';
import type { InstagramAccountContentFormat } from './instagramAccountContentFormat';
import type { InstagramAccountProfilePhoto } from './instagramAccountProfilePhoto';
import type { InstagramAccountBio } from './instagramAccountBio';
export interface InstagramAccount { export interface InstagramAccount {
handle: string; handle?: InstagramAccountHandle;
language: Language; language?: InstagramAccountLanguage;
label: string; label?: InstagramAccountLabel;
posts: number; posts?: InstagramAccountPosts;
followers: number; followers?: InstagramAccountFollowers;
following: number; following?: InstagramAccountFollowing;
category: string; category?: InstagramAccountCategory;
profileLink: string; profileLink?: InstagramAccountProfileLink;
highlights: string[]; highlights?: string[];
reelsCount: number; reelsCount?: InstagramAccountReelsCount;
contentFormat: string; contentFormat?: InstagramAccountContentFormat;
profilePhoto: string; profilePhoto?: InstagramAccountProfilePhoto;
bio: string; bio?: InstagramAccountBio;
} }

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 InstagramAccountBio = string | null;

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 InstagramAccountCategory = string | null;

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 InstagramAccountContentFormat = string | null;

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 InstagramAccountFollowers = number | null;

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 InstagramAccountFollowing = number | null;

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 InstagramAccountHandle = string | null;

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 InstagramAccountLabel = string | null;

View File

@ -0,0 +1,9 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { Language } from './language';
export type InstagramAccountLanguage = Language | null;

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 InstagramAccountPosts = number | null;

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 InstagramAccountProfileLink = string | null;

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 InstagramAccountProfilePhoto = string | null;

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 InstagramAccountReelsCount = number | null;

View File

@ -8,6 +8,6 @@ import type { InstagramAccount } from './instagramAccount';
import type { DiagnosisItem } from './diagnosisItem'; import type { DiagnosisItem } from './diagnosisItem';
export interface InstagramAudit { export interface InstagramAudit {
accounts: InstagramAccount[]; accounts?: InstagramAccount[];
diagnosis: DiagnosisItem[]; diagnosis?: DiagnosisItem[];
} }

View File

@ -12,4 +12,5 @@ export type Language = typeof Language[keyof typeof Language];
export const Language = { export const Language = {
KR: 'KR', KR: 'KR',
EN: 'EN', EN: 'EN',
WW: 'WW',
} as const; } as const;

View File

@ -4,27 +4,35 @@
* FastAPI * FastAPI
* OpenAPI spec version: 0.1.0 * OpenAPI spec version: 0.1.0
*/ */
import type { WeeklyViewGrowth } from './weeklyViewGrowth'; import type { YouTubeAuditChannelName } from './youTubeAuditChannelName';
import type { EstimatedRevenue } from './estimatedRevenue'; import type { YouTubeAuditHandle } from './youTubeAuditHandle';
import type { YouTubeAuditSubscribers } from './youTubeAuditSubscribers';
import type { YouTubeAuditTotalVideos } from './youTubeAuditTotalVideos';
import type { YouTubeAuditTotalViews } from './youTubeAuditTotalViews';
import type { YouTubeAuditWeeklyViewGrowth } from './youTubeAuditWeeklyViewGrowth';
import type { YouTubeAuditEstimatedMonthlyRevenue } from './youTubeAuditEstimatedMonthlyRevenue';
import type { YouTubeAuditAvgVideoLength } from './youTubeAuditAvgVideoLength';
import type { YouTubeAuditUploadFrequency } from './youTubeAuditUploadFrequency';
import type { YouTubeAuditChannelCreatedDate } from './youTubeAuditChannelCreatedDate';
import type { YouTubeAuditChannelDescription } from './youTubeAuditChannelDescription';
import type { LinkedUrl } from './linkedUrl'; import type { LinkedUrl } from './linkedUrl';
import type { TopVideo } from './topVideo'; import type { TopVideo } from './topVideo';
import type { DiagnosisItem } from './diagnosisItem'; import type { DiagnosisItem } from './diagnosisItem';
export interface YouTubeAudit { export interface YouTubeAudit {
channelName: string; channelName?: YouTubeAuditChannelName;
handle: string; handle?: YouTubeAuditHandle;
subscribers: number; subscribers?: YouTubeAuditSubscribers;
totalVideos: number; totalVideos?: YouTubeAuditTotalVideos;
totalViews: number; totalViews?: YouTubeAuditTotalViews;
weeklyViewGrowth: WeeklyViewGrowth; weeklyViewGrowth?: YouTubeAuditWeeklyViewGrowth;
estimatedMonthlyRevenue: EstimatedRevenue; estimatedMonthlyRevenue?: YouTubeAuditEstimatedMonthlyRevenue;
avgVideoLength: string; avgVideoLength?: YouTubeAuditAvgVideoLength;
uploadFrequency: string; uploadFrequency?: YouTubeAuditUploadFrequency;
channelCreatedDate: string; channelCreatedDate?: YouTubeAuditChannelCreatedDate;
subscriberRank: string; channelDescription?: YouTubeAuditChannelDescription;
channelDescription: string; linkedUrls?: LinkedUrl[];
linkedUrls: LinkedUrl[]; playlists?: string[];
playlists: string[]; topVideos?: TopVideo[];
topVideos: TopVideo[]; diagnosis?: DiagnosisItem[];
diagnosis: DiagnosisItem[];
} }

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 YouTubeAuditAvgVideoLength = string | null;

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 YouTubeAuditChannelCreatedDate = string | null;

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 YouTubeAuditChannelDescription = string | null;

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 YouTubeAuditChannelName = string | null;

View File

@ -0,0 +1,9 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { EstimatedRevenue } from './estimatedRevenue';
export type YouTubeAuditEstimatedMonthlyRevenue = EstimatedRevenue | null;

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 YouTubeAuditHandle = string | null;

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 YouTubeAuditSubscribers = number | null;

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 YouTubeAuditTotalVideos = number | null;

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 YouTubeAuditTotalViews = number | null;

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 YouTubeAuditUploadFrequency = string | null;

View File

@ -0,0 +1,9 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* FastAPI
* OpenAPI spec version: 0.1.0
*/
import type { WeeklyViewGrowth } from './weeklyViewGrowth';
export type YouTubeAuditWeeklyViewGrowth = WeeklyViewGrowth | null;