@yolo-croket-dev/amqp-access 0.7.207 → 0.7.209

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.
Files changed (20) hide show
  1. package/notification-service/amqp.notification-service.service.d.ts +0 -3
  2. package/notification-service/amqp.notification-service.service.js +0 -4
  3. package/notification-service/dto/index.d.ts +0 -1
  4. package/notification-service/dto/index.js +0 -1
  5. package/order-server/dto/purchased-info.modules/purchased-info-admin/command/index.d.ts +1 -1
  6. package/order-server/dto/purchased-info.modules/purchased-info-admin/command/index.js +1 -1
  7. package/order-server/dto/purchased-info.modules/purchased-info-admin/command/update-crawler-proxy-order-purchase-invoice-bulk.dto.d.ts +30 -0
  8. package/order-server/dto/purchased-info.modules/purchased-info-admin/command/update-crawler-proxy-order-purchase-invoice-bulk.dto.js +52 -0
  9. package/order-server/dto/purchased-info.modules/purchased-info-admin/query/get-crawler-proxy-order-list-for-admin.dto.d.ts +1 -0
  10. package/order-server/services/purchased-info.modules/amqp.purchased-info-admin.service.d.ts +2 -2
  11. package/order-server/services/purchased-info.modules/amqp.purchased-info-admin.service.js +2 -2
  12. package/package.json +1 -1
  13. package/notification-service/dto/crawler-proxy-order/index.d.ts +0 -1
  14. package/notification-service/dto/crawler-proxy-order/index.js +0 -17
  15. package/notification-service/dto/crawler-proxy-order/query/get-crawler-proxy-order-slack-thread-links.dto.d.ts +0 -13
  16. package/notification-service/dto/crawler-proxy-order/query/get-crawler-proxy-order-slack-thread-links.dto.js +0 -51
  17. package/notification-service/dto/crawler-proxy-order/query/index.d.ts +0 -1
  18. package/notification-service/dto/crawler-proxy-order/query/index.js +0 -17
  19. package/order-server/dto/purchased-info.modules/purchased-info-admin/command/upsert-invoice-bulk-for-admin.dto.d.ts +0 -34
  20. package/order-server/dto/purchased-info.modules/purchased-info-admin/command/upsert-invoice-bulk-for-admin.dto.js +0 -56
@@ -1,7 +1,6 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
3
  import { CheckInspectionWithInvoiceEnclosedPayload, CheckInspectionWithInvoiceEnclosedResult, CheckInspectionWithInvoiceNotEnclosedPayload, CheckInspectionWithInvoiceNotEnclosedResult, SendInspectionWithInvoiceEnclosedPayload, SendInspectionWithInvoiceEnclosedResult, SendInspectionWithInvoiceNotEnclosedPayload, SendInspectionWithInvoiceNotEnclosedResult } from '@yolo-croket-dev/dto-v2/notification-service';
4
- import { GetCrawlerProxyOrderSlackThreadLinksPayload, GetCrawlerProxyOrderSlackThreadLinksResult } from './dto';
5
4
  export declare class AmqpNotificationService {
6
5
  private readonly client;
7
6
  private readonly amqpManager;
@@ -10,7 +9,5 @@ export declare class AmqpNotificationService {
10
9
  checkInspectionWithInvoiceNotEnclosed(payload: CheckInspectionWithInvoiceNotEnclosedPayload, param: AbstractParam): Promise<CheckInspectionWithInvoiceNotEnclosedResult>;
11
10
  sendInspectionWithInvoiceEnclosed(payload: SendInspectionWithInvoiceEnclosedPayload, param: AbstractParam): Promise<SendInspectionWithInvoiceEnclosedResult>;
12
11
  sendInspectionWithInvoiceNotEnclosed(payload: SendInspectionWithInvoiceNotEnclosedPayload, param: AbstractParam): Promise<SendInspectionWithInvoiceNotEnclosedResult>;
13
- /** 결제정보별 크롤링 대신구매 Slack 스레드 링크를 조회한다. */
14
- getCrawlerProxyOrderSlackThreadLinks(payload: GetCrawlerProxyOrderSlackThreadLinksPayload, param: AbstractParam): Promise<GetCrawlerProxyOrderSlackThreadLinksResult>;
15
12
  sendBatchPushNotification(payload: void, param: AbstractParam): Promise<boolean>;
16
13
  }
@@ -35,10 +35,6 @@ let AmqpNotificationService = class AmqpNotificationService {
35
35
  async sendInspectionWithInvoiceNotEnclosed(payload, param) {
36
36
  return this.amqpManager.call('inspection-with-invoice-enclosed 템플릿 대량 noti 발송 api', 'notification-bulk-send.send.inspection-with-invoice-not-enclosed', payload, param, { isErrorThrowing: true });
37
37
  }
38
- /** 결제정보별 크롤링 대신구매 Slack 스레드 링크를 조회한다. */
39
- async getCrawlerProxyOrderSlackThreadLinks(payload, param) {
40
- return this.amqpManager.call('크롤링 대신구매 Slack 스레드 링크 조회', 'notification.get.crawler-proxy-order-slack-thread-links', payload, param, { isErrorThrowing: true });
41
- }
42
38
  // 푸쉬 묶음 발송
43
39
  async sendBatchPushNotification(payload, param) {
44
40
  return this.amqpManager.onlyPublish('푸쉬 묶음 발송', 'notification.send.batch-push-notification', payload, param, { isInternal: true });
@@ -3,4 +3,3 @@ export * from './app-bulk-push-log';
3
3
  export * from './notification';
4
4
  export * from './notification-bulk-send';
5
5
  export * from './amplitude-cohort-export-job';
6
- export * from './crawler-proxy-order';
@@ -19,4 +19,3 @@ __exportStar(require("./app-bulk-push-log"), exports);
19
19
  __exportStar(require("./notification"), exports);
20
20
  __exportStar(require("./notification-bulk-send"), exports);
21
21
  __exportStar(require("./amplitude-cohort-export-job"), exports);
22
- __exportStar(require("./crawler-proxy-order"), exports);
@@ -8,13 +8,13 @@ export * from './edit-p-info-used-coupon.dto';
8
8
  export * from './delete-p-info-used-coupon.dto';
9
9
  export * from './process';
10
10
  export * from './upsert-invoice-for-admin.dto';
11
- export * from './upsert-invoice-bulk-for-admin.dto';
12
11
  export * from './delete-invoice-for-admin.dto';
13
12
  export * from './upsert-split-invoice-for-admin.dto';
14
13
  export * from './delete-split-invoice-for-admin.dto';
15
14
  export * from './transfer-p-info-seller.dto';
16
15
  export * from './update-crawler-proxy-order-info-for-admin.dto';
17
16
  export * from './update-crawler-proxy-order-purchase-order-number-bulk.dto';
17
+ export * from './update-crawler-proxy-order-purchase-invoice-bulk.dto';
18
18
  export * from './accept-crawler-proxy-order-for-admin.dto';
19
19
  export * from './check-crawler-proxy-order-stock-for-admin.dto';
20
20
  export * from './request-crawler-proxy-order-payment-for-admin.dto';
@@ -24,13 +24,13 @@ __exportStar(require("./edit-p-info-used-coupon.dto"), exports);
24
24
  __exportStar(require("./delete-p-info-used-coupon.dto"), exports);
25
25
  __exportStar(require("./process"), exports);
26
26
  __exportStar(require("./upsert-invoice-for-admin.dto"), exports);
27
- __exportStar(require("./upsert-invoice-bulk-for-admin.dto"), exports);
28
27
  __exportStar(require("./delete-invoice-for-admin.dto"), exports);
29
28
  __exportStar(require("./upsert-split-invoice-for-admin.dto"), exports);
30
29
  __exportStar(require("./delete-split-invoice-for-admin.dto"), exports);
31
30
  __exportStar(require("./transfer-p-info-seller.dto"), exports);
32
31
  __exportStar(require("./update-crawler-proxy-order-info-for-admin.dto"), exports);
33
32
  __exportStar(require("./update-crawler-proxy-order-purchase-order-number-bulk.dto"), exports);
33
+ __exportStar(require("./update-crawler-proxy-order-purchase-invoice-bulk.dto"), exports);
34
34
  __exportStar(require("./accept-crawler-proxy-order-for-admin.dto"), exports);
35
35
  __exportStar(require("./check-crawler-proxy-order-stock-for-admin.dto"), exports);
36
36
  __exportStar(require("./request-crawler-proxy-order-payment-for-admin.dto"), exports);
@@ -0,0 +1,30 @@
1
+ /** @description 관리자용 크롤러 사입 택배사·송장번호 일괄 수정 개별 처리 결과 */
2
+ export interface UpdateCrawlerProxyOrderPurchaseInvoiceBulkResultItem {
3
+ pInfoId: string;
4
+ failType?: string;
5
+ reason?: string;
6
+ }
7
+ /**
8
+ * @author jun
9
+ * @description 관리자용 크롤러 사입 택배사·송장번호 일괄 수정 payload
10
+ * @process 선택한 크롤러 사입 주문에 동일한 사입 택배사와 송장번호를 적용
11
+ */
12
+ export declare class UpdateCrawlerProxyOrderPurchaseInvoiceBulkPayload {
13
+ /** 수정할 크롤러 사입 주문 결제정보 ID 목록 */
14
+ pInfoIds: string[];
15
+ /** 판매처에서 배대지까지의 사입 택배사 */
16
+ purchaseCarrier: string;
17
+ /** 판매처에서 배대지까지의 사입 송장번호 */
18
+ purchaseInvoice: string;
19
+ }
20
+ /**
21
+ * @author jun
22
+ * @description 관리자용 크롤러 사입 택배사·송장번호 일괄 수정 결과
23
+ * @process 전체·성공·실패 건수와 주문별 처리 결과 반환
24
+ */
25
+ export declare class UpdateCrawlerProxyOrderPurchaseInvoiceBulkResult {
26
+ allCount: number;
27
+ successCount: number;
28
+ failCount: number;
29
+ results: UpdateCrawlerProxyOrderPurchaseInvoiceBulkResultItem[];
30
+ }
@@ -0,0 +1,52 @@
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.UpdateCrawlerProxyOrderPurchaseInvoiceBulkResult = exports.UpdateCrawlerProxyOrderPurchaseInvoiceBulkPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const class_transformer_1 = require("class-transformer");
15
+ /**
16
+ * @author jun
17
+ * @description 관리자용 크롤러 사입 택배사·송장번호 일괄 수정 payload
18
+ * @process 선택한 크롤러 사입 주문에 동일한 사입 택배사와 송장번호를 적용
19
+ */
20
+ class UpdateCrawlerProxyOrderPurchaseInvoiceBulkPayload {
21
+ }
22
+ exports.UpdateCrawlerProxyOrderPurchaseInvoiceBulkPayload = UpdateCrawlerProxyOrderPurchaseInvoiceBulkPayload;
23
+ __decorate([
24
+ (0, class_validator_1.IsArray)(),
25
+ (0, class_validator_1.ArrayMinSize)(1),
26
+ (0, class_validator_1.ArrayMaxSize)(50),
27
+ (0, class_validator_1.ArrayUnique)(),
28
+ (0, class_validator_1.IsMongoId)({ each: true }),
29
+ __metadata("design:type", Array)
30
+ ], UpdateCrawlerProxyOrderPurchaseInvoiceBulkPayload.prototype, "pInfoIds", void 0);
31
+ __decorate([
32
+ (0, class_transformer_1.Transform)(({ value }) => (typeof value === 'string' ? value.trim() : value)),
33
+ (0, class_validator_1.IsString)(),
34
+ (0, class_validator_1.IsNotEmpty)(),
35
+ (0, class_validator_1.MaxLength)(100),
36
+ __metadata("design:type", String)
37
+ ], UpdateCrawlerProxyOrderPurchaseInvoiceBulkPayload.prototype, "purchaseCarrier", void 0);
38
+ __decorate([
39
+ (0, class_transformer_1.Transform)(({ value }) => (typeof value === 'string' ? value.trim() : value)),
40
+ (0, class_validator_1.IsString)(),
41
+ (0, class_validator_1.IsNotEmpty)(),
42
+ (0, class_validator_1.MaxLength)(100),
43
+ __metadata("design:type", String)
44
+ ], UpdateCrawlerProxyOrderPurchaseInvoiceBulkPayload.prototype, "purchaseInvoice", void 0);
45
+ /**
46
+ * @author jun
47
+ * @description 관리자용 크롤러 사입 택배사·송장번호 일괄 수정 결과
48
+ * @process 전체·성공·실패 건수와 주문별 처리 결과 반환
49
+ */
50
+ class UpdateCrawlerProxyOrderPurchaseInvoiceBulkResult {
51
+ }
52
+ exports.UpdateCrawlerProxyOrderPurchaseInvoiceBulkResult = UpdateCrawlerProxyOrderPurchaseInvoiceBulkResult;
@@ -53,6 +53,7 @@ export interface CrawlerProxyOrderMarginInfoForAdmin {
53
53
  export interface CrawlerProxyOrderListItemForAdmin {
54
54
  pInfoId: string;
55
55
  chatRoomId?: string;
56
+ crawlerProxyOrderSlackThreadUrl?: string;
56
57
  publicId?: string;
57
58
  process: PurchasedProcessEnum;
58
59
  process_v2?: PurchasedProcessV2Enum;
@@ -1,6 +1,6 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { GetPurchasedInfosForAdminPayload, GetPurchasedInfosForAdminResult, GetPurchasedInfoDetailForAdminEditPayload, GetPurchasedInfoDetailForAdminEditResult, EditPInfoEtcDataPayload, EditPInfoMemoPayload, EditPInfoPricePayload, EditPInfoProcessPayload, EditPInfoReceiverInfoPayload, EditPInfoWaitingReceiveInfoPayload, EditPInfoUsedCouponInfoPayload, DeletePInfoUsedCouponInfoPayload, GetPurchasedInfoLogsForCouponInfoPayload, GetPurchasedInfoLogsForCouponInfoResult, UpdateProcessFinishedToCancelledPayload, GetDeliveryListForAdminPayload, GetDeliveryListForAdminResult, UpsertInvoiceForAdminPayload, UpsertInvoiceBulkForAdminPayload, UpsertInvoiceBulkForAdminResult, DeleteInvoiceForAdminPayload, UpsertSplitInvoiceForAdminPayload, DeleteSplitInvoiceForAdminPayload, TransferPInfoSellerPayload, GetPInfosByYgTypePayload, GetPInfosByYgTypeResult, GetCrawlerProxyOrderListForAdminPayload, GetCrawlerProxyOrderListForAdminResult, UpdateCrawlerProxyOrderInfoForAdminPayload, UpdateCrawlerProxyOrderPurchaseOrderNumberBulkPayload, UpdateCrawlerProxyOrderPurchaseOrderNumberBulkResult, AcceptCrawlerProxyOrderForAdminPayload, CheckCrawlerProxyOrderStockForAdminPayload, RequestCrawlerProxyOrderPaymentForAdminPayload, GetPriceCompareAffiliatePInfosForAdminPayload, GetPriceCompareAffiliatePInfosForAdminResult, GetPriceCompareAffiliatePInfosForAdminExcelResult, GetPriceCompareAffiliateSettleDoneRefundedPInfosForAdminPayload, GetPriceCompareAffiliateSettleDoneRefundedPInfosForAdminExcelResult, UpdatePriceCompareAffiliateSettleStatusPayload, GetCrawlerForwardingAgentsForAdminPayload, GetCrawlerForwardingAgentsForAdminResult, CreateCrawlerForwardingAgentForAdminPayload, UpdateCrawlerForwardingAgentForAdminPayload, UpdateCrawlerForwardingAgentActiveForAdminPayload } from '../../dto/purchased-info.modules/purchased-info-admin';
3
+ import { GetPurchasedInfosForAdminPayload, GetPurchasedInfosForAdminResult, GetPurchasedInfoDetailForAdminEditPayload, GetPurchasedInfoDetailForAdminEditResult, EditPInfoEtcDataPayload, EditPInfoMemoPayload, EditPInfoPricePayload, EditPInfoProcessPayload, EditPInfoReceiverInfoPayload, EditPInfoWaitingReceiveInfoPayload, EditPInfoUsedCouponInfoPayload, DeletePInfoUsedCouponInfoPayload, GetPurchasedInfoLogsForCouponInfoPayload, GetPurchasedInfoLogsForCouponInfoResult, UpdateProcessFinishedToCancelledPayload, GetDeliveryListForAdminPayload, GetDeliveryListForAdminResult, UpsertInvoiceForAdminPayload, DeleteInvoiceForAdminPayload, UpsertSplitInvoiceForAdminPayload, DeleteSplitInvoiceForAdminPayload, TransferPInfoSellerPayload, GetPInfosByYgTypePayload, GetPInfosByYgTypeResult, GetCrawlerProxyOrderListForAdminPayload, GetCrawlerProxyOrderListForAdminResult, UpdateCrawlerProxyOrderInfoForAdminPayload, UpdateCrawlerProxyOrderPurchaseOrderNumberBulkPayload, UpdateCrawlerProxyOrderPurchaseOrderNumberBulkResult, UpdateCrawlerProxyOrderPurchaseInvoiceBulkPayload, UpdateCrawlerProxyOrderPurchaseInvoiceBulkResult, AcceptCrawlerProxyOrderForAdminPayload, CheckCrawlerProxyOrderStockForAdminPayload, RequestCrawlerProxyOrderPaymentForAdminPayload, GetPriceCompareAffiliatePInfosForAdminPayload, GetPriceCompareAffiliatePInfosForAdminResult, GetPriceCompareAffiliatePInfosForAdminExcelResult, GetPriceCompareAffiliateSettleDoneRefundedPInfosForAdminPayload, GetPriceCompareAffiliateSettleDoneRefundedPInfosForAdminExcelResult, UpdatePriceCompareAffiliateSettleStatusPayload, GetCrawlerForwardingAgentsForAdminPayload, GetCrawlerForwardingAgentsForAdminResult, CreateCrawlerForwardingAgentForAdminPayload, UpdateCrawlerForwardingAgentForAdminPayload, UpdateCrawlerForwardingAgentActiveForAdminPayload } from '../../dto/purchased-info.modules/purchased-info-admin';
4
4
  export declare class AmqpPurchasedInfoAdminService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
@@ -19,7 +19,7 @@ export declare class AmqpPurchasedInfoAdminService {
19
19
  updateProcessFinishedToCancelled(payload: UpdateProcessFinishedToCancelledPayload, param: AbstractParam): Promise<void>;
20
20
  getDeliveryListForAdmin(payload: GetDeliveryListForAdminPayload, param: AbstractParam): Promise<GetDeliveryListForAdminResult>;
21
21
  upsertInvoiceForAdmin(payload: UpsertInvoiceForAdminPayload, param: AbstractParam): Promise<void>;
22
- upsertInvoiceBulkForAdmin(payload: UpsertInvoiceBulkForAdminPayload, param: AbstractParam): Promise<UpsertInvoiceBulkForAdminResult>;
22
+ updateCrawlerProxyOrderPurchaseInvoiceBulk(payload: UpdateCrawlerProxyOrderPurchaseInvoiceBulkPayload, param: AbstractParam): Promise<UpdateCrawlerProxyOrderPurchaseInvoiceBulkResult>;
23
23
  deleteInvoiceForAdmin(payload: DeleteInvoiceForAdminPayload, param: AbstractParam): Promise<void>;
24
24
  upsertSplitInvoiceForAdmin(payload: UpsertSplitInvoiceForAdminPayload, param: AbstractParam): Promise<void>;
25
25
  deleteSplitInvoiceForAdmin(payload: DeleteSplitInvoiceForAdminPayload, param: AbstractParam): Promise<void>;
@@ -64,8 +64,8 @@ let AmqpPurchasedInfoAdminService = class AmqpPurchasedInfoAdminService {
64
64
  async upsertInvoiceForAdmin(payload, param) {
65
65
  return this.amqpManager.call('관리자용 단일 송장 등록/수정', 'purchased-info-admin.upsert.invoice', payload, param, { isErrorThrowing: true });
66
66
  }
67
- async upsertInvoiceBulkForAdmin(payload, param) {
68
- return this.amqpManager.call('관리자용 일괄 송장 등록/수정', 'purchased-info-admin.upsert.invoice-bulk', payload, param, { isErrorThrowing: true });
67
+ async updateCrawlerProxyOrderPurchaseInvoiceBulk(payload, param) {
68
+ return this.amqpManager.call('관리자용 크롤러 사입 택배사·송장번호 일괄 수정', 'purchased-info-admin.update.crawler-proxy-order-purchase-invoice-bulk', payload, param, { isErrorThrowing: true });
69
69
  }
70
70
  async deleteInvoiceForAdmin(payload, param) {
71
71
  return this.amqpManager.call('관리자용 단일 송장 삭제', 'purchased-info-admin.delete.invoice', 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.7.207",
3
+ "version": "0.7.209",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -1 +0,0 @@
1
- export * from './query';
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./query"), exports);
@@ -1,13 +0,0 @@
1
- /** 크롤링 대신구매 Slack 스레드 링크 조회 요청 */
2
- export declare class GetCrawlerProxyOrderSlackThreadLinksPayload {
3
- pInfoIds: string[];
4
- }
5
- /** 결제정보별 크롤링 대신구매 Slack 스레드 링크 */
6
- export declare class CrawlerProxyOrderSlackThreadLink {
7
- pInfoId: string;
8
- slackThreadUrl: string;
9
- }
10
- /** 크롤링 대신구매 Slack 스레드 링크 조회 결과 */
11
- export declare class GetCrawlerProxyOrderSlackThreadLinksResult {
12
- links: CrawlerProxyOrderSlackThreadLink[];
13
- }
@@ -1,51 +0,0 @@
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.GetCrawlerProxyOrderSlackThreadLinksResult = exports.CrawlerProxyOrderSlackThreadLink = exports.GetCrawlerProxyOrderSlackThreadLinksPayload = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const class_transformer_1 = require("class-transformer");
15
- /** 크롤링 대신구매 Slack 스레드 링크 조회 요청 */
16
- class GetCrawlerProxyOrderSlackThreadLinksPayload {
17
- }
18
- exports.GetCrawlerProxyOrderSlackThreadLinksPayload = GetCrawlerProxyOrderSlackThreadLinksPayload;
19
- __decorate([
20
- (0, class_validator_1.IsArray)(),
21
- (0, class_validator_1.ArrayMinSize)(1),
22
- (0, class_validator_1.ArrayMaxSize)(200),
23
- (0, class_validator_1.ArrayUnique)(),
24
- (0, class_validator_1.IsString)({ each: true }),
25
- (0, class_validator_1.IsNotEmpty)({ each: true }),
26
- __metadata("design:type", Array)
27
- ], GetCrawlerProxyOrderSlackThreadLinksPayload.prototype, "pInfoIds", void 0);
28
- /** 결제정보별 크롤링 대신구매 Slack 스레드 링크 */
29
- class CrawlerProxyOrderSlackThreadLink {
30
- }
31
- exports.CrawlerProxyOrderSlackThreadLink = CrawlerProxyOrderSlackThreadLink;
32
- __decorate([
33
- (0, class_validator_1.IsString)(),
34
- (0, class_validator_1.IsNotEmpty)(),
35
- __metadata("design:type", String)
36
- ], CrawlerProxyOrderSlackThreadLink.prototype, "pInfoId", void 0);
37
- __decorate([
38
- (0, class_validator_1.IsString)(),
39
- (0, class_validator_1.IsNotEmpty)(),
40
- __metadata("design:type", String)
41
- ], CrawlerProxyOrderSlackThreadLink.prototype, "slackThreadUrl", void 0);
42
- /** 크롤링 대신구매 Slack 스레드 링크 조회 결과 */
43
- class GetCrawlerProxyOrderSlackThreadLinksResult {
44
- }
45
- exports.GetCrawlerProxyOrderSlackThreadLinksResult = GetCrawlerProxyOrderSlackThreadLinksResult;
46
- __decorate([
47
- (0, class_validator_1.IsArray)(),
48
- (0, class_validator_1.ValidateNested)({ each: true }),
49
- (0, class_transformer_1.Type)(() => CrawlerProxyOrderSlackThreadLink),
50
- __metadata("design:type", Array)
51
- ], GetCrawlerProxyOrderSlackThreadLinksResult.prototype, "links", void 0);
@@ -1 +0,0 @@
1
- export * from './get-crawler-proxy-order-slack-thread-links.dto';
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./get-crawler-proxy-order-slack-thread-links.dto"), exports);
@@ -1,34 +0,0 @@
1
- /** @description 관리자용 일괄 송장 등록/수정 개별 처리 결과 */
2
- export interface UpsertInvoiceBulkForAdminResultItem {
3
- pInfoId: string;
4
- failType?: string;
5
- reason?: string;
6
- }
7
- /**
8
- * @author jun
9
- * @description 관리자용 일괄 송장 등록/수정 payload
10
- */
11
- export declare class UpsertInvoiceBulkForAdminPayload {
12
- /** 송장을 등록하거나 수정할 결제정보 ID 목록 */
13
- pInfoIds: string[];
14
- /** 택배사명 */
15
- SCompany: string;
16
- /** 송장번호 */
17
- invoice: string;
18
- /** 배송 조회 URL */
19
- invoiceUrl?: string;
20
- /** 택배사 직접 입력 여부 */
21
- isDirectInput: boolean;
22
- /** 구매자 알림 발송 여부 */
23
- isNoti: boolean;
24
- }
25
- /**
26
- * @author jun
27
- * @description 관리자용 일괄 송장 등록/수정 결과
28
- */
29
- export declare class UpsertInvoiceBulkForAdminResult {
30
- allCount: number;
31
- successCount: number;
32
- failCount: number;
33
- results: UpsertInvoiceBulkForAdminResultItem[];
34
- }
@@ -1,56 +0,0 @@
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.UpsertInvoiceBulkForAdminResult = exports.UpsertInvoiceBulkForAdminPayload = void 0;
13
- const class_validator_1 = require("class-validator");
14
- /**
15
- * @author jun
16
- * @description 관리자용 일괄 송장 등록/수정 payload
17
- */
18
- class UpsertInvoiceBulkForAdminPayload {
19
- }
20
- exports.UpsertInvoiceBulkForAdminPayload = UpsertInvoiceBulkForAdminPayload;
21
- __decorate([
22
- (0, class_validator_1.IsArray)(),
23
- (0, class_validator_1.ArrayMinSize)(1),
24
- (0, class_validator_1.ArrayMaxSize)(50),
25
- (0, class_validator_1.ArrayUnique)(),
26
- (0, class_validator_1.IsMongoId)({ each: true }),
27
- __metadata("design:type", Array)
28
- ], UpsertInvoiceBulkForAdminPayload.prototype, "pInfoIds", void 0);
29
- __decorate([
30
- (0, class_validator_1.IsString)(),
31
- __metadata("design:type", String)
32
- ], UpsertInvoiceBulkForAdminPayload.prototype, "SCompany", void 0);
33
- __decorate([
34
- (0, class_validator_1.IsString)(),
35
- __metadata("design:type", String)
36
- ], UpsertInvoiceBulkForAdminPayload.prototype, "invoice", void 0);
37
- __decorate([
38
- (0, class_validator_1.IsOptional)(),
39
- (0, class_validator_1.IsString)(),
40
- __metadata("design:type", String)
41
- ], UpsertInvoiceBulkForAdminPayload.prototype, "invoiceUrl", void 0);
42
- __decorate([
43
- (0, class_validator_1.IsBoolean)(),
44
- __metadata("design:type", Boolean)
45
- ], UpsertInvoiceBulkForAdminPayload.prototype, "isDirectInput", void 0);
46
- __decorate([
47
- (0, class_validator_1.IsBoolean)(),
48
- __metadata("design:type", Boolean)
49
- ], UpsertInvoiceBulkForAdminPayload.prototype, "isNoti", void 0);
50
- /**
51
- * @author jun
52
- * @description 관리자용 일괄 송장 등록/수정 결과
53
- */
54
- class UpsertInvoiceBulkForAdminResult {
55
- }
56
- exports.UpsertInvoiceBulkForAdminResult = UpsertInvoiceBulkForAdminResult;