@yolo-croket-dev/amqp-access 0.7.384 → 0.7.385

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.
@@ -32,6 +32,11 @@ export declare class GetBuymaOrderHistoryPayload extends GetBuymaOrderPayload {
32
32
  export declare class GetBuymaProcurementCandidatesPayload extends GetBuymaOrderPayload {
33
33
  orderUrl: string;
34
34
  }
35
+ /** @author jun @description 연결된 크로켓 사입 구매자의 조회 전용 정보. @process 주문에 저장하지 않고 현재 회원명 또는 주문 당시 계정명을 읽는다. */
36
+ export interface BuymaCroketBuyer {
37
+ buyerId: string | null;
38
+ username: string | null;
39
+ }
35
40
  export interface BuymaOrderListItem extends Pick<BuymaOrderEntity, '_id' | 'buymaAccountId' | 'buymaOrderNumber' | 'buymaOrderUrl' | 'createdAt' | 'quantity' | 'buyer' | 'productRevenue' | 'shippingRevenue' | 'reportedTotalRevenue' | 'orderStatus' | 'procurementWorkStatus' | 'holdReason' | 'slackThreadUrls'> {
36
41
  productSnapshot: Pick<BuymaOrderEntity['productSnapshot'], 'storeName' | 'buymaName' | 'croketName' | 'optionName' | 'croketItemUrl' | 'buymaItemUrl'>;
37
42
  payment: Pick<BuymaOrderEntity['payment'], 'status' | 'preOrderedAt' | 'paidAt' | 'preOrderedAtDateOnly' | 'paidAtDateOnly'>;
@@ -40,6 +45,8 @@ export interface BuymaOrderListItem extends Pick<BuymaOrderEntity, '_id' | 'buym
40
45
  communications: Pick<BuymaOrderEntity['communications'], 'stockSecuredNotified'>;
41
46
  /** 조회 시 연결된 Croket 구매 건에서 읽은 process. 주문에 저장하지 않는다. */
42
47
  croketPurchaseProcess?: string | null;
48
+ /** 활성 크로켓 연결이 없으면 null. 연결 원천이 없으면 객체의 각 값이 null이다. */
49
+ croketBuyer?: BuymaCroketBuyer | null;
43
50
  }
44
51
  export interface BuymaSharedTrackingOrder extends Pick<BuymaOrderEntity, '_id' | 'buymaOrderNumber' | 'quantity'> {
45
52
  internationalShipment: Pick<NonNullable<BuymaOrderEntity['internationalShipment']>, 'shippingCost'> | null;
@@ -56,6 +63,8 @@ export interface BuymaSharedProcurementOrder extends Pick<BuymaOrderEntity, '_id
56
63
  export interface GetBuymaOrderResult {
57
64
  /** 조회 시 연결된 Croket 구매 건에서 읽은 process. 주문에 저장하지 않는다. */
58
65
  croketPurchaseProcess?: string | null;
66
+ /** 활성 크로켓 연결이 없으면 null. 연결 원천이 없으면 객체의 각 값이 null이다. */
67
+ croketBuyer?: BuymaCroketBuyer | null;
59
68
  sharedProcurementOrders?: BuymaSharedProcurementOrder[];
60
69
  sharedProcurementOverflow?: boolean;
61
70
  item: BuymaOrderEntity;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.7.384",
3
+ "version": "0.7.385",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",