@yolo-croket-dev/entity-v2 0.2.96-hj-18 → 0.2.96-hj-20

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.
@@ -10,6 +10,16 @@ export declare enum AttributionChannelEnum {
10
10
  META = "meta",
11
11
  GOOGLE = "google"
12
12
  }
13
+ /**
14
+ * @description
15
+ * yg 정보
16
+ * 존재 이유: 기존 앱 버전은 utm 데이터를 상품 상세 페이지 에서만 읽기 때문에 외부용 utm 정보들을 수집 불가
17
+ * -> yg정보는 앱에서 언제든 추적 하기 때문에 외부에 yg 정보를 심어 마케팅 팀에서 사용하였음 (yg정보가 심어진 외부 광고가 많음)
18
+ * */
19
+ export interface AttributionYgGroup {
20
+ yg_type?: string;
21
+ yg_method?: string;
22
+ }
13
23
  export interface AttributionUtmGroup {
14
24
  utm_source?: string;
15
25
  utm_medium?: string;
@@ -65,9 +75,11 @@ export interface AttributionTouchEntity {
65
75
  /** 어트리 뷰션 아이디 */
66
76
  attributionId?: string;
67
77
  /** 만료 날짜 ttl 처리 */
68
- expired_ttl: Date;
78
+ expired_ttl?: Date;
69
79
  /** 터치 시간 - 생성일 */
70
80
  touchTime: Date;
81
+ /** ygGroup */
82
+ ygGroup?: AttributionYgGroup;
71
83
  /** 채널 */
72
84
  channel?: AttributionChannelEnum;
73
85
  /** utm 그룹 */
@@ -81,9 +93,13 @@ export interface AttributionTouchEntity {
81
93
  /** 구글 */
82
94
  google?: AttributionGoogle;
83
95
  referrer?: string;
96
+ /** 랜딩 url (해당 url의 프로퍼티에서 필요한 값들을 추출) */
84
97
  landingUrl?: string;
98
+ /** 터치 타입 (내부, 외부) */
85
99
  type: AttributionTouchTypeEnum;
86
100
  userId?: Types.ObjectId | string;
101
+ /** 내부용 이벤트 */
87
102
  event?: string;
103
+ /** 내부용 파라미터 */
88
104
  params?: string;
89
105
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.2.96-hj-18",
3
+ "version": "0.2.96-hj-20",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",