@yolo-croket-dev/entity-v2 0.2.129-jun.2 → 0.2.129-jun.3

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.129-jun.2",
3
+ "version": "0.2.129-jun.3",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v3",
@@ -12,6 +12,6 @@ export interface PurchasedInfoTosspaymentsRefund {
12
12
  failDatas: TosspaymentsCancelFailData[];
13
13
  /** 실패 사유 */
14
14
  failReason?: string;
15
- /** 환불 성공 사유 */
15
+ /** 환불 성공 사유 (오류 후 관리자가 승인 처리 시 남기는 데이터) */
16
16
  resolveReason?: string;
17
17
  }
@@ -759,6 +759,46 @@ export interface PInfoVBankInfo {
759
759
  reqDate: Date;
760
760
  isAutoExpired?: boolean;
761
761
  }
762
+ export interface NicepayBillingCancelApiResponse {
763
+ /** 결과 코드 (2001: 성공) */
764
+ ResultCode: string;
765
+ /** 결과 메시지 */
766
+ ResultMsg: string;
767
+ /** 취소 금액 */
768
+ CancelAmt: string;
769
+ /** 가맹점 ID */
770
+ MID: string;
771
+ /** 가맹점 주문번호 */
772
+ Moid: string;
773
+ /** 위변조 검증 데이터 hex(sha256(TID + MID + CancelAmt + MerchantKey)) */
774
+ Signature: string;
775
+ /** 결제수단 (CARD, BANK, VBANK, CELLPHONE) */
776
+ PayMethod?: string;
777
+ /** 거래 ID */
778
+ TID?: string;
779
+ /** 취소 일자 (YYYYMMDD) */
780
+ CancelDate?: string;
781
+ /** 취소 시각 (HHmmss) */
782
+ CancelTime?: string;
783
+ /** 취소번호 */
784
+ CancelNum?: string;
785
+ /** 취소 후 잔액 */
786
+ RemainAmt?: string;
787
+ /** 가맹점 여분필드 */
788
+ MallReserved?: string;
789
+ }
790
+ /** @description 나이스페이 빌링 환불 정보 */
791
+ export interface PurchasedInfoNicepayBillingRefundInfo {
792
+ isRefund: boolean;
793
+ /** 성공 데이터 */
794
+ cancelSuccessResponses: NicepayBillingCancelApiResponse[];
795
+ /** 실패 데이터 */
796
+ cancelFailResponses: NicepayBillingCancelApiResponse[];
797
+ /** 실패 사유 */
798
+ lastFailReason?: string;
799
+ /** 해결 사유 (오류 후 관리자가 승인 처리 시 남기는 데이터) */
800
+ resolveReason?: string;
801
+ }
762
802
  /** PInfo schema inteface (아직 선언하다 말았음) */
763
803
  export default interface PurchasedInfoEntity {
764
804
  _id: Types.ObjectId | string;
@@ -829,6 +869,8 @@ export default interface PurchasedInfoEntity {
829
869
  bundlePInfo: BundleInfo;
830
870
  IMPRefundInfo?: PInfoIMPRefundInfo;
831
871
  tosspaymentsRefund?: PurchasedInfoTosspaymentsRefund;
872
+ /** @description 나이스페이 빌링 환불 정보 */
873
+ nicepayBillingRefundInfo?: PurchasedInfoNicepayBillingRefundInfo;
832
874
  pastStoreItemInfo?: PastStoreItemInfo;
833
875
  pastSellingInfo?: PastSellingInfo;
834
876
  autoReceiveTime?: Date;