@yolo-croket-dev/entity-v2 0.2.170 → 0.2.173
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/package.json
CHANGED
|
@@ -856,14 +856,6 @@ export declare enum CrawlerProxyOrderStatusEnum {
|
|
|
856
856
|
WAREHOUSE_DONE = "WAREHOUSE_DONE",
|
|
857
857
|
HOLD = "HOLD"
|
|
858
858
|
}
|
|
859
|
-
/** @description 크롤링 상품 대신 주문 Slack 알림 상태 */
|
|
860
|
-
export declare enum CrawlerProxyOrderSlackNotificationStatusEnum {
|
|
861
|
-
PENDING = "PENDING",
|
|
862
|
-
WAITING = "WAITING",
|
|
863
|
-
PROCESSING = "PROCESSING",
|
|
864
|
-
SENT = "SENT",
|
|
865
|
-
RETRY_WAIT = "RETRY_WAIT"
|
|
866
|
-
}
|
|
867
859
|
/** @description 결제 시점에 복사된 크롤링 상품 단위 snapshot */
|
|
868
860
|
export interface CrawlerPurchaseUnitSnapshotInfo {
|
|
869
861
|
/** item-crawler의 crawling_item_host.id */
|
|
@@ -925,29 +917,6 @@ export interface CrawlerPurchaseInfo extends CrawlerPurchaseUnitSnapshotInfo {
|
|
|
925
917
|
appliedTotalPrice: number;
|
|
926
918
|
/** snapshot 생성일 */
|
|
927
919
|
snapshotCreatedAt: Date;
|
|
928
|
-
/** 대신 주문 Slack 알림 작업 상태 */
|
|
929
|
-
slackNotification?: CrawlerProxyOrderSlackNotification;
|
|
930
|
-
}
|
|
931
|
-
/** @description 크롤링 상품 대신 주문 Slack 알림 작업 */
|
|
932
|
-
export interface CrawlerProxyOrderSlackNotification {
|
|
933
|
-
/** 발송 상태 */
|
|
934
|
-
status: CrawlerProxyOrderSlackNotificationStatusEnum;
|
|
935
|
-
/** 발송 시도 횟수 */
|
|
936
|
-
attempts: number;
|
|
937
|
-
/** 다음 발송 시도 시각 */
|
|
938
|
-
nextAttemptAt: Date;
|
|
939
|
-
/** 현재 워커 점유 식별자 */
|
|
940
|
-
lockId?: string;
|
|
941
|
-
/** 작업 점유 만료 시각 */
|
|
942
|
-
lockedUntil?: Date;
|
|
943
|
-
/** 마지막 발송 오류 */
|
|
944
|
-
lastError?: string;
|
|
945
|
-
/** 발송 완료 시각 */
|
|
946
|
-
sentAt?: Date;
|
|
947
|
-
/** 작업 생성일 */
|
|
948
|
-
createdAt: Date;
|
|
949
|
-
/** 작업 수정일 */
|
|
950
|
-
updatedAt: Date;
|
|
951
920
|
}
|
|
952
921
|
/** @description 크롤링 상품 대신 주문 정보 변경 필드 */
|
|
953
922
|
export interface CrawlerProxyOrderInfoChangedFields {
|
|
@@ -1011,16 +980,29 @@ export interface CrawlerProxyOrderInfoChangeLog {
|
|
|
1011
980
|
}
|
|
1012
981
|
/** @description 대신 주문 배대지 마스터 변경 로그 */
|
|
1013
982
|
export interface CrawlerForwardingAgentChangeLog {
|
|
1014
|
-
previous?: Partial<Pick<CrawlerForwardingAgent, 'name' | 'address' | 'isActive'>>;
|
|
1015
|
-
next?: Partial<Pick<CrawlerForwardingAgent, 'name' | 'address' | 'isActive'>>;
|
|
983
|
+
previous?: Partial<Pick<CrawlerForwardingAgent, 'name' | 'address' | 'shippingAddress' | 'isActive'>>;
|
|
984
|
+
next?: Partial<Pick<CrawlerForwardingAgent, 'name' | 'address' | 'shippingAddress' | 'isActive'>>;
|
|
1016
985
|
changedByAdminId: Types.ObjectId | string;
|
|
1017
986
|
changedAt: Date;
|
|
1018
987
|
}
|
|
988
|
+
/** @description 대신 주문 배대지의 실제 배송지 주소 */
|
|
989
|
+
export interface CrawlerForwardingAgentShippingAddress {
|
|
990
|
+
countryOrRegion: string;
|
|
991
|
+
streetAddress1: string;
|
|
992
|
+
streetAddress2?: string;
|
|
993
|
+
city: string;
|
|
994
|
+
state: string;
|
|
995
|
+
zipCode: string;
|
|
996
|
+
phone: string;
|
|
997
|
+
}
|
|
1019
998
|
/** @description 대신 주문 배대지 마스터 */
|
|
1020
999
|
export interface CrawlerForwardingAgent {
|
|
1021
1000
|
_id: Types.ObjectId | string;
|
|
1022
1001
|
name: string;
|
|
1002
|
+
/** 배대지 사이트 링크 */
|
|
1023
1003
|
address: string;
|
|
1004
|
+
/** 기존 배대지 데이터와의 호환을 위해 선택값으로 둔다. */
|
|
1005
|
+
shippingAddress?: CrawlerForwardingAgentShippingAddress;
|
|
1024
1006
|
isActive: boolean;
|
|
1025
1007
|
createdAt: Date;
|
|
1026
1008
|
createdByAdminId: Types.ObjectId | string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PriceCompareAffiliateSettleStatusEnum = exports.PriceCompareAffiliateTypeEnum = exports.InsuranceProcessTypeEnum = exports.
|
|
3
|
+
exports.PriceCompareAffiliateSettleStatusEnum = exports.PriceCompareAffiliateTypeEnum = exports.InsuranceProcessTypeEnum = exports.CrawlerProxyOrderStatusEnum = exports.PastSelectionFrameDataInfo = exports.PurchasedProcessV2Enum = exports.PurchasedProcessEnum = exports.UserTypeEnum = exports.TaxInvoiceIssueProcessEnum = exports.POptionTypeEnum = exports.PInfoTypeEnum = exports.ReservationCancelReasonEnum = exports.CardQuotaEnum = void 0;
|
|
4
4
|
var CardQuotaEnum;
|
|
5
5
|
(function (CardQuotaEnum) {
|
|
6
6
|
CardQuotaEnum["\uC77C\uC2DC\uBD88"] = "00";
|
|
@@ -95,15 +95,6 @@ var CrawlerProxyOrderStatusEnum;
|
|
|
95
95
|
CrawlerProxyOrderStatusEnum["WAREHOUSE_DONE"] = "WAREHOUSE_DONE";
|
|
96
96
|
CrawlerProxyOrderStatusEnum["HOLD"] = "HOLD";
|
|
97
97
|
})(CrawlerProxyOrderStatusEnum || (exports.CrawlerProxyOrderStatusEnum = CrawlerProxyOrderStatusEnum = {}));
|
|
98
|
-
/** @description 크롤링 상품 대신 주문 Slack 알림 상태 */
|
|
99
|
-
var CrawlerProxyOrderSlackNotificationStatusEnum;
|
|
100
|
-
(function (CrawlerProxyOrderSlackNotificationStatusEnum) {
|
|
101
|
-
CrawlerProxyOrderSlackNotificationStatusEnum["PENDING"] = "PENDING";
|
|
102
|
-
CrawlerProxyOrderSlackNotificationStatusEnum["WAITING"] = "WAITING";
|
|
103
|
-
CrawlerProxyOrderSlackNotificationStatusEnum["PROCESSING"] = "PROCESSING";
|
|
104
|
-
CrawlerProxyOrderSlackNotificationStatusEnum["SENT"] = "SENT";
|
|
105
|
-
CrawlerProxyOrderSlackNotificationStatusEnum["RETRY_WAIT"] = "RETRY_WAIT";
|
|
106
|
-
})(CrawlerProxyOrderSlackNotificationStatusEnum || (exports.CrawlerProxyOrderSlackNotificationStatusEnum = CrawlerProxyOrderSlackNotificationStatusEnum = {}));
|
|
107
98
|
var InsuranceProcessTypeEnum;
|
|
108
99
|
(function (InsuranceProcessTypeEnum) {
|
|
109
100
|
InsuranceProcessTypeEnum["REG"] = "reg";
|