@yolo-croket-dev/amqp-access 0.7.235 → 0.7.236

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,11 @@
1
+ {
2
+ "permissions": {
3
+ "allow": [
4
+ "Read(//Users/jun/Desktop/code/work/monorepo/**)",
5
+ "Bash(npm ls:*)",
6
+ "Bash(cd:*)",
7
+ "WebFetch(domain:developers.nicepay.co.kr)",
8
+ "Bash(npx lerna:*)"
9
+ ]
10
+ }
11
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.7.235",
3
+ "version": "0.7.236",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -18,6 +18,7 @@ export declare class GetItemGroupNumsPayload {
18
18
  maxPrice?: number;
19
19
  includeItemIds?: string[];
20
20
  brandName?: string;
21
+ includeUsedItems?: boolean;
21
22
  }
22
23
  interface CategoryGroup {
23
24
  mainCategory: string;
@@ -85,6 +85,11 @@ __decorate([
85
85
  (0, class_validator_1.IsOptional)(),
86
86
  __metadata("design:type", String)
87
87
  ], GetItemGroupNumsPayload.prototype, "brandName", void 0);
88
+ __decorate([
89
+ (0, class_validator_1.IsBoolean)(),
90
+ (0, class_validator_1.IsOptional)(),
91
+ __metadata("design:type", Boolean)
92
+ ], GetItemGroupNumsPayload.prototype, "includeUsedItems", void 0);
88
93
  class GetItemGroupNumsResult {
89
94
  }
90
95
  exports.GetItemGroupNumsResult = GetItemGroupNumsResult;
@@ -1,15 +0,0 @@
1
- /**
2
- * @author jun
3
- * @description SNS ROAS 엑셀 생성 AMQP 응답입니다.
4
- * @process 생성된 파일과 처리 범위 및 처리 건수를 호출 서버에 반환합니다.
5
- */
6
- export interface CreateSnsRoasReportExcelResult {
7
- downloadUrl: string;
8
- endDate: string;
9
- exchangeRateKrwPerUsd: number;
10
- fileName: string;
11
- resultRowCount: number;
12
- sourceRowCount: number;
13
- startDate: string;
14
- transactionCount: number;
15
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +0,0 @@
1
- /**
2
- * @author jun
3
- * @description SNS ROAS 엑셀 생성에 사용할 광고 소재별 일자 광고비입니다.
4
- * @process 광고 소재명, 일자, USD 광고비의 형식과 범위를 검증합니다.
5
- */
6
- export declare class SnsRoasSourceRow {
7
- adName: string;
8
- date: string;
9
- spendUsd: number;
10
- }
@@ -1,38 +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.SnsRoasSourceRow = void 0;
13
- const class_validator_1 = require("class-validator");
14
- /**
15
- * @author jun
16
- * @description SNS ROAS 엑셀 생성에 사용할 광고 소재별 일자 광고비입니다.
17
- * @process 광고 소재명, 일자, USD 광고비의 형식과 범위를 검증합니다.
18
- */
19
- class SnsRoasSourceRow {
20
- }
21
- exports.SnsRoasSourceRow = SnsRoasSourceRow;
22
- __decorate([
23
- (0, class_validator_1.IsString)(),
24
- (0, class_validator_1.IsNotEmpty)(),
25
- __metadata("design:type", String)
26
- ], SnsRoasSourceRow.prototype, "adName", void 0);
27
- __decorate([
28
- (0, class_validator_1.IsDateString)({ strict: true }),
29
- __metadata("design:type", String)
30
- ], SnsRoasSourceRow.prototype, "date", void 0);
31
- __decorate([
32
- (0, class_validator_1.IsNumber)({
33
- allowInfinity: false,
34
- allowNaN: false,
35
- }),
36
- (0, class_validator_1.Min)(0),
37
- __metadata("design:type", Number)
38
- ], SnsRoasSourceRow.prototype, "spendUsd", void 0);
@@ -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;