@yolo-croket-dev/amqp-access 0.7.300 → 0.7.301

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 +1,2 @@
1
1
  export * from './generate-and-share-purchased-infos-for-admin-excel.dto';
2
+ export * from './sync-price-compare-affiliate-purchased-infos-to-spreadsheet.dto';
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./generate-and-share-purchased-infos-for-admin-excel.dto"), exports);
18
+ __exportStar(require("./sync-price-compare-affiliate-purchased-infos-to-spreadsheet.dto"), exports);
@@ -0,0 +1,2 @@
1
+ export declare class SyncPriceCompareAffiliatePurchasedInfosToSpreadsheetPayload {
2
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SyncPriceCompareAffiliatePurchasedInfosToSpreadsheetPayload = void 0;
4
+ class SyncPriceCompareAffiliatePurchasedInfosToSpreadsheetPayload {
5
+ }
6
+ exports.SyncPriceCompareAffiliatePurchasedInfosToSpreadsheetPayload = SyncPriceCompareAffiliatePurchasedInfosToSpreadsheetPayload;
@@ -1,10 +1,11 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { GenerateAndSharePurchasedInfosForAdminExcelPayload } from '../dto';
3
+ import { GenerateAndSharePurchasedInfosForAdminExcelPayload, SyncPriceCompareAffiliatePurchasedInfosToSpreadsheetPayload } from '../dto';
4
4
  export declare class AmqpPurchasedInfoExcelService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
7
7
  constructor(client: ClientProxy);
8
8
  generateAndSharePurchasedInfosForAdminExcel(payload: GenerateAndSharePurchasedInfosForAdminExcelPayload, param: AbstractParam): Promise<void>;
9
9
  dailyCroketMetricsAggregation(payload: unknown, param: AbstractParam): Promise<boolean>;
10
+ syncPriceCompareAffiliatePurchasedInfosToSpreadsheet(payload: SyncPriceCompareAffiliatePurchasedInfosToSpreadsheetPayload, param: AbstractParam): Promise<void>;
10
11
  }
@@ -27,6 +27,9 @@ let AmqpPurchasedInfoExcelService = class AmqpPurchasedInfoExcelService {
27
27
  async dailyCroketMetricsAggregation(payload, param) {
28
28
  return this.amqpManager.call('Daily 크로켓 전사 지표 슬랙 공유', 'aggregation.croket-metrics.daily', payload, param, { isErrorThrowing: true });
29
29
  }
30
+ async syncPriceCompareAffiliatePurchasedInfosToSpreadsheet(payload, param) {
31
+ return this.amqpManager.call('가격비교 제휴 결제건 스프레드시트 동기화', 'purchased-info-excel.sync.price-compare-affiliate-purchased-infos-to-spreadsheet', payload, param, { isErrorThrowing: true });
32
+ }
30
33
  };
31
34
  exports.AmqpPurchasedInfoExcelService = AmqpPurchasedInfoExcelService;
32
35
  exports.AmqpPurchasedInfoExcelService = AmqpPurchasedInfoExcelService = __decorate([
@@ -56,6 +56,7 @@ export declare class AmqpPurchasedInfoAdminService {
56
56
  requestCrawlerProxyOrderPaymentForAdmin(payload: RequestCrawlerProxyOrderPaymentForAdminPayload, param: AbstractParam): Promise<void>;
57
57
  getPriceCompareAffiliatePInfosForAdmin(payload: GetPriceCompareAffiliatePInfosForAdminPayload, param: AbstractParam): Promise<GetPriceCompareAffiliatePInfosForAdminResult>;
58
58
  getPriceCompareAffiliatePInfosForAdminExcel(payload: GetPriceCompareAffiliatePInfosForAdminPayload, param: AbstractParam): Promise<GetPriceCompareAffiliatePInfosForAdminExcelResult>;
59
+ getPriceCompareAffiliatePInfosForSpreadsheet(payload: GetPriceCompareAffiliatePInfosForAdminPayload, param: AbstractParam): Promise<GetPriceCompareAffiliatePInfosForAdminExcelResult>;
59
60
  getPriceCompareAffiliateSettleDoneRefundedPInfosForAdminExcel(payload: GetPriceCompareAffiliateSettleDoneRefundedPInfosForAdminPayload, param: AbstractParam): Promise<GetPriceCompareAffiliateSettleDoneRefundedPInfosForAdminExcelResult>;
60
61
  updatePriceCompareAffiliateSettleStatus(payload: UpdatePriceCompareAffiliateSettleStatusPayload, param: AbstractParam): Promise<void>;
61
62
  getCrawlerForwardingAgentsForAdmin(payload: GetCrawlerForwardingAgentsForAdminPayload, param: AbstractParam): Promise<GetCrawlerForwardingAgentsForAdminResult>;
@@ -147,6 +147,9 @@ let AmqpPurchasedInfoAdminService = class AmqpPurchasedInfoAdminService {
147
147
  async getPriceCompareAffiliatePInfosForAdminExcel(payload, param) {
148
148
  return this.amqpManager.call('가격비교 제휴 유입 결제건 관리자 엑셀 조회', 'purchased-info.get.price-compare-affiliate-p-infos-for-admin-excel', payload, param, { isErrorThrowing: true });
149
149
  }
150
+ async getPriceCompareAffiliatePInfosForSpreadsheet(payload, param) {
151
+ return this.amqpManager.call('가격비교 제휴 결제건 스프레드시트 조회', 'purchased-info.get.price-compare-affiliate-p-infos-for-spreadsheet', payload, param, { isErrorThrowing: true });
152
+ }
150
153
  async getPriceCompareAffiliateSettleDoneRefundedPInfosForAdminExcel(payload, param) {
151
154
  return this.amqpManager.call('가격비교 제휴 정산 완료 환불 결제건 관리자 엑셀 조회', 'purchased-info.get.price-compare-affiliate-settle-done-refunded-p-infos-for-admin-excel', payload, param, { isErrorThrowing: true });
152
155
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.7.300",
3
+ "version": "0.7.301",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -20,7 +20,7 @@
20
20
  "@nestjs/common": "^10.3.10",
21
21
  "@nestjs/mapped-types": "2.0.2",
22
22
  "@yolo-croket-dev/core": "^1.9.3",
23
- "@yolo-croket-dev/domain": "0.2.45",
23
+ "@yolo-croket-dev/domain": "0.2.46",
24
24
  "@yolo-croket-dev/dto-v2": "0.2.23",
25
25
  "@yolo-croket-dev/entity": "0.2.105",
26
26
  "@yolo-croket-dev/entity-v2": "0.3.37",
@@ -28,4 +28,4 @@
28
28
  "class-validator": "^0.13.2",
29
29
  "dotenv": "^16.3.1"
30
30
  }
31
- }
31
+ }
@@ -1,6 +1,6 @@
1
1
  import { AdCenterSettle } from '@yolo-croket-dev/entity/src/ad-center-settle/ad-center-settle.schema';
2
2
  import { BusinessInfo } from '@yolo-croket-dev/entity/src/store';
3
- declare const AdCenterSettleForGoogleSheet_base: import("@nestjs/common").Type<Pick<AdCenterSettle, "_id" | "sellerId" | "publicId" | "couponInfo" | "pastStoreInfo" | "expectedSettleDateString" | "adType" | "adCenterStartDateString" | "adCenterEndDateString" | "actualSettleDateString" | "PInfoId" | "transactionInfo" | "subtractionSettleAmountInfo" | "bizMemo" | "financeMemo" | "settlementManagerInfo" | "googleSheetInfo">>;
3
+ declare const AdCenterSettleForGoogleSheet_base: import("@nestjs/common/interfaces").Type<Pick<AdCenterSettle, "_id" | "sellerId" | "publicId" | "couponInfo" | "pastStoreInfo" | "expectedSettleDateString" | "adType" | "adCenterStartDateString" | "adCenterEndDateString" | "actualSettleDateString" | "PInfoId" | "transactionInfo" | "subtractionSettleAmountInfo" | "bizMemo" | "financeMemo" | "settlementManagerInfo" | "googleSheetInfo">>;
4
4
  /** 구글 시트용 광고센터정산 데이터 */
5
5
  export declare class AdCenterSettleForGoogleSheet extends AdCenterSettleForGoogleSheet_base {
6
6
  storeInfo: {