@yolo-croket-dev/amqp-access 0.7.31 → 0.7.32-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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.7.31",
3
+ "version": "0.7.32-hj-2",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -22,7 +22,7 @@
22
22
  "@yolo-croket-dev/domain": "^0.2.27",
23
23
  "@yolo-croket-dev/dto-v2": "0.2.12",
24
24
  "@yolo-croket-dev/entity": "0.2.63",
25
- "@yolo-croket-dev/entity-v2": "^0.2.111",
25
+ "@yolo-croket-dev/entity-v2": "0.2.114-hj-1",
26
26
  "class-transformer": "^0.5.1",
27
27
  "class-validator": "^0.13.2",
28
28
  "dotenv": "^16.3.1"
@@ -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" | "couponInfo" | "publicId" | "pastStoreInfo" | "expectedSettleDateString" | "adType" | "adCenterStartDateString" | "adCenterEndDateString" | "actualSettleDateString" | "PInfoId" | "transactionInfo" | "subtractionSettleAmountInfo" | "bizMemo" | "financeMemo" | "settlementManagerInfo" | "googleSheetInfo">>;
3
+ declare const AdCenterSettleForGoogleSheet_base: import("@nestjs/common").Type<Pick<AdCenterSettle, "_id" | "sellerId" | "couponInfo" | "publicId" | "pastStoreInfo" | "PInfoId" | "expectedSettleDateString" | "adType" | "adCenterStartDateString" | "adCenterEndDateString" | "actualSettleDateString" | "transactionInfo" | "subtractionSettleAmountInfo" | "bizMemo" | "financeMemo" | "settlementManagerInfo" | "googleSheetInfo">>;
4
4
  /** 구글 시트용 광고센터정산 데이터 */
5
5
  export declare class AdCenterSettleForGoogleSheet extends AdCenterSettleForGoogleSheet_base {
6
6
  storeInfo: {
@@ -0,0 +1,7 @@
1
+ export declare class GetUserIdsForTimeDealPushPayload {
2
+ lastUserId?: string;
3
+ limit: number;
4
+ }
5
+ export interface GetUserIdsForTimeDealPushResult {
6
+ userIds: string[];
7
+ }
@@ -0,0 +1,25 @@
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.GetUserIdsForTimeDealPushPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class GetUserIdsForTimeDealPushPayload {
15
+ }
16
+ exports.GetUserIdsForTimeDealPushPayload = GetUserIdsForTimeDealPushPayload;
17
+ __decorate([
18
+ (0, class_validator_1.IsMongoId)({ each: true }),
19
+ (0, class_validator_1.IsOptional)(),
20
+ __metadata("design:type", String)
21
+ ], GetUserIdsForTimeDealPushPayload.prototype, "lastUserId", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsNumber)(),
24
+ __metadata("design:type", Number)
25
+ ], GetUserIdsForTimeDealPushPayload.prototype, "limit", void 0);
@@ -5,3 +5,4 @@ export * from './get-user-infos-for-partial-refund.dto';
5
5
  export * from './get-users.dto';
6
6
  export * from './get-seller-email.dto';
7
7
  export * from './get-duplicate-users-by-phone-number.dto';
8
+ export * from './get-user-ids-for-time-deal-push.dto';
@@ -21,3 +21,4 @@ __exportStar(require("./get-user-infos-for-partial-refund.dto"), exports);
21
21
  __exportStar(require("./get-users.dto"), exports);
22
22
  __exportStar(require("./get-seller-email.dto"), exports);
23
23
  __exportStar(require("./get-duplicate-users-by-phone-number.dto"), exports);
24
+ __exportStar(require("./get-user-ids-for-time-deal-push.dto"), exports);
@@ -3,7 +3,7 @@ import { AbstractParam } from '@yolo-croket-dev/core';
3
3
  /** @dto -v2 */
4
4
  import { DecodePhoneNumbersPayload, PhoneDecodedData } from '@yolo-croket-dev/dto-v2/user-service';
5
5
  import { SaveShippingAddressPayload } from '../dto/user/command/save-shipping-address.dto';
6
- import { GetDuplicateUsersByPhoneNumberPayload, GetDuplicateUsersByPhoneNumberResult, GetUserIdsByUsernamePayload, GetUserIdsByUsernameResult, GetUserInfosForPartialRefundPayload, GetUserInfosForPartialRefundResult, IssueSignupRewardPayload, IssueSignupRewardResult, PatchGenderAndBirthdayPayload, SaveSystemAppPushAcceptPayload, IssueInflowSignupRewardResult, VerificationPhoneForSnsUserPayload, SignInGuestUserPayload, SignInGuestUserResult, UpdateGuestUsernamePayload, AppSwitchingRewardPayload, AppSwitchingRewardResult } from '../dto';
6
+ import { GetDuplicateUsersByPhoneNumberPayload, GetDuplicateUsersByPhoneNumberResult, GetUserIdsByUsernamePayload, GetUserIdsByUsernameResult, GetUserInfosForPartialRefundPayload, GetUserInfosForPartialRefundResult, IssueSignupRewardPayload, IssueSignupRewardResult, PatchGenderAndBirthdayPayload, SaveSystemAppPushAcceptPayload, IssueInflowSignupRewardResult, VerificationPhoneForSnsUserPayload, SignInGuestUserPayload, SignInGuestUserResult, UpdateGuestUsernamePayload, AppSwitchingRewardPayload, AppSwitchingRewardResult, GetUserIdsForTimeDealPushPayload, GetUserIdsForTimeDealPushResult } from '../dto';
7
7
  /** 기존 userService 와 이름이 겹쳐 userEntityService로 임시 사용 */
8
8
  export declare class AmqpUserEntityService {
9
9
  private readonly client;
@@ -22,4 +22,5 @@ export declare class AmqpUserEntityService {
22
22
  signInGuestUser(payload: SignInGuestUserPayload, param: AbstractParam): Promise<SignInGuestUserResult>;
23
23
  updateGuestUserName(payload: UpdateGuestUsernamePayload, param: AbstractParam): Promise<void>;
24
24
  appSwitchingReward(payload: AppSwitchingRewardPayload, param: AbstractParam): Promise<AppSwitchingRewardResult>;
25
+ getUserIdsForTimeDealPush(payload: GetUserIdsForTimeDealPushPayload, param: AbstractParam): Promise<GetUserIdsForTimeDealPushResult>;
25
26
  }
@@ -61,6 +61,9 @@ let AmqpUserEntityService = class AmqpUserEntityService {
61
61
  async appSwitchingReward(payload, param) {
62
62
  return this.amqpManager.call('유저 - 웹 -> 앱 전환 리워드 발급', 'user.issue.app-switching-reward', payload, param, { isErrorThrowing: true });
63
63
  }
64
+ async getUserIdsForTimeDealPush(payload, param) {
65
+ return this.amqpManager.call('유저 - 타임딜 푸시용 유저 아이디 조회', 'user.get.user-ids-for-time-deal-push', payload, param, { isErrorThrowing: true });
66
+ }
64
67
  };
65
68
  exports.AmqpUserEntityService = AmqpUserEntityService;
66
69
  exports.AmqpUserEntityService = AmqpUserEntityService = __decorate([