@yolo-croket-dev/amqp-access 0.5.115-sj1 → 0.5.115-sj3

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,7 +1,6 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { CheckCanUpdatePurchaseReceiptReceiveInfoPayload, CheckCanUpdatePurchaseReceiptReceiveInfoResult, CreatePurchaseReceiptPayload, ReloadPurchaseReceiptPayload, ReloadPurchaseReceiptResult, SearchPurchaseReceiptDetailPayload, SearchPurchaseReceiptDetailResult, SearchPurchaseReceiptReceiveInfoPayload, SearchPurchaseReceiptReceiveInfoResult, SearchPurchaseReceiptsPayload, SearchPurchaseReceiptsResult, UpdatePurchaseReceiptPayload, UpdatePurchaseReceiptProcessBulkPayload, UpdatePurchaseReceiptReceiveInfoByPInfoIdAsAdminPayload, UpdatePurchaseReceiptReceiveInfoPayload } from '../dto/purchase-receipt';
4
- import { CheckPurchasedInfoExistsInLastDaysPayload, CheckPurchasedInfoExistsInLastDaysResult } from '../dto/purchasedinfos/query/check-purchase-info-exists-in-last-days.dto';
3
+ import { CheckCanUpdatePurchaseReceiptReceiveInfoPayload, CheckCanUpdatePurchaseReceiptReceiveInfoResult, CreatePurchaseReceiptPayload, ReloadPurchaseReceiptPayload, ReloadPurchaseReceiptResult, SearchPurchaseReceiptDetailPayload, SearchPurchaseReceiptDetailResult, SearchPurchaseReceiptReceiveInfoPayload, SearchPurchaseReceiptReceiveInfoResult, SearchPurchaseReceiptsPayload, SearchPurchaseReceiptsResult, UpdatePurchaseReceiptPayload, UpdatePurchaseReceiptProcessBulkPayload, UpdatePurchaseReceiptReceiveInfoByPInfoIdAsAdminPayload, UpdatePurchaseReceiptReceiveInfoPayload, CheckPurchaseReceiptExistsInLastDaysResult, CheckPurchaseReceiptExistsInLastDaysPayload } from '../dto/purchase-receipt';
5
4
  export declare class AmqpPurchaseReceiptService {
6
5
  private readonly client;
7
6
  private readonly amqpManager;
@@ -18,5 +17,5 @@ export declare class AmqpPurchaseReceiptService {
18
17
  syncPurchaseReceiptProcess(param: AbstractParam): Promise<void>;
19
18
  updatePurchaseReceiptProcessBulk(payload: UpdatePurchaseReceiptProcessBulkPayload, param: AbstractParam): Promise<void>;
20
19
  updatePurchaseReceiptReceiveInfoByPInfoIdAsAdmin(payload: UpdatePurchaseReceiptReceiveInfoByPInfoIdAsAdminPayload, param: AbstractParam): Promise<any>;
21
- checkPurchasedInfoExistsInLastDays(payload: CheckPurchasedInfoExistsInLastDaysPayload, param: AbstractParam): Promise<CheckPurchasedInfoExistsInLastDaysResult>;
20
+ checkPurchaseReceiptExistsInLastDays(payload: CheckPurchaseReceiptExistsInLastDaysPayload, param: AbstractParam): Promise<CheckPurchaseReceiptExistsInLastDaysResult>;
22
21
  }
@@ -59,7 +59,7 @@ let AmqpPurchaseReceiptService = class AmqpPurchaseReceiptService {
59
59
  async updatePurchaseReceiptReceiveInfoByPInfoIdAsAdmin(payload, param) {
60
60
  return this.amqpManager.call('구매자 주문서 수령 정보 수정 -관리자-', 'purchase-receipt.update.receive-info-by-pinfo-id-as-admin', payload, param, { isErrorThrowing: true });
61
61
  }
62
- async checkPurchasedInfoExistsInLastDays(payload, param) {
62
+ async checkPurchaseReceiptExistsInLastDays(payload, param) {
63
63
  return this.amqpManager.call('특정 기간 동안 주문서 존재 여부 확인 -구매자-', 'purchase-receipt.check.exists-in-last-days', payload, param, { isErrorThrowing: true });
64
64
  }
65
65
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.5.115-sj1",
3
+ "version": "0.5.115-sj3",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -1,6 +0,0 @@
1
- export declare class CheckPurchasedInfoExistsInLastDaysPayload {
2
- days: number;
3
- }
4
- export declare class CheckPurchasedInfoExistsInLastDaysResult {
5
- isExists: boolean;
6
- }
@@ -1,23 +0,0 @@
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.CheckPurchasedInfoExistsInLastDaysResult = exports.CheckPurchasedInfoExistsInLastDaysPayload = void 0;
13
- const class_validator_1 = require("class-validator");
14
- class CheckPurchasedInfoExistsInLastDaysPayload {
15
- }
16
- exports.CheckPurchasedInfoExistsInLastDaysPayload = CheckPurchasedInfoExistsInLastDaysPayload;
17
- __decorate([
18
- (0, class_validator_1.IsNumber)(),
19
- __metadata("design:type", Number)
20
- ], CheckPurchasedInfoExistsInLastDaysPayload.prototype, "days", void 0);
21
- class CheckPurchasedInfoExistsInLastDaysResult {
22
- }
23
- exports.CheckPurchasedInfoExistsInLastDaysResult = CheckPurchasedInfoExistsInLastDaysResult;