@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.
@@ -1,11 +1,11 @@
1
- export declare class GetPInfoSettleAmountLogsByAtlasPayload {
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 SettleLog {
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 GetPInfoSettleAmountLogsByAtlasResult {
33
- settleLogs: SettleLog[];
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.GetPInfoSettleAmountLogsByAtlasResult = exports.GetPInfoSettleAmountLogsByAtlasPayload = void 0;
12
+ exports.GetPInfoLegacySettleLogsByAtlasResult = exports.GetPInfoLegacySettleLogsByAtlasPayload = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- class GetPInfoSettleAmountLogsByAtlasPayload {
14
+ class GetPInfoLegacySettleLogsByAtlasPayload {
15
15
  }
16
- exports.GetPInfoSettleAmountLogsByAtlasPayload = GetPInfoSettleAmountLogsByAtlasPayload;
16
+ exports.GetPInfoLegacySettleLogsByAtlasPayload = GetPInfoLegacySettleLogsByAtlasPayload;
17
17
  __decorate([
18
18
  (0, class_validator_1.IsDateString)(),
19
19
  __metadata("design:type", Date)
20
- ], GetPInfoSettleAmountLogsByAtlasPayload.prototype, "settleSDate", void 0);
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
- ], GetPInfoSettleAmountLogsByAtlasPayload.prototype, "settleEDate", void 0);
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
- ], GetPInfoSettleAmountLogsByAtlasPayload.prototype, "searchAfter", void 0);
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
- ], GetPInfoSettleAmountLogsByAtlasPayload.prototype, "searchBefore", void 0);
35
+ ], GetPInfoLegacySettleLogsByAtlasPayload.prototype, "searchBefore", void 0);
36
36
  __decorate([
37
37
  (0, class_validator_1.IsNumber)(),
38
38
  __metadata("design:type", Number)
39
- ], GetPInfoSettleAmountLogsByAtlasPayload.prototype, "limit", void 0);
40
- class GetPInfoSettleAmountLogsByAtlasResult {
39
+ ], GetPInfoLegacySettleLogsByAtlasPayload.prototype, "limit", void 0);
40
+ class GetPInfoLegacySettleLogsByAtlasResult {
41
41
  }
42
- exports.GetPInfoSettleAmountLogsByAtlasResult = GetPInfoSettleAmountLogsByAtlasResult;
42
+ exports.GetPInfoLegacySettleLogsByAtlasResult = GetPInfoLegacySettleLogsByAtlasResult;
@@ -1,3 +1,3 @@
1
1
  export * from './get-p-info-settle-amount-info-by-atlas.dto';
2
- export * from './get-p-info-settle-amount-logs-by-atlas.dto';
2
+ export * from './get-p-info-legacy-settle-logs-by-atlas.dto';
3
3
  export * from './get-p-info-all-settle-amount-by-atlas.dto';
@@ -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-amount-logs-by-atlas.dto"), exports);
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, GetPInfoSettleAmountLogsByAtlasPayload, GetPInfoSettleAmountLogsByAtlasResult } from '../dto/purchasedinfos';
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
- getPInfoSettleAmountLogsByAtlas(payload: GetPInfoSettleAmountLogsByAtlasPayload, param: AbstractParam): Promise<GetPInfoSettleAmountLogsByAtlasResult>;
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 getPInfoSettleAmountLogsByAtlas(payload, param) {
31
- return this.amqpManager.call('atlas 검색 - 스토어 정산 로그 조회', 'purchased-info.get.settle-amount-logs-by-atlas', payload, param, { isErrorThrowing: true });
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.82",
3
+ "version": "0.0.83-jun.0",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -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.GetAskSettleAmountLogsByAtlasResult = exports.GetAskSettleAmountLogsByAtlasPayload = void 0;
12
+ exports.GetAskLegacySettleLogsByAtlasResult = exports.GetAskLegacySettleLogsByAtlasPayload = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- class GetAskSettleAmountLogsByAtlasPayload {
14
+ class GetAskLegacySettleLogsByAtlasPayload {
15
15
  }
16
- exports.GetAskSettleAmountLogsByAtlasPayload = GetAskSettleAmountLogsByAtlasPayload;
16
+ exports.GetAskLegacySettleLogsByAtlasPayload = GetAskLegacySettleLogsByAtlasPayload;
17
17
  __decorate([
18
18
  (0, class_validator_1.IsDateString)(),
19
19
  __metadata("design:type", Date)
20
- ], GetAskSettleAmountLogsByAtlasPayload.prototype, "settleSDate", void 0);
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
- ], GetAskSettleAmountLogsByAtlasPayload.prototype, "settleEDate", void 0);
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
- ], GetAskSettleAmountLogsByAtlasPayload.prototype, "searchAfter", void 0);
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
- ], GetAskSettleAmountLogsByAtlasPayload.prototype, "searchBefore", void 0);
35
+ ], GetAskLegacySettleLogsByAtlasPayload.prototype, "searchBefore", void 0);
36
36
  __decorate([
37
37
  (0, class_validator_1.IsNumber)(),
38
38
  __metadata("design:type", Number)
39
- ], GetAskSettleAmountLogsByAtlasPayload.prototype, "limit", void 0);
40
- class GetAskSettleAmountLogsByAtlasResult {
39
+ ], GetAskLegacySettleLogsByAtlasPayload.prototype, "limit", void 0);
40
+ class GetAskLegacySettleLogsByAtlasResult {
41
41
  }
42
- exports.GetAskSettleAmountLogsByAtlasResult = GetAskSettleAmountLogsByAtlasResult;
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-amount-logs-by-atlas.dto';
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-amount-logs-by-atlas.dto"), exports);
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, GetAskSettleAmountLogsByAtlasPayload, GetAskSettleAmountLogsByAtlasResult } from '../../dto/ask';
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
- getAskSettleAmountLogsByAtlas(payload: GetAskSettleAmountLogsByAtlasPayload, param: AbstractParam): Promise<GetAskSettleAmountLogsByAtlasResult>;
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 getAskSettleAmountLogsByAtlas(payload, param) {
34
- return this.amqpManager.call('atlas 검색 - 요청 정산 로그 조회', 'ask.get.settle-amount-logs-by-atlas', payload, param, { isErrorThrowing: true });
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
- }