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

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/index.d.ts CHANGED
@@ -51,4 +51,3 @@ export * from './brand.modules/brand-bookmark';
51
51
  export * from './brand.modules/brand-log';
52
52
  export * from './daily-random-coupon-noti-user';
53
53
  export * from './store-item.modules';
54
- export * from './attribution-touch';
package/index.js CHANGED
@@ -67,4 +67,3 @@ __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);
@@ -24,8 +24,8 @@ export declare enum NaverSearchAdExcelStatusEnum {
24
24
  done = "done"
25
25
  }
26
26
  export interface NaverSearchAdExcelSearchInfo {
27
- /** 캠페인 ID (필수) */
28
- nccCampaignId: string;
27
+ /** 캠페인 ID (선택) */
28
+ nccCampaignId?: string;
29
29
  /** 광고그룹 ID (선택) */
30
30
  nccAdgroupId?: string;
31
31
  /** 소재 ID (선택) */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.2.96-hjj-9",
3
+ "version": "0.2.96",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",
@@ -237,7 +237,5 @@ export default interface UserEntity {
237
237
  needsPhoneVerification?: boolean;
238
238
  /** @description 유저 배송지 정보 목록 */
239
239
  shippingAddresses?: UserShippingAddressesEntity[];
240
- /** @description 어트리뷰션터치 추적용 아이디 */
241
- attributionId?: string;
242
240
  }
243
241
  export { UserEntity };
@@ -1,86 +0,0 @@
1
- import { Types } from 'mongoose';
2
- export declare enum AttributionPlatformEnum {
3
- ANDROID = "android",
4
- IOS = "ios",
5
- DESKTOP = "desktop"
6
- }
7
- export declare enum AttributionChannelEnum {
8
- NAVER = "naver",
9
- KAKAO = "kakao",
10
- META = "meta",
11
- GOOGLE = "google"
12
- }
13
- export interface AttributionUtmGroup {
14
- utm_source?: string;
15
- utm_medium?: string;
16
- utm_campaign?: string;
17
- utm_content?: string;
18
- utm_term?: string;
19
- }
20
- export interface AttributionNaver {
21
- ad_type?: string;
22
- n_media?: string;
23
- n_query?: string;
24
- n_rank?: number;
25
- n_ad_group?: string;
26
- n_ad?: string;
27
- n_keyword_id?: string;
28
- n_keyword?: string;
29
- n_match?: number;
30
- n_campaign_type?: number;
31
- n_mail_pid?: string;
32
- n_mail_id?: string;
33
- }
34
- export interface AttributionKakao {
35
- kclid?: string;
36
- }
37
- export interface AttributionMeta {
38
- fbclid?: string;
39
- ad_id?: string;
40
- adset_id?: string;
41
- campaign_id?: string;
42
- placement?: string;
43
- platform?: string;
44
- }
45
- export interface AttributionGoogle {
46
- gclid?: string;
47
- keyword?: string;
48
- matchtype?: string;
49
- campaign_id?: string;
50
- network?: string;
51
- adposition?: string;
52
- }
53
- export declare enum AttributionTouchTypeEnum {
54
- /** 내부 */
55
- INTERNAL = "internal",
56
- /** 외부 */
57
- EXTERNAL = "external"
58
- }
59
- export interface AttributionTouchEntity {
60
- _id: Types.ObjectId;
61
- /** 아이피 */
62
- ip: string;
63
- /** 운영체제 */
64
- platform: AttributionPlatformEnum;
65
- /** 어트리 뷰션 아이디 */
66
- attributionId?: string;
67
- /** 만료 날짜 ttl 처리 */
68
- expired_ttl?: Date;
69
- /** 채널 */
70
- channel?: AttributionChannelEnum;
71
- /** utm 그룹 */
72
- utmGroup?: AttributionUtmGroup;
73
- /** 네이버 */
74
- naver?: AttributionNaver;
75
- /** 카카오 */
76
- kakao?: AttributionKakao;
77
- /** 메타 */
78
- meta?: AttributionMeta;
79
- /** 구글 */
80
- google?: AttributionGoogle;
81
- referrer?: string;
82
- landingUrl?: string;
83
- type: AttributionTouchTypeEnum;
84
- event?: string;
85
- params?: string;
86
- }
@@ -1,23 +0,0 @@
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 = {}));
@@ -1 +0,0 @@
1
- export * from './attrobution-touch.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("./attrobution-touch.entity"), exports);