@carsayo/types 1.1.74 → 1.1.76
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/dist/types/modules/common/type.d.ts +1 -0
- package/dist/types/modules/common/type.js +1 -0
- package/dist/types/modules/promotion/24090500/dto.d.ts +7 -3
- package/dist/types/modules/promotion/24090500/index.d.ts +1 -0
- package/dist/types/modules/promotion/24090500/index.js +1 -0
- package/dist/types/modules/promotion/24090500/interface.d.ts +8 -2
- package/dist/types/modules/promotion/24090500/type.d.ts +15 -17
- package/dist/types/modules/promotion/24090500/type.js +15 -17
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Promotion_24090500_PaymentState, Promotion_24090500_State } from "./type";
|
|
2
2
|
export declare class Promotion_24090500_SubmitDTO {
|
|
3
|
-
type:
|
|
3
|
+
type: string;
|
|
4
4
|
/** 본명 */
|
|
5
5
|
name: string;
|
|
6
6
|
/** 휴대전화번호 (- 제외) */
|
|
@@ -23,6 +23,10 @@ export declare class Promotion_24090500_SearchListDTO {
|
|
|
23
23
|
* @notice undefined일 경우 전체 검색이 됩니다.
|
|
24
24
|
*/
|
|
25
25
|
state?: Promotion_24090500_State[];
|
|
26
|
+
/** 검색 상태 조건
|
|
27
|
+
* @notice undefined일 경우 전체 검색이 됩니다.
|
|
28
|
+
*/
|
|
29
|
+
paymentState?: Promotion_24090500_PaymentState[];
|
|
26
30
|
/** 검색 키워드
|
|
27
31
|
* @description 이름, 전화번호에 대하여 검색합니다.
|
|
28
32
|
*/
|
|
@@ -33,7 +37,7 @@ export declare class Promotion_24090500_UpdateDTO {
|
|
|
33
37
|
/** undefined일 때에는 데이터를 업데이트 하지 않습니다. */
|
|
34
38
|
state?: Promotion_24090500_State;
|
|
35
39
|
/** undefined일 때에는 데이터를 업데이트 하지 않습니다. */
|
|
36
|
-
|
|
40
|
+
paymentState?: Promotion_24090500_PaymentState;
|
|
37
41
|
/** undefined일 때에는 데이터를 업데이트 하지 않습니다. */
|
|
38
42
|
admin_memo?: string;
|
|
39
43
|
}
|
|
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
/** [240905] 카사요 웹 - 프리미엄 혜택 내 리스/장기렌트 비교견적 프로모션 */
|
|
17
18
|
__exportStar(require("./dto"), exports);
|
|
18
19
|
__exportStar(require("./interface"), exports);
|
|
19
20
|
__exportStar(require("./type"), exports);
|
|
@@ -1,9 +1,14 @@
|
|
|
1
|
+
import { DeviceType } from "../../common";
|
|
1
2
|
import { FileInfo } from "../../file";
|
|
2
|
-
import { Promotion_24090500_State,
|
|
3
|
+
import { Promotion_24090500_State, Promotion_24090500_PaymentState } from "./type";
|
|
3
4
|
export interface Promotion_24090500_Detail {
|
|
4
5
|
id: string;
|
|
6
|
+
/** 프로모션 주문 유형
|
|
7
|
+
* @example 만원의 견적 / 신차 구매 등 (해당 프로모션 명으로 이후 다른 이벤트가 추가 될 수 있음)
|
|
8
|
+
*/
|
|
9
|
+
type: string;
|
|
5
10
|
state: Promotion_24090500_State;
|
|
6
|
-
|
|
11
|
+
paymentState: Promotion_24090500_PaymentState;
|
|
7
12
|
name: string;
|
|
8
13
|
phoneNumber: string;
|
|
9
14
|
otherCompanyEstimateFile: FileInfo;
|
|
@@ -11,6 +16,7 @@ export interface Promotion_24090500_Detail {
|
|
|
11
16
|
refundInfo: string;
|
|
12
17
|
ip: string;
|
|
13
18
|
origin: string;
|
|
19
|
+
device: DeviceType;
|
|
14
20
|
admin_memo: string;
|
|
15
21
|
created_at: Date;
|
|
16
22
|
updated_at: Date;
|
|
@@ -1,24 +1,22 @@
|
|
|
1
1
|
export declare const Promotion_24090500_State: {
|
|
2
|
-
/** [
|
|
2
|
+
/** [신청] 최초 등록 완료 상태 */
|
|
3
3
|
readonly submitted: "submitted";
|
|
4
|
-
/** [
|
|
5
|
-
readonly
|
|
6
|
-
/** [
|
|
7
|
-
readonly progressing: "progressing";
|
|
8
|
-
/** [환불 중] 환불 처리를 진행하고 있습니다 */
|
|
9
|
-
readonly refunding: "refunding";
|
|
10
|
-
/** [종료] 모든 관련 내용이 정상적으로 종료되었습니다 */
|
|
4
|
+
/** [전달 완료] 온/오프라인상으로 계약서를 전달 완료한 상태(전달은 문자/메일 등 내부적으로 처리) */
|
|
5
|
+
readonly sended: "sended";
|
|
6
|
+
/** [계약] 해당 견적서로 계약이 완료된 경우 */
|
|
11
7
|
readonly finished: "finished";
|
|
12
|
-
/** [
|
|
8
|
+
/** [미계약] 신청 또는 전달 완료 상태에서 그 상태로 유지되는 케이스 */
|
|
13
9
|
readonly canceled: "canceled";
|
|
14
10
|
};
|
|
15
11
|
export type Promotion_24090500_State = keyof typeof Promotion_24090500_State;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
*/
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
12
|
+
export declare const Promotion_24090500_PaymentState: {
|
|
13
|
+
/** [대기중] */
|
|
14
|
+
readonly waiting: "waiting";
|
|
15
|
+
/** [입금 완료] */
|
|
16
|
+
readonly paid: "paid";
|
|
17
|
+
/** [환불 완료]
|
|
18
|
+
* @case 1. 카사요가 제시한 견적으로 자동차를 구매한 경우
|
|
19
|
+
* @case 2. 카사요가 제시한 견적이 타 견적서 보다 낮은 경우 */
|
|
20
|
+
readonly refunded: "refunded";
|
|
23
21
|
};
|
|
24
|
-
export type
|
|
22
|
+
export type Promotion_24090500_PaymentState = keyof typeof Promotion_24090500_PaymentState;
|
|
@@ -1,25 +1,23 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.Promotion_24090500_PaymentState = exports.Promotion_24090500_State = void 0;
|
|
4
4
|
exports.Promotion_24090500_State = {
|
|
5
|
-
/** [
|
|
5
|
+
/** [신청] 최초 등록 완료 상태 */
|
|
6
6
|
submitted: "submitted",
|
|
7
|
-
/** [
|
|
8
|
-
|
|
9
|
-
/** [
|
|
10
|
-
progressing: "progressing",
|
|
11
|
-
/** [환불 중] 환불 처리를 진행하고 있습니다 */
|
|
12
|
-
refunding: "refunding",
|
|
13
|
-
/** [종료] 모든 관련 내용이 정상적으로 종료되었습니다 */
|
|
7
|
+
/** [전달 완료] 온/오프라인상으로 계약서를 전달 완료한 상태(전달은 문자/메일 등 내부적으로 처리) */
|
|
8
|
+
sended: "sended",
|
|
9
|
+
/** [계약] 해당 견적서로 계약이 완료된 경우 */
|
|
14
10
|
finished: "finished",
|
|
15
|
-
/** [
|
|
11
|
+
/** [미계약] 신청 또는 전달 완료 상태에서 그 상태로 유지되는 케이스 */
|
|
16
12
|
canceled: "canceled",
|
|
17
13
|
};
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
14
|
+
exports.Promotion_24090500_PaymentState = {
|
|
15
|
+
/** [대기중] */
|
|
16
|
+
waiting: "waiting",
|
|
17
|
+
/** [입금 완료] */
|
|
18
|
+
paid: "paid",
|
|
19
|
+
/** [환불 완료]
|
|
20
|
+
* @case 1. 카사요가 제시한 견적으로 자동차를 구매한 경우
|
|
21
|
+
* @case 2. 카사요가 제시한 견적이 타 견적서 보다 낮은 경우 */
|
|
22
|
+
refunded: "refunded",
|
|
25
23
|
};
|