@yolo-croket-dev/amqp-access 0.4.116 → 0.4.117-jun.1
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/coupon-server/amqp.coupon-server.module.js +2 -0
- package/coupon-server/dto/summer-black-friday.modules/brand-black-friday-coupon/index.d.ts +1 -0
- package/coupon-server/dto/summer-black-friday.modules/brand-black-friday-coupon/index.js +17 -0
- package/coupon-server/dto/summer-black-friday.modules/brand-black-friday-coupon/query/get-brand-black-friday-coupon-page.dto.d.ts +16 -0
- package/coupon-server/dto/summer-black-friday.modules/brand-black-friday-coupon/query/get-brand-black-friday-coupon-page.dto.js +6 -0
- package/coupon-server/dto/summer-black-friday.modules/brand-black-friday-coupon/query/index.d.ts +1 -0
- package/coupon-server/dto/summer-black-friday.modules/brand-black-friday-coupon/query/index.js +17 -0
- package/coupon-server/dto/summer-black-friday.modules/index.d.ts +1 -0
- package/coupon-server/dto/summer-black-friday.modules/index.js +17 -0
- package/coupon-server/services/index.d.ts +1 -0
- package/coupon-server/services/index.js +1 -0
- package/coupon-server/services/summer-black-friday.modules/brand-black-friday-coupon/amqp.brand-black-friday-coupon.service.d.ts +9 -0
- package/coupon-server/services/summer-black-friday.modules/brand-black-friday-coupon/amqp.brand-black-friday-coupon.service.js +33 -0
- package/coupon-server/services/summer-black-friday.modules/brand-black-friday-coupon/index.d.ts +1 -0
- package/coupon-server/services/summer-black-friday.modules/brand-black-friday-coupon/index.js +17 -0
- package/coupon-server/services/summer-black-friday.modules/index.d.ts +1 -0
- package/coupon-server/services/summer-black-friday.modules/index.js +17 -0
- package/package.json +2 -2
|
@@ -24,6 +24,7 @@ exports.AmqpCouponServerModule = AmqpCouponServerModule = __decorate([
|
|
|
24
24
|
services_1.AmqpReceiptCouponTemplateLogService,
|
|
25
25
|
services_1.AmqpIssuedReceiptCouponService,
|
|
26
26
|
services_1.AmqpIssuedReceiptCouponLogService,
|
|
27
|
+
services_1.AmqpBrandBlackFridayCouponService,
|
|
27
28
|
],
|
|
28
29
|
exports: [
|
|
29
30
|
amqp_coupon_server_provider_1.CouponServerProvider,
|
|
@@ -34,6 +35,7 @@ exports.AmqpCouponServerModule = AmqpCouponServerModule = __decorate([
|
|
|
34
35
|
services_1.AmqpReceiptCouponTemplateLogService,
|
|
35
36
|
services_1.AmqpIssuedReceiptCouponService,
|
|
36
37
|
services_1.AmqpIssuedReceiptCouponLogService,
|
|
38
|
+
services_1.AmqpBrandBlackFridayCouponService,
|
|
37
39
|
],
|
|
38
40
|
})
|
|
39
41
|
], AmqpCouponServerModule);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './query';
|
|
@@ -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("./query"), exports);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface BrandBlackFridayCouponData {
|
|
2
|
+
couponName: string;
|
|
3
|
+
couponCode: string;
|
|
4
|
+
couponImg: string;
|
|
5
|
+
discountType: string;
|
|
6
|
+
discountValue?: number;
|
|
7
|
+
discountRate?: number;
|
|
8
|
+
link: string;
|
|
9
|
+
linkTitle: string;
|
|
10
|
+
}
|
|
11
|
+
export declare class GetBrandBlackFridayCouponPageResult {
|
|
12
|
+
mainTitle: string;
|
|
13
|
+
subTitle: string;
|
|
14
|
+
topImg: string;
|
|
15
|
+
couponTemplates: BrandBlackFridayCouponData[];
|
|
16
|
+
}
|
package/coupon-server/dto/summer-black-friday.modules/brand-black-friday-coupon/query/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './get-brand-black-friday-coupon-page.dto';
|
package/coupon-server/dto/summer-black-friday.modules/brand-black-friday-coupon/query/index.js
ADDED
|
@@ -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-brand-black-friday-coupon-page.dto"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './brand-black-friday-coupon';
|
|
@@ -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("./brand-black-friday-coupon"), exports);
|
|
@@ -5,3 +5,4 @@ export * from './amqp.receipt-coupon-template.service';
|
|
|
5
5
|
export * from './amqp.receipt-coupon-template-log.service';
|
|
6
6
|
export * from './amqp.issued-receipt-coupon.service';
|
|
7
7
|
export * from './amqp.issued-receipt-coupon-log.service';
|
|
8
|
+
export * from './summer-black-friday.modules';
|
|
@@ -21,3 +21,4 @@ __exportStar(require("./amqp.receipt-coupon-template.service"), exports);
|
|
|
21
21
|
__exportStar(require("./amqp.receipt-coupon-template-log.service"), exports);
|
|
22
22
|
__exportStar(require("./amqp.issued-receipt-coupon.service"), exports);
|
|
23
23
|
__exportStar(require("./amqp.issued-receipt-coupon-log.service"), exports);
|
|
24
|
+
__exportStar(require("./summer-black-friday.modules"), exports);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ClientProxy } from '@nestjs/microservices';
|
|
2
|
+
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
+
import { GetBrandBlackFridayCouponPageResult } from '../../../dto/summer-black-friday.modules/brand-black-friday-coupon';
|
|
4
|
+
export declare class AmqpBrandBlackFridayCouponService {
|
|
5
|
+
private readonly client;
|
|
6
|
+
private readonly amqpManager;
|
|
7
|
+
constructor(client: ClientProxy);
|
|
8
|
+
getBrandBlackFridayCouponPage(payload: void, param: AbstractParam): Promise<GetBrandBlackFridayCouponPageResult>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.AmqpBrandBlackFridayCouponService = void 0;
|
|
16
|
+
const common_1 = require("@nestjs/common");
|
|
17
|
+
const microservices_1 = require("@nestjs/microservices");
|
|
18
|
+
const functions_1 = require("@yolo-croket-dev/core/functions");
|
|
19
|
+
let AmqpBrandBlackFridayCouponService = class AmqpBrandBlackFridayCouponService {
|
|
20
|
+
constructor(client) {
|
|
21
|
+
this.client = client;
|
|
22
|
+
this.amqpManager = new functions_1.AmqpManagement(this.client);
|
|
23
|
+
}
|
|
24
|
+
async getBrandBlackFridayCouponPage(payload, param) {
|
|
25
|
+
return this.amqpManager.call('브랜드 블랙 프라이데이 쿠폰 조회', 'brand-black-friday-coupon.get.page', payload, param, { isErrorThrowing: true });
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
exports.AmqpBrandBlackFridayCouponService = AmqpBrandBlackFridayCouponService;
|
|
29
|
+
exports.AmqpBrandBlackFridayCouponService = AmqpBrandBlackFridayCouponService = __decorate([
|
|
30
|
+
(0, common_1.Injectable)(),
|
|
31
|
+
__param(0, (0, common_1.Inject)('COUPON_SERVER_PROVIDER')),
|
|
32
|
+
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
33
|
+
], AmqpBrandBlackFridayCouponService);
|
package/coupon-server/services/summer-black-friday.modules/brand-black-friday-coupon/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './amqp.brand-black-friday-coupon.service';
|
|
@@ -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("./amqp.brand-black-friday-coupon.service"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './brand-black-friday-coupon';
|
|
@@ -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("./brand-black-friday-coupon"), exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yolo-croket-dev/amqp-access",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.117-jun.1",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"author": "Yolo Co., Ltd.",
|
|
6
6
|
"description": "크로켓 amqp-access npm",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@yolo-croket-dev/core": "1.7.17",
|
|
22
22
|
"@yolo-croket-dev/domain": "0.1.4",
|
|
23
23
|
"@yolo-croket-dev/dto-v2": "^0.1.10",
|
|
24
|
-
"@yolo-croket-dev/entity": "^0.2.
|
|
24
|
+
"@yolo-croket-dev/entity": "^0.2.14",
|
|
25
25
|
"@yolo-croket-dev/entity-v2": "^0.1.51",
|
|
26
26
|
"class-transformer": "^0.5.1",
|
|
27
27
|
"class-validator": "^0.13.2",
|