@yolo-croket-dev/amqp-access 0.6.77 → 0.6.78-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.
@@ -2,7 +2,7 @@ import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
3
  import { GetPurchasedInfoByIdsPayload, GetPurchasedInfosForBulkNotiPayload, GetPurchasedInfosForBulkNotiResult, GetPurchasedInfoForAdminExcelPayload, GetPurchasedInfoForAdminExcelResult } from '@yolo-croket-dev/dto-v2/order-server';
4
4
  import { PurchasedInfoEntity } from '@yolo-croket-dev/entity/src/purchased-info';
5
- import { GetPInfoForExpectSettleByAtlasPayload, GetPInfoForExpectSettleByAtlasResult, SearchSellerTransactionHistoryByProcessPayload, SearchSellerTransactionHistoryByProcessResult } from './dto';
5
+ import { ExtendWaitingReceiveByChannelTalkPayload, GetPInfoForExpectSettleByAtlasPayload, GetPInfoForExpectSettleByAtlasResult, SearchSellerTransactionHistoryByProcessPayload, SearchSellerTransactionHistoryByProcessResult } from './dto';
6
6
  export declare class AmqpOrderServer {
7
7
  private readonly client;
8
8
  private readonly amqpManager;
@@ -14,4 +14,5 @@ export declare class AmqpOrderServer {
14
14
  /** 결제 내역 추출 */
15
15
  getPurchasedInfoForAdminExcel(payload: GetPurchasedInfoForAdminExcelPayload, param: AbstractParam): Promise<GetPurchasedInfoForAdminExcelResult>;
16
16
  getPInfoForExpectSettleByAtlas(payload: GetPInfoForExpectSettleByAtlasPayload, param: AbstractParam): Promise<GetPInfoForExpectSettleByAtlasResult[]>;
17
+ extendWaitingReceiveByChannelTalk(payload: ExtendWaitingReceiveByChannelTalkPayload, param: AbstractParam): Promise<void>;
17
18
  }
@@ -39,6 +39,9 @@ let AmqpOrderServer = class AmqpOrderServer {
39
39
  async getPInfoForExpectSettleByAtlas(payload, param) {
40
40
  return this.amqpManager.call('결제 내역 엑셀 다운로드용 데이터 조회', 'purchased-info.get.list-for-expect-settle-by-atlas', payload, param, { isErrorThrowing: true });
41
41
  }
42
+ async extendWaitingReceiveByChannelTalk(payload, param) {
43
+ return this.amqpManager.call('채널톡용 수령확인 연장 처리', 'purchased-info.update.extend-waiting-receive-by-channel-talk', payload, param, { isErrorThrowing: true });
44
+ }
42
45
  };
43
46
  exports.AmqpOrderServer = AmqpOrderServer;
44
47
  exports.AmqpOrderServer = AmqpOrderServer = __decorate([
@@ -0,0 +1,4 @@
1
+ export declare class ExtendWaitingReceiveByChannelTalkPayload {
2
+ publicId: string;
3
+ userId: string;
4
+ }
@@ -0,0 +1,24 @@
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.ExtendWaitingReceiveByChannelTalkPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class ExtendWaitingReceiveByChannelTalkPayload {
15
+ }
16
+ exports.ExtendWaitingReceiveByChannelTalkPayload = ExtendWaitingReceiveByChannelTalkPayload;
17
+ __decorate([
18
+ (0, class_validator_1.IsString)(),
19
+ __metadata("design:type", String)
20
+ ], ExtendWaitingReceiveByChannelTalkPayload.prototype, "publicId", void 0);
21
+ __decorate([
22
+ (0, class_validator_1.IsMongoId)(),
23
+ __metadata("design:type", String)
24
+ ], ExtendWaitingReceiveByChannelTalkPayload.prototype, "userId", void 0);
@@ -4,3 +4,4 @@ export * from './cancel-done-ad-center-coupon-infos.dto';
4
4
  export * from './request-create-ad-center-coupon-settle.dto';
5
5
  export * from './patch-process-v2-to-checking-stock.dto';
6
6
  export * from './change-purchased-option.dto';
7
+ export * from './extend-waiting-receive-by-channel-talk.dto';
@@ -20,3 +20,4 @@ __exportStar(require("./cancel-done-ad-center-coupon-infos.dto"), exports);
20
20
  __exportStar(require("./request-create-ad-center-coupon-settle.dto"), exports);
21
21
  __exportStar(require("./patch-process-v2-to-checking-stock.dto"), exports);
22
22
  __exportStar(require("./change-purchased-option.dto"), exports);
23
+ __exportStar(require("./extend-waiting-receive-by-channel-talk.dto"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.6.77",
3
+ "version": "0.6.78-hj-2",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -6,7 +6,7 @@ import { GetUsernameByIdPayload, GetUsersForAppPushPayload, GetUsersForAppPushRe
6
6
  import { Membership } from '@yolo-croket-dev/entity';
7
7
  import { UserPhoneDecodeByPhoneNumberPayloadDto, UserPhoneDecodeByPhoneNumberResultDto } from '@yolo-croket-dev/dto/user-service';
8
8
  import { NotificationUser, UpdateUserByIdPayload } from './amqp.user-service.types';
9
- import { GetUserInfoByIdPayload, GetUserInfoByIdResult, GetUsersForAdminPayload, GetUsersForAdminResult, GetUsersPayload, GetUsersResult, GetSellerEmailPayload, GetSellerEmailResult } from './dto/user';
9
+ import { GetUserInfoByIdPayload, GetUserInfoByIdResult, GetUsersForAdminPayload, GetUsersForAdminResult, GetUsersPayload, GetUsersResult, GetSellerEmailPayload, GetSellerEmailResult, ReversalCreditByPInfoIdPayload } from './dto/user';
10
10
  export declare class AmqpUserService {
11
11
  private readonly client;
12
12
  private readonly amqpManager;
@@ -30,4 +30,5 @@ export declare class AmqpUserService {
30
30
  getUsers(payload: GetUsersPayload, param: AbstractParam): Promise<GetUsersResult[]>;
31
31
  getSellerEmail(payload: GetSellerEmailPayload, param: AbstractParam): Promise<GetSellerEmailResult>;
32
32
  getBlockedUserIds(param: AbstractParam): Promise<string[]>;
33
+ reversalCreditByPInfoId(payload: ReversalCreditByPInfoIdPayload, param: AbstractParam): Promise<void>;
33
34
  }
@@ -78,6 +78,9 @@ let AmqpUserService = class AmqpUserService {
78
78
  async getBlockedUserIds(param) {
79
79
  return this.amqpManager.call('차단 유저 아이디 조회', 'user.get.blocked-user-ids', {}, param, { isErrorThrowing: true });
80
80
  }
81
+ async reversalCreditByPInfoId(payload, param) {
82
+ return this.amqpManager.call('수령확인 크레딧 회수 처리', 'user.update.reversal-credit-by-p-info-id', payload, param, { isErrorThrowing: true });
83
+ }
81
84
  };
82
85
  exports.AmqpUserService = AmqpUserService;
83
86
  exports.AmqpUserService = AmqpUserService = __decorate([
@@ -7,3 +7,4 @@ export * from './verification-phone-for-sns-user.dto';
7
7
  export * from './sign-in-guest-user.dto';
8
8
  export * from './sign-up-guest-user.dto';
9
9
  export * from './update-guest-username.dto';
10
+ export * from './reversal-credit-by-p-info-id.dto';
@@ -23,3 +23,4 @@ __exportStar(require("./verification-phone-for-sns-user.dto"), exports);
23
23
  __exportStar(require("./sign-in-guest-user.dto"), exports);
24
24
  __exportStar(require("./sign-up-guest-user.dto"), exports);
25
25
  __exportStar(require("./update-guest-username.dto"), exports);
26
+ __exportStar(require("./reversal-credit-by-p-info-id.dto"), exports);
@@ -0,0 +1,3 @@
1
+ export declare class ReversalCreditByPInfoIdPayload {
2
+ pInfoId: string;
3
+ }
@@ -0,0 +1,20 @@
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.ReversalCreditByPInfoIdPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class ReversalCreditByPInfoIdPayload {
15
+ }
16
+ exports.ReversalCreditByPInfoIdPayload = ReversalCreditByPInfoIdPayload;
17
+ __decorate([
18
+ (0, class_validator_1.IsString)(),
19
+ __metadata("design:type", String)
20
+ ], ReversalCreditByPInfoIdPayload.prototype, "pInfoId", void 0);