@yolo-croket-dev/amqp-access 0.0.179 → 0.0.181

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.
@@ -4,6 +4,10 @@ export interface FacetPInfo {
4
4
  process: string;
5
5
  count: number;
6
6
  }
7
+ export interface FacetPInfoV2 {
8
+ process_v2: string;
9
+ count: number;
10
+ }
7
11
  export declare class GetFacetPInfosForManageBuyerByAtlasPayload {
8
12
  selectPInfoProcessList?: PurchasedProcessEnum[];
9
13
  selectPInfoProcessV2List?: PurchasedProcessV2Enum[];
@@ -14,4 +18,6 @@ export declare class GetFacetPInfosForManageBuyerByAtlasPayload {
14
18
  export declare class GetFacetPInfosForManageBuyerByAtlasResult {
15
19
  allCount: number;
16
20
  facets: FacetPInfo[];
21
+ allCount_v2: number;
22
+ facets_v2: FacetPInfoV2[];
17
23
  }
@@ -6,5 +6,3 @@ export * from './get-p-info-expect-settle-amount-by-atlas.dto';
6
6
  export * from './get-p-info-accumulated-settle-amount-by-atlas.dto';
7
7
  export * from './get-p-infos-for-manage-buyer-by-atlas.dto';
8
8
  export * from './get-facet-p-infos-for-manage-buyer-by-atlas.dto';
9
- export * from './get-p-infos-for-manage-buyer-by-atlas-v2.dto';
10
- export * from './get-facet-p-infos-for-manage-buyer-by-atlas-v2.dto';
@@ -22,5 +22,3 @@ __exportStar(require("./get-p-info-expect-settle-amount-by-atlas.dto"), exports)
22
22
  __exportStar(require("./get-p-info-accumulated-settle-amount-by-atlas.dto"), exports);
23
23
  __exportStar(require("./get-p-infos-for-manage-buyer-by-atlas.dto"), exports);
24
24
  __exportStar(require("./get-facet-p-infos-for-manage-buyer-by-atlas.dto"), exports);
25
- __exportStar(require("./get-p-infos-for-manage-buyer-by-atlas-v2.dto"), exports);
26
- __exportStar(require("./get-facet-p-infos-for-manage-buyer-by-atlas-v2.dto"), exports);
@@ -1,6 +1,6 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { GetPInfoSettleAmountInfoByAtlasPayload, GetPInfoSettleAmountInfoByAtlasResult, GetPInfoAllSettleAmountByAtlasPayload, GetPInfoAllSettleAmountByAtlasResult, GetPInfoLegacySettleLogsByAtlasPayload, GetPInfoLegacySettleLogsByAtlasResult, GetPInfoAccumulatedSettleAmountByAtlasPayload, GetPInfoAccumulatedSettleAmountByAtlasResult, GetPInfoDoneSettleAmountByAtlasPayload, GetPInfoDoneSettleAmountByAtlasResult, GetPInfoExpectSettleAmountByAtlasPayload, GetPInfoExpectSettleAmountByAtlasResult, GetPartialRefundProcessesByPublicIdsPayload, GetPartialRefundProcessesByPublicIdsResult, GetPInfosForManageBuyerByAtlasPayload, GetPInfosForManageBuyerByAtlasResult, GetFacetPInfosForManageBuyerByAtlasPayload, GetFacetPInfosForManageBuyerByAtlasResult, ReloadPInfosForManageBuyerPayload, ReloadPInfosForManageBuyerResult, UpdateAdCenterCouponInfoPayload, UpdateDoneAdCenterCouponInfosPayload, CancelDoneAdCenterCouponInfosPayload, RequestCreateAdCenterCouponSettlePayload, GetFacetPInfosForManageBuyerByAtlasV2Payload, GetPInfosForManageBuyerByAtlasV2Payload, PatchProcessV2ToCheckingStockPayload, PatchProcessV2ToCheckingStockResult } from '../dto/purchasedinfos';
3
+ import { GetPInfoSettleAmountInfoByAtlasPayload, GetPInfoSettleAmountInfoByAtlasResult, GetPInfoAllSettleAmountByAtlasPayload, GetPInfoAllSettleAmountByAtlasResult, GetPInfoLegacySettleLogsByAtlasPayload, GetPInfoLegacySettleLogsByAtlasResult, GetPInfoAccumulatedSettleAmountByAtlasPayload, GetPInfoAccumulatedSettleAmountByAtlasResult, GetPInfoDoneSettleAmountByAtlasPayload, GetPInfoDoneSettleAmountByAtlasResult, GetPInfoExpectSettleAmountByAtlasPayload, GetPInfoExpectSettleAmountByAtlasResult, GetPartialRefundProcessesByPublicIdsPayload, GetPartialRefundProcessesByPublicIdsResult, GetPInfosForManageBuyerByAtlasPayload, GetPInfosForManageBuyerByAtlasResult, GetFacetPInfosForManageBuyerByAtlasPayload, GetFacetPInfosForManageBuyerByAtlasResult, ReloadPInfosForManageBuyerPayload, ReloadPInfosForManageBuyerResult, UpdateAdCenterCouponInfoPayload, UpdateDoneAdCenterCouponInfosPayload, CancelDoneAdCenterCouponInfosPayload, RequestCreateAdCenterCouponSettlePayload, PatchProcessV2ToCheckingStockPayload, PatchProcessV2ToCheckingStockResult } from '../dto/purchasedinfos';
4
4
  export declare class AmqpPurchasedInfoService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
@@ -16,9 +16,7 @@ export declare class AmqpPurchasedInfoService {
16
16
  getFacetPInfosForManageBuyerByAtlas(payload: GetFacetPInfosForManageBuyerByAtlasPayload, param: AbstractParam): Promise<GetFacetPInfosForManageBuyerByAtlasResult>;
17
17
  reloadPInfosForManageBuyer(payload: ReloadPInfosForManageBuyerPayload, param: AbstractParam): Promise<ReloadPInfosForManageBuyerResult>;
18
18
  updateAdCenterCouponInfo(payload: UpdateAdCenterCouponInfoPayload, param: AbstractParam): Promise<void>;
19
- getPInfosForManageBuyerByAtlasV2(payload: GetPInfosForManageBuyerByAtlasV2Payload, param: AbstractParam): Promise<GetPInfosForManageBuyerByAtlasResult>;
20
19
  updateDoneAdCenterCouponInfos(payload: UpdateDoneAdCenterCouponInfosPayload, param: AbstractParam): Promise<void>;
21
- getFacetPInfosForManageBuyerByAtlasV2(payload: GetFacetPInfosForManageBuyerByAtlasV2Payload, param: AbstractParam): Promise<GetFacetPInfosForManageBuyerByAtlasResult>;
22
20
  cancelDoneAdCenterCouponInfos(payload: CancelDoneAdCenterCouponInfosPayload, param: AbstractParam): Promise<void>;
23
21
  requestCreateAdCenterCouponSettle(payload: RequestCreateAdCenterCouponSettlePayload, param: AbstractParam): Promise<void>;
24
22
  patchProcessV2ToCheckingStock(payload: PatchProcessV2ToCheckingStockPayload, param: AbstractParam): Promise<PatchProcessV2ToCheckingStockResult>;
@@ -54,15 +54,9 @@ let AmqpPurchasedInfoService = class AmqpPurchasedInfoService {
54
54
  async updateAdCenterCouponInfo(payload, param) {
55
55
  return this.amqpManager.call('광고센터쿠폰 정보 업데이트', 'purchased-info.update.ad-center-coupon-info', payload, param, { isErrorThrowing: true });
56
56
  }
57
- async getPInfosForManageBuyerByAtlasV2(payload, param) {
58
- return this.amqpManager.call('셀러의 구매자 관리 데이터 조회 v2 api (atlas)', 'purchased-info.get.p-infos-for-manage-buyer-by-atlas-v2', payload, param, { isErrorThrowing: true });
59
- }
60
57
  async updateDoneAdCenterCouponInfos(payload, param) {
61
58
  return this.amqpManager.call('광고센터쿠폰 완료 처리', 'purchased-info.update.done-ad-center-coupon-infos', payload, param, { isErrorThrowing: true });
62
59
  }
63
- async getFacetPInfosForManageBuyerByAtlasV2(payload, param) {
64
- return this.amqpManager.call('셀러의 구매자 관리 facet 조회 v2 api (atlas)', 'purchased-info.get.facet-p-infos-for-manage-buyer-by-atlas-v2', payload, param, { isErrorThrowing: true });
65
- }
66
60
  async cancelDoneAdCenterCouponInfos(payload, param) {
67
61
  return this.amqpManager.call('광고센터쿠폰 완료 취소 처리', 'purchased-info.cancel.done-ad-center-coupon-infos', payload, param, { isErrorThrowing: true });
68
62
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.0.179",
3
+ "version": "0.0.181",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -1,7 +0,0 @@
1
- import { PurchasedProcessV2Enum } from '@yolo-croket-dev/entity-v2';
2
- export declare class GetFacetPInfosForManageBuyerByAtlasV2Payload {
3
- selectPInfoProcessV2List?: PurchasedProcessV2Enum[];
4
- paymentSDate?: Date;
5
- paymentEDate?: Date;
6
- searchText?: string;
7
- }
@@ -1,37 +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
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.GetFacetPInfosForManageBuyerByAtlasV2Payload = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const entity_v2_1 = require("@yolo-croket-dev/entity-v2");
15
- class GetFacetPInfosForManageBuyerByAtlasV2Payload {
16
- }
17
- exports.GetFacetPInfosForManageBuyerByAtlasV2Payload = GetFacetPInfosForManageBuyerByAtlasV2Payload;
18
- __decorate([
19
- (0, class_validator_1.IsOptional)(),
20
- (0, class_validator_1.IsEnum)(entity_v2_1.PurchasedProcessV2Enum, { each: true }),
21
- __metadata("design:type", Array)
22
- ], GetFacetPInfosForManageBuyerByAtlasV2Payload.prototype, "selectPInfoProcessV2List", void 0);
23
- __decorate([
24
- (0, class_validator_1.IsDateString)(),
25
- (0, class_validator_1.IsOptional)(),
26
- __metadata("design:type", Date)
27
- ], GetFacetPInfosForManageBuyerByAtlasV2Payload.prototype, "paymentSDate", void 0);
28
- __decorate([
29
- (0, class_validator_1.IsDateString)(),
30
- (0, class_validator_1.IsOptional)(),
31
- __metadata("design:type", Date)
32
- ], GetFacetPInfosForManageBuyerByAtlasV2Payload.prototype, "paymentEDate", void 0);
33
- __decorate([
34
- (0, class_validator_1.IsString)(),
35
- (0, class_validator_1.IsOptional)(),
36
- __metadata("design:type", String)
37
- ], GetFacetPInfosForManageBuyerByAtlasV2Payload.prototype, "searchText", void 0);
@@ -1,14 +0,0 @@
1
- import { PurchasedProcessV2Enum } from '@yolo-croket-dev/entity-v2';
2
- import { GetPInfosForManageBuyerByAtlasSortTypeEnum } from './get-p-infos-for-manage-buyer-by-atlas.dto';
3
- export declare class GetPInfosForManageBuyerByAtlasV2Payload {
4
- selectPInfoProcessV2List?: PurchasedProcessV2Enum[];
5
- paymentSDate?: Date;
6
- paymentEDate?: Date;
7
- searchText?: string;
8
- limit: number;
9
- sortType: GetPInfosForManageBuyerByAtlasSortTypeEnum;
10
- /** 다음 페이징 토큰 */
11
- searchAfter?: string;
12
- /** 이전 페이징 토큰 */
13
- searchBefore?: string;
14
- }
@@ -1,57 +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
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.GetPInfosForManageBuyerByAtlasV2Payload = void 0;
13
- const class_validator_1 = require("class-validator");
14
- // @entity
15
- const entity_v2_1 = require("@yolo-croket-dev/entity-v2");
16
- const get_p_infos_for_manage_buyer_by_atlas_dto_1 = require("./get-p-infos-for-manage-buyer-by-atlas.dto");
17
- class GetPInfosForManageBuyerByAtlasV2Payload {
18
- }
19
- exports.GetPInfosForManageBuyerByAtlasV2Payload = GetPInfosForManageBuyerByAtlasV2Payload;
20
- __decorate([
21
- (0, class_validator_1.IsOptional)(),
22
- (0, class_validator_1.IsEnum)(entity_v2_1.PurchasedProcessV2Enum, { each: true }),
23
- __metadata("design:type", Array)
24
- ], GetPInfosForManageBuyerByAtlasV2Payload.prototype, "selectPInfoProcessV2List", void 0);
25
- __decorate([
26
- (0, class_validator_1.IsDateString)(),
27
- (0, class_validator_1.IsOptional)(),
28
- __metadata("design:type", Date)
29
- ], GetPInfosForManageBuyerByAtlasV2Payload.prototype, "paymentSDate", void 0);
30
- __decorate([
31
- (0, class_validator_1.IsDateString)(),
32
- (0, class_validator_1.IsOptional)(),
33
- __metadata("design:type", Date)
34
- ], GetPInfosForManageBuyerByAtlasV2Payload.prototype, "paymentEDate", void 0);
35
- __decorate([
36
- (0, class_validator_1.IsString)(),
37
- (0, class_validator_1.IsOptional)(),
38
- __metadata("design:type", String)
39
- ], GetPInfosForManageBuyerByAtlasV2Payload.prototype, "searchText", void 0);
40
- __decorate([
41
- (0, class_validator_1.IsNumber)(),
42
- __metadata("design:type", Number)
43
- ], GetPInfosForManageBuyerByAtlasV2Payload.prototype, "limit", void 0);
44
- __decorate([
45
- (0, class_validator_1.IsEnum)(get_p_infos_for_manage_buyer_by_atlas_dto_1.GetPInfosForManageBuyerByAtlasSortTypeEnum),
46
- __metadata("design:type", String)
47
- ], GetPInfosForManageBuyerByAtlasV2Payload.prototype, "sortType", void 0);
48
- __decorate([
49
- (0, class_validator_1.IsString)(),
50
- (0, class_validator_1.IsOptional)(),
51
- __metadata("design:type", String)
52
- ], GetPInfosForManageBuyerByAtlasV2Payload.prototype, "searchAfter", void 0);
53
- __decorate([
54
- (0, class_validator_1.IsString)(),
55
- (0, class_validator_1.IsOptional)(),
56
- __metadata("design:type", String)
57
- ], GetPInfosForManageBuyerByAtlasV2Payload.prototype, "searchBefore", void 0);