@yolo-croket-dev/amqp-access 0.5.125 → 0.5.126

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,11 @@
1
+ /** 앱 푸시 작업 생성 Payload */
2
+ export declare class CreateAppBulkPushJobPayload {
3
+ /** 앱 푸시 로그 ID */
4
+ appBulkPushLogId: string;
5
+ /** CSV 파일 URL */
6
+ csvFileURL: string;
7
+ /** 원본 파일명 */
8
+ fileName: string;
9
+ }
10
+ /** 앱 푸시 작업 생성 결과 */
11
+ export type CreateAppBulkPushJobResult = boolean;
@@ -0,0 +1,35 @@
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.CreateAppBulkPushJobPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ /** 앱 푸시 작업 생성 Payload */
15
+ class CreateAppBulkPushJobPayload {
16
+ }
17
+ exports.CreateAppBulkPushJobPayload = CreateAppBulkPushJobPayload;
18
+ __decorate([
19
+ (0, class_validator_1.IsMongoId)()
20
+ /** 앱 푸시 로그 ID */
21
+ ,
22
+ __metadata("design:type", String)
23
+ ], CreateAppBulkPushJobPayload.prototype, "appBulkPushLogId", void 0);
24
+ __decorate([
25
+ (0, class_validator_1.IsString)()
26
+ /** CSV 파일 URL */
27
+ ,
28
+ __metadata("design:type", String)
29
+ ], CreateAppBulkPushJobPayload.prototype, "csvFileURL", void 0);
30
+ __decorate([
31
+ (0, class_validator_1.IsString)()
32
+ /** 원본 파일명 */
33
+ ,
34
+ __metadata("design:type", String)
35
+ ], CreateAppBulkPushJobPayload.prototype, "fileName", void 0);
@@ -1 +1,2 @@
1
1
  export * from './create-app-bulk-push-result-excel.dto';
2
+ export * from './create-app-bulk-push-job.dto';
@@ -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("./create-app-bulk-push-result-excel.dto"), exports);
18
+ __exportStar(require("./create-app-bulk-push-job.dto"), exports);
@@ -0,0 +1,16 @@
1
+ /** 앱 푸시 상태 조회 Payload */
2
+ export declare class GetAppBulkPushJobsStatusPayload {
3
+ }
4
+ /** 앱 푸시 작업 진행 상태 */
5
+ export declare class AppBulkPushJobsStatus {
6
+ /** 원본 파일명 */
7
+ fileName: string;
8
+ /** 현재 진행 상태 */
9
+ status: string;
10
+ /** 업로드 된 파일 링크 */
11
+ csvFileURL: string;
12
+ /** 처리 진행 메시지 */
13
+ message: string;
14
+ }
15
+ /** 앱 푸시 상태 조회 결과 */
16
+ export type GetAppBulkPushJobsStatusResult = AppBulkPushJobsStatus[];
@@ -0,0 +1,39 @@
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.AppBulkPushJobsStatus = exports.GetAppBulkPushJobsStatusPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ /** 앱 푸시 상태 조회 Payload */
15
+ class GetAppBulkPushJobsStatusPayload {
16
+ }
17
+ exports.GetAppBulkPushJobsStatusPayload = GetAppBulkPushJobsStatusPayload;
18
+ /** 앱 푸시 작업 진행 상태 */
19
+ class AppBulkPushJobsStatus {
20
+ }
21
+ exports.AppBulkPushJobsStatus = AppBulkPushJobsStatus;
22
+ __decorate([
23
+ (0, class_validator_1.IsString)()
24
+ /** 원본 파일명 */
25
+ ,
26
+ __metadata("design:type", String)
27
+ ], AppBulkPushJobsStatus.prototype, "fileName", void 0);
28
+ __decorate([
29
+ (0, class_validator_1.IsString)(),
30
+ __metadata("design:type", String)
31
+ ], AppBulkPushJobsStatus.prototype, "status", void 0);
32
+ __decorate([
33
+ (0, class_validator_1.IsString)(),
34
+ __metadata("design:type", String)
35
+ ], AppBulkPushJobsStatus.prototype, "csvFileURL", void 0);
36
+ __decorate([
37
+ (0, class_validator_1.IsString)(),
38
+ __metadata("design:type", String)
39
+ ], AppBulkPushJobsStatus.prototype, "message", void 0);
@@ -0,0 +1 @@
1
+ export * from './get-app-bulk-push-jobs-status.dto';
@@ -0,0 +1,17 @@
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-app-bulk-push-jobs-status.dto"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.5.125",
3
+ "version": "0.5.126",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",