@yolo-croket-dev/amqp-access 0.4.112-jun.0 → 0.4.112-sj1

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 (68) hide show
  1. package/coupon-server/dto/coupon-template/query/index.d.ts +0 -1
  2. package/coupon-server/dto/coupon-template/query/index.js +0 -1
  3. package/coupon-server/services/amqp.coupon-template.service.d.ts +1 -2
  4. package/coupon-server/services/amqp.coupon-template.service.js +0 -3
  5. package/order-server/dto/purchasedinfos/query/index.d.ts +0 -1
  6. package/order-server/dto/purchasedinfos/query/index.js +0 -1
  7. package/order-server/services/amqp.purchased-info.service.d.ts +1 -2
  8. package/order-server/services/amqp.purchased-info.service.js +0 -3
  9. package/package.json +2 -2
  10. package/store-item-server/amqp.store-item-server.module.js +4 -0
  11. package/store-item-server/dto/brand/command/auto-create-brand.dto.d.ts +8 -0
  12. package/store-item-server/dto/brand/command/auto-create-brand.dto.js +30 -0
  13. package/store-item-server/dto/brand/command/create-brand.dto.d.ts +3 -0
  14. package/store-item-server/dto/brand/command/create-brand.dto.js +21 -0
  15. package/store-item-server/dto/brand/command/delete-brand.dto.d.ts +3 -0
  16. package/store-item-server/dto/{store-item/query/resize-item-img.dto.js → brand/command/delete-brand.dto.js} +5 -4
  17. package/store-item-server/dto/brand/command/index.d.ts +5 -0
  18. package/store-item-server/dto/brand/command/index.js +21 -0
  19. package/store-item-server/dto/brand/command/update-brand-eng-name.dto.d.ts +4 -0
  20. package/store-item-server/dto/brand/command/update-brand-eng-name.dto.js +26 -0
  21. package/store-item-server/dto/brand/command/update-brand-name.dto.d.ts +4 -0
  22. package/store-item-server/dto/brand/command/update-brand-name.dto.js +26 -0
  23. package/store-item-server/dto/brand/index.d.ts +2 -0
  24. package/store-item-server/dto/brand/index.js +18 -0
  25. package/store-item-server/dto/brand/query/get-brands-by-brand-names.dto.d.ts +6 -0
  26. package/store-item-server/dto/brand/query/get-brands-by-brand-names.dto.js +21 -0
  27. package/store-item-server/dto/brand/query/get-brands-for-admin.dto.d.ts +9 -0
  28. package/store-item-server/dto/brand/query/get-brands-for-admin.dto.js +34 -0
  29. package/store-item-server/dto/brand/query/index.d.ts +2 -0
  30. package/store-item-server/dto/brand/query/index.js +18 -0
  31. package/store-item-server/dto/brand-cohort/command/create-brand-cohort.dto.d.ts +5 -0
  32. package/{coupon-server/dto/coupon-template/query/get-store-item-coupons-for-extraction-by-type.dto.js → store-item-server/dto/brand-cohort/command/create-brand-cohort.dto.js} +14 -11
  33. package/store-item-server/dto/brand-cohort/command/delete-brand-cohort.dto.d.ts +3 -0
  34. package/store-item-server/dto/brand-cohort/command/delete-brand-cohort.dto.js +21 -0
  35. package/store-item-server/dto/brand-cohort/command/index.d.ts +3 -0
  36. package/store-item-server/dto/brand-cohort/command/index.js +19 -0
  37. package/store-item-server/dto/brand-cohort/command/update-brand-cohort.dto.d.ts +6 -0
  38. package/store-item-server/dto/brand-cohort/command/update-brand-cohort.dto.js +36 -0
  39. package/store-item-server/dto/brand-cohort/index.d.ts +2 -0
  40. package/store-item-server/dto/brand-cohort/index.js +18 -0
  41. package/store-item-server/dto/brand-cohort/query/get-brand-cohorts-for-admin.dto.d.ts +11 -0
  42. package/store-item-server/dto/brand-cohort/query/get-brand-cohorts-for-admin.dto.js +34 -0
  43. package/store-item-server/dto/brand-cohort/query/index.d.ts +1 -0
  44. package/store-item-server/dto/brand-cohort/query/index.js +17 -0
  45. package/store-item-server/dto/index.d.ts +2 -0
  46. package/store-item-server/dto/index.js +2 -0
  47. package/store-item-server/dto/store-item/command/index.d.ts +1 -0
  48. package/store-item-server/dto/store-item/command/index.js +1 -0
  49. package/store-item-server/dto/store-item/command/update-brand-id-bulk.dto.d.ts +4 -0
  50. package/store-item-server/dto/store-item/command/update-brand-id-bulk.dto.js +26 -0
  51. package/store-item-server/dto/store-item/query/get-store-item-count-for-brand.dto.d.ts +6 -0
  52. package/store-item-server/dto/store-item/query/get-store-item-count-for-brand.dto.js +23 -0
  53. package/store-item-server/dto/store-item/query/index.d.ts +1 -2
  54. package/store-item-server/dto/store-item/query/index.js +1 -2
  55. package/store-item-server/services/amqp.brand-cohort.service.d.ts +13 -0
  56. package/store-item-server/services/amqp.brand-cohort.service.js +42 -0
  57. package/store-item-server/services/amqp.brand.service.d.ts +14 -0
  58. package/store-item-server/services/amqp.brand.service.js +48 -0
  59. package/store-item-server/services/amqp.store-item.service.d.ts +1 -3
  60. package/store-item-server/services/amqp.store-item.service.js +0 -6
  61. package/store-item-server/services/index.d.ts +2 -0
  62. package/store-item-server/services/index.js +2 -0
  63. package/coupon-server/dto/coupon-template/query/get-store-item-coupons-for-extraction-by-type.dto.d.ts +0 -14
  64. package/order-server/dto/purchasedinfos/query/get-purchased-info-items-for-extraction-by-type.dto.d.ts +0 -11
  65. package/order-server/dto/purchasedinfos/query/get-purchased-info-items-for-extraction-by-type.dto.js +0 -6
  66. package/store-item-server/dto/store-item/query/get-store-items-for-extraction-by-type.dto.d.ts +0 -9
  67. package/store-item-server/dto/store-item/query/get-store-items-for-extraction-by-type.dto.js +0 -6
  68. package/store-item-server/dto/store-item/query/resize-item-img.dto.d.ts +0 -3
@@ -2,4 +2,3 @@ export * from './item-max-discount-coupon';
2
2
  export * from './get-seleted-coupon-templates-by-codes.dto';
3
3
  export * from './get-coupon-template-by-code.dto';
4
4
  export * from './search-coupon-templates-for-admin.dto';
5
- export * from './get-store-item-coupons-for-extraction-by-type.dto';
@@ -18,4 +18,3 @@ __exportStar(require("./item-max-discount-coupon"), exports);
18
18
  __exportStar(require("./get-seleted-coupon-templates-by-codes.dto"), exports);
19
19
  __exportStar(require("./get-coupon-template-by-code.dto"), exports);
20
20
  __exportStar(require("./search-coupon-templates-for-admin.dto"), exports);
21
- __exportStar(require("./get-store-item-coupons-for-extraction-by-type.dto"), exports);
@@ -1,6 +1,6 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { PauseCouponTemplatePayload, GetCouponTemplatesForItemMaxDiscountCouponPayload, GetCouponTemplatesForItemMaxDiscountCouponResult, GetCouponTemplatesForUseableStoreMDThemePayload, GetCouponTemplatesForUseableStoreMDThemeResult, GetSeletedCouponTemplatesByCodesPayload, GetCouponTemplateByCodePayload, SearchCouponTemplatesForAdminPayload, SearchCouponTemplatesForAdminResult, GetStoreItemCouponsForExtractionByTypePayload, GetStoreItemCouponsForExtractionByTypeResult } from '../dto/coupon-template';
3
+ import { PauseCouponTemplatePayload, GetCouponTemplatesForItemMaxDiscountCouponPayload, GetCouponTemplatesForItemMaxDiscountCouponResult, GetCouponTemplatesForUseableStoreMDThemePayload, GetCouponTemplatesForUseableStoreMDThemeResult, GetSeletedCouponTemplatesByCodesPayload, GetCouponTemplateByCodePayload, SearchCouponTemplatesForAdminPayload, SearchCouponTemplatesForAdminResult } from '../dto/coupon-template';
4
4
  export declare class AmqpCouponTemplateService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
@@ -13,5 +13,4 @@ export declare class AmqpCouponTemplateService {
13
13
  getSeletedCouponTemplatesByCodes(payload: GetSeletedCouponTemplatesByCodesPayload, param: AbstractParam): Promise<any>;
14
14
  getCouponTemplateByCode(payload: GetCouponTemplateByCodePayload, param: AbstractParam): Promise<any>;
15
15
  searchCouponTemplatesForAdmin(payload: SearchCouponTemplatesForAdminPayload, param: AbstractParam): Promise<SearchCouponTemplatesForAdminResult>;
16
- getStoreItemCouponsForExtractionByType(payload: GetStoreItemCouponsForExtractionByTypePayload, param: AbstractParam): Promise<GetStoreItemCouponsForExtractionByTypeResult>;
17
16
  }
@@ -45,9 +45,6 @@ let AmqpCouponTemplateService = class AmqpCouponTemplateService {
45
45
  async searchCouponTemplatesForAdmin(payload, param) {
46
46
  return this.amqpManager.call('쿠폰 템플릿 리스트 관리자 조회', 'coupon-template.get.coupon-templates-for-admin', payload, param, { isErrorThrowing: true });
47
47
  }
48
- async getStoreItemCouponsForExtractionByType(payload, param) {
49
- return this.amqpManager.call('상품 쿠폰 추출 타입별 조회', 'coupon-template.get.store-item-coupons-for-extraction-by-type', payload, param, { isErrorThrowing: true });
50
- }
51
48
  };
52
49
  exports.AmqpCouponTemplateService = AmqpCouponTemplateService;
53
50
  exports.AmqpCouponTemplateService = AmqpCouponTemplateService = __decorate([
@@ -8,4 +8,3 @@ export * from './get-purchased-infos-for-unconfirmed-waiting-order-sellers-excel
8
8
  export * from './is-purchase-store-item-by-user-bulk.dto';
9
9
  export * from './check-can-change-purchased-option.dto';
10
10
  export * from './check-can-change-purchased-options-by-pay-try-log-id.dto';
11
- export * from './get-purchased-info-items-for-extraction-by-type.dto';
@@ -24,4 +24,3 @@ __exportStar(require("./get-purchased-infos-for-unconfirmed-waiting-order-seller
24
24
  __exportStar(require("./is-purchase-store-item-by-user-bulk.dto"), exports);
25
25
  __exportStar(require("./check-can-change-purchased-option.dto"), exports);
26
26
  __exportStar(require("./check-can-change-purchased-options-by-pay-try-log-id.dto"), exports);
27
- __exportStar(require("./get-purchased-info-items-for-extraction-by-type.dto"), exports);
@@ -1,6 +1,6 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { GetPInfoSettleAmountInfoByAtlasPayload, GetPInfoSettleAmountInfoByAtlasResult, GetPInfoAllSettleAmountByAtlasPayload, GetPInfoAllSettleAmountByAtlasResult, GetPInfoLegacySettleLogsByAtlasPayload, GetPInfoLegacySettleLogsByAtlasResult, GetPInfoAccumulatedSettleAmountByAtlasPayload, GetPInfoAccumulatedSettleAmountByAtlasResult, GetPInfoDoneSettleAmountByAtlasPayload, GetPInfoDoneSettleAmountByAtlasResult, GetPInfoExpectSettleAmountByAtlasPayload, GetPInfoExpectSettleAmountByAtlasResult, GetPartialRefundProcessesByPublicIdsPayload, GetPartialRefundProcessesByPublicIdsResult, GetPInfosForManageBuyerByAtlasPayload, GetPInfosForManageBuyerByAtlasResult, GetFacetPInfosForManageBuyerByAtlasPayload, GetFacetPInfosForManageBuyerByAtlasResult, ReloadPInfosForManageBuyerPayload, ReloadPInfosForManageBuyerResult, UpdateAdCenterCouponInfoPayload, UpdateDoneAdCenterCouponInfosPayload, CancelDoneAdCenterCouponInfosPayload, RequestCreateAdCenterCouponSettlePayload, PatchProcessV2ToCheckingStockPayload, PatchProcessV2ToCheckingStockResult, GetItemSaleInfosForSalesTeamByAtlasPayload, GetItemSaleInfosForSalesTeamByAtlasResult, GetItemSaleMergeDataForSalesTeamByAtlasPayload, GetItemSaleMergeDataForSalesTeamByAtlasResult, GetPNumsForShowAdCenterInflowPayload, GetPNumsForShowAdCenterInflowResult, GetPNumsGroupItemIdPayload, GetPNumsGroupItemIdResult, GetPInfoIdsForPredictSettlePayload, GetPInfoIdsForPredictSettleResult, GetPInfosForBeforeDeliveryExcelPayload, GetPInfosForBeforeDeliveryExcelResult, GetPurchasedInfosForUnconfirmedWaitingOrderSellersExcelResult, IsPurchaseStoreItemByUserBulkPayload, IsPurchaseStoreItemByUserBulkResponse, CheckCanChangePurchasedOptionPayload, CheckCanChangePurchasedOptionResult, ChangePurchasedOptionPayload, CheckCanChangePurchasedOptionsByPayTryLogIdPayload, CheckCanChangePurchasedOptionsByPayTryLogIdResult, GetPurchasedInfoItemsForExtractionByTypeResult } from '../dto/purchasedinfos';
3
+ import { GetPInfoSettleAmountInfoByAtlasPayload, GetPInfoSettleAmountInfoByAtlasResult, GetPInfoAllSettleAmountByAtlasPayload, GetPInfoAllSettleAmountByAtlasResult, GetPInfoLegacySettleLogsByAtlasPayload, GetPInfoLegacySettleLogsByAtlasResult, GetPInfoAccumulatedSettleAmountByAtlasPayload, GetPInfoAccumulatedSettleAmountByAtlasResult, GetPInfoDoneSettleAmountByAtlasPayload, GetPInfoDoneSettleAmountByAtlasResult, GetPInfoExpectSettleAmountByAtlasPayload, GetPInfoExpectSettleAmountByAtlasResult, GetPartialRefundProcessesByPublicIdsPayload, GetPartialRefundProcessesByPublicIdsResult, GetPInfosForManageBuyerByAtlasPayload, GetPInfosForManageBuyerByAtlasResult, GetFacetPInfosForManageBuyerByAtlasPayload, GetFacetPInfosForManageBuyerByAtlasResult, ReloadPInfosForManageBuyerPayload, ReloadPInfosForManageBuyerResult, UpdateAdCenterCouponInfoPayload, UpdateDoneAdCenterCouponInfosPayload, CancelDoneAdCenterCouponInfosPayload, RequestCreateAdCenterCouponSettlePayload, PatchProcessV2ToCheckingStockPayload, PatchProcessV2ToCheckingStockResult, GetItemSaleInfosForSalesTeamByAtlasPayload, GetItemSaleInfosForSalesTeamByAtlasResult, GetItemSaleMergeDataForSalesTeamByAtlasPayload, GetItemSaleMergeDataForSalesTeamByAtlasResult, GetPNumsForShowAdCenterInflowPayload, GetPNumsForShowAdCenterInflowResult, GetPNumsGroupItemIdPayload, GetPNumsGroupItemIdResult, GetPInfoIdsForPredictSettlePayload, GetPInfoIdsForPredictSettleResult, GetPInfosForBeforeDeliveryExcelPayload, GetPInfosForBeforeDeliveryExcelResult, GetPurchasedInfosForUnconfirmedWaitingOrderSellersExcelResult, IsPurchaseStoreItemByUserBulkPayload, IsPurchaseStoreItemByUserBulkResponse, CheckCanChangePurchasedOptionPayload, CheckCanChangePurchasedOptionResult, ChangePurchasedOptionPayload, CheckCanChangePurchasedOptionsByPayTryLogIdPayload, CheckCanChangePurchasedOptionsByPayTryLogIdResult } from '../dto/purchasedinfos';
4
4
  export declare class AmqpPurchasedInfoService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
@@ -33,5 +33,4 @@ export declare class AmqpPurchasedInfoService {
33
33
  checkCanChangePurchasedOption(payload: CheckCanChangePurchasedOptionPayload, param: AbstractParam): Promise<CheckCanChangePurchasedOptionResult>;
34
34
  changePurchasedOption(payload: ChangePurchasedOptionPayload, param: AbstractParam): Promise<void>;
35
35
  checkCanChangePurchasedOptionsByPayTryLogId(payload: CheckCanChangePurchasedOptionsByPayTryLogIdPayload, param: AbstractParam): Promise<CheckCanChangePurchasedOptionsByPayTryLogIdResult>;
36
- getPurchasedInfoItemsForExtractionByType(param: AbstractParam): Promise<GetPurchasedInfoItemsForExtractionByTypeResult>;
37
36
  }
@@ -106,9 +106,6 @@ let AmqpPurchasedInfoService = class AmqpPurchasedInfoService {
106
106
  async checkCanChangePurchasedOptionsByPayTryLogId(payload, param) {
107
107
  return this.amqpManager.call('구매 옵션 변경 가능 여부 확인', 'purchased-info.check.can-change-purchased-options-by-pay-try-log-id', payload, param, { isErrorThrowing: true });
108
108
  }
109
- async getPurchasedInfoItemsForExtractionByType(param) {
110
- return this.amqpManager.call('구매 정보 아이템 추출 타입별 조회', 'purchased-info.get.purchased-info-items-for-extraction-by-type', {}, param, { isErrorThrowing: true });
111
- }
112
109
  };
113
110
  exports.AmqpPurchasedInfoService = AmqpPurchasedInfoService;
114
111
  exports.AmqpPurchasedInfoService = AmqpPurchasedInfoService = __decorate([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.4.112-jun.0",
3
+ "version": "0.4.112-sj1",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -22,7 +22,7 @@
22
22
  "@yolo-croket-dev/domain": "0.1.4",
23
23
  "@yolo-croket-dev/dto-v2": "^0.1.10",
24
24
  "@yolo-croket-dev/entity": "^0.2.10",
25
- "@yolo-croket-dev/entity-v2": "^0.1.46",
25
+ "@yolo-croket-dev/entity-v2": "^0.1.50-sj1",
26
26
  "class-transformer": "^0.5.1",
27
27
  "class-validator": "^0.13.2",
28
28
  "dotenv": "^16.3.1"
@@ -30,6 +30,8 @@ exports.AmqpStoreItemServerModule = AmqpStoreItemServerModule = __decorate([
30
30
  services_1.AmqpStoreItemPriceFluctuationService,
31
31
  services_1.AmqpReviewService,
32
32
  services_1.AmqpStoreItemSabangService,
33
+ services_1.AmqpBrandService,
34
+ services_1.AmqpBrandCohortService,
33
35
  ],
34
36
  exports: [
35
37
  amqp_store_item_server_provider_1.StoreItemServerProvider,
@@ -46,6 +48,8 @@ exports.AmqpStoreItemServerModule = AmqpStoreItemServerModule = __decorate([
46
48
  services_1.AmqpStoreItemPriceFluctuationService,
47
49
  services_1.AmqpReviewService,
48
50
  services_1.AmqpStoreItemSabangService,
51
+ services_1.AmqpBrandService,
52
+ services_1.AmqpBrandCohortService,
49
53
  ],
50
54
  })
51
55
  ], AmqpStoreItemServerModule);
@@ -0,0 +1,8 @@
1
+ export declare class AutoCreateBrandPayload {
2
+ brandName: string;
3
+ engBrandName?: string;
4
+ excelItemCount: number;
5
+ }
6
+ export interface AutoCreateBrandResult {
7
+ brandId: string | null;
8
+ }
@@ -0,0 +1,30 @@
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.AutoCreateBrandPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class AutoCreateBrandPayload {
15
+ }
16
+ exports.AutoCreateBrandPayload = AutoCreateBrandPayload;
17
+ __decorate([
18
+ (0, class_validator_1.IsString)(),
19
+ (0, class_validator_1.IsNotEmpty)(),
20
+ __metadata("design:type", String)
21
+ ], AutoCreateBrandPayload.prototype, "brandName", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsString)(),
24
+ (0, class_validator_1.IsOptional)(),
25
+ __metadata("design:type", String)
26
+ ], AutoCreateBrandPayload.prototype, "engBrandName", void 0);
27
+ __decorate([
28
+ (0, class_validator_1.IsNumber)(),
29
+ __metadata("design:type", Number)
30
+ ], AutoCreateBrandPayload.prototype, "excelItemCount", void 0);
@@ -0,0 +1,3 @@
1
+ export declare class CreateBrandPayload {
2
+ brandName: string;
3
+ }
@@ -0,0 +1,21 @@
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.CreateBrandPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class CreateBrandPayload {
15
+ }
16
+ exports.CreateBrandPayload = CreateBrandPayload;
17
+ __decorate([
18
+ (0, class_validator_1.IsString)(),
19
+ (0, class_validator_1.IsNotEmpty)(),
20
+ __metadata("design:type", String)
21
+ ], CreateBrandPayload.prototype, "brandName", void 0);
@@ -0,0 +1,3 @@
1
+ export declare class DeleteBrandPayload {
2
+ brandId: string;
3
+ }
@@ -9,12 +9,13 @@ 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.ResizeItemImgPayload = void 0;
12
+ exports.DeleteBrandPayload = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- class ResizeItemImgPayload {
14
+ class DeleteBrandPayload {
15
15
  }
16
- exports.ResizeItemImgPayload = ResizeItemImgPayload;
16
+ exports.DeleteBrandPayload = DeleteBrandPayload;
17
17
  __decorate([
18
18
  (0, class_validator_1.IsMongoId)(),
19
+ (0, class_validator_1.IsNotEmpty)(),
19
20
  __metadata("design:type", String)
20
- ], ResizeItemImgPayload.prototype, "itemId", void 0);
21
+ ], DeleteBrandPayload.prototype, "brandId", void 0);
@@ -0,0 +1,5 @@
1
+ export * from './auto-create-brand.dto';
2
+ export * from './update-brand-eng-name.dto';
3
+ export * from './update-brand-name.dto';
4
+ export * from './delete-brand.dto';
5
+ export * from './create-brand.dto';
@@ -0,0 +1,21 @@
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("./auto-create-brand.dto"), exports);
18
+ __exportStar(require("./update-brand-eng-name.dto"), exports);
19
+ __exportStar(require("./update-brand-name.dto"), exports);
20
+ __exportStar(require("./delete-brand.dto"), exports);
21
+ __exportStar(require("./create-brand.dto"), exports);
@@ -0,0 +1,4 @@
1
+ export declare class UpdateBrandEngNamePayload {
2
+ brandName: string;
3
+ newEngBrandName: string;
4
+ }
@@ -0,0 +1,26 @@
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.UpdateBrandEngNamePayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class UpdateBrandEngNamePayload {
15
+ }
16
+ exports.UpdateBrandEngNamePayload = UpdateBrandEngNamePayload;
17
+ __decorate([
18
+ (0, class_validator_1.IsString)(),
19
+ (0, class_validator_1.IsNotEmpty)(),
20
+ __metadata("design:type", String)
21
+ ], UpdateBrandEngNamePayload.prototype, "brandName", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsString)(),
24
+ (0, class_validator_1.IsNotEmpty)(),
25
+ __metadata("design:type", String)
26
+ ], UpdateBrandEngNamePayload.prototype, "newEngBrandName", void 0);
@@ -0,0 +1,4 @@
1
+ export declare class UpdateBrandNamePayload {
2
+ pastBrandName: string;
3
+ newBrandName: string;
4
+ }
@@ -0,0 +1,26 @@
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.UpdateBrandNamePayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class UpdateBrandNamePayload {
15
+ }
16
+ exports.UpdateBrandNamePayload = UpdateBrandNamePayload;
17
+ __decorate([
18
+ (0, class_validator_1.IsString)(),
19
+ (0, class_validator_1.IsNotEmpty)(),
20
+ __metadata("design:type", String)
21
+ ], UpdateBrandNamePayload.prototype, "pastBrandName", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsString)(),
24
+ (0, class_validator_1.IsNotEmpty)(),
25
+ __metadata("design:type", String)
26
+ ], UpdateBrandNamePayload.prototype, "newBrandName", void 0);
@@ -0,0 +1,2 @@
1
+ export * from './query';
2
+ export * from './command';
@@ -0,0 +1,18 @@
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);
18
+ __exportStar(require("./command"), exports);
@@ -0,0 +1,6 @@
1
+ import { BrandEntity } from '@yolo-croket-dev/entity-v2';
2
+ export declare class GetBrandsByBrandNamesPayload {
3
+ brandNames: string[];
4
+ }
5
+ export interface GetBrandsByBrandNamesResult extends Pick<BrandEntity, '_id' | 'brandName' | 'engBrandName'> {
6
+ }
@@ -0,0 +1,21 @@
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.GetBrandsByBrandNamesPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class GetBrandsByBrandNamesPayload {
15
+ }
16
+ exports.GetBrandsByBrandNamesPayload = GetBrandsByBrandNamesPayload;
17
+ __decorate([
18
+ (0, class_validator_1.IsArray)(),
19
+ (0, class_validator_1.IsString)({ each: true }),
20
+ __metadata("design:type", Array)
21
+ ], GetBrandsByBrandNamesPayload.prototype, "brandNames", void 0);
@@ -0,0 +1,9 @@
1
+ import { BrandEntity } from '@yolo-croket-dev/entity-v2';
2
+ export declare class GetBrandsForAdminPayload {
3
+ page: number;
4
+ limit: number;
5
+ brandName?: string;
6
+ engBrandName?: string;
7
+ }
8
+ export interface GetBrandsForAdminResult extends Pick<BrandEntity, '_id' | 'brandName' | 'engBrandName' | 'regDate'> {
9
+ }
@@ -0,0 +1,34 @@
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.GetBrandsForAdminPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class GetBrandsForAdminPayload {
15
+ }
16
+ exports.GetBrandsForAdminPayload = GetBrandsForAdminPayload;
17
+ __decorate([
18
+ (0, class_validator_1.IsNumber)(),
19
+ __metadata("design:type", Number)
20
+ ], GetBrandsForAdminPayload.prototype, "page", void 0);
21
+ __decorate([
22
+ (0, class_validator_1.IsNumber)(),
23
+ __metadata("design:type", Number)
24
+ ], GetBrandsForAdminPayload.prototype, "limit", void 0);
25
+ __decorate([
26
+ (0, class_validator_1.IsString)(),
27
+ (0, class_validator_1.IsOptional)(),
28
+ __metadata("design:type", String)
29
+ ], GetBrandsForAdminPayload.prototype, "brandName", void 0);
30
+ __decorate([
31
+ (0, class_validator_1.IsString)(),
32
+ (0, class_validator_1.IsOptional)(),
33
+ __metadata("design:type", String)
34
+ ], GetBrandsForAdminPayload.prototype, "engBrandName", void 0);
@@ -0,0 +1,2 @@
1
+ export * from './get-brands-by-brand-names.dto';
2
+ export * from './get-brands-for-admin.dto';
@@ -0,0 +1,18 @@
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-brands-by-brand-names.dto"), exports);
18
+ __exportStar(require("./get-brands-for-admin.dto"), exports);
@@ -0,0 +1,5 @@
1
+ export declare class CreateBrandCohortPayload {
2
+ cohortName: string;
3
+ brandNames: string[];
4
+ memo?: string;
5
+ }
@@ -9,20 +9,23 @@ 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.GetStoreItemCouponsForExtractionByTypeResult = exports.GetStoreItemCouponsForExtractionByTypePayload = void 0;
12
+ exports.CreateBrandCohortPayload = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- class GetStoreItemCouponsForExtractionByTypePayload {
14
+ class CreateBrandCohortPayload {
15
15
  }
16
- exports.GetStoreItemCouponsForExtractionByTypePayload = GetStoreItemCouponsForExtractionByTypePayload;
16
+ exports.CreateBrandCohortPayload = CreateBrandCohortPayload;
17
+ __decorate([
18
+ (0, class_validator_1.IsString)(),
19
+ (0, class_validator_1.IsNotEmpty)(),
20
+ __metadata("design:type", String)
21
+ ], CreateBrandCohortPayload.prototype, "cohortName", void 0);
17
22
  __decorate([
18
- (0, class_validator_1.IsMongoId)({ each: true }),
19
23
  (0, class_validator_1.IsArray)(),
24
+ (0, class_validator_1.IsString)({ each: true }),
20
25
  __metadata("design:type", Array)
21
- ], GetStoreItemCouponsForExtractionByTypePayload.prototype, "storeItemIds", void 0);
26
+ ], CreateBrandCohortPayload.prototype, "brandNames", void 0);
22
27
  __decorate([
23
- (0, class_validator_1.IsDate)(),
24
- __metadata("design:type", Date)
25
- ], GetStoreItemCouponsForExtractionByTypePayload.prototype, "startDate", void 0);
26
- class GetStoreItemCouponsForExtractionByTypeResult {
27
- }
28
- exports.GetStoreItemCouponsForExtractionByTypeResult = GetStoreItemCouponsForExtractionByTypeResult;
28
+ (0, class_validator_1.IsString)(),
29
+ (0, class_validator_1.IsOptional)(),
30
+ __metadata("design:type", String)
31
+ ], CreateBrandCohortPayload.prototype, "memo", void 0);
@@ -0,0 +1,3 @@
1
+ export declare class DeleteBrandCohortPayload {
2
+ brandCohortId: string;
3
+ }
@@ -0,0 +1,21 @@
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.DeleteBrandCohortPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class DeleteBrandCohortPayload {
15
+ }
16
+ exports.DeleteBrandCohortPayload = DeleteBrandCohortPayload;
17
+ __decorate([
18
+ (0, class_validator_1.IsMongoId)(),
19
+ (0, class_validator_1.IsNotEmpty)(),
20
+ __metadata("design:type", String)
21
+ ], DeleteBrandCohortPayload.prototype, "brandCohortId", void 0);
@@ -0,0 +1,3 @@
1
+ export * from './update-brand-cohort.dto';
2
+ export * from './delete-brand-cohort.dto';
3
+ export * from './create-brand-cohort.dto';
@@ -0,0 +1,19 @@
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("./update-brand-cohort.dto"), exports);
18
+ __exportStar(require("./delete-brand-cohort.dto"), exports);
19
+ __exportStar(require("./create-brand-cohort.dto"), exports);
@@ -0,0 +1,6 @@
1
+ export declare class UpdateBrandCohortPayload {
2
+ brandCohortId: string;
3
+ cohortName: string;
4
+ brandNames: string[];
5
+ memo?: string;
6
+ }
@@ -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.UpdateBrandCohortPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class UpdateBrandCohortPayload {
15
+ }
16
+ exports.UpdateBrandCohortPayload = UpdateBrandCohortPayload;
17
+ __decorate([
18
+ (0, class_validator_1.IsMongoId)(),
19
+ (0, class_validator_1.IsNotEmpty)(),
20
+ __metadata("design:type", String)
21
+ ], UpdateBrandCohortPayload.prototype, "brandCohortId", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsString)(),
24
+ (0, class_validator_1.IsNotEmpty)(),
25
+ __metadata("design:type", String)
26
+ ], UpdateBrandCohortPayload.prototype, "cohortName", void 0);
27
+ __decorate([
28
+ (0, class_validator_1.IsArray)(),
29
+ (0, class_validator_1.IsString)({ each: true }),
30
+ __metadata("design:type", Array)
31
+ ], UpdateBrandCohortPayload.prototype, "brandNames", void 0);
32
+ __decorate([
33
+ (0, class_validator_1.IsString)(),
34
+ (0, class_validator_1.IsOptional)(),
35
+ __metadata("design:type", String)
36
+ ], UpdateBrandCohortPayload.prototype, "memo", void 0);
@@ -0,0 +1,2 @@
1
+ export * from './command';
2
+ export * from './query';
@@ -0,0 +1,18 @@
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("./command"), exports);
18
+ __exportStar(require("./query"), exports);
@@ -0,0 +1,11 @@
1
+ import { BrandCohortForAdminEntity } from '@yolo-croket-dev/entity-v2';
2
+ export declare class GetBrandCohortsForAdminPayload {
3
+ cohortName?: string;
4
+ brandName?: string;
5
+ page: number;
6
+ limit: number;
7
+ }
8
+ export interface GetBrandCohortsForAdminResult {
9
+ brandCohorts: BrandCohortForAdminEntity[];
10
+ maxPage: number;
11
+ }
@@ -0,0 +1,34 @@
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.GetBrandCohortsForAdminPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class GetBrandCohortsForAdminPayload {
15
+ }
16
+ exports.GetBrandCohortsForAdminPayload = GetBrandCohortsForAdminPayload;
17
+ __decorate([
18
+ (0, class_validator_1.IsString)(),
19
+ (0, class_validator_1.IsOptional)(),
20
+ __metadata("design:type", String)
21
+ ], GetBrandCohortsForAdminPayload.prototype, "cohortName", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsString)(),
24
+ (0, class_validator_1.IsOptional)(),
25
+ __metadata("design:type", String)
26
+ ], GetBrandCohortsForAdminPayload.prototype, "brandName", void 0);
27
+ __decorate([
28
+ (0, class_validator_1.IsNumber)(),
29
+ __metadata("design:type", Number)
30
+ ], GetBrandCohortsForAdminPayload.prototype, "page", void 0);
31
+ __decorate([
32
+ (0, class_validator_1.IsNumber)(),
33
+ __metadata("design:type", Number)
34
+ ], GetBrandCohortsForAdminPayload.prototype, "limit", void 0);
@@ -0,0 +1 @@
1
+ export * from './get-brand-cohorts-for-admin.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-brand-cohorts-for-admin.dto"), exports);
@@ -5,3 +5,5 @@ export * from './time-deal';
5
5
  export * from './auto-sold-out-store-item-log';
6
6
  export * from './store-item-log-v2';
7
7
  export * from './selling-info-log';
8
+ export * from './brand';
9
+ export * from './brand-cohort';
@@ -21,3 +21,5 @@ __exportStar(require("./time-deal"), exports);
21
21
  __exportStar(require("./auto-sold-out-store-item-log"), exports);
22
22
  __exportStar(require("./store-item-log-v2"), exports);
23
23
  __exportStar(require("./selling-info-log"), exports);
24
+ __exportStar(require("./brand"), exports);
25
+ __exportStar(require("./brand-cohort"), exports);
@@ -10,3 +10,4 @@ export * from './dalpha-update-brand-name-bulk.dto';
10
10
  export * from './sync-seduce-add-cart-item-ids.dto';
11
11
  export * from './patch-store-item-option-remain-count-by-change-purchased-option.service';
12
12
  export * from './update-is-selling-bulk.dto';
13
+ export * from './update-brand-id-bulk.dto';
@@ -26,3 +26,4 @@ __exportStar(require("./dalpha-update-brand-name-bulk.dto"), exports);
26
26
  __exportStar(require("./sync-seduce-add-cart-item-ids.dto"), exports);
27
27
  __exportStar(require("./patch-store-item-option-remain-count-by-change-purchased-option.service"), exports);
28
28
  __exportStar(require("./update-is-selling-bulk.dto"), exports);
29
+ __exportStar(require("./update-brand-id-bulk.dto"), exports);
@@ -0,0 +1,4 @@
1
+ export declare class UpdateBrandIdBulkPayload {
2
+ brandId: string;
3
+ brandName: string;
4
+ }
@@ -0,0 +1,26 @@
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.UpdateBrandIdBulkPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class UpdateBrandIdBulkPayload {
15
+ }
16
+ exports.UpdateBrandIdBulkPayload = UpdateBrandIdBulkPayload;
17
+ __decorate([
18
+ (0, class_validator_1.IsString)(),
19
+ (0, class_validator_1.IsNotEmpty)(),
20
+ __metadata("design:type", String)
21
+ ], UpdateBrandIdBulkPayload.prototype, "brandId", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsString)(),
24
+ (0, class_validator_1.IsNotEmpty)(),
25
+ __metadata("design:type", String)
26
+ ], UpdateBrandIdBulkPayload.prototype, "brandName", void 0);
@@ -0,0 +1,6 @@
1
+ export declare class GetStoreItemCountForBrandPayload {
2
+ brandName: string;
3
+ }
4
+ export declare class GetStoreItemCountForBrandResult {
5
+ totalCount: number;
6
+ }
@@ -0,0 +1,23 @@
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.GetStoreItemCountForBrandResult = exports.GetStoreItemCountForBrandPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class GetStoreItemCountForBrandPayload {
15
+ }
16
+ exports.GetStoreItemCountForBrandPayload = GetStoreItemCountForBrandPayload;
17
+ __decorate([
18
+ (0, class_validator_1.IsString)(),
19
+ __metadata("design:type", String)
20
+ ], GetStoreItemCountForBrandPayload.prototype, "brandName", void 0);
21
+ class GetStoreItemCountForBrandResult {
22
+ }
23
+ exports.GetStoreItemCountForBrandResult = GetStoreItemCountForBrandResult;
@@ -17,5 +17,4 @@ export * from './get-store-item-tooltip-for-cart.dto';
17
17
  export * from './get-store-items-by-brand-name.dto';
18
18
  export * from './search-store-items-for-test-api.dto';
19
19
  export * from '../../store-item.moduels/store-item-data/query/area-nation-city';
20
- export * from './get-store-items-for-extraction-by-type.dto';
21
- export * from './resize-item-img.dto';
20
+ export * from './get-store-item-count-for-brand.dto';
@@ -33,5 +33,4 @@ __exportStar(require("./get-store-item-tooltip-for-cart.dto"), exports);
33
33
  __exportStar(require("./get-store-items-by-brand-name.dto"), exports);
34
34
  __exportStar(require("./search-store-items-for-test-api.dto"), exports);
35
35
  __exportStar(require("../../store-item.moduels/store-item-data/query/area-nation-city"), exports);
36
- __exportStar(require("./get-store-items-for-extraction-by-type.dto"), exports);
37
- __exportStar(require("./resize-item-img.dto"), exports);
36
+ __exportStar(require("./get-store-item-count-for-brand.dto"), exports);
@@ -0,0 +1,13 @@
1
+ import { ClientProxy } from '@nestjs/microservices';
2
+ import { AbstractParam } from '@yolo-croket-dev/core';
3
+ import { BrandCohortForAdminEntity } from '@yolo-croket-dev/entity-v2';
4
+ import { CreateBrandCohortPayload, DeleteBrandCohortPayload, UpdateBrandCohortPayload, GetBrandCohortsForAdminPayload } from '../dto/brand-cohort';
5
+ export declare class AmqpBrandCohortService {
6
+ private readonly client;
7
+ private readonly amqpManager;
8
+ constructor(client: ClientProxy);
9
+ createBrandCohort(payload: CreateBrandCohortPayload, param: AbstractParam): Promise<void>;
10
+ updateBrandCohort(payload: UpdateBrandCohortPayload, param: AbstractParam): Promise<void>;
11
+ deleteBrandCohort(payload: DeleteBrandCohortPayload, param: AbstractParam): Promise<void>;
12
+ getBrandCohortsForAdmin(payload: GetBrandCohortsForAdminPayload, param: AbstractParam): Promise<BrandCohortForAdminEntity[]>;
13
+ }
@@ -0,0 +1,42 @@
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
+ var __param = (this && this.__param) || function (paramIndex, decorator) {
12
+ return function (target, key) { decorator(target, key, paramIndex); }
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.AmqpBrandCohortService = void 0;
16
+ const common_1 = require("@nestjs/common");
17
+ const microservices_1 = require("@nestjs/microservices");
18
+ const functions_1 = require("@yolo-croket-dev/core/functions");
19
+ let AmqpBrandCohortService = class AmqpBrandCohortService {
20
+ constructor(client) {
21
+ this.client = client;
22
+ this.amqpManager = new functions_1.AmqpManagement(this.client);
23
+ }
24
+ async createBrandCohort(payload, param) {
25
+ return this.amqpManager.call('브랜드 코호트 생성', 'brand-cohort.create', payload, param, { isErrorThrowing: true });
26
+ }
27
+ async updateBrandCohort(payload, param) {
28
+ return this.amqpManager.call('브랜드 코호트 수정', 'brand-cohort.update', payload, param, { isErrorThrowing: true });
29
+ }
30
+ async deleteBrandCohort(payload, param) {
31
+ return this.amqpManager.call('브랜드 코호트 삭제', 'brand-cohort.delete', payload, param, { isErrorThrowing: true });
32
+ }
33
+ async getBrandCohortsForAdmin(payload, param) {
34
+ return this.amqpManager.call('브랜드 코호트 조회', 'brand-cohort.get-for-admin', payload, param, { isErrorThrowing: true });
35
+ }
36
+ };
37
+ exports.AmqpBrandCohortService = AmqpBrandCohortService;
38
+ exports.AmqpBrandCohortService = AmqpBrandCohortService = __decorate([
39
+ (0, common_1.Injectable)(),
40
+ __param(0, (0, common_1.Inject)('STORE_ITEM_SERVER_PROVIDER')),
41
+ __metadata("design:paramtypes", [microservices_1.ClientProxy])
42
+ ], AmqpBrandCohortService);
@@ -0,0 +1,14 @@
1
+ import { ClientProxy } from '@nestjs/microservices';
2
+ import { AbstractParam } from '@yolo-croket-dev/core';
3
+ import { CreateBrandPayload, UpdateBrandNamePayload, UpdateBrandEngNamePayload, DeleteBrandPayload, GetBrandsByBrandNamesPayload, GetBrandsByBrandNamesResult, GetBrandsForAdminPayload, GetBrandsForAdminResult } from '../dto/brand';
4
+ export declare class AmqpBrandService {
5
+ private readonly client;
6
+ private readonly amqpManager;
7
+ constructor(client: ClientProxy);
8
+ createBrand(payload: CreateBrandPayload, param: AbstractParam): Promise<void>;
9
+ updateBrandName(payload: UpdateBrandNamePayload, param: AbstractParam): Promise<void>;
10
+ updateBrandEngName(payload: UpdateBrandEngNamePayload, param: AbstractParam): Promise<void>;
11
+ deleteBrand(payload: DeleteBrandPayload, param: AbstractParam): Promise<void>;
12
+ getBrandsByBrandNames(payload: GetBrandsByBrandNamesPayload, param: AbstractParam): Promise<GetBrandsByBrandNamesResult>;
13
+ getBrandsForAdmin(payload: GetBrandsForAdminPayload, param: AbstractParam): Promise<GetBrandsForAdminResult>;
14
+ }
@@ -0,0 +1,48 @@
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
+ var __param = (this && this.__param) || function (paramIndex, decorator) {
12
+ return function (target, key) { decorator(target, key, paramIndex); }
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.AmqpBrandService = void 0;
16
+ const common_1 = require("@nestjs/common");
17
+ const microservices_1 = require("@nestjs/microservices");
18
+ const functions_1 = require("@yolo-croket-dev/core/functions");
19
+ let AmqpBrandService = class AmqpBrandService {
20
+ constructor(client) {
21
+ this.client = client;
22
+ this.amqpManager = new functions_1.AmqpManagement(this.client);
23
+ }
24
+ async createBrand(payload, param) {
25
+ return this.amqpManager.call('브랜드 생성', 'brand.create', payload, param, { isErrorThrowing: true });
26
+ }
27
+ async updateBrandName(payload, param) {
28
+ return this.amqpManager.call('브랜드 이름 수정', 'brand.update.name', payload, param);
29
+ }
30
+ async updateBrandEngName(payload, param) {
31
+ return this.amqpManager.call('브랜드 영문 이름 수정', 'brand.update.eng-name', payload, param);
32
+ }
33
+ async deleteBrand(payload, param) {
34
+ return this.amqpManager.call('브랜드 삭제', 'brand.delete', payload, param);
35
+ }
36
+ async getBrandsByBrandNames(payload, param) {
37
+ return this.amqpManager.call('브랜드명으로 브랜드 리스트 조회', 'brand.get.by-brand-names', payload, param);
38
+ }
39
+ async getBrandsForAdmin(payload, param) {
40
+ return this.amqpManager.call('브랜드 리스트 조회 -관리자-', 'brand.get.for-admin', payload, param);
41
+ }
42
+ };
43
+ exports.AmqpBrandService = AmqpBrandService;
44
+ exports.AmqpBrandService = AmqpBrandService = __decorate([
45
+ (0, common_1.Injectable)(),
46
+ __param(0, (0, common_1.Inject)('STORE_ITEM_SERVER_PROVIDER')),
47
+ __metadata("design:paramtypes", [microservices_1.ClientProxy])
48
+ ], AmqpBrandService);
@@ -1,6 +1,6 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { GetStoreItemLegaciesPayload, GetStoreItemLegaciesResult, GetSellingItemIdsByStoreIdPayload, GetSellingItemIdsByStoreIdResult, SearchSellingStoreItemsPayload, SearchSellingStoreItemsResult, GetStoreItemsForESPayload, GetStoreItemsForESResult, GetLegacyStoreItemsByAtlasSearchPayload, GetLegacyStoreItemsByAtlasSearchResult, GetStoreItemIdsByAtlasSearchPayload, GetStoreItemIdsByAtlasSearchResult, GetStoreItemInfoByIdPayload, GetStoreItemInfoByIdResult, GetSellingItemIdsByThemeIdPayload, GetSellingItemIdsByThemeIdResult, SearchStoreItemNameByIdPayload, SearchStoreItemNameByIdResult, GetItemGroupNumsPayload, GetItemGroupNumsResult, GetRandomItemIdsPayload, GetRandomItemIdsResult, GetUsedImgItemIdsPayload, GetUsedImgItemIdsResult, GetUsedImgsItemIdsPayload, GetUsedImgsItemIdsResult, GetSellingItemIdsByCatagoryPayload, GetSellingItemIdsByCatagoryResult, PatchSoldOutItemOptionsPayload, PatchSoldOutItemOptionsResult, RegStoreItemPayload, RegStoreItemResult, EditStoreItemPayload, EditItemResult, UpdateBrandInfosPayload, GetStoreItemsForUpdateBrandPayload, GetStoreItemsForUpdateBrandResult, RegStoreItemBulkPayload, RegStoreItemBulkResult, GetStoreItemInfoByIdsPayload, GetStoreItemInfoByIdsResult, SearchStoreItemsForSeduceAddCartPayload, SearchStoreItemsForSeduceAddCartResult, GetStoreItemBindIssuedCouponForPaymentPayload, GetStoreItemBindIssuedCouponForPaymentResult, GetStaleStoreItemsForExcelResult, GetStaleStoreItemsForExcelPayload, GetStoreItemTooltipForCartPayload, GetStoreItemTooltipForCartResult, GetStoreItemsByBrandNamePayload, GetStoreItemsByBrandNameResult, SearchStoreItemsForTestApiPayload, SearchStoreItemsForTestApiResult, UpdateBrandNameBulkPayload, UpdateBrandEngNameBulkPayload, DeleteBrandInfoBulkPayload, DalphaUpdateBrandNameBulkPayload, PatchStoreItemOptionRemainCountByChangePurchasedOptionPayload, UpdateIsSellingBulkPayload, GetAreaResult, GetCityPayload, GetCityResult, GetNationPayload, GetNationResult, GetStoreItemsForExtractionByTypeResult, ResizeItemImgPayload } from '../dto/store-item';
3
+ import { GetStoreItemLegaciesPayload, GetStoreItemLegaciesResult, GetSellingItemIdsByStoreIdPayload, GetSellingItemIdsByStoreIdResult, SearchSellingStoreItemsPayload, SearchSellingStoreItemsResult, GetStoreItemsForESPayload, GetStoreItemsForESResult, GetLegacyStoreItemsByAtlasSearchPayload, GetLegacyStoreItemsByAtlasSearchResult, GetStoreItemIdsByAtlasSearchPayload, GetStoreItemIdsByAtlasSearchResult, GetStoreItemInfoByIdPayload, GetStoreItemInfoByIdResult, GetSellingItemIdsByThemeIdPayload, GetSellingItemIdsByThemeIdResult, SearchStoreItemNameByIdPayload, SearchStoreItemNameByIdResult, GetItemGroupNumsPayload, GetItemGroupNumsResult, GetRandomItemIdsPayload, GetRandomItemIdsResult, GetUsedImgItemIdsPayload, GetUsedImgItemIdsResult, GetUsedImgsItemIdsPayload, GetUsedImgsItemIdsResult, GetSellingItemIdsByCatagoryPayload, GetSellingItemIdsByCatagoryResult, PatchSoldOutItemOptionsPayload, PatchSoldOutItemOptionsResult, RegStoreItemPayload, RegStoreItemResult, EditStoreItemPayload, EditItemResult, UpdateBrandInfosPayload, GetStoreItemsForUpdateBrandPayload, GetStoreItemsForUpdateBrandResult, RegStoreItemBulkPayload, RegStoreItemBulkResult, GetStoreItemInfoByIdsPayload, GetStoreItemInfoByIdsResult, SearchStoreItemsForSeduceAddCartPayload, SearchStoreItemsForSeduceAddCartResult, GetStoreItemBindIssuedCouponForPaymentPayload, GetStoreItemBindIssuedCouponForPaymentResult, GetStaleStoreItemsForExcelResult, GetStaleStoreItemsForExcelPayload, GetStoreItemTooltipForCartPayload, GetStoreItemTooltipForCartResult, GetStoreItemsByBrandNamePayload, GetStoreItemsByBrandNameResult, SearchStoreItemsForTestApiPayload, SearchStoreItemsForTestApiResult, UpdateBrandNameBulkPayload, UpdateBrandEngNameBulkPayload, DeleteBrandInfoBulkPayload, DalphaUpdateBrandNameBulkPayload, PatchStoreItemOptionRemainCountByChangePurchasedOptionPayload, UpdateIsSellingBulkPayload, GetAreaResult, GetCityPayload, GetCityResult, GetNationPayload, GetNationResult } from '../dto/store-item';
4
4
  export declare class AmqpStoreItemService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
@@ -49,6 +49,4 @@ export declare class AmqpStoreItemService {
49
49
  getNation(payload: GetNationPayload, param: AbstractParam): Promise<GetNationResult>;
50
50
  dalphaUpdateBrandNameBulk(payload: DalphaUpdateBrandNameBulkPayload, param: AbstractParam): Promise<void>;
51
51
  syncSeduceAddCartItemIds(param: AbstractParam): Promise<void>;
52
- getStoreItemsForExtractionByType(param: AbstractParam): Promise<GetStoreItemsForExtractionByTypeResult>;
53
- resizeItemImg(payload: ResizeItemImgPayload, param: AbstractParam): Promise<void>;
54
52
  }
@@ -147,12 +147,6 @@ let AmqpStoreItemService = class AmqpStoreItemService {
147
147
  async syncSeduceAddCartItemIds(param) {
148
148
  return this.amqpManager.call('장바구니 추가 추천 상품 아이디 동기화', 'store-item.sync.seduce-add-cart-item-ids', undefined, param, { isErrorThrowing: true });
149
149
  }
150
- async getStoreItemsForExtractionByType(param) {
151
- return this.amqpManager.call('상품 추출 타입별 조회', 'store-item.get.store-items-for-extraction-by-type', {}, param, { isErrorThrowing: true });
152
- }
153
- async resizeItemImg(payload, param) {
154
- return this.amqpManager.call('상품 썸네일 이미지 리사이징 (version 0)', 'store-item.resize.item-img', payload, param, { isErrorThrowing: true });
155
- }
156
150
  };
157
151
  exports.AmqpStoreItemService = AmqpStoreItemService;
158
152
  exports.AmqpStoreItemService = AmqpStoreItemService = __decorate([
@@ -11,3 +11,5 @@ export * from './amqp.store-item-bookmark.service';
11
11
  export * from './amqp.store-item-price-fluctuation.service';
12
12
  export * from './amqp.review.service';
13
13
  export * from './store-item.moduels';
14
+ export * from './amqp.brand.service';
15
+ export * from './amqp.brand-cohort.service';
@@ -27,3 +27,5 @@ __exportStar(require("./amqp.store-item-bookmark.service"), exports);
27
27
  __exportStar(require("./amqp.store-item-price-fluctuation.service"), exports);
28
28
  __exportStar(require("./amqp.review.service"), exports);
29
29
  __exportStar(require("./store-item.moduels"), exports);
30
+ __exportStar(require("./amqp.brand.service"), exports);
31
+ __exportStar(require("./amqp.brand-cohort.service"), exports);
@@ -1,14 +0,0 @@
1
- import { CouponTemplateCondition, CouponTemplateEntity } from '@yolo-croket-dev/entity/src/coupon-template';
2
- export declare class GetStoreItemCouponsForExtractionByTypePayload {
3
- storeItemIds: string[];
4
- startDate: Date;
5
- }
6
- interface PickedUseConditionInfo extends Pick<CouponTemplateCondition, 'ableStoreItemList'> {
7
- }
8
- interface PickedCoupon extends Pick<CouponTemplateEntity, 'isAdCenterCoupon'> {
9
- useConditionInfo: PickedUseConditionInfo;
10
- }
11
- export declare class GetStoreItemCouponsForExtractionByTypeResult {
12
- [storeItemId: string]: PickedCoupon[];
13
- }
14
- export {};
@@ -1,11 +0,0 @@
1
- export declare class GetPurchasedInfoItemsForExtractionByTypeResult {
2
- [itemId: string]: {
3
- itemId: string;
4
- before30DaysTotalPrice: number;
5
- before7DaysTotalPrice: number;
6
- pNums: number;
7
- refundReasons: {
8
- [refundReason: string]: boolean;
9
- };
10
- };
11
- }
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetPurchasedInfoItemsForExtractionByTypeResult = void 0;
4
- class GetPurchasedInfoItemsForExtractionByTypeResult {
5
- }
6
- exports.GetPurchasedInfoItemsForExtractionByTypeResult = GetPurchasedInfoItemsForExtractionByTypeResult;
@@ -1,9 +0,0 @@
1
- export declare class GetStoreItemsForExtractionByTypeResult {
2
- itemId: string;
3
- itemName: string;
4
- type1: string;
5
- type2: string;
6
- type3: string;
7
- type4: string;
8
- type5: string;
9
- }
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.GetStoreItemsForExtractionByTypeResult = void 0;
4
- class GetStoreItemsForExtractionByTypeResult {
5
- }
6
- exports.GetStoreItemsForExtractionByTypeResult = GetStoreItemsForExtractionByTypeResult;
@@ -1,3 +0,0 @@
1
- export declare class ResizeItemImgPayload {
2
- itemId: string;
3
- }