@yolo-croket-dev/amqp-access 0.5.56-jun.0 → 0.5.56

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,3 +1,2 @@
1
1
  export * from './edit-reservation-app-bulk-push-log.dto';
2
2
  export * from './remove-reservation-app-bulk-push-log.dto';
3
- export * from './create-app-bulk-push-log.dto';
@@ -16,4 +16,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./edit-reservation-app-bulk-push-log.dto"), exports);
18
18
  __exportStar(require("./remove-reservation-app-bulk-push-log.dto"), exports);
19
- __exportStar(require("./create-app-bulk-push-log.dto"), exports);
@@ -1,12 +1,11 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
3
  /** @dto */
4
- import { IsExistsAppBulkPushLogByRedisDBKeyPayload, IsExistsAppBulkPushLogByRedisDBKeyResult, EditReservationAppBulkPushLogPayload, RemoveReservationAppBulkPushLogPayload, CreateAppBulkPushLogServicePayload, CreateAppBulkPushLogServiceResult } from '../dto/app-bulk-push-log';
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
- createAppBulkPushLog(payload: CreateAppBulkPushLogServicePayload, param: AbstractParam): Promise<CreateAppBulkPushLogServiceResult>;
10
9
  isExistsAppBulkPushLogByRedisDBKey(payload: IsExistsAppBulkPushLogByRedisDBKeyPayload, param: AbstractParam): Promise<IsExistsAppBulkPushLogByRedisDBKeyResult>;
11
10
  editReservationAppBulkPushLog(payload: EditReservationAppBulkPushLogPayload, param: AbstractParam): Promise<void>;
12
11
  removeReservationAppBulkPushLog(payload: RemoveReservationAppBulkPushLogPayload, param: AbstractParam): Promise<void>;
@@ -21,9 +21,6 @@ let AmqpAppBulkPushLogService = class AmqpAppBulkPushLogService {
21
21
  this.client = client;
22
22
  this.amqpManager = new functions_1.AmqpManagement(this.client);
23
23
  }
24
- async createAppBulkPushLog(payload, param) {
25
- return this.amqpManager.call('대량 앱 푸시 로그 생성', 'app-bulk-push-log.create', payload, param, { isErrorThrowing: true });
26
- }
27
24
  async isExistsAppBulkPushLogByRedisDBKey(payload, param) {
28
25
  return this.amqpManager.call('대량 앱 푸시 존재 여부 체크', 'app-bulk-push-log.is-exists.by-redis-db-key', payload, param, { isErrorThrowing: true });
29
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.5.56-jun.0",
3
+ "version": "0.5.56",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -1,23 +0,0 @@
1
- import { AppBulkPushLogTypeEnum } from '@yolo-croket-dev/entity-v2/app-bulk-push-log';
2
- export declare class CreateAppBulkPushLogServicePayload {
3
- type: AppBulkPushLogTypeEnum;
4
- allNums: number;
5
- appPushTitle: string;
6
- appPushContent: string;
7
- appUrl: string;
8
- redisDBKey: string;
9
- isIgnoreAD: boolean;
10
- searchQueryId?: string;
11
- excelFileName?: string;
12
- reservationDate?: string;
13
- /** @description 활동내역 전송 여부 */
14
- sendActivity?: boolean;
15
- activityTitle?: string;
16
- activityContent?: string;
17
- activityAppUrl?: string;
18
- activityWebUrl?: string;
19
- activityMethod?: string;
20
- }
21
- export declare class CreateAppBulkPushLogServiceResult {
22
- appBulkPushLogId: string;
23
- }
@@ -1,93 +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.CreateAppBulkPushLogServiceResult = exports.CreateAppBulkPushLogServicePayload = void 0;
13
- const app_bulk_push_log_1 = require("@yolo-croket-dev/entity-v2/app-bulk-push-log");
14
- const class_validator_1 = require("class-validator");
15
- class CreateAppBulkPushLogServicePayload {
16
- }
17
- __decorate([
18
- (0, class_validator_1.IsEnum)(app_bulk_push_log_1.AppBulkPushLogTypeEnum),
19
- __metadata("design:type", String)
20
- ], CreateAppBulkPushLogServicePayload.prototype, "type", void 0);
21
- __decorate([
22
- (0, class_validator_1.IsNumber)(),
23
- __metadata("design:type", Number)
24
- ], CreateAppBulkPushLogServicePayload.prototype, "allNums", void 0);
25
- __decorate([
26
- (0, class_validator_1.IsString)(),
27
- __metadata("design:type", String)
28
- ], CreateAppBulkPushLogServicePayload.prototype, "appPushTitle", void 0);
29
- __decorate([
30
- (0, class_validator_1.IsString)(),
31
- __metadata("design:type", String)
32
- ], CreateAppBulkPushLogServicePayload.prototype, "appPushContent", void 0);
33
- __decorate([
34
- (0, class_validator_1.IsString)(),
35
- __metadata("design:type", String)
36
- ], CreateAppBulkPushLogServicePayload.prototype, "appUrl", void 0);
37
- __decorate([
38
- (0, class_validator_1.IsString)(),
39
- (0, class_validator_1.MinLength)(1),
40
- __metadata("design:type", String)
41
- ], CreateAppBulkPushLogServicePayload.prototype, "redisDBKey", void 0);
42
- __decorate([
43
- (0, class_validator_1.IsBoolean)(),
44
- __metadata("design:type", Boolean)
45
- ], CreateAppBulkPushLogServicePayload.prototype, "isIgnoreAD", void 0);
46
- __decorate([
47
- (0, class_validator_1.IsMongoId)(),
48
- (0, class_validator_1.IsOptional)(),
49
- __metadata("design:type", String)
50
- ], CreateAppBulkPushLogServicePayload.prototype, "searchQueryId", void 0);
51
- __decorate([
52
- (0, class_validator_1.IsString)(),
53
- (0, class_validator_1.IsOptional)(),
54
- __metadata("design:type", String)
55
- ], CreateAppBulkPushLogServicePayload.prototype, "excelFileName", void 0);
56
- __decorate([
57
- (0, class_validator_1.IsOptional)(),
58
- (0, class_validator_1.IsDateString)(),
59
- __metadata("design:type", String)
60
- ], CreateAppBulkPushLogServicePayload.prototype, "reservationDate", void 0);
61
- __decorate([
62
- (0, class_validator_1.IsBoolean)(),
63
- __metadata("design:type", Boolean)
64
- ], CreateAppBulkPushLogServicePayload.prototype, "sendActivity", void 0);
65
- __decorate([
66
- (0, class_validator_1.IsString)(),
67
- (0, class_validator_1.IsOptional)(),
68
- __metadata("design:type", String)
69
- ], CreateAppBulkPushLogServicePayload.prototype, "activityTitle", void 0);
70
- __decorate([
71
- (0, class_validator_1.IsString)(),
72
- (0, class_validator_1.IsOptional)(),
73
- __metadata("design:type", String)
74
- ], CreateAppBulkPushLogServicePayload.prototype, "activityContent", void 0);
75
- __decorate([
76
- (0, class_validator_1.IsString)(),
77
- (0, class_validator_1.IsOptional)(),
78
- __metadata("design:type", String)
79
- ], CreateAppBulkPushLogServicePayload.prototype, "activityAppUrl", void 0);
80
- __decorate([
81
- (0, class_validator_1.IsString)(),
82
- (0, class_validator_1.IsOptional)(),
83
- __metadata("design:type", String)
84
- ], CreateAppBulkPushLogServicePayload.prototype, "activityWebUrl", void 0);
85
- __decorate([
86
- (0, class_validator_1.IsString)(),
87
- (0, class_validator_1.IsOptional)(),
88
- __metadata("design:type", String)
89
- ], CreateAppBulkPushLogServicePayload.prototype, "activityMethod", void 0);
90
- exports.CreateAppBulkPushLogServicePayload = CreateAppBulkPushLogServicePayload;
91
- class CreateAppBulkPushLogServiceResult {
92
- }
93
- exports.CreateAppBulkPushLogServiceResult = CreateAppBulkPushLogServiceResult;