@yolo-croket-dev/entity-v2 0.3.0 → 0.3.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.
package/package.json
CHANGED
|
@@ -866,6 +866,12 @@ export declare enum CrawlerProxyForwardingStatusEnum {
|
|
|
866
866
|
DOMESTIC_SHIPPING = "DOMESTIC_SHIPPING",
|
|
867
867
|
DELIVERY_COMPLETED = "DELIVERY_COMPLETED"
|
|
868
868
|
}
|
|
869
|
+
/** @description 크롤링 상품 대신 주문 외화 통화 */
|
|
870
|
+
export declare enum CrawlerProxyOrderForeignCurrencyEnum {
|
|
871
|
+
USD = "USD",
|
|
872
|
+
CAD = "CAD",
|
|
873
|
+
JPY = "JPY"
|
|
874
|
+
}
|
|
869
875
|
/** @description 결제 시점에 복사된 크롤링 상품 단위 snapshot */
|
|
870
876
|
export interface CrawlerPurchaseUnitSnapshotInfo {
|
|
871
877
|
/** item-crawler의 crawling_item_host.id */
|
|
@@ -966,13 +972,30 @@ export interface CrawlerProxyOrderInfoChangedFields {
|
|
|
966
972
|
previous?: number;
|
|
967
973
|
next?: number;
|
|
968
974
|
};
|
|
975
|
+
forwardingFeeForeignAmount?: {
|
|
976
|
+
previous?: number;
|
|
977
|
+
next?: number | null;
|
|
978
|
+
};
|
|
979
|
+
forwardingFeeForeignCurrency?: {
|
|
980
|
+
previous?: CrawlerProxyOrderForeignCurrencyEnum;
|
|
981
|
+
next?: CrawlerProxyOrderForeignCurrencyEnum | null;
|
|
982
|
+
};
|
|
969
983
|
actualPurchaseAmount?: {
|
|
970
984
|
previous?: number;
|
|
971
985
|
next?: number | null;
|
|
972
986
|
};
|
|
987
|
+
purchasePaidAmount?: {
|
|
988
|
+
previous?: number;
|
|
989
|
+
next?: number | null;
|
|
990
|
+
};
|
|
991
|
+
purchasePaidCurrency?: {
|
|
992
|
+
previous?: CrawlerProxyOrderForeignCurrencyEnum;
|
|
993
|
+
next?: CrawlerProxyOrderForeignCurrencyEnum | null;
|
|
994
|
+
};
|
|
995
|
+
/** @deprecated purchasePaidAmount와 purchasePaidCurrency를 사용한다. */
|
|
973
996
|
purchasePaidAmountUsd?: {
|
|
974
997
|
previous?: number;
|
|
975
|
-
next?: number;
|
|
998
|
+
next?: number | null;
|
|
976
999
|
};
|
|
977
1000
|
}
|
|
978
1001
|
/** @description 크롤링 상품 대신 주문 정보 변경 로그 */
|
|
@@ -984,10 +1007,15 @@ export interface CrawlerProxyOrderInfoChangeLog {
|
|
|
984
1007
|
/** 변경일 */
|
|
985
1008
|
changedAt: Date;
|
|
986
1009
|
}
|
|
1010
|
+
/** @description Shipping Forwarder 자동화 Provider */
|
|
1011
|
+
export declare enum ShippingForwarderProviderEnum {
|
|
1012
|
+
GOBAESONG = "GOBAESONG",
|
|
1013
|
+
HOOTTOWN = "HOOTTOWN"
|
|
1014
|
+
}
|
|
987
1015
|
/** @description 대신 주문 배대지 마스터 변경 로그 */
|
|
988
1016
|
export interface CrawlerForwardingAgentChangeLog {
|
|
989
|
-
previous?: Partial<Pick<CrawlerForwardingAgent, 'name' | 'address' | 'shippingAddress' | 'purchaseSourceHostNames' | 'isActive'>>;
|
|
990
|
-
next?: Partial<Pick<CrawlerForwardingAgent, 'name' | 'address' | 'shippingAddress' | 'purchaseSourceHostNames' | 'isActive'>>;
|
|
1017
|
+
previous?: Partial<Pick<CrawlerForwardingAgent, 'provider' | 'name' | 'address' | 'shippingAddress' | 'purchaseSourceHostNames' | 'isActive'>>;
|
|
1018
|
+
next?: Partial<Pick<CrawlerForwardingAgent, 'provider' | 'name' | 'address' | 'shippingAddress' | 'purchaseSourceHostNames' | 'isActive'>>;
|
|
991
1019
|
changedByAdminId: Types.ObjectId | string;
|
|
992
1020
|
changedAt: Date;
|
|
993
1021
|
}
|
|
@@ -1004,6 +1032,8 @@ export interface CrawlerForwardingAgentShippingAddress {
|
|
|
1004
1032
|
/** @description 대신 주문 배대지 마스터 */
|
|
1005
1033
|
export interface CrawlerForwardingAgent {
|
|
1006
1034
|
_id: Types.ObjectId | string;
|
|
1035
|
+
/** 기존 데이터에는 없을 수 있으며 자동화 Job 생성 전에 설정해야 한다. */
|
|
1036
|
+
provider?: ShippingForwarderProviderEnum;
|
|
1007
1037
|
name: string;
|
|
1008
1038
|
/** 배대지 사이트 링크 */
|
|
1009
1039
|
address: string;
|
|
@@ -1036,11 +1066,19 @@ export interface CrawlerProxyOrderInfo {
|
|
|
1036
1066
|
purchaseCarrier?: string;
|
|
1037
1067
|
/** 판매처에서 배대지까지의 사입 송장번호 */
|
|
1038
1068
|
purchaseInvoice?: string;
|
|
1039
|
-
/** 배대지 금액 */
|
|
1069
|
+
/** 배대지 배송 금액(원화) */
|
|
1040
1070
|
forwardingFee?: number;
|
|
1071
|
+
/** 배대지 배송 금액(외화) */
|
|
1072
|
+
forwardingFeeForeignAmount?: number;
|
|
1073
|
+
/** 배대지 배송 외화 통화 */
|
|
1074
|
+
forwardingFeeForeignCurrency?: CrawlerProxyOrderForeignCurrencyEnum;
|
|
1041
1075
|
/** 판매처에 실제로 납부한 사입 총액(원화) */
|
|
1042
1076
|
actualPurchaseAmount?: number;
|
|
1043
|
-
/** 판매처에 실제로 납부한 사입 총액(
|
|
1077
|
+
/** 판매처에 실제로 납부한 사입 총액(외화) */
|
|
1078
|
+
purchasePaidAmount?: number;
|
|
1079
|
+
/** 사입 결제 외화 통화 */
|
|
1080
|
+
purchasePaidCurrency?: CrawlerProxyOrderForeignCurrencyEnum;
|
|
1081
|
+
/** @deprecated 판매처에 실제로 납부한 사입 총액(달러). purchasePaidAmount와 purchasePaidCurrency를 사용한다. */
|
|
1044
1082
|
purchasePaidAmountUsd?: number;
|
|
1045
1083
|
/** 크롤러 사입 주문 운영 메모 */
|
|
1046
1084
|
memo?: 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.CrawlerProxyForwardingStatusEnum = exports.CrawlerProxyPurchaseStatusEnum = exports.PastSelectionFrameDataInfo = exports.PurchasedProcessV2Enum = exports.PurchasedProcessEnum = exports.UserTypeEnum = exports.TaxInvoiceIssueProcessEnum = exports.POptionTypeEnum = exports.PInfoTypeEnum = exports.ReservationCancelReasonEnum = exports.CardQuotaEnum = void 0;
|
|
3
|
+
exports.PriceCompareAffiliateSettleStatusEnum = exports.PriceCompareAffiliateTypeEnum = exports.InsuranceProcessTypeEnum = exports.ShippingForwarderProviderEnum = exports.CrawlerProxyOrderForeignCurrencyEnum = exports.CrawlerProxyForwardingStatusEnum = exports.CrawlerProxyPurchaseStatusEnum = 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";
|
|
@@ -106,6 +106,19 @@ var CrawlerProxyForwardingStatusEnum;
|
|
|
106
106
|
CrawlerProxyForwardingStatusEnum["DOMESTIC_SHIPPING"] = "DOMESTIC_SHIPPING";
|
|
107
107
|
CrawlerProxyForwardingStatusEnum["DELIVERY_COMPLETED"] = "DELIVERY_COMPLETED";
|
|
108
108
|
})(CrawlerProxyForwardingStatusEnum || (exports.CrawlerProxyForwardingStatusEnum = CrawlerProxyForwardingStatusEnum = {}));
|
|
109
|
+
/** @description 크롤링 상품 대신 주문 외화 통화 */
|
|
110
|
+
var CrawlerProxyOrderForeignCurrencyEnum;
|
|
111
|
+
(function (CrawlerProxyOrderForeignCurrencyEnum) {
|
|
112
|
+
CrawlerProxyOrderForeignCurrencyEnum["USD"] = "USD";
|
|
113
|
+
CrawlerProxyOrderForeignCurrencyEnum["CAD"] = "CAD";
|
|
114
|
+
CrawlerProxyOrderForeignCurrencyEnum["JPY"] = "JPY";
|
|
115
|
+
})(CrawlerProxyOrderForeignCurrencyEnum || (exports.CrawlerProxyOrderForeignCurrencyEnum = CrawlerProxyOrderForeignCurrencyEnum = {}));
|
|
116
|
+
/** @description Shipping Forwarder 자동화 Provider */
|
|
117
|
+
var ShippingForwarderProviderEnum;
|
|
118
|
+
(function (ShippingForwarderProviderEnum) {
|
|
119
|
+
ShippingForwarderProviderEnum["GOBAESONG"] = "GOBAESONG";
|
|
120
|
+
ShippingForwarderProviderEnum["HOOTTOWN"] = "HOOTTOWN";
|
|
121
|
+
})(ShippingForwarderProviderEnum || (exports.ShippingForwarderProviderEnum = ShippingForwarderProviderEnum = {}));
|
|
109
122
|
var InsuranceProcessTypeEnum;
|
|
110
123
|
(function (InsuranceProcessTypeEnum) {
|
|
111
124
|
InsuranceProcessTypeEnum["REG"] = "reg";
|