@yolo-croket-dev/amqp-access 0.3.17-jun.2 → 0.3.17
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/order-server/dto/pay-try-log/command/index.d.ts +0 -1
- package/order-server/dto/pay-try-log/command/index.js +0 -1
- package/order-server/services/amqp.pay-try-log.service.d.ts +1 -3
- package/order-server/services/amqp.pay-try-log.service.js +0 -6
- package/package.json +1 -1
- package/user-service/dto/redis-db/command/pull-redis-db.dto.d.ts +3 -0
- package/user-service/dto/redis-db/command/pull-redis-db.dto.js +7 -0
- package/user-service/dto/redis-db/command/push-redis-db.dto.d.ts +4 -0
- package/{order-server/dto/pay-try-log/command/store-item-payment/coupon/update-issued-coupon-normal.dto.js → user-service/dto/redis-db/command/push-redis-db.dto.js} +8 -12
- package/order-server/dto/pay-try-log/command/store-item-payment/coupon/index.d.ts +0 -2
- package/order-server/dto/pay-try-log/command/store-item-payment/coupon/index.js +0 -18
- package/order-server/dto/pay-try-log/command/store-item-payment/coupon/update-issued-coupon-cart.dto.d.ts +0 -9
- package/order-server/dto/pay-try-log/command/store-item-payment/coupon/update-issued-coupon-cart.dto.js +0 -44
- package/order-server/dto/pay-try-log/command/store-item-payment/coupon/update-issued-coupon-normal.dto.d.ts +0 -5
- package/order-server/dto/pay-try-log/command/store-item-payment/index.d.ts +0 -1
- package/order-server/dto/pay-try-log/command/store-item-payment/index.js +0 -17
- package/selection-server/dto/selection-frame-data/query/search-complete-selection-frame-datas.dto.d.ts +0 -7
- package/selection-server/dto/selection-frame-data/query/search-complete-selection-frame-datas.dto.js +0 -23
- package/user-service/dto/seller-portal-channel-link-request/command/create-seller-portal-channel-link-request.dto.d.ts +0 -7
- package/user-service/dto/seller-portal-channel-link-request/command/create-seller-portal-channel-link-request.dto.js +0 -25
|
@@ -18,4 +18,3 @@ __exportStar(require("./write-normal-store-item-pay-try-log-init.dto"), exports)
|
|
|
18
18
|
__exportStar(require("./write-normal-store-item-pay-try-log-after.dto"), exports);
|
|
19
19
|
__exportStar(require("./write-cart-store-item-pay-try-log-init.service.dto"), exports);
|
|
20
20
|
__exportStar(require("./test-pay"), exports);
|
|
21
|
-
__exportStar(require("./store-item-payment"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
3
|
import { GetPayTryLogsForEsPayload, GetPayTryLogsForEsResult, GetPayTryLogsForEsByIdsPayload, GetPayTryLogsForEsByIdsResult } from '@yolo-croket-dev/dto-v2/order-server/pay-try-log';
|
|
4
|
-
import { WriteCartStoreItemPayTryLogInitPayload, WriteCartStoreItemPayTryLogInitResult, WriteNormalStoreItemPayTryLogAfterPayload, WriteNormalStoreItemPayTryLogInitPayload, WriteNormalStoreItemPayTryLogInitResult, ProcessStoreItemTestPaymentPayload, GetDirectTosspaymentsJsonPayload, GetDirectTosspaymentsJsonResult
|
|
4
|
+
import { WriteCartStoreItemPayTryLogInitPayload, WriteCartStoreItemPayTryLogInitResult, WriteNormalStoreItemPayTryLogAfterPayload, WriteNormalStoreItemPayTryLogInitPayload, WriteNormalStoreItemPayTryLogInitResult, ProcessStoreItemTestPaymentPayload, GetDirectTosspaymentsJsonPayload, GetDirectTosspaymentsJsonResult } from '../dto/pay-try-log';
|
|
5
5
|
export declare class AmqpPayTryLogService {
|
|
6
6
|
private readonly client;
|
|
7
7
|
private readonly amqpManager;
|
|
@@ -13,6 +13,4 @@ export declare class AmqpPayTryLogService {
|
|
|
13
13
|
writeCartStoreItemPayTryLogInit(payload: WriteCartStoreItemPayTryLogInitPayload, param: AbstractParam): Promise<WriteCartStoreItemPayTryLogInitResult>;
|
|
14
14
|
processStoreItemTestPayment(payload: ProcessStoreItemTestPaymentPayload, param: AbstractParam): Promise<void>;
|
|
15
15
|
getDirectTosspaymentsJson(payload: GetDirectTosspaymentsJsonPayload, param: AbstractParam): Promise<GetDirectTosspaymentsJsonResult>;
|
|
16
|
-
updateIssuedCouponCart(payload: UpdateIssuedCouponCartPayload, param: AbstractParam): Promise<void>;
|
|
17
|
-
updateIssuedCouponNormal(payload: UpdateIssuedCouponNormalPayload, param: AbstractParam): Promise<void>;
|
|
18
16
|
}
|
|
@@ -46,12 +46,6 @@ let AmqpPayTryLogService = class AmqpPayTryLogService {
|
|
|
46
46
|
async getDirectTosspaymentsJson(payload, param) {
|
|
47
47
|
return this.amqpManager.call('토스페이먼츠 결제창 json 데이터 조회', 'pay-try-log.get.direct-tosspayments-json', payload, param, { isErrorThrowing: true });
|
|
48
48
|
}
|
|
49
|
-
async updateIssuedCouponCart(payload, param) {
|
|
50
|
-
return this.amqpManager.call('장바구니 결제 사용할 쿠폰 적용', 'pay-try-log.update.issued-coupon-cart', payload, param, { isErrorThrowing: true });
|
|
51
|
-
}
|
|
52
|
-
async updateIssuedCouponNormal(payload, param) {
|
|
53
|
-
return this.amqpManager.call('일반 결제 사용할 쿠폰 적용', 'pay-try-log.update.issued-coupon-normal', payload, param, { isErrorThrowing: true });
|
|
54
|
-
}
|
|
55
49
|
};
|
|
56
50
|
exports.AmqpPayTryLogService = AmqpPayTryLogService;
|
|
57
51
|
exports.AmqpPayTryLogService = AmqpPayTryLogService = __decorate([
|
package/package.json
CHANGED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PullRedisDBPayload = void 0;
|
|
4
|
+
const push_redis_db_dto_1 = require("./push-redis-db.dto");
|
|
5
|
+
class PullRedisDBPayload extends push_redis_db_dto_1.PushRedisDBPayload {
|
|
6
|
+
}
|
|
7
|
+
exports.PullRedisDBPayload = PullRedisDBPayload;
|
|
@@ -9,22 +9,18 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.
|
|
12
|
+
exports.PushRedisDBPayload = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
class
|
|
14
|
+
class PushRedisDBPayload {
|
|
15
15
|
}
|
|
16
|
-
exports.
|
|
16
|
+
exports.PushRedisDBPayload = PushRedisDBPayload;
|
|
17
17
|
__decorate([
|
|
18
|
-
(0, class_validator_1.
|
|
19
|
-
|
|
20
|
-
], UpdateIssuedCouponNormalPayload.prototype, "payTryLogId", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, class_validator_1.IsMongoId)(),
|
|
23
|
-
(0, class_validator_1.IsOptional)(),
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
(0, class_validator_1.MinLength)(1),
|
|
24
20
|
__metadata("design:type", String)
|
|
25
|
-
],
|
|
21
|
+
], PushRedisDBPayload.prototype, "redisDBKey", void 0);
|
|
26
22
|
__decorate([
|
|
27
23
|
(0, class_validator_1.IsString)(),
|
|
28
|
-
(0, class_validator_1.
|
|
24
|
+
(0, class_validator_1.MinLength)(1),
|
|
29
25
|
__metadata("design:type", String)
|
|
30
|
-
],
|
|
26
|
+
], PushRedisDBPayload.prototype, "value", void 0);
|
|
@@ -1,18 +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("./update-issued-coupon-cart.dto"), exports);
|
|
18
|
-
__exportStar(require("./update-issued-coupon-normal.dto"), exports);
|
|
@@ -1,44 +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.UpdateIssuedCouponCartPayload = exports.CartIssuedCouponInfo = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
const class_transformer_1 = require("class-transformer");
|
|
15
|
-
class CartIssuedCouponInfo {
|
|
16
|
-
}
|
|
17
|
-
exports.CartIssuedCouponInfo = CartIssuedCouponInfo;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, class_validator_1.IsMongoId)(),
|
|
20
|
-
__metadata("design:type", String)
|
|
21
|
-
], CartIssuedCouponInfo.prototype, "cartId", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, class_validator_1.IsMongoId)(),
|
|
24
|
-
(0, class_validator_1.IsOptional)(),
|
|
25
|
-
__metadata("design:type", String)
|
|
26
|
-
], CartIssuedCouponInfo.prototype, "ICId", void 0);
|
|
27
|
-
class UpdateIssuedCouponCartPayload {
|
|
28
|
-
}
|
|
29
|
-
exports.UpdateIssuedCouponCartPayload = UpdateIssuedCouponCartPayload;
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, class_validator_1.IsMongoId)(),
|
|
32
|
-
__metadata("design:type", String)
|
|
33
|
-
], UpdateIssuedCouponCartPayload.prototype, "payTryLogId", void 0);
|
|
34
|
-
__decorate([
|
|
35
|
-
(0, class_validator_1.IsArray)(),
|
|
36
|
-
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
37
|
-
(0, class_transformer_1.Type)(() => CartIssuedCouponInfo),
|
|
38
|
-
__metadata("design:type", Array)
|
|
39
|
-
], UpdateIssuedCouponCartPayload.prototype, "issuedCouponInfos", void 0);
|
|
40
|
-
__decorate([
|
|
41
|
-
(0, class_validator_1.IsString)(),
|
|
42
|
-
(0, class_validator_1.IsOptional)(),
|
|
43
|
-
__metadata("design:type", String)
|
|
44
|
-
], UpdateIssuedCouponCartPayload.prototype, "paymentMethod", void 0);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './coupon';
|
|
@@ -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("./coupon"), exports);
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { SelectionFrameDataEntity } from '@yolo-croket-dev/entity-v2';
|
|
2
|
-
export declare class SearchAllSelectionFrameDatasByTargetSelectionDataIdPayload {
|
|
3
|
-
targetSelectionDataId: string;
|
|
4
|
-
}
|
|
5
|
-
export declare class SearchAllSelectionFrameDatasByTargetSelectionDataIdResult {
|
|
6
|
-
selectionFrameDatas: SelectionFrameDataEntity[];
|
|
7
|
-
}
|
package/selection-server/dto/selection-frame-data/query/search-complete-selection-frame-datas.dto.js
DELETED
|
@@ -1,23 +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.SearchAllSelectionFrameDatasByTargetSelectionDataIdResult = exports.SearchAllSelectionFrameDatasByTargetSelectionDataIdPayload = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
class SearchAllSelectionFrameDatasByTargetSelectionDataIdPayload {
|
|
15
|
-
}
|
|
16
|
-
exports.SearchAllSelectionFrameDatasByTargetSelectionDataIdPayload = SearchAllSelectionFrameDatasByTargetSelectionDataIdPayload;
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_validator_1.IsMongoId)(),
|
|
19
|
-
__metadata("design:type", String)
|
|
20
|
-
], SearchAllSelectionFrameDatasByTargetSelectionDataIdPayload.prototype, "targetSelectionDataId", void 0);
|
|
21
|
-
class SearchAllSelectionFrameDatasByTargetSelectionDataIdResult {
|
|
22
|
-
}
|
|
23
|
-
exports.SearchAllSelectionFrameDatasByTargetSelectionDataIdResult = SearchAllSelectionFrameDatasByTargetSelectionDataIdResult;
|
|
@@ -1,25 +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.CreateSellerPortalChannelLinkRequestPayload = exports.RequestTypeEnum = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
var RequestTypeEnum;
|
|
15
|
-
(function (RequestTypeEnum) {
|
|
16
|
-
RequestTypeEnum["onlyPortal"] = "onlyPortal";
|
|
17
|
-
RequestTypeEnum["portalAndAd"] = "portalAndAd";
|
|
18
|
-
})(RequestTypeEnum || (exports.RequestTypeEnum = RequestTypeEnum = {}));
|
|
19
|
-
class CreateSellerPortalChannelLinkRequestPayload {
|
|
20
|
-
}
|
|
21
|
-
exports.CreateSellerPortalChannelLinkRequestPayload = CreateSellerPortalChannelLinkRequestPayload;
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, class_validator_1.IsEnum)(RequestTypeEnum),
|
|
24
|
-
__metadata("design:type", String)
|
|
25
|
-
], CreateSellerPortalChannelLinkRequestPayload.prototype, "requestType", void 0);
|