@yolo-croket-dev/amqp-access 0.7.62 → 0.7.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,7 @@
1
+ /**
2
+ * @description 관리자 유저 카드 정보 삭제 요청 Payload
3
+ */
4
+ export declare class DeleteUserCardBillingByAdminPayload {
5
+ /** 삭제할 유저 카드 빌링 ID */
6
+ userCardBillingId: string;
7
+ }
@@ -9,16 +9,16 @@ 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.DeleteUserCardBillingPayload = void 0;
12
+ exports.DeleteUserCardBillingByAdminPayload = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  /**
15
- * @description 유저 카드 정보 삭제 요청 Payload
15
+ * @description 관리자 유저 카드 정보 삭제 요청 Payload
16
16
  */
17
- class DeleteUserCardBillingPayload {
17
+ class DeleteUserCardBillingByAdminPayload {
18
18
  }
19
- exports.DeleteUserCardBillingPayload = DeleteUserCardBillingPayload;
19
+ exports.DeleteUserCardBillingByAdminPayload = DeleteUserCardBillingByAdminPayload;
20
20
  __decorate([
21
21
  (0, class_validator_1.IsMongoId)(),
22
22
  (0, class_validator_1.IsNotEmpty)(),
23
23
  __metadata("design:type", String)
24
- ], DeleteUserCardBillingPayload.prototype, "userCardBillingId", void 0);
24
+ ], DeleteUserCardBillingByAdminPayload.prototype, "userCardBillingId", void 0);
@@ -1,2 +1,2 @@
1
1
  export * from './register-user-card-billing.dto';
2
- export * from './delete-user-card-billing.dto';
2
+ export * from './delete-user-card-billing-by-admin.dto';
@@ -15,4 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./register-user-card-billing.dto"), exports);
18
- __exportStar(require("./delete-user-card-billing.dto"), exports);
18
+ __exportStar(require("./delete-user-card-billing-by-admin.dto"), exports);
@@ -1,4 +1,4 @@
1
- import { UserCardBillingEnum, NicepayBillingKeyApiResponse } from '@yolo-croket-dev/entity-v2/user';
1
+ import { UserCardBillingEnum, NicepayBillingKeyApiResponse } from '@yolo-croket-dev/entity-v2/user-card-billing';
2
2
  /**
3
3
  * @description 유저 카드 정보 등록 요청 Payload
4
4
  */
@@ -11,7 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.RegisterUserCardBillingPayload = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- const user_1 = require("@yolo-croket-dev/entity-v2/user");
14
+ const user_card_billing_1 = require("@yolo-croket-dev/entity-v2/user-card-billing");
15
15
  /**
16
16
  * @description 유저 카드 정보 등록 요청 Payload
17
17
  */
@@ -24,7 +24,7 @@ __decorate([
24
24
  __metadata("design:type", String)
25
25
  ], RegisterUserCardBillingPayload.prototype, "billingKey", void 0);
26
26
  __decorate([
27
- (0, class_validator_1.IsEnum)(user_1.UserCardBillingEnum),
27
+ (0, class_validator_1.IsEnum)(user_card_billing_1.UserCardBillingEnum),
28
28
  (0, class_validator_1.IsNotEmpty)(),
29
29
  __metadata("design:type", String)
30
30
  ], RegisterUserCardBillingPayload.prototype, "type", void 0);
@@ -1,4 +1,4 @@
1
- import { UserCardBillingEntity } from '@yolo-croket-dev/entity-v2/user';
1
+ import { UserCardBillingEntity } from '@yolo-croket-dev/entity-v2/user-card-billing';
2
2
  /**
3
3
  * @description 유저 카드 정보 상세 조회 요청 Payload
4
4
  */
@@ -1,4 +1,4 @@
1
- import { UserCardBillingEntity } from '@yolo-croket-dev/entity-v2/user';
1
+ import { UserCardBillingEntity } from '@yolo-croket-dev/entity-v2/user-card-billing';
2
2
  /**
3
3
  * @description 유저 카드 정보 목록 조회 요청 Payload
4
4
  */
@@ -1,6 +1,6 @@
1
1
  import { ClientProxy } from '@nestjs/microservices';
2
2
  import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { RegisterUserCardBillingPayload, DeleteUserCardBillingPayload, GetUserCardBillingListPayload, GetUserCardBillingListResult, GetMyUserCardBillingDetailPayload, GetMyUserCardBillingDetailResult } from '../dto/user-card-billing';
3
+ import { RegisterUserCardBillingPayload, DeleteUserCardBillingByAdminPayload, GetUserCardBillingListPayload, GetUserCardBillingListResult, GetMyUserCardBillingDetailPayload, GetMyUserCardBillingDetailResult } from '../dto/user-card-billing';
4
4
  /**
5
5
  * @author jun
6
6
  * @description 유저 카드 빌링 정보 AMQP 서비스
@@ -12,8 +12,8 @@ export declare class AmqpUserCardBillingService {
12
12
  constructor(client: ClientProxy);
13
13
  /** 유저 카드 정보 등록 */
14
14
  registerUserCardBilling(payload: RegisterUserCardBillingPayload, param: AbstractParam): Promise<void>;
15
- /** 유저 카드 정보 삭제 */
16
- deleteUserCardBilling(payload: DeleteUserCardBillingPayload, param: AbstractParam): Promise<void>;
15
+ /** 관리자 유저 카드 정보 삭제 */
16
+ deleteUserCardBillingByAdmin(payload: DeleteUserCardBillingByAdminPayload, param: AbstractParam): Promise<void>;
17
17
  /** 유저 카드 정보 목록 조회 */
18
18
  getUserCardBillingList(payload: GetUserCardBillingListPayload, param: AbstractParam): Promise<GetUserCardBillingListResult>;
19
19
  /** 유저 카드 정보 상세 조회 */
@@ -30,9 +30,9 @@ let AmqpUserCardBillingService = class AmqpUserCardBillingService {
30
30
  async registerUserCardBilling(payload, param) {
31
31
  return this.amqpManager.call('유저 카드 정보 등록', 'user-card-billing.register.card', payload, param, { isErrorThrowing: true });
32
32
  }
33
- /** 유저 카드 정보 삭제 */
34
- async deleteUserCardBilling(payload, param) {
35
- return this.amqpManager.call('유저 카드 정보 삭제', 'user-card-billing.delete.card', payload, param, { isErrorThrowing: true });
33
+ /** 관리자 유저 카드 정보 삭제 */
34
+ async deleteUserCardBillingByAdmin(payload, param) {
35
+ return this.amqpManager.call('관리자 유저 카드 정보 삭제', 'user-card-billing.delete.card-by-admin', payload, param, { isErrorThrowing: true });
36
36
  }
37
37
  /** 유저 카드 정보 목록 조회 */
38
38
  async getUserCardBillingList(payload, param) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.7.62",
3
+ "version": "0.7.63",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -1,7 +0,0 @@
1
- /**
2
- * @description 유저 카드 정보 삭제 요청 Payload
3
- */
4
- export declare class DeleteUserCardBillingPayload {
5
- /** 삭제할 유저 카드 빌링 ID */
6
- userCardBillingId: string;
7
- }