@carsayo/types 1.1.892079 → 1.1.892081
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/dist/data/bankcode.d.ts +0 -167
- package/dist/data/bankcode.js +0 -66
- package/dist/data/board.d.ts +0 -74
- package/dist/data/board.js +0 -56
- package/dist/data/car.d.ts +0 -822
- package/dist/data/car.js +0 -895
- package/dist/data/carOptionRelationCategory.d.ts +0 -20
- package/dist/data/carOptionRelationCategory.js +0 -28
- package/dist/data/carPopularCategory.d.ts +0 -20
- package/dist/data/carPopularCategory.js +0 -28
- package/dist/data/collaborator.d.ts +0 -9
- package/dist/data/collaborator.js +0 -18
- package/dist/data/index.d.ts +0 -11
- package/dist/data/index.js +0 -27
- package/dist/data/purchase.d.ts +0 -18
- package/dist/data/purchase.js +0 -25
- package/dist/data/region.d.ts +0 -1226
- package/dist/data/region.js +0 -267
- package/dist/data/role.d.ts +0 -121
- package/dist/data/role.js +0 -150
- package/dist/data/sell_car.d.ts +0 -57
- package/dist/data/sell_car.js +0 -71
- package/dist/data/system.d.ts +0 -19
- package/dist/data/system.js +0 -28
- package/dist/data/term.d.ts +0 -349
- package/dist/data/term.js +0 -395
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -18
- package/dist/types/index.d.ts +0 -2
- package/dist/types/index.js +0 -18
- package/dist/types/modules/accidentReport/dto.d.ts +0 -73
- package/dist/types/modules/accidentReport/dto.js +0 -2
- package/dist/types/modules/accidentReport/index.d.ts +0 -3
- package/dist/types/modules/accidentReport/index.js +0 -19
- package/dist/types/modules/accidentReport/interface.d.ts +0 -309
- package/dist/types/modules/accidentReport/interface.js +0 -2
- package/dist/types/modules/accidentReport/type.d.ts +0 -36
- package/dist/types/modules/accidentReport/type.js +0 -35
- package/dist/types/modules/board/dto.d.ts +0 -189
- package/dist/types/modules/board/dto.js +0 -3
- package/dist/types/modules/board/index.d.ts +0 -3
- package/dist/types/modules/board/index.js +0 -19
- package/dist/types/modules/board/interface.d.ts +0 -233
- package/dist/types/modules/board/interface.js +0 -2
- package/dist/types/modules/board/type.d.ts +0 -30
- package/dist/types/modules/board/type.js +0 -8
- package/dist/types/modules/car/dto.d.ts +0 -404
- package/dist/types/modules/car/dto.js +0 -15
- package/dist/types/modules/car/index.d.ts +0 -3
- package/dist/types/modules/car/index.js +0 -19
- package/dist/types/modules/car/interface.d.ts +0 -594
- package/dist/types/modules/car/interface.js +0 -2
- package/dist/types/modules/car/type.d.ts +0 -11
- package/dist/types/modules/car/type.js +0 -13
- package/dist/types/modules/chat/constants.d.ts +0 -2
- package/dist/types/modules/chat/constants.js +0 -5
- package/dist/types/modules/chat/dto.d.ts +0 -4
- package/dist/types/modules/chat/dto.js +0 -2
- package/dist/types/modules/chat/index.d.ts +0 -6
- package/dist/types/modules/chat/index.js +0 -22
- package/dist/types/modules/chat/type.d.ts +0 -117
- package/dist/types/modules/chat/type.js +0 -17
- package/dist/types/modules/chat/type.opponent.additionalInfo.d.ts +0 -7
- package/dist/types/modules/chat/type.opponent.additionalInfo.js +0 -2
- package/dist/types/modules/chat/type.room.additionalInfo.d.ts +0 -52
- package/dist/types/modules/chat/type.room.additionalInfo.js +0 -2
- package/dist/types/modules/chat/type.socket.d.ts +0 -46
- package/dist/types/modules/chat/type.socket.js +0 -2
- package/dist/types/modules/collaborator/dto.d.ts +0 -10
- package/dist/types/modules/collaborator/dto.js +0 -3
- package/dist/types/modules/collaborator/index.d.ts +0 -1
- package/dist/types/modules/collaborator/index.js +0 -17
- package/dist/types/modules/common/enum.d.ts +0 -65
- package/dist/types/modules/common/enum.js +0 -69
- package/dist/types/modules/common/index.d.ts +0 -3
- package/dist/types/modules/common/index.js +0 -19
- package/dist/types/modules/common/interface.d.ts +0 -40
- package/dist/types/modules/common/interface.js +0 -2
- package/dist/types/modules/common/type.d.ts +0 -14
- package/dist/types/modules/common/type.js +0 -13
- package/dist/types/modules/data/dto.d.ts +0 -4
- package/dist/types/modules/data/dto.js +0 -7
- package/dist/types/modules/data/index.d.ts +0 -2
- package/dist/types/modules/data/index.js +0 -18
- package/dist/types/modules/data/interface.d.ts +0 -6
- package/dist/types/modules/data/interface.js +0 -2
- package/dist/types/modules/file/dto.d.ts +0 -18
- package/dist/types/modules/file/dto.js +0 -3
- package/dist/types/modules/file/index.d.ts +0 -3
- package/dist/types/modules/file/index.js +0 -19
- package/dist/types/modules/file/interface.d.ts +0 -26
- package/dist/types/modules/file/interface.js +0 -2
- package/dist/types/modules/file/type.d.ts +0 -13
- package/dist/types/modules/file/type.js +0 -15
- package/dist/types/modules/history/dto.d.ts +0 -13
- package/dist/types/modules/history/dto.js +0 -3
- package/dist/types/modules/history/index.d.ts +0 -2
- package/dist/types/modules/history/index.js +0 -18
- package/dist/types/modules/history/interface.d.ts +0 -12
- package/dist/types/modules/history/interface.js +0 -2
- package/dist/types/modules/index.d.ts +0 -20
- package/dist/types/modules/index.js +0 -36
- package/dist/types/modules/inquiry/dto.d.ts +0 -79
- package/dist/types/modules/inquiry/dto.js +0 -2
- package/dist/types/modules/inquiry/index.d.ts +0 -3
- package/dist/types/modules/inquiry/index.js +0 -19
- package/dist/types/modules/inquiry/interface.d.ts +0 -37
- package/dist/types/modules/inquiry/interface.js +0 -2
- package/dist/types/modules/inquiry/type.d.ts +0 -14
- package/dist/types/modules/inquiry/type.js +0 -15
- package/dist/types/modules/insurance/dto.d.ts +0 -88
- package/dist/types/modules/insurance/dto.js +0 -3
- package/dist/types/modules/insurance/index.d.ts +0 -2
- package/dist/types/modules/insurance/index.js +0 -18
- package/dist/types/modules/insurance/interface.d.ts +0 -58
- package/dist/types/modules/insurance/interface.js +0 -2
- package/dist/types/modules/member/dto.d.ts +0 -677
- package/dist/types/modules/member/dto.js +0 -3
- package/dist/types/modules/member/index.d.ts +0 -3
- package/dist/types/modules/member/index.js +0 -19
- package/dist/types/modules/member/interface.d.ts +0 -696
- package/dist/types/modules/member/interface.js +0 -2
- package/dist/types/modules/member/type.d.ts +0 -92
- package/dist/types/modules/member/type.js +0 -86
- package/dist/types/modules/message/dto.d.ts +0 -15
- package/dist/types/modules/message/dto.js +0 -2
- package/dist/types/modules/message/index.d.ts +0 -3
- package/dist/types/modules/message/index.js +0 -19
- package/dist/types/modules/message/interface.d.ts +0 -20
- package/dist/types/modules/message/interface.js +0 -2
- package/dist/types/modules/message/type.d.ts +0 -22
- package/dist/types/modules/message/type.js +0 -22
- package/dist/types/modules/notification/dto.d.ts +0 -13
- package/dist/types/modules/notification/dto.js +0 -3
- package/dist/types/modules/notification/index.d.ts +0 -3
- package/dist/types/modules/notification/index.js +0 -19
- package/dist/types/modules/notification/interface.d.ts +0 -19
- package/dist/types/modules/notification/interface.js +0 -2
- package/dist/types/modules/notification/type.d.ts +0 -5
- package/dist/types/modules/notification/type.js +0 -7
- package/dist/types/modules/order/dto.d.ts +0 -446
- package/dist/types/modules/order/dto.js +0 -16
- package/dist/types/modules/order/index.d.ts +0 -3
- package/dist/types/modules/order/index.js +0 -19
- package/dist/types/modules/order/interface.d.ts +0 -913
- package/dist/types/modules/order/interface.js +0 -2
- package/dist/types/modules/order/type.d.ts +0 -160
- package/dist/types/modules/order/type.js +0 -147
- package/dist/types/modules/partners/dto.d.ts +0 -37
- package/dist/types/modules/partners/dto.js +0 -11
- package/dist/types/modules/partners/index.d.ts +0 -3
- package/dist/types/modules/partners/index.js +0 -19
- package/dist/types/modules/partners/interface.d.ts +0 -40
- package/dist/types/modules/partners/interface.js +0 -2
- package/dist/types/modules/partners/type.d.ts +0 -12
- package/dist/types/modules/partners/type.js +0 -13
- package/dist/types/modules/purchase/dto.d.ts +0 -9
- package/dist/types/modules/purchase/dto.js +0 -3
- package/dist/types/modules/purchase/index.d.ts +0 -2
- package/dist/types/modules/purchase/index.js +0 -18
- package/dist/types/modules/purchase/interface.d.ts +0 -22
- package/dist/types/modules/purchase/interface.js +0 -2
- package/dist/types/modules/purchase/type.d.ts +0 -11
- package/dist/types/modules/purchase/type.js +0 -13
- package/dist/types/modules/repair/constant.d.ts +0 -28
- package/dist/types/modules/repair/constant.js +0 -139
- package/dist/types/modules/repair/constants.d.ts +0 -23
- package/dist/types/modules/repair/constants.js +0 -52
- package/dist/types/modules/repair/dto.d.ts +0 -96
- package/dist/types/modules/repair/dto.js +0 -2
- package/dist/types/modules/repair/index.d.ts +0 -4
- package/dist/types/modules/repair/index.js +0 -20
- package/dist/types/modules/repair/interface.d.ts +0 -659
- package/dist/types/modules/repair/interface.js +0 -2
- package/dist/types/modules/repair/type.d.ts +0 -64
- package/dist/types/modules/repair/type.js +0 -71
- package/dist/types/modules/sellMyCar/constant.d.ts +0 -54
- package/dist/types/modules/sellMyCar/constant.js +0 -117
- package/dist/types/modules/sellMyCar/dto-admin.d.ts +0 -258
- package/dist/types/modules/sellMyCar/dto-admin.js +0 -2
- package/dist/types/modules/sellMyCar/dto.d.ts +0 -186
- package/dist/types/modules/sellMyCar/dto.js +0 -15
- package/dist/types/modules/sellMyCar/index.d.ts +0 -9
- package/dist/types/modules/sellMyCar/index.js +0 -25
- package/dist/types/modules/sellMyCar/interface-admin.d.ts +0 -85
- package/dist/types/modules/sellMyCar/interface-admin.js +0 -23
- package/dist/types/modules/sellMyCar/interface-faq.d.ts +0 -52
- package/dist/types/modules/sellMyCar/interface-faq.js +0 -22
- package/dist/types/modules/sellMyCar/interface-member.d.ts +0 -252
- package/dist/types/modules/sellMyCar/interface-member.js +0 -16
- package/dist/types/modules/sellMyCar/interface-notice.d.ts +0 -28
- package/dist/types/modules/sellMyCar/interface-notice.js +0 -2
- package/dist/types/modules/sellMyCar/interface.d.ts +0 -1075
- package/dist/types/modules/sellMyCar/interface.js +0 -7
- package/dist/types/modules/sellMyCar/type.d.ts +0 -203
- package/dist/types/modules/sellMyCar/type.js +0 -199
- package/dist/types/modules/system/dto.d.ts +0 -13
- package/dist/types/modules/system/dto.js +0 -3
- package/dist/types/modules/system/index.d.ts +0 -2
- package/dist/types/modules/system/index.js +0 -18
- package/dist/types/modules/system/interface.d.ts +0 -18
- package/dist/types/modules/system/interface.js +0 -2
- package/dist/types/modules/term/dto.d.ts +0 -171
- package/dist/types/modules/term/dto.js +0 -3
- package/dist/types/modules/term/index.d.ts +0 -3
- package/dist/types/modules/term/index.js +0 -19
- package/dist/types/modules/term/interface.d.ts +0 -52
- package/dist/types/modules/term/interface.js +0 -2
- package/dist/types/modules/term/type.d.ts +0 -11
- package/dist/types/modules/term/type.js +0 -13
- package/dist/types/providers/coocon-usedcar/constant.d.ts +0 -46
- package/dist/types/providers/coocon-usedcar/constant.js +0 -673
- package/dist/types/providers/coocon-usedcar/constants.d.ts +0 -46
- package/dist/types/providers/coocon-usedcar/constants.js +0 -673
- package/dist/types/providers/coocon-usedcar/dto.d.ts +0 -23
- package/dist/types/providers/coocon-usedcar/dto.js +0 -3
- package/dist/types/providers/coocon-usedcar/index.d.ts +0 -3
- package/dist/types/providers/coocon-usedcar/index.js +0 -19
- package/dist/types/providers/coocon-usedcar/interface.d.ts +0 -305
- package/dist/types/providers/coocon-usedcar/interface.js +0 -2
- package/dist/types/providers/firebase-message/dto.d.ts +0 -56
- package/dist/types/providers/firebase-message/dto.js +0 -3
- package/dist/types/providers/firebase-message/index.d.ts +0 -2
- package/dist/types/providers/firebase-message/index.js +0 -18
- package/dist/types/providers/firebase-message/interface.d.ts +0 -4
- package/dist/types/providers/firebase-message/interface.js +0 -2
- package/dist/types/providers/gabia-sms/dto.d.ts +0 -31
- package/dist/types/providers/gabia-sms/dto.js +0 -3
- package/dist/types/providers/gabia-sms/index.d.ts +0 -1
- package/dist/types/providers/gabia-sms/index.js +0 -17
- package/dist/types/providers/index.d.ts +0 -5
- package/dist/types/providers/index.js +0 -21
- package/dist/types/providers/niceapi/dto.d.ts +0 -15
- package/dist/types/providers/niceapi/dto.js +0 -3
- package/dist/types/providers/niceapi/index.d.ts +0 -2
- package/dist/types/providers/niceapi/index.js +0 -18
- package/dist/types/providers/niceapi/interface.d.ts +0 -25
- package/dist/types/providers/niceapi/interface.js +0 -2
- package/dist/types/providers/nicepayment/dto.d.ts +0 -60
- package/dist/types/providers/nicepayment/dto.js +0 -9
- package/dist/types/providers/nicepayment/index.d.ts +0 -3
- package/dist/types/providers/nicepayment/index.js +0 -19
- package/dist/types/providers/nicepayment/interface.d.ts +0 -168
- package/dist/types/providers/nicepayment/interface.js +0 -2
- package/dist/types/providers/nicepayment/type.d.ts +0 -36
- package/dist/types/providers/nicepayment/type.js +0 -37
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @init PresignedUrl이 생성된 상태
|
|
3
|
-
* @uploaded 파일이 S3에 있음을 보장할 수 있는 상태입니다
|
|
4
|
-
* @start_remove 파일 삭제중입니다
|
|
5
|
-
* @removed 파일이 S3에서 진짜로 삭제되었습니다
|
|
6
|
-
*/
|
|
7
|
-
export declare const FileState: {
|
|
8
|
-
readonly init: "init";
|
|
9
|
-
readonly uploaded: "uploaded";
|
|
10
|
-
readonly start_remove: "start_remove";
|
|
11
|
-
readonly removed: "removed";
|
|
12
|
-
};
|
|
13
|
-
export type FileState = keyof typeof FileState;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FileState = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* @init PresignedUrl이 생성된 상태
|
|
6
|
-
* @uploaded 파일이 S3에 있음을 보장할 수 있는 상태입니다
|
|
7
|
-
* @start_remove 파일 삭제중입니다
|
|
8
|
-
* @removed 파일이 S3에서 진짜로 삭제되었습니다
|
|
9
|
-
*/
|
|
10
|
-
exports.FileState = {
|
|
11
|
-
init: "init",
|
|
12
|
-
uploaded: "uploaded",
|
|
13
|
-
start_remove: "start_remove",
|
|
14
|
-
removed: "removed",
|
|
15
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/** DTO는 서버단에 요청을 보낼 때 사용하는 클래스 유형으로 서버단에서 이 곳에 정의된 대로 유효성 검사를 처리합니다. */
|
|
2
|
-
/** 보험 링크 클릭 로그 생성 */
|
|
3
|
-
export interface HistoryInsuranceClickDTO {
|
|
4
|
-
target: string;
|
|
5
|
-
from?: string;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* @description 글 리스트 검색
|
|
9
|
-
*/
|
|
10
|
-
export interface GetInsuranceListDTO {
|
|
11
|
-
skip?: number;
|
|
12
|
-
take: number;
|
|
13
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./dto"), exports);
|
|
18
|
-
__exportStar(require("./interface"), exports);
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { DeviceType } from "../common";
|
|
2
|
-
import { MemberShort } from "../member";
|
|
3
|
-
export interface HistoryInsuranceClick {
|
|
4
|
-
member: MemberShort | null;
|
|
5
|
-
/** 클릭 대상 */
|
|
6
|
-
target: string;
|
|
7
|
-
/** 링크 클릭이 발생된 곳 */
|
|
8
|
-
from: string | null;
|
|
9
|
-
device: DeviceType;
|
|
10
|
-
ip: string;
|
|
11
|
-
created_at: Date;
|
|
12
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export * from "./board";
|
|
2
|
-
export * from "./car";
|
|
3
|
-
export * from "./collaborator";
|
|
4
|
-
export * from "./common";
|
|
5
|
-
export * from "./file";
|
|
6
|
-
export * from "./history";
|
|
7
|
-
export * from "./inquiry";
|
|
8
|
-
export * from "./member";
|
|
9
|
-
export * from "./message";
|
|
10
|
-
export * from "./notification";
|
|
11
|
-
export * from "./order";
|
|
12
|
-
export * from "./system";
|
|
13
|
-
export * from "./term";
|
|
14
|
-
export * from "./insurance";
|
|
15
|
-
export * from "./partners";
|
|
16
|
-
export * from "./accidentReport";
|
|
17
|
-
export * from "./data";
|
|
18
|
-
export * from "./repair";
|
|
19
|
-
export * from "./chat";
|
|
20
|
-
export * from "./sellMyCar";
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./board"), exports);
|
|
18
|
-
__exportStar(require("./car"), exports);
|
|
19
|
-
__exportStar(require("./collaborator"), exports);
|
|
20
|
-
__exportStar(require("./common"), exports);
|
|
21
|
-
__exportStar(require("./file"), exports);
|
|
22
|
-
__exportStar(require("./history"), exports);
|
|
23
|
-
__exportStar(require("./inquiry"), exports);
|
|
24
|
-
__exportStar(require("./member"), exports);
|
|
25
|
-
__exportStar(require("./message"), exports);
|
|
26
|
-
__exportStar(require("./notification"), exports);
|
|
27
|
-
__exportStar(require("./order"), exports);
|
|
28
|
-
__exportStar(require("./system"), exports);
|
|
29
|
-
__exportStar(require("./term"), exports);
|
|
30
|
-
__exportStar(require("./insurance"), exports);
|
|
31
|
-
__exportStar(require("./partners"), exports);
|
|
32
|
-
__exportStar(require("./accidentReport"), exports);
|
|
33
|
-
__exportStar(require("./data"), exports);
|
|
34
|
-
__exportStar(require("./repair"), exports);
|
|
35
|
-
__exportStar(require("./chat"), exports);
|
|
36
|
-
__exportStar(require("./sellMyCar"), exports);
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
/** DTO는 서버단에 요청을 보낼 때 사용하는 클래스 유형으로 서버단에서 이 곳에 정의된 대로 유효성 검사를 처리합니다. */
|
|
2
|
-
import { MemberType } from "../member";
|
|
3
|
-
import { InquiryIntervalTarget, InquiryState } from "./type";
|
|
4
|
-
export interface InquiryIdDTO {
|
|
5
|
-
inquiryId: string;
|
|
6
|
-
}
|
|
7
|
-
/** 일반 회원, 카매니저 회원이 일대일 문의를 제출합니다 */
|
|
8
|
-
export interface InquirySubmitDTO {
|
|
9
|
-
/** 해당 일대일 문의의 유형입니다. 임의의 String을 받습니다 */
|
|
10
|
-
type: string;
|
|
11
|
-
/** 일대일 문의 제목 */
|
|
12
|
-
title: string;
|
|
13
|
-
/** 일대일 문의 내용 */
|
|
14
|
-
content: string;
|
|
15
|
-
/** 일대일 문의 내 파일 1 */
|
|
16
|
-
file_1_id?: string | null;
|
|
17
|
-
/** 일대일 문의 내 파일 2 */
|
|
18
|
-
file_2_id?: string | null;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* 일반 회원, 카매니저 회원이 일대일 문의를 수정합니다
|
|
22
|
-
* @description 이미 응답 완료된 문의는 수정할 수 없습니다
|
|
23
|
-
*/
|
|
24
|
-
export interface InquiryUpdateDTO extends InquiryIdDTO {
|
|
25
|
-
/** 해당 일대일 문의의 유형입니다. 임의의 String을 받습니다 */
|
|
26
|
-
type?: string;
|
|
27
|
-
/** 일대일 문의 제목 */
|
|
28
|
-
title?: string;
|
|
29
|
-
/** 일대일 문의 내용 */
|
|
30
|
-
content?: string;
|
|
31
|
-
/** 일대일 문의 내 파일 1 */
|
|
32
|
-
file_id_1?: string | null;
|
|
33
|
-
/** 일대일 문의 내 파일 2 */
|
|
34
|
-
file_id_2?: string | null;
|
|
35
|
-
}
|
|
36
|
-
export interface InquiryIntervalDTO {
|
|
37
|
-
target: InquiryIntervalTarget;
|
|
38
|
-
start: Date | null;
|
|
39
|
-
end: Date | null;
|
|
40
|
-
}
|
|
41
|
-
export interface InquiryOptionDTO {
|
|
42
|
-
inquiryStateList?: InquiryState[];
|
|
43
|
-
memberTypeList?: MemberType[];
|
|
44
|
-
memberId?: string;
|
|
45
|
-
}
|
|
46
|
-
export interface InquirySearchDTO {
|
|
47
|
-
/**
|
|
48
|
-
* 성명 검색시 값 입력
|
|
49
|
-
*/
|
|
50
|
-
name_real?: string;
|
|
51
|
-
/**
|
|
52
|
-
* 닉네임 검색시 값 입력
|
|
53
|
-
*/
|
|
54
|
-
name_nick?: string;
|
|
55
|
-
/**
|
|
56
|
-
* 제목 검색 시
|
|
57
|
-
*/
|
|
58
|
-
title?: string;
|
|
59
|
-
/**
|
|
60
|
-
* 내용 검색 시
|
|
61
|
-
*/
|
|
62
|
-
content?: string;
|
|
63
|
-
}
|
|
64
|
-
export interface InquiryAdditionalInfoDTO {
|
|
65
|
-
/** true일 경우 응답 내에 state별 숫자가 나옵니다. */
|
|
66
|
-
inquiryState?: boolean;
|
|
67
|
-
}
|
|
68
|
-
/** 어드민이 일대일 문의 리스트 검색하여 출력 */
|
|
69
|
-
export interface InquiryGetListDTO {
|
|
70
|
-
skip?: number;
|
|
71
|
-
take: number;
|
|
72
|
-
interval?: InquiryIntervalDTO;
|
|
73
|
-
option?: InquiryOptionDTO;
|
|
74
|
-
search?: InquirySearchDTO;
|
|
75
|
-
additionalInfo?: InquiryAdditionalInfoDTO;
|
|
76
|
-
}
|
|
77
|
-
export interface InquiryAnswerDTO extends InquiryIdDTO {
|
|
78
|
-
answerContent: string;
|
|
79
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./dto"), exports);
|
|
18
|
-
__exportStar(require("./interface"), exports);
|
|
19
|
-
__exportStar(require("./type"), exports);
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { FileInfo } from "../file";
|
|
2
|
-
import { MemberShort } from "../member";
|
|
3
|
-
import { InquiryState } from "./type";
|
|
4
|
-
/** 일대일 문의 상세 내용 */
|
|
5
|
-
export interface InquiryDetailInfo extends InquiryShortInfo {
|
|
6
|
-
/** 문의 내용 */
|
|
7
|
-
content: string;
|
|
8
|
-
/** 첨부파일 */
|
|
9
|
-
file_1: FileInfo | null;
|
|
10
|
-
file_2: FileInfo | null;
|
|
11
|
-
/** 답변 내용 */
|
|
12
|
-
answerContent: string | null;
|
|
13
|
-
}
|
|
14
|
-
/** 일대일 문의 리스트 내 내용 */
|
|
15
|
-
export interface InquiryShortInfo {
|
|
16
|
-
id: string;
|
|
17
|
-
member: MemberShort;
|
|
18
|
-
/** 답변자 정보 */
|
|
19
|
-
answerer: MemberShort | null;
|
|
20
|
-
state: InquiryState;
|
|
21
|
-
type: string;
|
|
22
|
-
title: string;
|
|
23
|
-
submitted_at: Date;
|
|
24
|
-
answered_at: Date | null;
|
|
25
|
-
}
|
|
26
|
-
/** 일대일 문의 리스트 검색 결과 */
|
|
27
|
-
export interface InquirySearchList {
|
|
28
|
-
totalCount: number;
|
|
29
|
-
data: InquiryShortInfo[];
|
|
30
|
-
additionalInfo: {
|
|
31
|
-
/** 요청시 inquiryState: true일 경우 정의됩니다 */
|
|
32
|
-
state?: {
|
|
33
|
-
submitted: number;
|
|
34
|
-
answered: number;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare const InquiryIntervalTarget: {
|
|
2
|
-
readonly submitted_at: "submitted_at";
|
|
3
|
-
readonly answered_at: "answered_at";
|
|
4
|
-
};
|
|
5
|
-
export type InquiryIntervalTarget = keyof typeof InquiryIntervalTarget;
|
|
6
|
-
/**
|
|
7
|
-
* @submitted 제출된 상태
|
|
8
|
-
* @answered 관리자가 답변을 준 상태
|
|
9
|
-
*/
|
|
10
|
-
export declare const InquiryState: {
|
|
11
|
-
readonly submitted: "submitted";
|
|
12
|
-
readonly answered: "answered";
|
|
13
|
-
};
|
|
14
|
-
export type InquiryState = keyof typeof InquiryState;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.InquiryState = exports.InquiryIntervalTarget = void 0;
|
|
4
|
-
exports.InquiryIntervalTarget = {
|
|
5
|
-
submitted_at: "submitted_at",
|
|
6
|
-
answered_at: "answered_at",
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* @submitted 제출된 상태
|
|
10
|
-
* @answered 관리자가 답변을 준 상태
|
|
11
|
-
*/
|
|
12
|
-
exports.InquiryState = {
|
|
13
|
-
submitted: "submitted",
|
|
14
|
-
answered: "answered",
|
|
15
|
-
};
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
/** DTO는 서버단에 요청을 보낼 때 사용하는 클래스 유형으로 서버단에서 이 곳에 정의된 대로 유효성 검사를 처리합니다. */
|
|
2
|
-
export interface InsuranceCompanyIdDTO {
|
|
3
|
-
/** 보험사 아이디값 */
|
|
4
|
-
id: number;
|
|
5
|
-
}
|
|
6
|
-
export interface InsuranceCompanyCreateDTO {
|
|
7
|
-
/** 생성 보험사 이름 */
|
|
8
|
-
name: string;
|
|
9
|
-
/** 보험사 로고 이미지 URL
|
|
10
|
-
* @example https://cdn.carsayo.net/resource/insurance/company/logo/meritz.svg
|
|
11
|
-
*/
|
|
12
|
-
logo_url: string;
|
|
13
|
-
/** 보험사 테마 색상(HEX) */
|
|
14
|
-
theme_color: string;
|
|
15
|
-
/** 보험사 테마 배경색상(HEX) */
|
|
16
|
-
theme_bgcolor: string;
|
|
17
|
-
/** 다이렉트 보험명 */
|
|
18
|
-
direct_title: string;
|
|
19
|
-
/** 설명 */
|
|
20
|
-
direct_description: string;
|
|
21
|
-
/** 긴급출동번호 (NumberString)
|
|
22
|
-
* @example 15880100
|
|
23
|
-
*/
|
|
24
|
-
direct_emergency_contact: string;
|
|
25
|
-
/** 웹 가입 URL */
|
|
26
|
-
direct_signup_url_web?: string;
|
|
27
|
-
/** 모바일 웹 가입 URL */
|
|
28
|
-
direct_signup_url_mobile?: string;
|
|
29
|
-
/** 가입 전화번호 */
|
|
30
|
-
direct_signup_tel?: string;
|
|
31
|
-
/** 심의필 문구
|
|
32
|
-
* @example 메리츠화재 준법감시인심의필 제2023-광고-1427호 (2023.07.14 ~ 2024.07.13)
|
|
33
|
-
*/
|
|
34
|
-
direct_certification?: string;
|
|
35
|
-
}
|
|
36
|
-
export interface InsuranceCompanyUpdateDTO extends InsuranceCompanyIdDTO {
|
|
37
|
-
/** 생성 보험사 이름 */
|
|
38
|
-
name?: string;
|
|
39
|
-
/** 보험사 로고 이미지 URL
|
|
40
|
-
* @example https://cdn.carsayo.net/resource/insurance/company/logo/meritz.svg
|
|
41
|
-
*/
|
|
42
|
-
logo_url?: string;
|
|
43
|
-
/** 보험사 테마 색상(HEX) */
|
|
44
|
-
theme_color?: string;
|
|
45
|
-
/** 보험사 테마 배경색상(HEX) */
|
|
46
|
-
theme_bgcolor?: string;
|
|
47
|
-
/** 다이렉트 보험명 */
|
|
48
|
-
direct_title?: string;
|
|
49
|
-
/** 설명 */
|
|
50
|
-
direct_description?: string;
|
|
51
|
-
/** 긴급출동번호 (NumberString)
|
|
52
|
-
* @example 15880100
|
|
53
|
-
*/
|
|
54
|
-
direct_emergency_contact?: string;
|
|
55
|
-
/** 웹 가입 URL */
|
|
56
|
-
direct_signup_url_web?: string;
|
|
57
|
-
/** 모바일 웹 가입 URL */
|
|
58
|
-
direct_signup_url_mobile?: string;
|
|
59
|
-
/** 가입 전화번호 */
|
|
60
|
-
direct_signup_tel?: string;
|
|
61
|
-
/** 심의필 문구
|
|
62
|
-
* @example 메리츠화재 준법감시인심의필 제2023-광고-1427호 (2023.07.14 ~ 2024.07.13)
|
|
63
|
-
*/
|
|
64
|
-
direct_certification?: string;
|
|
65
|
-
/** 활성화된 보험사 여부
|
|
66
|
-
* @description 보험사 리스트 조회 시 isValid=true를 무조건 검사합니다.
|
|
67
|
-
*/
|
|
68
|
-
is_valid?: boolean;
|
|
69
|
-
/** 판매중인 보험사 여부
|
|
70
|
-
* @description 판매중인 상품 조회 시 isSelling=true인 상품만 조회합니다.
|
|
71
|
-
*/
|
|
72
|
-
is_selling?: boolean;
|
|
73
|
-
/** 카사요 인슈어런스에서 사용합니다. */
|
|
74
|
-
is_insurance?: boolean;
|
|
75
|
-
/** 정렬용 값 */
|
|
76
|
-
order_index?: number;
|
|
77
|
-
}
|
|
78
|
-
export interface InsuranceCompanyOrderDTO extends InsuranceCompanyIdDTO {
|
|
79
|
-
/** 정렬용 값
|
|
80
|
-
* @notice 큰 값이 먼저 출력됩니다.
|
|
81
|
-
*/
|
|
82
|
-
order_index: number;
|
|
83
|
-
}
|
|
84
|
-
/** 보험사 순서 데이터 일괄변경용 */
|
|
85
|
-
export interface InsuranceCompanyOrderUpdateDTO {
|
|
86
|
-
/** 최소 1개 이상의 값이 존재하여야 합니다 */
|
|
87
|
-
data: InsuranceCompanyOrderDTO[];
|
|
88
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./dto"), exports);
|
|
18
|
-
__exportStar(require("./interface"), exports);
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
export interface InsuranceCompany {
|
|
2
|
-
/** 보험사 아이디값 */
|
|
3
|
-
id: number;
|
|
4
|
-
/** 유형 */
|
|
5
|
-
type: string;
|
|
6
|
-
/** 보험사 이름 */
|
|
7
|
-
name: string;
|
|
8
|
-
/** 보험사 로고 URL
|
|
9
|
-
* @example https://cdn.carsayo.net/resource/insurance/company/logo/meritz.svg
|
|
10
|
-
*/
|
|
11
|
-
logo_url: string;
|
|
12
|
-
/** 보험사 테마 색상(HEX) */
|
|
13
|
-
theme_color: string;
|
|
14
|
-
/** 보험사 테마 배경색상(HEX) */
|
|
15
|
-
theme_bgcolor: string;
|
|
16
|
-
/** 다이렉트 자동차보험 */
|
|
17
|
-
direct: InsuranceCompanyDirect;
|
|
18
|
-
}
|
|
19
|
-
/** 보험사 제공 다이렉트 보험 서비스 */
|
|
20
|
-
export interface InsuranceCompanyDirect {
|
|
21
|
-
/** 다이렉트 보험명 */
|
|
22
|
-
title: string;
|
|
23
|
-
/** 설명
|
|
24
|
-
* @notice html형태입니다.
|
|
25
|
-
*/
|
|
26
|
-
description: string;
|
|
27
|
-
/** 긴급출동번호 */
|
|
28
|
-
emergency_contact: string;
|
|
29
|
-
/** 심의필 문구
|
|
30
|
-
* @example 메리츠화재 준법감시인심의필 제2023-광고-1427호 (2023.07.14 ~ 2024.07.13)
|
|
31
|
-
*/
|
|
32
|
-
certification: string | null;
|
|
33
|
-
/** 웹 가입 URL */
|
|
34
|
-
signup_url_web: string | null;
|
|
35
|
-
/** 모바일 웹 가입 URL */
|
|
36
|
-
signup_url_mobile: string | null;
|
|
37
|
-
/** 가입 전화번호 */
|
|
38
|
-
signup_tel: string | null;
|
|
39
|
-
}
|
|
40
|
-
/** 관리자용 추가데이터 */
|
|
41
|
-
export interface InsuranceCompany_Admin extends InsuranceCompany {
|
|
42
|
-
/** 활성화된 보험사 여부
|
|
43
|
-
* @description 보험사 리스트 조회 시 isValid=true를 무조건 검사합니다.
|
|
44
|
-
*/
|
|
45
|
-
is_valid: boolean;
|
|
46
|
-
/** 판매중인 보험사 여부
|
|
47
|
-
* @description 판매중인 상품 조회 시 isSelling=true인 상품만 조회합니다.
|
|
48
|
-
*/
|
|
49
|
-
is_selling: boolean;
|
|
50
|
-
count: {
|
|
51
|
-
/** 등록된 차량 수(일반회원이 등록한 차량) */
|
|
52
|
-
registeredCar: number;
|
|
53
|
-
/** 사고 접수 수 */
|
|
54
|
-
accidentRegistered: number;
|
|
55
|
-
};
|
|
56
|
-
created_at: Date;
|
|
57
|
-
updated_at: Date;
|
|
58
|
-
}
|