@yolo-croket-dev/amqp-access 0.0.83-jun.0 → 0.0.84
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/purchasedinfos/query/atlas/{get-p-info-legacy-settle-logs-by-atlas.dto.d.ts → get-p-info-settle-amount-logs-by-atlas.dto.d.ts} +2 -2
- package/order-server/dto/purchasedinfos/query/atlas/{get-p-info-legacy-settle-logs-by-atlas.dto.js → get-p-info-settle-amount-logs-by-atlas.dto.js} +10 -10
- package/order-server/dto/purchasedinfos/query/atlas/index.d.ts +1 -1
- package/order-server/dto/purchasedinfos/query/atlas/index.js +1 -1
- package/order-server/services/amqp.purchased-info.service.d.ts +2 -2
- package/order-server/services/amqp.purchased-info.service.js +2 -2
- package/package.json +2 -2
- package/user-service/dto/ask/query/atlas/{get-ask-legacy-settle-logs-by-atlas.dto.d.ts → get-ask-settle-amount-logs-by-atlas.dto.d.ts} +4 -4
- package/user-service/dto/ask/query/atlas/{get-ask-legacy-settle-logs-by-atlas.dto.js → get-ask-settle-amount-logs-by-atlas.dto.js} +10 -10
- package/user-service/dto/ask/query/atlas/index.d.ts +1 -1
- package/user-service/dto/ask/query/atlas/index.js +1 -1
- package/user-service/dto/index.d.ts +1 -0
- package/user-service/dto/index.js +1 -0
- package/user-service/dto/store/query/get-domestic-account-store-info.dto.d.ts +8 -0
- package/{selection-server/dto/selection-frame-data/query/search-complete-selection-frame-datas.dto.js → user-service/dto/store/query/get-domestic-account-store-info.dto.js} +10 -7
- package/user-service/dto/store/query/get-domestic-account-stores.dto.d.ts +17 -0
- package/user-service/dto/store/query/get-domestic-account-stores.dto.js +69 -0
- package/user-service/dto/store/query/index.d.ts +2 -0
- package/user-service/dto/store/query/index.js +2 -0
- package/user-service/services/amqp.store.service.d.ts +4 -2
- package/user-service/services/amqp.store.service.js +6 -0
- package/user-service/services/ask/amqp.ask.service.d.ts +2 -2
- package/user-service/services/ask/amqp.ask.service.js +2 -2
- package/elastic-service/services/amqp.es-store-item.service.d.ts +0 -18
- package/elastic-service/services/amqp.es-store-item.service.js +0 -60
- package/selection-server/dto/selection-frame-data/query/search-complete-selection-frame-datas.dto.d.ts +0 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare class
|
|
1
|
+
export declare class GetPInfoSettleAmountLogsByAtlasPayload {
|
|
2
2
|
settleSDate: Date;
|
|
3
3
|
settleEDate?: Date;
|
|
4
4
|
searchAfter?: string;
|
|
@@ -29,7 +29,7 @@ export interface LegacySettleLog {
|
|
|
29
29
|
isZeroRateVat?: boolean;
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
|
-
export declare class
|
|
32
|
+
export declare class GetPInfoSettleAmountLogsByAtlasResult {
|
|
33
33
|
settleLogs: LegacySettleLog[];
|
|
34
34
|
searchAfter?: string;
|
|
35
35
|
searchBefore?: string;
|
|
@@ -9,34 +9,34 @@ 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.GetPInfoSettleAmountLogsByAtlasResult = exports.GetPInfoSettleAmountLogsByAtlasPayload = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
class
|
|
14
|
+
class GetPInfoSettleAmountLogsByAtlasPayload {
|
|
15
15
|
}
|
|
16
|
-
exports.
|
|
16
|
+
exports.GetPInfoSettleAmountLogsByAtlasPayload = GetPInfoSettleAmountLogsByAtlasPayload;
|
|
17
17
|
__decorate([
|
|
18
18
|
(0, class_validator_1.IsDateString)(),
|
|
19
19
|
__metadata("design:type", Date)
|
|
20
|
-
],
|
|
20
|
+
], GetPInfoSettleAmountLogsByAtlasPayload.prototype, "settleSDate", void 0);
|
|
21
21
|
__decorate([
|
|
22
22
|
(0, class_validator_1.IsDateString)(),
|
|
23
23
|
(0, class_validator_1.IsOptional)(),
|
|
24
24
|
__metadata("design:type", Date)
|
|
25
|
-
],
|
|
25
|
+
], GetPInfoSettleAmountLogsByAtlasPayload.prototype, "settleEDate", void 0);
|
|
26
26
|
__decorate([
|
|
27
27
|
(0, class_validator_1.IsString)(),
|
|
28
28
|
(0, class_validator_1.IsOptional)(),
|
|
29
29
|
__metadata("design:type", String)
|
|
30
|
-
],
|
|
30
|
+
], GetPInfoSettleAmountLogsByAtlasPayload.prototype, "searchAfter", void 0);
|
|
31
31
|
__decorate([
|
|
32
32
|
(0, class_validator_1.IsString)(),
|
|
33
33
|
(0, class_validator_1.IsOptional)(),
|
|
34
34
|
__metadata("design:type", String)
|
|
35
|
-
],
|
|
35
|
+
], GetPInfoSettleAmountLogsByAtlasPayload.prototype, "searchBefore", void 0);
|
|
36
36
|
__decorate([
|
|
37
37
|
(0, class_validator_1.IsNumber)(),
|
|
38
38
|
__metadata("design:type", Number)
|
|
39
|
-
],
|
|
40
|
-
class
|
|
39
|
+
], GetPInfoSettleAmountLogsByAtlasPayload.prototype, "limit", void 0);
|
|
40
|
+
class GetPInfoSettleAmountLogsByAtlasResult {
|
|
41
41
|
}
|
|
42
|
-
exports.
|
|
42
|
+
exports.GetPInfoSettleAmountLogsByAtlasResult = GetPInfoSettleAmountLogsByAtlasResult;
|
|
@@ -15,5 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./get-p-info-settle-amount-info-by-atlas.dto"), exports);
|
|
18
|
-
__exportStar(require("./get-p-info-
|
|
18
|
+
__exportStar(require("./get-p-info-settle-amount-logs-by-atlas.dto"), exports);
|
|
19
19
|
__exportStar(require("./get-p-info-all-settle-amount-by-atlas.dto"), exports);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { GetPInfoSettleAmountInfoByAtlasPayload, GetPInfoSettleAmountInfoByAtlasResult, GetPInfoAllSettleAmountByAtlasPayload, GetPInfoAllSettleAmountByAtlasResult,
|
|
3
|
+
import { GetPInfoSettleAmountInfoByAtlasPayload, GetPInfoSettleAmountInfoByAtlasResult, GetPInfoAllSettleAmountByAtlasPayload, GetPInfoAllSettleAmountByAtlasResult, GetPInfoSettleAmountLogsByAtlasPayload, GetPInfoSettleAmountLogsByAtlasResult } from '../dto/purchasedinfos';
|
|
4
4
|
export declare class AmqpPurchasedInfoService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
7
7
|
constructor(client: ClientProxy);
|
|
8
8
|
getPInfoSettleAmountInfoByAtlas(payload: GetPInfoSettleAmountInfoByAtlasPayload, param: AbstractParam): Promise<GetPInfoSettleAmountInfoByAtlasResult>;
|
|
9
9
|
getPInfoAllSettleAmountByAtlas(payload: GetPInfoAllSettleAmountByAtlasPayload, param: AbstractParam): Promise<GetPInfoAllSettleAmountByAtlasResult>;
|
|
10
|
-
|
|
10
|
+
getPInfoSettleAmountLogsByAtlas(payload: GetPInfoSettleAmountLogsByAtlasPayload, param: AbstractParam): Promise<GetPInfoSettleAmountLogsByAtlasResult>;
|
|
11
11
|
}
|
|
@@ -27,8 +27,8 @@ let AmqpPurchasedInfoService = class AmqpPurchasedInfoService {
|
|
|
27
27
|
async getPInfoAllSettleAmountByAtlas(payload, param) {
|
|
28
28
|
return this.amqpManager.call('atlas 검색 - 전체 정산된 금액 조회', 'purchased-info.get.all-settle-amount-by-atlas', payload, param, { isErrorThrowing: true });
|
|
29
29
|
}
|
|
30
|
-
async
|
|
31
|
-
return this.amqpManager.call('atlas 검색 - 스토어 정산 로그 조회', 'purchased-info.get.
|
|
30
|
+
async getPInfoSettleAmountLogsByAtlas(payload, param) {
|
|
31
|
+
return this.amqpManager.call('atlas 검색 - 스토어 정산 로그 조회', 'purchased-info.get.settle-amount-logs-by-atlas', payload, param, { isErrorThrowing: true });
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
34
|
exports.AmqpPurchasedInfoService = AmqpPurchasedInfoService;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yolo-croket-dev/amqp-access",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.84",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"author": "Yolo Co., Ltd.",
|
|
6
6
|
"description": "크로켓 amqp-access npm",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@yolo-croket-dev/core": "^1.4.52",
|
|
23
23
|
"@yolo-croket-dev/dto-v2": "^0.0.149",
|
|
24
24
|
"@yolo-croket-dev/entity": "^0.1.108",
|
|
25
|
-
"@yolo-croket-dev/entity-v2": "^0.0.
|
|
25
|
+
"@yolo-croket-dev/entity-v2": "^0.0.36",
|
|
26
26
|
"class-transformer": "^0.5.1",
|
|
27
27
|
"class-validator": "^0.13.2",
|
|
28
28
|
"dotenv": "^16.3.1"
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { LegacySettleLog } from '../../../../../order-server/dto/purchasedinfos/query/atlas/get-p-info-
|
|
2
|
-
export { LegacySettleLog };
|
|
3
|
-
export declare class
|
|
1
|
+
import { LegacySettleLog } from '../../../../../order-server/dto/purchasedinfos/query/atlas/get-p-info-settle-amount-logs-by-atlas.dto';
|
|
2
|
+
export { LegacySettleLog as SettleLog };
|
|
3
|
+
export declare class GetAskSettleAmountLogsByAtlasPayload {
|
|
4
4
|
settleSDate: Date;
|
|
5
5
|
settleEDate?: Date;
|
|
6
6
|
searchAfter?: string;
|
|
7
7
|
searchBefore?: string;
|
|
8
8
|
limit: number;
|
|
9
9
|
}
|
|
10
|
-
export declare class
|
|
10
|
+
export declare class GetAskSettleAmountLogsByAtlasResult {
|
|
11
11
|
settleLogs: LegacySettleLog[];
|
|
12
12
|
searchAfter?: string;
|
|
13
13
|
searchBefore?: string;
|
|
@@ -9,34 +9,34 @@ 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.GetAskSettleAmountLogsByAtlasResult = exports.GetAskSettleAmountLogsByAtlasPayload = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
class
|
|
14
|
+
class GetAskSettleAmountLogsByAtlasPayload {
|
|
15
15
|
}
|
|
16
|
-
exports.
|
|
16
|
+
exports.GetAskSettleAmountLogsByAtlasPayload = GetAskSettleAmountLogsByAtlasPayload;
|
|
17
17
|
__decorate([
|
|
18
18
|
(0, class_validator_1.IsDateString)(),
|
|
19
19
|
__metadata("design:type", Date)
|
|
20
|
-
],
|
|
20
|
+
], GetAskSettleAmountLogsByAtlasPayload.prototype, "settleSDate", void 0);
|
|
21
21
|
__decorate([
|
|
22
22
|
(0, class_validator_1.IsDateString)(),
|
|
23
23
|
(0, class_validator_1.IsOptional)(),
|
|
24
24
|
__metadata("design:type", Date)
|
|
25
|
-
],
|
|
25
|
+
], GetAskSettleAmountLogsByAtlasPayload.prototype, "settleEDate", void 0);
|
|
26
26
|
__decorate([
|
|
27
27
|
(0, class_validator_1.IsString)(),
|
|
28
28
|
(0, class_validator_1.IsOptional)(),
|
|
29
29
|
__metadata("design:type", String)
|
|
30
|
-
],
|
|
30
|
+
], GetAskSettleAmountLogsByAtlasPayload.prototype, "searchAfter", void 0);
|
|
31
31
|
__decorate([
|
|
32
32
|
(0, class_validator_1.IsString)(),
|
|
33
33
|
(0, class_validator_1.IsOptional)(),
|
|
34
34
|
__metadata("design:type", String)
|
|
35
|
-
],
|
|
35
|
+
], GetAskSettleAmountLogsByAtlasPayload.prototype, "searchBefore", void 0);
|
|
36
36
|
__decorate([
|
|
37
37
|
(0, class_validator_1.IsNumber)(),
|
|
38
38
|
__metadata("design:type", Number)
|
|
39
|
-
],
|
|
40
|
-
class
|
|
39
|
+
], GetAskSettleAmountLogsByAtlasPayload.prototype, "limit", void 0);
|
|
40
|
+
class GetAskSettleAmountLogsByAtlasResult {
|
|
41
41
|
}
|
|
42
|
-
exports.
|
|
42
|
+
exports.GetAskSettleAmountLogsByAtlasResult = GetAskSettleAmountLogsByAtlasResult;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export * from './get-ask-ids-by-atlas-search.dto';
|
|
2
2
|
export * from './get-ask-settle-amount-info-by-atlas.dto';
|
|
3
3
|
export * from './get-ask-all-settle-amount-by-atlas.dto';
|
|
4
|
-
export * from './get-ask-
|
|
4
|
+
export * from './get-ask-settle-amount-logs-by-atlas.dto';
|
|
@@ -17,4 +17,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./get-ask-ids-by-atlas-search.dto"), exports);
|
|
18
18
|
__exportStar(require("./get-ask-settle-amount-info-by-atlas.dto"), exports);
|
|
19
19
|
__exportStar(require("./get-ask-all-settle-amount-by-atlas.dto"), exports);
|
|
20
|
-
__exportStar(require("./get-ask-
|
|
20
|
+
__exportStar(require("./get-ask-settle-amount-logs-by-atlas.dto"), exports);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** @description result - DomesticAccountStoreEntity */
|
|
2
|
+
export declare class GetDomesticAccountStoreInfoPayload {
|
|
3
|
+
storeId: string;
|
|
4
|
+
}
|
|
5
|
+
export declare enum GetDomesticAccountStoreInfoErrorTypeEnum {
|
|
6
|
+
/** @description 아이디에 해당하는 스토어가 없음 */
|
|
7
|
+
NOT_FOUND_STORE = "NOT_FOUND_STORE"
|
|
8
|
+
}
|
|
@@ -9,15 +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.GetDomesticAccountStoreInfoErrorTypeEnum = exports.GetDomesticAccountStoreInfoPayload = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
|
|
14
|
+
/** @description result - DomesticAccountStoreEntity */
|
|
15
|
+
class GetDomesticAccountStoreInfoPayload {
|
|
15
16
|
}
|
|
16
|
-
exports.
|
|
17
|
+
exports.GetDomesticAccountStoreInfoPayload = GetDomesticAccountStoreInfoPayload;
|
|
17
18
|
__decorate([
|
|
18
19
|
(0, class_validator_1.IsMongoId)(),
|
|
19
20
|
__metadata("design:type", String)
|
|
20
|
-
],
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
], GetDomesticAccountStoreInfoPayload.prototype, "storeId", void 0);
|
|
22
|
+
var GetDomesticAccountStoreInfoErrorTypeEnum;
|
|
23
|
+
(function (GetDomesticAccountStoreInfoErrorTypeEnum) {
|
|
24
|
+
/** @description 아이디에 해당하는 스토어가 없음 */
|
|
25
|
+
GetDomesticAccountStoreInfoErrorTypeEnum["NOT_FOUND_STORE"] = "NOT_FOUND_STORE";
|
|
26
|
+
})(GetDomesticAccountStoreInfoErrorTypeEnum || (exports.GetDomesticAccountStoreInfoErrorTypeEnum = GetDomesticAccountStoreInfoErrorTypeEnum = {}));
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BusinessInfoSellerTypeEnum, DomesticAccountStoreEntity, ZeroRateVatProcessEnum } from '@yolo-croket-dev/entity-v2';
|
|
2
|
+
export declare class GetDomesticAccountStoresPayload {
|
|
3
|
+
startEditDate?: string;
|
|
4
|
+
endEditDate?: string;
|
|
5
|
+
sellerType?: BusinessInfoSellerTypeEnum;
|
|
6
|
+
isIndividual?: boolean;
|
|
7
|
+
isLivingAbroad?: boolean;
|
|
8
|
+
zeroRateVatProcess?: ZeroRateVatProcessEnum;
|
|
9
|
+
storeTitle?: string;
|
|
10
|
+
adminId?: string;
|
|
11
|
+
page: number;
|
|
12
|
+
limit: number;
|
|
13
|
+
}
|
|
14
|
+
export declare class GetDomesticAccountStoresResult {
|
|
15
|
+
allCount: number;
|
|
16
|
+
stores: DomesticAccountStoreEntity[];
|
|
17
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
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.GetDomesticAccountStoresResult = exports.GetDomesticAccountStoresPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const entity_v2_1 = require("@yolo-croket-dev/entity-v2");
|
|
15
|
+
class GetDomesticAccountStoresPayload {
|
|
16
|
+
}
|
|
17
|
+
exports.GetDomesticAccountStoresPayload = GetDomesticAccountStoresPayload;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsDateString)(),
|
|
20
|
+
(0, class_validator_1.IsOptional)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], GetDomesticAccountStoresPayload.prototype, "startEditDate", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsDateString)(),
|
|
25
|
+
(0, class_validator_1.IsOptional)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], GetDomesticAccountStoresPayload.prototype, "endEditDate", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsOptional)(),
|
|
30
|
+
(0, class_validator_1.IsEnum)(entity_v2_1.BusinessInfoSellerTypeEnum),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], GetDomesticAccountStoresPayload.prototype, "sellerType", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsBoolean)(),
|
|
35
|
+
(0, class_validator_1.IsOptional)(),
|
|
36
|
+
__metadata("design:type", Boolean)
|
|
37
|
+
], GetDomesticAccountStoresPayload.prototype, "isIndividual", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_validator_1.IsBoolean)(),
|
|
40
|
+
(0, class_validator_1.IsOptional)(),
|
|
41
|
+
__metadata("design:type", Boolean)
|
|
42
|
+
], GetDomesticAccountStoresPayload.prototype, "isLivingAbroad", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, class_validator_1.IsOptional)(),
|
|
45
|
+
(0, class_validator_1.IsEnum)(entity_v2_1.ZeroRateVatProcessEnum),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], GetDomesticAccountStoresPayload.prototype, "zeroRateVatProcess", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_validator_1.IsString)(),
|
|
50
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
51
|
+
(0, class_validator_1.IsOptional)(),
|
|
52
|
+
__metadata("design:type", String)
|
|
53
|
+
], GetDomesticAccountStoresPayload.prototype, "storeTitle", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, class_validator_1.IsMongoId)(),
|
|
56
|
+
(0, class_validator_1.IsOptional)(),
|
|
57
|
+
__metadata("design:type", String)
|
|
58
|
+
], GetDomesticAccountStoresPayload.prototype, "adminId", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, class_validator_1.IsNumber)(),
|
|
61
|
+
__metadata("design:type", Number)
|
|
62
|
+
], GetDomesticAccountStoresPayload.prototype, "page", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, class_validator_1.IsNumber)(),
|
|
65
|
+
__metadata("design:type", Number)
|
|
66
|
+
], GetDomesticAccountStoresPayload.prototype, "limit", void 0);
|
|
67
|
+
class GetDomesticAccountStoresResult {
|
|
68
|
+
}
|
|
69
|
+
exports.GetDomesticAccountStoresResult = GetDomesticAccountStoresResult;
|
|
@@ -15,3 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./get-stores-for-toss-payment.dto"), exports);
|
|
18
|
+
__exportStar(require("./get-domestic-account-stores.dto"), exports);
|
|
19
|
+
__exportStar(require("./get-domestic-account-store-info.dto"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { StoreForTossPaymentEntity } from '@yolo-croket-dev/entity-v2';
|
|
4
|
-
import { MigrationTossPaymentsSettlementProxySellerIdResult, UpdatePrivateSellerInfoSellerAddressPayload } from '../dto/store';
|
|
3
|
+
import { DomesticAccountStoreEntity, StoreForTossPaymentEntity } from '@yolo-croket-dev/entity-v2';
|
|
4
|
+
import { GetDomesticAccountStoreInfoPayload, GetDomesticAccountStoresPayload, MigrationTossPaymentsSettlementProxySellerIdResult, UpdatePrivateSellerInfoSellerAddressPayload } 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;
|
|
@@ -10,4 +10,6 @@ export declare class AmqpStoreService {
|
|
|
10
10
|
updatePrivateSellerInfoSellerAddress(payload: UpdatePrivateSellerInfoSellerAddressPayload, param: AbstractParam): Promise<void>;
|
|
11
11
|
getStoresForTossPayment(payload: GetStoresForTossPaymentPayload, param: AbstractParam): Promise<StoreForTossPaymentEntity[]>;
|
|
12
12
|
migrationTossPaymentsSettlementProxySellerId(payload: void, param: AbstractParam): Promise<MigrationTossPaymentsSettlementProxySellerIdResult>;
|
|
13
|
+
getDomesticAccountStores(payload: GetDomesticAccountStoresPayload, param: AbstractParam): Promise<DomesticAccountStoreEntity[]>;
|
|
14
|
+
getDomesticAccountStoreInfo(payload: GetDomesticAccountStoreInfoPayload, param: AbstractParam): Promise<DomesticAccountStoreEntity>;
|
|
13
15
|
}
|
|
@@ -30,6 +30,12 @@ let AmqpStoreService = class AmqpStoreService {
|
|
|
30
30
|
async migrationTossPaymentsSettlementProxySellerId(payload, param) {
|
|
31
31
|
return this.amqpManager.call('토스 페이먼츠 정산 지급대행 셀러 아이디 마이그레이션', 'store.migration.toss-payments-settlement-proxy-seller-id', payload, param, { isErrorThrowing: true });
|
|
32
32
|
}
|
|
33
|
+
async getDomesticAccountStores(payload, param) {
|
|
34
|
+
return this.amqpManager.call('스토어 리스트 호출 - 국내 계좌 스토어들', 'store.get.domestic-account-stores', payload, param, { isErrorThrowing: true });
|
|
35
|
+
}
|
|
36
|
+
async getDomesticAccountStoreInfo(payload, param) {
|
|
37
|
+
return this.amqpManager.call('스토어 정보 호출 - 국내 계좌 스토어', 'store.get.domestic-account-store', payload, param, { isErrorThrowing: true });
|
|
38
|
+
}
|
|
33
39
|
};
|
|
34
40
|
exports.AmqpStoreService = AmqpStoreService;
|
|
35
41
|
exports.AmqpStoreService = AmqpStoreService = __decorate([
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { GetAskIdsByAtlasSearchPayload, GetAskIdsByAtlasSearchResult, GetAskSettleAmountInfoByAtlasPayload, GetAskSettleAmountInfoByAtlasResult, GetAskAllSettleAmountByAtlasPayload, GetAskAllSettleAmountByAtlasResult,
|
|
3
|
+
import { GetAskIdsByAtlasSearchPayload, GetAskIdsByAtlasSearchResult, GetAskSettleAmountInfoByAtlasPayload, GetAskSettleAmountInfoByAtlasResult, GetAskAllSettleAmountByAtlasPayload, GetAskAllSettleAmountByAtlasResult, GetAskSettleAmountLogsByAtlasPayload, GetAskSettleAmountLogsByAtlasResult } from '../../dto/ask';
|
|
4
4
|
export declare class AmqpAskService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
@@ -8,5 +8,5 @@ export declare class AmqpAskService {
|
|
|
8
8
|
getAskIdsByAtlasSearch(payload: GetAskIdsByAtlasSearchPayload, param: AbstractParam): Promise<GetAskIdsByAtlasSearchResult>;
|
|
9
9
|
getAskSettleAmountInfoByAtlas(payload: GetAskSettleAmountInfoByAtlasPayload, param: AbstractParam): Promise<GetAskSettleAmountInfoByAtlasResult>;
|
|
10
10
|
getAskAllSettleAmountByAtlas(payload: GetAskAllSettleAmountByAtlasPayload, param: AbstractParam): Promise<GetAskAllSettleAmountByAtlasResult>;
|
|
11
|
-
|
|
11
|
+
getAskSettleAmountLogsByAtlas(payload: GetAskSettleAmountLogsByAtlasPayload, param: AbstractParam): Promise<GetAskSettleAmountLogsByAtlasResult>;
|
|
12
12
|
}
|
|
@@ -30,8 +30,8 @@ let AmqpAskService = class AmqpAskService {
|
|
|
30
30
|
async getAskAllSettleAmountByAtlas(payload, param) {
|
|
31
31
|
return this.amqpManager.call('Atlas - 전체 정산된 금액 조회', 'ask.get.all-settle-amount-by-atlas', payload, param, { isErrorThrowing: true });
|
|
32
32
|
}
|
|
33
|
-
async
|
|
34
|
-
return this.amqpManager.call('atlas 검색 - 요청 정산 로그 조회', 'ask.get.
|
|
33
|
+
async getAskSettleAmountLogsByAtlas(payload, param) {
|
|
34
|
+
return this.amqpManager.call('atlas 검색 - 요청 정산 로그 조회', 'ask.get.settle-amount-logs-by-atlas', payload, param, { isErrorThrowing: true });
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
37
|
exports.AmqpAskService = AmqpAskService;
|
|
@@ -1,18 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,60 +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.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,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
|
-
}
|