@yolo-croket-dev/amqp-access 0.0.79-jun.2 → 0.0.79-jun.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.
@@ -0,0 +1,12 @@
1
+ export declare class GetPInfoSettleAmountInfoByAtlasPayload {
2
+ settleSDate: Date;
3
+ settleEDate?: Date;
4
+ }
5
+ export declare class GetPInfoSettleAmountInfoByAtlasResult {
6
+ /** 정산받은 금액 */
7
+ receivedMoney: number;
8
+ /** 전체 결제에 대한 예상 정산금 */
9
+ willReceiveMoney: number;
10
+ /** 결제에 완료된 건에 대한 정산금 */
11
+ mustReceiveMoney: number;
12
+ }
@@ -0,0 +1,28 @@
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.GetPInfoSettleAmountInfoByAtlasResult = exports.GetPInfoSettleAmountInfoByAtlasPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class GetPInfoSettleAmountInfoByAtlasPayload {
15
+ }
16
+ exports.GetPInfoSettleAmountInfoByAtlasPayload = GetPInfoSettleAmountInfoByAtlasPayload;
17
+ __decorate([
18
+ (0, class_validator_1.IsDateString)(),
19
+ __metadata("design:type", Date)
20
+ ], GetPInfoSettleAmountInfoByAtlasPayload.prototype, "settleSDate", void 0);
21
+ __decorate([
22
+ (0, class_validator_1.IsDateString)(),
23
+ (0, class_validator_1.IsOptional)(),
24
+ __metadata("design:type", Date)
25
+ ], GetPInfoSettleAmountInfoByAtlasPayload.prototype, "settleEDate", void 0);
26
+ class GetPInfoSettleAmountInfoByAtlasResult {
27
+ }
28
+ exports.GetPInfoSettleAmountInfoByAtlasResult = GetPInfoSettleAmountInfoByAtlasResult;
@@ -1 +1 @@
1
- export * from './get-settle-amount-info-by-atlas.dto';
1
+ export * from './get-p-info-settle-amount-info-by-atlas.dto';
@@ -14,4 +14,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./get-settle-amount-info-by-atlas.dto"), exports);
17
+ __exportStar(require("./get-p-info-settle-amount-info-by-atlas.dto"), exports);
@@ -1,9 +1,9 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { GetSettleAmountInfoByAtlasPayload, GetSettleAmountInfoByAtlasResult } from '../dto/purchasedinfos';
3
+ import { GetPInfoSettleAmountInfoByAtlasPayload, GetPInfoSettleAmountInfoByAtlasResult } 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
- getSettleAmountInfoByAtlas(payload: GetSettleAmountInfoByAtlasPayload, param: AbstractParam): Promise<GetSettleAmountInfoByAtlasResult>;
8
+ getSettleAmountInfoByAtlas(payload: GetPInfoSettleAmountInfoByAtlasPayload, param: AbstractParam): Promise<GetPInfoSettleAmountInfoByAtlasResult>;
9
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.0.79-jun.2",
3
+ "version": "0.0.79-jun.4",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -1,8 +1,8 @@
1
- export declare class GetSettleAmountInfoByAtlasPayload {
1
+ export declare class GetAskSettleAmountInfoByAtlasPayload {
2
2
  settleSDate: Date;
3
3
  settleEDate?: Date;
4
4
  }
5
- export declare class GetSettleAmountInfoByAtlasResult {
5
+ export declare class GetAskSettleAmountInfoByAtlasResult {
6
6
  /** 정산받은 금액 */
7
7
  receivedMoney: number;
8
8
  /** 전체 결제에 대한 예상 정산금 */
@@ -9,20 +9,20 @@ 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.GetSettleAmountInfoByAtlasResult = exports.GetSettleAmountInfoByAtlasPayload = void 0;
12
+ exports.GetAskSettleAmountInfoByAtlasResult = exports.GetAskSettleAmountInfoByAtlasPayload = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- class GetSettleAmountInfoByAtlasPayload {
14
+ class GetAskSettleAmountInfoByAtlasPayload {
15
15
  }
16
- exports.GetSettleAmountInfoByAtlasPayload = GetSettleAmountInfoByAtlasPayload;
16
+ exports.GetAskSettleAmountInfoByAtlasPayload = GetAskSettleAmountInfoByAtlasPayload;
17
17
  __decorate([
18
18
  (0, class_validator_1.IsDateString)(),
19
19
  __metadata("design:type", Date)
20
- ], GetSettleAmountInfoByAtlasPayload.prototype, "settleSDate", void 0);
20
+ ], GetAskSettleAmountInfoByAtlasPayload.prototype, "settleSDate", void 0);
21
21
  __decorate([
22
22
  (0, class_validator_1.IsDateString)(),
23
23
  (0, class_validator_1.IsOptional)(),
24
24
  __metadata("design:type", Date)
25
- ], GetSettleAmountInfoByAtlasPayload.prototype, "settleEDate", void 0);
26
- class GetSettleAmountInfoByAtlasResult {
25
+ ], GetAskSettleAmountInfoByAtlasPayload.prototype, "settleEDate", void 0);
26
+ class GetAskSettleAmountInfoByAtlasResult {
27
27
  }
28
- exports.GetSettleAmountInfoByAtlasResult = GetSettleAmountInfoByAtlasResult;
28
+ exports.GetAskSettleAmountInfoByAtlasResult = GetAskSettleAmountInfoByAtlasResult;
@@ -1 +1,2 @@
1
1
  export * from './get-ask-ids-by-atlas-search.dto';
2
+ export * from './get-ask-settle-amount-info-by-atlas.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-ask-ids-by-atlas-search.dto"), exports);
18
+ __exportStar(require("./get-ask-settle-amount-info-by-atlas.dto"), exports);
@@ -1,9 +1,10 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { GetAskIdsByAtlasSearchPayload, GetAskIdsByAtlasSearchResult } from '../../dto/ask';
3
+ import { GetAskIdsByAtlasSearchPayload, GetAskIdsByAtlasSearchResult, GetAskSettleAmountInfoByAtlasPayload, GetAskSettleAmountInfoByAtlasResult } 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
+ getAskSettleAmountInfoByAtlas(payload: GetAskSettleAmountInfoByAtlasPayload, param: AbstractParam): Promise<GetAskSettleAmountInfoByAtlasResult>;
9
10
  }
@@ -24,6 +24,9 @@ let AmqpAskService = class AmqpAskService {
24
24
  async getAskIdsByAtlasSearch(payload, param) {
25
25
  return this.amqpManager.call('Atlas 요청 아이디 리스트 조회', 'ask.get.ask-ids-by-atlas', payload, param, { isErrorThrowing: true });
26
26
  }
27
+ async getAskSettleAmountInfoByAtlas(payload, param) {
28
+ return this.amqpManager.call('Atlas 정산금 정보 조회', 'ask.get.settle-amount-info-by-atlas', payload, param, { isErrorThrowing: true });
29
+ }
27
30
  };
28
31
  exports.AmqpAskService = AmqpAskService;
29
32
  exports.AmqpAskService = AmqpAskService = __decorate([