@yolo-croket-dev/amqp-access 0.0.80-jun.1 → 0.0.80-jun.3

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,9 +1,10 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { GetPInfoSettleAmountInfoByAtlasPayload, GetPInfoSettleAmountInfoByAtlasResult } from '../dto/purchasedinfos';
3
+ import { GetPInfoSettleAmountInfoByAtlasPayload, GetPInfoSettleAmountInfoByAtlasResult, GetPInfoAllSettleAmountByAtlasPayload, GetPInfoAllSettleAmountByAtlasResult } from '../dto/purchasedinfos';
4
4
  export declare class AmqpPurchasedInfoService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
7
7
  constructor(client: ClientProxy);
8
8
  getPInfoSettleAmountInfoByAtlas(payload: GetPInfoSettleAmountInfoByAtlasPayload, param: AbstractParam): Promise<GetPInfoSettleAmountInfoByAtlasResult>;
9
+ getPInfoAllSettleAmountByAtlas(payload: GetPInfoAllSettleAmountByAtlasPayload, param: AbstractParam): Promise<GetPInfoAllSettleAmountByAtlasResult>;
9
10
  }
@@ -22,7 +22,10 @@ let AmqpPurchasedInfoService = class AmqpPurchasedInfoService {
22
22
  this.amqpManager = new functions_1.AmqpManagement(this.client);
23
23
  }
24
24
  async getPInfoSettleAmountInfoByAtlas(payload, param) {
25
- return this.amqpManager.call('es를 위한 결제 시도 로그 리스트 조회', 'purchased-info.get.settle-amount-info-by-atlas', payload, param, { isErrorThrowing: true });
25
+ return this.amqpManager.call('atlas 검색 - 특정 기간 정산금 정보 조회', 'purchased-info.get.settle-amount-info-by-atlas', payload, param, { isErrorThrowing: true });
26
+ }
27
+ async getPInfoAllSettleAmountByAtlas(payload, param) {
28
+ return this.amqpManager.call('atlas 검색 - 전체 정산된 금액 조회', 'purchased-info.get.all-settle-amount-by-atlas', payload, param, { isErrorThrowing: true });
26
29
  }
27
30
  };
28
31
  exports.AmqpPurchasedInfoService = AmqpPurchasedInfoService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.0.80-jun.1",
3
+ "version": "0.0.80-jun.3",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -0,0 +1,6 @@
1
+ export declare class GetAskAllSettleAmountByAtlasPayload {
2
+ }
3
+ export declare class GetAskAllSettleAmountByAtlasResult {
4
+ /** 정산받은 금액 */
5
+ receivedMoney: number;
6
+ }
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetAskAllSettleAmountByAtlasResult = exports.GetAskAllSettleAmountByAtlasPayload = void 0;
4
+ class GetAskAllSettleAmountByAtlasPayload {
5
+ }
6
+ exports.GetAskAllSettleAmountByAtlasPayload = GetAskAllSettleAmountByAtlasPayload;
7
+ class GetAskAllSettleAmountByAtlasResult {
8
+ }
9
+ exports.GetAskAllSettleAmountByAtlasResult = GetAskAllSettleAmountByAtlasResult;
@@ -1,2 +1,3 @@
1
1
  export * from './get-ask-ids-by-atlas-search.dto';
2
2
  export * from './get-ask-settle-amount-info-by-atlas.dto';
3
+ export * from './get-ask-all-settle-amount-by-atlas.dto';
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./get-ask-ids-by-atlas-search.dto"), exports);
18
18
  __exportStar(require("./get-ask-settle-amount-info-by-atlas.dto"), exports);
19
+ __exportStar(require("./get-ask-all-settle-amount-by-atlas.dto"), exports);
@@ -1,10 +1,11 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { GetAskIdsByAtlasSearchPayload, GetAskIdsByAtlasSearchResult, GetAskSettleAmountInfoByAtlasPayload, GetAskSettleAmountInfoByAtlasResult } from '../../dto/ask';
3
+ import { GetAskIdsByAtlasSearchPayload, GetAskIdsByAtlasSearchResult, GetAskSettleAmountInfoByAtlasPayload, GetAskSettleAmountInfoByAtlasResult, GetAskAllSettleAmountByAtlasPayload, GetAskAllSettleAmountByAtlasResult } from '../../dto/ask';
4
4
  export declare class AmqpAskService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
7
7
  constructor(client: ClientProxy);
8
8
  getAskIdsByAtlasSearch(payload: GetAskIdsByAtlasSearchPayload, param: AbstractParam): Promise<GetAskIdsByAtlasSearchResult>;
9
9
  getAskSettleAmountInfoByAtlas(payload: GetAskSettleAmountInfoByAtlasPayload, param: AbstractParam): Promise<GetAskSettleAmountInfoByAtlasResult>;
10
+ getAskAllSettleAmountByAtlas(payload: GetAskAllSettleAmountByAtlasPayload, param: AbstractParam): Promise<GetAskAllSettleAmountByAtlasResult>;
10
11
  }
@@ -27,6 +27,9 @@ let AmqpAskService = class AmqpAskService {
27
27
  async getAskSettleAmountInfoByAtlas(payload, param) {
28
28
  return this.amqpManager.call('Atlas 정산금 정보 조회', 'ask.get.settle-amount-info-by-atlas', payload, param, { isErrorThrowing: true });
29
29
  }
30
+ async getAskAllSettleAmountByAtlas(payload, param) {
31
+ return this.amqpManager.call('Atlas - 전체 정산된 금액 조회', 'ask.get.all-settle-amount-by-atlas', payload, param, { isErrorThrowing: true });
32
+ }
30
33
  };
31
34
  exports.AmqpAskService = AmqpAskService;
32
35
  exports.AmqpAskService = AmqpAskService = __decorate([