@yolo-croket-dev/amqp-access 0.0.166-slowquery.6 → 0.0.166
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/elastic-service/services/amqp.es-store-item.service.d.ts +18 -0
- package/elastic-service/services/amqp.es-store-item.service.js +60 -0
- package/order-server/amqp.order-server.service.d.ts +1 -3
- package/order-server/amqp.order-server.service.js +0 -4
- package/order-server/dto/bundle-p-info/command/index.d.ts +1 -0
- package/order-server/dto/bundle-p-info/command/index.js +1 -0
- package/order-server/dto/bundle-p-info/command/sync-process-bulk.dto.d.ts +3 -0
- package/order-server/dto/bundle-p-info/command/sync-process-bulk.dto.js +21 -0
- package/order-server/services/amqp.bundle-p-info.service.d.ts +2 -1
- package/order-server/services/amqp.bundle-p-info.service.js +3 -0
- package/package.json +2 -2
- package/payment-service/dto/partial-refund/query/index.d.ts +0 -1
- package/payment-service/dto/partial-refund/query/index.js +0 -1
- package/payment-service/services/amqp.partial-refund.service.d.ts +1 -2
- package/payment-service/services/amqp.partial-refund.service.js +0 -3
- package/selection-server/dto/selection-frame-data/query/search-complete-selection-frame-datas.dto.d.ts +7 -0
- package/selection-server/dto/selection-frame-data/query/search-complete-selection-frame-datas.dto.js +23 -0
- package/user-service/services/amqp.md-theme.service.d.ts +11 -0
- package/user-service/services/amqp.md-theme.service.js +36 -0
- package/payment-service/dto/partial-refund/query/get-complete-process-by-paymented-at-for-admin.dto.d.ts +0 -14
- package/payment-service/dto/partial-refund/query/get-complete-process-by-paymented-at-for-admin.dto.js +0 -35
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ClientProxy } from '@nestjs/microservices';
|
|
2
|
+
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
+
import { ESStoreItemSearchDataPayload, ESStoreItemSearchDataResult, ESStoreItemCountGroupPayloadDto, ESStoreItemCountGroupResultDto, ESStoreItemRandomSearchDataPayload, ESStoreItemRandomSearchDataResult, ESStoreItemDeleteDataPayloadDto, ESStoreItemDeleteDataResultDto, ESStoreItemUpdateDataByItemNamePayloadDto, ESStoreItemUpdateDataByItemNameResultDto, ESStoreItemCreateDataPayload, ESStoreItemCreateDataResult, ESStoreItemUpdateDataPayload, ESStoreItemUpdateDataResult, ESStoreItemCreateAndUpdateDataBulkPayload } from '../dto/es-store-item-v1';
|
|
4
|
+
export declare class AmqpEsStoreItemV2Service {
|
|
5
|
+
private readonly client;
|
|
6
|
+
private readonly amqpManager;
|
|
7
|
+
constructor(client: ClientProxy);
|
|
8
|
+
refreshIndex(payload: void, param: AbstractParam): Promise<void>;
|
|
9
|
+
refreshAllDataOnlyPublish(payload: void, param: AbstractParam): Promise<void>;
|
|
10
|
+
searchData(payload: ESStoreItemSearchDataPayload, param: AbstractParam): Promise<ESStoreItemSearchDataResult>;
|
|
11
|
+
countGroup(payload: ESStoreItemCountGroupPayloadDto, param: AbstractParam): Promise<ESStoreItemCountGroupResultDto>;
|
|
12
|
+
createData(payload: ESStoreItemCreateDataPayload, param: AbstractParam): Promise<ESStoreItemCreateDataResult>;
|
|
13
|
+
createAndUpdateBulk(payload: ESStoreItemCreateAndUpdateDataBulkPayload, param: AbstractParam): Promise<void>;
|
|
14
|
+
deleteData(payload: ESStoreItemDeleteDataPayloadDto, param: AbstractParam): Promise<ESStoreItemDeleteDataResultDto>;
|
|
15
|
+
updateData(payload: ESStoreItemUpdateDataPayload, param: AbstractParam): Promise<ESStoreItemUpdateDataResult>;
|
|
16
|
+
updateDataByItemName(payload: ESStoreItemUpdateDataByItemNamePayloadDto, param: AbstractParam): Promise<ESStoreItemUpdateDataByItemNameResultDto>;
|
|
17
|
+
searchRandomData(payload: ESStoreItemRandomSearchDataPayload, param: AbstractParam): Promise<ESStoreItemRandomSearchDataResult>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
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.AmqpEsStoreItemV2Service = 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 AmqpEsStoreItemV2Service = class AmqpEsStoreItemV2Service {
|
|
20
|
+
constructor(client) {
|
|
21
|
+
this.client = client;
|
|
22
|
+
this.amqpManager = new functions_1.AmqpManagement(this.client);
|
|
23
|
+
}
|
|
24
|
+
async refreshIndex(payload, param) {
|
|
25
|
+
return this.amqpManager.call('es store item v1 index 갱신', 'ES_STORE_ITEM_REFRESH_INDEX', payload, param, { isErrorThrowing: true });
|
|
26
|
+
}
|
|
27
|
+
async refreshAllDataOnlyPublish(payload, param) {
|
|
28
|
+
this.amqpManager.onlyPublish('es store item v1 전체 데이터 갱신', 'ES_STORE_ITEM_REFRESH_DATA_SUCCESS', payload, param);
|
|
29
|
+
}
|
|
30
|
+
async searchData(payload, param) {
|
|
31
|
+
return this.amqpManager.call('es store item v1 상품 검색', 'ES_STORE_ITEM_SEARCH_DATA', payload, param, { isErrorThrowing: true });
|
|
32
|
+
}
|
|
33
|
+
async countGroup(payload, param) {
|
|
34
|
+
return this.amqpManager.call('es store item v1 상품 개수 group 검색', 'ES_STORE_ITEM_COUNT_GROUP', payload, param, { isErrorThrowing: true });
|
|
35
|
+
}
|
|
36
|
+
async createData(payload, param) {
|
|
37
|
+
return this.amqpManager.call('es store item v1 상품 생성', 'ES_STORE_ITEM_CREATE_DATA', payload, param, { isErrorThrowing: true });
|
|
38
|
+
}
|
|
39
|
+
async createAndUpdateBulk(payload, param) {
|
|
40
|
+
return this.amqpManager.call('es store item v1 데이터 대량 업데이트', 'ES_STORE_ITEM_CREATE_AND_UPDATE_BULK', payload, param, { isErrorThrowing: true });
|
|
41
|
+
}
|
|
42
|
+
async deleteData(payload, param) {
|
|
43
|
+
return this.amqpManager.call('es store item v1 데이터 삭제', 'ES_STORE_ITEM_DELETE_DATA', payload, param, { isErrorThrowing: true });
|
|
44
|
+
}
|
|
45
|
+
async updateData(payload, param) {
|
|
46
|
+
return this.amqpManager.call('es store item v1 데이터 업데이트', 'ES_STORE_ITEM_UPDATE_DATA', payload, param, { isErrorThrowing: true });
|
|
47
|
+
}
|
|
48
|
+
async updateDataByItemName(payload, param) {
|
|
49
|
+
return this.amqpManager.call('es store item v1 상품명으로 부터 데이터 업데이트', 'ES_STORE_ITEM_UPDATE_DATA_BY_ITEM_NAME', payload, param, { isErrorThrowing: true });
|
|
50
|
+
}
|
|
51
|
+
async searchRandomData(payload, param) {
|
|
52
|
+
return this.amqpManager.call('es store item v1 랜덤 검색', 'ES_STORE_ITEM_RANDOM_SEARCH_DATA', payload, param, { isErrorThrowing: true });
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
exports.AmqpEsStoreItemV2Service = AmqpEsStoreItemV2Service;
|
|
56
|
+
exports.AmqpEsStoreItemV2Service = AmqpEsStoreItemV2Service = __decorate([
|
|
57
|
+
(0, common_1.Injectable)(),
|
|
58
|
+
__param(0, (0, common_1.Inject)('ELASTIC_SERVICE_PROVIDER')),
|
|
59
|
+
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
60
|
+
], AmqpEsStoreItemV2Service);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { GetPurchasedInfoByIdsPayload, GetPurchasedInfosForBulkNotiPayload, GetPurchasedInfosForBulkNotiResult
|
|
3
|
+
import { GetPurchasedInfoByIdsPayload, GetPurchasedInfosForBulkNotiPayload, GetPurchasedInfosForBulkNotiResult } from '@yolo-croket-dev/dto-v2/order-server';
|
|
4
4
|
import { PurchasedInfoEntity } from '@yolo-croket-dev/entity/src/purchased-info';
|
|
5
5
|
import { SearchSellerTransactionHistoryByProcessPayload, SearchSellerTransactionHistoryByProcessResult } from './dto';
|
|
6
6
|
export declare class AmqpOrderServer {
|
|
@@ -11,6 +11,4 @@ export declare class AmqpOrderServer {
|
|
|
11
11
|
getPurchasedInfosForBulkNoti(payload: GetPurchasedInfosForBulkNotiPayload, param: AbstractParam): Promise<GetPurchasedInfosForBulkNotiResult>;
|
|
12
12
|
/** 셀러 거래 내역 추출 (엑셀 생성에 쓰임) */
|
|
13
13
|
searchSellerTransactionHistoryByProcess(payload: SearchSellerTransactionHistoryByProcessPayload, param: AbstractParam): Promise<SearchSellerTransactionHistoryByProcessResult[]>;
|
|
14
|
-
/** 결제 내역 추출 */
|
|
15
|
-
getPurchasedInfoForAdminExcel(payload: GetPurchasedInfoForAdminExcelPayload, param: AbstractParam): Promise<GetPurchasedInfoForAdminExcelResult>;
|
|
16
14
|
}
|
|
@@ -32,10 +32,6 @@ let AmqpOrderServer = class AmqpOrderServer {
|
|
|
32
32
|
async searchSellerTransactionHistoryByProcess(payload, param) {
|
|
33
33
|
return this.amqpManager.call('셀러 거래 내역 데이터 조회', 'purchasedinfos.get.seller-transaction-history-by-process', payload, param, { isErrorThrowing: true });
|
|
34
34
|
}
|
|
35
|
-
/** 결제 내역 추출 */
|
|
36
|
-
async getPurchasedInfoForAdminExcel(payload, param) {
|
|
37
|
-
return this.amqpManager.call('결제 내역 엑셀 다운로드용 데이터 조회', 'purchased-info.search.for-admin-excel', payload, param, { isErrorThrowing: true });
|
|
38
|
-
}
|
|
39
35
|
};
|
|
40
36
|
AmqpOrderServer = __decorate([
|
|
41
37
|
(0, common_1.Injectable)(),
|
|
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./add-bundle-p-info.dto"), exports);
|
|
18
18
|
__exportStar(require("./reg-bundle-p-info.dto"), exports);
|
|
19
|
+
__exportStar(require("./sync-process-bulk.dto"), exports);
|
|
@@ -0,0 +1,21 @@
|
|
|
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.SyncProcessBulkServicePayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class SyncProcessBulkServicePayload {
|
|
15
|
+
}
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, class_validator_1.IsArray)(),
|
|
18
|
+
(0, class_validator_1.IsMongoId)({ each: true }),
|
|
19
|
+
__metadata("design:type", Array)
|
|
20
|
+
], SyncProcessBulkServicePayload.prototype, "bundlePInfoIds", void 0);
|
|
21
|
+
exports.SyncProcessBulkServicePayload = SyncProcessBulkServicePayload;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { AddBundlePInfoPayload, RegBundlePInfoPayload, GetBundlePInfoForPayLogPayload, GetBundlePInfoForPayLogResult } from '../dto/bundle-p-info';
|
|
3
|
+
import { AddBundlePInfoPayload, RegBundlePInfoPayload, GetBundlePInfoForPayLogPayload, GetBundlePInfoForPayLogResult, SyncProcessBulkServicePayload } from '../dto/bundle-p-info';
|
|
4
4
|
export declare class AmqpBundlePInfoService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
@@ -8,4 +8,5 @@ export declare class AmqpBundlePInfoService {
|
|
|
8
8
|
addBundlePInfo(payload: AddBundlePInfoPayload, param: AbstractParam): Promise<void>;
|
|
9
9
|
regBundlePInfo(payload: RegBundlePInfoPayload, param: AbstractParam): Promise<void>;
|
|
10
10
|
getBundlePInfoForPayLog(payload: GetBundlePInfoForPayLogPayload, param: AbstractParam): Promise<GetBundlePInfoForPayLogResult>;
|
|
11
|
+
syncProcessBulkService(payload: SyncProcessBulkServicePayload, param: AbstractParam): Promise<void>;
|
|
11
12
|
}
|
|
@@ -32,6 +32,9 @@ let AmqpBundlePInfoService = class AmqpBundlePInfoService {
|
|
|
32
32
|
async getBundlePInfoForPayLog(payload, param) {
|
|
33
33
|
return this.amqpManager.call('묶음 결제 검색 for pay log', 'bundle-p-info.get.for-pay-log', payload, param, { isErrorThrowing: true });
|
|
34
34
|
}
|
|
35
|
+
async syncProcessBulkService(payload, param) {
|
|
36
|
+
return this.amqpManager.call('묶음 결제 process sync', 'bundle-p-info.sync.process-bulk', payload, param, { isErrorThrowing: true });
|
|
37
|
+
}
|
|
35
38
|
};
|
|
36
39
|
AmqpBundlePInfoService = __decorate([
|
|
37
40
|
(0, common_1.Injectable)(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yolo-croket-dev/amqp-access",
|
|
3
|
-
"version": "0.0.166
|
|
3
|
+
"version": "0.0.166",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"author": "Yolo Co., Ltd.",
|
|
6
6
|
"description": "크로켓 amqp-access npm",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"@nestjs/common": "^10.3.10",
|
|
21
21
|
"@nestjs/microservices": "9.0.8",
|
|
22
22
|
"@yolo-croket-dev/core": "^1.4.52",
|
|
23
|
-
"@yolo-croket-dev/dto-v2": "^0.0.
|
|
23
|
+
"@yolo-croket-dev/dto-v2": "^0.0.158",
|
|
24
24
|
"@yolo-croket-dev/entity": "^0.1.128",
|
|
25
25
|
"@yolo-croket-dev/entity-v2": "^0.0.71",
|
|
26
26
|
"class-transformer": "^0.5.1",
|
|
@@ -15,4 +15,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./search-partial-refunds-for-admin.dto"), exports);
|
|
18
|
-
__exportStar(require("./get-complete-process-by-paymented-at-for-admin.dto"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { CreatePartialRefundPayload, EditPartialRefundPricePayload, PatchPartialRefundProcessPayload, PatchPartialRefundCSCheckPayload, PatchPartialRefundProcessWithdrawalPayload, SearchPartialRefundsForAdminPayload, SearchPartialRefundsForAdminResult, PatchPartialRefundProcessCompletedPayload
|
|
3
|
+
import { CreatePartialRefundPayload, EditPartialRefundPricePayload, PatchPartialRefundProcessPayload, PatchPartialRefundCSCheckPayload, PatchPartialRefundProcessWithdrawalPayload, SearchPartialRefundsForAdminPayload, SearchPartialRefundsForAdminResult, PatchPartialRefundProcessCompletedPayload } from '../dto';
|
|
4
4
|
export declare class AmqpPartialRefundService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
@@ -12,5 +12,4 @@ export declare class AmqpPartialRefundService {
|
|
|
12
12
|
editPartialRefundPrice(payload: EditPartialRefundPricePayload, param: AbstractParam): Promise<void>;
|
|
13
13
|
patchPartialRefundProcessCompleted(payload: PatchPartialRefundProcessCompletedPayload, param: AbstractParam): Promise<void>;
|
|
14
14
|
patchPartialRefundProcessWithdrawal(payload: PatchPartialRefundProcessWithdrawalPayload, param: AbstractParam): Promise<void>;
|
|
15
|
-
getCompleteProcessByPaymentedAtForAdmin(payload: GetCompleteProcessByPaymentedAtForAdminPayload, param: AbstractParam): Promise<GetCompleteProcessByPaymentedAtForAdminResult>;
|
|
16
15
|
}
|
|
@@ -42,9 +42,6 @@ let AmqpPartialRefundService = class AmqpPartialRefundService {
|
|
|
42
42
|
async patchPartialRefundProcessWithdrawal(payload, param) {
|
|
43
43
|
return this.amqpManager.call('부분환불 - 접수 철회', 'partial-refund.patch.process-withdrawal', payload, param, { isErrorThrowing: true });
|
|
44
44
|
}
|
|
45
|
-
async getCompleteProcessByPaymentedAtForAdmin(payload, param) {
|
|
46
|
-
return this.amqpManager.call('부분환불 - 완료된 부분환불 결제건 조회 (관리자용)', 'partial-refund.get.complete-process-by-paymented-at-for-admin', payload, param, { isErrorThrowing: true });
|
|
47
|
-
}
|
|
48
45
|
};
|
|
49
46
|
AmqpPartialRefundService = __decorate([
|
|
50
47
|
(0, common_1.Injectable)(),
|
|
@@ -0,0 +1,7 @@
|
|
|
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
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
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;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ClientProxy } from '@nestjs/microservices';
|
|
2
|
+
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
+
import { StoreMDThemeEntity } from '@yolo-croket-dev/entity/src/storemdtheme';
|
|
4
|
+
import { GetStoreMDThemeByIdPayload, SearchStoreMDThemeDetailByIdPayload, SearchStoreMDThemeDetailByIdResult } from '../dto/store-md-theme';
|
|
5
|
+
export declare class AmqpStoreMdThemeService {
|
|
6
|
+
private readonly client;
|
|
7
|
+
private readonly amqpManager;
|
|
8
|
+
constructor(client: ClientProxy);
|
|
9
|
+
getStoreMDThemeById(payload: GetStoreMDThemeByIdPayload, param: AbstractParam): Promise<StoreMDThemeEntity>;
|
|
10
|
+
searchStoreMDThemeDetailById(payload: SearchStoreMDThemeDetailByIdPayload, param: AbstractParam): Promise<SearchStoreMDThemeDetailByIdResult>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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.AmqpStoreMdThemeService = 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 AmqpStoreMdThemeService = class AmqpStoreMdThemeService {
|
|
20
|
+
constructor(client) {
|
|
21
|
+
this.client = client;
|
|
22
|
+
this.amqpManager = new functions_1.AmqpManagement(this.client);
|
|
23
|
+
}
|
|
24
|
+
async getStoreMDThemeById(payload, param) {
|
|
25
|
+
return this.amqpManager.call('MDTheme 조회', 'storemdtheme.get.by-id', payload, param, { isErrorThrowing: true });
|
|
26
|
+
}
|
|
27
|
+
async searchStoreMDThemeDetailById(payload, param) {
|
|
28
|
+
return this.amqpManager.call('MDTheme 상세 조회', 'store-md-theme.get.detail-by-id', payload, param, { isErrorThrowing: true });
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
AmqpStoreMdThemeService = __decorate([
|
|
32
|
+
(0, common_1.Injectable)(),
|
|
33
|
+
__param(0, (0, common_1.Inject)('USER_SERVICE_PROVIDER')),
|
|
34
|
+
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
35
|
+
], AmqpStoreMdThemeService);
|
|
36
|
+
exports.AmqpStoreMdThemeService = AmqpStoreMdThemeService;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { PurchasedInfoForAdminExcelEntity } from '@yolo-croket-dev/entity';
|
|
2
|
-
export declare class GetCompleteProcessByPaymentedAtForAdminPayload {
|
|
3
|
-
startedAt: string;
|
|
4
|
-
endedAt: string;
|
|
5
|
-
skip: number;
|
|
6
|
-
limit: number;
|
|
7
|
-
}
|
|
8
|
-
export interface PurchasedInfoWithPartialRefundForAdminExcelEntity extends PurchasedInfoForAdminExcelEntity {
|
|
9
|
-
partialRefundDate?: string;
|
|
10
|
-
}
|
|
11
|
-
export interface GetCompleteProcessByPaymentedAtForAdminResult {
|
|
12
|
-
totalCount: number;
|
|
13
|
-
purchasedInfos: PurchasedInfoWithPartialRefundForAdminExcelEntity[];
|
|
14
|
-
}
|
|
@@ -1,35 +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.GetCompleteProcessByPaymentedAtForAdminPayload = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
const class_transformer_1 = require("class-transformer");
|
|
15
|
-
class GetCompleteProcessByPaymentedAtForAdminPayload {
|
|
16
|
-
}
|
|
17
|
-
__decorate([
|
|
18
|
-
(0, class_validator_1.IsDateString)(),
|
|
19
|
-
__metadata("design:type", String)
|
|
20
|
-
], GetCompleteProcessByPaymentedAtForAdminPayload.prototype, "startedAt", void 0);
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, class_validator_1.IsDateString)(),
|
|
23
|
-
__metadata("design:type", String)
|
|
24
|
-
], GetCompleteProcessByPaymentedAtForAdminPayload.prototype, "endedAt", void 0);
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
27
|
-
(0, class_validator_1.IsNumber)(),
|
|
28
|
-
__metadata("design:type", Number)
|
|
29
|
-
], GetCompleteProcessByPaymentedAtForAdminPayload.prototype, "skip", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, class_transformer_1.Type)(() => Number),
|
|
32
|
-
(0, class_validator_1.IsNumber)(),
|
|
33
|
-
__metadata("design:type", Number)
|
|
34
|
-
], GetCompleteProcessByPaymentedAtForAdminPayload.prototype, "limit", void 0);
|
|
35
|
-
exports.GetCompleteProcessByPaymentedAtForAdminPayload = GetCompleteProcessByPaymentedAtForAdminPayload;
|