@yolo-croket-dev/amqp-access 0.2.2-hj-2 → 0.2.2-hj-4

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.2.2-hj-2",
3
+ "version": "0.2.2-hj-4",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -1,21 +1,19 @@
1
- import { PartialRefundAuthorTypeEnum } from '@yolo-croket-dev/entity-v2';
1
+ import { PartialRefundEntity, PurchasedInfoEntity } from '@yolo-croket-dev/entity-v2';
2
2
  export declare class GetPartialRefundsForMailPayload {
3
3
  sellerId: string;
4
4
  startedAt: Date;
5
5
  endedAt: Date;
6
6
  }
7
- export declare class PartialRefundForMail {
8
- PInfoId: string;
9
- partialRefundId: string;
10
- itemImg: string;
11
- publicId: string;
12
- itemName: string;
13
- authorType: PartialRefundAuthorTypeEnum;
14
- /** @description 현재 결제 프로세스 */
15
- process: string;
7
+ export interface PastPInfoForMail extends Pick<PurchasedInfoEntity, '_id' | 'pastName' | 'pastImg' | 'publicId'> {
8
+ }
9
+ export interface PartialRefundForMail extends Pick<PartialRefundEntity, '_id' | 'authorType'> {
10
+ }
11
+ export interface PartialRefundInfoForMail {
12
+ partialRefund: PartialRefundForMail;
13
+ purchasedInfo: Pick<PurchasedInfoEntity, 'process_v2'>;
16
14
  }
17
15
  export declare class GetPartialRefundsForMailResult {
18
- beforeDelivery: PartialRefundForMail[];
19
- afterDeliveryAndwaitingReceive: PartialRefundForMail[];
20
- withdrawal: PartialRefundForMail[];
16
+ beforeDelivery: PartialRefundInfoForMail[];
17
+ afterDeliveryAndWaitingReceive: PartialRefundInfoForMail[];
18
+ withdrawal: PartialRefundInfoForMail[];
21
19
  }
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.GetPartialRefundsForMailResult = exports.PartialRefundForMail = exports.GetPartialRefundsForMailPayload = void 0;
12
+ exports.GetPartialRefundsForMailResult = exports.GetPartialRefundsForMailPayload = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const class_transformer_1 = require("class-transformer");
15
15
  class GetPartialRefundsForMailPayload {
@@ -29,9 +29,6 @@ __decorate([
29
29
  (0, class_transformer_1.Type)(() => Date),
30
30
  __metadata("design:type", Date)
31
31
  ], GetPartialRefundsForMailPayload.prototype, "endedAt", void 0);
32
- class PartialRefundForMail {
33
- }
34
- exports.PartialRefundForMail = PartialRefundForMail;
35
32
  class GetPartialRefundsForMailResult {
36
33
  }
37
34
  exports.GetPartialRefundsForMailResult = GetPartialRefundsForMailResult;