[fix] negodata/front: 상품·협력사·견적 목록 연동 + 배송형태 서버 enum 코드 전송

- orval 실제 타입(ItemData/SupplierData/QuotationData/QuotationSettingData) 사용,
  응답 봉투 과중첩(.data.data) 제거 → 목록 정상 렌더
- 배송형태(delivery_type) 자유텍스트 → 서버 /v1/enums 코드 select 로 전환
- orval 클라이언트 재생성 (enums 훅, companyData 등)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
minaChoiandClaude Opus 4.8 committed 2026-06-17 15:58:57 +09:00
1 parent 1f778ab975
commit 2470183e0f
30 files changed
+564 -592

No files matched your search

@@ -5,7 +5,7 @@
* OpenAPI spec version: 0.1.0
*/
export interface CompanyBrief {
export interface CompanyData {
company_id?: string;
name?: string;
}
@@ -0,0 +1,12 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* Negodata Api Server
* OpenAPI spec version: 0.1.0
*/
export interface EnumOption {
value: number;
name: string;
label: string;
}
@@ -13,7 +13,8 @@ export * from "./chatMessageDataCardId";
export * from "./chatMessageDataCardType";
export * from "./chatMessageDataCardUsedYn";
export * from "./chatMessageDataIndicatorValue";
export * from "./companyBrief";
export * from "./companyData";
export * from "./enumOption";
export * from "./errorInfo";
export * from "./errorInfoCode";
export * from "./errorInfoDesc";
@@ -134,6 +135,9 @@ export * from "./resDeleteQuotationSetting";
export * from "./resDeleteQuotationSettingMsg";
export * from "./resDeleteSupplier";
export * from "./resDeleteSupplierMsg";
export * from "./resEnums";
export * from "./resEnumsEnums";
export * from "./resEnumsMsg";
export * from "./resExcelUpload";
export * from "./resExcelUploadMsg";
export * from "./resExcelUploadReceivedFilename";
@@ -5,4 +5,4 @@
* OpenAPI spec version: 0.1.0
*/
export type ItemDataDeliveryType = string | null;
export type ItemDataDeliveryType = number | null;
@@ -5,4 +5,4 @@
* OpenAPI spec version: 0.1.0
*/
export type ItemDataQuantityUnit = number | null;
export type ItemDataQuantityUnit = string | null;
@@ -5,4 +5,4 @@
* OpenAPI spec version: 0.1.0
*/
export type ReqCreateItemDeliveryType = string | null;
export type ReqCreateItemDeliveryType = number | null;
@@ -5,4 +5,4 @@
* OpenAPI spec version: 0.1.0
*/
export type ReqCreateItemQuantityUnit = number | null;
export type ReqCreateItemQuantityUnit = string | null;
@@ -5,4 +5,4 @@
* OpenAPI spec version: 0.1.0
*/
export type ReqUpdateItemDeliveryType = string | null;
export type ReqUpdateItemDeliveryType = number | null;
@@ -5,4 +5,4 @@
* OpenAPI spec version: 0.1.0
*/
export type ReqUpdateItemQuantityUnit = number | null;
export type ReqUpdateItemQuantityUnit = string | null;
@@ -0,0 +1,15 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* Negodata Api Server
* OpenAPI spec version: 0.1.0
*/
import type { ErrorInfo } from "./errorInfo";
import type { ResEnumsMsg } from "./resEnumsMsg";
import type { ResEnumsEnums } from "./resEnumsEnums";
export interface ResEnums {
result?: ErrorInfo;
msg?: ResEnumsMsg;
enums?: ResEnumsEnums;
}
@@ -0,0 +1,9 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* Negodata Api Server
* OpenAPI spec version: 0.1.0
*/
import type { EnumOption } from "./enumOption";
export type ResEnumsEnums = { [key: string]: EnumOption[] };
@@ -0,0 +1,8 @@
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* Negodata Api Server
* OpenAPI spec version: 0.1.0
*/
export type ResEnumsMsg = string | null;
@@ -4,6 +4,6 @@
* Negodata Api Server
* OpenAPI spec version: 0.1.0
*/
import type { CompanyBrief } from "./companyBrief";
import type { CompanyData } from "./companyData";
export type ResMeCompany = CompanyBrief | null;
export type ResMeCompany = CompanyData | null;