@yolo-croket-dev/amqp-access 0.0.116 → 0.0.117

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,8 @@
1
+ export declare class EditReservationAppBulkPushLogPayload {
2
+ appPushTitle: string;
3
+ appPushContent: string;
4
+ appUrl: string;
5
+ redisDBKey: string;
6
+ isIgnoreAD: boolean;
7
+ reservationDate: string;
8
+ }
@@ -0,0 +1,40 @@
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.EditReservationAppBulkPushLogPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class EditReservationAppBulkPushLogPayload {
15
+ }
16
+ __decorate([
17
+ (0, class_validator_1.IsString)(),
18
+ __metadata("design:type", String)
19
+ ], EditReservationAppBulkPushLogPayload.prototype, "appPushTitle", void 0);
20
+ __decorate([
21
+ (0, class_validator_1.IsString)(),
22
+ __metadata("design:type", String)
23
+ ], EditReservationAppBulkPushLogPayload.prototype, "appPushContent", void 0);
24
+ __decorate([
25
+ (0, class_validator_1.IsString)(),
26
+ __metadata("design:type", String)
27
+ ], EditReservationAppBulkPushLogPayload.prototype, "appUrl", void 0);
28
+ __decorate([
29
+ (0, class_validator_1.IsString)(),
30
+ __metadata("design:type", String)
31
+ ], EditReservationAppBulkPushLogPayload.prototype, "redisDBKey", void 0);
32
+ __decorate([
33
+ (0, class_validator_1.IsBoolean)(),
34
+ __metadata("design:type", Boolean)
35
+ ], EditReservationAppBulkPushLogPayload.prototype, "isIgnoreAD", void 0);
36
+ __decorate([
37
+ (0, class_validator_1.IsString)(),
38
+ __metadata("design:type", String)
39
+ ], EditReservationAppBulkPushLogPayload.prototype, "reservationDate", void 0);
40
+ exports.EditReservationAppBulkPushLogPayload = EditReservationAppBulkPushLogPayload;
@@ -0,0 +1,2 @@
1
+ export * from './edit-reservation-app-bulk-push-log.dto';
2
+ export * from './remove-reservation-app-bulk-push-log.dto';
@@ -0,0 +1,18 @@
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("./edit-reservation-app-bulk-push-log.dto"), exports);
18
+ __exportStar(require("./remove-reservation-app-bulk-push-log.dto"), exports);
@@ -0,0 +1,3 @@
1
+ export declare class RemoveReservationAppBulkPushLogPayload {
2
+ redisDBKey: string;
3
+ }
@@ -0,0 +1,20 @@
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.RemoveReservationAppBulkPushLogPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class RemoveReservationAppBulkPushLogPayload {
15
+ }
16
+ __decorate([
17
+ (0, class_validator_1.IsString)(),
18
+ __metadata("design:type", String)
19
+ ], RemoveReservationAppBulkPushLogPayload.prototype, "redisDBKey", void 0);
20
+ exports.RemoveReservationAppBulkPushLogPayload = RemoveReservationAppBulkPushLogPayload;
@@ -1 +1,2 @@
1
1
  export * from './query';
2
+ export * from './command';
@@ -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("./query"), exports);
18
+ __exportStar(require("./command"), exports);
@@ -1,10 +1,12 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
3
  /** @dto*/
4
- import { IsExistsAppBulkPushLogByRedisDBKeyPayload, IsExistsAppBulkPushLogByRedisDBKeyResult } from '../dto/app-bulk-push-log/query';
4
+ import { IsExistsAppBulkPushLogByRedisDBKeyPayload, IsExistsAppBulkPushLogByRedisDBKeyResult, EditReservationAppBulkPushLogPayload, RemoveReservationAppBulkPushLogPayload } from '../dto/app-bulk-push-log';
5
5
  export declare class AmqpAppBulkPushLogService {
6
6
  private readonly client;
7
7
  private readonly amqpManager;
8
8
  constructor(client: ClientProxy);
9
9
  isExistsAppBulkPushLogByRedisDBKey(payload: IsExistsAppBulkPushLogByRedisDBKeyPayload, param: AbstractParam): Promise<IsExistsAppBulkPushLogByRedisDBKeyResult>;
10
+ editReservationAppBulkPushLog(payload: EditReservationAppBulkPushLogPayload, param: AbstractParam): Promise<void>;
11
+ removeReservationAppBulkPushLog(payload: RemoveReservationAppBulkPushLogPayload, param: AbstractParam): Promise<void>;
10
12
  }
@@ -24,6 +24,12 @@ let AmqpAppBulkPushLogService = class AmqpAppBulkPushLogService {
24
24
  async isExistsAppBulkPushLogByRedisDBKey(payload, param) {
25
25
  return this.amqpManager.call('대량 앱 푸시 존재 여부 체크', 'app-bulk-push-log.is-exists.by-redis-db-key', payload, param, { isErrorThrowing: true });
26
26
  }
27
+ async editReservationAppBulkPushLog(payload, param) {
28
+ return this.amqpManager.call('예약 대량 푸시 알림 수정', 'app-bulk-push-log.edit.reservation', payload, param, { isErrorThrowing: true });
29
+ }
30
+ async removeReservationAppBulkPushLog(payload, param) {
31
+ return this.amqpManager.call('예약 대량 푸시 알림 삭제', 'app-bulk-push-log.remove.reservation', payload, param, { isErrorThrowing: true });
32
+ }
27
33
  };
28
34
  AmqpAppBulkPushLogService = __decorate([
29
35
  (0, common_1.Injectable)(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.0.116",
3
+ "version": "0.0.117",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",