@yolo-croket-dev/amqp-access 0.4.27 → 0.4.29-sj

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.4.27",
3
+ "version": "0.4.29-sj",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -0,0 +1,24 @@
1
+ import { StoreItemPriceFluctuationLog } from '@yolo-croket-dev/entity-v2/store-item-price-fluctuation-log';
2
+ /** 시작일과 종료일 사이에서의 상품 가격 변동 가져오기 */
3
+ export declare class GetStoreItemPriceFluctuationCompareBetweenTimesPayload {
4
+ /** 시작일 */
5
+ startedAt: string;
6
+ /** 종료일 */
7
+ endedAt: string;
8
+ /** 가져올 개수 */
9
+ limit: number;
10
+ /** 넘길 개수 */
11
+ skip?: number;
12
+ }
13
+ /** 지정된 시간 사이에서의 첫 수정이 있던 값과 마지막 수정이 있던 값의 차이 */
14
+ export interface StoreItemPriceFluctuationCompareBetweenTimesItem {
15
+ /** 상품 아이디 */
16
+ storeItemId: string;
17
+ /** 가장 첫번째 수정 로그 */
18
+ firstLog: StoreItemPriceFluctuationLog;
19
+ /** 가장 마지막 수정 로그 */
20
+ lastLog: StoreItemPriceFluctuationLog;
21
+ }
22
+ export interface GetStoreItemPriceFluctuationCompareBetweenTimesResult {
23
+ storeItemPriceFluctuations: StoreItemPriceFluctuationCompareBetweenTimesItem[];
24
+ }
@@ -0,0 +1,36 @@
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.GetStoreItemPriceFluctuationCompareBetweenTimesPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const class_transformer_1 = require("class-transformer");
15
+ /** 시작일과 종료일 사이에서의 상품 가격 변동 가져오기 */
16
+ class GetStoreItemPriceFluctuationCompareBetweenTimesPayload {
17
+ }
18
+ exports.GetStoreItemPriceFluctuationCompareBetweenTimesPayload = GetStoreItemPriceFluctuationCompareBetweenTimesPayload;
19
+ __decorate([
20
+ (0, class_validator_1.IsDateString)(),
21
+ __metadata("design:type", String)
22
+ ], GetStoreItemPriceFluctuationCompareBetweenTimesPayload.prototype, "startedAt", void 0);
23
+ __decorate([
24
+ (0, class_validator_1.IsDateString)(),
25
+ __metadata("design:type", String)
26
+ ], GetStoreItemPriceFluctuationCompareBetweenTimesPayload.prototype, "endedAt", void 0);
27
+ __decorate([
28
+ (0, class_validator_1.IsNumber)(),
29
+ (0, class_transformer_1.Type)(() => Number),
30
+ __metadata("design:type", Number)
31
+ ], GetStoreItemPriceFluctuationCompareBetweenTimesPayload.prototype, "limit", void 0);
32
+ __decorate([
33
+ (0, class_validator_1.IsOptional)(),
34
+ (0, class_validator_1.IsNumber)(),
35
+ __metadata("design:type", Number)
36
+ ], GetStoreItemPriceFluctuationCompareBetweenTimesPayload.prototype, "skip", void 0);
@@ -0,0 +1 @@
1
+ export * from './get-compare-per-day-store-item-price-fluctuation.dto';
@@ -0,0 +1,17 @@
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-compare-per-day-store-item-price-fluctuation.dto"), exports);