@yolo-croket-dev/amqp-access 0.7.47-jun.15 → 0.7.47-jun.16

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 +1,2 @@
1
1
  export * from './command';
2
+ export * from './query';
@@ -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("./command"), exports);
18
+ __exportStar(require("./query"), exports);
@@ -0,0 +1,19 @@
1
+ import { UserCardBillingEntity } from '@yolo-croket-dev/entity-v2/user';
2
+ /**
3
+ * @description 유저 카드 정보 목록 조회 요청 Payload
4
+ */
5
+ export declare class GetUserCardBillingListPayload {
6
+ /** 페이지 번호 */
7
+ page: number;
8
+ /** 페이지당 개수 */
9
+ limit: number;
10
+ }
11
+ /**
12
+ * @description 유저 카드 정보 목록 조회 응답 Result
13
+ */
14
+ export declare class GetUserCardBillingListResult {
15
+ /** 유저 카드 빌링 정보 목록 */
16
+ userCardBilling: UserCardBillingEntity[];
17
+ /** 전체 개수 */
18
+ allCount: number;
19
+ }
@@ -0,0 +1,33 @@
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.GetUserCardBillingListResult = exports.GetUserCardBillingListPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ /**
15
+ * @description 유저 카드 정보 목록 조회 요청 Payload
16
+ */
17
+ class GetUserCardBillingListPayload {
18
+ }
19
+ exports.GetUserCardBillingListPayload = GetUserCardBillingListPayload;
20
+ __decorate([
21
+ (0, class_validator_1.IsNumber)(),
22
+ __metadata("design:type", Number)
23
+ ], GetUserCardBillingListPayload.prototype, "page", void 0);
24
+ __decorate([
25
+ (0, class_validator_1.IsNumber)(),
26
+ __metadata("design:type", Number)
27
+ ], GetUserCardBillingListPayload.prototype, "limit", void 0);
28
+ /**
29
+ * @description 유저 카드 정보 목록 조회 응답 Result
30
+ */
31
+ class GetUserCardBillingListResult {
32
+ }
33
+ exports.GetUserCardBillingListResult = GetUserCardBillingListResult;
@@ -0,0 +1 @@
1
+ export * from './get-user-card-billing-list.dto';
@@ -0,0 +1,17 @@
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
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./get-user-card-billing-list.dto"), exports);
@@ -1,6 +1,6 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { RegisterUserCardBillingPayload } from '../dto/user-card-billing';
3
+ import { RegisterUserCardBillingPayload, GetUserCardBillingListPayload, GetUserCardBillingListResult } from '../dto/user-card-billing';
4
4
  /**
5
5
  * @author jun
6
6
  * @description 유저 카드 빌링 정보 AMQP 서비스
@@ -12,4 +12,6 @@ export declare class AmqpUserCardBillingService {
12
12
  constructor(client: ClientProxy);
13
13
  /** 유저 카드 정보 등록 */
14
14
  registerUserCardBilling(payload: RegisterUserCardBillingPayload, param: AbstractParam): Promise<void>;
15
+ /** 유저 카드 정보 목록 조회 */
16
+ getUserCardBillingList(payload: GetUserCardBillingListPayload, param: AbstractParam): Promise<GetUserCardBillingListResult>;
15
17
  }
@@ -30,6 +30,10 @@ let AmqpUserCardBillingService = class AmqpUserCardBillingService {
30
30
  async registerUserCardBilling(payload, param) {
31
31
  return this.amqpManager.call('유저 카드 정보 등록', 'user-card-billing.register.card', payload, param, { isErrorThrowing: true });
32
32
  }
33
+ /** 유저 카드 정보 목록 조회 */
34
+ async getUserCardBillingList(payload, param) {
35
+ return this.amqpManager.call('유저 카드 정보 목록 조회', 'user-card-billing.get.list', payload, param, { isErrorThrowing: true });
36
+ }
33
37
  };
34
38
  exports.AmqpUserCardBillingService = AmqpUserCardBillingService;
35
39
  exports.AmqpUserCardBillingService = AmqpUserCardBillingService = __decorate([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.7.47-jun.15",
3
+ "version": "0.7.47-jun.16",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",