@yolo-croket-dev/amqp-access 0.0.83 → 0.0.85-jun.0
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-settle-amount-logs-by-atlas.dto.d.ts → get-p-info-legacy-settle-logs-by-atlas.dto.d.ts} +2 -2
- package/order-server/dto/purchasedinfos/query/atlas/{get-p-info-settle-amount-logs-by-atlas.dto.js → get-p-info-legacy-settle-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-settle-amount-logs-by-atlas.dto.d.ts → get-ask-legacy-settle-logs-by-atlas.dto.d.ts} +4 -4
- package/user-service/dto/ask/query/atlas/{get-ask-settle-amount-logs-by-atlas.dto.js → get-ask-legacy-settle-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/inflow-session/index.d.ts +1 -0
- package/user-service/dto/inflow-session/index.js +17 -0
- package/user-service/dto/inflow-session/query/index.d.ts +1 -0
- package/user-service/dto/inflow-session/query/index.js +17 -0
- package/user-service/dto/inflow-session/query/search-inflow-sessions-by-ip-or-user-id.dto.d.ts +5 -0
- package/user-service/dto/inflow-session/query/search-inflow-sessions-by-ip-or-user-id.dto.js +29 -0
- package/user-service/dto/store/query/get-domestic-account-store-info.dto.d.ts +8 -0
- package/user-service/dto/store/query/get-domestic-account-store-info.dto.js +26 -0
- 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.inflow-session.service.d.ts +11 -0
- package/user-service/services/amqp.inflow-session.service.js +33 -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/user-service/services/index.d.ts +1 -0
- package/user-service/services/index.js +1 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare class
|
|
1
|
+
export declare class GetPInfoLegacySettleLogsByAtlasPayload {
|
|
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 GetPInfoLegacySettleLogsByAtlasResult {
|
|
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.GetPInfoLegacySettleLogsByAtlasResult = exports.GetPInfoLegacySettleLogsByAtlasPayload = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
class
|
|
14
|
+
class GetPInfoLegacySettleLogsByAtlasPayload {
|
|
15
15
|
}
|
|
16
|
-
exports.
|
|
16
|
+
exports.GetPInfoLegacySettleLogsByAtlasPayload = GetPInfoLegacySettleLogsByAtlasPayload;
|
|
17
17
|
__decorate([
|
|
18
18
|
(0, class_validator_1.IsDateString)(),
|
|
19
19
|
__metadata("design:type", Date)
|
|
20
|
-
],
|
|
20
|
+
], GetPInfoLegacySettleLogsByAtlasPayload.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
|
+
], GetPInfoLegacySettleLogsByAtlasPayload.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
|
+
], GetPInfoLegacySettleLogsByAtlasPayload.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
|
+
], GetPInfoLegacySettleLogsByAtlasPayload.prototype, "searchBefore", void 0);
|
|
36
36
|
__decorate([
|
|
37
37
|
(0, class_validator_1.IsNumber)(),
|
|
38
38
|
__metadata("design:type", Number)
|
|
39
|
-
],
|
|
40
|
-
class
|
|
39
|
+
], GetPInfoLegacySettleLogsByAtlasPayload.prototype, "limit", void 0);
|
|
40
|
+
class GetPInfoLegacySettleLogsByAtlasResult {
|
|
41
41
|
}
|
|
42
|
-
exports.
|
|
42
|
+
exports.GetPInfoLegacySettleLogsByAtlasResult = GetPInfoLegacySettleLogsByAtlasResult;
|
|
@@ -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-settle-
|
|
18
|
+
__exportStar(require("./get-p-info-legacy-settle-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, GetPInfoLegacySettleLogsByAtlasPayload, GetPInfoLegacySettleLogsByAtlasResult } 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
|
+
getPInfoLegacySettleLogsByAtlas(payload: GetPInfoLegacySettleLogsByAtlasPayload, param: AbstractParam): Promise<GetPInfoLegacySettleLogsByAtlasResult>;
|
|
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.settle-
|
|
30
|
+
async getPInfoLegacySettleLogsByAtlas(payload, param) {
|
|
31
|
+
return this.amqpManager.call('atlas 검색 - 스토어 정산 로그 조회', 'purchased-info.get.legacy-settle-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.85-jun.0",
|
|
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-settle-
|
|
2
|
-
export { LegacySettleLog
|
|
3
|
-
export declare class
|
|
1
|
+
import { LegacySettleLog } from '../../../../../order-server/dto/purchasedinfos/query/atlas/get-p-info-legacy-settle-logs-by-atlas.dto';
|
|
2
|
+
export { LegacySettleLog };
|
|
3
|
+
export declare class GetAskLegacySettleLogsByAtlasPayload {
|
|
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 GetAskLegacySettleLogsByAtlasResult {
|
|
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.GetAskLegacySettleLogsByAtlasResult = exports.GetAskLegacySettleLogsByAtlasPayload = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
class
|
|
14
|
+
class GetAskLegacySettleLogsByAtlasPayload {
|
|
15
15
|
}
|
|
16
|
-
exports.
|
|
16
|
+
exports.GetAskLegacySettleLogsByAtlasPayload = GetAskLegacySettleLogsByAtlasPayload;
|
|
17
17
|
__decorate([
|
|
18
18
|
(0, class_validator_1.IsDateString)(),
|
|
19
19
|
__metadata("design:type", Date)
|
|
20
|
-
],
|
|
20
|
+
], GetAskLegacySettleLogsByAtlasPayload.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
|
+
], GetAskLegacySettleLogsByAtlasPayload.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
|
+
], GetAskLegacySettleLogsByAtlasPayload.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
|
+
], GetAskLegacySettleLogsByAtlasPayload.prototype, "searchBefore", void 0);
|
|
36
36
|
__decorate([
|
|
37
37
|
(0, class_validator_1.IsNumber)(),
|
|
38
38
|
__metadata("design:type", Number)
|
|
39
|
-
],
|
|
40
|
-
class
|
|
39
|
+
], GetAskLegacySettleLogsByAtlasPayload.prototype, "limit", void 0);
|
|
40
|
+
class GetAskLegacySettleLogsByAtlasResult {
|
|
41
41
|
}
|
|
42
|
-
exports.
|
|
42
|
+
exports.GetAskLegacySettleLogsByAtlasResult = GetAskLegacySettleLogsByAtlasResult;
|
|
@@ -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-settle-
|
|
4
|
+
export * from './get-ask-legacy-settle-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-settle-
|
|
20
|
+
__exportStar(require("./get-ask-legacy-settle-logs-by-atlas.dto"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './query';
|
|
@@ -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("./query"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './search-inflow-sessions-by-ip-or-user-id.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("./search-inflow-sessions-by-ip-or-user-id.dto"), exports);
|
|
@@ -0,0 +1,29 @@
|
|
|
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.SearchInflowSessionByIpOrUserIdPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class SearchInflowSessionByIpOrUserIdPayload {
|
|
15
|
+
}
|
|
16
|
+
exports.SearchInflowSessionByIpOrUserIdPayload = SearchInflowSessionByIpOrUserIdPayload;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], SearchInflowSessionByIpOrUserIdPayload.prototype, "ip", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsNumber)(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], SearchInflowSessionByIpOrUserIdPayload.prototype, "limit", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsMongoId)(),
|
|
27
|
+
(0, class_validator_1.IsOptional)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], SearchInflowSessionByIpOrUserIdPayload.prototype, "userId", void 0);
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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.GetDomesticAccountStoreInfoErrorTypeEnum = exports.GetDomesticAccountStoreInfoPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
/** @description result - DomesticAccountStoreEntity */
|
|
15
|
+
class GetDomesticAccountStoreInfoPayload {
|
|
16
|
+
}
|
|
17
|
+
exports.GetDomesticAccountStoreInfoPayload = GetDomesticAccountStoreInfoPayload;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsMongoId)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
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);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ClientProxy } from '@nestjs/microservices';
|
|
2
|
+
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
+
import { InflowSession } from '@yolo-croket-dev/entity/src/inflow-session';
|
|
4
|
+
/** @dto -v2 */
|
|
5
|
+
import { SearchInflowSessionByIpOrUserIdPayload } from '../dto/inflow-session/query';
|
|
6
|
+
export declare class AmqpInflowSessionByUserService {
|
|
7
|
+
private readonly client;
|
|
8
|
+
private readonly amqpManager;
|
|
9
|
+
constructor(client: ClientProxy);
|
|
10
|
+
searchInflowSessions(payload: SearchInflowSessionByIpOrUserIdPayload, param: AbstractParam): Promise<InflowSession[]>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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.AmqpInflowSessionByUserService = 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 AmqpInflowSessionByUserService = class AmqpInflowSessionByUserService {
|
|
20
|
+
constructor(client) {
|
|
21
|
+
this.client = client;
|
|
22
|
+
this.amqpManager = new functions_1.AmqpManagement(this.client);
|
|
23
|
+
}
|
|
24
|
+
async searchInflowSessions(payload, param) {
|
|
25
|
+
return this.amqpManager.call('유입 세션 정보 검색', 'inflow-session.get.by-ip-or-user-id', payload, param, { isErrorThrowing: true });
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
exports.AmqpInflowSessionByUserService = AmqpInflowSessionByUserService;
|
|
29
|
+
exports.AmqpInflowSessionByUserService = AmqpInflowSessionByUserService = __decorate([
|
|
30
|
+
(0, common_1.Injectable)(),
|
|
31
|
+
__param(0, (0, common_1.Inject)('USER_SERVICE_PROVIDER')),
|
|
32
|
+
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
33
|
+
], AmqpInflowSessionByUserService);
|
|
@@ -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, GetAskLegacySettleLogsByAtlasPayload, GetAskLegacySettleLogsByAtlasResult } 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
|
+
getAskLegacySettleLogsByAtlas(payload: GetAskLegacySettleLogsByAtlasPayload, param: AbstractParam): Promise<GetAskLegacySettleLogsByAtlasResult>;
|
|
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.settle-
|
|
33
|
+
async getAskLegacySettleLogsByAtlas(payload, param) {
|
|
34
|
+
return this.amqpManager.call('atlas 검색 - 요청 정산 로그 조회', 'ask.get.legacy-settle-logs-by-atlas', payload, param, { isErrorThrowing: true });
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
37
|
exports.AmqpAskService = AmqpAskService;
|
|
@@ -22,3 +22,4 @@ __exportStar(require("./amqp.store-item.service"), exports);
|
|
|
22
22
|
__exportStar(require("./amqp.user-entity.service"), exports);
|
|
23
23
|
__exportStar(require("./amqp.store.service"), exports);
|
|
24
24
|
__exportStar(require("./ask"), exports);
|
|
25
|
+
__exportStar(require("./amqp.inflow-session.service"), exports);
|