@yolo-croket-dev/entity-v2 0.0.43 → 0.0.44-jun.1

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.
@@ -1,7 +1,8 @@
1
1
  import { Types } from 'mongoose';
2
2
  export declare enum AppBulkPushLogTypeEnum {
3
3
  검색쿼리 = "searchQuery",
4
- 엑셀 = "excel"
4
+ 엑셀 = "excel",
5
+ 엑셀_예약 = "excel_reservation"
5
6
  }
6
7
  export declare enum AppBulkPushLogProcessEnum {
7
8
  대기 = "ready",
@@ -51,6 +52,9 @@ export interface TryNumsInfo {
51
52
  /** 토큰 발급 실패 유저 수 */
52
53
  failTokenIssuedUserNums: number;
53
54
  }
55
+ export interface ReservationInfo {
56
+ reservationDate: Date;
57
+ }
54
58
  export default interface AppBulkPushLogEntity {
55
59
  _id: Types.ObjectId;
56
60
  type: AppBulkPushLogTypeEnum;
@@ -65,5 +69,6 @@ export default interface AppBulkPushLogEntity {
65
69
  redisDBKey: string;
66
70
  searchQueryInfo?: SearchQueryInfo;
67
71
  excelInfo?: ExcelInfo;
72
+ reservationInfo?: ReservationInfo;
68
73
  }
69
74
  export { AppBulkPushLogEntity };
@@ -5,6 +5,7 @@ var AppBulkPushLogTypeEnum;
5
5
  (function (AppBulkPushLogTypeEnum) {
6
6
  AppBulkPushLogTypeEnum["\uAC80\uC0C9\uCFFC\uB9AC"] = "searchQuery";
7
7
  AppBulkPushLogTypeEnum["\uC5D1\uC140"] = "excel";
8
+ AppBulkPushLogTypeEnum["\uC5D1\uC140_\uC608\uC57D"] = "excel_reservation";
8
9
  })(AppBulkPushLogTypeEnum = exports.AppBulkPushLogTypeEnum || (exports.AppBulkPushLogTypeEnum = {}));
9
10
  var AppBulkPushLogProcessEnum;
10
11
  (function (AppBulkPushLogProcessEnum) {
@@ -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,49 @@
1
+ export interface DirectTosspaymentsPaymentRequest {
2
+ method: string;
3
+ card?: {
4
+ useEscrow?: boolean;
5
+ taxExemptionAmount?: number;
6
+ flowMode?: 'DIRECT' | 'DEFAULT';
7
+ cardCompany?: string;
8
+ easyPay?: string;
9
+ cardInstallmentPlan?: number;
10
+ maxCardInstallmentPlan?: number;
11
+ freeInstallmentPlans?: {
12
+ company: string;
13
+ months: any[];
14
+ }[];
15
+ useCardPoint?: boolean;
16
+ useAppCardOnly?: boolean;
17
+ discountCode?: string;
18
+ validHours?: number;
19
+ dueDate?: string;
20
+ escrowProducts?: {
21
+ id?: string;
22
+ name?: string;
23
+ code?: string;
24
+ unitPrice?: number;
25
+ quantity?: number;
26
+ }[];
27
+ useInternationalCardOnly?: boolean;
28
+ };
29
+ amount: {
30
+ value: number;
31
+ currency: string;
32
+ };
33
+ orderName: string;
34
+ orderId: string;
35
+ customerName?: string;
36
+ customerEmail?: string;
37
+ customerMobilePhone?: string;
38
+ taxFreeAmount?: number;
39
+ windowTarget?: 'self' | 'iframe';
40
+ metadata?: any;
41
+ successUrl?: string;
42
+ failUrl?: string;
43
+ transfer?: {
44
+ cashReceipt?: {
45
+ type: string;
46
+ };
47
+ useEscrow: false;
48
+ };
49
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ 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.43",
3
+ "version": "0.0.44-jun.1",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 nest 용 entity-v2",