@yolo-croket-dev/amqp-access 0.3.0-jun.2 → 0.3.0-jun.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.3.0-jun.2",
3
+ "version": "0.3.0-jun.4",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -4,10 +4,7 @@ export declare class GetInsuranceItemPricePayload {
4
4
  subCategory?: string;
5
5
  }
6
6
  export declare class GetInsuranceItemPriceResult {
7
- message: string;
8
- data: {
9
- isIgnore: boolean;
10
- itemPrice: number;
11
- unitPrice?: number;
12
- };
7
+ isIgnore: boolean;
8
+ itemPrice: number;
9
+ unitPrice?: number;
13
10
  }
@@ -1,7 +1,7 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
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 } from '../dto/store';
4
+ import { GetDomesticAccountStoreInfoPayload, GetDomesticAccountStoresPayload, MigrationTossPaymentsSettlementProxySellerIdResult, UpdatePrivateSellerInfoSellerAddressPayload, GetUserIdsByStoreTitlePayload, GetUserIdsByStoreTitleResult, GetStoreIdsByStoreTitlePayload, GetStoreIdsByStoreTitleResult, GetStoreTitlesByStoreIdsPayload, GetStoreTitlesByStoreIdsResult, GetStoreIdsByAtlasPayload, GetStoreIdsByAtlasResult, CheckShowAdCenterInflowPayload, GetStoreTitlesBySellerIdsPayload, GetStoreTitlesBySellerIdsResult, UpdateLastActivityDatePayload } 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;
@@ -18,4 +18,5 @@ export declare class AmqpStoreService {
18
18
  getStoreIdsByAtlas(payload: GetStoreIdsByAtlasPayload, param: AbstractParam): Promise<GetStoreIdsByAtlasResult>;
19
19
  checkShowAdCenterInflow(payload: CheckShowAdCenterInflowPayload, param: AbstractParam): Promise<boolean>;
20
20
  getStoreTitlesBySellerIds(payload: GetStoreTitlesBySellerIdsPayload, param: AbstractParam): Promise<GetStoreTitlesBySellerIdsResult>;
21
+ updateLastActivityDate(payload: UpdateLastActivityDatePayload, param: AbstractParam): Promise<void>;
21
22
  }
@@ -54,6 +54,9 @@ let AmqpStoreService = class AmqpStoreService {
54
54
  async getStoreTitlesBySellerIds(payload, param) {
55
55
  return this.amqpManager.call('판매자 아이디로 스토어 타이틀 리스트 출력', 'store.get.store-titles-by-seller-ids', payload, param, { isErrorThrowing: true });
56
56
  }
57
+ async updateLastActivityDate(payload, param) {
58
+ return this.amqpManager.call('스토어 마지막 활동 일자 업데이트', 'store.update.last-activity-date', payload, param, { isErrorThrowing: true });
59
+ }
57
60
  };
58
61
  exports.AmqpStoreService = AmqpStoreService;
59
62
  exports.AmqpStoreService = AmqpStoreService = __decorate([