@yolo-croket-dev/amqp-access 0.7.320-beta.2 → 0.7.320-sj
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/excel-upload-server/services/amqp.store-item-excel.service.d.ts +1 -0
- package/excel-upload-server/services/amqp.store-item-excel.service.js +3 -0
- package/notification-service/services/amqp.notification-bulk-send.service.d.ts +4 -0
- package/notification-service/services/amqp.notification-bulk-send.service.js +6 -0
- package/order-server/amqp.order-server.module.js +0 -2
- package/order-server/dto/index.d.ts +0 -1
- package/order-server/dto/index.js +0 -1
- package/order-server/services/index.d.ts +0 -1
- package/order-server/services/index.js +0 -1
- package/package.json +3 -3
- package/payment-service/dto/ad-center-settle/query/get-ad-center-settles-for-google-sheet.dto.d.ts +1 -1
- package/payment-service/services/amqp.settle.service.d.ts +0 -3
- package/payment-service/services/amqp.settle.service.js +0 -4
- package/store-item-server/dto/store-item/command/edit-store-item.dto.d.ts +1 -1
- package/store-item-server/dto/store-item/query/atlas-search/get-store-items-for-kakao-catalog.dto.d.ts +20 -0
- package/store-item-server/dto/store-item/query/atlas-search/get-store-items-for-kakao-catalog.dto.js +57 -0
- package/store-item-server/dto/store-item/query/atlas-search/index.d.ts +1 -0
- package/store-item-server/dto/store-item/query/atlas-search/index.js +1 -0
- package/store-item-server/dto/store-item/query/get-store-items-for-kakao-catalog.dto.d.ts +20 -0
- package/store-item-server/dto/store-item/query/get-store-items-for-kakao-catalog.dto.js +57 -0
- package/store-item-server/services/amqp.store-item.service.d.ts +2 -1
- package/store-item-server/services/amqp.store-item.service.js +3 -0
- package/order-server/dto/p-info-pending-settle/index.d.ts +0 -1
- package/order-server/dto/p-info-pending-settle/index.js +0 -17
- package/order-server/services/amqp.p-info-pending-settle.service.d.ts +0 -19
- package/order-server/services/amqp.p-info-pending-settle.service.js +0 -54
|
@@ -13,5 +13,6 @@ export declare class AmqpStoreItemExcelService {
|
|
|
13
13
|
makeAndUploadItemsForExpectGroupCreate(payload: MakeAndUploadItemsForExpectGroupCreatePayload, param: AbstractParam): Promise<MakeAndUploadItemsForExpectGroupCreateResult>;
|
|
14
14
|
syncMetaGoogleProductFeed(payload: unknown, param: AbstractParam): Promise<void>;
|
|
15
15
|
syncGoogleProductFeed(payload: unknown, param: AbstractParam): Promise<void>;
|
|
16
|
+
syncKakaoCatalogSpreadsheets(payload: unknown, param: AbstractParam): Promise<void>;
|
|
16
17
|
generateStoreItemNaverFeedExcel(payload: GenerateStoreItemNaverFeedExcelPayload, param: AbstractParam): Promise<void>;
|
|
17
18
|
}
|
|
@@ -65,6 +65,9 @@ let AmqpStoreItemExcelService = class AmqpStoreItemExcelService {
|
|
|
65
65
|
async syncGoogleProductFeed(payload, param) {
|
|
66
66
|
return this.amqpManager.call('구글 상품 피드 동기화', 'store-item-excel.sync.product-feed-by-google', payload, param, { isErrorThrowing: true });
|
|
67
67
|
}
|
|
68
|
+
async syncKakaoCatalogSpreadsheets(payload, param) {
|
|
69
|
+
return this.amqpManager.call('카카오 카탈로그 스프레드시트 동기화', 'store-item-excel.sync.google-sheet.kakao-catalog', payload, param, { isErrorThrowing: true });
|
|
70
|
+
}
|
|
68
71
|
async generateStoreItemNaverFeedExcel(payload, param) {
|
|
69
72
|
return this.amqpManager.call('네이버 피드 상품 엑셀 생성 및 슬랙 전송', 'store-item-excel.generate.naver-feed-excel', payload, param, { isErrorThrowing: true });
|
|
70
73
|
}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
+
import { SendExpiredIssuedReceiptCouponPayload } from '../dto/notification-bulk-send/command/send-expired-issued-receipt-coupon.dto';
|
|
4
|
+
import { SendExpiredIssuedCouponPayload } from '../dto/notification-bulk-send/command/send-expired-issued-coupon.dto';
|
|
3
5
|
import { SendDailyRandomCouponOpenPayload } from '../dto/notification-bulk-send/command/send-daily-random-coupon-open.dto';
|
|
4
6
|
export declare class AmqpNotificationBulkSendService {
|
|
5
7
|
private readonly client;
|
|
6
8
|
private readonly amqpManager;
|
|
7
9
|
constructor(client: ClientProxy);
|
|
10
|
+
sendExpiredIssuedReceiptCouponOnlyPublish(payload: SendExpiredIssuedReceiptCouponPayload, param: AbstractParam): Promise<boolean>;
|
|
11
|
+
sendExpiredIssuedCouponOnlyPublish(payload: SendExpiredIssuedCouponPayload, param: AbstractParam): Promise<boolean>;
|
|
8
12
|
sendDailyRandomCouponOpen(payload: SendDailyRandomCouponOpenPayload, param: AbstractParam): Promise<boolean>;
|
|
9
13
|
}
|
|
@@ -21,6 +21,12 @@ let AmqpNotificationBulkSendService = class AmqpNotificationBulkSendService {
|
|
|
21
21
|
this.client = client;
|
|
22
22
|
this.amqpManager = new functions_1.AmqpManagement(this.client);
|
|
23
23
|
}
|
|
24
|
+
async sendExpiredIssuedReceiptCouponOnlyPublish(payload, param) {
|
|
25
|
+
return this.amqpManager.onlyPublish('만료 발급 쿠폰 알림 대량 보내기', 'notification-bulk-send.send.expired-issued-receipt-coupon', payload, param, { isInternal: true });
|
|
26
|
+
}
|
|
27
|
+
async sendExpiredIssuedCouponOnlyPublish(payload, param) {
|
|
28
|
+
return this.amqpManager.onlyPublish('만료 발급 쿠폰 알림 대량 보내기', 'notification-bulk-send.send.expired-issued-coupon', payload, param, { isInternal: true });
|
|
29
|
+
}
|
|
24
30
|
async sendDailyRandomCouponOpen(payload, param) {
|
|
25
31
|
return this.amqpManager.onlyPublish('데일리 랜덤 쿠폰 알림 오픈 가능 대량 보내기', 'notification-bulk-send.send.daily-random-coupon-open', payload, param, { isInternal: true });
|
|
26
32
|
}
|
|
@@ -19,7 +19,6 @@ exports.AmqpOrderServerModule = AmqpOrderServerModule = __decorate([
|
|
|
19
19
|
providers: [
|
|
20
20
|
amqp_order_server_provider_1.OrderServerProvider,
|
|
21
21
|
amqp_order_server_service_1.AmqpOrderServer,
|
|
22
|
-
services_1.AmqpPInfoPendingSettleService,
|
|
23
22
|
services_1.AmqpBundlePInfoService,
|
|
24
23
|
services_1.AmqpPayTryLogService,
|
|
25
24
|
services_1.AmqpPortOneService,
|
|
@@ -47,7 +46,6 @@ exports.AmqpOrderServerModule = AmqpOrderServerModule = __decorate([
|
|
|
47
46
|
exports: [
|
|
48
47
|
amqp_order_server_provider_1.OrderServerProvider,
|
|
49
48
|
amqp_order_server_service_1.AmqpOrderServer,
|
|
50
|
-
services_1.AmqpPInfoPendingSettleService,
|
|
51
49
|
services_1.AmqpBundlePInfoService,
|
|
52
50
|
services_1.AmqpPayTryLogService,
|
|
53
51
|
services_1.AmqpPortOneService,
|
|
@@ -23,4 +23,3 @@ __exportStar(require("./changed-purchased-option-log"), exports);
|
|
|
23
23
|
__exportStar(require("./purchase-receipt"), exports);
|
|
24
24
|
__exportStar(require("./nicepay"), exports);
|
|
25
25
|
__exportStar(require("./customs"), exports);
|
|
26
|
-
__exportStar(require("./p-info-pending-settle"), exports);
|
|
@@ -31,4 +31,3 @@ __exportStar(require("./naver-search-ad.modules"), exports);
|
|
|
31
31
|
__exportStar(require("./amqp.nicepay.service"), exports);
|
|
32
32
|
__exportStar(require("./amqp.user-card-billing.service"), exports);
|
|
33
33
|
__exportStar(require("./amqp.customs.service"), exports);
|
|
34
|
-
__exportStar(require("./amqp.p-info-pending-settle.service"), exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yolo-croket-dev/amqp-access",
|
|
3
|
-
"version": "0.7.320-
|
|
3
|
+
"version": "0.7.320-sj",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"author": "Yolo Co., Ltd.",
|
|
6
6
|
"description": "크로켓 amqp-access npm",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"@nestjs/mapped-types": "2.0.2",
|
|
22
22
|
"@yolo-croket-dev/core": "^1.9.3",
|
|
23
23
|
"@yolo-croket-dev/domain": "0.2.47",
|
|
24
|
-
"@yolo-croket-dev/dto-v2": "0.2.
|
|
24
|
+
"@yolo-croket-dev/dto-v2": "0.2.23",
|
|
25
25
|
"@yolo-croket-dev/entity": "0.2.106",
|
|
26
|
-
"@yolo-croket-dev/entity-v2": "0.3.42
|
|
26
|
+
"@yolo-croket-dev/entity-v2": "0.3.42",
|
|
27
27
|
"class-transformer": "^0.5.1",
|
|
28
28
|
"class-validator": "^0.13.2",
|
|
29
29
|
"dotenv": "^16.3.1"
|
package/payment-service/dto/ad-center-settle/query/get-ad-center-settles-for-google-sheet.dto.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AdCenterSettle } from '@yolo-croket-dev/entity/src/ad-center-settle/ad-center-settle.schema';
|
|
2
2
|
import { BusinessInfo } from '@yolo-croket-dev/entity/src/store';
|
|
3
|
-
declare const AdCenterSettleForGoogleSheet_base: import("@nestjs/common").Type<Pick<AdCenterSettle, "_id" | "sellerId" | "publicId" | "couponInfo" | "pastStoreInfo" | "expectedSettleDateString" | "adType" | "adCenterStartDateString" | "adCenterEndDateString" | "actualSettleDateString" | "PInfoId" | "transactionInfo" | "subtractionSettleAmountInfo" | "bizMemo" | "financeMemo" | "settlementManagerInfo" | "googleSheetInfo">>;
|
|
3
|
+
declare const AdCenterSettleForGoogleSheet_base: import("@nestjs/common/interfaces").Type<Pick<AdCenterSettle, "_id" | "sellerId" | "publicId" | "couponInfo" | "pastStoreInfo" | "expectedSettleDateString" | "adType" | "adCenterStartDateString" | "adCenterEndDateString" | "actualSettleDateString" | "PInfoId" | "transactionInfo" | "subtractionSettleAmountInfo" | "bizMemo" | "financeMemo" | "settlementManagerInfo" | "googleSheetInfo">>;
|
|
4
4
|
/** 구글 시트용 광고센터정산 데이터 */
|
|
5
5
|
export declare class AdCenterSettleForGoogleSheet extends AdCenterSettleForGoogleSheet_base {
|
|
6
6
|
storeInfo: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { GetPendingSettlesPayload, GetPendingSettlesResult } from '@yolo-croket-dev/dto-v2/payment-service';
|
|
2
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
3
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
4
3
|
import { GetAbroadSettleRemittancePdfDataForUserPayload, GetAbroadSettleRemittancePdfDataForUserResult, GetAbroadSettleRemittancesForUserPayload, GetAbroadSettleRemittancesForUserResult } from '../dto';
|
|
@@ -6,8 +5,6 @@ export declare class AmqpSettleService {
|
|
|
6
5
|
private readonly client;
|
|
7
6
|
private readonly amqpManager;
|
|
8
7
|
constructor(client: ClientProxy);
|
|
9
|
-
/** @description 관리자용 정산 보류 자료를 조회한다. */
|
|
10
|
-
getPendingSettles(payload: GetPendingSettlesPayload, param: AbstractParam): Promise<GetPendingSettlesResult>;
|
|
11
8
|
getAbroadSettleRemittancesForUser(payload: GetAbroadSettleRemittancesForUserPayload, param: AbstractParam): Promise<GetAbroadSettleRemittancesForUserResult>;
|
|
12
9
|
getAbroadSettleRemittancePdfDataForUser(payload: GetAbroadSettleRemittancePdfDataForUserPayload, param: AbstractParam): Promise<GetAbroadSettleRemittancePdfDataForUserResult>;
|
|
13
10
|
}
|
|
@@ -21,10 +21,6 @@ let AmqpSettleService = class AmqpSettleService {
|
|
|
21
21
|
this.client = client;
|
|
22
22
|
this.amqpManager = new functions_1.AmqpManagement(this.client);
|
|
23
23
|
}
|
|
24
|
-
/** @description 관리자용 정산 보류 자료를 조회한다. */
|
|
25
|
-
async getPendingSettles(payload, param) {
|
|
26
|
-
return this.amqpManager.call('정산 보류 자료', 'settle.get.pending-settles', payload, param, { isErrorThrowing: true });
|
|
27
|
-
}
|
|
28
24
|
async getAbroadSettleRemittancesForUser(payload, param) {
|
|
29
25
|
return this.amqpManager.call('외화 기준 정산 내역 조회', 'settle.get.abroad-settle-remittances.for-user', payload, param, { isErrorThrowing: true });
|
|
30
26
|
}
|
|
@@ -21,7 +21,7 @@ export declare class EditStoreItemUsedInfo {
|
|
|
21
21
|
conditionGrade?: StoreItemUsedConditionGradeEnum | null;
|
|
22
22
|
releasePriceInfo?: EditStoreItemUsedReleasePriceInfo | null;
|
|
23
23
|
}
|
|
24
|
-
declare const EditStoreItemBasePayload_base: import("@nestjs/mapped-types").MappedType<Omit<RegStoreItemPayload, "itemType" | "
|
|
24
|
+
declare const EditStoreItemBasePayload_base: import("@nestjs/mapped-types").MappedType<Omit<RegStoreItemPayload, "itemType" | "mainSku" | "usedItemInfo">>;
|
|
25
25
|
declare class EditStoreItemBasePayload extends EditStoreItemBasePayload_base {
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { StoreItemEntity as StoreItem } from '@yolo-croket-dev/entity-v2/store-item';
|
|
2
|
+
export declare enum GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum {
|
|
3
|
+
PHRASE = "PHRASE"
|
|
4
|
+
}
|
|
5
|
+
export declare class GetStoreItemsForKakaoCatalogPayload {
|
|
6
|
+
mainCategories?: string[];
|
|
7
|
+
excludedSubCategories?: string[];
|
|
8
|
+
itemNameKeywords?: string[];
|
|
9
|
+
itemNameKeywordMatchType?: GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum;
|
|
10
|
+
limit: number;
|
|
11
|
+
paginationToken?: string;
|
|
12
|
+
}
|
|
13
|
+
export type GetStoreItemsForKakaoCatalogItem = Pick<StoreItem, '_id' | 'itemName' | 'contents' | 'itemPriceForBuyer' | 'itemPrice' | 'itemImg' | 'mainCategory' | 'subCategory' | 'brandInfo' | 'mainSku' | 'nation' | 'isSelling' | 'isDelete' | 'remainCount' | 'itemType' | 'isSecret'> & {
|
|
14
|
+
paginationToken?: string;
|
|
15
|
+
};
|
|
16
|
+
export declare class GetStoreItemsForKakaoCatalogResult {
|
|
17
|
+
storeItems: GetStoreItemsForKakaoCatalogItem[];
|
|
18
|
+
lastPaginationToken?: string;
|
|
19
|
+
maxPage?: number;
|
|
20
|
+
}
|
package/store-item-server/dto/store-item/query/atlas-search/get-store-items-for-kakao-catalog.dto.js
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
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.GetStoreItemsForKakaoCatalogResult = exports.GetStoreItemsForKakaoCatalogPayload = exports.GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
var GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum;
|
|
16
|
+
(function (GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum) {
|
|
17
|
+
GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum["PHRASE"] = "PHRASE";
|
|
18
|
+
})(GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum || (exports.GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum = GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum = {}));
|
|
19
|
+
class GetStoreItemsForKakaoCatalogPayload {
|
|
20
|
+
}
|
|
21
|
+
exports.GetStoreItemsForKakaoCatalogPayload = GetStoreItemsForKakaoCatalogPayload;
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsArray)(),
|
|
24
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
25
|
+
(0, class_validator_1.IsOptional)(),
|
|
26
|
+
__metadata("design:type", Array)
|
|
27
|
+
], GetStoreItemsForKakaoCatalogPayload.prototype, "mainCategories", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsArray)(),
|
|
30
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
31
|
+
(0, class_validator_1.IsOptional)(),
|
|
32
|
+
__metadata("design:type", Array)
|
|
33
|
+
], GetStoreItemsForKakaoCatalogPayload.prototype, "excludedSubCategories", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_validator_1.IsArray)(),
|
|
36
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
37
|
+
(0, class_validator_1.IsOptional)(),
|
|
38
|
+
__metadata("design:type", Array)
|
|
39
|
+
], GetStoreItemsForKakaoCatalogPayload.prototype, "itemNameKeywords", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_validator_1.IsEnum)(GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum),
|
|
42
|
+
(0, class_validator_1.IsOptional)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], GetStoreItemsForKakaoCatalogPayload.prototype, "itemNameKeywordMatchType", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_validator_1.IsNumber)(),
|
|
47
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
48
|
+
__metadata("design:type", Number)
|
|
49
|
+
], GetStoreItemsForKakaoCatalogPayload.prototype, "limit", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, class_validator_1.IsString)(),
|
|
52
|
+
(0, class_validator_1.IsOptional)(),
|
|
53
|
+
__metadata("design:type", String)
|
|
54
|
+
], GetStoreItemsForKakaoCatalogPayload.prototype, "paginationToken", void 0);
|
|
55
|
+
class GetStoreItemsForKakaoCatalogResult {
|
|
56
|
+
}
|
|
57
|
+
exports.GetStoreItemsForKakaoCatalogResult = GetStoreItemsForKakaoCatalogResult;
|
|
@@ -21,3 +21,4 @@ __exportStar(require("./get-random-item-ids.dto"), exports);
|
|
|
21
21
|
__exportStar(require("./get-used-img-item-ids.dto"), exports);
|
|
22
22
|
__exportStar(require("./get-used-imgs-item-ids.dto"), exports);
|
|
23
23
|
__exportStar(require("./get-store-items-for-product-feed.dto"), exports);
|
|
24
|
+
__exportStar(require("./get-store-items-for-kakao-catalog.dto"), exports);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { StoreItemEntity as StoreItem } from '@yolo-croket-dev/entity-v2/store-item';
|
|
2
|
+
export declare enum GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum {
|
|
3
|
+
PHRASE = "PHRASE"
|
|
4
|
+
}
|
|
5
|
+
export declare class GetStoreItemsForKakaoCatalogPayload {
|
|
6
|
+
mainCategories?: string[];
|
|
7
|
+
excludedSubCategories?: string[];
|
|
8
|
+
itemNameKeywords?: string[];
|
|
9
|
+
itemNameKeywordMatchType?: GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum;
|
|
10
|
+
limit: number;
|
|
11
|
+
paginationToken?: string;
|
|
12
|
+
}
|
|
13
|
+
export type GetStoreItemsForKakaoCatalogItem = Pick<StoreItem, '_id' | 'itemName' | 'contents' | 'itemPriceForBuyer' | 'itemPrice' | 'itemImg' | 'mainCategory' | 'subCategory' | 'brandInfo' | 'mainSku' | 'nation' | 'isSelling' | 'isDelete' | 'remainCount' | 'itemType' | 'isSecret'> & {
|
|
14
|
+
paginationToken?: string;
|
|
15
|
+
};
|
|
16
|
+
export declare class GetStoreItemsForKakaoCatalogResult {
|
|
17
|
+
storeItems: GetStoreItemsForKakaoCatalogItem[];
|
|
18
|
+
lastPaginationToken?: string;
|
|
19
|
+
maxPage?: number;
|
|
20
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
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.GetStoreItemsForKakaoCatalogResult = exports.GetStoreItemsForKakaoCatalogPayload = exports.GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
var GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum;
|
|
16
|
+
(function (GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum) {
|
|
17
|
+
GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum["PHRASE"] = "PHRASE";
|
|
18
|
+
})(GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum || (exports.GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum = GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum = {}));
|
|
19
|
+
class GetStoreItemsForKakaoCatalogPayload {
|
|
20
|
+
}
|
|
21
|
+
exports.GetStoreItemsForKakaoCatalogPayload = GetStoreItemsForKakaoCatalogPayload;
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsArray)(),
|
|
24
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
25
|
+
(0, class_validator_1.IsOptional)(),
|
|
26
|
+
__metadata("design:type", Array)
|
|
27
|
+
], GetStoreItemsForKakaoCatalogPayload.prototype, "mainCategories", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsArray)(),
|
|
30
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
31
|
+
(0, class_validator_1.IsOptional)(),
|
|
32
|
+
__metadata("design:type", Array)
|
|
33
|
+
], GetStoreItemsForKakaoCatalogPayload.prototype, "excludedSubCategories", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_validator_1.IsArray)(),
|
|
36
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
37
|
+
(0, class_validator_1.IsOptional)(),
|
|
38
|
+
__metadata("design:type", Array)
|
|
39
|
+
], GetStoreItemsForKakaoCatalogPayload.prototype, "itemNameKeywords", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_validator_1.IsEnum)(GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum),
|
|
42
|
+
(0, class_validator_1.IsOptional)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], GetStoreItemsForKakaoCatalogPayload.prototype, "itemNameKeywordMatchType", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_validator_1.IsNumber)(),
|
|
47
|
+
(0, class_transformer_1.Type)(() => Number),
|
|
48
|
+
__metadata("design:type", Number)
|
|
49
|
+
], GetStoreItemsForKakaoCatalogPayload.prototype, "limit", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, class_validator_1.IsString)(),
|
|
52
|
+
(0, class_validator_1.IsOptional)(),
|
|
53
|
+
__metadata("design:type", String)
|
|
54
|
+
], GetStoreItemsForKakaoCatalogPayload.prototype, "paginationToken", void 0);
|
|
55
|
+
class GetStoreItemsForKakaoCatalogResult {
|
|
56
|
+
}
|
|
57
|
+
exports.GetStoreItemsForKakaoCatalogResult = GetStoreItemsForKakaoCatalogResult;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { GetStoreItemLegaciesPayload, GetStoreItemLegaciesResult, GetSellingItemIdsByStoreIdPayload, GetSellingItemIdsByStoreIdResult, SearchSellingStoreItemsPayload, SearchSellingStoreItemsResult, SearchNormalSellingStoreItemsForBulkStopPayload, SearchNormalSellingStoreItemsForBulkStopResult, GetStoreItemsForESPayload, GetStoreItemsForESResult, GetLegacyStoreItemsByAtlasSearchPayload, GetLegacyStoreItemsByAtlasSearchResult, GetStoreItemIdsByAtlasSearchPayload, GetStoreItemIdsByAtlasSearchResult, GetStoreItemInfoByIdPayload, GetStoreItemInfoByIdResult, GetSellingItemIdsByThemeIdPayload, GetSellingItemIdsByThemeIdResult, SearchStoreItemNameByIdPayload, SearchStoreItemNameByIdResult, GetSellerOwnedStoreItemByIdPayload, GetSellerOwnedStoreItemByIdResult, GetItemGroupNumsPayload, GetItemGroupNumsResult, GetRandomItemIdsPayload, GetRandomItemIdsResult, GetUsedImgItemIdsPayload, GetUsedImgItemIdsResult, GetUsedImgsItemIdsPayload, GetUsedImgsItemIdsResult, GetSellingItemIdsByCatagoryPayload, GetSellingItemIdsByCatagoryResult, PatchSoldOutItemOptionsPayload, PatchSoldOutItemOptionsResult, RegStoreItemPayload, RegStoreItemResult, EditStoreItemPayload, EditItemResult, GetStoreItemsForUpdateBrandPayload, GetStoreItemsForUpdateBrandResult, RegStoreItemBulkPayload, RegStoreItemBulkResult, GetStoreItemInfoByIdsPayload, GetStoreItemInfoByIdsResult, SearchStoreItemsForSeduceAddCartPayload, SearchStoreItemsForSeduceAddCartResult, GetStoreItemBindIssuedCouponForPaymentPayload, GetStoreItemBindIssuedCouponForPaymentResult, GetStaleStoreItemsForExcelResult, GetStaleStoreItemsForExcelPayload, GetStoreItemTooltipForCartPayload, GetStoreItemTooltipForCartResult, GetStoreItemsByBrandNamePayload, GetStoreItemsByBrandNameResult, SearchStoreItemsForTestApiPayload, SearchStoreItemsForTestApiResult, UpdateBrandNameBulkPayload, UpdateBrandEngNameBulkPayload, DeleteBrandInfoBulkPayload, DalphaUpdateBrandNameBulkPayload, PatchStoreItemOptionRemainCountByChangePurchasedOptionPayload, PatchStoreItemOptionRemainCountByChangePurchasedOptionResult, UpdateIsSellingBulkPayload, GetAreaResult, GetCityPayload, GetCityResult, GetNationPayload, GetNationResult, GetStoreItemsForExtractionByTypeResult, ResizeItemImgPayload, GetStoreInfosByItemIdsPayload, GetStoreInfosByItemIdsResult, CopyStoreItemPayload, CopyStoreItemListPayload, GetCouponCodesBySellingItemPayload, GetCouponCodesBySellingItemResult, UpdateStoreItemSecretPayload, GetSellingStoreItemsForChatPayload, GetSellingStoreItemsForChatResult, GetStoreItemsByPreBlackFridayIdPayload, GetStoreItemsByPreBlackFridayIdResult, UpdateBrandInfosPayload, UpdateBrandInfosResult, SearchRegularPriceItemsForAdminResult, SearchRegularPriceItemsForAdminPayload, UpdateRegularPriceByAdminPayload, RegRegularPriceBulkByAdminPayload, DeleteRegularPriceByAdminPayload, SearchSecretItemsForAdminPayload, SearchSecretItemsForAdminResult, RegItemNameEngBulkByAdminPayload, UpdateStoreItemGlobalInfoBulkPayload, UpdateNaverEnabledBulkPayload, UpdateIsRequiredPCCCBulkPayload, UpdateIsRequiredPCCCBulkResult, UpdateStoreItemSellerMemoPayload, UpdateStoreItemSellerMemoResult, GetStoreItemSellerMemoPayload, GetStoreItemSellerMemoResult, ResumeSellingSelectedBulkPayload, ResumeSellingAllBulkPayload, ResumeSellingBulkResult, StopSellingSelectedBulkPayload, StopSellingAllBulkPayload, StopSellingBulkResult, UsedSellingSelectedBulkPayload, UsedSellingAllBulkPayload, UsedSellingBulkResult, GetCroCareStoreItemInfoPayload, GetCroCareStoreItemInfoResult, GetStoreItemsForProductFeedPayload, GetStoreItemsForProductFeedResult, GetMetaProductFeedSyncStatusByItemIdsPayload, GetMetaProductFeedSyncStatusByItemIdsResult, UpdateItemKeywordsBulkPayload, UpdateItemKeywordsBulkResult, SearchStoreItemsForEnuriSummaryEpPayload, SearchStoreItemsForEnuriSummaryEpResult, RefreshShippingLeadTimeStatsPayload, GetAbroadShippingStoreItemExistsResult, CreateAdditionalPaymentStoreItemPayload, CreateAdditionalPaymentStoreItemResult, GetUsedStoreItemsByBrandCategoryPayload, GetUsedStoreItemsByBrandCategoryResult, RunInstantSelectionSyncPayload, RunInstantSelectionSyncResult, BackfillInstantSelectionSyncPayload, BackfillInstantSelectionSyncResult, ResetInstantSelectionSyncPayload, ResetInstantSelectionSyncResult } from '../dto/store-item';
|
|
3
|
+
import { GetStoreItemLegaciesPayload, GetStoreItemLegaciesResult, GetSellingItemIdsByStoreIdPayload, GetSellingItemIdsByStoreIdResult, SearchSellingStoreItemsPayload, SearchSellingStoreItemsResult, SearchNormalSellingStoreItemsForBulkStopPayload, SearchNormalSellingStoreItemsForBulkStopResult, GetStoreItemsForESPayload, GetStoreItemsForESResult, GetLegacyStoreItemsByAtlasSearchPayload, GetLegacyStoreItemsByAtlasSearchResult, GetStoreItemIdsByAtlasSearchPayload, GetStoreItemIdsByAtlasSearchResult, GetStoreItemInfoByIdPayload, GetStoreItemInfoByIdResult, GetSellingItemIdsByThemeIdPayload, GetSellingItemIdsByThemeIdResult, SearchStoreItemNameByIdPayload, SearchStoreItemNameByIdResult, GetSellerOwnedStoreItemByIdPayload, GetSellerOwnedStoreItemByIdResult, GetItemGroupNumsPayload, GetItemGroupNumsResult, GetRandomItemIdsPayload, GetRandomItemIdsResult, GetUsedImgItemIdsPayload, GetUsedImgItemIdsResult, GetUsedImgsItemIdsPayload, GetUsedImgsItemIdsResult, GetSellingItemIdsByCatagoryPayload, GetSellingItemIdsByCatagoryResult, PatchSoldOutItemOptionsPayload, PatchSoldOutItemOptionsResult, RegStoreItemPayload, RegStoreItemResult, EditStoreItemPayload, EditItemResult, GetStoreItemsForUpdateBrandPayload, GetStoreItemsForUpdateBrandResult, RegStoreItemBulkPayload, RegStoreItemBulkResult, GetStoreItemInfoByIdsPayload, GetStoreItemInfoByIdsResult, SearchStoreItemsForSeduceAddCartPayload, SearchStoreItemsForSeduceAddCartResult, GetStoreItemBindIssuedCouponForPaymentPayload, GetStoreItemBindIssuedCouponForPaymentResult, GetStaleStoreItemsForExcelResult, GetStaleStoreItemsForExcelPayload, GetStoreItemTooltipForCartPayload, GetStoreItemTooltipForCartResult, GetStoreItemsByBrandNamePayload, GetStoreItemsByBrandNameResult, SearchStoreItemsForTestApiPayload, SearchStoreItemsForTestApiResult, UpdateBrandNameBulkPayload, UpdateBrandEngNameBulkPayload, DeleteBrandInfoBulkPayload, DalphaUpdateBrandNameBulkPayload, PatchStoreItemOptionRemainCountByChangePurchasedOptionPayload, PatchStoreItemOptionRemainCountByChangePurchasedOptionResult, UpdateIsSellingBulkPayload, GetAreaResult, GetCityPayload, GetCityResult, GetNationPayload, GetNationResult, GetStoreItemsForExtractionByTypeResult, ResizeItemImgPayload, GetStoreInfosByItemIdsPayload, GetStoreInfosByItemIdsResult, CopyStoreItemPayload, CopyStoreItemListPayload, GetCouponCodesBySellingItemPayload, GetCouponCodesBySellingItemResult, UpdateStoreItemSecretPayload, GetSellingStoreItemsForChatPayload, GetSellingStoreItemsForChatResult, GetStoreItemsByPreBlackFridayIdPayload, GetStoreItemsByPreBlackFridayIdResult, UpdateBrandInfosPayload, UpdateBrandInfosResult, SearchRegularPriceItemsForAdminResult, SearchRegularPriceItemsForAdminPayload, UpdateRegularPriceByAdminPayload, RegRegularPriceBulkByAdminPayload, DeleteRegularPriceByAdminPayload, SearchSecretItemsForAdminPayload, SearchSecretItemsForAdminResult, RegItemNameEngBulkByAdminPayload, UpdateStoreItemGlobalInfoBulkPayload, UpdateNaverEnabledBulkPayload, UpdateIsRequiredPCCCBulkPayload, UpdateIsRequiredPCCCBulkResult, UpdateStoreItemSellerMemoPayload, UpdateStoreItemSellerMemoResult, GetStoreItemSellerMemoPayload, GetStoreItemSellerMemoResult, ResumeSellingSelectedBulkPayload, ResumeSellingAllBulkPayload, ResumeSellingBulkResult, StopSellingSelectedBulkPayload, StopSellingAllBulkPayload, StopSellingBulkResult, UsedSellingSelectedBulkPayload, UsedSellingAllBulkPayload, UsedSellingBulkResult, GetCroCareStoreItemInfoPayload, GetCroCareStoreItemInfoResult, GetStoreItemsForProductFeedPayload, GetStoreItemsForProductFeedResult, GetStoreItemsForKakaoCatalogPayload, GetStoreItemsForKakaoCatalogResult, GetMetaProductFeedSyncStatusByItemIdsPayload, GetMetaProductFeedSyncStatusByItemIdsResult, UpdateItemKeywordsBulkPayload, UpdateItemKeywordsBulkResult, SearchStoreItemsForEnuriSummaryEpPayload, SearchStoreItemsForEnuriSummaryEpResult, RefreshShippingLeadTimeStatsPayload, GetAbroadShippingStoreItemExistsResult, CreateAdditionalPaymentStoreItemPayload, CreateAdditionalPaymentStoreItemResult, GetUsedStoreItemsByBrandCategoryPayload, GetUsedStoreItemsByBrandCategoryResult, RunInstantSelectionSyncPayload, RunInstantSelectionSyncResult, BackfillInstantSelectionSyncPayload, BackfillInstantSelectionSyncResult, ResetInstantSelectionSyncPayload, ResetInstantSelectionSyncResult } from '../dto/store-item';
|
|
4
4
|
export declare class AmqpStoreItemService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
7
7
|
constructor(client: ClientProxy);
|
|
8
|
+
getStoreItemsForKakaoCatalog(payload: GetStoreItemsForKakaoCatalogPayload, param: AbstractParam): Promise<GetStoreItemsForKakaoCatalogResult>;
|
|
8
9
|
/** ZOZO USED 상품 한 건의 즉시 셀렉션 연결을 실행한다. */
|
|
9
10
|
runInstantSelectionSync(payload: RunInstantSelectionSyncPayload, param: AbstractParam): Promise<RunInstantSelectionSyncResult>;
|
|
10
11
|
/** 즉시 셀렉션 연결 대상을 조회해 제한된 건수만 처리한다. */
|
|
@@ -21,6 +21,9 @@ let AmqpStoreItemService = class AmqpStoreItemService {
|
|
|
21
21
|
this.client = client;
|
|
22
22
|
this.amqpManager = new functions_1.AmqpManagement(this.client);
|
|
23
23
|
}
|
|
24
|
+
async getStoreItemsForKakaoCatalog(payload, param) {
|
|
25
|
+
return this.amqpManager.call('카카오 카탈로그 광고 상품 조회', 'store-item.get.kakao-catalog-items', payload, param, { isErrorThrowing: true });
|
|
26
|
+
}
|
|
24
27
|
/** ZOZO USED 상품 한 건의 즉시 셀렉션 연결을 실행한다. */
|
|
25
28
|
async runInstantSelectionSync(payload, param) {
|
|
26
29
|
return this.amqpManager.call('즉시 셀렉션 연결 실행', 'store-item.instant-selection-sync.run', payload, param, { isErrorThrowing: true });
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from '@yolo-croket-dev/dto-v2/order-server/p-info-pending-settle';
|
|
@@ -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("@yolo-croket-dev/dto-v2/order-server/p-info-pending-settle"), exports);
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ClientProxy } from '@nestjs/microservices';
|
|
2
|
-
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { CreatePInfoPendingSettlesPayload, CreatePInfoPendingSettlesResult, UpdatePInfoPendingSettlePayload, UpdatePInfoPendingSettleResult, ReleasePInfoPendingSettlePayload, ReleasePInfoPendingSettleResult, GetPInfoPendingSettlesPayload, GetPInfoPendingSettlesResult, GetPInfoPendingSettlePayload, GetPInfoPendingSettleResult, GetPInfoPendingSettleLogsPayload, GetPInfoPendingSettleLogsResult } from '../dto/p-info-pending-settle';
|
|
4
|
-
export declare class AmqpPInfoPendingSettleService {
|
|
5
|
-
private readonly manager;
|
|
6
|
-
constructor(client: ClientProxy);
|
|
7
|
-
/** @description createBulk 요청을 전달한다. */
|
|
8
|
-
createBulk(payload: CreatePInfoPendingSettlesPayload, param: AbstractParam): Promise<CreatePInfoPendingSettlesResult>;
|
|
9
|
-
/** @description updateInfo 요청을 전달한다. */
|
|
10
|
-
updateInfo(payload: UpdatePInfoPendingSettlePayload, param: AbstractParam): Promise<UpdatePInfoPendingSettleResult>;
|
|
11
|
-
/** @description releaseOne 요청을 전달한다. */
|
|
12
|
-
releaseOne(payload: ReleasePInfoPendingSettlePayload, param: AbstractParam): Promise<ReleasePInfoPendingSettleResult>;
|
|
13
|
-
/** @description getList 요청을 전달한다. */
|
|
14
|
-
getList(payload: GetPInfoPendingSettlesPayload, param: AbstractParam): Promise<GetPInfoPendingSettlesResult>;
|
|
15
|
-
/** @description getDetail 요청을 전달한다. */
|
|
16
|
-
getDetail(payload: GetPInfoPendingSettlePayload, param: AbstractParam): Promise<GetPInfoPendingSettleResult>;
|
|
17
|
-
/** @description getLogs 요청을 전달한다. */
|
|
18
|
-
getLogs(payload: GetPInfoPendingSettleLogsPayload, param: AbstractParam): Promise<GetPInfoPendingSettleLogsResult>;
|
|
19
|
-
}
|
|
@@ -1,54 +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
|
-
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.AmqpPInfoPendingSettleService = void 0;
|
|
16
|
-
/** @author jun @description 결제별 보류 RPC client. @process 제한된 관리자 요청을 order-server에 위임한다. */
|
|
17
|
-
const common_1 = require("@nestjs/common");
|
|
18
|
-
const microservices_1 = require("@nestjs/microservices");
|
|
19
|
-
const core_1 = require("@yolo-croket-dev/core");
|
|
20
|
-
let AmqpPInfoPendingSettleService = class AmqpPInfoPendingSettleService {
|
|
21
|
-
constructor(client) {
|
|
22
|
-
this.manager = new core_1.AmqpManagement(client);
|
|
23
|
-
}
|
|
24
|
-
/** @description createBulk 요청을 전달한다. */
|
|
25
|
-
async createBulk(payload, param) {
|
|
26
|
-
return this.manager.call('결제별 정산 보류', 'p-info-pending-settle.create.bulk', payload, param, { isErrorThrowing: true });
|
|
27
|
-
}
|
|
28
|
-
/** @description updateInfo 요청을 전달한다. */
|
|
29
|
-
async updateInfo(payload, param) {
|
|
30
|
-
return this.manager.call('결제별 정산 보류', 'p-info-pending-settle.update.info', payload, param, { isErrorThrowing: true });
|
|
31
|
-
}
|
|
32
|
-
/** @description releaseOne 요청을 전달한다. */
|
|
33
|
-
async releaseOne(payload, param) {
|
|
34
|
-
return this.manager.call('결제별 정산 보류', 'p-info-pending-settle.release.one', payload, param, { isErrorThrowing: true });
|
|
35
|
-
}
|
|
36
|
-
/** @description getList 요청을 전달한다. */
|
|
37
|
-
async getList(payload, param) {
|
|
38
|
-
return this.manager.call('결제별 정산 보류', 'p-info-pending-settle.get.list', payload, param, { isErrorThrowing: true });
|
|
39
|
-
}
|
|
40
|
-
/** @description getDetail 요청을 전달한다. */
|
|
41
|
-
async getDetail(payload, param) {
|
|
42
|
-
return this.manager.call('결제별 정산 보류', 'p-info-pending-settle.get.detail', payload, param, { isErrorThrowing: true });
|
|
43
|
-
}
|
|
44
|
-
/** @description getLogs 요청을 전달한다. */
|
|
45
|
-
async getLogs(payload, param) {
|
|
46
|
-
return this.manager.call('결제별 정산 보류', 'p-info-pending-settle.get.logs', payload, param, { isErrorThrowing: true });
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
exports.AmqpPInfoPendingSettleService = AmqpPInfoPendingSettleService;
|
|
50
|
-
exports.AmqpPInfoPendingSettleService = AmqpPInfoPendingSettleService = __decorate([
|
|
51
|
-
(0, common_1.Injectable)(),
|
|
52
|
-
__param(0, (0, common_1.Inject)('ORDER_SERVER_PROVIDER')),
|
|
53
|
-
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
54
|
-
], AmqpPInfoPendingSettleService);
|