@yolo-croket-dev/amqp-access 0.5.12 → 0.5.13-hj-2

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.
@@ -0,0 +1,4 @@
1
+ import { PurchasedInfoEntity } from '@yolo-croket-dev/entity-v2';
2
+ /** @description isArray */
3
+ export interface GetPInfoForExpectSettleByAtlasResult extends Pick<PurchasedInfoEntity, 'process' | 'recTime' | '_id' | 'proceedsInfo'> {
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -10,3 +10,4 @@ export * from './get-item-sale-infos-for-sales-team-by-atlas.dto';
10
10
  export * from './get-item-sale-merge-data-for-sales-team-by-atlas.dto';
11
11
  export * from './store-item';
12
12
  export * from './settle';
13
+ export * from './get-p-info-for-expect-settle-by-atlas.dto';
@@ -26,3 +26,4 @@ __exportStar(require("./get-item-sale-infos-for-sales-team-by-atlas.dto"), expor
26
26
  __exportStar(require("./get-item-sale-merge-data-for-sales-team-by-atlas.dto"), exports);
27
27
  __exportStar(require("./store-item"), exports);
28
28
  __exportStar(require("./settle"), exports);
29
+ __exportStar(require("./get-p-info-for-expect-settle-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 { 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, GetItemSaleInfosForSalesTeamByAtlasPayload, GetItemSaleInfosForSalesTeamByAtlasResult, GetItemSaleMergeDataForSalesTeamByAtlasPayload, GetItemSaleMergeDataForSalesTeamByAtlasResult, GetPNumsForShowAdCenterInflowPayload, GetPNumsForShowAdCenterInflowResult, GetPNumsGroupItemIdPayload, GetPNumsGroupItemIdResult, GetPInfoIdsForPredictSettlePayload, GetPInfoIdsForPredictSettleResult, GetPInfosForBeforeDeliveryExcelPayload, GetPInfosForBeforeDeliveryExcelResult, GetPurchasedInfosForUnconfirmedWaitingOrderSellersExcelResult, IsPurchaseStoreItemByUserBulkPayload, IsPurchaseStoreItemByUserBulkResponse, CheckCanChangePurchasedOptionPayload, CheckCanChangePurchasedOptionResult, ChangePurchasedOptionPayload, CheckCanChangePurchasedOptionsByPayTryLogIdPayload, CheckCanChangePurchasedOptionsByPayTryLogIdResult, GetPurchasedInfoItemsForExtractionByTypeResult } 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, GetItemSaleInfosForSalesTeamByAtlasPayload, GetItemSaleInfosForSalesTeamByAtlasResult, GetItemSaleMergeDataForSalesTeamByAtlasPayload, GetItemSaleMergeDataForSalesTeamByAtlasResult, GetPNumsForShowAdCenterInflowPayload, GetPNumsForShowAdCenterInflowResult, GetPNumsGroupItemIdPayload, GetPNumsGroupItemIdResult, GetPInfoIdsForPredictSettlePayload, GetPInfoIdsForPredictSettleResult, GetPInfosForBeforeDeliveryExcelPayload, GetPInfosForBeforeDeliveryExcelResult, GetPurchasedInfosForUnconfirmedWaitingOrderSellersExcelResult, IsPurchaseStoreItemByUserBulkPayload, IsPurchaseStoreItemByUserBulkResponse, CheckCanChangePurchasedOptionPayload, CheckCanChangePurchasedOptionResult, ChangePurchasedOptionPayload, CheckCanChangePurchasedOptionsByPayTryLogIdPayload, CheckCanChangePurchasedOptionsByPayTryLogIdResult, GetPurchasedInfoItemsForExtractionByTypeResult, GetPInfoForExpectSettleByAtlasResult } from '../dto/purchasedinfos';
4
4
  export declare class AmqpPurchasedInfoService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
@@ -34,4 +34,5 @@ export declare class AmqpPurchasedInfoService {
34
34
  changePurchasedOption(payload: ChangePurchasedOptionPayload, param: AbstractParam): Promise<void>;
35
35
  checkCanChangePurchasedOptionsByPayTryLogId(payload: CheckCanChangePurchasedOptionsByPayTryLogIdPayload, param: AbstractParam): Promise<CheckCanChangePurchasedOptionsByPayTryLogIdResult>;
36
36
  getPurchasedInfoItemsForExtractionByType(param: AbstractParam): Promise<GetPurchasedInfoItemsForExtractionByTypeResult>;
37
+ getPInfoForExpectSettleByAtlas(param: AbstractParam): Promise<GetPInfoForExpectSettleByAtlasResult[]>;
37
38
  }
@@ -109,6 +109,9 @@ let AmqpPurchasedInfoService = class AmqpPurchasedInfoService {
109
109
  async getPurchasedInfoItemsForExtractionByType(param) {
110
110
  return this.amqpManager.call('구매 정보 아이템 추출 타입별 조회', 'purchased-info.get.purchased-info-items-for-extraction-by-type', {}, param, { isErrorThrowing: true });
111
111
  }
112
+ async getPInfoForExpectSettleByAtlas(param) {
113
+ return this.amqpManager.call('atlas 검색 - 요청 예상 정산금 조회', 'purchased-info.get.p-info-for-expect-settle-by-atlas', {}, param, { isErrorThrowing: true });
114
+ }
112
115
  };
113
116
  exports.AmqpPurchasedInfoService = AmqpPurchasedInfoService;
114
117
  exports.AmqpPurchasedInfoService = AmqpPurchasedInfoService = __decorate([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.5.12",
3
+ "version": "0.5.13-hj-2",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -0,0 +1,4 @@
1
+ import { AskEntity } from '@yolo-croket-dev/entity/src/ask';
2
+ /** @description isArray */
3
+ export interface GetAskForExpectSettleByAtlasResult extends Pick<AskEntity, '_id' | 'askProcess' | 'proceedsInfo' | 'receiveInfo'> {
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -5,3 +5,4 @@ export * from './get-ask-legacy-settle-logs-by-atlas.dto';
5
5
  export * from './get-ask-accumulated-settle-amount-by-atlas.dto';
6
6
  export * from './get-ask-done-settle-amount-by-atlas.dto';
7
7
  export * from './get-ask-expect-settle-amount-by-atlas.dto';
8
+ export * from './get-ask-for-expect-settle-by-atlas.dto';
@@ -21,3 +21,4 @@ __exportStar(require("./get-ask-legacy-settle-logs-by-atlas.dto"), exports);
21
21
  __exportStar(require("./get-ask-accumulated-settle-amount-by-atlas.dto"), exports);
22
22
  __exportStar(require("./get-ask-done-settle-amount-by-atlas.dto"), exports);
23
23
  __exportStar(require("./get-ask-expect-settle-amount-by-atlas.dto"), exports);
24
+ __exportStar(require("./get-ask-for-expect-settle-by-atlas.dto"), exports);
@@ -0,0 +1,10 @@
1
+ export declare class GetStoreByIdPayload {
2
+ /** 스토어 아이디 */
3
+ storeId?: string;
4
+ /** 유저 아이디 */
5
+ userId?: string;
6
+ /** 검색 포함 필드 */
7
+ includeFields?: string[];
8
+ /** 검색 제외 필드 */
9
+ excludeFields?: string[];
10
+ }
@@ -0,0 +1,36 @@
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.GetStoreByIdPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class GetStoreByIdPayload {
15
+ }
16
+ exports.GetStoreByIdPayload = GetStoreByIdPayload;
17
+ __decorate([
18
+ (0, class_validator_1.IsMongoId)(),
19
+ (0, class_validator_1.IsOptional)(),
20
+ __metadata("design:type", String)
21
+ ], GetStoreByIdPayload.prototype, "storeId", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsMongoId)(),
24
+ (0, class_validator_1.IsOptional)(),
25
+ __metadata("design:type", String)
26
+ ], GetStoreByIdPayload.prototype, "userId", void 0);
27
+ __decorate([
28
+ (0, class_validator_1.IsArray)(),
29
+ (0, class_validator_1.IsOptional)(),
30
+ __metadata("design:type", Array)
31
+ ], GetStoreByIdPayload.prototype, "includeFields", void 0);
32
+ __decorate([
33
+ (0, class_validator_1.IsArray)(),
34
+ (0, class_validator_1.IsOptional)(),
35
+ __metadata("design:type", Array)
36
+ ], GetStoreByIdPayload.prototype, "excludeFields", void 0);
@@ -8,3 +8,4 @@ export * from './check-show-ad-center-inflow.dto';
8
8
  export * from './get-store-titles-by-seller-ids.dto';
9
9
  export * from './get-stores-by-seller-ids.dto';
10
10
  export * from './get-store-id-by-seller-id.dto';
11
+ export * from './get-store-by-id.dto';
@@ -24,3 +24,4 @@ __exportStar(require("./check-show-ad-center-inflow.dto"), exports);
24
24
  __exportStar(require("./get-store-titles-by-seller-ids.dto"), exports);
25
25
  __exportStar(require("./get-stores-by-seller-ids.dto"), exports);
26
26
  __exportStar(require("./get-store-id-by-seller-id.dto"), exports);
27
+ __exportStar(require("./get-store-by-id.dto"), exports);
@@ -1,7 +1,7 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { DomesticAccountStoreEntity, StoreForTossPaymentEntity } from '@yolo-croket-dev/entity-v2';
4
- import { GetDomesticAccountStoreInfoPayload, GetDomesticAccountStoresPayload, MigrationTossPaymentsSettlementProxySellerIdResult, UpdatePrivateSellerInfoSellerAddressPayload, GetUserIdsByStoreTitlePayload, GetUserIdsByStoreTitleResult, GetStoreIdsByStoreTitlePayload, GetStoreIdsByStoreTitleResult, GetStoreTitlesByStoreIdsPayload, GetStoreTitlesByStoreIdsResult, GetStoreIdsByAtlasPayload, GetStoreIdsByAtlasResult, CheckShowAdCenterInflowPayload, GetStoreTitlesBySellerIdsPayload, GetStoreTitlesBySellerIdsResult, UpdateLastActivityDatePayload, GetStoresBySellerIdsPayload, StoreBySellerId, GetStoreIdBySellerIdPayload, GetStoreIdBySellerIdResult, BulkWriteStoreAdminDesignatedAutoReplyMessagePayload, BulkWriteStoreAdminDesignatedAutoReplyMessageResult } from '../dto/store';
3
+ import { DomesticAccountStoreEntity, StoreEntity, StoreForTossPaymentEntity } from '@yolo-croket-dev/entity-v2';
4
+ import { GetDomesticAccountStoreInfoPayload, GetDomesticAccountStoresPayload, MigrationTossPaymentsSettlementProxySellerIdResult, UpdatePrivateSellerInfoSellerAddressPayload, GetUserIdsByStoreTitlePayload, GetUserIdsByStoreTitleResult, GetStoreIdsByStoreTitlePayload, GetStoreIdsByStoreTitleResult, GetStoreTitlesByStoreIdsPayload, GetStoreTitlesByStoreIdsResult, GetStoreIdsByAtlasPayload, GetStoreIdsByAtlasResult, CheckShowAdCenterInflowPayload, GetStoreTitlesBySellerIdsPayload, GetStoreTitlesBySellerIdsResult, UpdateLastActivityDatePayload, GetStoresBySellerIdsPayload, StoreBySellerId, GetStoreIdBySellerIdPayload, GetStoreIdBySellerIdResult, BulkWriteStoreAdminDesignatedAutoReplyMessagePayload, BulkWriteStoreAdminDesignatedAutoReplyMessageResult, GetStoreByIdPayload } 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;
@@ -22,4 +22,5 @@ export declare class AmqpStoreService {
22
22
  getStoresBySellerIds(payload: GetStoresBySellerIdsPayload, param: AbstractParam): Promise<StoreBySellerId[]>;
23
23
  getStoreIdBySellerId(payload: GetStoreIdBySellerIdPayload, param: AbstractParam): Promise<GetStoreIdBySellerIdResult>;
24
24
  bulkWriteStoreAdminDesignatedAutoReplyMessage(payload: BulkWriteStoreAdminDesignatedAutoReplyMessagePayload, param: AbstractParam): Promise<BulkWriteStoreAdminDesignatedAutoReplyMessageResult>;
25
+ getStoreById(payload: GetStoreByIdPayload, param: AbstractParam): Promise<StoreEntity | null>;
25
26
  }
@@ -66,6 +66,9 @@ let AmqpStoreService = class AmqpStoreService {
66
66
  async bulkWriteStoreAdminDesignatedAutoReplyMessage(payload, param) {
67
67
  return this.amqpManager.call('셀러 아이디로 관리자 지정 소개글 변경', 'store.patch.admin-designated-auto-reply-message-bulk', payload, param, { isErrorThrowing: true });
68
68
  }
69
+ async getStoreById(payload, param) {
70
+ return this.amqpManager.call('스토어 아이디로 스토어 조회', 'store.get.by-id', payload, param, { isErrorThrowing: true });
71
+ }
69
72
  };
70
73
  exports.AmqpStoreService = AmqpStoreService;
71
74
  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, GetAskLegacySettleLogsByAtlasPayload, GetAskLegacySettleLogsByAtlasResult, GetAskAccumulatedSettleAmountByAtlasPayload, GetAskAccumulatedSettleAmountByAtlasResult, GetAskDoneSettleAmountByAtlasPayload, GetAskDoneSettleAmountByAtlasResult, GetAskExpectSettleAmountByAtlasPayload, GetAskExpectSettleAmountByAtlasResult } from '../../dto/ask';
3
+ import { GetAskIdsByAtlasSearchPayload, GetAskIdsByAtlasSearchResult, GetAskSettleAmountInfoByAtlasPayload, GetAskSettleAmountInfoByAtlasResult, GetAskAllSettleAmountByAtlasPayload, GetAskAllSettleAmountByAtlasResult, GetAskLegacySettleLogsByAtlasPayload, GetAskLegacySettleLogsByAtlasResult, GetAskAccumulatedSettleAmountByAtlasPayload, GetAskAccumulatedSettleAmountByAtlasResult, GetAskDoneSettleAmountByAtlasPayload, GetAskDoneSettleAmountByAtlasResult, GetAskExpectSettleAmountByAtlasPayload, GetAskExpectSettleAmountByAtlasResult, GetAskForExpectSettleByAtlasResult } from '../../dto/ask';
4
4
  export declare class AmqpAskService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
@@ -12,4 +12,5 @@ export declare class AmqpAskService {
12
12
  getAskDoneSettleAmountByAtlas(payload: GetAskDoneSettleAmountByAtlasPayload, param: AbstractParam): Promise<GetAskDoneSettleAmountByAtlasResult>;
13
13
  getAskExpectSettleAmountByAtlas(payload: GetAskExpectSettleAmountByAtlasPayload, param: AbstractParam): Promise<GetAskExpectSettleAmountByAtlasResult>;
14
14
  getAskAccumulatedSettleAmountByAtlas(payload: GetAskAccumulatedSettleAmountByAtlasPayload, param: AbstractParam): Promise<GetAskAccumulatedSettleAmountByAtlasResult>;
15
+ getAskForExpectSettleByAtlas(param: AbstractParam): Promise<GetAskForExpectSettleByAtlasResult[]>;
15
16
  }
@@ -42,6 +42,9 @@ let AmqpAskService = class AmqpAskService {
42
42
  async getAskAccumulatedSettleAmountByAtlas(payload, param) {
43
43
  return this.amqpManager.call('atlas 검색 - 요청 누적 정산금 조회', 'ask.get.accumulated-settle-amount-by-atlas', payload, param, { isErrorThrowing: true });
44
44
  }
45
+ async getAskForExpectSettleByAtlas(param) {
46
+ return this.amqpManager.call('atlas 검색 - 요청 예상 정산금 조회', 'ask.get.expect-settle-by-atlas', {}, param, { isErrorThrowing: true });
47
+ }
45
48
  };
46
49
  exports.AmqpAskService = AmqpAskService;
47
50
  exports.AmqpAskService = AmqpAskService = __decorate([