diff --git a/src/shared/api/model/clinicResponse.ts b/src/shared/api/model/clinicResponse.ts index 13e7f2a..6f4a391 100644 --- a/src/shared/api/model/clinicResponse.ts +++ b/src/shared/api/model/clinicResponse.ts @@ -6,17 +6,13 @@ */ import type { ClinicResponseHospitalNameEn } from './clinicResponseHospitalNameEn'; import type { ClinicResponseRoadAddress } from './clinicResponseRoadAddress'; -import type { ClinicResponseUrl } from './clinicResponseUrl'; -import type { ClinicResponseRawData } from './clinicResponseRawData'; export interface ClinicResponse { hospital_id: string; hospital_name: string; hospital_name_en: ClinicResponseHospitalNameEn; road_address: ClinicResponseRoadAddress; - url: ClinicResponseUrl; status: string; - raw_data: ClinicResponseRawData; created_at: string; updated_at: string; } diff --git a/src/shared/api/model/clinicResponseRawData.ts b/src/shared/api/model/clinicResponseRawData.ts deleted file mode 100644 index 0790daa..0000000 --- a/src/shared/api/model/clinicResponseRawData.ts +++ /dev/null @@ -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; diff --git a/src/shared/api/model/clinicSnapshot.ts b/src/shared/api/model/clinicSnapshot.ts index 2b0a32d..e00b579 100644 --- a/src/shared/api/model/clinicSnapshot.ts +++ b/src/shared/api/model/clinicSnapshot.ts @@ -4,30 +4,31 @@ * FastAPI * OpenAPI spec version: 0.1.0 */ -import type { LeadDoctor } from './leadDoctor'; -import type { PriceRange } from './priceRange'; +import type { ClinicSnapshotName } from './clinicSnapshotName'; +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 { 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; + name?: ClinicSnapshotName; + nameEn?: ClinicSnapshotNameEn; + staffCount?: ClinicSnapshotStaffCount; + leadDoctor?: ClinicSnapshotLeadDoctor; + overallRating?: ClinicSnapshotOverallRating; + totalReviews?: ClinicSnapshotTotalReviews; + certifications?: string[]; + location?: ClinicSnapshotLocation; + phone?: ClinicSnapshotPhone; + domain?: ClinicSnapshotDomain; logoImages?: ClinicSnapshotLogoImages; brandColors?: ClinicSnapshotBrandColors; source?: ClinicSnapshotSource; diff --git a/src/shared/api/model/clinicResponseRawDataAnyOf.ts b/src/shared/api/model/clinicSnapshotDomain.ts similarity index 61% rename from src/shared/api/model/clinicResponseRawDataAnyOf.ts rename to src/shared/api/model/clinicSnapshotDomain.ts index e274ddc..2c1be2e 100644 --- a/src/shared/api/model/clinicResponseRawDataAnyOf.ts +++ b/src/shared/api/model/clinicSnapshotDomain.ts @@ -5,4 +5,4 @@ * OpenAPI spec version: 0.1.0 */ -export type ClinicResponseRawDataAnyOf = { [key: string]: unknown }; +export type ClinicSnapshotDomain = string | null; diff --git a/src/shared/api/model/clinicSnapshotLeadDoctor.ts b/src/shared/api/model/clinicSnapshotLeadDoctor.ts new file mode 100644 index 0000000..f86cefe --- /dev/null +++ b/src/shared/api/model/clinicSnapshotLeadDoctor.ts @@ -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; diff --git a/src/shared/api/model/priceRange.ts b/src/shared/api/model/clinicSnapshotLocation.ts similarity index 57% rename from src/shared/api/model/priceRange.ts rename to src/shared/api/model/clinicSnapshotLocation.ts index 28100c0..d6e9017 100644 --- a/src/shared/api/model/priceRange.ts +++ b/src/shared/api/model/clinicSnapshotLocation.ts @@ -5,8 +5,4 @@ * OpenAPI spec version: 0.1.0 */ -export interface PriceRange { - min: string; - max: string; - currency: string; -} +export type ClinicSnapshotLocation = string | null; diff --git a/src/shared/api/model/clinicSnapshotName.ts b/src/shared/api/model/clinicSnapshotName.ts new file mode 100644 index 0000000..175ad30 --- /dev/null +++ b/src/shared/api/model/clinicSnapshotName.ts @@ -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; diff --git a/src/shared/api/model/clinicSnapshotNameEn.ts b/src/shared/api/model/clinicSnapshotNameEn.ts new file mode 100644 index 0000000..c87a3bc --- /dev/null +++ b/src/shared/api/model/clinicSnapshotNameEn.ts @@ -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; diff --git a/src/shared/api/model/clinicSnapshotOverallRating.ts b/src/shared/api/model/clinicSnapshotOverallRating.ts new file mode 100644 index 0000000..83ecc0c --- /dev/null +++ b/src/shared/api/model/clinicSnapshotOverallRating.ts @@ -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; diff --git a/src/shared/api/model/clinicSnapshotPhone.ts b/src/shared/api/model/clinicSnapshotPhone.ts new file mode 100644 index 0000000..d52d1a7 --- /dev/null +++ b/src/shared/api/model/clinicSnapshotPhone.ts @@ -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; diff --git a/src/shared/api/model/clinicSnapshotStaffCount.ts b/src/shared/api/model/clinicSnapshotStaffCount.ts new file mode 100644 index 0000000..c027357 --- /dev/null +++ b/src/shared/api/model/clinicSnapshotStaffCount.ts @@ -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; diff --git a/src/shared/api/model/clinicSnapshotTotalReviews.ts b/src/shared/api/model/clinicSnapshotTotalReviews.ts new file mode 100644 index 0000000..ad05fed --- /dev/null +++ b/src/shared/api/model/clinicSnapshotTotalReviews.ts @@ -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; diff --git a/src/shared/api/model/facebookAudit.ts b/src/shared/api/model/facebookAudit.ts index 0e60b46..e760582 100644 --- a/src/shared/api/model/facebookAudit.ts +++ b/src/shared/api/model/facebookAudit.ts @@ -7,10 +7,11 @@ import type { FacebookPage } from './facebookPage'; import type { DiagnosisItem } from './diagnosisItem'; import type { BrandInconsistency } from './brandInconsistency'; +import type { FacebookAuditConsolidationRecommendation } from './facebookAuditConsolidationRecommendation'; export interface FacebookAudit { - pages: FacebookPage[]; - diagnosis: DiagnosisItem[]; - brandInconsistencies: BrandInconsistency[]; - consolidationRecommendation: string; + pages?: FacebookPage[]; + diagnosis?: DiagnosisItem[]; + brandInconsistencies?: BrandInconsistency[]; + consolidationRecommendation?: FacebookAuditConsolidationRecommendation; } diff --git a/src/shared/api/model/facebookAuditConsolidationRecommendation.ts b/src/shared/api/model/facebookAuditConsolidationRecommendation.ts new file mode 100644 index 0000000..0c7764e --- /dev/null +++ b/src/shared/api/model/facebookAuditConsolidationRecommendation.ts @@ -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; diff --git a/src/shared/api/model/facebookPage.ts b/src/shared/api/model/facebookPage.ts index 08df9f4..0257e86 100644 --- a/src/shared/api/model/facebookPage.ts +++ b/src/shared/api/model/facebookPage.ts @@ -4,27 +4,41 @@ * FastAPI * 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 { 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; + url?: FacebookPageUrl; + pageName?: FacebookPagePageName; + language?: FacebookPageLanguage; + label?: FacebookPageLabel; + followers?: FacebookPageFollowers; + following?: FacebookPageFollowing; + category?: FacebookPageCategory; + bio?: FacebookPageBio; + logo?: FacebookPageLogo; + logoDescription?: FacebookPageLogoDescription; + link?: FacebookPageLink; + linkedDomain?: FacebookPageLinkedDomain; + reviews?: FacebookPageReviews; + recentPostAge?: FacebookPageRecentPostAge; + hasWhatsapp?: FacebookPageHasWhatsapp; postFrequency?: FacebookPagePostFrequency; topContentType?: FacebookPageTopContentType; engagement?: FacebookPageEngagement; diff --git a/src/shared/api/model/clinicResponseUrl.ts b/src/shared/api/model/facebookPageBio.ts similarity index 70% rename from src/shared/api/model/clinicResponseUrl.ts rename to src/shared/api/model/facebookPageBio.ts index a03104d..4100ad2 100644 --- a/src/shared/api/model/clinicResponseUrl.ts +++ b/src/shared/api/model/facebookPageBio.ts @@ -5,4 +5,4 @@ * OpenAPI spec version: 0.1.0 */ -export type ClinicResponseUrl = string | null; +export type FacebookPageBio = string | null; diff --git a/src/shared/api/model/facebookPageCategory.ts b/src/shared/api/model/facebookPageCategory.ts new file mode 100644 index 0000000..89ad68f --- /dev/null +++ b/src/shared/api/model/facebookPageCategory.ts @@ -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; diff --git a/src/shared/api/model/facebookPageFollowers.ts b/src/shared/api/model/facebookPageFollowers.ts new file mode 100644 index 0000000..209c6c9 --- /dev/null +++ b/src/shared/api/model/facebookPageFollowers.ts @@ -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; diff --git a/src/shared/api/model/facebookPageFollowing.ts b/src/shared/api/model/facebookPageFollowing.ts new file mode 100644 index 0000000..b68c683 --- /dev/null +++ b/src/shared/api/model/facebookPageFollowing.ts @@ -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; diff --git a/src/shared/api/model/facebookPageHasWhatsapp.ts b/src/shared/api/model/facebookPageHasWhatsapp.ts new file mode 100644 index 0000000..31125c0 --- /dev/null +++ b/src/shared/api/model/facebookPageHasWhatsapp.ts @@ -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; diff --git a/src/shared/api/model/facebookPageLabel.ts b/src/shared/api/model/facebookPageLabel.ts new file mode 100644 index 0000000..37ebb07 --- /dev/null +++ b/src/shared/api/model/facebookPageLabel.ts @@ -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; diff --git a/src/shared/api/model/facebookPageLanguage.ts b/src/shared/api/model/facebookPageLanguage.ts new file mode 100644 index 0000000..6e75973 --- /dev/null +++ b/src/shared/api/model/facebookPageLanguage.ts @@ -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; diff --git a/src/shared/api/model/facebookPageLink.ts b/src/shared/api/model/facebookPageLink.ts new file mode 100644 index 0000000..663fd33 --- /dev/null +++ b/src/shared/api/model/facebookPageLink.ts @@ -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; diff --git a/src/shared/api/model/facebookPageLinkedDomain.ts b/src/shared/api/model/facebookPageLinkedDomain.ts new file mode 100644 index 0000000..7e2c751 --- /dev/null +++ b/src/shared/api/model/facebookPageLinkedDomain.ts @@ -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; diff --git a/src/shared/api/model/facebookPageLogo.ts b/src/shared/api/model/facebookPageLogo.ts new file mode 100644 index 0000000..efb882f --- /dev/null +++ b/src/shared/api/model/facebookPageLogo.ts @@ -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; diff --git a/src/shared/api/model/facebookPageLogoDescription.ts b/src/shared/api/model/facebookPageLogoDescription.ts new file mode 100644 index 0000000..41f7110 --- /dev/null +++ b/src/shared/api/model/facebookPageLogoDescription.ts @@ -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; diff --git a/src/shared/api/model/facebookPagePageName.ts b/src/shared/api/model/facebookPagePageName.ts new file mode 100644 index 0000000..f48ada5 --- /dev/null +++ b/src/shared/api/model/facebookPagePageName.ts @@ -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; diff --git a/src/shared/api/model/facebookPageRecentPostAge.ts b/src/shared/api/model/facebookPageRecentPostAge.ts new file mode 100644 index 0000000..a560c48 --- /dev/null +++ b/src/shared/api/model/facebookPageRecentPostAge.ts @@ -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; diff --git a/src/shared/api/model/facebookPageReviews.ts b/src/shared/api/model/facebookPageReviews.ts new file mode 100644 index 0000000..8609504 --- /dev/null +++ b/src/shared/api/model/facebookPageReviews.ts @@ -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; diff --git a/src/shared/api/model/facebookPageUrl.ts b/src/shared/api/model/facebookPageUrl.ts new file mode 100644 index 0000000..4bd8ee5 --- /dev/null +++ b/src/shared/api/model/facebookPageUrl.ts @@ -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; diff --git a/src/shared/api/model/index.ts b/src/shared/api/model/index.ts index 9b6b596..56972e4 100644 --- a/src/shared/api/model/index.ts +++ b/src/shared/api/model/index.ts @@ -61,15 +61,21 @@ export * from './clinicHistoryResponse'; export * from './clinicHistoryResponseMetricsTimeseries'; 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 './clinicSnapshotDomain'; +export * from './clinicSnapshotLeadDoctor'; +export * from './clinicSnapshotLocation'; export * from './clinicSnapshotLogoImages'; +export * from './clinicSnapshotName'; +export * from './clinicSnapshotNameEn'; +export * from './clinicSnapshotOverallRating'; +export * from './clinicSnapshotPhone'; export * from './clinicSnapshotRegistryData'; export * from './clinicSnapshotSource'; +export * from './clinicSnapshotStaffCount'; +export * from './clinicSnapshotTotalReviews'; export * from './colorSwatch'; export * from './contentCountSummary'; export * from './contentCountSummaryType'; @@ -81,10 +87,26 @@ export * from './diagnosisItem'; export * from './diagnosisItemEvidenceIds'; export * from './estimatedRevenue'; export * from './facebookAudit'; +export * from './facebookAuditConsolidationRecommendation'; export * from './facebookPage'; +export * from './facebookPageBio'; +export * from './facebookPageCategory'; 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 './facebookPageRecentPostAge'; +export * from './facebookPageReviews'; export * from './facebookPageTopContentType'; +export * from './facebookPageUrl'; export * from './fileListItem'; export * from './fileListItemSizeBytes'; export * from './fileType'; @@ -93,6 +115,18 @@ export * from './fileUploadResponseSizeBytes'; export * from './fontSpec'; export * from './hTTPValidationError'; 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 './kPIMetric'; export * from './language'; @@ -115,7 +149,6 @@ export * from './planApiResponseClinicName'; export * from './planApiResponseClinicNameEn'; export * from './planApiResponseRepurposingProposals'; export * from './platformStrategy'; -export * from './priceRange'; export * from './registryData'; export * from './registryDataBranches'; export * from './registryDataBrandGroup'; @@ -159,5 +192,16 @@ export * from './websiteAuditSnsLinksDetail'; export * from './weeklyViewGrowth'; export * from './workflowStep'; 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 './youTubeRepurposeItemType'; \ No newline at end of file diff --git a/src/shared/api/model/instagramAccount.ts b/src/shared/api/model/instagramAccount.ts index 44cf3c4..f72f48f 100644 --- a/src/shared/api/model/instagramAccount.ts +++ b/src/shared/api/model/instagramAccount.ts @@ -4,20 +4,31 @@ * FastAPI * 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 { - 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; + handle?: InstagramAccountHandle; + language?: InstagramAccountLanguage; + label?: InstagramAccountLabel; + posts?: InstagramAccountPosts; + followers?: InstagramAccountFollowers; + following?: InstagramAccountFollowing; + category?: InstagramAccountCategory; + profileLink?: InstagramAccountProfileLink; + highlights?: string[]; + reelsCount?: InstagramAccountReelsCount; + contentFormat?: InstagramAccountContentFormat; + profilePhoto?: InstagramAccountProfilePhoto; + bio?: InstagramAccountBio; } diff --git a/src/shared/api/model/instagramAccountBio.ts b/src/shared/api/model/instagramAccountBio.ts new file mode 100644 index 0000000..5469734 --- /dev/null +++ b/src/shared/api/model/instagramAccountBio.ts @@ -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; diff --git a/src/shared/api/model/instagramAccountCategory.ts b/src/shared/api/model/instagramAccountCategory.ts new file mode 100644 index 0000000..822a7de --- /dev/null +++ b/src/shared/api/model/instagramAccountCategory.ts @@ -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; diff --git a/src/shared/api/model/instagramAccountContentFormat.ts b/src/shared/api/model/instagramAccountContentFormat.ts new file mode 100644 index 0000000..b6c07b2 --- /dev/null +++ b/src/shared/api/model/instagramAccountContentFormat.ts @@ -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; diff --git a/src/shared/api/model/instagramAccountFollowers.ts b/src/shared/api/model/instagramAccountFollowers.ts new file mode 100644 index 0000000..c9fe729 --- /dev/null +++ b/src/shared/api/model/instagramAccountFollowers.ts @@ -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; diff --git a/src/shared/api/model/instagramAccountFollowing.ts b/src/shared/api/model/instagramAccountFollowing.ts new file mode 100644 index 0000000..c75096b --- /dev/null +++ b/src/shared/api/model/instagramAccountFollowing.ts @@ -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; diff --git a/src/shared/api/model/instagramAccountHandle.ts b/src/shared/api/model/instagramAccountHandle.ts new file mode 100644 index 0000000..99eb1d4 --- /dev/null +++ b/src/shared/api/model/instagramAccountHandle.ts @@ -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; diff --git a/src/shared/api/model/instagramAccountLabel.ts b/src/shared/api/model/instagramAccountLabel.ts new file mode 100644 index 0000000..5132f38 --- /dev/null +++ b/src/shared/api/model/instagramAccountLabel.ts @@ -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; diff --git a/src/shared/api/model/instagramAccountLanguage.ts b/src/shared/api/model/instagramAccountLanguage.ts new file mode 100644 index 0000000..53936e4 --- /dev/null +++ b/src/shared/api/model/instagramAccountLanguage.ts @@ -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; diff --git a/src/shared/api/model/instagramAccountPosts.ts b/src/shared/api/model/instagramAccountPosts.ts new file mode 100644 index 0000000..d3bbaa0 --- /dev/null +++ b/src/shared/api/model/instagramAccountPosts.ts @@ -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; diff --git a/src/shared/api/model/instagramAccountProfileLink.ts b/src/shared/api/model/instagramAccountProfileLink.ts new file mode 100644 index 0000000..1eb98f5 --- /dev/null +++ b/src/shared/api/model/instagramAccountProfileLink.ts @@ -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; diff --git a/src/shared/api/model/instagramAccountProfilePhoto.ts b/src/shared/api/model/instagramAccountProfilePhoto.ts new file mode 100644 index 0000000..2de1419 --- /dev/null +++ b/src/shared/api/model/instagramAccountProfilePhoto.ts @@ -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; diff --git a/src/shared/api/model/instagramAccountReelsCount.ts b/src/shared/api/model/instagramAccountReelsCount.ts new file mode 100644 index 0000000..458aa5e --- /dev/null +++ b/src/shared/api/model/instagramAccountReelsCount.ts @@ -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; diff --git a/src/shared/api/model/instagramAudit.ts b/src/shared/api/model/instagramAudit.ts index 863d71e..543431a 100644 --- a/src/shared/api/model/instagramAudit.ts +++ b/src/shared/api/model/instagramAudit.ts @@ -8,6 +8,6 @@ import type { InstagramAccount } from './instagramAccount'; import type { DiagnosisItem } from './diagnosisItem'; export interface InstagramAudit { - accounts: InstagramAccount[]; - diagnosis: DiagnosisItem[]; + accounts?: InstagramAccount[]; + diagnosis?: DiagnosisItem[]; } diff --git a/src/shared/api/model/language.ts b/src/shared/api/model/language.ts index 7cd3854..7f96e83 100644 --- a/src/shared/api/model/language.ts +++ b/src/shared/api/model/language.ts @@ -12,4 +12,5 @@ export type Language = typeof Language[keyof typeof Language]; export const Language = { KR: 'KR', EN: 'EN', + WW: 'WW', } as const; diff --git a/src/shared/api/model/youTubeAudit.ts b/src/shared/api/model/youTubeAudit.ts index 6633095..9f96a28 100644 --- a/src/shared/api/model/youTubeAudit.ts +++ b/src/shared/api/model/youTubeAudit.ts @@ -4,27 +4,35 @@ * FastAPI * OpenAPI spec version: 0.1.0 */ -import type { WeeklyViewGrowth } from './weeklyViewGrowth'; -import type { EstimatedRevenue } from './estimatedRevenue'; +import type { YouTubeAuditChannelName } from './youTubeAuditChannelName'; +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 { 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[]; + channelName?: YouTubeAuditChannelName; + handle?: YouTubeAuditHandle; + subscribers?: YouTubeAuditSubscribers; + totalVideos?: YouTubeAuditTotalVideos; + totalViews?: YouTubeAuditTotalViews; + weeklyViewGrowth?: YouTubeAuditWeeklyViewGrowth; + estimatedMonthlyRevenue?: YouTubeAuditEstimatedMonthlyRevenue; + avgVideoLength?: YouTubeAuditAvgVideoLength; + uploadFrequency?: YouTubeAuditUploadFrequency; + channelCreatedDate?: YouTubeAuditChannelCreatedDate; + channelDescription?: YouTubeAuditChannelDescription; + linkedUrls?: LinkedUrl[]; + playlists?: string[]; + topVideos?: TopVideo[]; + diagnosis?: DiagnosisItem[]; } diff --git a/src/shared/api/model/youTubeAuditAvgVideoLength.ts b/src/shared/api/model/youTubeAuditAvgVideoLength.ts new file mode 100644 index 0000000..a37804c --- /dev/null +++ b/src/shared/api/model/youTubeAuditAvgVideoLength.ts @@ -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; diff --git a/src/shared/api/model/youTubeAuditChannelCreatedDate.ts b/src/shared/api/model/youTubeAuditChannelCreatedDate.ts new file mode 100644 index 0000000..2dafabf --- /dev/null +++ b/src/shared/api/model/youTubeAuditChannelCreatedDate.ts @@ -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; diff --git a/src/shared/api/model/youTubeAuditChannelDescription.ts b/src/shared/api/model/youTubeAuditChannelDescription.ts new file mode 100644 index 0000000..322fd61 --- /dev/null +++ b/src/shared/api/model/youTubeAuditChannelDescription.ts @@ -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; diff --git a/src/shared/api/model/youTubeAuditChannelName.ts b/src/shared/api/model/youTubeAuditChannelName.ts new file mode 100644 index 0000000..5a22e1b --- /dev/null +++ b/src/shared/api/model/youTubeAuditChannelName.ts @@ -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; diff --git a/src/shared/api/model/youTubeAuditEstimatedMonthlyRevenue.ts b/src/shared/api/model/youTubeAuditEstimatedMonthlyRevenue.ts new file mode 100644 index 0000000..647ee3b --- /dev/null +++ b/src/shared/api/model/youTubeAuditEstimatedMonthlyRevenue.ts @@ -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; diff --git a/src/shared/api/model/youTubeAuditHandle.ts b/src/shared/api/model/youTubeAuditHandle.ts new file mode 100644 index 0000000..9716930 --- /dev/null +++ b/src/shared/api/model/youTubeAuditHandle.ts @@ -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; diff --git a/src/shared/api/model/youTubeAuditSubscribers.ts b/src/shared/api/model/youTubeAuditSubscribers.ts new file mode 100644 index 0000000..dc29295 --- /dev/null +++ b/src/shared/api/model/youTubeAuditSubscribers.ts @@ -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; diff --git a/src/shared/api/model/youTubeAuditTotalVideos.ts b/src/shared/api/model/youTubeAuditTotalVideos.ts new file mode 100644 index 0000000..d6f7b62 --- /dev/null +++ b/src/shared/api/model/youTubeAuditTotalVideos.ts @@ -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; diff --git a/src/shared/api/model/youTubeAuditTotalViews.ts b/src/shared/api/model/youTubeAuditTotalViews.ts new file mode 100644 index 0000000..e7fcd75 --- /dev/null +++ b/src/shared/api/model/youTubeAuditTotalViews.ts @@ -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; diff --git a/src/shared/api/model/youTubeAuditUploadFrequency.ts b/src/shared/api/model/youTubeAuditUploadFrequency.ts new file mode 100644 index 0000000..c67e1e2 --- /dev/null +++ b/src/shared/api/model/youTubeAuditUploadFrequency.ts @@ -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; diff --git a/src/shared/api/model/youTubeAuditWeeklyViewGrowth.ts b/src/shared/api/model/youTubeAuditWeeklyViewGrowth.ts new file mode 100644 index 0000000..e1bcf49 --- /dev/null +++ b/src/shared/api/model/youTubeAuditWeeklyViewGrowth.ts @@ -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;