@yolo-croket-dev/entity-v2 0.2.69-item-group-15 → 0.2.70-item-group-0
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
CHANGED
package/user/index.d.ts
CHANGED
package/user/index.js
CHANGED
|
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./user.entity"), exports);
|
|
18
18
|
__exportStar(require("./user-for-admin.entity"), exports);
|
|
19
|
+
__exportStar(require("./user-shipping-addresses.entity"), exports);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Types } from 'mongoose';
|
|
2
|
+
/** 유저 배송지 정보 목록 엔티티 */
|
|
3
|
+
export interface UserShippingAddressesEntity {
|
|
4
|
+
_id: Types.ObjectId;
|
|
5
|
+
/** 수령인 이름 */
|
|
6
|
+
buyerName: string;
|
|
7
|
+
/** 우편번호 */
|
|
8
|
+
buyerPostCode: string;
|
|
9
|
+
/** 영문명 성 */
|
|
10
|
+
buyerEngLastName?: string;
|
|
11
|
+
/** 영문명 이름 */
|
|
12
|
+
buyerEngFirstName?: string;
|
|
13
|
+
/** 휴대폰번호 */
|
|
14
|
+
buyerPhoneNumber: string;
|
|
15
|
+
/** 기본 주소 */
|
|
16
|
+
buyerAddress1: string;
|
|
17
|
+
/** 상세 주소 */
|
|
18
|
+
buyerAddress2: string;
|
|
19
|
+
/** 개인통관고유부호 */
|
|
20
|
+
PCCC?: string;
|
|
21
|
+
/** 별칭 (기본값: 공백) */
|
|
22
|
+
alias?: string;
|
|
23
|
+
}
|
package/user/user.entity.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Types } from 'mongoose';
|
|
2
|
+
import { UserShippingAddressesEntity } from './user-shipping-addresses.entity';
|
|
2
3
|
export declare enum DEVICE_TYPE {
|
|
3
4
|
AND = "AND",
|
|
4
5
|
IOS = "IOS"
|
|
@@ -234,5 +235,7 @@ export default interface UserEntity {
|
|
|
234
235
|
isGuest?: boolean;
|
|
235
236
|
/** @description 휴대폰 인증 필요한 유저 (SNS 간편 가입 유저일 경우 1회 휴대폰 인증 필요 - 이후 인증한 휴대폰 번호로 phoneNumber 업데이트) */
|
|
236
237
|
needsPhoneVerification?: boolean;
|
|
238
|
+
/** @description 유저 배송지 정보 목록 */
|
|
239
|
+
shippingAddresses?: UserShippingAddressesEntity[];
|
|
237
240
|
}
|
|
238
241
|
export { UserEntity };
|