@yolo-croket-dev/amqp-access 0.7.110-sj4 → 0.7.110-sj6

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.
@@ -0,0 +1,10 @@
1
+ export declare class BulkUpdateDeferredPcccInfoPayload {
2
+ purchaseReceiptId: string;
3
+ userName: string;
4
+ phoneNumber: string;
5
+ PCCC: string;
6
+ postCode: string;
7
+ }
8
+ export declare class BulkUpdateDeferredPcccInfoResult {
9
+ patchedPurchaseReceiptNums: number;
10
+ }
@@ -0,0 +1,39 @@
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.BulkUpdateDeferredPcccInfoResult = exports.BulkUpdateDeferredPcccInfoPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class BulkUpdateDeferredPcccInfoPayload {
15
+ }
16
+ exports.BulkUpdateDeferredPcccInfoPayload = BulkUpdateDeferredPcccInfoPayload;
17
+ __decorate([
18
+ (0, class_validator_1.IsMongoId)(),
19
+ __metadata("design:type", String)
20
+ ], BulkUpdateDeferredPcccInfoPayload.prototype, "purchaseReceiptId", void 0);
21
+ __decorate([
22
+ (0, class_validator_1.IsString)(),
23
+ __metadata("design:type", String)
24
+ ], BulkUpdateDeferredPcccInfoPayload.prototype, "userName", void 0);
25
+ __decorate([
26
+ (0, class_validator_1.IsString)(),
27
+ __metadata("design:type", String)
28
+ ], BulkUpdateDeferredPcccInfoPayload.prototype, "phoneNumber", void 0);
29
+ __decorate([
30
+ (0, class_validator_1.IsString)(),
31
+ __metadata("design:type", String)
32
+ ], BulkUpdateDeferredPcccInfoPayload.prototype, "PCCC", void 0);
33
+ __decorate([
34
+ (0, class_validator_1.IsString)(),
35
+ __metadata("design:type", String)
36
+ ], BulkUpdateDeferredPcccInfoPayload.prototype, "postCode", void 0);
37
+ class BulkUpdateDeferredPcccInfoResult {
38
+ }
39
+ exports.BulkUpdateDeferredPcccInfoResult = BulkUpdateDeferredPcccInfoResult;
@@ -3,3 +3,4 @@ export * from './update-purchase-receipt.dto';
3
3
  export * from './update-purchase-receipt-receive-info.dto';
4
4
  export * from './update-purchase-receipt-process-bulk.dto';
5
5
  export * from './update-purchase-receipt-receive-info-by-p-info-id-as-admin.dto';
6
+ export * from './bulk-update-deferred-pccc-info.dto';
@@ -19,3 +19,4 @@ __exportStar(require("./update-purchase-receipt.dto"), exports);
19
19
  __exportStar(require("./update-purchase-receipt-receive-info.dto"), exports);
20
20
  __exportStar(require("./update-purchase-receipt-process-bulk.dto"), exports);
21
21
  __exportStar(require("./update-purchase-receipt-receive-info-by-p-info-id-as-admin.dto"), exports);
22
+ __exportStar(require("./bulk-update-deferred-pccc-info.dto"), exports);
@@ -0,0 +1,3 @@
1
+ export declare class CheckDeferredPcccPurchaseReceiptExistsResult {
2
+ purchaseReceiptId: string | null;
3
+ }
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CheckDeferredPcccPurchaseReceiptExistsResult = void 0;
4
+ class CheckDeferredPcccPurchaseReceiptExistsResult {
5
+ }
6
+ exports.CheckDeferredPcccPurchaseReceiptExistsResult = CheckDeferredPcccPurchaseReceiptExistsResult;
@@ -4,3 +4,4 @@ export * from './reload-purchase-receipt.dto';
4
4
  export * from './check-can-update-purchase-receipt-receive-info.dto';
5
5
  export * from './search-purchase-receipt-receive-info.dto';
6
6
  export * from './check-purchase-receipt-exists-in-last-days.dto';
7
+ export * from './check-deferred-pccc-purchase-receipt-exists.dto';
@@ -20,3 +20,4 @@ __exportStar(require("./reload-purchase-receipt.dto"), exports);
20
20
  __exportStar(require("./check-can-update-purchase-receipt-receive-info.dto"), exports);
21
21
  __exportStar(require("./search-purchase-receipt-receive-info.dto"), exports);
22
22
  __exportStar(require("./check-purchase-receipt-exists-in-last-days.dto"), exports);
23
+ __exportStar(require("./check-deferred-pccc-purchase-receipt-exists.dto"), exports);
@@ -1,6 +1,6 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { CheckCanUpdatePurchaseReceiptReceiveInfoPayload, CheckCanUpdatePurchaseReceiptReceiveInfoResult, CreatePurchaseReceiptPayload, ReloadPurchaseReceiptPayload, ReloadPurchaseReceiptResult, SearchPurchaseReceiptDetailPayload, SearchPurchaseReceiptDetailResult, SearchPurchaseReceiptReceiveInfoPayload, SearchPurchaseReceiptReceiveInfoResult, SearchPurchaseReceiptsPayload, SearchPurchaseReceiptsResult, UpdatePurchaseReceiptPayload, UpdatePurchaseReceiptProcessBulkPayload, UpdatePurchaseReceiptReceiveInfoByPInfoIdAsAdminPayload, UpdatePurchaseReceiptReceiveInfoPayload, CheckPurchaseReceiptExistsInLastDaysResult, CheckPurchaseReceiptExistsInLastDaysPayload } from '../dto/purchase-receipt';
3
+ import { CheckCanUpdatePurchaseReceiptReceiveInfoPayload, CheckCanUpdatePurchaseReceiptReceiveInfoResult, CreatePurchaseReceiptPayload, ReloadPurchaseReceiptPayload, ReloadPurchaseReceiptResult, SearchPurchaseReceiptDetailPayload, SearchPurchaseReceiptDetailResult, SearchPurchaseReceiptReceiveInfoPayload, SearchPurchaseReceiptReceiveInfoResult, SearchPurchaseReceiptsPayload, SearchPurchaseReceiptsResult, UpdatePurchaseReceiptPayload, UpdatePurchaseReceiptProcessBulkPayload, UpdatePurchaseReceiptReceiveInfoByPInfoIdAsAdminPayload, UpdatePurchaseReceiptReceiveInfoPayload, CheckPurchaseReceiptExistsInLastDaysResult, CheckPurchaseReceiptExistsInLastDaysPayload, CheckDeferredPcccPurchaseReceiptExistsResult, BulkUpdateDeferredPcccInfoPayload, BulkUpdateDeferredPcccInfoResult } from '../dto/purchase-receipt';
4
4
  export declare class AmqpPurchaseReceiptService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
@@ -18,4 +18,7 @@ export declare class AmqpPurchaseReceiptService {
18
18
  updatePurchaseReceiptProcessBulk(payload: UpdatePurchaseReceiptProcessBulkPayload, param: AbstractParam): Promise<void>;
19
19
  updatePurchaseReceiptReceiveInfoByPInfoIdAsAdmin(payload: UpdatePurchaseReceiptReceiveInfoByPInfoIdAsAdminPayload, param: AbstractParam): Promise<any>;
20
20
  checkPurchaseReceiptExistsInLastDays(payload: CheckPurchaseReceiptExistsInLastDaysPayload, param: AbstractParam): Promise<CheckPurchaseReceiptExistsInLastDaysResult>;
21
+ deferredPcccRegisterReminderPush(param: AbstractParam): Promise<void>;
22
+ checkDeferredPcccPurchaseReceiptExists(param: AbstractParam): Promise<CheckDeferredPcccPurchaseReceiptExistsResult>;
23
+ bulkUpdateDeferredPcccInfo(payload: BulkUpdateDeferredPcccInfoPayload, param: AbstractParam): Promise<BulkUpdateDeferredPcccInfoResult>;
21
24
  }
@@ -62,6 +62,15 @@ let AmqpPurchaseReceiptService = class AmqpPurchaseReceiptService {
62
62
  async checkPurchaseReceiptExistsInLastDays(payload, param) {
63
63
  return this.amqpManager.call('특정 기간 동안 주문서 존재 여부 확인 -구매자-', 'purchase-receipt.check.exists-in-last-days', payload, param, { isErrorThrowing: true });
64
64
  }
65
+ async deferredPcccRegisterReminderPush(param) {
66
+ return this.amqpManager.call('개인통관고유부호 등록 요구 알림 발송 -스케쥴러-', 'purchase-receipt.get.deferred.pccc-register-reminder-push', {}, param, { isErrorThrowing: true });
67
+ }
68
+ async checkDeferredPcccPurchaseReceiptExists(param) {
69
+ return this.amqpManager.call('개인통관고유부호 나중에 받기 주문서 존재 여부 확인', 'purchase-receipt.check-deferred-pccc-purchase-receipt-exists', {}, param, { isErrorThrowing: true });
70
+ }
71
+ async bulkUpdateDeferredPcccInfo(payload, param) {
72
+ return this.amqpManager.call('개인통관고유부호 나중에 받기 주문서 정보 수정 -벌크-', 'purchase-receipt.update.bulk-deferred-pccc-info', payload, param, { isErrorThrowing: true });
73
+ }
65
74
  };
66
75
  exports.AmqpPurchaseReceiptService = AmqpPurchaseReceiptService;
67
76
  exports.AmqpPurchaseReceiptService = AmqpPurchaseReceiptService = __decorate([
@@ -43,5 +43,4 @@ export declare class AmqpPurchasedInfoService {
43
43
  extendWaitingReceiveByChannelTalk(payload: ExtendWaitingReceiveByChannelTalkPayload, param: AbstractParam): Promise<string>;
44
44
  updatePInfoAttributionHistoryIdBulk(payload: UpdatePInfoAttributionHistoryIdBulkPayload, param: AbstractParam): Promise<void>;
45
45
  extendWaitingReceiveByChannelTalkSlackWebhook(payload: any, param: AbstractParam): Promise<string>;
46
- deferredPcccRegisterReminderPush(param: AbstractParam): Promise<void>;
47
46
  }
@@ -138,9 +138,6 @@ let AmqpPurchasedInfoService = class AmqpPurchasedInfoService {
138
138
  payload, param) {
139
139
  return this.amqpManager.call('채널톡용 수령확인 연장 처리', 'purchased-info.update.extend-waiting-receive-by-channel-talk-slack-webhook', payload, param, { isErrorThrowing: true });
140
140
  }
141
- async deferredPcccRegisterReminderPush(param) {
142
- return this.amqpManager.call('개인통관고유부호 등록 요구 알림 발송 -스케쥴러-', 'purchased-info.get.deferred.pccc-register-reminder-push', {}, param, { isErrorThrowing: true });
143
- }
144
141
  };
145
142
  exports.AmqpPurchasedInfoService = AmqpPurchasedInfoService;
146
143
  exports.AmqpPurchasedInfoService = AmqpPurchasedInfoService = __decorate([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.7.110-sj4",
3
+ "version": "0.7.110-sj6",
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.38-sj",
23
23
  "@yolo-croket-dev/dto-v2": "^0.2.15",
24
24
  "@yolo-croket-dev/entity": "0.2.73-sj",
25
- "@yolo-croket-dev/entity-v2": "0.2.142-sj",
25
+ "@yolo-croket-dev/entity-v2": "0.2.142-sj1",
26
26
  "class-transformer": "^0.5.1",
27
27
  "class-validator": "^0.13.2",
28
28
  "dotenv": "^16.3.1"