@yolo-croket-dev/amqp-access 0.7.146 → 0.7.147

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/amqp-access",
3
- "version": "0.7.146",
3
+ "version": "0.7.147",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -0,0 +1,53 @@
1
+ import { AuthorTypeEnum, BlockRefundWithdrawTypeEnum, CartTypeEnum, PaymentMethodEnum, RefundPendingTypeEnum, RefundReturnTypeEnum, SellerRefundApprovalTypeEnum, SortTypeEnum } from './get-refunds-for-admin.enum';
2
+ /**
3
+ * @author jun
4
+ * @description 관리자 환불 오류 리스트 조회 payload
5
+ * @process 1. 관리자 검색 조건 수신 -> 2. payment-service 환불 오류 전용 AMQP 조회로 전달
6
+ */
7
+ export declare class GetRefundErrorsForAdminPayload {
8
+ page: number;
9
+ limit: number;
10
+ sortType: SortTypeEnum;
11
+ /** (결제) 결제일 기준 */
12
+ paymentStartDate?: Date;
13
+ /** (결제) 결제일 기준 */
14
+ paymentEndDate?: Date;
15
+ /** (환불) 환불 신청일 기준 */
16
+ refundRequestStartDate?: Date;
17
+ /** (환불) 환불 신청일 기준 */
18
+ refundRequestEndDate?: Date;
19
+ /** (환불) 환불 상태 */
20
+ refundProcess?: string;
21
+ /** (환불) 마지막 거래 상태 */
22
+ PInfoLastProcess?: string;
23
+ /** (환불) 셀러 승인 여부 */
24
+ sellerRefundApprovalType?: SellerRefundApprovalTypeEnum;
25
+ /** (환불) 환불 보류 */
26
+ refundPendingType?: RefundPendingTypeEnum;
27
+ /** (환불) 신청자 */
28
+ _authorType?: AuthorTypeEnum;
29
+ /** (환불) 반품 정보 */
30
+ refundReturnType?: RefundReturnTypeEnum;
31
+ /** (결제) 장바구니 결제 */
32
+ cartType?: CartTypeEnum;
33
+ /** (결제) 결제 방법 */
34
+ paymentMethod?: PaymentMethodEnum;
35
+ /** (환불) 구매자의 유저 아이디 */
36
+ buyerId?: string;
37
+ /** (환불) 셀러의 유저 아이디 */
38
+ sellerId?: string;
39
+ /** (유저) 구매자 이름 */
40
+ buyerName?: string;
41
+ /** (스토어) 스토어 타이틀 */
42
+ storeTitle?: string;
43
+ /** (결제) imp_uid */
44
+ imp_uid?: string;
45
+ /** (결제) publicId */
46
+ publicId?: string;
47
+ /** (환불) pending메모 */
48
+ pendingMemo?: string;
49
+ /** (환불) cs1메모 */
50
+ cs1Memo?: string;
51
+ blockRefundWithdrawType?: BlockRefundWithdrawTypeEnum;
52
+ payTryLogId?: string;
53
+ }
@@ -0,0 +1,150 @@
1
+ "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.GetRefundErrorsForAdminPayload = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ const get_refunds_for_admin_enum_1 = require("./get-refunds-for-admin.enum");
16
+ /**
17
+ * @author jun
18
+ * @description 관리자 환불 오류 리스트 조회 payload
19
+ * @process 1. 관리자 검색 조건 수신 -> 2. payment-service 환불 오류 전용 AMQP 조회로 전달
20
+ */
21
+ class GetRefundErrorsForAdminPayload {
22
+ }
23
+ exports.GetRefundErrorsForAdminPayload = GetRefundErrorsForAdminPayload;
24
+ __decorate([
25
+ (0, class_transformer_1.Transform)((params) => Number(params.value)),
26
+ (0, class_validator_1.IsNumber)(),
27
+ (0, class_validator_1.IsNotEmpty)(),
28
+ __metadata("design:type", Number)
29
+ ], GetRefundErrorsForAdminPayload.prototype, "page", void 0);
30
+ __decorate([
31
+ (0, class_transformer_1.Transform)((params) => Number(params.value)),
32
+ (0, class_validator_1.IsNumber)(),
33
+ (0, class_validator_1.IsNotEmpty)(),
34
+ __metadata("design:type", Number)
35
+ ], GetRefundErrorsForAdminPayload.prototype, "limit", void 0);
36
+ __decorate([
37
+ (0, class_validator_1.IsNotEmpty)(),
38
+ (0, class_validator_1.IsEnum)(get_refunds_for_admin_enum_1.SortTypeEnum),
39
+ __metadata("design:type", String)
40
+ ], GetRefundErrorsForAdminPayload.prototype, "sortType", void 0);
41
+ __decorate([
42
+ (0, class_validator_1.IsDateString)(),
43
+ (0, class_validator_1.IsOptional)(),
44
+ __metadata("design:type", Date)
45
+ ], GetRefundErrorsForAdminPayload.prototype, "paymentStartDate", void 0);
46
+ __decorate([
47
+ (0, class_validator_1.IsDateString)(),
48
+ (0, class_validator_1.IsOptional)(),
49
+ __metadata("design:type", Date)
50
+ ], GetRefundErrorsForAdminPayload.prototype, "paymentEndDate", void 0);
51
+ __decorate([
52
+ (0, class_validator_1.IsDateString)(),
53
+ (0, class_validator_1.IsOptional)(),
54
+ __metadata("design:type", Date)
55
+ ], GetRefundErrorsForAdminPayload.prototype, "refundRequestStartDate", void 0);
56
+ __decorate([
57
+ (0, class_validator_1.IsDateString)(),
58
+ (0, class_validator_1.IsOptional)(),
59
+ __metadata("design:type", Date)
60
+ ], GetRefundErrorsForAdminPayload.prototype, "refundRequestEndDate", void 0);
61
+ __decorate([
62
+ (0, class_validator_1.IsString)(),
63
+ (0, class_validator_1.IsOptional)(),
64
+ __metadata("design:type", String)
65
+ ], GetRefundErrorsForAdminPayload.prototype, "refundProcess", void 0);
66
+ __decorate([
67
+ (0, class_validator_1.IsString)(),
68
+ (0, class_validator_1.IsOptional)(),
69
+ __metadata("design:type", String)
70
+ ], GetRefundErrorsForAdminPayload.prototype, "PInfoLastProcess", void 0);
71
+ __decorate([
72
+ (0, class_validator_1.IsEnum)(get_refunds_for_admin_enum_1.SellerRefundApprovalTypeEnum),
73
+ (0, class_validator_1.IsOptional)(),
74
+ __metadata("design:type", String)
75
+ ], GetRefundErrorsForAdminPayload.prototype, "sellerRefundApprovalType", void 0);
76
+ __decorate([
77
+ (0, class_validator_1.IsEnum)(get_refunds_for_admin_enum_1.RefundPendingTypeEnum),
78
+ (0, class_validator_1.IsOptional)(),
79
+ __metadata("design:type", String)
80
+ ], GetRefundErrorsForAdminPayload.prototype, "refundPendingType", void 0);
81
+ __decorate([
82
+ (0, class_validator_1.IsEnum)(get_refunds_for_admin_enum_1.AuthorTypeEnum),
83
+ (0, class_validator_1.IsOptional)(),
84
+ __metadata("design:type", String)
85
+ ], GetRefundErrorsForAdminPayload.prototype, "_authorType", void 0);
86
+ __decorate([
87
+ (0, class_validator_1.IsEnum)(get_refunds_for_admin_enum_1.RefundReturnTypeEnum),
88
+ (0, class_validator_1.IsOptional)(),
89
+ __metadata("design:type", String)
90
+ ], GetRefundErrorsForAdminPayload.prototype, "refundReturnType", void 0);
91
+ __decorate([
92
+ (0, class_validator_1.IsEnum)(get_refunds_for_admin_enum_1.CartTypeEnum),
93
+ (0, class_validator_1.IsOptional)(),
94
+ __metadata("design:type", String)
95
+ ], GetRefundErrorsForAdminPayload.prototype, "cartType", void 0);
96
+ __decorate([
97
+ (0, class_validator_1.IsEnum)(get_refunds_for_admin_enum_1.PaymentMethodEnum),
98
+ (0, class_validator_1.IsOptional)(),
99
+ __metadata("design:type", String)
100
+ ], GetRefundErrorsForAdminPayload.prototype, "paymentMethod", void 0);
101
+ __decorate([
102
+ (0, class_validator_1.IsString)(),
103
+ (0, class_validator_1.IsOptional)(),
104
+ __metadata("design:type", String)
105
+ ], GetRefundErrorsForAdminPayload.prototype, "buyerId", void 0);
106
+ __decorate([
107
+ (0, class_validator_1.IsString)(),
108
+ (0, class_validator_1.IsOptional)(),
109
+ __metadata("design:type", String)
110
+ ], GetRefundErrorsForAdminPayload.prototype, "sellerId", void 0);
111
+ __decorate([
112
+ (0, class_validator_1.IsString)(),
113
+ (0, class_validator_1.IsOptional)(),
114
+ __metadata("design:type", String)
115
+ ], GetRefundErrorsForAdminPayload.prototype, "buyerName", void 0);
116
+ __decorate([
117
+ (0, class_validator_1.IsString)(),
118
+ (0, class_validator_1.IsOptional)(),
119
+ __metadata("design:type", String)
120
+ ], GetRefundErrorsForAdminPayload.prototype, "storeTitle", void 0);
121
+ __decorate([
122
+ (0, class_validator_1.IsString)(),
123
+ (0, class_validator_1.IsOptional)(),
124
+ __metadata("design:type", String)
125
+ ], GetRefundErrorsForAdminPayload.prototype, "imp_uid", void 0);
126
+ __decorate([
127
+ (0, class_validator_1.IsString)(),
128
+ (0, class_validator_1.IsOptional)(),
129
+ __metadata("design:type", String)
130
+ ], GetRefundErrorsForAdminPayload.prototype, "publicId", void 0);
131
+ __decorate([
132
+ (0, class_validator_1.IsString)(),
133
+ (0, class_validator_1.IsOptional)(),
134
+ __metadata("design:type", String)
135
+ ], GetRefundErrorsForAdminPayload.prototype, "pendingMemo", void 0);
136
+ __decorate([
137
+ (0, class_validator_1.IsString)(),
138
+ (0, class_validator_1.IsOptional)(),
139
+ __metadata("design:type", String)
140
+ ], GetRefundErrorsForAdminPayload.prototype, "cs1Memo", void 0);
141
+ __decorate([
142
+ (0, class_validator_1.IsEnum)(get_refunds_for_admin_enum_1.BlockRefundWithdrawTypeEnum),
143
+ (0, class_validator_1.IsOptional)(),
144
+ __metadata("design:type", String)
145
+ ], GetRefundErrorsForAdminPayload.prototype, "blockRefundWithdrawType", void 0);
146
+ __decorate([
147
+ (0, class_validator_1.IsMongoId)(),
148
+ (0, class_validator_1.IsOptional)(),
149
+ __metadata("design:type", String)
150
+ ], GetRefundErrorsForAdminPayload.prototype, "payTryLogId", void 0);
@@ -1,72 +1,5 @@
1
- export declare enum SortTypeEnum {
2
- 환불신청_오래된순 = "\uD658\uBD88\uC2E0\uCCAD_\uC624\uB798\uB41C\uC21C",
3
- 환불신청_최신순 = "\uD658\uBD88\uC2E0\uCCAD_\uCD5C\uC2E0\uC21C",
4
- 결제일_오래된순 = "\uACB0\uC81C\uC77C_\uC624\uB798\uB41C\uC21C",
5
- 결제일_최신순 = "\uACB0\uC81C\uC77C_\uCD5C\uC2E0\uC21C"
6
- }
7
- export declare enum SellerRefundApprovalTypeEnum {
8
- 셀러_승인_완료_및_필요없음 = "sellerApprovedAndNotRequired",
9
- 셀러_승인_완료 = "sellerApproved",
10
- 셀러_승인_대기중 = "sellerPending",
11
- 셀러_승인_필요없음 = "sellerApproveNotRequired",
12
- 관리자_승인_완료 = "adminApproved"
13
- }
14
- export declare enum RefundPendingTypeEnum {
15
- 환불_보류중 = "pending",
16
- 환불_보류_안함 = "notPending"
17
- }
18
- export declare enum AuthorTypeEnum {
19
- 셀러 = "seller",
20
- 구매자 = "buyer"
21
- }
22
- export declare enum RefundReturnTypeEnum {
23
- 반품_필요_반품_수령_확인_전 = "returnNeedConfirmation",
24
- 반품_필요_반품_수령_확인_완료 = "returnConfirmed",
25
- 반품_필요_없음 = "notNeed"
26
- }
27
- export declare enum CartTypeEnum {
28
- 장바구니 = "cart",
29
- 일반 = "normal"
30
- }
31
- export declare enum PaymentMethodEnum {
32
- /** @description 무통장 입금 */
33
- 무통장 = "yoloVBank",
34
- /** @description 카드결제 */
35
- '(구)카드' = "card",
36
- /** @description CHAI 결제 */
37
- 차이 = "chai",
38
- /** @description 무통장 입금 */
39
- 아임포트_토스페이먼츠_무통장 = "imp_tossPayVBank",
40
- /** @description 카드결제 */
41
- 아임포트_토스페이먼츠_카드 = "imp_tossPayCard",
42
- /** @description 네이버페이 결제 */
43
- 아임포트_네이버 = "imp_naverPay",
44
- /** @description 카카오페이 결제 */
45
- 아임포트_카카오 = "imp_kakaoPay",
46
- /** @description 페이코 결제 */
47
- 아임포트_페이코 = "imp_payco",
48
- /** @description 토스페이 */
49
- 아임포트_토스_즉시 = "imp_tossEasyPay",
50
- /** @description 토스 장바구니 */
51
- 토스_장바구니 = "toss_cartPay",
52
- /** @description KB 페이 */
53
- 아임포트_토스페이먼츠_카드_국민 = "imp_tossPayCard_kb",
54
- /** @description 해외카드 결제 */
55
- 아임포트_엑심베이 = "imp_eximbay",
56
- 직연동_퀵계좌 = "direct_tosspayments_trans",
57
- 직연동_토스페이 = "direct_tosspayments_tosspay",
58
- 직연동_카드 = "direct_tosspayments_card",
59
- 직연동_가상계좌 = "direct_tosspayments_vbank"
60
- }
61
- /** @description 관리자 환불 조회 에러 코드 */
62
- export declare enum GetRefundsForAdminErrorTypeEnum {
63
- 환불요청일_결제일_둘_중_하나라도_있어야함 = "NOT_EXISTS_REFUND_DATE_AND_PAYMENT_DATE",
64
- 환불요청일_결제일_두개다_오면_안됨 = "EXISTS_BOTH_REFUND_DATE_AND_PAYMENT_DATE"
65
- }
66
- export declare enum BlockRefundWithdrawTypeEnum {
67
- 환불_철회_막힘 = "blocked",
68
- 환불_철회_가능 = "notBlocked"
69
- }
1
+ import { AuthorTypeEnum, BlockRefundWithdrawTypeEnum, CartTypeEnum, PaymentMethodEnum, RefundPendingTypeEnum, RefundReturnTypeEnum, SellerRefundApprovalTypeEnum, SortTypeEnum } from './get-refunds-for-admin.enum';
2
+ export * from './get-refunds-for-admin.enum';
70
3
  /**
71
4
  * @author jun
72
5
  * @description 관리자 환불 리스트 조회 payload
@@ -121,7 +54,6 @@ export declare class GetRefundsForAdminPayload {
121
54
  blockRefundWithdrawType?: BlockRefundWithdrawTypeEnum;
122
55
  payTryLogId?: string;
123
56
  }
124
- export type GetRefundErrorsForAdminPayload = Omit<GetRefundsForAdminPayload, 'isRefundError'>;
125
57
  export declare class GetRefundsForAdminResult {
126
58
  allRefundCount: number;
127
59
  refunds: unknown[];
@@ -1,95 +1,33 @@
1
1
  "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
2
13
  var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
14
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
15
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
16
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
17
  return c > 3 && r && Object.defineProperty(target, key, r), r;
7
18
  };
19
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
20
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
21
+ };
8
22
  var __metadata = (this && this.__metadata) || function (k, v) {
9
23
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
24
  };
11
25
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.GetRefundsForAdminResult = exports.GetRefundsForAdminPayload = exports.BlockRefundWithdrawTypeEnum = exports.GetRefundsForAdminErrorTypeEnum = exports.PaymentMethodEnum = exports.CartTypeEnum = exports.RefundReturnTypeEnum = exports.AuthorTypeEnum = exports.RefundPendingTypeEnum = exports.SellerRefundApprovalTypeEnum = exports.SortTypeEnum = void 0;
26
+ exports.GetRefundsForAdminResult = exports.GetRefundsForAdminPayload = void 0;
13
27
  const class_transformer_1 = require("class-transformer");
14
28
  const class_validator_1 = require("class-validator");
15
- var SortTypeEnum;
16
- (function (SortTypeEnum) {
17
- SortTypeEnum["\uD658\uBD88\uC2E0\uCCAD_\uC624\uB798\uB41C\uC21C"] = "\uD658\uBD88\uC2E0\uCCAD_\uC624\uB798\uB41C\uC21C";
18
- SortTypeEnum["\uD658\uBD88\uC2E0\uCCAD_\uCD5C\uC2E0\uC21C"] = "\uD658\uBD88\uC2E0\uCCAD_\uCD5C\uC2E0\uC21C";
19
- SortTypeEnum["\uACB0\uC81C\uC77C_\uC624\uB798\uB41C\uC21C"] = "\uACB0\uC81C\uC77C_\uC624\uB798\uB41C\uC21C";
20
- SortTypeEnum["\uACB0\uC81C\uC77C_\uCD5C\uC2E0\uC21C"] = "\uACB0\uC81C\uC77C_\uCD5C\uC2E0\uC21C";
21
- })(SortTypeEnum || (exports.SortTypeEnum = SortTypeEnum = {}));
22
- var SellerRefundApprovalTypeEnum;
23
- (function (SellerRefundApprovalTypeEnum) {
24
- SellerRefundApprovalTypeEnum["\uC140\uB7EC_\uC2B9\uC778_\uC644\uB8CC_\uBC0F_\uD544\uC694\uC5C6\uC74C"] = "sellerApprovedAndNotRequired";
25
- SellerRefundApprovalTypeEnum["\uC140\uB7EC_\uC2B9\uC778_\uC644\uB8CC"] = "sellerApproved";
26
- SellerRefundApprovalTypeEnum["\uC140\uB7EC_\uC2B9\uC778_\uB300\uAE30\uC911"] = "sellerPending";
27
- SellerRefundApprovalTypeEnum["\uC140\uB7EC_\uC2B9\uC778_\uD544\uC694\uC5C6\uC74C"] = "sellerApproveNotRequired";
28
- SellerRefundApprovalTypeEnum["\uAD00\uB9AC\uC790_\uC2B9\uC778_\uC644\uB8CC"] = "adminApproved";
29
- })(SellerRefundApprovalTypeEnum || (exports.SellerRefundApprovalTypeEnum = SellerRefundApprovalTypeEnum = {}));
30
- var RefundPendingTypeEnum;
31
- (function (RefundPendingTypeEnum) {
32
- RefundPendingTypeEnum["\uD658\uBD88_\uBCF4\uB958\uC911"] = "pending";
33
- RefundPendingTypeEnum["\uD658\uBD88_\uBCF4\uB958_\uC548\uD568"] = "notPending";
34
- })(RefundPendingTypeEnum || (exports.RefundPendingTypeEnum = RefundPendingTypeEnum = {}));
35
- var AuthorTypeEnum;
36
- (function (AuthorTypeEnum) {
37
- AuthorTypeEnum["\uC140\uB7EC"] = "seller";
38
- AuthorTypeEnum["\uAD6C\uB9E4\uC790"] = "buyer";
39
- })(AuthorTypeEnum || (exports.AuthorTypeEnum = AuthorTypeEnum = {}));
40
- var RefundReturnTypeEnum;
41
- (function (RefundReturnTypeEnum) {
42
- RefundReturnTypeEnum["\uBC18\uD488_\uD544\uC694_\uBC18\uD488_\uC218\uB839_\uD655\uC778_\uC804"] = "returnNeedConfirmation";
43
- RefundReturnTypeEnum["\uBC18\uD488_\uD544\uC694_\uBC18\uD488_\uC218\uB839_\uD655\uC778_\uC644\uB8CC"] = "returnConfirmed";
44
- RefundReturnTypeEnum["\uBC18\uD488_\uD544\uC694_\uC5C6\uC74C"] = "notNeed";
45
- })(RefundReturnTypeEnum || (exports.RefundReturnTypeEnum = RefundReturnTypeEnum = {}));
46
- var CartTypeEnum;
47
- (function (CartTypeEnum) {
48
- CartTypeEnum["\uC7A5\uBC14\uAD6C\uB2C8"] = "cart";
49
- CartTypeEnum["\uC77C\uBC18"] = "normal";
50
- })(CartTypeEnum || (exports.CartTypeEnum = CartTypeEnum = {}));
51
- var PaymentMethodEnum;
52
- (function (PaymentMethodEnum) {
53
- /** @description 무통장 입금 */
54
- PaymentMethodEnum["\uBB34\uD1B5\uC7A5"] = "yoloVBank";
55
- /** @description 카드결제 */
56
- PaymentMethodEnum["(\uAD6C)\uCE74\uB4DC"] = "card";
57
- /** @description CHAI 결제 */
58
- PaymentMethodEnum["\uCC28\uC774"] = "chai";
59
- /** @description 무통장 입금 */
60
- PaymentMethodEnum["\uC544\uC784\uD3EC\uD2B8_\uD1A0\uC2A4\uD398\uC774\uBA3C\uCE20_\uBB34\uD1B5\uC7A5"] = "imp_tossPayVBank";
61
- /** @description 카드결제 */
62
- PaymentMethodEnum["\uC544\uC784\uD3EC\uD2B8_\uD1A0\uC2A4\uD398\uC774\uBA3C\uCE20_\uCE74\uB4DC"] = "imp_tossPayCard";
63
- /** @description 네이버페이 결제 */
64
- PaymentMethodEnum["\uC544\uC784\uD3EC\uD2B8_\uB124\uC774\uBC84"] = "imp_naverPay";
65
- /** @description 카카오페이 결제 */
66
- PaymentMethodEnum["\uC544\uC784\uD3EC\uD2B8_\uCE74\uCE74\uC624"] = "imp_kakaoPay";
67
- /** @description 페이코 결제 */
68
- PaymentMethodEnum["\uC544\uC784\uD3EC\uD2B8_\uD398\uC774\uCF54"] = "imp_payco";
69
- /** @description 토스페이 */
70
- PaymentMethodEnum["\uC544\uC784\uD3EC\uD2B8_\uD1A0\uC2A4_\uC989\uC2DC"] = "imp_tossEasyPay";
71
- /** @description 토스 장바구니 */
72
- PaymentMethodEnum["\uD1A0\uC2A4_\uC7A5\uBC14\uAD6C\uB2C8"] = "toss_cartPay";
73
- /** @description KB 페이 */
74
- PaymentMethodEnum["\uC544\uC784\uD3EC\uD2B8_\uD1A0\uC2A4\uD398\uC774\uBA3C\uCE20_\uCE74\uB4DC_\uAD6D\uBBFC"] = "imp_tossPayCard_kb";
75
- /** @description 해외카드 결제 */
76
- PaymentMethodEnum["\uC544\uC784\uD3EC\uD2B8_\uC5D1\uC2EC\uBCA0\uC774"] = "imp_eximbay";
77
- PaymentMethodEnum["\uC9C1\uC5F0\uB3D9_\uD035\uACC4\uC88C"] = "direct_tosspayments_trans";
78
- PaymentMethodEnum["\uC9C1\uC5F0\uB3D9_\uD1A0\uC2A4\uD398\uC774"] = "direct_tosspayments_tosspay";
79
- PaymentMethodEnum["\uC9C1\uC5F0\uB3D9_\uCE74\uB4DC"] = "direct_tosspayments_card";
80
- PaymentMethodEnum["\uC9C1\uC5F0\uB3D9_\uAC00\uC0C1\uACC4\uC88C"] = "direct_tosspayments_vbank";
81
- })(PaymentMethodEnum || (exports.PaymentMethodEnum = PaymentMethodEnum = {}));
82
- /** @description 관리자 환불 조회 에러 코드 */
83
- var GetRefundsForAdminErrorTypeEnum;
84
- (function (GetRefundsForAdminErrorTypeEnum) {
85
- GetRefundsForAdminErrorTypeEnum["\uD658\uBD88\uC694\uCCAD\uC77C_\uACB0\uC81C\uC77C_\uB458_\uC911_\uD558\uB098\uB77C\uB3C4_\uC788\uC5B4\uC57C\uD568"] = "NOT_EXISTS_REFUND_DATE_AND_PAYMENT_DATE";
86
- GetRefundsForAdminErrorTypeEnum["\uD658\uBD88\uC694\uCCAD\uC77C_\uACB0\uC81C\uC77C_\uB450\uAC1C\uB2E4_\uC624\uBA74_\uC548\uB428"] = "EXISTS_BOTH_REFUND_DATE_AND_PAYMENT_DATE";
87
- })(GetRefundsForAdminErrorTypeEnum || (exports.GetRefundsForAdminErrorTypeEnum = GetRefundsForAdminErrorTypeEnum = {}));
88
- var BlockRefundWithdrawTypeEnum;
89
- (function (BlockRefundWithdrawTypeEnum) {
90
- BlockRefundWithdrawTypeEnum["\uD658\uBD88_\uCCA0\uD68C_\uB9C9\uD798"] = "blocked";
91
- BlockRefundWithdrawTypeEnum["\uD658\uBD88_\uCCA0\uD68C_\uAC00\uB2A5"] = "notBlocked";
92
- })(BlockRefundWithdrawTypeEnum || (exports.BlockRefundWithdrawTypeEnum = BlockRefundWithdrawTypeEnum = {}));
29
+ const get_refunds_for_admin_enum_1 = require("./get-refunds-for-admin.enum");
30
+ __exportStar(require("./get-refunds-for-admin.enum"), exports);
93
31
  /**
94
32
  * @author jun
95
33
  * @description 관리자 환불 리스트 조회 payload
@@ -112,7 +50,7 @@ __decorate([
112
50
  ], GetRefundsForAdminPayload.prototype, "limit", void 0);
113
51
  __decorate([
114
52
  (0, class_validator_1.IsNotEmpty)(),
115
- (0, class_validator_1.IsEnum)(SortTypeEnum),
53
+ (0, class_validator_1.IsEnum)(get_refunds_for_admin_enum_1.SortTypeEnum),
116
54
  __metadata("design:type", String)
117
55
  ], GetRefundsForAdminPayload.prototype, "sortType", void 0);
118
56
  __decorate([
@@ -146,32 +84,32 @@ __decorate([
146
84
  __metadata("design:type", String)
147
85
  ], GetRefundsForAdminPayload.prototype, "PInfoLastProcess", void 0);
148
86
  __decorate([
149
- (0, class_validator_1.IsEnum)(SellerRefundApprovalTypeEnum),
87
+ (0, class_validator_1.IsEnum)(get_refunds_for_admin_enum_1.SellerRefundApprovalTypeEnum),
150
88
  (0, class_validator_1.IsOptional)(),
151
89
  __metadata("design:type", String)
152
90
  ], GetRefundsForAdminPayload.prototype, "sellerRefundApprovalType", void 0);
153
91
  __decorate([
154
- (0, class_validator_1.IsEnum)(RefundPendingTypeEnum),
92
+ (0, class_validator_1.IsEnum)(get_refunds_for_admin_enum_1.RefundPendingTypeEnum),
155
93
  (0, class_validator_1.IsOptional)(),
156
94
  __metadata("design:type", String)
157
95
  ], GetRefundsForAdminPayload.prototype, "refundPendingType", void 0);
158
96
  __decorate([
159
- (0, class_validator_1.IsEnum)(AuthorTypeEnum),
97
+ (0, class_validator_1.IsEnum)(get_refunds_for_admin_enum_1.AuthorTypeEnum),
160
98
  (0, class_validator_1.IsOptional)(),
161
99
  __metadata("design:type", String)
162
100
  ], GetRefundsForAdminPayload.prototype, "_authorType", void 0);
163
101
  __decorate([
164
- (0, class_validator_1.IsEnum)(RefundReturnTypeEnum),
102
+ (0, class_validator_1.IsEnum)(get_refunds_for_admin_enum_1.RefundReturnTypeEnum),
165
103
  (0, class_validator_1.IsOptional)(),
166
104
  __metadata("design:type", String)
167
105
  ], GetRefundsForAdminPayload.prototype, "refundReturnType", void 0);
168
106
  __decorate([
169
- (0, class_validator_1.IsEnum)(CartTypeEnum),
107
+ (0, class_validator_1.IsEnum)(get_refunds_for_admin_enum_1.CartTypeEnum),
170
108
  (0, class_validator_1.IsOptional)(),
171
109
  __metadata("design:type", String)
172
110
  ], GetRefundsForAdminPayload.prototype, "cartType", void 0);
173
111
  __decorate([
174
- (0, class_validator_1.IsEnum)(PaymentMethodEnum),
112
+ (0, class_validator_1.IsEnum)(get_refunds_for_admin_enum_1.PaymentMethodEnum),
175
113
  (0, class_validator_1.IsOptional)(),
176
114
  __metadata("design:type", String)
177
115
  ], GetRefundsForAdminPayload.prototype, "paymentMethod", void 0);
@@ -221,7 +159,7 @@ __decorate([
221
159
  __metadata("design:type", Boolean)
222
160
  ], GetRefundsForAdminPayload.prototype, "isRefundError", void 0);
223
161
  __decorate([
224
- (0, class_validator_1.IsEnum)(BlockRefundWithdrawTypeEnum),
162
+ (0, class_validator_1.IsEnum)(get_refunds_for_admin_enum_1.BlockRefundWithdrawTypeEnum),
225
163
  (0, class_validator_1.IsOptional)(),
226
164
  __metadata("design:type", String)
227
165
  ], GetRefundsForAdminPayload.prototype, "blockRefundWithdrawType", void 0);
@@ -0,0 +1,69 @@
1
+ export declare enum SortTypeEnum {
2
+ 환불신청_오래된순 = "\uD658\uBD88\uC2E0\uCCAD_\uC624\uB798\uB41C\uC21C",
3
+ 환불신청_최신순 = "\uD658\uBD88\uC2E0\uCCAD_\uCD5C\uC2E0\uC21C",
4
+ 결제일_오래된순 = "\uACB0\uC81C\uC77C_\uC624\uB798\uB41C\uC21C",
5
+ 결제일_최신순 = "\uACB0\uC81C\uC77C_\uCD5C\uC2E0\uC21C"
6
+ }
7
+ export declare enum SellerRefundApprovalTypeEnum {
8
+ 셀러_승인_완료_및_필요없음 = "sellerApprovedAndNotRequired",
9
+ 셀러_승인_완료 = "sellerApproved",
10
+ 셀러_승인_대기중 = "sellerPending",
11
+ 셀러_승인_필요없음 = "sellerApproveNotRequired",
12
+ 관리자_승인_완료 = "adminApproved"
13
+ }
14
+ export declare enum RefundPendingTypeEnum {
15
+ 환불_보류중 = "pending",
16
+ 환불_보류_안함 = "notPending"
17
+ }
18
+ export declare enum AuthorTypeEnum {
19
+ 셀러 = "seller",
20
+ 구매자 = "buyer"
21
+ }
22
+ export declare enum RefundReturnTypeEnum {
23
+ 반품_필요_반품_수령_확인_전 = "returnNeedConfirmation",
24
+ 반품_필요_반품_수령_확인_완료 = "returnConfirmed",
25
+ 반품_필요_없음 = "notNeed"
26
+ }
27
+ export declare enum CartTypeEnum {
28
+ 장바구니 = "cart",
29
+ 일반 = "normal"
30
+ }
31
+ export declare enum PaymentMethodEnum {
32
+ /** @description 무통장 입금 */
33
+ 무통장 = "yoloVBank",
34
+ /** @description 카드결제 */
35
+ '(구)카드' = "card",
36
+ /** @description CHAI 결제 */
37
+ 차이 = "chai",
38
+ /** @description 무통장 입금 */
39
+ 아임포트_토스페이먼츠_무통장 = "imp_tossPayVBank",
40
+ /** @description 카드결제 */
41
+ 아임포트_토스페이먼츠_카드 = "imp_tossPayCard",
42
+ /** @description 네이버페이 결제 */
43
+ 아임포트_네이버 = "imp_naverPay",
44
+ /** @description 카카오페이 결제 */
45
+ 아임포트_카카오 = "imp_kakaoPay",
46
+ /** @description 페이코 결제 */
47
+ 아임포트_페이코 = "imp_payco",
48
+ /** @description 토스페이 */
49
+ 아임포트_토스_즉시 = "imp_tossEasyPay",
50
+ /** @description 토스 장바구니 */
51
+ 토스_장바구니 = "toss_cartPay",
52
+ /** @description KB 페이 */
53
+ 아임포트_토스페이먼츠_카드_국민 = "imp_tossPayCard_kb",
54
+ /** @description 해외카드 결제 */
55
+ 아임포트_엑심베이 = "imp_eximbay",
56
+ 직연동_퀵계좌 = "direct_tosspayments_trans",
57
+ 직연동_토스페이 = "direct_tosspayments_tosspay",
58
+ 직연동_카드 = "direct_tosspayments_card",
59
+ 직연동_가상계좌 = "direct_tosspayments_vbank"
60
+ }
61
+ /** @description 관리자 환불 조회 에러 코드 */
62
+ export declare enum GetRefundsForAdminErrorTypeEnum {
63
+ 환불요청일_결제일_둘_중_하나라도_있어야함 = "NOT_EXISTS_REFUND_DATE_AND_PAYMENT_DATE",
64
+ 환불요청일_결제일_두개다_오면_안됨 = "EXISTS_BOTH_REFUND_DATE_AND_PAYMENT_DATE"
65
+ }
66
+ export declare enum BlockRefundWithdrawTypeEnum {
67
+ 환불_철회_막힘 = "blocked",
68
+ 환불_철회_가능 = "notBlocked"
69
+ }
@@ -0,0 +1,81 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BlockRefundWithdrawTypeEnum = exports.GetRefundsForAdminErrorTypeEnum = exports.PaymentMethodEnum = exports.CartTypeEnum = exports.RefundReturnTypeEnum = exports.AuthorTypeEnum = exports.RefundPendingTypeEnum = exports.SellerRefundApprovalTypeEnum = exports.SortTypeEnum = void 0;
4
+ var SortTypeEnum;
5
+ (function (SortTypeEnum) {
6
+ SortTypeEnum["\uD658\uBD88\uC2E0\uCCAD_\uC624\uB798\uB41C\uC21C"] = "\uD658\uBD88\uC2E0\uCCAD_\uC624\uB798\uB41C\uC21C";
7
+ SortTypeEnum["\uD658\uBD88\uC2E0\uCCAD_\uCD5C\uC2E0\uC21C"] = "\uD658\uBD88\uC2E0\uCCAD_\uCD5C\uC2E0\uC21C";
8
+ SortTypeEnum["\uACB0\uC81C\uC77C_\uC624\uB798\uB41C\uC21C"] = "\uACB0\uC81C\uC77C_\uC624\uB798\uB41C\uC21C";
9
+ SortTypeEnum["\uACB0\uC81C\uC77C_\uCD5C\uC2E0\uC21C"] = "\uACB0\uC81C\uC77C_\uCD5C\uC2E0\uC21C";
10
+ })(SortTypeEnum || (exports.SortTypeEnum = SortTypeEnum = {}));
11
+ var SellerRefundApprovalTypeEnum;
12
+ (function (SellerRefundApprovalTypeEnum) {
13
+ SellerRefundApprovalTypeEnum["\uC140\uB7EC_\uC2B9\uC778_\uC644\uB8CC_\uBC0F_\uD544\uC694\uC5C6\uC74C"] = "sellerApprovedAndNotRequired";
14
+ SellerRefundApprovalTypeEnum["\uC140\uB7EC_\uC2B9\uC778_\uC644\uB8CC"] = "sellerApproved";
15
+ SellerRefundApprovalTypeEnum["\uC140\uB7EC_\uC2B9\uC778_\uB300\uAE30\uC911"] = "sellerPending";
16
+ SellerRefundApprovalTypeEnum["\uC140\uB7EC_\uC2B9\uC778_\uD544\uC694\uC5C6\uC74C"] = "sellerApproveNotRequired";
17
+ SellerRefundApprovalTypeEnum["\uAD00\uB9AC\uC790_\uC2B9\uC778_\uC644\uB8CC"] = "adminApproved";
18
+ })(SellerRefundApprovalTypeEnum || (exports.SellerRefundApprovalTypeEnum = SellerRefundApprovalTypeEnum = {}));
19
+ var RefundPendingTypeEnum;
20
+ (function (RefundPendingTypeEnum) {
21
+ RefundPendingTypeEnum["\uD658\uBD88_\uBCF4\uB958\uC911"] = "pending";
22
+ RefundPendingTypeEnum["\uD658\uBD88_\uBCF4\uB958_\uC548\uD568"] = "notPending";
23
+ })(RefundPendingTypeEnum || (exports.RefundPendingTypeEnum = RefundPendingTypeEnum = {}));
24
+ var AuthorTypeEnum;
25
+ (function (AuthorTypeEnum) {
26
+ AuthorTypeEnum["\uC140\uB7EC"] = "seller";
27
+ AuthorTypeEnum["\uAD6C\uB9E4\uC790"] = "buyer";
28
+ })(AuthorTypeEnum || (exports.AuthorTypeEnum = AuthorTypeEnum = {}));
29
+ var RefundReturnTypeEnum;
30
+ (function (RefundReturnTypeEnum) {
31
+ RefundReturnTypeEnum["\uBC18\uD488_\uD544\uC694_\uBC18\uD488_\uC218\uB839_\uD655\uC778_\uC804"] = "returnNeedConfirmation";
32
+ RefundReturnTypeEnum["\uBC18\uD488_\uD544\uC694_\uBC18\uD488_\uC218\uB839_\uD655\uC778_\uC644\uB8CC"] = "returnConfirmed";
33
+ RefundReturnTypeEnum["\uBC18\uD488_\uD544\uC694_\uC5C6\uC74C"] = "notNeed";
34
+ })(RefundReturnTypeEnum || (exports.RefundReturnTypeEnum = RefundReturnTypeEnum = {}));
35
+ var CartTypeEnum;
36
+ (function (CartTypeEnum) {
37
+ CartTypeEnum["\uC7A5\uBC14\uAD6C\uB2C8"] = "cart";
38
+ CartTypeEnum["\uC77C\uBC18"] = "normal";
39
+ })(CartTypeEnum || (exports.CartTypeEnum = CartTypeEnum = {}));
40
+ var PaymentMethodEnum;
41
+ (function (PaymentMethodEnum) {
42
+ /** @description 무통장 입금 */
43
+ PaymentMethodEnum["\uBB34\uD1B5\uC7A5"] = "yoloVBank";
44
+ /** @description 카드결제 */
45
+ PaymentMethodEnum["(\uAD6C)\uCE74\uB4DC"] = "card";
46
+ /** @description CHAI 결제 */
47
+ PaymentMethodEnum["\uCC28\uC774"] = "chai";
48
+ /** @description 무통장 입금 */
49
+ PaymentMethodEnum["\uC544\uC784\uD3EC\uD2B8_\uD1A0\uC2A4\uD398\uC774\uBA3C\uCE20_\uBB34\uD1B5\uC7A5"] = "imp_tossPayVBank";
50
+ /** @description 카드결제 */
51
+ PaymentMethodEnum["\uC544\uC784\uD3EC\uD2B8_\uD1A0\uC2A4\uD398\uC774\uBA3C\uCE20_\uCE74\uB4DC"] = "imp_tossPayCard";
52
+ /** @description 네이버페이 결제 */
53
+ PaymentMethodEnum["\uC544\uC784\uD3EC\uD2B8_\uB124\uC774\uBC84"] = "imp_naverPay";
54
+ /** @description 카카오페이 결제 */
55
+ PaymentMethodEnum["\uC544\uC784\uD3EC\uD2B8_\uCE74\uCE74\uC624"] = "imp_kakaoPay";
56
+ /** @description 페이코 결제 */
57
+ PaymentMethodEnum["\uC544\uC784\uD3EC\uD2B8_\uD398\uC774\uCF54"] = "imp_payco";
58
+ /** @description 토스페이 */
59
+ PaymentMethodEnum["\uC544\uC784\uD3EC\uD2B8_\uD1A0\uC2A4_\uC989\uC2DC"] = "imp_tossEasyPay";
60
+ /** @description 토스 장바구니 */
61
+ PaymentMethodEnum["\uD1A0\uC2A4_\uC7A5\uBC14\uAD6C\uB2C8"] = "toss_cartPay";
62
+ /** @description KB 페이 */
63
+ PaymentMethodEnum["\uC544\uC784\uD3EC\uD2B8_\uD1A0\uC2A4\uD398\uC774\uBA3C\uCE20_\uCE74\uB4DC_\uAD6D\uBBFC"] = "imp_tossPayCard_kb";
64
+ /** @description 해외카드 결제 */
65
+ PaymentMethodEnum["\uC544\uC784\uD3EC\uD2B8_\uC5D1\uC2EC\uBCA0\uC774"] = "imp_eximbay";
66
+ PaymentMethodEnum["\uC9C1\uC5F0\uB3D9_\uD035\uACC4\uC88C"] = "direct_tosspayments_trans";
67
+ PaymentMethodEnum["\uC9C1\uC5F0\uB3D9_\uD1A0\uC2A4\uD398\uC774"] = "direct_tosspayments_tosspay";
68
+ PaymentMethodEnum["\uC9C1\uC5F0\uB3D9_\uCE74\uB4DC"] = "direct_tosspayments_card";
69
+ PaymentMethodEnum["\uC9C1\uC5F0\uB3D9_\uAC00\uC0C1\uACC4\uC88C"] = "direct_tosspayments_vbank";
70
+ })(PaymentMethodEnum || (exports.PaymentMethodEnum = PaymentMethodEnum = {}));
71
+ /** @description 관리자 환불 조회 에러 코드 */
72
+ var GetRefundsForAdminErrorTypeEnum;
73
+ (function (GetRefundsForAdminErrorTypeEnum) {
74
+ GetRefundsForAdminErrorTypeEnum["\uD658\uBD88\uC694\uCCAD\uC77C_\uACB0\uC81C\uC77C_\uB458_\uC911_\uD558\uB098\uB77C\uB3C4_\uC788\uC5B4\uC57C\uD568"] = "NOT_EXISTS_REFUND_DATE_AND_PAYMENT_DATE";
75
+ GetRefundsForAdminErrorTypeEnum["\uD658\uBD88\uC694\uCCAD\uC77C_\uACB0\uC81C\uC77C_\uB450\uAC1C\uB2E4_\uC624\uBA74_\uC548\uB428"] = "EXISTS_BOTH_REFUND_DATE_AND_PAYMENT_DATE";
76
+ })(GetRefundsForAdminErrorTypeEnum || (exports.GetRefundsForAdminErrorTypeEnum = GetRefundsForAdminErrorTypeEnum = {}));
77
+ var BlockRefundWithdrawTypeEnum;
78
+ (function (BlockRefundWithdrawTypeEnum) {
79
+ BlockRefundWithdrawTypeEnum["\uD658\uBD88_\uCCA0\uD68C_\uB9C9\uD798"] = "blocked";
80
+ BlockRefundWithdrawTypeEnum["\uD658\uBD88_\uCCA0\uD68C_\uAC00\uB2A5"] = "notBlocked";
81
+ })(BlockRefundWithdrawTypeEnum || (exports.BlockRefundWithdrawTypeEnum = BlockRefundWithdrawTypeEnum = {}));
@@ -2,3 +2,4 @@ export * from './get-refunds-analytics-aggregation-refunding-top3.dto';
2
2
  export * from './check-for-immediate-refund-availability-v2.dto';
3
3
  export * from './get-refund-notice.dto';
4
4
  export * from './get-refunds-for-admin.dto';
5
+ export * from './get-refund-errors-for-admin.dto';
@@ -18,3 +18,4 @@ __exportStar(require("./get-refunds-analytics-aggregation-refunding-top3.dto"),
18
18
  __exportStar(require("./check-for-immediate-refund-availability-v2.dto"), exports);
19
19
  __exportStar(require("./get-refund-notice.dto"), exports);
20
20
  __exportStar(require("./get-refunds-for-admin.dto"), exports);
21
+ __exportStar(require("./get-refund-errors-for-admin.dto"), exports);