이름: solution/front → solution/frontend
`backend` 옆에 `front` 가 있을 이유가 없었다. negosium 의 negodata/front 를 그대로 베꼈고 그게 왜 front 인지는 따져보지 않았다 — 근거 없이 들여온 이름이라 바로잡는다. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019uYhHQdssRubirPirrdJJC
This commit is contained in:
1 parent
06f6438d9b
commit
c85c577349
480 files changed
+22
-22
No files matched your search
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
import type { AuditCheckDataRecommendation } from './auditCheckDataRecommendation';
|
||||
|
||||
export interface AuditCheckData {
|
||||
id: string;
|
||||
group: string;
|
||||
label: string;
|
||||
points: number;
|
||||
earned: number;
|
||||
status: string;
|
||||
detail: string;
|
||||
recommendation?: AuditCheckDataRecommendation;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type AuditCheckDataRecommendation = string | null;
|
||||
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* site_versions.build_status 코드값. 정적 빌드는 개별 재빌드 단위로 돈다.
|
||||
*/
|
||||
export type BuildStatus = typeof BuildStatus[keyof typeof BuildStatus];
|
||||
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const BuildStatus = {
|
||||
PENDING: 1,
|
||||
BUILDING: 2,
|
||||
BUILT: 3,
|
||||
FAILED: 4,
|
||||
} as const;
|
||||
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type CheckSlugParams = {
|
||||
/**
|
||||
* 쓰고 싶은 주소(예: doflo)
|
||||
*/
|
||||
slug: string;
|
||||
};
|
||||
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export interface CompanyData {
|
||||
company_id?: string;
|
||||
name?: string;
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
import type { ErrorInfoSuccess } from './errorInfoSuccess';
|
||||
import type { ErrorInfoCode } from './errorInfoCode';
|
||||
import type { ErrorInfoDesc } from './errorInfoDesc';
|
||||
|
||||
/**
|
||||
* 모든 응답에 공통으로 실리는 결과 정보. result.success / code / desc 로 내려간다.
|
||||
*/
|
||||
export interface ErrorInfo {
|
||||
success?: ErrorInfoSuccess;
|
||||
code?: ErrorInfoCode;
|
||||
desc?: ErrorInfoDesc;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type ErrorInfoCode = number | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type ErrorInfoDesc = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type ErrorInfoSuccess = boolean | null;
|
||||
@@ -0,0 +1,21 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* places.external_source 코드값. 동일 업소 검증에 쓴 외부 장소 DB.
|
||||
|
||||
카카오는 안정적인 고유 place id 를 준다 → 그걸로 중복 등록을 막는다.
|
||||
네이버는 고유 id 가 없다(응답의 link 는 업체 홈페이지다) → 상호명+도로명주소로 막는다.
|
||||
*/
|
||||
export type ExternalPlaceSource = typeof ExternalPlaceSource[keyof typeof ExternalPlaceSource];
|
||||
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const ExternalPlaceSource = {
|
||||
KAKAO: 1,
|
||||
NAVER: 2,
|
||||
} as const;
|
||||
@@ -0,0 +1,32 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
import type { FactDataUnitId } from './factDataUnitId';
|
||||
import type { FactDataValue } from './factDataValue';
|
||||
import type { FactDataUnit } from './factDataUnit';
|
||||
import type { SourceType } from './sourceType';
|
||||
import type { FactDataSourceUrl } from './factDataSourceUrl';
|
||||
import type { FactDataCollectedAt } from './factDataCollectedAt';
|
||||
import type { FactDataVerifiedBy } from './factDataVerifiedBy';
|
||||
import type { FactDataVerifiedAt } from './factDataVerifiedAt';
|
||||
import type { FactStatus } from './factStatus';
|
||||
import type { FactDataExpiresAt } from './factDataExpiresAt';
|
||||
|
||||
export interface FactData {
|
||||
fact_id: string;
|
||||
place_id: string;
|
||||
unit_id?: FactDataUnitId;
|
||||
key: string;
|
||||
value?: FactDataValue;
|
||||
unit?: FactDataUnit;
|
||||
source_type: SourceType;
|
||||
source_url?: FactDataSourceUrl;
|
||||
collected_at?: FactDataCollectedAt;
|
||||
verified_by?: FactDataVerifiedBy;
|
||||
verified_at?: FactDataVerifiedAt;
|
||||
status: FactStatus;
|
||||
expires_at?: FactDataExpiresAt;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type FactDataCollectedAt = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type FactDataExpiresAt = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type FactDataSourceUrl = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type FactDataUnit = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type FactDataUnitId = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type FactDataValue = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type FactDataVerifiedAt = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type FactDataVerifiedBy = string | null;
|
||||
@@ -0,0 +1,23 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* facts.status / faqs.status / routes.status 공용 검증 상태.
|
||||
★ VERIFIED 와 CORRECTED 만 사이트에 노출한다(PUBLISHABLE_FACT_STATUSES).
|
||||
*/
|
||||
export type FactStatus = typeof FactStatus[keyof typeof FactStatus];
|
||||
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const FactStatus = {
|
||||
UNVERIFIED: 1,
|
||||
PENDING_OWNER: 2,
|
||||
VERIFIED: 3,
|
||||
CORRECTED: 4,
|
||||
REJECTED: 5,
|
||||
EXPIRED: 6,
|
||||
} as const;
|
||||
@@ -0,0 +1,22 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* fact 기록 결과. 재수집(업데이트)이 무엇을 했는지 호출측이 알아야 한다 —
|
||||
특히 사이트 재빌드가 필요한 경우(PUBLISHED_REPLACED)를 구분해야 한다.
|
||||
*/
|
||||
export type FactWriteOutcome = typeof FactWriteOutcome[keyof typeof FactWriteOutcome];
|
||||
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const FactWriteOutcome = {
|
||||
PUBLISHED_CREATED: 1,
|
||||
PUBLISHED_REPLACED: 2,
|
||||
REFRESHED: 3,
|
||||
CANDIDATE_CREATED: 4,
|
||||
CANDIDATE_UPDATED: 5,
|
||||
} as const;
|
||||
@@ -0,0 +1,24 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
import type { FaqDataSourceFactIds } from './faqDataSourceFactIds';
|
||||
import type { SourceType } from './sourceType';
|
||||
import type { FactStatus } from './factStatus';
|
||||
import type { FaqDataCreatedAt } from './faqDataCreatedAt';
|
||||
import type { FaqDataUpdatedAt } from './faqDataUpdatedAt';
|
||||
|
||||
export interface FaqData {
|
||||
faq_id: string;
|
||||
place_id: string;
|
||||
question: string;
|
||||
answer: string;
|
||||
source_fact_ids?: FaqDataSourceFactIds;
|
||||
generated_by: SourceType;
|
||||
status: FactStatus;
|
||||
sort_order?: number;
|
||||
created_at?: FaqDataCreatedAt;
|
||||
updated_at?: FaqDataUpdatedAt;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type FaqDataCreatedAt = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type FaqDataSourceFactIds = string[] | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type FaqDataUpdatedAt = string | null;
|
||||
@@ -0,0 +1,21 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
import type { FieldSpecDataUnit } from './fieldSpecDataUnit';
|
||||
|
||||
/**
|
||||
* 업종 스키마의 필드 정의 — 관리 화면이 입력 폼을 그리는 데 쓴다.
|
||||
*/
|
||||
export interface FieldSpecData {
|
||||
key: string;
|
||||
label: string;
|
||||
type: string;
|
||||
scope: string;
|
||||
required: boolean;
|
||||
critical: boolean;
|
||||
allow_llm: boolean;
|
||||
unit?: FieldSpecDataUnit;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type FieldSpecDataUnit = string | null;
|
||||
@@ -0,0 +1,24 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type GetWeatherParams = {
|
||||
/**
|
||||
* @minLength 1
|
||||
* @maxLength 10
|
||||
*/
|
||||
region_code: string;
|
||||
/**
|
||||
* @minimum -90
|
||||
* @maximum 90
|
||||
*/
|
||||
latitude: number;
|
||||
/**
|
||||
* @minimum -180
|
||||
* @maximum 180
|
||||
*/
|
||||
longitude: number;
|
||||
};
|
||||
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
import type { ValidationError } from './validationError';
|
||||
|
||||
export interface HTTPValidationError {
|
||||
detail?: ValidationError[];
|
||||
}
|
||||
@@ -0,0 +1,292 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export * from './auditCheckData';
|
||||
export * from './auditCheckDataRecommendation';
|
||||
export * from './buildStatus';
|
||||
export * from './checkSlugParams';
|
||||
export * from './companyData';
|
||||
export * from './errorInfo';
|
||||
export * from './errorInfoCode';
|
||||
export * from './errorInfoDesc';
|
||||
export * from './errorInfoSuccess';
|
||||
export * from './externalPlaceSource';
|
||||
export * from './factData';
|
||||
export * from './factDataCollectedAt';
|
||||
export * from './factDataExpiresAt';
|
||||
export * from './factDataSourceUrl';
|
||||
export * from './factDataUnit';
|
||||
export * from './factDataUnitId';
|
||||
export * from './factDataValue';
|
||||
export * from './factDataVerifiedAt';
|
||||
export * from './factDataVerifiedBy';
|
||||
export * from './factStatus';
|
||||
export * from './factWriteOutcome';
|
||||
export * from './faqData';
|
||||
export * from './faqDataCreatedAt';
|
||||
export * from './faqDataSourceFactIds';
|
||||
export * from './faqDataUpdatedAt';
|
||||
export * from './fieldSpecData';
|
||||
export * from './fieldSpecDataUnit';
|
||||
export * from './getWeatherParams';
|
||||
export * from './hTTPValidationError';
|
||||
export * from './jobData';
|
||||
export * from './jobDataCreatedAt';
|
||||
export * from './jobDataLastError';
|
||||
export * from './jobDataResult';
|
||||
export * from './jobDataRunAfter';
|
||||
export * from './jobDataRunStartedAt';
|
||||
export * from './jobDataUpdatedAt';
|
||||
export * from './jobStatus';
|
||||
export * from './jobType';
|
||||
export * from './linkChannel';
|
||||
export * from './linkData';
|
||||
export * from './linkDataConfirmedAt';
|
||||
export * from './linkDataDiscoveredAt';
|
||||
export * from './linkDataTitle';
|
||||
export * from './listContentsParams';
|
||||
export * from './listFactsParams';
|
||||
export * from './listFaqsParams';
|
||||
export * from './listLinksParams';
|
||||
export * from './listMediaParams';
|
||||
export * from './listPlacesParams';
|
||||
export * from './localContentData';
|
||||
export * from './localContentDataBody';
|
||||
export * from './localContentDataCollectedAt';
|
||||
export * from './localContentDataDisplayEndAt';
|
||||
export * from './localContentDataDisplayStartAt';
|
||||
export * from './localContentDataExternalId';
|
||||
export * from './localContentDataPublishedAt';
|
||||
export * from './localContentDataTitle';
|
||||
export * from './localContentStatus';
|
||||
export * from './localContentType';
|
||||
export * from './localSource';
|
||||
export * from './mediaData';
|
||||
export * from './mediaDataAltText';
|
||||
export * from './mediaDataCreatedAt';
|
||||
export * from './mediaDataHeight';
|
||||
export * from './mediaDataLabel';
|
||||
export * from './mediaDataOriginUrl';
|
||||
export * from './mediaDataSourceUrl';
|
||||
export * from './mediaDataUnitId';
|
||||
export * from './mediaDataVisionConfidence';
|
||||
export * from './mediaDataWidth';
|
||||
export * from './mediaStatus';
|
||||
export * from './placeCandidate';
|
||||
export * from './placeCandidateAddress';
|
||||
export * from './placeCandidateCategoryName';
|
||||
export * from './placeCandidateExternalPlaceId';
|
||||
export * from './placeCandidateLatitude';
|
||||
export * from './placeCandidateLongitude';
|
||||
export * from './placeCandidateNaverPlaceUrl';
|
||||
export * from './placeCandidatePhone';
|
||||
export * from './placeCandidatePlaceUrl';
|
||||
export * from './placeCandidateRoadAddress';
|
||||
export * from './placeCategory';
|
||||
export * from './placeData';
|
||||
export * from './placeDataAddress';
|
||||
export * from './placeDataContentUpdatedAt';
|
||||
export * from './placeDataCreatedAt';
|
||||
export * from './placeDataExternalPlaceId';
|
||||
export * from './placeDataExternalSource';
|
||||
export * from './placeDataLatitude';
|
||||
export * from './placeDataLongitude';
|
||||
export * from './placeDataOwnerUserId';
|
||||
export * from './placeDataPhone';
|
||||
export * from './placeDataRegionCode';
|
||||
export * from './placeDataRoadAddress';
|
||||
export * from './placeDataVerifiedAt';
|
||||
export * from './placeStatus';
|
||||
export * from './publishAction';
|
||||
export * from './publishLogData';
|
||||
export * from './publishLogDataCreatedAt';
|
||||
export * from './publishLogDataDetail';
|
||||
export * from './publishLogDataRejectReason';
|
||||
export * from './publishRejectReason';
|
||||
export * from './publishResult';
|
||||
export * from './renderStatusData';
|
||||
export * from './renderStatusDataError';
|
||||
export * from './renderStatusDataRenderedAt';
|
||||
export * from './renderStatusDataRenderedVersion';
|
||||
export * from './reqCreateFaq';
|
||||
export * from './reqCreateFaqSortOrder';
|
||||
export * from './reqCreateLink';
|
||||
export * from './reqCreateLinkTitle';
|
||||
export * from './reqCreatePlace';
|
||||
export * from './reqCreatePlaceOwnerUserId';
|
||||
export * from './reqCreateUnit';
|
||||
export * from './reqExtractFacts';
|
||||
export * from './reqLogin';
|
||||
export * from './reqPublishLocalContent';
|
||||
export * from './reqSiteSlug';
|
||||
export * from './reqSiteStatus';
|
||||
export * from './reqSiteTemplate';
|
||||
export * from './reqSiteTheme';
|
||||
export * from './reqSiteThemeTheme';
|
||||
export * from './reqStartBuild';
|
||||
export * from './reqStartCollect';
|
||||
export * from './reqStartCopy';
|
||||
export * from './reqStartVision';
|
||||
export * from './reqSyncFestivals';
|
||||
export * from './reqSyncFestivalsAreaCode';
|
||||
export * from './reqSyncFestivalsStartDate';
|
||||
export * from './reqTransitionFact';
|
||||
export * from './reqTransitionFactValue';
|
||||
export * from './reqTransitionFaq';
|
||||
export * from './reqTransitionFaqAnswer';
|
||||
export * from './reqTransitionFaqQuestion';
|
||||
export * from './reqUpdateLocalContent';
|
||||
export * from './reqUpdateLocalContentBody';
|
||||
export * from './reqUpdateLocalContentBodyAnyOf';
|
||||
export * from './reqUpdateLocalContentDisplayEndAt';
|
||||
export * from './reqUpdateLocalContentDisplayStartAt';
|
||||
export * from './reqUpdateLocalContentTitle';
|
||||
export * from './reqUpdateMe';
|
||||
export * from './reqUpdateMeContactNumber';
|
||||
export * from './reqUpdateMeEmail';
|
||||
export * from './reqUpdateMeName';
|
||||
export * from './reqUpdateMePassword';
|
||||
export * from './reqUpdatePlace';
|
||||
export * from './reqUpdatePlaceName';
|
||||
export * from './reqUpdatePlaceOwnerUserId';
|
||||
export * from './reqUpdatePlaceStatus';
|
||||
export * from './reqUpsertFact';
|
||||
export * from './reqUpsertFactExpiresAt';
|
||||
export * from './reqUpsertFactSourceUrl';
|
||||
export * from './reqUpsertFactUnitId';
|
||||
export * from './reqUpsertFactValue';
|
||||
export * from './reqVerifyPlace';
|
||||
export * from './reqVerifyPlaceAddress';
|
||||
export * from './reqVerifyPlaceByUrl';
|
||||
export * from './reqVerifyPlaceLatitude';
|
||||
export * from './reqVerifyPlaceLongitude';
|
||||
export * from './reqVerifyPlacePhone';
|
||||
export * from './reqVerifyPlacePlaceUrl';
|
||||
export * from './reqVerifyPlaceRegionCode';
|
||||
export * from './reqVerifyPlaceRoadAddress';
|
||||
export * from './resCategorySchema';
|
||||
export * from './resCategorySchemaCategory';
|
||||
export * from './resCategorySchemaLabel';
|
||||
export * from './resCategorySchemaMsg';
|
||||
export * from './resExtractFacts';
|
||||
export * from './resExtractFactsMsg';
|
||||
export * from './resExtractedFact';
|
||||
export * from './resExtractedFactReason';
|
||||
export * from './resExtractedFactUnitName';
|
||||
export * from './resFact';
|
||||
export * from './resFactFact';
|
||||
export * from './resFactList';
|
||||
export * from './resFactListMsg';
|
||||
export * from './resFactMsg';
|
||||
export * from './resFactOutcome';
|
||||
export * from './resFaq';
|
||||
export * from './resFaqFaq';
|
||||
export * from './resFaqList';
|
||||
export * from './resFaqListMsg';
|
||||
export * from './resFaqMsg';
|
||||
export * from './resJob';
|
||||
export * from './resJobJob';
|
||||
export * from './resJobMsg';
|
||||
export * from './resJobOps';
|
||||
export * from './resJobOpsMsg';
|
||||
export * from './resLink';
|
||||
export * from './resLinkLink';
|
||||
export * from './resLinkList';
|
||||
export * from './resLinkListMsg';
|
||||
export * from './resLinkMsg';
|
||||
export * from './resLocalContentList';
|
||||
export * from './resLocalContentListMsg';
|
||||
export * from './resLogin';
|
||||
export * from './resLoginMsg';
|
||||
export * from './resMe';
|
||||
export * from './resMeCompany';
|
||||
export * from './resMeContactNumber';
|
||||
export * from './resMeEmail';
|
||||
export * from './resMeMsg';
|
||||
export * from './resMeName';
|
||||
export * from './resMediaList';
|
||||
export * from './resMediaListMsg';
|
||||
export * from './resPlace';
|
||||
export * from './resPlaceList';
|
||||
export * from './resPlaceListMsg';
|
||||
export * from './resPlaceMsg';
|
||||
export * from './resPlacePlace';
|
||||
export * from './resPublishLogs';
|
||||
export * from './resPublishLogsMsg';
|
||||
export * from './resRefreshToken';
|
||||
export * from './resRefreshTokenMsg';
|
||||
export * from './resSeoAudit';
|
||||
export * from './resSeoAuditMsg';
|
||||
export * from './resSeoAuditSummary';
|
||||
export * from './resSeoAuditVisibility';
|
||||
export * from './resSite';
|
||||
export * from './resSiteCurrentVersion';
|
||||
export * from './resSiteMsg';
|
||||
export * from './resSiteSite';
|
||||
export * from './resSiteSlug';
|
||||
export * from './resSiteSlugMsg';
|
||||
export * from './resSiteSlugReason';
|
||||
export * from './resSiteSlugSite';
|
||||
export * from './resSiteSlugSuggestion';
|
||||
export * from './resSiteVersions';
|
||||
export * from './resSiteVersionsMsg';
|
||||
export * from './resSlugCheck';
|
||||
export * from './resSlugCheckMsg';
|
||||
export * from './resSlugCheckReason';
|
||||
export * from './resSlugCheckSuggestion';
|
||||
export * from './resStartBuild';
|
||||
export * from './resStartBuildJobId';
|
||||
export * from './resStartBuildMsg';
|
||||
export * from './resStartBuildStatus';
|
||||
export * from './resStartCollect';
|
||||
export * from './resStartCollectJobId';
|
||||
export * from './resStartCollectMsg';
|
||||
export * from './resStartCollectStatus';
|
||||
export * from './resStartCopy';
|
||||
export * from './resStartCopyJobId';
|
||||
export * from './resStartCopyMsg';
|
||||
export * from './resStartCopyStatus';
|
||||
export * from './resStartVision';
|
||||
export * from './resStartVisionJobId';
|
||||
export * from './resStartVisionMsg';
|
||||
export * from './resStartVisionStatus';
|
||||
export * from './resSyncFestivals';
|
||||
export * from './resSyncFestivalsMsg';
|
||||
export * from './resUnit';
|
||||
export * from './resUnitList';
|
||||
export * from './resUnitListMsg';
|
||||
export * from './resUnitMsg';
|
||||
export * from './resUnitUnit';
|
||||
export * from './resVerifyCandidates';
|
||||
export * from './resVerifyCandidatesMsg';
|
||||
export * from './resVerifyCandidatesReason';
|
||||
export * from './resVerifyCandidatesSource';
|
||||
export * from './resWeather';
|
||||
export * from './resWeatherMsg';
|
||||
export * from './resWeatherWeather';
|
||||
export * from './siteData';
|
||||
export * from './siteDataCurrentVersionId';
|
||||
export * from './siteDataDomain';
|
||||
export * from './siteDataPublishedAt';
|
||||
export * from './siteDataTemplateId';
|
||||
export * from './siteDataTheme';
|
||||
export * from './siteDataThemeAnyOf';
|
||||
export * from './siteStatus';
|
||||
export * from './siteVersionData';
|
||||
export * from './siteVersionDataBuildError';
|
||||
export * from './siteVersionDataBuiltAt';
|
||||
export * from './siteVersionDataCreatedAt';
|
||||
export * from './sourceType';
|
||||
export * from './unitData';
|
||||
export * from './userRole';
|
||||
export * from './validationError';
|
||||
export * from './validationErrorCtx';
|
||||
export * from './validationErrorLocItem';
|
||||
export * from './verifyCandidatesParams';
|
||||
export * from './weatherData';
|
||||
export * from './weatherDataTimezone';
|
||||
export * from './weatherDataWindSpeed';
|
||||
@@ -0,0 +1,28 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
import type { JobType } from './jobType';
|
||||
import type { JobStatus } from './jobStatus';
|
||||
import type { JobDataResult } from './jobDataResult';
|
||||
import type { JobDataLastError } from './jobDataLastError';
|
||||
import type { JobDataRunAfter } from './jobDataRunAfter';
|
||||
import type { JobDataRunStartedAt } from './jobDataRunStartedAt';
|
||||
import type { JobDataCreatedAt } from './jobDataCreatedAt';
|
||||
import type { JobDataUpdatedAt } from './jobDataUpdatedAt';
|
||||
|
||||
export interface JobData {
|
||||
job_id: string;
|
||||
job_type: JobType;
|
||||
status: JobStatus;
|
||||
attempts?: number;
|
||||
max_attempts?: number;
|
||||
result?: JobDataResult;
|
||||
last_error?: JobDataLastError;
|
||||
run_after?: JobDataRunAfter;
|
||||
run_started_at?: JobDataRunStartedAt;
|
||||
created_at?: JobDataCreatedAt;
|
||||
updated_at?: JobDataUpdatedAt;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type JobDataCreatedAt = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type JobDataLastError = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type JobDataResult = unknown | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type JobDataRunAfter = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type JobDataRunStartedAt = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type JobDataUpdatedAt = string | null;
|
||||
@@ -0,0 +1,23 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* jobs.status 코드값. 작업 큐 상태.
|
||||
|
||||
전이는 전부 조건부 원자 UPDATE(CAS)로만 한다. 실패는 재시도 가능하면
|
||||
PENDING(run_after=백오프)으로 되돌리고, 소진되면 DEAD(dead-letter).
|
||||
*/
|
||||
export type JobStatus = typeof JobStatus[keyof typeof JobStatus];
|
||||
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const JobStatus = {
|
||||
PENDING: 1,
|
||||
RUNNING: 2,
|
||||
DONE: 3,
|
||||
DEAD: 4,
|
||||
} as const;
|
||||
@@ -0,0 +1,25 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* jobs.job_type 코드값. 수집·비전·빌드는 몇 분씩 걸려 동기 요청으로 처리할 수 없다.
|
||||
|
||||
무거운 잡(브라우저 필요)과 가벼운 잡(HTTP API 만)을 코드로 갈라 둔다 —
|
||||
크롤링 법무 결론이 나면 무거운 잡만 별도 워커 이미지로 분리한다.
|
||||
*/
|
||||
export type JobType = typeof JobType[keyof typeof JobType];
|
||||
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const JobType = {
|
||||
COLLECT: 1,
|
||||
VISION: 2,
|
||||
COPY: 3,
|
||||
BUILD: 4,
|
||||
LOCAL_SYNC: 5,
|
||||
AI_CHECK: 6,
|
||||
} as const;
|
||||
@@ -0,0 +1,23 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* place_links.channel 코드값. Perplexity 가 발견하는 채널 종류.
|
||||
*/
|
||||
export type LinkChannel = typeof LinkChannel[keyof typeof LinkChannel];
|
||||
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const LinkChannel = {
|
||||
YANOLJA: 1,
|
||||
GOODCHOICE: 2,
|
||||
NAVER_PLACE: 3,
|
||||
INSTAGRAM: 4,
|
||||
OFFICIAL_SITE: 5,
|
||||
BLOG: 6,
|
||||
ETC: 99,
|
||||
} as const;
|
||||
@@ -0,0 +1,22 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
import type { LinkChannel } from './linkChannel';
|
||||
import type { LinkDataTitle } from './linkDataTitle';
|
||||
import type { SourceType } from './sourceType';
|
||||
import type { LinkDataDiscoveredAt } from './linkDataDiscoveredAt';
|
||||
import type { LinkDataConfirmedAt } from './linkDataConfirmedAt';
|
||||
|
||||
export interface LinkData {
|
||||
link_id: string;
|
||||
place_id: string;
|
||||
channel: LinkChannel;
|
||||
url: string;
|
||||
title?: LinkDataTitle;
|
||||
discovered_by: SourceType;
|
||||
discovered_at?: LinkDataDiscoveredAt;
|
||||
confirmed_at?: LinkDataConfirmedAt;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type LinkDataConfirmedAt = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type LinkDataDiscoveredAt = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type LinkDataTitle = string | null;
|
||||
@@ -0,0 +1,12 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
import type { LocalContentStatus } from './localContentStatus';
|
||||
|
||||
export type ListContentsParams = {
|
||||
status?: LocalContentStatus | null;
|
||||
region_code?: string | null;
|
||||
};
|
||||
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type ListFactsParams = {
|
||||
/**
|
||||
* 객실·메뉴·프로그램 단위 fact 만
|
||||
*/
|
||||
unit_id?: string | null;
|
||||
publishable_only?: boolean;
|
||||
};
|
||||
@@ -0,0 +1,10 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type ListFaqsParams = {
|
||||
publishable_only?: boolean;
|
||||
};
|
||||
@@ -0,0 +1,10 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type ListLinksParams = {
|
||||
confirmed_only?: boolean;
|
||||
};
|
||||
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type ListMediaParams = {
|
||||
/**
|
||||
* 객실·메뉴 단위 사진만
|
||||
*/
|
||||
unit_id?: string | null;
|
||||
publishable_only?: boolean;
|
||||
};
|
||||
@@ -0,0 +1,32 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
import type { PlaceCategory } from './placeCategory';
|
||||
import type { PlaceStatus } from './placeStatus';
|
||||
|
||||
export type ListPlacesParams = {
|
||||
/**
|
||||
* 상호명·주소 부분일치
|
||||
*/
|
||||
search?: string | null;
|
||||
/**
|
||||
* 업종
|
||||
*/
|
||||
category?: PlaceCategory | null;
|
||||
/**
|
||||
* 상태
|
||||
*/
|
||||
status?: PlaceStatus | null;
|
||||
/**
|
||||
* @minimum 1
|
||||
*/
|
||||
page?: number;
|
||||
/**
|
||||
* @minimum 1
|
||||
* @maximum 100
|
||||
*/
|
||||
size?: number;
|
||||
};
|
||||
@@ -0,0 +1,31 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
import type { LocalContentType } from './localContentType';
|
||||
import type { LocalSource } from './localSource';
|
||||
import type { LocalContentDataExternalId } from './localContentDataExternalId';
|
||||
import type { LocalContentDataTitle } from './localContentDataTitle';
|
||||
import type { LocalContentDataBody } from './localContentDataBody';
|
||||
import type { LocalContentStatus } from './localContentStatus';
|
||||
import type { LocalContentDataCollectedAt } from './localContentDataCollectedAt';
|
||||
import type { LocalContentDataPublishedAt } from './localContentDataPublishedAt';
|
||||
import type { LocalContentDataDisplayStartAt } from './localContentDataDisplayStartAt';
|
||||
import type { LocalContentDataDisplayEndAt } from './localContentDataDisplayEndAt';
|
||||
|
||||
export interface LocalContentData {
|
||||
local_content_id: string;
|
||||
region_code: string;
|
||||
content_type: LocalContentType;
|
||||
source: LocalSource;
|
||||
external_id?: LocalContentDataExternalId;
|
||||
title?: LocalContentDataTitle;
|
||||
body: LocalContentDataBody;
|
||||
status: LocalContentStatus;
|
||||
collected_at?: LocalContentDataCollectedAt;
|
||||
published_at?: LocalContentDataPublishedAt;
|
||||
display_start_at?: LocalContentDataDisplayStartAt;
|
||||
display_end_at?: LocalContentDataDisplayEndAt;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type LocalContentDataBody = { [key: string]: unknown };
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type LocalContentDataCollectedAt = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type LocalContentDataDisplayEndAt = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type LocalContentDataDisplayStartAt = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type LocalContentDataExternalId = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type LocalContentDataPublishedAt = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type LocalContentDataTitle = string | null;
|
||||
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* 운영 관리자가 검수하는 지역 콘텐츠 발행 상태.
|
||||
*/
|
||||
export type LocalContentStatus = typeof LocalContentStatus[keyof typeof LocalContentStatus];
|
||||
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const LocalContentStatus = {
|
||||
REVIEW: 1,
|
||||
PUBLISHED: 2,
|
||||
ENDED: 3,
|
||||
} as const;
|
||||
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* local_contents.content_type 코드값. 행정구역 코드 단위로 캐싱되는 지역 정보 종류.
|
||||
*/
|
||||
export type LocalContentType = typeof LocalContentType[keyof typeof LocalContentType];
|
||||
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const LocalContentType = {
|
||||
WEATHER: 1,
|
||||
FESTIVAL: 2,
|
||||
ATTRACTION: 3,
|
||||
RESTAURANT: 4,
|
||||
} as const;
|
||||
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* local_contents.source 코드값. 어느 외부 API 에서 왔는지.
|
||||
*/
|
||||
export type LocalSource = typeof LocalSource[keyof typeof LocalSource];
|
||||
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const LocalSource = {
|
||||
OPEN_METEO: 1,
|
||||
TOUR_API: 2,
|
||||
KAKAO_LOCAL: 3,
|
||||
OFFICIAL_WEB: 4,
|
||||
} as const;
|
||||
@@ -0,0 +1,44 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
import type { MediaDataUnitId } from './mediaDataUnitId';
|
||||
import type { MediaDataOriginUrl } from './mediaDataOriginUrl';
|
||||
import type { SourceType } from './sourceType';
|
||||
import type { MediaDataSourceUrl } from './mediaDataSourceUrl';
|
||||
import type { MediaDataLabel } from './mediaDataLabel';
|
||||
import type { MediaDataAltText } from './mediaDataAltText';
|
||||
import type { MediaDataVisionConfidence } from './mediaDataVisionConfidence';
|
||||
import type { MediaStatus } from './mediaStatus';
|
||||
import type { MediaDataWidth } from './mediaDataWidth';
|
||||
import type { MediaDataHeight } from './mediaDataHeight';
|
||||
import type { MediaDataCreatedAt } from './mediaDataCreatedAt';
|
||||
|
||||
/**
|
||||
* 사진 1건.
|
||||
|
||||
★ source_type 과 origin_url 을 반드시 함께 내려보낸다 — 크롤링 이미지의 재게시 권리가
|
||||
아직 미결이라(docs/DECISIONS.md 1-2), 결론이 '불가'로 나면 발행에서 source_type = CRAWL 을
|
||||
통째로 제외해야 한다. 화면이 출처를 모르면 무엇이 빠질지도 미리 보여줄 수 없다.
|
||||
origin_url 은 그때 '이 사진은 어디서 왔는가'를 증명하는 유일한 근거다.
|
||||
*/
|
||||
export interface MediaData {
|
||||
media_id: string;
|
||||
place_id: string;
|
||||
unit_id?: MediaDataUnitId;
|
||||
url: string;
|
||||
origin_url?: MediaDataOriginUrl;
|
||||
source_type: SourceType;
|
||||
source_url?: MediaDataSourceUrl;
|
||||
label?: MediaDataLabel;
|
||||
alt_text?: MediaDataAltText;
|
||||
vision_confidence?: MediaDataVisionConfidence;
|
||||
status: MediaStatus;
|
||||
width?: MediaDataWidth;
|
||||
height?: MediaDataHeight;
|
||||
sort_order?: number;
|
||||
created_at?: MediaDataCreatedAt;
|
||||
publishable?: boolean;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type MediaDataAltText = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type MediaDataCreatedAt = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type MediaDataHeight = number | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type MediaDataLabel = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type MediaDataOriginUrl = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type MediaDataSourceUrl = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type MediaDataUnitId = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type MediaDataVisionConfidence = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type MediaDataWidth = number | null;
|
||||
@@ -0,0 +1,19 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* media.status 코드값. 비전 결과 신뢰도가 낮으면 자동 반영하지 않고 PENDING_REVIEW 로 둔다.
|
||||
*/
|
||||
export type MediaStatus = typeof MediaStatus[keyof typeof MediaStatus];
|
||||
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const MediaStatus = {
|
||||
PENDING_REVIEW: 1,
|
||||
APPROVED: 2,
|
||||
REJECTED: 3,
|
||||
} as const;
|
||||
@@ -0,0 +1,31 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
import type { PlaceCandidateExternalPlaceId } from './placeCandidateExternalPlaceId';
|
||||
import type { PlaceCandidateRoadAddress } from './placeCandidateRoadAddress';
|
||||
import type { PlaceCandidateAddress } from './placeCandidateAddress';
|
||||
import type { PlaceCandidatePhone } from './placeCandidatePhone';
|
||||
import type { PlaceCandidateLatitude } from './placeCandidateLatitude';
|
||||
import type { PlaceCandidateLongitude } from './placeCandidateLongitude';
|
||||
import type { PlaceCandidateCategoryName } from './placeCandidateCategoryName';
|
||||
import type { PlaceCandidatePlaceUrl } from './placeCandidatePlaceUrl';
|
||||
import type { PlaceCandidateNaverPlaceUrl } from './placeCandidateNaverPlaceUrl';
|
||||
|
||||
/**
|
||||
* 외부 장소 DB 에서 찾은 후보 1건. UI 가 이걸 카드로 그려 사람이 고른다.
|
||||
*/
|
||||
export interface PlaceCandidate {
|
||||
external_place_id?: PlaceCandidateExternalPlaceId;
|
||||
name?: string;
|
||||
road_address?: PlaceCandidateRoadAddress;
|
||||
address?: PlaceCandidateAddress;
|
||||
phone?: PlaceCandidatePhone;
|
||||
latitude?: PlaceCandidateLatitude;
|
||||
longitude?: PlaceCandidateLongitude;
|
||||
category_name?: PlaceCandidateCategoryName;
|
||||
place_url?: PlaceCandidatePlaceUrl;
|
||||
naver_place_url?: PlaceCandidateNaverPlaceUrl;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type PlaceCandidateAddress = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type PlaceCandidateCategoryName = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type PlaceCandidateExternalPlaceId = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type PlaceCandidateLatitude = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type PlaceCandidateLongitude = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type PlaceCandidateNaverPlaceUrl = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type PlaceCandidatePhone = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type PlaceCandidatePlaceUrl = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type PlaceCandidateRoadAddress = string | null;
|
||||
@@ -0,0 +1,21 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* places.category 코드값. 업종 — 스키마 파일(common/category_schema/resources/*.json)과 1:1.
|
||||
업종 추가 = 여기에 코드 추가 + 스키마 파일 1개 추가.
|
||||
*/
|
||||
export type PlaceCategory = typeof PlaceCategory[keyof typeof PlaceCategory];
|
||||
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const PlaceCategory = {
|
||||
LODGING: 1,
|
||||
CAFE: 2,
|
||||
RESTAURANT: 3,
|
||||
TOUR_ACTIVITY: 4,
|
||||
} as const;
|
||||
@@ -0,0 +1,39 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
import type { PlaceCategory } from './placeCategory';
|
||||
import type { PlaceStatus } from './placeStatus';
|
||||
import type { PlaceDataOwnerUserId } from './placeDataOwnerUserId';
|
||||
import type { PlaceDataExternalSource } from './placeDataExternalSource';
|
||||
import type { PlaceDataExternalPlaceId } from './placeDataExternalPlaceId';
|
||||
import type { PlaceDataRoadAddress } from './placeDataRoadAddress';
|
||||
import type { PlaceDataAddress } from './placeDataAddress';
|
||||
import type { PlaceDataPhone } from './placeDataPhone';
|
||||
import type { PlaceDataLatitude } from './placeDataLatitude';
|
||||
import type { PlaceDataLongitude } from './placeDataLongitude';
|
||||
import type { PlaceDataRegionCode } from './placeDataRegionCode';
|
||||
import type { PlaceDataVerifiedAt } from './placeDataVerifiedAt';
|
||||
import type { PlaceDataContentUpdatedAt } from './placeDataContentUpdatedAt';
|
||||
import type { PlaceDataCreatedAt } from './placeDataCreatedAt';
|
||||
|
||||
export interface PlaceData {
|
||||
place_id: string;
|
||||
name: string;
|
||||
category: PlaceCategory;
|
||||
status: PlaceStatus;
|
||||
owner_user_id?: PlaceDataOwnerUserId;
|
||||
external_source?: PlaceDataExternalSource;
|
||||
external_place_id?: PlaceDataExternalPlaceId;
|
||||
road_address?: PlaceDataRoadAddress;
|
||||
address?: PlaceDataAddress;
|
||||
phone?: PlaceDataPhone;
|
||||
latitude?: PlaceDataLatitude;
|
||||
longitude?: PlaceDataLongitude;
|
||||
region_code?: PlaceDataRegionCode;
|
||||
verified_at?: PlaceDataVerifiedAt;
|
||||
content_updated_at?: PlaceDataContentUpdatedAt;
|
||||
created_at?: PlaceDataCreatedAt;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type PlaceDataAddress = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type PlaceDataContentUpdatedAt = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type PlaceDataCreatedAt = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type PlaceDataExternalPlaceId = string | null;
|
||||
@@ -0,0 +1,9 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
import type { ExternalPlaceSource } from './externalPlaceSource';
|
||||
|
||||
export type PlaceDataExternalSource = ExternalPlaceSource | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type PlaceDataLatitude = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type PlaceDataLongitude = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type PlaceDataOwnerUserId = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type PlaceDataPhone = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type PlaceDataRegionCode = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type PlaceDataRoadAddress = string | null;
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type PlaceDataVerifiedAt = string | null;
|
||||
@@ -0,0 +1,22 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* places.status 코드값. 사업장 생애주기.
|
||||
해지는 삭제가 아니라 SUSPENDED 로의 상태 전이다(색인된 페이지를 갑자기 404 로 만들지 않는다).
|
||||
*/
|
||||
export type PlaceStatus = typeof PlaceStatus[keyof typeof PlaceStatus];
|
||||
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const PlaceStatus = {
|
||||
DRAFT: 1,
|
||||
COLLECTING: 2,
|
||||
REVIEW: 3,
|
||||
PUBLISHED: 4,
|
||||
SUSPENDED: 5,
|
||||
} as const;
|
||||
@@ -0,0 +1,21 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
/**
|
||||
* publish_logs.action 코드값.
|
||||
*/
|
||||
export type PublishAction = typeof PublishAction[keyof typeof PublishAction];
|
||||
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-redeclare
|
||||
export const PublishAction = {
|
||||
PUBLISH: 1,
|
||||
UNPUBLISH: 2,
|
||||
REBUILD: 3,
|
||||
SUSPEND: 4,
|
||||
RESUME: 5,
|
||||
} as const;
|
||||
@@ -0,0 +1,20 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
import type { PublishAction } from './publishAction';
|
||||
import type { PublishResult } from './publishResult';
|
||||
import type { PublishLogDataRejectReason } from './publishLogDataRejectReason';
|
||||
import type { PublishLogDataDetail } from './publishLogDataDetail';
|
||||
import type { PublishLogDataCreatedAt } from './publishLogDataCreatedAt';
|
||||
|
||||
export interface PublishLogData {
|
||||
publish_log_id: string;
|
||||
action: PublishAction;
|
||||
result: PublishResult;
|
||||
reject_reason?: PublishLogDataRejectReason;
|
||||
detail?: PublishLogDataDetail;
|
||||
created_at?: PublishLogDataCreatedAt;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Generated by orval v7.21.0 🍺
|
||||
* Do not edit manually.
|
||||
* Web4Ai API
|
||||
* OpenAPI spec version: 0.1.0
|
||||
*/
|
||||
|
||||
export type PublishLogDataCreatedAt = string | null;
|
||||
Loaded 100 of 480 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user