@yolo-croket-dev/amqp-access 0.4.104-jun.2 → 0.4.104-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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.4.104-jun.2",
3
+ "version": "0.4.104-jun.4",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -1,12 +1,12 @@
1
1
  import { RefundPInfoForSabang } from '@yolo-croket-dev/domain/refund/interface/refund-purchased-info-for-sabang.domain';
2
- export declare class GetRefundPurchasedInfosPayload {
2
+ export declare class GetRefundPInfosForSabangPayload {
3
3
  refundRequestSDate: string;
4
4
  refundRequestEDate: string;
5
5
  refundProcess?: 'ing' | 'done';
6
6
  limit: number;
7
7
  page: number;
8
8
  }
9
- export declare class GetRefundPurchasedInfosResult {
9
+ export declare class GetRefundPInfosForSabangResult {
10
10
  pInfos: RefundPInfoForSabang[];
11
11
  maxPage?: number;
12
12
  currentPage: number;
@@ -9,32 +9,32 @@ 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.GetRefundPurchasedInfosResult = exports.GetRefundPurchasedInfosPayload = void 0;
12
+ exports.GetRefundPInfosForSabangResult = exports.GetRefundPInfosForSabangPayload = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- class GetRefundPurchasedInfosPayload {
14
+ class GetRefundPInfosForSabangPayload {
15
15
  }
16
- exports.GetRefundPurchasedInfosPayload = GetRefundPurchasedInfosPayload;
16
+ exports.GetRefundPInfosForSabangPayload = GetRefundPInfosForSabangPayload;
17
17
  __decorate([
18
18
  (0, class_validator_1.IsDateString)(),
19
19
  __metadata("design:type", String)
20
- ], GetRefundPurchasedInfosPayload.prototype, "refundRequestSDate", void 0);
20
+ ], GetRefundPInfosForSabangPayload.prototype, "refundRequestSDate", void 0);
21
21
  __decorate([
22
22
  (0, class_validator_1.IsDateString)(),
23
23
  __metadata("design:type", String)
24
- ], GetRefundPurchasedInfosPayload.prototype, "refundRequestEDate", void 0);
24
+ ], GetRefundPInfosForSabangPayload.prototype, "refundRequestEDate", void 0);
25
25
  __decorate([
26
26
  (0, class_validator_1.IsString)(),
27
27
  (0, class_validator_1.IsOptional)(),
28
28
  __metadata("design:type", String)
29
- ], GetRefundPurchasedInfosPayload.prototype, "refundProcess", void 0);
29
+ ], GetRefundPInfosForSabangPayload.prototype, "refundProcess", void 0);
30
30
  __decorate([
31
31
  (0, class_validator_1.IsNumber)(),
32
32
  __metadata("design:type", Number)
33
- ], GetRefundPurchasedInfosPayload.prototype, "limit", void 0);
33
+ ], GetRefundPInfosForSabangPayload.prototype, "limit", void 0);
34
34
  __decorate([
35
35
  (0, class_validator_1.IsNumber)(),
36
36
  __metadata("design:type", Number)
37
- ], GetRefundPurchasedInfosPayload.prototype, "page", void 0);
38
- class GetRefundPurchasedInfosResult {
37
+ ], GetRefundPInfosForSabangPayload.prototype, "page", void 0);
38
+ class GetRefundPInfosForSabangResult {
39
39
  }
40
- exports.GetRefundPurchasedInfosResult = GetRefundPurchasedInfosResult;
40
+ exports.GetRefundPInfosForSabangResult = GetRefundPInfosForSabangResult;
@@ -1,12 +1,13 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { GetRefundPurchasedInfosPayload, GetRefundPurchasedInfosResult } from '../../dto/refund.modules/refund-sabang';
3
+ import { GetRefundPInfosForSabangPayload, GetRefundPInfosForSabangResult } from '../../dto/refund.modules/refund-sabang';
4
4
  export declare class AmqpRefundSabangService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
7
7
  constructor(client: ClientProxy);
8
8
  /**
9
+ * @description 사방넷 환불 결제 리스트 조회
9
10
  * @pattern refund-sabang.get.refund-p-infos
10
11
  */
11
- getRefundPurchasedInfos(payload: GetRefundPurchasedInfosPayload, param: AbstractParam): Promise<GetRefundPurchasedInfosResult>;
12
+ getRefundPInfosForSabang(payload: GetRefundPInfosForSabangPayload, param: AbstractParam): Promise<GetRefundPInfosForSabangResult>;
12
13
  }
@@ -22,9 +22,10 @@ let AmqpRefundSabangService = class AmqpRefundSabangService {
22
22
  this.amqpManager = new functions_1.AmqpManagement(this.client);
23
23
  }
24
24
  /**
25
+ * @description 사방넷 환불 결제 리스트 조회
25
26
  * @pattern refund-sabang.get.refund-p-infos
26
27
  */
27
- async getRefundPurchasedInfos(payload, param) {
28
+ async getRefundPInfosForSabang(payload, param) {
28
29
  return this.amqpManager.call('사방넷 환불 결제 리스트 조회', 'refund-sabang.get.refund-p-infos', payload, param, { isErrorThrowing: true });
29
30
  }
30
31
  };
@@ -1,6 +1,6 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { DeleteAppBatchPushDataByKeyPayload, DeleteAppBatchPushDataByKeyResult, GetAppBatchPushDataByKeyPayload, GetAppBatchPushDataByKeyResult, GetAppBatchPushKeysResult, SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushPayload, SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushResult, SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushPayload, SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushResult, SetDataAutoRecieveToBuyerMethodAppBatchPushPayload, SetDataAutoRecieveToBuyerMethodAppBatchPushResult, SetDataChangePurchasedOptionsMethodAppBatchPushPayload, SetDataChangePurchasedOptionsMethodAppBatchPushResult, SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushPayload, SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushResult, SetDataStoreImmediateRefundToBuyerMethodAppBatchPushPayload, SetDataStoreImmediateRefundToBuyerMethodAppBatchPushResult, SetDataStoreRefundToBuyerMethodAppBatchPushPayload, SetDataStoreRefundToBuyerMethodAppBatchPushResult } from '../../dto/redis-db';
3
+ import { DeleteAppBatchPushDataByKeyPayload, DeleteAppBatchPushDataByKeyResult, GetAppBatchPushDataByKeyPayload, GetAppBatchPushDataByKeyResult, GetAppBatchPushKeysResult, SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushPayload, SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushResult, SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushPayload, SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushResult, SetDataAutoRecieveToBuyerMethodAppBatchPushPayload, SetDataAutoRecieveToBuyerMethodAppBatchPushResult, SetDataChangePurchasedOptionsMethodAppBatchPushPayload, SetDataChangePurchasedOptionsMethodAppBatchPushResult, SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushPayload, SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushResult, SetDataStoreImmediateRefundToBuyerMethodAppBatchPushPayload, SetDataStoreImmediateRefundToBuyerMethodAppBatchPushResult, SetDataStoreRefundToBuyerMethodAppBatchPushPayload, SetDataStoreRefundToBuyerMethodAppBatchPushResult, SetDataAcceptWaitingOrderToBuyerMethodAppBatchPushPayload, SetDataAcceptWaitingOrderToBuyerMethodAppBatchPushResult } from '../../dto/redis-db';
4
4
  export declare class AmqpRedisDbAppBatchPushService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
@@ -15,4 +15,9 @@ export declare class AmqpRedisDbAppBatchPushService {
15
15
  setDataStoreImmediateRefundToBuyerMethod(payload: SetDataStoreImmediateRefundToBuyerMethodAppBatchPushPayload, param: AbstractParam): Promise<SetDataStoreImmediateRefundToBuyerMethodAppBatchPushResult>;
16
16
  setDataAskRefundPInfoNoReturnFromSellerToBuyerMethod(payload: SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushPayload, param: AbstractParam): Promise<SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushResult>;
17
17
  setDataChangePurchasedOptionsMethod(payload: SetDataChangePurchasedOptionsMethodAppBatchPushPayload, param: AbstractParam): Promise<SetDataChangePurchasedOptionsMethodAppBatchPushResult>;
18
+ /**
19
+ * @description redis에 acceptWaitingOrderToBuyer method 등록 및 수정
20
+ * @pattern redis-db.set-data.app-batch-push-accept-waiting-order-to-buyer-method
21
+ */
22
+ setDataAcceptWaitingOrderToBuyerMethod(payload: SetDataAcceptWaitingOrderToBuyerMethodAppBatchPushPayload, param: AbstractParam): Promise<SetDataAcceptWaitingOrderToBuyerMethodAppBatchPushResult>;
18
23
  }
@@ -51,6 +51,13 @@ let AmqpRedisDbAppBatchPushService = class AmqpRedisDbAppBatchPushService {
51
51
  async setDataChangePurchasedOptionsMethod(payload, param) {
52
52
  return this.amqpManager.call('redis에 changePurchasedOptions method 등록 및 수정', 'redis-db.set-data.app-batch-push-change-purchased-options', payload, param, { isErrorThrowing: true });
53
53
  }
54
+ /**
55
+ * @description redis에 acceptWaitingOrderToBuyer method 등록 및 수정
56
+ * @pattern redis-db.set-data.app-batch-push-accept-waiting-order-to-buyer-method
57
+ */
58
+ async setDataAcceptWaitingOrderToBuyerMethod(payload, param) {
59
+ return this.amqpManager.call('redis에 acceptWaitingOrderToBuyer method 등록 및 수정', 'redis-db.set-data.app-batch-push-accept-waiting-order-to-buyer-method', payload, param, { isErrorThrowing: true });
60
+ }
54
61
  };
55
62
  exports.AmqpRedisDbAppBatchPushService = AmqpRedisDbAppBatchPushService;
56
63
  exports.AmqpRedisDbAppBatchPushService = AmqpRedisDbAppBatchPushService = __decorate([