@yolo-croket-dev/entity-v2 0.2.172 → 0.2.174
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
|
@@ -848,13 +848,24 @@ export interface PurchasedInfoNicepayBillingRefundInfo {
|
|
|
848
848
|
/** 해결 사유 (오류 후 관리자가 승인 처리 시 남기는 데이터) */
|
|
849
849
|
resolveReason?: string;
|
|
850
850
|
}
|
|
851
|
-
/** @description 크롤링 상품
|
|
852
|
-
export declare enum
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
851
|
+
/** @description 크롤링 상품 사입 상태 */
|
|
852
|
+
export declare enum CrawlerProxyPurchaseStatusEnum {
|
|
853
|
+
PURCHASE_WAITING = "PURCHASE_WAITING",
|
|
854
|
+
PURCHASE_COMPLETED = "PURCHASE_COMPLETED",
|
|
855
|
+
PURCHASE_HOLD = "PURCHASE_HOLD",
|
|
856
|
+
PURCHASE_SHIPPING = "PURCHASE_SHIPPING",
|
|
857
|
+
FORWARDING_WAREHOUSE_ARRIVED = "FORWARDING_WAREHOUSE_ARRIVED"
|
|
858
|
+
}
|
|
859
|
+
/** @description 크롤링 상품 배대지 상태 */
|
|
860
|
+
export declare enum CrawlerProxyForwardingStatusEnum {
|
|
861
|
+
INBOUND_WAITING = "INBOUND_WAITING",
|
|
862
|
+
INBOUND_COMPLETED = "INBOUND_COMPLETED",
|
|
863
|
+
OUTBOUND_WAITING = "OUTBOUND_WAITING",
|
|
864
|
+
OUTBOUND_COMPLETED = "OUTBOUND_COMPLETED",
|
|
865
|
+
INTERNATIONAL_SHIPPING = "INTERNATIONAL_SHIPPING",
|
|
866
|
+
CUSTOMS_CLEARANCE = "CUSTOMS_CLEARANCE",
|
|
867
|
+
DOMESTIC_SHIPPING = "DOMESTIC_SHIPPING",
|
|
868
|
+
DELIVERY_COMPLETED = "DELIVERY_COMPLETED"
|
|
858
869
|
}
|
|
859
870
|
/** @description 결제 시점에 복사된 크롤링 상품 단위 snapshot */
|
|
860
871
|
export interface CrawlerPurchaseUnitSnapshotInfo {
|
|
@@ -924,53 +935,45 @@ export interface CrawlerProxyOrderInfoChangedFields {
|
|
|
924
935
|
previous?: Types.ObjectId | string;
|
|
925
936
|
next?: Types.ObjectId | string;
|
|
926
937
|
};
|
|
927
|
-
|
|
928
|
-
previous?:
|
|
929
|
-
next?:
|
|
938
|
+
purchaseStatus?: {
|
|
939
|
+
previous?: CrawlerProxyPurchaseStatusEnum;
|
|
940
|
+
next?: CrawlerProxyPurchaseStatusEnum;
|
|
941
|
+
};
|
|
942
|
+
forwardingStatus?: {
|
|
943
|
+
previous?: CrawlerProxyForwardingStatusEnum;
|
|
944
|
+
next?: CrawlerProxyForwardingStatusEnum;
|
|
930
945
|
};
|
|
931
946
|
forwardingAgentName?: {
|
|
932
947
|
previous?: string;
|
|
933
948
|
next?: string;
|
|
934
949
|
};
|
|
935
|
-
|
|
950
|
+
purchaseOrderNumber?: {
|
|
936
951
|
previous?: string;
|
|
937
952
|
next?: string;
|
|
938
953
|
};
|
|
939
|
-
|
|
940
|
-
previous?: number;
|
|
941
|
-
next?: number;
|
|
942
|
-
};
|
|
943
|
-
actualPurchaseAmount?: {
|
|
944
|
-
previous?: number;
|
|
945
|
-
next?: number | null;
|
|
946
|
-
};
|
|
947
|
-
forwardingMemo?: {
|
|
954
|
+
purchaseCarrier?: {
|
|
948
955
|
previous?: string;
|
|
949
956
|
next?: string;
|
|
950
957
|
};
|
|
951
|
-
|
|
958
|
+
purchaseInvoice?: {
|
|
952
959
|
previous?: string;
|
|
953
960
|
next?: string;
|
|
954
961
|
};
|
|
955
|
-
|
|
956
|
-
previous?:
|
|
957
|
-
next?:
|
|
962
|
+
forwardingFee?: {
|
|
963
|
+
previous?: number;
|
|
964
|
+
next?: number;
|
|
958
965
|
};
|
|
959
|
-
|
|
960
|
-
previous?:
|
|
961
|
-
next?:
|
|
966
|
+
actualPurchaseAmount?: {
|
|
967
|
+
previous?: number;
|
|
968
|
+
next?: number | null;
|
|
962
969
|
};
|
|
963
|
-
|
|
964
|
-
previous?:
|
|
965
|
-
next?:
|
|
970
|
+
purchasePaidAmountUsd?: {
|
|
971
|
+
previous?: number;
|
|
972
|
+
next?: number;
|
|
966
973
|
};
|
|
967
974
|
}
|
|
968
975
|
/** @description 크롤링 상품 대신 주문 정보 변경 로그 */
|
|
969
976
|
export interface CrawlerProxyOrderInfoChangeLog {
|
|
970
|
-
/** 변경 전 상태 */
|
|
971
|
-
previousStatus?: CrawlerProxyOrderStatusEnum;
|
|
972
|
-
/** 변경 후 상태 */
|
|
973
|
-
nextStatus?: CrawlerProxyOrderStatusEnum;
|
|
974
977
|
/** 변경 필드 */
|
|
975
978
|
changedFields?: CrawlerProxyOrderInfoChangedFields;
|
|
976
979
|
/** 변경 관리자 아이디 */
|
|
@@ -980,16 +983,29 @@ export interface CrawlerProxyOrderInfoChangeLog {
|
|
|
980
983
|
}
|
|
981
984
|
/** @description 대신 주문 배대지 마스터 변경 로그 */
|
|
982
985
|
export interface CrawlerForwardingAgentChangeLog {
|
|
983
|
-
previous?: Partial<Pick<CrawlerForwardingAgent, 'name' | 'address' | 'isActive'>>;
|
|
984
|
-
next?: Partial<Pick<CrawlerForwardingAgent, 'name' | 'address' | 'isActive'>>;
|
|
986
|
+
previous?: Partial<Pick<CrawlerForwardingAgent, 'name' | 'address' | 'shippingAddress' | 'isActive'>>;
|
|
987
|
+
next?: Partial<Pick<CrawlerForwardingAgent, 'name' | 'address' | 'shippingAddress' | 'isActive'>>;
|
|
985
988
|
changedByAdminId: Types.ObjectId | string;
|
|
986
989
|
changedAt: Date;
|
|
987
990
|
}
|
|
991
|
+
/** @description 대신 주문 배대지의 실제 배송지 주소 */
|
|
992
|
+
export interface CrawlerForwardingAgentShippingAddress {
|
|
993
|
+
countryOrRegion: string;
|
|
994
|
+
streetAddress1: string;
|
|
995
|
+
streetAddress2?: string;
|
|
996
|
+
city: string;
|
|
997
|
+
state: string;
|
|
998
|
+
zipCode: string;
|
|
999
|
+
phone: string;
|
|
1000
|
+
}
|
|
988
1001
|
/** @description 대신 주문 배대지 마스터 */
|
|
989
1002
|
export interface CrawlerForwardingAgent {
|
|
990
1003
|
_id: Types.ObjectId | string;
|
|
991
1004
|
name: string;
|
|
1005
|
+
/** 배대지 사이트 링크 */
|
|
992
1006
|
address: string;
|
|
1007
|
+
/** 기존 배대지 데이터와의 호환을 위해 선택값으로 둔다. */
|
|
1008
|
+
shippingAddress?: CrawlerForwardingAgentShippingAddress;
|
|
993
1009
|
isActive: boolean;
|
|
994
1010
|
createdAt: Date;
|
|
995
1011
|
createdByAdminId: Types.ObjectId | string;
|
|
@@ -999,28 +1015,26 @@ export interface CrawlerForwardingAgent {
|
|
|
999
1015
|
}
|
|
1000
1016
|
/** @description 크롤링 상품 대신 주문 운영 정보 */
|
|
1001
1017
|
export interface CrawlerProxyOrderInfo {
|
|
1002
|
-
/**
|
|
1003
|
-
|
|
1018
|
+
/** 사입 상태 */
|
|
1019
|
+
purchaseStatus?: CrawlerProxyPurchaseStatusEnum;
|
|
1020
|
+
/** 배대지 상태 */
|
|
1021
|
+
forwardingStatus?: CrawlerProxyForwardingStatusEnum;
|
|
1004
1022
|
/** 선택한 배대지 마스터 아이디 */
|
|
1005
1023
|
forwardingAgentId?: Types.ObjectId | string;
|
|
1006
1024
|
/** 배대지 이름 */
|
|
1007
1025
|
forwardingAgentName?: string;
|
|
1008
|
-
/**
|
|
1009
|
-
|
|
1026
|
+
/** 판매처 사입 주문번호 */
|
|
1027
|
+
purchaseOrderNumber?: string;
|
|
1028
|
+
/** 판매처에서 배대지까지의 사입 택배사 */
|
|
1029
|
+
purchaseCarrier?: string;
|
|
1030
|
+
/** 판매처에서 배대지까지의 사입 송장번호 */
|
|
1031
|
+
purchaseInvoice?: string;
|
|
1010
1032
|
/** 배대지 금액 */
|
|
1011
1033
|
forwardingFee?: number;
|
|
1012
1034
|
/** 판매처에 실제로 납부한 사입 총액(원화) */
|
|
1013
1035
|
actualPurchaseAmount?: number;
|
|
1014
|
-
/**
|
|
1015
|
-
|
|
1016
|
-
/** 대신 주문용 수령인 이름 */
|
|
1017
|
-
proxyReceiverName?: string;
|
|
1018
|
-
/** 대신 주문용 수령인 주소 */
|
|
1019
|
-
proxyReceiverAddress?: string;
|
|
1020
|
-
/** 대신 주문용 수령인 전화번호 */
|
|
1021
|
-
proxyReceiverPhoneNumber?: string;
|
|
1022
|
-
/** 배대지 송장번호 */
|
|
1023
|
-
forwardingInvoice?: string;
|
|
1036
|
+
/** 판매처에 실제로 납부한 사입 총액(달러) */
|
|
1037
|
+
purchasePaidAmountUsd?: number;
|
|
1024
1038
|
/** 생성일 */
|
|
1025
1039
|
createdAt?: Date;
|
|
1026
1040
|
/** 수정일 */
|
|
@@ -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.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";
|
|
@@ -86,15 +86,27 @@ var PurchasedProcessV2Enum;
|
|
|
86
86
|
class PastSelectionFrameDataInfo {
|
|
87
87
|
}
|
|
88
88
|
exports.PastSelectionFrameDataInfo = PastSelectionFrameDataInfo;
|
|
89
|
-
/** @description 크롤링 상품
|
|
90
|
-
var
|
|
91
|
-
(function (
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
})(
|
|
89
|
+
/** @description 크롤링 상품 사입 상태 */
|
|
90
|
+
var CrawlerProxyPurchaseStatusEnum;
|
|
91
|
+
(function (CrawlerProxyPurchaseStatusEnum) {
|
|
92
|
+
CrawlerProxyPurchaseStatusEnum["PURCHASE_WAITING"] = "PURCHASE_WAITING";
|
|
93
|
+
CrawlerProxyPurchaseStatusEnum["PURCHASE_COMPLETED"] = "PURCHASE_COMPLETED";
|
|
94
|
+
CrawlerProxyPurchaseStatusEnum["PURCHASE_HOLD"] = "PURCHASE_HOLD";
|
|
95
|
+
CrawlerProxyPurchaseStatusEnum["PURCHASE_SHIPPING"] = "PURCHASE_SHIPPING";
|
|
96
|
+
CrawlerProxyPurchaseStatusEnum["FORWARDING_WAREHOUSE_ARRIVED"] = "FORWARDING_WAREHOUSE_ARRIVED";
|
|
97
|
+
})(CrawlerProxyPurchaseStatusEnum || (exports.CrawlerProxyPurchaseStatusEnum = CrawlerProxyPurchaseStatusEnum = {}));
|
|
98
|
+
/** @description 크롤링 상품 배대지 상태 */
|
|
99
|
+
var CrawlerProxyForwardingStatusEnum;
|
|
100
|
+
(function (CrawlerProxyForwardingStatusEnum) {
|
|
101
|
+
CrawlerProxyForwardingStatusEnum["INBOUND_WAITING"] = "INBOUND_WAITING";
|
|
102
|
+
CrawlerProxyForwardingStatusEnum["INBOUND_COMPLETED"] = "INBOUND_COMPLETED";
|
|
103
|
+
CrawlerProxyForwardingStatusEnum["OUTBOUND_WAITING"] = "OUTBOUND_WAITING";
|
|
104
|
+
CrawlerProxyForwardingStatusEnum["OUTBOUND_COMPLETED"] = "OUTBOUND_COMPLETED";
|
|
105
|
+
CrawlerProxyForwardingStatusEnum["INTERNATIONAL_SHIPPING"] = "INTERNATIONAL_SHIPPING";
|
|
106
|
+
CrawlerProxyForwardingStatusEnum["CUSTOMS_CLEARANCE"] = "CUSTOMS_CLEARANCE";
|
|
107
|
+
CrawlerProxyForwardingStatusEnum["DOMESTIC_SHIPPING"] = "DOMESTIC_SHIPPING";
|
|
108
|
+
CrawlerProxyForwardingStatusEnum["DELIVERY_COMPLETED"] = "DELIVERY_COMPLETED";
|
|
109
|
+
})(CrawlerProxyForwardingStatusEnum || (exports.CrawlerProxyForwardingStatusEnum = CrawlerProxyForwardingStatusEnum = {}));
|
|
98
110
|
var InsuranceProcessTypeEnum;
|
|
99
111
|
(function (InsuranceProcessTypeEnum) {
|
|
100
112
|
InsuranceProcessTypeEnum["REG"] = "reg";
|