@yolo-croket-dev/entity-v2 0.2.96-hj-19 → 0.2.96-hjj-9

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.
@@ -1,7 +1,7 @@
1
1
  import { Types } from 'mongoose';
2
2
  export declare enum AttributionPlatformEnum {
3
3
  ANDROID = "android",
4
- IOS = "iOS",
4
+ IOS = "ios",
5
5
  DESKTOP = "desktop"
6
6
  }
7
7
  export declare enum AttributionChannelEnum {
@@ -57,7 +57,7 @@ export declare enum AttributionTouchTypeEnum {
57
57
  EXTERNAL = "external"
58
58
  }
59
59
  export interface AttributionTouchEntity {
60
- _id: Types.ObjectId | string;
60
+ _id: Types.ObjectId;
61
61
  /** 아이피 */
62
62
  ip: string;
63
63
  /** 운영체제 */
@@ -66,8 +66,6 @@ export interface AttributionTouchEntity {
66
66
  attributionId?: string;
67
67
  /** 만료 날짜 ttl 처리 */
68
68
  expired_ttl?: Date;
69
- /** 터치 시간 - 생성일 */
70
- touchTime: Date;
71
69
  /** 채널 */
72
70
  channel?: AttributionChannelEnum;
73
71
  /** utm 그룹 */
@@ -83,7 +81,6 @@ export interface AttributionTouchEntity {
83
81
  referrer?: string;
84
82
  landingUrl?: string;
85
83
  type: AttributionTouchTypeEnum;
86
- userId?: Types.ObjectId | string;
87
84
  event?: string;
88
85
  params?: string;
89
86
  }
@@ -4,7 +4,7 @@ exports.AttributionTouchTypeEnum = exports.AttributionChannelEnum = exports.Attr
4
4
  var AttributionPlatformEnum;
5
5
  (function (AttributionPlatformEnum) {
6
6
  AttributionPlatformEnum["ANDROID"] = "android";
7
- AttributionPlatformEnum["IOS"] = "iOS";
7
+ AttributionPlatformEnum["IOS"] = "ios";
8
8
  AttributionPlatformEnum["DESKTOP"] = "desktop";
9
9
  })(AttributionPlatformEnum || (exports.AttributionPlatformEnum = AttributionPlatformEnum = {}));
10
10
  var AttributionChannelEnum;
package/index.d.ts CHANGED
@@ -52,4 +52,3 @@ export * from './brand.modules/brand-log';
52
52
  export * from './daily-random-coupon-noti-user';
53
53
  export * from './store-item.modules';
54
54
  export * from './attribution-touch';
55
- export * from './attribution-history';
package/index.js CHANGED
@@ -68,4 +68,3 @@ __exportStar(require("./brand.modules/brand-log"), exports);
68
68
  __exportStar(require("./daily-random-coupon-noti-user"), exports);
69
69
  __exportStar(require("./store-item.modules"), exports);
70
70
  __exportStar(require("./attribution-touch"), exports);
71
- __exportStar(require("./attribution-history"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.2.96-hj-19",
3
+ "version": "0.2.96-hjj-9",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",
@@ -237,5 +237,7 @@ export default interface UserEntity {
237
237
  needsPhoneVerification?: boolean;
238
238
  /** @description 유저 배송지 정보 목록 */
239
239
  shippingAddresses?: UserShippingAddressesEntity[];
240
+ /** @description 어트리뷰션터치 추적용 아이디 */
241
+ attributionId?: string;
240
242
  }
241
243
  export { UserEntity };
@@ -1,9 +0,0 @@
1
- import { Types } from 'mongoose';
2
- import { AttributionTouchEntity } from '../attribution-touch';
3
- export interface AttributionHistoryEntity {
4
- _id: Types.ObjectId | string;
5
- userId: Types.ObjectId | string;
6
- pInfoIds: Types.ObjectId[] | string[];
7
- regDate: Date;
8
- histories: AttributionTouchEntity[];
9
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1 +0,0 @@
1
- export * from './attribution-history.entity';
@@ -1,17 +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("./attribution-history.entity"), exports);