@yolo-croket-dev/amqp-access 0.7.183-hj-9 → 0.7.183

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 (55) hide show
  1. package/excel-upload-server/amqp.excel-upload-server.module.js +0 -2
  2. package/excel-upload-server/dto/index.d.ts +0 -1
  3. package/excel-upload-server/dto/index.js +0 -1
  4. package/excel-upload-server/services/index.d.ts +0 -1
  5. package/excel-upload-server/services/index.js +0 -1
  6. package/notification-service/amqp.notification-service.module.js +0 -2
  7. package/notification-service/dto/app-bulk-push-log/query/index.d.ts +0 -1
  8. package/notification-service/dto/app-bulk-push-log/query/index.js +0 -1
  9. package/notification-service/dto/index.d.ts +0 -1
  10. package/notification-service/dto/index.js +0 -1
  11. package/notification-service/services/amqp.app-bulk-push-log.service.d.ts +1 -2
  12. package/notification-service/services/amqp.app-bulk-push-log.service.js +0 -3
  13. package/notification-service/services/index.d.ts +0 -1
  14. package/notification-service/services/index.js +0 -1
  15. package/order-server/dto/purchased-info.modules/purchased-info-admin/query/get-price-compare-affiliate-p-infos-for-admin.dto.d.ts +8 -2
  16. package/order-server/dto/purchased-info.modules/purchased-info-admin/query/get-price-compare-affiliate-p-infos-for-admin.dto.js +12 -1
  17. package/order-server/dto/purchased-info.modules/purchased-info-admin/query/get-price-compare-affiliate-settle-done-refunded-p-infos-for-admin.dto.d.ts +17 -0
  18. package/order-server/dto/purchased-info.modules/purchased-info-admin/query/get-price-compare-affiliate-settle-done-refunded-p-infos-for-admin.dto.js +48 -0
  19. package/order-server/dto/purchased-info.modules/purchased-info-admin/query/index.d.ts +1 -0
  20. package/order-server/dto/purchased-info.modules/purchased-info-admin/query/index.js +1 -0
  21. package/order-server/services/purchased-info.modules/amqp.purchased-info-admin.service.d.ts +2 -1
  22. package/order-server/services/purchased-info.modules/amqp.purchased-info-admin.service.js +3 -0
  23. package/package.json +3 -3
  24. package/user-service/dto/user/query/index.d.ts +0 -1
  25. package/user-service/dto/user/query/index.js +0 -1
  26. package/user-service/services/amqp.user-entity.service.d.ts +1 -3
  27. package/user-service/services/amqp.user-entity.service.js +0 -3
  28. package/excel-upload-server/dto/crm-cohort-excel/command/create-crm-cohort-excel.dto.d.ts +0 -12
  29. package/excel-upload-server/dto/crm-cohort-excel/command/create-crm-cohort-excel.dto.js +0 -40
  30. package/excel-upload-server/dto/crm-cohort-excel/command/create-lms-cohort-excel.dto.d.ts +0 -6
  31. package/excel-upload-server/dto/crm-cohort-excel/command/create-lms-cohort-excel.dto.js +0 -33
  32. package/excel-upload-server/dto/crm-cohort-excel/command/index.d.ts +0 -2
  33. package/excel-upload-server/dto/crm-cohort-excel/command/index.js +0 -18
  34. package/excel-upload-server/dto/crm-cohort-excel/index.d.ts +0 -1
  35. package/excel-upload-server/dto/crm-cohort-excel/index.js +0 -17
  36. package/excel-upload-server/services/amqp.crm-cohort-excel.service.d.ts +0 -10
  37. package/excel-upload-server/services/amqp.crm-cohort-excel.service.js +0 -36
  38. package/notification-service/dto/amplitude-cohort-export-job/command/create-amplitude-cohort-export-job.dto.d.ts +0 -11
  39. package/notification-service/dto/amplitude-cohort-export-job/command/create-amplitude-cohort-export-job.dto.js +0 -41
  40. package/notification-service/dto/amplitude-cohort-export-job/command/index.d.ts +0 -2
  41. package/notification-service/dto/amplitude-cohort-export-job/command/index.js +0 -18
  42. package/notification-service/dto/amplitude-cohort-export-job/command/update-amplitude-cohort-export-job.dto.d.ts +0 -15
  43. package/notification-service/dto/amplitude-cohort-export-job/command/update-amplitude-cohort-export-job.dto.js +0 -63
  44. package/notification-service/dto/amplitude-cohort-export-job/index.d.ts +0 -2
  45. package/notification-service/dto/amplitude-cohort-export-job/index.js +0 -18
  46. package/notification-service/dto/amplitude-cohort-export-job/query/get-amplitude-cohort-export-job.dto.d.ts +0 -3
  47. package/notification-service/dto/amplitude-cohort-export-job/query/get-amplitude-cohort-export-job.dto.js +0 -20
  48. package/notification-service/dto/amplitude-cohort-export-job/query/index.d.ts +0 -1
  49. package/notification-service/dto/amplitude-cohort-export-job/query/index.js +0 -17
  50. package/notification-service/dto/app-bulk-push-log/query/get-today-excel-app-bulk-push-logs.dto.d.ts +0 -10
  51. package/notification-service/dto/app-bulk-push-log/query/get-today-excel-app-bulk-push-logs.dto.js +0 -2
  52. package/notification-service/services/amqp.amplitude-cohort-export-job.service.d.ts +0 -12
  53. package/notification-service/services/amqp.amplitude-cohort-export-job.service.js +0 -39
  54. package/user-service/dto/user/query/get-user-infos-by-ids.dto.d.ts +0 -5
  55. package/user-service/dto/user/query/get-user-infos-by-ids.dto.js +0 -34
@@ -25,7 +25,6 @@ exports.AmqpExcelUploadServerModule = AmqpExcelUploadServerModule = __decorate([
25
25
  services_1.AmqpLogElasticsearchService,
26
26
  services_1.AmqpNaverSearchAdExcelService,
27
27
  services_1.AmqpSplitInvoiceExcelService,
28
- services_1.AmqpCrmCohortExcelService,
29
28
  ],
30
29
  exports: [
31
30
  services_1.AmqpStoreItemExcelService,
@@ -37,7 +36,6 @@ exports.AmqpExcelUploadServerModule = AmqpExcelUploadServerModule = __decorate([
37
36
  services_1.AmqpLogElasticsearchService,
38
37
  services_1.AmqpNaverSearchAdExcelService,
39
38
  services_1.AmqpSplitInvoiceExcelService,
40
- services_1.AmqpCrmCohortExcelService,
41
39
  ],
42
40
  })
43
41
  ], AmqpExcelUploadServerModule);
@@ -2,4 +2,3 @@ export * from './brand-excel';
2
2
  export * from './purchased-info-excel';
3
3
  export * from './store-item-excel';
4
4
  export * from './split-invoice-excel';
5
- export * from './crm-cohort-excel';
@@ -18,4 +18,3 @@ __exportStar(require("./brand-excel"), exports);
18
18
  __exportStar(require("./purchased-info-excel"), exports);
19
19
  __exportStar(require("./store-item-excel"), exports);
20
20
  __exportStar(require("./split-invoice-excel"), exports);
21
- __exportStar(require("./crm-cohort-excel"), exports);
@@ -6,4 +6,3 @@ export * from './amqp.app-bulk-push-excel.service';
6
6
  export * from './amqp.log-elasticsearch.service';
7
7
  export * from './naver-search-ad.modules';
8
8
  export * from './amqp.split-invoice-excel.service';
9
- export * from './amqp.crm-cohort-excel.service';
@@ -22,4 +22,3 @@ __exportStar(require("./amqp.app-bulk-push-excel.service"), exports);
22
22
  __exportStar(require("./amqp.log-elasticsearch.service"), exports);
23
23
  __exportStar(require("./naver-search-ad.modules"), exports);
24
24
  __exportStar(require("./amqp.split-invoice-excel.service"), exports);
25
- __exportStar(require("./amqp.crm-cohort-excel.service"), exports);
@@ -26,7 +26,6 @@ exports.AmqpNotificationServiceModule = AmqpNotificationServiceModule = __decora
26
26
  services_1.AmqpAppBulkPushService,
27
27
  services_1.AmqpSendNotificationService,
28
28
  services_1.AmqpNotificationBulkSendService,
29
- services_1.AmqpAmplitudeCohortExportJobService,
30
29
  ],
31
30
  exports: [
32
31
  amqp_notification_service_provider_1.NotifiactionServiceProvider,
@@ -38,7 +37,6 @@ exports.AmqpNotificationServiceModule = AmqpNotificationServiceModule = __decora
38
37
  services_1.AmqpAppBulkPushService,
39
38
  services_1.AmqpSendNotificationService,
40
39
  services_1.AmqpNotificationBulkSendService,
41
- services_1.AmqpAmplitudeCohortExportJobService,
42
40
  ],
43
41
  })
44
42
  ], AmqpNotificationServiceModule);
@@ -1,2 +1 @@
1
1
  export * from './is-exists-app-bulk-push-log-by-redis-db-key.dto';
2
- export * from './get-today-excel-app-bulk-push-logs.dto';
@@ -15,4 +15,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./is-exists-app-bulk-push-log-by-redis-db-key.dto"), exports);
18
- __exportStar(require("./get-today-excel-app-bulk-push-logs.dto"), exports);
@@ -2,4 +2,3 @@ export * from './mail';
2
2
  export * from './app-bulk-push-log';
3
3
  export * from './notification';
4
4
  export * from './notification-bulk-send';
5
- export * from './amplitude-cohort-export-job';
@@ -18,4 +18,3 @@ __exportStar(require("./mail"), exports);
18
18
  __exportStar(require("./app-bulk-push-log"), exports);
19
19
  __exportStar(require("./notification"), exports);
20
20
  __exportStar(require("./notification-bulk-send"), exports);
21
- __exportStar(require("./amplitude-cohort-export-job"), exports);
@@ -2,7 +2,7 @@ import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
3
  import { GetAppBulkPushLogByRedisDBKeyPayload, GetAppBulkPushLogByRedisDBKeyResult } from '@yolo-croket-dev/dto-v2/notification-service/app-bulk-push-log';
4
4
  /** @dto */
5
- import { IsExistsAppBulkPushLogByRedisDBKeyPayload, IsExistsAppBulkPushLogByRedisDBKeyResult, EditReservationAppBulkPushLogPayload, RemoveReservationAppBulkPushLogPayload, GetTodayExcelAppBulkPushLogsResult } from '../dto/app-bulk-push-log';
5
+ import { IsExistsAppBulkPushLogByRedisDBKeyPayload, IsExistsAppBulkPushLogByRedisDBKeyResult, EditReservationAppBulkPushLogPayload, RemoveReservationAppBulkPushLogPayload } from '../dto/app-bulk-push-log';
6
6
  export declare class AmqpAppBulkPushLogService {
7
7
  private readonly client;
8
8
  private readonly amqpManager;
@@ -12,5 +12,4 @@ export declare class AmqpAppBulkPushLogService {
12
12
  isExistsAppBulkPushLogByRedisDBKey(payload: IsExistsAppBulkPushLogByRedisDBKeyPayload, param: AbstractParam): Promise<IsExistsAppBulkPushLogByRedisDBKeyResult>;
13
13
  editReservationAppBulkPushLog(payload: EditReservationAppBulkPushLogPayload, param: AbstractParam): Promise<void>;
14
14
  removeReservationAppBulkPushLog(payload: RemoveReservationAppBulkPushLogPayload, param: AbstractParam): Promise<void>;
15
- getTodayExcelAppBulkPushLogs(param: AbstractParam): Promise<GetTodayExcelAppBulkPushLogsResult[]>;
16
15
  }
@@ -34,9 +34,6 @@ let AmqpAppBulkPushLogService = class AmqpAppBulkPushLogService {
34
34
  async removeReservationAppBulkPushLog(payload, param) {
35
35
  return this.amqpManager.call('예약 대량 푸시 알림 삭제', 'app-bulk-push-log.remove.reservation', payload, param, { isErrorThrowing: true });
36
36
  }
37
- async getTodayExcelAppBulkPushLogs(param) {
38
- return this.amqpManager.call('대량 앱 푸시 알림 조회 - 오늘 등록된 건', 'app-bulk-push-log.get.today-excel', {}, param, { isErrorThrowing: true });
39
- }
40
37
  };
41
38
  exports.AmqpAppBulkPushLogService = AmqpAppBulkPushLogService;
42
39
  exports.AmqpAppBulkPushLogService = AmqpAppBulkPushLogService = __decorate([
@@ -5,4 +5,3 @@ export * from './amqp.app-bulk-push-log.service';
5
5
  export * from './amqp.app-bulk-push.service';
6
6
  export * from './amqp.send-notification.service';
7
7
  export * from './amqp.notification-bulk-send.service';
8
- export * from './amqp.amplitude-cohort-export-job.service';
@@ -21,4 +21,3 @@ __exportStar(require("./amqp.app-bulk-push-log.service"), exports);
21
21
  __exportStar(require("./amqp.app-bulk-push.service"), exports);
22
22
  __exportStar(require("./amqp.send-notification.service"), exports);
23
23
  __exportStar(require("./amqp.notification-bulk-send.service"), exports);
24
- __exportStar(require("./amqp.amplitude-cohort-export-job.service"), exports);
@@ -9,6 +9,10 @@ export declare enum PriceCompareAffiliateAdminOrderStatusEnum {
9
9
  CANCELLED = "cancelled",
10
10
  CONFIRMED = "confirmed"
11
11
  }
12
+ export declare enum PriceCompareAffiliateAdminDateSearchTypeEnum {
13
+ PAYMENT_DATE = "paymentDate",
14
+ RECEIVE_CONFIRMED_DATE = "receiveConfirmedDate"
15
+ }
12
16
  export interface PriceCompareAffiliateAttributionHistoryForAdmin {
13
17
  _id: string;
14
18
  firstExternalTouch?: unknown;
@@ -38,9 +42,11 @@ export declare class GetPriceCompareAffiliatePInfosForAdminPayload {
38
42
  type?: PriceCompareAffiliateTypeEnum;
39
43
  /** 정산 상태. 없으면 전체 상태 조회 */
40
44
  settleStatus?: PriceCompareAffiliateSettleStatusEnum;
41
- /** 결제일 시작 */
45
+ /** 날짜 조회 기준. 없으면 결제일 기준 조회 */
46
+ dateSearchType?: PriceCompareAffiliateAdminDateSearchTypeEnum;
47
+ /** 조회 시작일 */
42
48
  sDate: string;
43
- /** 결제일 종료 */
49
+ /** 조회 종료일 */
44
50
  eDate: string;
45
51
  /** PC/모바일 필터 */
46
52
  deviceType?: PriceCompareAffiliateAdminDeviceTypeEnum;
@@ -9,8 +9,9 @@ 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.GetPriceCompareAffiliatePInfosForAdminExcelResult = exports.GetPriceCompareAffiliatePInfosForAdminResult = exports.GetPriceCompareAffiliatePInfosForAdminPayload = exports.PriceCompareAffiliateAdminOrderStatusEnum = exports.PriceCompareAffiliateAdminDeviceTypeEnum = void 0;
12
+ exports.GetPriceCompareAffiliatePInfosForAdminExcelResult = exports.GetPriceCompareAffiliatePInfosForAdminResult = exports.GetPriceCompareAffiliatePInfosForAdminPayload = exports.PriceCompareAffiliateAdminDateSearchTypeEnum = exports.PriceCompareAffiliateAdminOrderStatusEnum = exports.PriceCompareAffiliateAdminDeviceTypeEnum = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
+ // eslint-disable-next-line max-len, import-newlines/enforce
14
15
  const purchased_info_entity_1 = require("@yolo-croket-dev/entity-v2/purchased-info/purchased-info.entity");
15
16
  var PriceCompareAffiliateAdminDeviceTypeEnum;
16
17
  (function (PriceCompareAffiliateAdminDeviceTypeEnum) {
@@ -24,6 +25,11 @@ var PriceCompareAffiliateAdminOrderStatusEnum;
24
25
  PriceCompareAffiliateAdminOrderStatusEnum["CANCELLED"] = "cancelled";
25
26
  PriceCompareAffiliateAdminOrderStatusEnum["CONFIRMED"] = "confirmed";
26
27
  })(PriceCompareAffiliateAdminOrderStatusEnum || (exports.PriceCompareAffiliateAdminOrderStatusEnum = PriceCompareAffiliateAdminOrderStatusEnum = {}));
28
+ var PriceCompareAffiliateAdminDateSearchTypeEnum;
29
+ (function (PriceCompareAffiliateAdminDateSearchTypeEnum) {
30
+ PriceCompareAffiliateAdminDateSearchTypeEnum["PAYMENT_DATE"] = "paymentDate";
31
+ PriceCompareAffiliateAdminDateSearchTypeEnum["RECEIVE_CONFIRMED_DATE"] = "receiveConfirmedDate";
32
+ })(PriceCompareAffiliateAdminDateSearchTypeEnum || (exports.PriceCompareAffiliateAdminDateSearchTypeEnum = PriceCompareAffiliateAdminDateSearchTypeEnum = {}));
27
33
  class GetPriceCompareAffiliatePInfosForAdminPayload {
28
34
  }
29
35
  exports.GetPriceCompareAffiliatePInfosForAdminPayload = GetPriceCompareAffiliatePInfosForAdminPayload;
@@ -37,6 +43,11 @@ __decorate([
37
43
  (0, class_validator_1.IsOptional)(),
38
44
  __metadata("design:type", String)
39
45
  ], GetPriceCompareAffiliatePInfosForAdminPayload.prototype, "settleStatus", void 0);
46
+ __decorate([
47
+ (0, class_validator_1.IsEnum)(PriceCompareAffiliateAdminDateSearchTypeEnum),
48
+ (0, class_validator_1.IsOptional)(),
49
+ __metadata("design:type", String)
50
+ ], GetPriceCompareAffiliatePInfosForAdminPayload.prototype, "dateSearchType", void 0);
40
51
  __decorate([
41
52
  (0, class_validator_1.IsDateString)(),
42
53
  __metadata("design:type", String)
@@ -0,0 +1,17 @@
1
+ import { PriceCompareAffiliateTypeEnum } from '@yolo-croket-dev/entity-v2/purchased-info/purchased-info.entity';
2
+ import { PriceCompareAffiliatePInfoForAdmin } from './get-price-compare-affiliate-p-infos-for-admin.dto';
3
+ export declare class GetPriceCompareAffiliateSettleDoneRefundedPInfosForAdminPayload {
4
+ /** 다나와/enuri 타입. 없으면 전체 타입 조회 */
5
+ type?: PriceCompareAffiliateTypeEnum;
6
+ /** 결제 종료일 */
7
+ paymentEndDate: string;
8
+ /** 환불 기간 시작일 */
9
+ refundStartDate: string;
10
+ /** 환불 기간 종료일 */
11
+ refundEndDate: string;
12
+ searchAfterToken?: string;
13
+ limit?: number;
14
+ }
15
+ export declare class GetPriceCompareAffiliateSettleDoneRefundedPInfosForAdminExcelResult {
16
+ datas: Omit<PriceCompareAffiliatePInfoForAdmin, 'attributionHistory'>[];
17
+ }
@@ -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
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.GetPriceCompareAffiliateSettleDoneRefundedPInfosForAdminExcelResult = exports.GetPriceCompareAffiliateSettleDoneRefundedPInfosForAdminPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ const purchased_info_entity_1 = require("@yolo-croket-dev/entity-v2/purchased-info/purchased-info.entity");
15
+ class GetPriceCompareAffiliateSettleDoneRefundedPInfosForAdminPayload {
16
+ }
17
+ exports.GetPriceCompareAffiliateSettleDoneRefundedPInfosForAdminPayload = GetPriceCompareAffiliateSettleDoneRefundedPInfosForAdminPayload;
18
+ __decorate([
19
+ (0, class_validator_1.IsEnum)(purchased_info_entity_1.PriceCompareAffiliateTypeEnum),
20
+ (0, class_validator_1.IsOptional)(),
21
+ __metadata("design:type", String)
22
+ ], GetPriceCompareAffiliateSettleDoneRefundedPInfosForAdminPayload.prototype, "type", void 0);
23
+ __decorate([
24
+ (0, class_validator_1.IsDateString)(),
25
+ __metadata("design:type", String)
26
+ ], GetPriceCompareAffiliateSettleDoneRefundedPInfosForAdminPayload.prototype, "paymentEndDate", void 0);
27
+ __decorate([
28
+ (0, class_validator_1.IsDateString)(),
29
+ __metadata("design:type", String)
30
+ ], GetPriceCompareAffiliateSettleDoneRefundedPInfosForAdminPayload.prototype, "refundStartDate", void 0);
31
+ __decorate([
32
+ (0, class_validator_1.IsDateString)(),
33
+ __metadata("design:type", String)
34
+ ], GetPriceCompareAffiliateSettleDoneRefundedPInfosForAdminPayload.prototype, "refundEndDate", void 0);
35
+ __decorate([
36
+ (0, class_validator_1.IsString)(),
37
+ (0, class_validator_1.IsOptional)(),
38
+ __metadata("design:type", String)
39
+ ], GetPriceCompareAffiliateSettleDoneRefundedPInfosForAdminPayload.prototype, "searchAfterToken", void 0);
40
+ __decorate([
41
+ (0, class_validator_1.Max)(10000),
42
+ (0, class_validator_1.IsNumber)(),
43
+ (0, class_validator_1.IsOptional)(),
44
+ __metadata("design:type", Number)
45
+ ], GetPriceCompareAffiliateSettleDoneRefundedPInfosForAdminPayload.prototype, "limit", void 0);
46
+ class GetPriceCompareAffiliateSettleDoneRefundedPInfosForAdminExcelResult {
47
+ }
48
+ exports.GetPriceCompareAffiliateSettleDoneRefundedPInfosForAdminExcelResult = GetPriceCompareAffiliateSettleDoneRefundedPInfosForAdminExcelResult;
@@ -5,4 +5,5 @@ export * from './get-delivery-list-for-admin.dto';
5
5
  export * from './get-p-infos-by-yg-type.dto';
6
6
  export * from './get-crawler-proxy-order-list-for-admin.dto';
7
7
  export * from './get-price-compare-affiliate-p-infos-for-admin.dto';
8
+ export * from './get-price-compare-affiliate-settle-done-refunded-p-infos-for-admin.dto';
8
9
  export * from './get-crawler-forwarding-agents-for-admin.dto';
@@ -21,4 +21,5 @@ __exportStar(require("./get-delivery-list-for-admin.dto"), exports);
21
21
  __exportStar(require("./get-p-infos-by-yg-type.dto"), exports);
22
22
  __exportStar(require("./get-crawler-proxy-order-list-for-admin.dto"), exports);
23
23
  __exportStar(require("./get-price-compare-affiliate-p-infos-for-admin.dto"), exports);
24
+ __exportStar(require("./get-price-compare-affiliate-settle-done-refunded-p-infos-for-admin.dto"), exports);
24
25
  __exportStar(require("./get-crawler-forwarding-agents-for-admin.dto"), exports);
@@ -1,6 +1,6 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { GetPurchasedInfosForAdminPayload, GetPurchasedInfosForAdminResult, GetPurchasedInfoDetailForAdminEditPayload, GetPurchasedInfoDetailForAdminEditResult, EditPInfoEtcDataPayload, EditPInfoMemoPayload, EditPInfoPricePayload, EditPInfoProcessPayload, EditPInfoReceiverInfoPayload, EditPInfoWaitingReceiveInfoPayload, EditPInfoUsedCouponInfoPayload, DeletePInfoUsedCouponInfoPayload, GetPurchasedInfoLogsForCouponInfoPayload, GetPurchasedInfoLogsForCouponInfoResult, UpdateProcessFinishedToCancelledPayload, GetDeliveryListForAdminPayload, GetDeliveryListForAdminResult, UpsertInvoiceForAdminPayload, DeleteInvoiceForAdminPayload, UpsertSplitInvoiceForAdminPayload, DeleteSplitInvoiceForAdminPayload, TransferPInfoSellerPayload, GetPInfosByYgTypePayload, GetPInfosByYgTypeResult, GetCrawlerProxyOrderListForAdminPayload, GetCrawlerProxyOrderListForAdminResult, UpdateCrawlerProxyOrderInfoForAdminPayload, GetPriceCompareAffiliatePInfosForAdminPayload, GetPriceCompareAffiliatePInfosForAdminResult, GetPriceCompareAffiliatePInfosForAdminExcelResult, UpdatePriceCompareAffiliateSettleStatusPayload, GetCrawlerForwardingAgentsForAdminPayload, GetCrawlerForwardingAgentsForAdminResult, CreateCrawlerForwardingAgentForAdminPayload, UpdateCrawlerForwardingAgentForAdminPayload, UpdateCrawlerForwardingAgentActiveForAdminPayload } from '../../dto/purchased-info.modules/purchased-info-admin';
3
+ import { GetPurchasedInfosForAdminPayload, GetPurchasedInfosForAdminResult, GetPurchasedInfoDetailForAdminEditPayload, GetPurchasedInfoDetailForAdminEditResult, EditPInfoEtcDataPayload, EditPInfoMemoPayload, EditPInfoPricePayload, EditPInfoProcessPayload, EditPInfoReceiverInfoPayload, EditPInfoWaitingReceiveInfoPayload, EditPInfoUsedCouponInfoPayload, DeletePInfoUsedCouponInfoPayload, GetPurchasedInfoLogsForCouponInfoPayload, GetPurchasedInfoLogsForCouponInfoResult, UpdateProcessFinishedToCancelledPayload, GetDeliveryListForAdminPayload, GetDeliveryListForAdminResult, UpsertInvoiceForAdminPayload, DeleteInvoiceForAdminPayload, UpsertSplitInvoiceForAdminPayload, DeleteSplitInvoiceForAdminPayload, TransferPInfoSellerPayload, GetPInfosByYgTypePayload, GetPInfosByYgTypeResult, GetCrawlerProxyOrderListForAdminPayload, GetCrawlerProxyOrderListForAdminResult, UpdateCrawlerProxyOrderInfoForAdminPayload, GetPriceCompareAffiliatePInfosForAdminPayload, GetPriceCompareAffiliatePInfosForAdminResult, GetPriceCompareAffiliatePInfosForAdminExcelResult, GetPriceCompareAffiliateSettleDoneRefundedPInfosForAdminPayload, GetPriceCompareAffiliateSettleDoneRefundedPInfosForAdminExcelResult, UpdatePriceCompareAffiliateSettleStatusPayload, GetCrawlerForwardingAgentsForAdminPayload, GetCrawlerForwardingAgentsForAdminResult, CreateCrawlerForwardingAgentForAdminPayload, UpdateCrawlerForwardingAgentForAdminPayload, UpdateCrawlerForwardingAgentActiveForAdminPayload } from '../../dto/purchased-info.modules/purchased-info-admin';
4
4
  export declare class AmqpPurchasedInfoAdminService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
@@ -28,6 +28,7 @@ export declare class AmqpPurchasedInfoAdminService {
28
28
  updateCrawlerProxyOrderInfoForAdmin(payload: UpdateCrawlerProxyOrderInfoForAdminPayload, param: AbstractParam): Promise<void>;
29
29
  getPriceCompareAffiliatePInfosForAdmin(payload: GetPriceCompareAffiliatePInfosForAdminPayload, param: AbstractParam): Promise<GetPriceCompareAffiliatePInfosForAdminResult>;
30
30
  getPriceCompareAffiliatePInfosForAdminExcel(payload: GetPriceCompareAffiliatePInfosForAdminPayload, param: AbstractParam): Promise<GetPriceCompareAffiliatePInfosForAdminExcelResult>;
31
+ getPriceCompareAffiliateSettleDoneRefundedPInfosForAdminExcel(payload: GetPriceCompareAffiliateSettleDoneRefundedPInfosForAdminPayload, param: AbstractParam): Promise<GetPriceCompareAffiliateSettleDoneRefundedPInfosForAdminExcelResult>;
31
32
  updatePriceCompareAffiliateSettleStatus(payload: UpdatePriceCompareAffiliateSettleStatusPayload, param: AbstractParam): Promise<void>;
32
33
  getCrawlerForwardingAgentsForAdmin(payload: GetCrawlerForwardingAgentsForAdminPayload, param: AbstractParam): Promise<GetCrawlerForwardingAgentsForAdminResult>;
33
34
  createCrawlerForwardingAgentForAdmin(payload: CreateCrawlerForwardingAgentForAdminPayload, param: AbstractParam): Promise<void>;
@@ -91,6 +91,9 @@ let AmqpPurchasedInfoAdminService = class AmqpPurchasedInfoAdminService {
91
91
  async getPriceCompareAffiliatePInfosForAdminExcel(payload, param) {
92
92
  return this.amqpManager.call('가격비교 제휴 유입 결제건 관리자 엑셀 조회', 'purchased-info.get.price-compare-affiliate-p-infos-for-admin-excel', payload, param, { isErrorThrowing: true });
93
93
  }
94
+ async getPriceCompareAffiliateSettleDoneRefundedPInfosForAdminExcel(payload, param) {
95
+ return this.amqpManager.call('가격비교 제휴 정산 완료 환불 결제건 관리자 엑셀 조회', 'purchased-info.get.price-compare-affiliate-settle-done-refunded-p-infos-for-admin-excel', payload, param, { isErrorThrowing: true });
96
+ }
94
97
  async updatePriceCompareAffiliateSettleStatus(payload, param) {
95
98
  return this.amqpManager.call('가격비교 제휴 유입 결제건 정산 상태 변경', 'purchased-info.update.price-compare-affiliate-settle-status', payload, param, { isErrorThrowing: true });
96
99
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.7.183-hj-9",
3
+ "version": "0.7.183",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -22,9 +22,9 @@
22
22
  "@yolo-croket-dev/domain": "0.2.38",
23
23
  "@yolo-croket-dev/dto-v2": "^0.2.15",
24
24
  "@yolo-croket-dev/entity": "0.2.90",
25
- "@yolo-croket-dev/entity-v2": "0.2.169-hj-2",
25
+ "@yolo-croket-dev/entity-v2": "0.2.168",
26
26
  "class-transformer": "^0.5.1",
27
27
  "class-validator": "^0.13.2",
28
28
  "dotenv": "^16.3.1"
29
29
  }
30
- }
30
+ }
@@ -8,4 +8,3 @@ export * from './get-duplicate-users-by-phone-number.dto';
8
8
  export * from './get-user-ids-for-time-deal-push.dto';
9
9
  export * from './get-marketing-receive-by-phone-numbers.dto';
10
10
  export * from './is-unlimited-benefit-user-id.dto';
11
- export * from './get-user-infos-by-ids.dto';
@@ -24,4 +24,3 @@ __exportStar(require("./get-duplicate-users-by-phone-number.dto"), exports);
24
24
  __exportStar(require("./get-user-ids-for-time-deal-push.dto"), exports);
25
25
  __exportStar(require("./get-marketing-receive-by-phone-numbers.dto"), exports);
26
26
  __exportStar(require("./is-unlimited-benefit-user-id.dto"), exports);
27
- __exportStar(require("./get-user-infos-by-ids.dto"), exports);
@@ -2,9 +2,8 @@ import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
3
  /** @dto -v2 */
4
4
  import { DecodePhoneNumbersPayload, PhoneDecodedData } from '@yolo-croket-dev/dto-v2/user-service';
5
- import { UserEntity } from '@yolo-croket-dev/entity-v2';
6
5
  import { SaveShippingAddressPayload } from '../dto/user/command/save-shipping-address.dto';
7
- import { GetDuplicateUsersByPhoneNumberPayload, GetDuplicateUsersByPhoneNumberResult, GetUserIdsByUsernamePayload, GetUserIdsByUsernameResult, GetUserInfosForPartialRefundPayload, GetUserInfosForPartialRefundResult, IssueSignupRewardPayload, IssueSignupRewardResult, PatchGenderAndBirthdayPayload, SaveSystemAppPushAcceptPayload, IssueInflowSignupRewardResult, VerificationPhoneForSnsUserPayload, SignInGuestUserPayload, SignInGuestUserResult, UpdateGuestUsernamePayload, AppSwitchingRewardPayload, AppSwitchingRewardResult, GetUserIdsForTimeDealPushPayload, GetUserIdsForTimeDealPushResult, GetMarketingReceiveByPhoneNumbersResult, GetMarketingReceiveByPhoneNumbersPayload, IsUnlimitedBenefitUserIdPayload, GetUserInfosByIdsPayload } from '../dto';
6
+ import { GetDuplicateUsersByPhoneNumberPayload, GetDuplicateUsersByPhoneNumberResult, GetUserIdsByUsernamePayload, GetUserIdsByUsernameResult, GetUserInfosForPartialRefundPayload, GetUserInfosForPartialRefundResult, IssueSignupRewardPayload, IssueSignupRewardResult, PatchGenderAndBirthdayPayload, SaveSystemAppPushAcceptPayload, IssueInflowSignupRewardResult, VerificationPhoneForSnsUserPayload, SignInGuestUserPayload, SignInGuestUserResult, UpdateGuestUsernamePayload, AppSwitchingRewardPayload, AppSwitchingRewardResult, GetUserIdsForTimeDealPushPayload, GetUserIdsForTimeDealPushResult, GetMarketingReceiveByPhoneNumbersResult, GetMarketingReceiveByPhoneNumbersPayload, IsUnlimitedBenefitUserIdPayload } from '../dto';
8
7
  /** 기존 userService 와 이름이 겹쳐 userEntityService로 임시 사용 */
9
8
  export declare class AmqpUserEntityService {
10
9
  private readonly client;
@@ -26,5 +25,4 @@ export declare class AmqpUserEntityService {
26
25
  getUserIdsForTimeDealPush(payload: GetUserIdsForTimeDealPushPayload, param: AbstractParam): Promise<GetUserIdsForTimeDealPushResult>;
27
26
  getMarketingReceiveByPhoneNumbers(payload: GetMarketingReceiveByPhoneNumbersPayload, param: AbstractParam): Promise<GetMarketingReceiveByPhoneNumbersResult[]>;
28
27
  isUnlimitedBenefitUserId(payload: IsUnlimitedBenefitUserIdPayload, param: AbstractParam): Promise<boolean>;
29
- getUserInfosByIds(payload: GetUserInfosByIdsPayload, param: AbstractParam): Promise<UserEntity[]>;
30
28
  }
@@ -70,9 +70,6 @@ let AmqpUserEntityService = class AmqpUserEntityService {
70
70
  async isUnlimitedBenefitUserId(payload, param) {
71
71
  return this.amqpManager.call('유저 - 크레딧, 쿠폰 제한 없는 유저 여부 조회', 'user.get.is-unlimited-benefit-user-id', payload, param, { isErrorThrowing: true });
72
72
  }
73
- async getUserInfosByIds(payload, param) {
74
- return this.amqpManager.call('유저 - 리스트 필요한 데이터 조회', 'user.get.infos-by-ids', payload, param, { isErrorThrowing: true });
75
- }
76
73
  };
77
74
  exports.AmqpUserEntityService = AmqpUserEntityService;
78
75
  exports.AmqpUserEntityService = AmqpUserEntityService = __decorate([
@@ -1,12 +0,0 @@
1
- /**
2
- * CRM 코호트 엑셀 생성 요청 DTO입니다.
3
- */
4
- export declare class CreateCrmCohortExcelPayload {
5
- cohortId: string;
6
- cohortExportJobId: string;
7
- excludedExcelFileName?: string;
8
- excludedUserFileKey?: string;
9
- }
10
- export interface CrmCohortExcelJobResult {
11
- jobId: string | number;
12
- }
@@ -1,40 +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.CreateCrmCohortExcelPayload = void 0;
13
- const class_validator_1 = require("class-validator");
14
- /**
15
- * CRM 코호트 엑셀 생성 요청 DTO입니다.
16
- */
17
- class CreateCrmCohortExcelPayload {
18
- }
19
- exports.CreateCrmCohortExcelPayload = CreateCrmCohortExcelPayload;
20
- __decorate([
21
- (0, class_validator_1.IsString)(),
22
- (0, class_validator_1.IsNotEmpty)(),
23
- __metadata("design:type", String)
24
- ], CreateCrmCohortExcelPayload.prototype, "cohortId", void 0);
25
- __decorate([
26
- (0, class_validator_1.IsString)(),
27
- (0, class_validator_1.IsNotEmpty)(),
28
- __metadata("design:type", String)
29
- ], CreateCrmCohortExcelPayload.prototype, "cohortExportJobId", void 0);
30
- __decorate([
31
- (0, class_validator_1.IsOptional)(),
32
- (0, class_validator_1.IsString)(),
33
- __metadata("design:type", String)
34
- ], CreateCrmCohortExcelPayload.prototype, "excludedExcelFileName", void 0);
35
- __decorate([
36
- (0, class_validator_1.IsOptional)(),
37
- (0, class_validator_1.IsString)(),
38
- (0, class_validator_1.Matches)(/^crm\/cohort-exclusions\/.+\.csv$/),
39
- __metadata("design:type", String)
40
- ], CreateCrmCohortExcelPayload.prototype, "excludedUserFileKey", void 0);
@@ -1,6 +0,0 @@
1
- /** LMS 코호트 엑셀 생성 요청 DTO입니다. */
2
- export declare class CreateLmsCohortExcelPayload {
3
- cohortId: string;
4
- cohortExportJobId: string;
5
- excludedUserFileKey?: string;
6
- }
@@ -1,33 +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.CreateLmsCohortExcelPayload = void 0;
13
- const class_validator_1 = require("class-validator");
14
- /** LMS 코호트 엑셀 생성 요청 DTO입니다. */
15
- class CreateLmsCohortExcelPayload {
16
- }
17
- exports.CreateLmsCohortExcelPayload = CreateLmsCohortExcelPayload;
18
- __decorate([
19
- (0, class_validator_1.IsString)(),
20
- (0, class_validator_1.IsNotEmpty)(),
21
- __metadata("design:type", String)
22
- ], CreateLmsCohortExcelPayload.prototype, "cohortId", void 0);
23
- __decorate([
24
- (0, class_validator_1.IsString)(),
25
- (0, class_validator_1.IsNotEmpty)(),
26
- __metadata("design:type", String)
27
- ], CreateLmsCohortExcelPayload.prototype, "cohortExportJobId", void 0);
28
- __decorate([
29
- (0, class_validator_1.IsOptional)(),
30
- (0, class_validator_1.IsString)(),
31
- (0, class_validator_1.Matches)(/^crm\/cohort-exclusions\/.+\.csv$/),
32
- __metadata("design:type", String)
33
- ], CreateLmsCohortExcelPayload.prototype, "excludedUserFileKey", void 0);
@@ -1,2 +0,0 @@
1
- export * from './create-crm-cohort-excel.dto';
2
- export * from './create-lms-cohort-excel.dto';
@@ -1,18 +0,0 @@
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("./create-crm-cohort-excel.dto"), exports);
18
- __exportStar(require("./create-lms-cohort-excel.dto"), exports);
@@ -1 +0,0 @@
1
- export * from './command';
@@ -1,17 +0,0 @@
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);
@@ -1,10 +0,0 @@
1
- import { ClientProxy } from '@nestjs/microservices';
2
- import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { CreateCrmCohortExcelPayload, CreateLmsCohortExcelPayload, CrmCohortExcelJobResult } from '../dto';
4
- export declare class AmqpCrmCohortExcelService {
5
- private readonly client;
6
- private readonly amqpManager;
7
- constructor(client: ClientProxy);
8
- createCrmCohortExcel(payload: CreateCrmCohortExcelPayload, param: AbstractParam): Promise<CrmCohortExcelJobResult>;
9
- createLmsCohortExcel(payload: CreateLmsCohortExcelPayload, param: AbstractParam): Promise<CrmCohortExcelJobResult>;
10
- }
@@ -1,36 +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
- 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.AmqpCrmCohortExcelService = 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 AmqpCrmCohortExcelService = class AmqpCrmCohortExcelService {
20
- constructor(client) {
21
- this.client = client;
22
- this.amqpManager = new functions_1.AmqpManagement(this.client);
23
- }
24
- async createCrmCohortExcel(payload, param) {
25
- return this.amqpManager.call('CRM 코호트 엑셀 생성', 'crm-cohort-excel.create', payload, param, { isErrorThrowing: true });
26
- }
27
- async createLmsCohortExcel(payload, param) {
28
- return this.amqpManager.call('LMS 코호트 엑셀 생성', 'lms-cohort-excel.create', payload, param, { isErrorThrowing: true });
29
- }
30
- };
31
- exports.AmqpCrmCohortExcelService = AmqpCrmCohortExcelService;
32
- exports.AmqpCrmCohortExcelService = AmqpCrmCohortExcelService = __decorate([
33
- (0, common_1.Injectable)(),
34
- __param(0, (0, common_1.Inject)('EXCEL_UPLOAD_SERVER_PROVIDER')),
35
- __metadata("design:paramtypes", [microservices_1.ClientProxy])
36
- ], AmqpCrmCohortExcelService);
@@ -1,11 +0,0 @@
1
- import { AmplitudeCohortExportTypeEnum } from '@yolo-croket-dev/entity-v2';
2
- export declare class CreateAmplitudeCohortExportJobPayload {
3
- cohortId: string;
4
- exportType: AmplitudeCohortExportTypeEnum;
5
- excludedExcelFileName?: string;
6
- excludedUserFileKey?: string;
7
- excludedUserIdCount: number;
8
- }
9
- export interface CreateAmplitudeCohortExportJobResult {
10
- jobId: string;
11
- }
@@ -1,41 +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.CreateAmplitudeCohortExportJobPayload = void 0;
13
- const entity_v2_1 = require("@yolo-croket-dev/entity-v2");
14
- const class_validator_1 = require("class-validator");
15
- class CreateAmplitudeCohortExportJobPayload {
16
- }
17
- exports.CreateAmplitudeCohortExportJobPayload = CreateAmplitudeCohortExportJobPayload;
18
- __decorate([
19
- (0, class_validator_1.IsString)(),
20
- (0, class_validator_1.IsNotEmpty)(),
21
- __metadata("design:type", String)
22
- ], CreateAmplitudeCohortExportJobPayload.prototype, "cohortId", void 0);
23
- __decorate([
24
- (0, class_validator_1.IsEnum)(entity_v2_1.AmplitudeCohortExportTypeEnum),
25
- __metadata("design:type", String)
26
- ], CreateAmplitudeCohortExportJobPayload.prototype, "exportType", void 0);
27
- __decorate([
28
- (0, class_validator_1.IsOptional)(),
29
- (0, class_validator_1.IsString)(),
30
- __metadata("design:type", String)
31
- ], CreateAmplitudeCohortExportJobPayload.prototype, "excludedExcelFileName", void 0);
32
- __decorate([
33
- (0, class_validator_1.IsOptional)(),
34
- (0, class_validator_1.IsString)(),
35
- __metadata("design:type", String)
36
- ], CreateAmplitudeCohortExportJobPayload.prototype, "excludedUserFileKey", void 0);
37
- __decorate([
38
- (0, class_validator_1.IsNumber)(),
39
- (0, class_validator_1.Min)(0),
40
- __metadata("design:type", Number)
41
- ], CreateAmplitudeCohortExportJobPayload.prototype, "excludedUserIdCount", void 0);
@@ -1,2 +0,0 @@
1
- export * from './create-amplitude-cohort-export-job.dto';
2
- export * from './update-amplitude-cohort-export-job.dto';
@@ -1,18 +0,0 @@
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("./create-amplitude-cohort-export-job.dto"), exports);
18
- __exportStar(require("./update-amplitude-cohort-export-job.dto"), exports);
@@ -1,15 +0,0 @@
1
- import { AmplitudeCohortExportStatusEnum } from '@yolo-croket-dev/entity-v2';
2
- export declare class UpdateAmplitudeCohortExportJobPayload {
3
- jobId: string;
4
- status: AmplitudeCohortExportStatusEnum;
5
- amplitudeRequestId?: string;
6
- pollCount?: number;
7
- exportedUserCount?: number;
8
- excludedUserCount?: number;
9
- resultFile?: {
10
- key: string;
11
- url: string;
12
- };
13
- errorCode?: string;
14
- errorMessage?: string;
15
- }
@@ -1,63 +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.UpdateAmplitudeCohortExportJobPayload = void 0;
13
- const entity_v2_1 = require("@yolo-croket-dev/entity-v2");
14
- const class_validator_1 = require("class-validator");
15
- class UpdateAmplitudeCohortExportJobPayload {
16
- }
17
- exports.UpdateAmplitudeCohortExportJobPayload = UpdateAmplitudeCohortExportJobPayload;
18
- __decorate([
19
- (0, class_validator_1.IsMongoId)(),
20
- __metadata("design:type", String)
21
- ], UpdateAmplitudeCohortExportJobPayload.prototype, "jobId", void 0);
22
- __decorate([
23
- (0, class_validator_1.IsEnum)(entity_v2_1.AmplitudeCohortExportStatusEnum),
24
- __metadata("design:type", String)
25
- ], UpdateAmplitudeCohortExportJobPayload.prototype, "status", void 0);
26
- __decorate([
27
- (0, class_validator_1.IsOptional)(),
28
- (0, class_validator_1.IsString)(),
29
- __metadata("design:type", String)
30
- ], UpdateAmplitudeCohortExportJobPayload.prototype, "amplitudeRequestId", void 0);
31
- __decorate([
32
- (0, class_validator_1.IsOptional)(),
33
- (0, class_validator_1.IsInt)(),
34
- (0, class_validator_1.Min)(0),
35
- __metadata("design:type", Number)
36
- ], UpdateAmplitudeCohortExportJobPayload.prototype, "pollCount", void 0);
37
- __decorate([
38
- (0, class_validator_1.IsOptional)(),
39
- (0, class_validator_1.IsInt)(),
40
- (0, class_validator_1.Min)(0),
41
- __metadata("design:type", Number)
42
- ], UpdateAmplitudeCohortExportJobPayload.prototype, "exportedUserCount", void 0);
43
- __decorate([
44
- (0, class_validator_1.IsOptional)(),
45
- (0, class_validator_1.IsInt)(),
46
- (0, class_validator_1.Min)(0),
47
- __metadata("design:type", Number)
48
- ], UpdateAmplitudeCohortExportJobPayload.prototype, "excludedUserCount", void 0);
49
- __decorate([
50
- (0, class_validator_1.IsOptional)(),
51
- (0, class_validator_1.IsObject)(),
52
- __metadata("design:type", Object)
53
- ], UpdateAmplitudeCohortExportJobPayload.prototype, "resultFile", void 0);
54
- __decorate([
55
- (0, class_validator_1.IsOptional)(),
56
- (0, class_validator_1.IsString)(),
57
- __metadata("design:type", String)
58
- ], UpdateAmplitudeCohortExportJobPayload.prototype, "errorCode", void 0);
59
- __decorate([
60
- (0, class_validator_1.IsOptional)(),
61
- (0, class_validator_1.IsString)(),
62
- __metadata("design:type", String)
63
- ], UpdateAmplitudeCohortExportJobPayload.prototype, "errorMessage", void 0);
@@ -1,2 +0,0 @@
1
- export * from './command';
2
- export * from './query';
@@ -1,18 +0,0 @@
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);
@@ -1,3 +0,0 @@
1
- export declare class GetAmplitudeCohortExportJobPayload {
2
- jobId: string;
3
- }
@@ -1,20 +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.GetAmplitudeCohortExportJobPayload = void 0;
13
- const class_validator_1 = require("class-validator");
14
- class GetAmplitudeCohortExportJobPayload {
15
- }
16
- exports.GetAmplitudeCohortExportJobPayload = GetAmplitudeCohortExportJobPayload;
17
- __decorate([
18
- (0, class_validator_1.IsMongoId)(),
19
- __metadata("design:type", String)
20
- ], GetAmplitudeCohortExportJobPayload.prototype, "jobId", void 0);
@@ -1 +0,0 @@
1
- export * from './get-amplitude-cohort-export-job.dto';
@@ -1,17 +0,0 @@
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-amplitude-cohort-export-job.dto"), exports);
@@ -1,10 +0,0 @@
1
- export interface GetTodayExcelAppBulkPushLogsResult {
2
- type: string;
3
- regDate?: Date;
4
- excelInfo?: {
5
- excelFileName?: string;
6
- };
7
- reservationInfo?: {
8
- reservationDate?: Date;
9
- };
10
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,12 +0,0 @@
1
- import { ClientProxy } from '@nestjs/microservices';
2
- import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { AmplitudeCohortExportJobEntity } from '@yolo-croket-dev/entity-v2';
4
- import { CreateAmplitudeCohortExportJobPayload, CreateAmplitudeCohortExportJobResult, GetAmplitudeCohortExportJobPayload, UpdateAmplitudeCohortExportJobPayload } from '../dto';
5
- export declare class AmqpAmplitudeCohortExportJobService {
6
- private readonly client;
7
- private readonly amqpManager;
8
- constructor(client: ClientProxy);
9
- create(payload: CreateAmplitudeCohortExportJobPayload, param: AbstractParam): Promise<CreateAmplitudeCohortExportJobResult>;
10
- update(payload: UpdateAmplitudeCohortExportJobPayload, param: AbstractParam): Promise<void>;
11
- get(payload: GetAmplitudeCohortExportJobPayload, param: AbstractParam): Promise<AmplitudeCohortExportJobEntity>;
12
- }
@@ -1,39 +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
- 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.AmqpAmplitudeCohortExportJobService = 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 AmqpAmplitudeCohortExportJobService = class AmqpAmplitudeCohortExportJobService {
20
- constructor(client) {
21
- this.client = client;
22
- this.amqpManager = new functions_1.AmqpManagement(this.client);
23
- }
24
- async create(payload, param) {
25
- return this.amqpManager.call('앰플리튜드 코흐트 다운로드 job 생성', 'amplitude-cohort-export-job.create', payload, param, { isErrorThrowing: true });
26
- }
27
- async update(payload, param) {
28
- return this.amqpManager.call('앰플리튜드 코흐트 다운로드 job 업데이트', 'amplitude-cohort-export-job.update', payload, param, { isErrorThrowing: true });
29
- }
30
- async get(payload, param) {
31
- return this.amqpManager.call('앰플리튜드 코흐트 다운로드 job 조회', 'amplitude-cohort-export-job.get', payload, param, { isErrorThrowing: true });
32
- }
33
- };
34
- exports.AmqpAmplitudeCohortExportJobService = AmqpAmplitudeCohortExportJobService;
35
- exports.AmqpAmplitudeCohortExportJobService = AmqpAmplitudeCohortExportJobService = __decorate([
36
- (0, common_1.Injectable)(),
37
- __param(0, (0, common_1.Inject)('NOTIFICATION_SERVICE_PROVIDER')),
38
- __metadata("design:paramtypes", [microservices_1.ClientProxy])
39
- ], AmqpAmplitudeCohortExportJobService);
@@ -1,5 +0,0 @@
1
- export declare class GetUserInfosByIdsPayload {
2
- userIds: string[];
3
- includeFields?: string[];
4
- excludeFields?: string[];
5
- }
@@ -1,34 +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.GetUserInfosByIdsPayload = void 0;
13
- const class_validator_1 = require("class-validator");
14
- class GetUserInfosByIdsPayload {
15
- }
16
- exports.GetUserInfosByIdsPayload = GetUserInfosByIdsPayload;
17
- __decorate([
18
- (0, class_validator_1.IsArray)(),
19
- (0, class_validator_1.ArrayMaxSize)(10000),
20
- (0, class_validator_1.IsMongoId)({ each: true }),
21
- __metadata("design:type", Array)
22
- ], GetUserInfosByIdsPayload.prototype, "userIds", void 0);
23
- __decorate([
24
- (0, class_validator_1.IsOptional)(),
25
- (0, class_validator_1.IsArray)(),
26
- (0, class_validator_1.IsString)({ each: true }),
27
- __metadata("design:type", Array)
28
- ], GetUserInfosByIdsPayload.prototype, "includeFields", void 0);
29
- __decorate([
30
- (0, class_validator_1.IsOptional)(),
31
- (0, class_validator_1.IsArray)(),
32
- (0, class_validator_1.IsString)({ each: true }),
33
- __metadata("design:type", Array)
34
- ], GetUserInfosByIdsPayload.prototype, "excludeFields", void 0);