@yolo-croket-dev/amqp-access 0.0.86 → 0.0.87-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/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/package.json +1 -1
- 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/dto/store/query/atlas/get-user-ids-by-store-title.dto.d.ts +13 -0
- package/user-service/dto/store/query/atlas/get-user-ids-by-store-title.dto.js +39 -0
- package/user-service/dto/store/query/atlas/index.d.ts +1 -0
- package/user-service/dto/store/query/atlas/index.js +17 -0
- package/user-service/dto/store/query/index.d.ts +1 -0
- package/user-service/dto/store/query/index.js +1 -0
- package/user-service/dto/user/query/get-users-for-admin.dto.d.ts +24 -0
- package/user-service/dto/user/query/get-users-for-admin.dto.js +70 -0
- package/user-service/services/amqp.store.service.d.ts +2 -1
- package/user-service/services/amqp.store.service.js +3 -0
|
@@ -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);
|
package/package.json
CHANGED
|
@@ -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,13 @@
|
|
|
1
|
+
export declare enum GetUserIdsByStoreTitleSortTypeEnum {
|
|
2
|
+
'스토어 등록순' = "\uC2A4\uD1A0\uC5B4 \uB4F1\uB85D\uC21C"
|
|
3
|
+
}
|
|
4
|
+
export declare class GetUserIdsByStoreTitlePayload {
|
|
5
|
+
storeTitle: string;
|
|
6
|
+
sortType: GetUserIdsByStoreTitleSortTypeEnum;
|
|
7
|
+
limit: number;
|
|
8
|
+
page: number;
|
|
9
|
+
}
|
|
10
|
+
export declare class GetUserIdsByStoreTitleResult {
|
|
11
|
+
allCount: number;
|
|
12
|
+
userIds: string[];
|
|
13
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.GetUserIdsByStoreTitleResult = exports.GetUserIdsByStoreTitlePayload = exports.GetUserIdsByStoreTitleSortTypeEnum = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
var GetUserIdsByStoreTitleSortTypeEnum;
|
|
15
|
+
(function (GetUserIdsByStoreTitleSortTypeEnum) {
|
|
16
|
+
GetUserIdsByStoreTitleSortTypeEnum["\uC2A4\uD1A0\uC5B4 \uB4F1\uB85D\uC21C"] = "\uC2A4\uD1A0\uC5B4 \uB4F1\uB85D\uC21C";
|
|
17
|
+
})(GetUserIdsByStoreTitleSortTypeEnum || (exports.GetUserIdsByStoreTitleSortTypeEnum = GetUserIdsByStoreTitleSortTypeEnum = {}));
|
|
18
|
+
class GetUserIdsByStoreTitlePayload {
|
|
19
|
+
}
|
|
20
|
+
exports.GetUserIdsByStoreTitlePayload = GetUserIdsByStoreTitlePayload;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsString)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], GetUserIdsByStoreTitlePayload.prototype, "storeTitle", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsEnum)(GetUserIdsByStoreTitleSortTypeEnum),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], GetUserIdsByStoreTitlePayload.prototype, "sortType", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_validator_1.IsNumber)(),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], GetUserIdsByStoreTitlePayload.prototype, "limit", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsNumber)(),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], GetUserIdsByStoreTitlePayload.prototype, "page", void 0);
|
|
37
|
+
class GetUserIdsByStoreTitleResult {
|
|
38
|
+
}
|
|
39
|
+
exports.GetUserIdsByStoreTitleResult = GetUserIdsByStoreTitleResult;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './get-user-ids-by-store-title.dto';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./get-user-ids-by-store-title.dto"), exports);
|
|
@@ -17,3 +17,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./get-stores-for-toss-payment.dto"), exports);
|
|
18
18
|
__exportStar(require("./get-domestic-account-stores.dto"), exports);
|
|
19
19
|
__exportStar(require("./get-domestic-account-store-info.dto"), exports);
|
|
20
|
+
__exportStar(require("./atlas"), exports);
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { UserForAdminEntity } from '@yolo-croket-dev/entity-v2/user/user-for-admin.entity';
|
|
2
|
+
export declare enum SearchTypeEnum {
|
|
3
|
+
'날짜기준' = "\uB0A0\uC9DC\uAE30\uC900",
|
|
4
|
+
'유저아이디기준' = "\uC720\uC800\uC544\uC774\uB514\uAE30\uC900",
|
|
5
|
+
'이름기준' = "\uC774\uB984\uAE30\uC900",
|
|
6
|
+
'이메일기준' = "\uC774\uBA54\uC77C\uAE30\uC900",
|
|
7
|
+
'핸드폰기준' = "\uD578\uB4DC\uD3F0\uAE30\uC900",
|
|
8
|
+
'스토어타이틀기준' = "\uC2A4\uD1A0\uC5B4\uD0C0\uC774\uD2C0\uAE30\uC900"
|
|
9
|
+
}
|
|
10
|
+
export declare class GetUsersForAdminPayload {
|
|
11
|
+
limit: number;
|
|
12
|
+
page: number;
|
|
13
|
+
searchType: SearchTypeEnum;
|
|
14
|
+
regDateStart?: string;
|
|
15
|
+
regDateEnd?: string;
|
|
16
|
+
username?: string;
|
|
17
|
+
email?: string;
|
|
18
|
+
phoneNumber?: string;
|
|
19
|
+
userId?: string;
|
|
20
|
+
}
|
|
21
|
+
export declare class GetUsersForAdminResult {
|
|
22
|
+
users: UserForAdminEntity[];
|
|
23
|
+
allUserCount: number;
|
|
24
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
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.GetUsersForAdminResult = exports.GetUsersForAdminPayload = exports.SearchTypeEnum = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
var SearchTypeEnum;
|
|
15
|
+
(function (SearchTypeEnum) {
|
|
16
|
+
SearchTypeEnum["\uB0A0\uC9DC\uAE30\uC900"] = "\uB0A0\uC9DC\uAE30\uC900";
|
|
17
|
+
SearchTypeEnum["\uC720\uC800\uC544\uC774\uB514\uAE30\uC900"] = "\uC720\uC800\uC544\uC774\uB514\uAE30\uC900";
|
|
18
|
+
SearchTypeEnum["\uC774\uB984\uAE30\uC900"] = "\uC774\uB984\uAE30\uC900";
|
|
19
|
+
SearchTypeEnum["\uC774\uBA54\uC77C\uAE30\uC900"] = "\uC774\uBA54\uC77C\uAE30\uC900";
|
|
20
|
+
SearchTypeEnum["\uD578\uB4DC\uD3F0\uAE30\uC900"] = "\uD578\uB4DC\uD3F0\uAE30\uC900";
|
|
21
|
+
SearchTypeEnum["\uC2A4\uD1A0\uC5B4\uD0C0\uC774\uD2C0\uAE30\uC900"] = "\uC2A4\uD1A0\uC5B4\uD0C0\uC774\uD2C0\uAE30\uC900";
|
|
22
|
+
})(SearchTypeEnum || (exports.SearchTypeEnum = SearchTypeEnum = {}));
|
|
23
|
+
class GetUsersForAdminPayload {
|
|
24
|
+
}
|
|
25
|
+
exports.GetUsersForAdminPayload = GetUsersForAdminPayload;
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsNumber)(),
|
|
28
|
+
__metadata("design:type", Number)
|
|
29
|
+
], GetUsersForAdminPayload.prototype, "limit", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_validator_1.IsNumber)(),
|
|
32
|
+
__metadata("design:type", Number)
|
|
33
|
+
], GetUsersForAdminPayload.prototype, "page", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_validator_1.IsEnum)(SearchTypeEnum),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], GetUsersForAdminPayload.prototype, "searchType", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_validator_1.IsDateString)(),
|
|
40
|
+
(0, class_validator_1.IsOptional)(),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], GetUsersForAdminPayload.prototype, "regDateStart", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, class_validator_1.IsDateString)(),
|
|
45
|
+
(0, class_validator_1.IsOptional)(),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], GetUsersForAdminPayload.prototype, "regDateEnd", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_validator_1.IsString)(),
|
|
50
|
+
(0, class_validator_1.IsOptional)(),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], GetUsersForAdminPayload.prototype, "username", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, class_validator_1.IsString)(),
|
|
55
|
+
(0, class_validator_1.IsOptional)(),
|
|
56
|
+
__metadata("design:type", String)
|
|
57
|
+
], GetUsersForAdminPayload.prototype, "email", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, class_validator_1.IsString)(),
|
|
60
|
+
(0, class_validator_1.IsOptional)(),
|
|
61
|
+
__metadata("design:type", String)
|
|
62
|
+
], GetUsersForAdminPayload.prototype, "phoneNumber", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, class_validator_1.IsMongoId)(),
|
|
65
|
+
(0, class_validator_1.IsOptional)(),
|
|
66
|
+
__metadata("design:type", String)
|
|
67
|
+
], GetUsersForAdminPayload.prototype, "userId", void 0);
|
|
68
|
+
class GetUsersForAdminResult {
|
|
69
|
+
}
|
|
70
|
+
exports.GetUsersForAdminResult = GetUsersForAdminResult;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
3
|
import { DomesticAccountStoreEntity, StoreForTossPaymentEntity } from '@yolo-croket-dev/entity-v2';
|
|
4
|
-
import { GetDomesticAccountStoreInfoPayload, GetDomesticAccountStoresPayload, MigrationTossPaymentsSettlementProxySellerIdResult, UpdatePrivateSellerInfoSellerAddressPayload } from '../dto/store';
|
|
4
|
+
import { GetDomesticAccountStoreInfoPayload, GetDomesticAccountStoresPayload, MigrationTossPaymentsSettlementProxySellerIdResult, UpdatePrivateSellerInfoSellerAddressPayload, GetUserIdsByStoreTitlePayload, GetUserIdsByStoreTitleResult } from '../dto/store';
|
|
5
5
|
import { GetStoresForTossPaymentPayload } from '../dto/store/query/get-stores-for-toss-payment.dto';
|
|
6
6
|
export declare class AmqpStoreService {
|
|
7
7
|
private readonly client;
|
|
@@ -12,4 +12,5 @@ export declare class AmqpStoreService {
|
|
|
12
12
|
migrationTossPaymentsSettlementProxySellerId(payload: void, param: AbstractParam): Promise<MigrationTossPaymentsSettlementProxySellerIdResult>;
|
|
13
13
|
getDomesticAccountStores(payload: GetDomesticAccountStoresPayload, param: AbstractParam): Promise<DomesticAccountStoreEntity[]>;
|
|
14
14
|
getDomesticAccountStoreInfo(payload: GetDomesticAccountStoreInfoPayload, param: AbstractParam): Promise<DomesticAccountStoreEntity>;
|
|
15
|
+
getUserIdsByStoreTitle(payload: GetUserIdsByStoreTitlePayload, param: AbstractParam): Promise<GetUserIdsByStoreTitleResult>;
|
|
15
16
|
}
|
|
@@ -36,6 +36,9 @@ let AmqpStoreService = class AmqpStoreService {
|
|
|
36
36
|
async getDomesticAccountStoreInfo(payload, param) {
|
|
37
37
|
return this.amqpManager.call('스토어 정보 호출 - 국내 계좌 스토어', 'store.get.domestic-account-store', payload, param, { isErrorThrowing: true });
|
|
38
38
|
}
|
|
39
|
+
async getUserIdsByStoreTitle(payload, param) {
|
|
40
|
+
return this.amqpManager.call('[atlas] 스토어 타이틀로 유저 리스트 출력', 'store.get.user-ids-by-store-title', payload, param, { isErrorThrowing: true });
|
|
41
|
+
}
|
|
39
42
|
};
|
|
40
43
|
exports.AmqpStoreService = AmqpStoreService;
|
|
41
44
|
exports.AmqpStoreService = AmqpStoreService = __decorate([
|