@yolo-croket-dev/amqp-access 0.0.82 → 0.0.83-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} +4 -4
- 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 +1 -1
- package/user-service/dto/ask/query/atlas/get-ask-legacy-settle-logs-by-atlas.dto.d.ts +14 -0
- 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/services/ask/amqp.ask.service.d.ts +2 -2
- package/user-service/services/ask/amqp.ask.service.js +2 -2
- package/user-service/dto/ask/query/atlas/get-ask-settle-amount-logs-by-atlas.dto.d.ts +0 -14
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export declare class
|
|
1
|
+
export declare class GetPInfoLegacySettleLogsByAtlasPayload {
|
|
2
2
|
settleSDate: Date;
|
|
3
3
|
settleEDate?: Date;
|
|
4
4
|
searchAfter?: string;
|
|
5
5
|
searchBefore?: string;
|
|
6
6
|
limit: number;
|
|
7
7
|
}
|
|
8
|
-
export interface
|
|
8
|
+
export interface LegacySettleLog {
|
|
9
9
|
itemName: string;
|
|
10
10
|
optionName: string;
|
|
11
11
|
receivedDate?: Date;
|
|
@@ -29,8 +29,8 @@ export interface SettleLog {
|
|
|
29
29
|
isZeroRateVat?: boolean;
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
|
-
export declare class
|
|
33
|
-
settleLogs:
|
|
32
|
+
export declare class GetPInfoLegacySettleLogsByAtlasResult {
|
|
33
|
+
settleLogs: LegacySettleLog[];
|
|
34
34
|
searchAfter?: string;
|
|
35
35
|
searchBefore?: string;
|
|
36
36
|
}
|
|
@@ -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
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
settleSDate: Date;
|
|
5
|
+
settleEDate?: Date;
|
|
6
|
+
searchAfter?: string;
|
|
7
|
+
searchBefore?: string;
|
|
8
|
+
limit: number;
|
|
9
|
+
}
|
|
10
|
+
export declare class GetAskLegacySettleLogsByAtlasResult {
|
|
11
|
+
settleLogs: LegacySettleLog[];
|
|
12
|
+
searchAfter?: string;
|
|
13
|
+
searchBefore?: string;
|
|
14
|
+
}
|
|
@@ -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);
|
|
@@ -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;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { SettleLog } from '../../../../../order-server/dto/purchasedinfos/query/atlas/get-p-info-settle-amount-logs-by-atlas.dto';
|
|
2
|
-
export { SettleLog };
|
|
3
|
-
export declare class GetAskSettleAmountLogsByAtlasPayload {
|
|
4
|
-
settleSDate: Date;
|
|
5
|
-
settleEDate?: Date;
|
|
6
|
-
searchAfter?: string;
|
|
7
|
-
searchBefore?: string;
|
|
8
|
-
limit: number;
|
|
9
|
-
}
|
|
10
|
-
export declare class GetAskSettleAmountLogsByAtlasResult {
|
|
11
|
-
settleLogs: SettleLog[];
|
|
12
|
-
searchAfter?: string;
|
|
13
|
-
searchBefore?: string;
|
|
14
|
-
}
|