@yolo-croket-dev/entity-v2 0.2.172 → 0.2.173

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.2.172",
3
+ "version": "0.2.173",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",
@@ -980,16 +980,29 @@ export interface CrawlerProxyOrderInfoChangeLog {
980
980
  }
981
981
  /** @description 대신 주문 배대지 마스터 변경 로그 */
982
982
  export interface CrawlerForwardingAgentChangeLog {
983
- previous?: Partial<Pick<CrawlerForwardingAgent, 'name' | 'address' | 'isActive'>>;
984
- next?: Partial<Pick<CrawlerForwardingAgent, 'name' | 'address' | 'isActive'>>;
983
+ previous?: Partial<Pick<CrawlerForwardingAgent, 'name' | 'address' | 'shippingAddress' | 'isActive'>>;
984
+ next?: Partial<Pick<CrawlerForwardingAgent, 'name' | 'address' | 'shippingAddress' | 'isActive'>>;
985
985
  changedByAdminId: Types.ObjectId | string;
986
986
  changedAt: Date;
987
987
  }
988
+ /** @description 대신 주문 배대지의 실제 배송지 주소 */
989
+ export interface CrawlerForwardingAgentShippingAddress {
990
+ countryOrRegion: string;
991
+ streetAddress1: string;
992
+ streetAddress2?: string;
993
+ city: string;
994
+ state: string;
995
+ zipCode: string;
996
+ phone: string;
997
+ }
988
998
  /** @description 대신 주문 배대지 마스터 */
989
999
  export interface CrawlerForwardingAgent {
990
1000
  _id: Types.ObjectId | string;
991
1001
  name: string;
1002
+ /** 배대지 사이트 링크 */
992
1003
  address: string;
1004
+ /** 기존 배대지 데이터와의 호환을 위해 선택값으로 둔다. */
1005
+ shippingAddress?: CrawlerForwardingAgentShippingAddress;
993
1006
  isActive: boolean;
994
1007
  createdAt: Date;
995
1008
  createdByAdminId: Types.ObjectId | string;