@yolo-croket-dev/amqp-access 0.4.74 → 0.4.75

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.
@@ -0,0 +1,7 @@
1
+ import { PurchasedInfoDatailForAdminDomain } from '@yolo-croket-dev/domain/purchased-info/interface/purchased-info-detail-for-admin.domain';
2
+ export declare class GetPurchasedInfoDetailForAdminEditPayload {
3
+ pInfoId: string;
4
+ }
5
+ export declare class GetPurchasedInfoDetailForAdminEditResult {
6
+ pInfo: PurchasedInfoDatailForAdminDomain | null;
7
+ }
@@ -0,0 +1,23 @@
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.GetPurchasedInfoDetailForAdminEditResult = exports.GetPurchasedInfoDetailForAdminEditPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class GetPurchasedInfoDetailForAdminEditPayload {
15
+ }
16
+ exports.GetPurchasedInfoDetailForAdminEditPayload = GetPurchasedInfoDetailForAdminEditPayload;
17
+ __decorate([
18
+ (0, class_validator_1.IsMongoId)(),
19
+ __metadata("design:type", String)
20
+ ], GetPurchasedInfoDetailForAdminEditPayload.prototype, "pInfoId", void 0);
21
+ class GetPurchasedInfoDetailForAdminEditResult {
22
+ }
23
+ exports.GetPurchasedInfoDetailForAdminEditResult = GetPurchasedInfoDetailForAdminEditResult;
@@ -1 +1,2 @@
1
1
  export * from './get-purchased-infos-for-admin.dto';
2
+ export * from './get-purchased-info-detail-for-admin-edit.dto';
@@ -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("./get-purchased-infos-for-admin.dto"), exports);
18
+ __exportStar(require("./get-purchased-info-detail-for-admin-edit.dto"), exports);
@@ -1,9 +1,10 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { GetPurchasedInfosForAdminPayload, GetPurchasedInfosForAdminResult } from '../dto/purchased-info.modules';
3
+ import { GetPurchasedInfosForAdminPayload, GetPurchasedInfosForAdminResult, GetPurchasedInfoDetailForAdminEditPayload, GetPurchasedInfoDetailForAdminEditResult } from '../dto/purchased-info.modules';
4
4
  export declare class AmqpPurchasedInfoAdminService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
7
7
  constructor(client: ClientProxy);
8
8
  getPurchasedInfosForAdmin(payload: GetPurchasedInfosForAdminPayload, param: AbstractParam): Promise<GetPurchasedInfosForAdminResult>;
9
+ getPurchasedInfoDetailForAdminEdit(payload: GetPurchasedInfoDetailForAdminEditPayload, param: AbstractParam): Promise<GetPurchasedInfoDetailForAdminEditResult>;
9
10
  }
@@ -24,6 +24,9 @@ let AmqpPurchasedInfoAdminService = class AmqpPurchasedInfoAdminService {
24
24
  async getPurchasedInfosForAdmin(payload, param) {
25
25
  return this.amqpManager.call('결제 리스트 조회 (관리자)', 'purchased-info-admin.get.list', payload, param, { isErrorThrowing: true });
26
26
  }
27
+ async getPurchasedInfoDetailForAdminEdit(payload, param) {
28
+ return this.amqpManager.call('결제 상세 조회 (관리자 수정용)', 'purchased-info-admin.get.detail-for-edit', payload, param, { isErrorThrowing: true });
29
+ }
27
30
  };
28
31
  exports.AmqpPurchasedInfoAdminService = AmqpPurchasedInfoAdminService;
29
32
  exports.AmqpPurchasedInfoAdminService = AmqpPurchasedInfoAdminService = __decorate([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.4.74",
3
+ "version": "0.4.75",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",