@yolo-croket-dev/amqp-access 0.5.176-hj-2 → 0.5.176

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.5.176-hj-2",
3
+ "version": "0.5.176",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -1,2 +1 @@
1
1
  export * from './command';
2
- export * from './query';
@@ -15,4 +15,3 @@ 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);
@@ -1,10 +1,10 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { CreateDailyRandomCouponNotiUserPayload, GetDailyRandomCouponNotiUserIdsPayload } from '../dto';
3
+ import { CreateDailyRandomCouponNotiUserPayload } from '../dto';
4
4
  export declare class AmqpDailyRandomCouponNotiUserService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
7
7
  constructor(client: ClientProxy);
8
8
  createDailyRandomCouponNotiUser(payload: CreateDailyRandomCouponNotiUserPayload, param: AbstractParam): Promise<void>;
9
- getDailyRandomCouponNotiUserIds(payload: GetDailyRandomCouponNotiUserIdsPayload, param: AbstractParam): Promise<string[]>;
9
+ sendNotiDailyRandomCouponOpen(param: AbstractParam): Promise<void>;
10
10
  }
@@ -24,8 +24,8 @@ let AmqpDailyRandomCouponNotiUserService = class AmqpDailyRandomCouponNotiUserSe
24
24
  async createDailyRandomCouponNotiUser(payload, param) {
25
25
  return this.amqpManager.call('데일리 랜덤 쿠폰 알림 유저 생성', 'daily-random-coupon-noti-user.create', payload, param, { isErrorThrowing: true });
26
26
  }
27
- async getDailyRandomCouponNotiUserIds(payload, param) {
28
- return this.amqpManager.call('데일리 랜덤 쿠폰 알림 유저 아이디 조회', 'daily-random-coupon-noti-user.get-ids', payload, param, { isErrorThrowing: true });
27
+ async sendNotiDailyRandomCouponOpen(param) {
28
+ return this.amqpManager.call('데일리 랜덤 쿠폰 알림 오픈 가능 대량 보내기', 'daily-random-coupon-noti-user.send-noti-daily-random-coupon-open', undefined, param, { isErrorThrowing: true });
29
29
  }
30
30
  };
31
31
  exports.AmqpDailyRandomCouponNotiUserService = AmqpDailyRandomCouponNotiUserService;
@@ -1,3 +0,0 @@
1
- export declare class GetDailyRandomCouponNotiUserIdsPayload {
2
- dailyRandomCouponId: string;
3
- }
@@ -1,20 +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.GetDailyRandomCouponNotiUserIdsPayload = void 0;
13
- const class_validator_1 = require("class-validator");
14
- class GetDailyRandomCouponNotiUserIdsPayload {
15
- }
16
- exports.GetDailyRandomCouponNotiUserIdsPayload = GetDailyRandomCouponNotiUserIdsPayload;
17
- __decorate([
18
- (0, class_validator_1.IsMongoId)(),
19
- __metadata("design:type", String)
20
- ], GetDailyRandomCouponNotiUserIdsPayload.prototype, "dailyRandomCouponId", void 0);
@@ -1 +0,0 @@
1
- export * from './get-daily-random-coupon-noti-user-ids.dto';
@@ -1,17 +0,0 @@
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-daily-random-coupon-noti-user-ids.dto"), exports);