@yolo-croket-dev/amqp-access 0.7.340-sj → 0.7.340

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.
@@ -1,5 +1,4 @@
1
1
  export * from './add-bundle-p-info.dto';
2
2
  export * from './reg-bundle-p-info.dto';
3
3
  export * from './sync-process-bulk.dto';
4
- export * from './sync-refund-waiting-status-in-bundle-p-info.dto';
5
4
  export * from './update-not-equal-payment-date.dto';
@@ -17,5 +17,4 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./add-bundle-p-info.dto"), exports);
18
18
  __exportStar(require("./reg-bundle-p-info.dto"), exports);
19
19
  __exportStar(require("./sync-process-bulk.dto"), exports);
20
- __exportStar(require("./sync-refund-waiting-status-in-bundle-p-info.dto"), exports);
21
20
  __exportStar(require("./update-not-equal-payment-date.dto"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.7.340-sj",
3
+ "version": "0.7.340",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -23,7 +23,7 @@
23
23
  "@yolo-croket-dev/domain": "0.2.47",
24
24
  "@yolo-croket-dev/dto-v2": "0.2.30",
25
25
  "@yolo-croket-dev/entity": "0.2.109",
26
- "@yolo-croket-dev/entity-v2": "0.3.48-sj",
26
+ "@yolo-croket-dev/entity-v2": "0.3.45",
27
27
  "class-transformer": "^0.5.1",
28
28
  "class-validator": "^0.13.2",
29
29
  "dotenv": "^16.3.1"
@@ -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/interfaces").Type<Pick<AdCenterSettle, "_id" | "sellerId" | "publicId" | "couponInfo" | "pastStoreInfo" | "expectedSettleDateString" | "adType" | "adCenterStartDateString" | "adCenterEndDateString" | "actualSettleDateString" | "PInfoId" | "transactionInfo" | "subtractionSettleAmountInfo" | "bizMemo" | "financeMemo" | "settlementManagerInfo" | "googleSheetInfo">>;
3
+ declare const AdCenterSettleForGoogleSheet_base: import("@nestjs/common").Type<Pick<AdCenterSettle, "_id" | "sellerId" | "publicId" | "couponInfo" | "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: {
@@ -9,6 +9,10 @@ export declare enum InstantSelectionSyncRunOutcomeEnum {
9
9
  CLAIM_LOST = "CLAIM_LOST",
10
10
  DISABLED = "DISABLED"
11
11
  }
12
+ export declare enum InstantSelectionSyncSourceEnum {
13
+ ZOZO = "ZOZO",
14
+ ROKIT = "ROKIT"
15
+ }
12
16
  export declare class RunInstantSelectionSyncPayload {
13
17
  storeItemId: string;
14
18
  }
@@ -20,6 +24,7 @@ export declare class RunInstantSelectionSyncResult {
20
24
  reason?: StoreItemInstantSelectionSyncReasonEnum;
21
25
  }
22
26
  export declare class BackfillInstantSelectionSyncPayload {
27
+ source: InstantSelectionSyncSourceEnum;
23
28
  limit: 20 | 50 | 100;
24
29
  searchAfter?: string;
25
30
  }
@@ -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.ResetInstantSelectionSyncResult = exports.ResetInstantSelectionSyncPayload = exports.BackfillInstantSelectionSyncResult = exports.BackfillInstantSelectionSyncPayload = exports.RunInstantSelectionSyncResult = exports.RunInstantSelectionSyncPayload = exports.InstantSelectionSyncRunOutcomeEnum = void 0;
12
+ exports.ResetInstantSelectionSyncResult = exports.ResetInstantSelectionSyncPayload = exports.BackfillInstantSelectionSyncResult = exports.BackfillInstantSelectionSyncPayload = exports.RunInstantSelectionSyncResult = exports.RunInstantSelectionSyncPayload = exports.InstantSelectionSyncSourceEnum = exports.InstantSelectionSyncRunOutcomeEnum = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const class_transformer_1 = require("class-transformer");
15
15
  var InstantSelectionSyncRunOutcomeEnum;
@@ -23,6 +23,11 @@ var InstantSelectionSyncRunOutcomeEnum;
23
23
  InstantSelectionSyncRunOutcomeEnum["CLAIM_LOST"] = "CLAIM_LOST";
24
24
  InstantSelectionSyncRunOutcomeEnum["DISABLED"] = "DISABLED";
25
25
  })(InstantSelectionSyncRunOutcomeEnum || (exports.InstantSelectionSyncRunOutcomeEnum = InstantSelectionSyncRunOutcomeEnum = {}));
26
+ var InstantSelectionSyncSourceEnum;
27
+ (function (InstantSelectionSyncSourceEnum) {
28
+ InstantSelectionSyncSourceEnum["ZOZO"] = "ZOZO";
29
+ InstantSelectionSyncSourceEnum["ROKIT"] = "ROKIT";
30
+ })(InstantSelectionSyncSourceEnum || (exports.InstantSelectionSyncSourceEnum = InstantSelectionSyncSourceEnum = {}));
26
31
  class RunInstantSelectionSyncPayload {
27
32
  }
28
33
  exports.RunInstantSelectionSyncPayload = RunInstantSelectionSyncPayload;
@@ -39,6 +44,10 @@ class BackfillInstantSelectionSyncPayload {
39
44
  }
40
45
  }
41
46
  exports.BackfillInstantSelectionSyncPayload = BackfillInstantSelectionSyncPayload;
47
+ __decorate([
48
+ (0, class_validator_1.IsEnum)(InstantSelectionSyncSourceEnum),
49
+ __metadata("design:type", String)
50
+ ], BackfillInstantSelectionSyncPayload.prototype, "source", void 0);
42
51
  __decorate([
43
52
  (0, class_validator_1.IsOptional)(),
44
53
  (0, class_transformer_1.Type)(() => Number),
@@ -1,20 +0,0 @@
1
- import { RefundWaitingStatusEnum } from '@yolo-croket-dev/entity-v2/purchased-info';
2
- /**
3
- * @author sj
4
- * @description BundlePInfo의 환불 대기 상태 스냅샷을 상태별 keyset 방식으로 보정하는 운영 migration payload다.
5
- */
6
- export declare class SyncRefundWaitingStatusInBundlePInfoPayload {
7
- status: RefundWaitingStatusEnum;
8
- afterPInfoId?: string;
9
- batchSize?: number;
10
- maxBatches?: number;
11
- dryRun?: boolean;
12
- }
13
- export declare class SyncRefundWaitingStatusInBundlePInfoResult {
14
- scannedPInfoCount: number;
15
- changedPInfoCount: number;
16
- setCount: number;
17
- unsetCount: number;
18
- lastPInfoId?: string;
19
- hasMore: boolean;
20
- }
@@ -1,52 +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.SyncRefundWaitingStatusInBundlePInfoResult = exports.SyncRefundWaitingStatusInBundlePInfoPayload = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const purchased_info_1 = require("@yolo-croket-dev/entity-v2/purchased-info");
15
- /**
16
- * @author sj
17
- * @description BundlePInfo의 환불 대기 상태 스냅샷을 상태별 keyset 방식으로 보정하는 운영 migration payload다.
18
- */
19
- class SyncRefundWaitingStatusInBundlePInfoPayload {
20
- }
21
- exports.SyncRefundWaitingStatusInBundlePInfoPayload = SyncRefundWaitingStatusInBundlePInfoPayload;
22
- __decorate([
23
- (0, class_validator_1.IsEnum)(purchased_info_1.RefundWaitingStatusEnum),
24
- __metadata("design:type", String)
25
- ], SyncRefundWaitingStatusInBundlePInfoPayload.prototype, "status", void 0);
26
- __decorate([
27
- (0, class_validator_1.IsMongoId)(),
28
- (0, class_validator_1.IsOptional)(),
29
- __metadata("design:type", String)
30
- ], SyncRefundWaitingStatusInBundlePInfoPayload.prototype, "afterPInfoId", void 0);
31
- __decorate([
32
- (0, class_validator_1.IsInt)(),
33
- (0, class_validator_1.Min)(1),
34
- (0, class_validator_1.Max)(200),
35
- (0, class_validator_1.IsOptional)(),
36
- __metadata("design:type", Number)
37
- ], SyncRefundWaitingStatusInBundlePInfoPayload.prototype, "batchSize", void 0);
38
- __decorate([
39
- (0, class_validator_1.IsInt)(),
40
- (0, class_validator_1.Min)(1),
41
- (0, class_validator_1.Max)(100),
42
- (0, class_validator_1.IsOptional)(),
43
- __metadata("design:type", Number)
44
- ], SyncRefundWaitingStatusInBundlePInfoPayload.prototype, "maxBatches", void 0);
45
- __decorate([
46
- (0, class_validator_1.IsBoolean)(),
47
- (0, class_validator_1.IsOptional)(),
48
- __metadata("design:type", Boolean)
49
- ], SyncRefundWaitingStatusInBundlePInfoPayload.prototype, "dryRun", void 0);
50
- class SyncRefundWaitingStatusInBundlePInfoResult {
51
- }
52
- exports.SyncRefundWaitingStatusInBundlePInfoResult = SyncRefundWaitingStatusInBundlePInfoResult;
@@ -1,20 +0,0 @@
1
- import { StoreItemEntity as StoreItem } from '@yolo-croket-dev/entity-v2/store-item';
2
- export declare enum GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum {
3
- PHRASE = "PHRASE"
4
- }
5
- export declare class GetStoreItemsForKakaoCatalogPayload {
6
- mainCategories?: string[];
7
- excludedSubCategories?: string[];
8
- itemNameKeywords?: string[];
9
- itemNameKeywordMatchType?: GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum;
10
- limit: number;
11
- paginationToken?: string;
12
- }
13
- export type GetStoreItemsForKakaoCatalogItem = Pick<StoreItem, '_id' | 'itemName' | 'contents' | 'itemPriceForBuyer' | 'itemPrice' | 'itemImg' | 'mainCategory' | 'subCategory' | 'brandInfo' | 'mainSku' | 'nation' | 'isSelling' | 'isDelete' | 'remainCount' | 'itemType' | 'isSecret'> & {
14
- paginationToken?: string;
15
- };
16
- export declare class GetStoreItemsForKakaoCatalogResult {
17
- storeItems: GetStoreItemsForKakaoCatalogItem[];
18
- lastPaginationToken?: string;
19
- maxPage?: number;
20
- }
@@ -1,57 +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.GetStoreItemsForKakaoCatalogResult = exports.GetStoreItemsForKakaoCatalogPayload = exports.GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum = void 0;
13
- const class_validator_1 = require("class-validator");
14
- const class_transformer_1 = require("class-transformer");
15
- var GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum;
16
- (function (GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum) {
17
- GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum["PHRASE"] = "PHRASE";
18
- })(GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum || (exports.GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum = GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum = {}));
19
- class GetStoreItemsForKakaoCatalogPayload {
20
- }
21
- exports.GetStoreItemsForKakaoCatalogPayload = GetStoreItemsForKakaoCatalogPayload;
22
- __decorate([
23
- (0, class_validator_1.IsArray)(),
24
- (0, class_validator_1.IsString)({ each: true }),
25
- (0, class_validator_1.IsOptional)(),
26
- __metadata("design:type", Array)
27
- ], GetStoreItemsForKakaoCatalogPayload.prototype, "mainCategories", void 0);
28
- __decorate([
29
- (0, class_validator_1.IsArray)(),
30
- (0, class_validator_1.IsString)({ each: true }),
31
- (0, class_validator_1.IsOptional)(),
32
- __metadata("design:type", Array)
33
- ], GetStoreItemsForKakaoCatalogPayload.prototype, "excludedSubCategories", void 0);
34
- __decorate([
35
- (0, class_validator_1.IsArray)(),
36
- (0, class_validator_1.IsString)({ each: true }),
37
- (0, class_validator_1.IsOptional)(),
38
- __metadata("design:type", Array)
39
- ], GetStoreItemsForKakaoCatalogPayload.prototype, "itemNameKeywords", void 0);
40
- __decorate([
41
- (0, class_validator_1.IsEnum)(GetStoreItemsForKakaoCatalogKeywordMatchTypeEnum),
42
- (0, class_validator_1.IsOptional)(),
43
- __metadata("design:type", String)
44
- ], GetStoreItemsForKakaoCatalogPayload.prototype, "itemNameKeywordMatchType", void 0);
45
- __decorate([
46
- (0, class_validator_1.IsNumber)(),
47
- (0, class_transformer_1.Type)(() => Number),
48
- __metadata("design:type", Number)
49
- ], GetStoreItemsForKakaoCatalogPayload.prototype, "limit", void 0);
50
- __decorate([
51
- (0, class_validator_1.IsString)(),
52
- (0, class_validator_1.IsOptional)(),
53
- __metadata("design:type", String)
54
- ], GetStoreItemsForKakaoCatalogPayload.prototype, "paginationToken", void 0);
55
- class GetStoreItemsForKakaoCatalogResult {
56
- }
57
- exports.GetStoreItemsForKakaoCatalogResult = GetStoreItemsForKakaoCatalogResult;