@yolo-croket-dev/entity-v2 0.3.59-beta.1 → 0.3.59-beta.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.
|
@@ -6,6 +6,9 @@ export declare const BUYMA_ORDER_STATUSES: readonly ["ORDER_CHECKING", "STOCK_CH
|
|
|
6
6
|
export type BuymaOrderStatus = (typeof BUYMA_ORDER_STATUSES)[number];
|
|
7
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;
|
|
@@ -142,7 +145,7 @@ export interface BuymaOrderEntity {
|
|
|
142
145
|
payment: BuymaPayment;
|
|
143
146
|
/** null은 상태를 매핑하지 못한 기존 시트 주문에만 허용한다. */
|
|
144
147
|
orderStatus: BuymaOrderStatus | null;
|
|
145
|
-
procurementWorkStatus:
|
|
148
|
+
procurementWorkStatus: BuymaStoredProcurementWorkStatus;
|
|
146
149
|
procurement: BuymaProcurement | null;
|
|
147
150
|
internationalShipment: BuymaInternationalShipment | null;
|
|
148
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',
|
|
@@ -25,3 +25,9 @@ exports.BUYMA_PROCUREMENT_WORK_STATUSES = [
|
|
|
25
25
|
'ALTERNATIVE_PROCURED',
|
|
26
26
|
'ISSUE',
|
|
27
27
|
];
|
|
28
|
+
/** 기존 저장값은 유지하되 신규 요청·선택지에서는 허용하지 않는다. */
|
|
29
|
+
exports.BUYMA_STORED_PROCUREMENT_WORK_STATUSES = [
|
|
30
|
+
...exports.BUYMA_PROCUREMENT_WORK_STATUSES,
|
|
31
|
+
'NOT_REQUIRED',
|
|
32
|
+
'STOCK_INQUIRY',
|
|
33
|
+
];
|