@yolo-croket-dev/entity-v2 0.3.59 → 0.3.60
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.
|
@@ -4,8 +4,11 @@ export declare const BUYMA_PAYMENT_STATUSES: readonly ["UNVERIFIED", "PENDING_PA
|
|
|
4
4
|
export type BuymaPaymentStatus = (typeof BUYMA_PAYMENT_STATUSES)[number];
|
|
5
5
|
export declare const BUYMA_ORDER_STATUSES: readonly ["ORDER_CHECKING", "STOCK_CHECKING", "PREPARING_SHIPMENT", "LOCAL_IN_TRANSIT", "INTERNATIONAL_IN_TRANSIT", "DELIVERED", "REFUNDED"];
|
|
6
6
|
export type BuymaOrderStatus = (typeof BUYMA_ORDER_STATUSES)[number];
|
|
7
|
-
export declare const BUYMA_PROCUREMENT_WORK_STATUSES: readonly ["UNSPECIFIED", "
|
|
7
|
+
export declare const BUYMA_PROCUREMENT_WORK_STATUSES: readonly ["UNSPECIFIED", "SELLER_DIRECT_INQUIRY", "ALTERNATIVE_STOCK_CHECK", "EXTRA_PAYMENT_INQUIRY", "OPTION_CHANGE_INQUIRY", "PROCURED", "ALTERNATIVE_PROCURED", "ISSUE"];
|
|
8
8
|
export type BuymaProcurementWorkStatus = (typeof BUYMA_PROCUREMENT_WORK_STATUSES)[number];
|
|
9
|
+
/** 기존 저장값은 유지하되 신규 요청·선택지에서는 허용하지 않는다. */
|
|
10
|
+
export declare const BUYMA_STORED_PROCUREMENT_WORK_STATUSES: readonly ["UNSPECIFIED", "SELLER_DIRECT_INQUIRY", "ALTERNATIVE_STOCK_CHECK", "EXTRA_PAYMENT_INQUIRY", "OPTION_CHANGE_INQUIRY", "PROCURED", "ALTERNATIVE_PROCURED", "ISSUE", "NOT_REQUIRED", "STOCK_INQUIRY"];
|
|
11
|
+
export type BuymaStoredProcurementWorkStatus = (typeof BUYMA_STORED_PROCUREMENT_WORK_STATUSES)[number];
|
|
9
12
|
export interface BuymaMoney {
|
|
10
13
|
amount: number;
|
|
11
14
|
currency: string;
|
|
@@ -73,7 +76,6 @@ export interface BuymaProcurement {
|
|
|
73
76
|
/** 시트 AG 대응 금액. 위 두 금액의 합으로 덮어쓰지 않는다. */
|
|
74
77
|
purchaseCost: BuymaMoney | null;
|
|
75
78
|
sellerSettlementCost: BuymaMoney | null;
|
|
76
|
-
sourceStatus: string | null;
|
|
77
79
|
localShipment: BuymaLocalShipment | null;
|
|
78
80
|
}
|
|
79
81
|
export interface BuymaInternationalShipment {
|
|
@@ -143,7 +145,7 @@ export interface BuymaOrderEntity {
|
|
|
143
145
|
payment: BuymaPayment;
|
|
144
146
|
/** null은 상태를 매핑하지 못한 기존 시트 주문에만 허용한다. */
|
|
145
147
|
orderStatus: BuymaOrderStatus | null;
|
|
146
|
-
procurementWorkStatus:
|
|
148
|
+
procurementWorkStatus: BuymaStoredProcurementWorkStatus;
|
|
147
149
|
procurement: BuymaProcurement | null;
|
|
148
150
|
internationalShipment: BuymaInternationalShipment | null;
|
|
149
151
|
communications: BuymaCommunications;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BUYMA_PROCUREMENT_WORK_STATUSES = exports.BUYMA_ORDER_STATUSES = exports.BUYMA_PAYMENT_STATUSES = void 0;
|
|
3
|
+
exports.BUYMA_STORED_PROCUREMENT_WORK_STATUSES = exports.BUYMA_PROCUREMENT_WORK_STATUSES = exports.BUYMA_ORDER_STATUSES = exports.BUYMA_PAYMENT_STATUSES = void 0;
|
|
4
4
|
exports.BUYMA_PAYMENT_STATUSES = [
|
|
5
5
|
'UNVERIFIED',
|
|
6
6
|
'PENDING_PAYMENT',
|
|
@@ -17,9 +17,7 @@ exports.BUYMA_ORDER_STATUSES = [
|
|
|
17
17
|
];
|
|
18
18
|
exports.BUYMA_PROCUREMENT_WORK_STATUSES = [
|
|
19
19
|
'UNSPECIFIED',
|
|
20
|
-
'NOT_REQUIRED',
|
|
21
20
|
'SELLER_DIRECT_INQUIRY',
|
|
22
|
-
'STOCK_INQUIRY',
|
|
23
21
|
'ALTERNATIVE_STOCK_CHECK',
|
|
24
22
|
'EXTRA_PAYMENT_INQUIRY',
|
|
25
23
|
'OPTION_CHANGE_INQUIRY',
|
|
@@ -27,3 +25,9 @@ exports.BUYMA_PROCUREMENT_WORK_STATUSES = [
|
|
|
27
25
|
'ALTERNATIVE_PROCURED',
|
|
28
26
|
'ISSUE',
|
|
29
27
|
];
|
|
28
|
+
/** 기존 저장값은 유지하되 신규 요청·선택지에서는 허용하지 않는다. */
|
|
29
|
+
exports.BUYMA_STORED_PROCUREMENT_WORK_STATUSES = [
|
|
30
|
+
...exports.BUYMA_PROCUREMENT_WORK_STATUSES,
|
|
31
|
+
'NOT_REQUIRED',
|
|
32
|
+
'STOCK_INQUIRY',
|
|
33
|
+
];
|