@yolo-croket-dev/entity-v2 0.0.44 → 0.0.46

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.
@@ -12,7 +12,7 @@ export declare enum AppBulkPushLogProcessEnum {
12
12
  export interface AppPushInfo {
13
13
  title: string;
14
14
  content: string;
15
- appUrl: string;
15
+ appUrl?: string;
16
16
  isIgnoreAD: boolean;
17
17
  }
18
18
  export interface ManageUserInfo {
@@ -52,7 +52,7 @@ export interface TryNumsInfo {
52
52
  /** 토큰 발급 실패 유저 수 */
53
53
  failTokenIssuedUserNums: number;
54
54
  }
55
- interface ReservationInfo {
55
+ export interface ReservationInfo {
56
56
  reservationDate: Date;
57
57
  }
58
58
  export default interface AppBulkPushLogEntity {
@@ -1 +1,2 @@
1
1
  export * from './tosspayments-payment.vo';
2
+ export * from './tosspayments-payment-request.vo';
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./tosspayments-payment.vo"), exports);
18
+ __exportStar(require("./tosspayments-payment-request.vo"), exports);
@@ -0,0 +1,53 @@
1
+ export interface DirectTosspaymentsPaymentRequestCardEscrowProduct {
2
+ id?: string;
3
+ name?: string;
4
+ code?: string;
5
+ unitPrice?: number;
6
+ quantity?: number;
7
+ }
8
+ export interface DirectTosspaymentsPaymentRequestCard {
9
+ useEscrow?: boolean;
10
+ taxExemptionAmount?: number;
11
+ flowMode?: 'DIRECT' | 'DEFAULT';
12
+ cardCompany?: string;
13
+ easyPay?: string;
14
+ cardInstallmentPlan?: number;
15
+ maxCardInstallmentPlan?: number;
16
+ freeInstallmentPlans?: {
17
+ company: string;
18
+ months: any[];
19
+ }[];
20
+ useCardPoint?: boolean;
21
+ useAppCardOnly?: boolean;
22
+ discountCode?: string;
23
+ validHours?: number;
24
+ dueDate?: string;
25
+ escrowProducts?: DirectTosspaymentsPaymentRequestCardEscrowProduct[];
26
+ useInternationalCardOnly?: boolean;
27
+ }
28
+ export interface DirectTosspaymentsPaymentRequestAmount {
29
+ value: number;
30
+ currency: string;
31
+ }
32
+ export interface DirectTosspaymentsPaymentRequestTransfer {
33
+ cashReceipt?: {
34
+ type: string;
35
+ };
36
+ useEscrow: false;
37
+ }
38
+ export interface DirectTosspaymentsPaymentRequest {
39
+ method: string;
40
+ card?: DirectTosspaymentsPaymentRequestCard;
41
+ amount: DirectTosspaymentsPaymentRequestAmount;
42
+ orderName: string;
43
+ orderId: string;
44
+ customerName?: string;
45
+ customerEmail?: string;
46
+ customerMobilePhone?: string;
47
+ taxFreeAmount?: number;
48
+ windowTarget?: 'self' | 'iframe';
49
+ metadata?: any;
50
+ successUrl?: string;
51
+ failUrl?: string;
52
+ transfer?: DirectTosspaymentsPaymentRequestTransfer;
53
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ /* eslint-disable @typescript-eslint/no-explicit-any */
3
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/entity-v2",
3
- "version": "0.0.44",
3
+ "version": "0.0.46",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v2",