@yolo-croket-dev/amqp-access 0.7.420 → 0.7.422
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/excel-upload-server/dto/store-item-bulk/query/get-bulk-item-job-rows.dto.d.ts +15 -0
- package/order-server/dto/buyma-order/command/buyma-order.dto.d.ts +10 -0
- package/order-server/dto/buyma-order/command/buyma-order.dto.js +21 -1
- package/order-server/services/amqp.buyma-order.service.d.ts +1 -0
- package/order-server/services/amqp.buyma-order.service.js +3 -0
- package/package.json +1 -1
- package/payment-service/dto/ad-center-settle/query/get-ad-center-settles-for-google-sheet.dto.d.ts +1 -1
|
@@ -27,10 +27,25 @@ export declare class GetBulkItemJobRowsPayload {
|
|
|
27
27
|
page: number;
|
|
28
28
|
limit: number;
|
|
29
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* @author 홍준
|
|
32
|
+
* @description 상품 대량 작업의 오류 복구·미처리 행 집계입니다.
|
|
33
|
+
* @process 행 상태 필터와 페이지에 관계없이 해당 셀러 작업 전체에서 입력 오류·실행 실패·미처리를 구분합니다.
|
|
34
|
+
*/
|
|
35
|
+
export interface BulkItemJobRowsSummary {
|
|
36
|
+
/** 실행 시도 전 분석에서 실패한 행 수입니다. 파일 수정 후 다시 분석해야 합니다. */
|
|
37
|
+
inputErrorCount: number;
|
|
38
|
+
/** 실행 시도 후 실패한 행 수입니다. 같은 내용으로 실패 행 재시도가 가능합니다. */
|
|
39
|
+
retryableCount: number;
|
|
40
|
+
/** 취소 또는 명시적 제외로 실행하지 않은 행 수입니다. 취소 완료 작업에 남은 대기·경고 행을 포함합니다. */
|
|
41
|
+
skippedCount: number;
|
|
42
|
+
}
|
|
30
43
|
/** 셀러 상품 대량 작업 행 페이지 목록 응답 */
|
|
31
44
|
export interface GetBulkItemJobRowsResult {
|
|
32
45
|
page: number;
|
|
33
46
|
limit: number;
|
|
34
47
|
totalCount: number;
|
|
35
48
|
items: BulkItemJobRowItem[];
|
|
49
|
+
/** 작업 전체 집계입니다. 구버전 서버와의 호환을 위해 생략을 허용합니다. */
|
|
50
|
+
summary?: BulkItemJobRowsSummary;
|
|
36
51
|
}
|
|
@@ -136,3 +136,13 @@ export interface ReceiveBuymaWebhookResult {
|
|
|
136
136
|
duplicate: boolean;
|
|
137
137
|
result: 'APPLIED' | 'EXCLUDED';
|
|
138
138
|
}
|
|
139
|
+
/** @author jun @description 기존 n8n 주문 알림 링크 추가. @process 주문 반영 후 별도 인증 경로에서 호출하며 고객 원문을 전달하지 않는다. */
|
|
140
|
+
export declare class AppendBuymaSlackLinkPayload {
|
|
141
|
+
buymaAccountId: string;
|
|
142
|
+
buymaOrderNumber: string;
|
|
143
|
+
slackThreadUrl: string;
|
|
144
|
+
}
|
|
145
|
+
export interface AppendBuymaSlackLinkResult {
|
|
146
|
+
orderId: string;
|
|
147
|
+
added: boolean;
|
|
148
|
+
}
|
|
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.ReceiveBuymaWebhookPayload = exports.RecordBuymaRefundPayload = exports.ChangeBuymaOrderStatusPayload = exports.ConnectBuymaProcurementPayload = exports.ConfirmBuymaPaymentPayload = exports.UpdateBuymaOrderPayload = exports.BuymaOrderCommandPayload = exports.BuymaManualFieldsPayload = exports.BuymaInternationalShipmentPayload = exports.BuymaProcurementDetailsPayload = exports.BuymaLocalShipmentPayload = exports.BuymaProductMetadataPayload = exports.BuymaRecipientPayload = exports.BuymaSettlementPayload = exports.BuymaSettlementMoneyPayload = exports.BuymaMoneyPayload = void 0;
|
|
12
|
+
exports.AppendBuymaSlackLinkPayload = exports.ReceiveBuymaWebhookPayload = exports.RecordBuymaRefundPayload = exports.ChangeBuymaOrderStatusPayload = exports.ConnectBuymaProcurementPayload = exports.ConfirmBuymaPaymentPayload = exports.UpdateBuymaOrderPayload = exports.BuymaOrderCommandPayload = exports.BuymaManualFieldsPayload = exports.BuymaInternationalShipmentPayload = exports.BuymaProcurementDetailsPayload = exports.BuymaLocalShipmentPayload = exports.BuymaProductMetadataPayload = exports.BuymaRecipientPayload = exports.BuymaSettlementPayload = exports.BuymaSettlementMoneyPayload = exports.BuymaMoneyPayload = void 0;
|
|
13
13
|
/** @author jun @description Buyma 변경 계약. @process 허용 필드·수정 버전·담당자와 선택 입력을 정의한다. */
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
15
|
const class_validator_1 = require("class-validator");
|
|
@@ -585,3 +585,23 @@ __decorate([
|
|
|
585
585
|
(0, class_validator_1.Matches)(/^[a-f0-9]{64}$/),
|
|
586
586
|
__metadata("design:type", String)
|
|
587
587
|
], ReceiveBuymaWebhookPayload.prototype, "rawSha256", void 0);
|
|
588
|
+
/** @author jun @description 기존 n8n 주문 알림 링크 추가. @process 주문 반영 후 별도 인증 경로에서 호출하며 고객 원문을 전달하지 않는다. */
|
|
589
|
+
class AppendBuymaSlackLinkPayload {
|
|
590
|
+
}
|
|
591
|
+
exports.AppendBuymaSlackLinkPayload = AppendBuymaSlackLinkPayload;
|
|
592
|
+
__decorate([
|
|
593
|
+
(0, class_validator_1.IsString)(),
|
|
594
|
+
(0, class_validator_1.Matches)(/^\d{1,100}$/),
|
|
595
|
+
__metadata("design:type", String)
|
|
596
|
+
], AppendBuymaSlackLinkPayload.prototype, "buymaAccountId", void 0);
|
|
597
|
+
__decorate([
|
|
598
|
+
(0, class_validator_1.IsString)(),
|
|
599
|
+
(0, class_validator_1.Matches)(/^\d{1,100}$/),
|
|
600
|
+
__metadata("design:type", String)
|
|
601
|
+
], AppendBuymaSlackLinkPayload.prototype, "buymaOrderNumber", void 0);
|
|
602
|
+
__decorate([
|
|
603
|
+
(0, class_validator_1.IsString)(),
|
|
604
|
+
(0, class_validator_1.MaxLength)(500),
|
|
605
|
+
(0, class_validator_1.Matches)(/^https:\/\/yeogooworkspace\.slack\.com\/archives\/C07NJLSQSLB\/p\d{16,20}$/),
|
|
606
|
+
__metadata("design:type", String)
|
|
607
|
+
], AppendBuymaSlackLinkPayload.prototype, "slackThreadUrl", void 0);
|
|
@@ -14,4 +14,5 @@ export declare class AmqpBuymaOrderService {
|
|
|
14
14
|
changeStatus(payload: DTO.ChangeBuymaOrderStatusPayload, param: AbstractParam): Promise<DTO.UpdateBuymaOrderResult>;
|
|
15
15
|
recordRefund(payload: DTO.RecordBuymaRefundPayload, param: AbstractParam): Promise<DTO.UpdateBuymaOrderResult>;
|
|
16
16
|
receiveWebhook(payload: DTO.ReceiveBuymaWebhookPayload, param: AbstractParam): Promise<DTO.ReceiveBuymaWebhookResult>;
|
|
17
|
+
appendSlackLink(payload: DTO.AppendBuymaSlackLinkPayload, param: AbstractParam): Promise<DTO.AppendBuymaSlackLinkResult>;
|
|
17
18
|
}
|
|
@@ -51,6 +51,9 @@ let AmqpBuymaOrderService = class AmqpBuymaOrderService {
|
|
|
51
51
|
receiveWebhook(payload, param) {
|
|
52
52
|
return this.manager.call('Buyma 웹훅 접수', 'buyma-order.receive.webhook', payload, param, { isErrorThrowing: true });
|
|
53
53
|
}
|
|
54
|
+
appendSlackLink(payload, param) {
|
|
55
|
+
return this.manager.call('Buyma Slack 이력 자동 연결', 'buyma-order.append.slack-link', payload, param, { isErrorThrowing: true });
|
|
56
|
+
}
|
|
54
57
|
};
|
|
55
58
|
exports.AmqpBuymaOrderService = AmqpBuymaOrderService;
|
|
56
59
|
exports.AmqpBuymaOrderService = AmqpBuymaOrderService = __decorate([
|
package/package.json
CHANGED
package/payment-service/dto/ad-center-settle/query/get-ad-center-settles-for-google-sheet.dto.d.ts
CHANGED
|
@@ -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/interfaces").Type<Pick<AdCenterSettle, "_id" | "sellerId" | "couponInfo" | "publicId" | "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: {
|