@yolo-croket-dev/amqp-access 0.0.13-jun.7 → 0.0.14-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.
@@ -5,6 +5,6 @@ export declare class AmqpESPayTryLogService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
7
7
  constructor(client: ClientProxy);
8
- bulkUpdateByPaymentDate(payload: ESPayTryLogBulkUpdateByPaymentDatePayload, param: AbstractParam): Promise<void>;
8
+ bulkUpdateByPaymentDate(payload: ESPayTryLogBulkUpdateByPaymentDatePayload, param: AbstractParam): Promise<boolean>;
9
9
  bulkUpdateByIds(payload: EsPayTryLogBulkUpdateByIdsPayload, param: AbstractParam): Promise<void>;
10
10
  }
@@ -22,7 +22,7 @@ let AmqpESPayTryLogService = class AmqpESPayTryLogService {
22
22
  this.amqpManager = new functions_1.AmqpManagement(this.client);
23
23
  }
24
24
  async bulkUpdateByPaymentDate(payload, param) {
25
- return this.amqpManager.call('ES PayTryLog Bulk 생성 by payment date', 'elastic-search-pay-try-log.bulk-update.by-payment-date', payload, param, { isErrorThrowing: true });
25
+ return this.amqpManager.onlyPublish('ES PayTryLog Bulk 생성 by payment date', 'elastic-search-pay-try-log.bulk-update.by-payment-date', payload, param);
26
26
  }
27
27
  async bulkUpdateByIds(payload, param) {
28
28
  return this.amqpManager.call('ES PayTryLog Bulk 생성 by dis', 'elastic-search-pay-try-log.bulk-update.by-ids', payload, param, { isErrorThrowing: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.0.13-jun.7",
3
+ "version": "0.0.14-jun.0",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -20,8 +20,9 @@
20
20
  "@nestjs/common": "^10.3.10",
21
21
  "@nestjs/microservices": "9.0.8",
22
22
  "@yolo-croket-dev/core": "^1.4.52",
23
- "@yolo-croket-dev/dto-v2": "^0.0.120",
24
- "@yolo-croket-dev/entity": "^0.1.101",
23
+ "@yolo-croket-dev/dto-v2": "^0.0.124",
24
+ "@yolo-croket-dev/entity": "^0.1.103",
25
+ "@yolo-croket-dev/entity-v2": "^0.0.18",
25
26
  "dotenv": "^16.3.1"
26
27
  }
27
28
  }
@@ -2,6 +2,7 @@ import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
3
  /** @dto -v2 */
4
4
  import { CreateSelectionFrameDataPayload, CreateSelectionFrameDataResult, SearchSelectionFrameChildDatasPayload, SearchSelectionFrameChildDatasResult, SearchSelectionFrameLargeDatasResult, UpdateSelectionFrameDataPayload, UpdateSelectionFrameDataResult, UpdateSelectionFrameChildDataSortPayload, GetSelectionFrameDataForEsPayload, GetSelectionFrameDataForEsResult, SearchSelectionFrameDatasForSortEditResult, SearchSelectionFrameDatasForSortEditPayload, UpdateSelectionFrameLargeDataSortPayload, GetSelectionFrameDataIdsByIdsPayload, GetSelectionFrameDataIdsByIdsResult, SearchSelectionFrameLargeDatasByStoreItemIdPayload, SearchSelectionFrameLargeDatasByStoreItemIdResult, GetSelectionFrameDatasForEsPayload, GetSelectionFrameDatasForEsResult, SearchSelectionFrameChildIsPickDatasPayload, SearchSelectionFrameChildIsPickDatasResult } from '@yolo-croket-dev/dto-v2/user-service/selection-frame-data';
5
+ import { GetSelectionFrameAllDatasForEsPayload, GetSelectionFrameAllDatasForEsResult } from '@yolo-croket-dev/dto-v2/selection-server';
5
6
  export declare class AmqpSelectionFrameDataService {
6
7
  private readonly client;
7
8
  private readonly amqpManager;
@@ -13,6 +14,7 @@ export declare class AmqpSelectionFrameDataService {
13
14
  updateSelectionFrameLargeDataSort(payload: UpdateSelectionFrameLargeDataSortPayload, param: AbstractParam): Promise<void>;
14
15
  updateSelectionFrameChildDataSort(payload: UpdateSelectionFrameChildDataSortPayload, param: AbstractParam): Promise<void>;
15
16
  getSelectionFrameDataForEs(payload: GetSelectionFrameDataForEsPayload, param: AbstractParam): Promise<GetSelectionFrameDataForEsResult>;
17
+ getSelectionFrameAllDatasForEs(payload: GetSelectionFrameAllDatasForEsPayload, param: AbstractParam): Promise<GetSelectionFrameAllDatasForEsResult>;
16
18
  searchSelectionFrameDatasForSortEdit(payload: SearchSelectionFrameDatasForSortEditPayload, param: AbstractParam): Promise<SearchSelectionFrameDatasForSortEditResult>;
17
19
  getSelectionFrameDataIdsByIds(payload: GetSelectionFrameDataIdsByIdsPayload, param: AbstractParam): Promise<GetSelectionFrameDataIdsByIdsResult>;
18
20
  searchSelectionFrameLargeDatasByStoreItemId(payload: SearchSelectionFrameLargeDatasByStoreItemIdPayload, param: AbstractParam): Promise<SearchSelectionFrameLargeDatasByStoreItemIdResult>;
@@ -44,6 +44,9 @@ let AmqpSelectionFrameDataService = class AmqpSelectionFrameDataService {
44
44
  async getSelectionFrameDataForEs(payload, param) {
45
45
  return this.amqpManager.call('elastic-service용 셀렉션 프레임 조회', 'selection-frame-data.get.info-for-es', payload, param, { isErrorThrowing: true });
46
46
  }
47
+ async getSelectionFrameAllDatasForEs(payload, param) {
48
+ return this.amqpManager.call('elastic-service용 셀렉션 프레임 전체 조회', 'selection-frame-data.get.all-datas-for-es', payload, param, { isErrorThrowing: true });
49
+ }
47
50
  async searchSelectionFrameDatasForSortEdit(payload, param) {
48
51
  return this.amqpManager.call('셀렉션 프레임 데이터 리스트 조회 (정렬 수정 페이지 디폴트 조회.)', 'selection-frame-data.get.list-for-sort-edit', payload, param, { isErrorThrowing: true });
49
52
  }