@yolo-croket-dev/entity-v2 0.2.120-jun.3 → 0.2.120-jun.4
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.
|
@@ -7,6 +7,21 @@ export declare enum AppPushSendLogTypeEnum {
|
|
|
7
7
|
/** 대량 앱푸시 */
|
|
8
8
|
대량 = "bulk"
|
|
9
9
|
}
|
|
10
|
+
/** 발송 실패 유형 */
|
|
11
|
+
export declare enum AppPushSendLogFailTypeEnum {
|
|
12
|
+
/** 등록되지 않은 토큰 */
|
|
13
|
+
UNREGISTERED_TOKEN = "UNREGISTERED_TOKEN",
|
|
14
|
+
/** 잘못된 토큰 형식 */
|
|
15
|
+
INVALID_TOKEN = "INVALID_TOKEN",
|
|
16
|
+
/** FCM 서버 오류 */
|
|
17
|
+
FCM_SERVER_ERROR = "FCM_SERVER_ERROR",
|
|
18
|
+
/** 할당량 초과 */
|
|
19
|
+
QUOTA_EXCEEDED = "QUOTA_EXCEEDED",
|
|
20
|
+
/** 광고 알림 수신 미동의 */
|
|
21
|
+
AD_PUSH_NOT_AGREED = "AD_PUSH_NOT_AGREED",
|
|
22
|
+
/** 분류되지 않은 오류 */
|
|
23
|
+
UNKNOWN = "UNKNOWN"
|
|
24
|
+
}
|
|
10
25
|
/** 앱 푸시 개별 발송 결과 로그 */
|
|
11
26
|
export interface AppPushSendLogEntity {
|
|
12
27
|
_id: Types.ObjectId;
|
|
@@ -19,13 +34,15 @@ export interface AppPushSendLogEntity {
|
|
|
19
34
|
/** 대량 푸시 로그 아이디 (type: bulk 일 때만) */
|
|
20
35
|
bulkPushLogId?: Types.ObjectId;
|
|
21
36
|
/** 발송 성공 여부 */
|
|
22
|
-
|
|
23
|
-
/** 실패
|
|
37
|
+
isSuccess: boolean;
|
|
38
|
+
/** 실패 유형 (카테고리화된 실패 분류, 실패 시에만) */
|
|
39
|
+
failType?: AppPushSendLogFailTypeEnum;
|
|
40
|
+
/** 실패 사유 원본 메시지 (실패 시에만) */
|
|
24
41
|
failureReason?: string;
|
|
25
42
|
/** 디바이스 토큰 */
|
|
26
|
-
deviceToken
|
|
43
|
+
deviceToken: string;
|
|
27
44
|
/** 디바이스 타입 (ios, android, etc) */
|
|
28
|
-
deviceType
|
|
45
|
+
deviceType: AppPushDeviceType;
|
|
29
46
|
/** 디바이스 정보 */
|
|
30
47
|
deviceInfo?: DeviceInfo;
|
|
31
48
|
/** 발송 시도 시간 */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AppPushSendLogTypeEnum = void 0;
|
|
3
|
+
exports.AppPushSendLogFailTypeEnum = exports.AppPushSendLogTypeEnum = void 0;
|
|
4
4
|
/** 발송 타입 */
|
|
5
5
|
var AppPushSendLogTypeEnum;
|
|
6
6
|
(function (AppPushSendLogTypeEnum) {
|
|
@@ -9,3 +9,19 @@ var AppPushSendLogTypeEnum;
|
|
|
9
9
|
/** 대량 앱푸시 */
|
|
10
10
|
AppPushSendLogTypeEnum["\uB300\uB7C9"] = "bulk";
|
|
11
11
|
})(AppPushSendLogTypeEnum || (exports.AppPushSendLogTypeEnum = AppPushSendLogTypeEnum = {}));
|
|
12
|
+
/** 발송 실패 유형 */
|
|
13
|
+
var AppPushSendLogFailTypeEnum;
|
|
14
|
+
(function (AppPushSendLogFailTypeEnum) {
|
|
15
|
+
/** 등록되지 않은 토큰 */
|
|
16
|
+
AppPushSendLogFailTypeEnum["UNREGISTERED_TOKEN"] = "UNREGISTERED_TOKEN";
|
|
17
|
+
/** 잘못된 토큰 형식 */
|
|
18
|
+
AppPushSendLogFailTypeEnum["INVALID_TOKEN"] = "INVALID_TOKEN";
|
|
19
|
+
/** FCM 서버 오류 */
|
|
20
|
+
AppPushSendLogFailTypeEnum["FCM_SERVER_ERROR"] = "FCM_SERVER_ERROR";
|
|
21
|
+
/** 할당량 초과 */
|
|
22
|
+
AppPushSendLogFailTypeEnum["QUOTA_EXCEEDED"] = "QUOTA_EXCEEDED";
|
|
23
|
+
/** 광고 알림 수신 미동의 */
|
|
24
|
+
AppPushSendLogFailTypeEnum["AD_PUSH_NOT_AGREED"] = "AD_PUSH_NOT_AGREED";
|
|
25
|
+
/** 분류되지 않은 오류 */
|
|
26
|
+
AppPushSendLogFailTypeEnum["UNKNOWN"] = "UNKNOWN";
|
|
27
|
+
})(AppPushSendLogFailTypeEnum || (exports.AppPushSendLogFailTypeEnum = AppPushSendLogFailTypeEnum = {}));
|