@yolo-croket-dev/entity-v2 0.2.95 → 0.2.96-hj-2
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.
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
export declare enum AttributionPlatformEnum {
|
|
2
|
+
ANDROID = "android",
|
|
3
|
+
IOS = "ios",
|
|
4
|
+
DESKTOP = "desktop"
|
|
5
|
+
}
|
|
6
|
+
export declare enum AttributionChannelEnum {
|
|
7
|
+
NAVER = "naver",
|
|
8
|
+
KAKAO = "kakao",
|
|
9
|
+
META = "meta",
|
|
10
|
+
GOOGLE = "google"
|
|
11
|
+
}
|
|
12
|
+
export interface AttributionUtmGroup {
|
|
13
|
+
utm_source?: string;
|
|
14
|
+
utm_medium?: string;
|
|
15
|
+
utm_campaign?: string;
|
|
16
|
+
utm_content?: string;
|
|
17
|
+
utm_term?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface AttributionNaver {
|
|
20
|
+
ad_type?: string;
|
|
21
|
+
n_media?: string;
|
|
22
|
+
n_query?: string;
|
|
23
|
+
n_rank?: string;
|
|
24
|
+
n_ad_group?: string;
|
|
25
|
+
n_ad?: string;
|
|
26
|
+
n_keyword_id?: string;
|
|
27
|
+
n_keyword?: string;
|
|
28
|
+
n_match?: string;
|
|
29
|
+
n_campaign_type?: string;
|
|
30
|
+
n_mail_pid?: string;
|
|
31
|
+
n_mail_id?: string;
|
|
32
|
+
}
|
|
33
|
+
export interface AttributionKakao {
|
|
34
|
+
kclid?: string;
|
|
35
|
+
}
|
|
36
|
+
export interface AttributionMeta {
|
|
37
|
+
fbclid?: string;
|
|
38
|
+
ad_id?: string;
|
|
39
|
+
adset_id?: string;
|
|
40
|
+
campaign_id?: string;
|
|
41
|
+
placement?: string;
|
|
42
|
+
platform?: string;
|
|
43
|
+
}
|
|
44
|
+
export interface AttributionGoogle {
|
|
45
|
+
gclid?: string;
|
|
46
|
+
keyword?: string;
|
|
47
|
+
matchtype?: string;
|
|
48
|
+
campaign_id?: string;
|
|
49
|
+
network?: string;
|
|
50
|
+
adposition?: string;
|
|
51
|
+
}
|
|
52
|
+
export declare enum AttributionTouchTypeEnum {
|
|
53
|
+
/** 내부 */
|
|
54
|
+
INTERNAL = "internal",
|
|
55
|
+
/** 외부 */
|
|
56
|
+
EXTERNAL = "external"
|
|
57
|
+
}
|
|
58
|
+
export interface AttributionTouchEntity {
|
|
59
|
+
_id: string;
|
|
60
|
+
/** 아이피 */
|
|
61
|
+
ip: string;
|
|
62
|
+
/** 운영체제 */
|
|
63
|
+
platform: AttributionPlatformEnum;
|
|
64
|
+
/** 어트리 뷰션 아이디 */
|
|
65
|
+
attributionId?: string;
|
|
66
|
+
/** 만료 날짜 ttl 처리 */
|
|
67
|
+
expired_ttl: Date;
|
|
68
|
+
/** 채널 */
|
|
69
|
+
channel?: AttributionChannelEnum;
|
|
70
|
+
/** utm 그룹 */
|
|
71
|
+
utmGroup?: AttributionUtmGroup;
|
|
72
|
+
/** 네이버 */
|
|
73
|
+
naver?: AttributionNaver;
|
|
74
|
+
/** 카카오 */
|
|
75
|
+
kakao?: AttributionKakao;
|
|
76
|
+
/** 메타 */
|
|
77
|
+
meta?: AttributionMeta;
|
|
78
|
+
/** 구글 */
|
|
79
|
+
google?: AttributionGoogle;
|
|
80
|
+
referrer?: string;
|
|
81
|
+
landingUrl?: string;
|
|
82
|
+
type: AttributionTouchTypeEnum;
|
|
83
|
+
event?: string;
|
|
84
|
+
params?: string;
|
|
85
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AttributionTouchTypeEnum = exports.AttributionChannelEnum = exports.AttributionPlatformEnum = void 0;
|
|
4
|
+
var AttributionPlatformEnum;
|
|
5
|
+
(function (AttributionPlatformEnum) {
|
|
6
|
+
AttributionPlatformEnum["ANDROID"] = "android";
|
|
7
|
+
AttributionPlatformEnum["IOS"] = "ios";
|
|
8
|
+
AttributionPlatformEnum["DESKTOP"] = "desktop";
|
|
9
|
+
})(AttributionPlatformEnum || (exports.AttributionPlatformEnum = AttributionPlatformEnum = {}));
|
|
10
|
+
var AttributionChannelEnum;
|
|
11
|
+
(function (AttributionChannelEnum) {
|
|
12
|
+
AttributionChannelEnum["NAVER"] = "naver";
|
|
13
|
+
AttributionChannelEnum["KAKAO"] = "kakao";
|
|
14
|
+
AttributionChannelEnum["META"] = "meta";
|
|
15
|
+
AttributionChannelEnum["GOOGLE"] = "google";
|
|
16
|
+
})(AttributionChannelEnum || (exports.AttributionChannelEnum = AttributionChannelEnum = {}));
|
|
17
|
+
var AttributionTouchTypeEnum;
|
|
18
|
+
(function (AttributionTouchTypeEnum) {
|
|
19
|
+
/** 내부 */
|
|
20
|
+
AttributionTouchTypeEnum["INTERNAL"] = "internal";
|
|
21
|
+
/** 외부 */
|
|
22
|
+
AttributionTouchTypeEnum["EXTERNAL"] = "external";
|
|
23
|
+
})(AttributionTouchTypeEnum || (exports.AttributionTouchTypeEnum = AttributionTouchTypeEnum = {}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './attrobution-touch.entity';
|
|
@@ -0,0 +1,17 @@
|
|
|
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("./attrobution-touch.entity"), exports);
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -67,3 +67,4 @@ __exportStar(require("./brand.modules/brand-bookmark"), exports);
|
|
|
67
67
|
__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
|
+
__exportStar(require("./attribution-touch"), exports);
|