@yolo-croket-dev/amqp-access 0.4.81 → 0.4.82

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 (27) hide show
  1. package/order-server/dto/purchased-info.modules/purchased-info-admin/command/edit-p-info-etc-data.dto.d.ts +6 -0
  2. package/order-server/dto/purchased-info.modules/purchased-info-admin/command/edit-p-info-etc-data.dto.js +32 -0
  3. package/order-server/dto/purchased-info.modules/purchased-info-admin/command/edit-p-info-memo.dto.d.ts +4 -0
  4. package/{user-service/dto/redis-db/command/push-redis-db.dto.js → order-server/dto/purchased-info.modules/purchased-info-admin/command/edit-p-info-memo.dto.js} +6 -8
  5. package/order-server/dto/purchased-info.modules/purchased-info-admin/command/edit-p-info-price.dto.d.ts +25 -0
  6. package/order-server/dto/purchased-info.modules/purchased-info-admin/command/edit-p-info-price.dto.js +109 -0
  7. package/order-server/dto/purchased-info.modules/purchased-info-admin/command/edit-p-info-process.dto.d.ts +5 -0
  8. package/order-server/dto/purchased-info.modules/purchased-info-admin/command/edit-p-info-process.dto.js +26 -0
  9. package/order-server/dto/purchased-info.modules/purchased-info-admin/command/edit-p-info-receiver-info.dto.d.ts +8 -0
  10. package/order-server/dto/purchased-info.modules/purchased-info-admin/command/edit-p-info-receiver-info.dto.js +40 -0
  11. package/order-server/dto/purchased-info.modules/purchased-info-admin/command/edit-p-info-waiting-receive-info.dto.d.ts +5 -0
  12. package/order-server/dto/purchased-info.modules/purchased-info-admin/command/edit-p-info-waiting-receive-info.dto.js +29 -0
  13. package/order-server/dto/purchased-info.modules/purchased-info-admin/command/index.d.ts +6 -0
  14. package/order-server/dto/purchased-info.modules/purchased-info-admin/command/index.js +22 -0
  15. package/order-server/dto/purchased-info.modules/purchased-info-admin/index.d.ts +1 -0
  16. package/order-server/dto/purchased-info.modules/purchased-info-admin/index.js +1 -0
  17. package/order-server/services/index.d.ts +1 -1
  18. package/order-server/services/index.js +1 -1
  19. package/order-server/services/purchased-info.modules/amqp.purchased-info-admin.service.d.ts +16 -0
  20. package/order-server/services/{amqp.purchased-info-admin.service.js → purchased-info.modules/amqp.purchased-info-admin.service.js} +18 -0
  21. package/order-server/services/purchased-info.modules/index.d.ts +1 -0
  22. package/order-server/services/purchased-info.modules/index.js +17 -0
  23. package/package.json +1 -1
  24. package/order-server/services/amqp.purchased-info-admin.service.d.ts +0 -10
  25. package/user-service/dto/redis-db/command/pull-redis-db.dto.d.ts +0 -3
  26. package/user-service/dto/redis-db/command/pull-redis-db.dto.js +0 -7
  27. package/user-service/dto/redis-db/command/push-redis-db.dto.d.ts +0 -4
@@ -0,0 +1,6 @@
1
+ export declare class EditPInfoEtcDataPayload {
2
+ pInfoId: string;
3
+ editPastName: string;
4
+ editPastImg: string;
5
+ editRequirement: string;
6
+ }
@@ -0,0 +1,32 @@
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.EditPInfoEtcDataPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class EditPInfoEtcDataPayload {
15
+ }
16
+ exports.EditPInfoEtcDataPayload = EditPInfoEtcDataPayload;
17
+ __decorate([
18
+ (0, class_validator_1.IsMongoId)(),
19
+ __metadata("design:type", String)
20
+ ], EditPInfoEtcDataPayload.prototype, "pInfoId", void 0);
21
+ __decorate([
22
+ (0, class_validator_1.IsString)(),
23
+ __metadata("design:type", String)
24
+ ], EditPInfoEtcDataPayload.prototype, "editPastName", void 0);
25
+ __decorate([
26
+ (0, class_validator_1.IsString)(),
27
+ __metadata("design:type", String)
28
+ ], EditPInfoEtcDataPayload.prototype, "editPastImg", void 0);
29
+ __decorate([
30
+ (0, class_validator_1.IsString)(),
31
+ __metadata("design:type", String)
32
+ ], EditPInfoEtcDataPayload.prototype, "editRequirement", void 0);
@@ -0,0 +1,4 @@
1
+ export declare class EditPInfoMemoPayload {
2
+ pInfoId: string;
3
+ editMemo: string;
4
+ }
@@ -9,18 +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.PushRedisDBPayload = void 0;
12
+ exports.EditPInfoMemoPayload = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- class PushRedisDBPayload {
14
+ class EditPInfoMemoPayload {
15
15
  }
16
- exports.PushRedisDBPayload = PushRedisDBPayload;
16
+ exports.EditPInfoMemoPayload = EditPInfoMemoPayload;
17
17
  __decorate([
18
- (0, class_validator_1.IsString)(),
19
- (0, class_validator_1.MinLength)(1),
18
+ (0, class_validator_1.IsMongoId)(),
20
19
  __metadata("design:type", String)
21
- ], PushRedisDBPayload.prototype, "redisDBKey", void 0);
20
+ ], EditPInfoMemoPayload.prototype, "pInfoId", void 0);
22
21
  __decorate([
23
22
  (0, class_validator_1.IsString)(),
24
- (0, class_validator_1.MinLength)(1),
25
23
  __metadata("design:type", String)
26
- ], PushRedisDBPayload.prototype, "value", void 0);
24
+ ], EditPInfoMemoPayload.prototype, "editMemo", void 0);
@@ -0,0 +1,25 @@
1
+ export declare class EditPInfoPriceOptionInfo {
2
+ optionName: string;
3
+ pNums: number;
4
+ }
5
+ export declare class EditPInfoPricePayload {
6
+ pInfoId: string;
7
+ editAllPurchaseNumber: number;
8
+ editPastPrice: number;
9
+ editPastPriceForBuyer: number;
10
+ editInsurancePrice?: number;
11
+ editIsPrepay: boolean;
12
+ editShippingFee?: number;
13
+ editBundleShippingFee?: number;
14
+ editOptionInfoList: EditPInfoPriceOptionInfo[];
15
+ editUsedCredit: number;
16
+ editPaymentFeeNumber: number;
17
+ clientTotalPrice: number;
18
+ clientOriginPrice: number;
19
+ clientPaidPrice: number;
20
+ clientExpectedProceeds: number;
21
+ clientServiceFee: number;
22
+ clientServiceFeePercent: number;
23
+ clientProceedsVersion: string;
24
+ isRemoveIC: boolean;
25
+ }
@@ -0,0 +1,109 @@
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.EditPInfoPricePayload = exports.EditPInfoPriceOptionInfo = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const class_validator_1 = require("class-validator");
15
+ class EditPInfoPriceOptionInfo {
16
+ }
17
+ exports.EditPInfoPriceOptionInfo = EditPInfoPriceOptionInfo;
18
+ __decorate([
19
+ (0, class_validator_1.IsString)(),
20
+ __metadata("design:type", String)
21
+ ], EditPInfoPriceOptionInfo.prototype, "optionName", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsNumber)(),
24
+ __metadata("design:type", Number)
25
+ ], EditPInfoPriceOptionInfo.prototype, "pNums", void 0);
26
+ class EditPInfoPricePayload {
27
+ }
28
+ exports.EditPInfoPricePayload = EditPInfoPricePayload;
29
+ __decorate([
30
+ (0, class_validator_1.IsMongoId)(),
31
+ __metadata("design:type", String)
32
+ ], EditPInfoPricePayload.prototype, "pInfoId", void 0);
33
+ __decorate([
34
+ (0, class_validator_1.IsNumber)(),
35
+ __metadata("design:type", Number)
36
+ ], EditPInfoPricePayload.prototype, "editAllPurchaseNumber", void 0);
37
+ __decorate([
38
+ (0, class_validator_1.IsNumber)(),
39
+ __metadata("design:type", Number)
40
+ ], EditPInfoPricePayload.prototype, "editPastPrice", void 0);
41
+ __decorate([
42
+ (0, class_validator_1.IsNumber)(),
43
+ __metadata("design:type", Number)
44
+ ], EditPInfoPricePayload.prototype, "editPastPriceForBuyer", void 0);
45
+ __decorate([
46
+ (0, class_validator_1.IsNumber)(),
47
+ (0, class_validator_1.IsOptional)(),
48
+ __metadata("design:type", Number)
49
+ ], EditPInfoPricePayload.prototype, "editInsurancePrice", void 0);
50
+ __decorate([
51
+ (0, class_validator_1.IsBoolean)(),
52
+ __metadata("design:type", Boolean)
53
+ ], EditPInfoPricePayload.prototype, "editIsPrepay", void 0);
54
+ __decorate([
55
+ (0, class_validator_1.IsNumber)(),
56
+ (0, class_validator_1.IsOptional)(),
57
+ __metadata("design:type", Number)
58
+ ], EditPInfoPricePayload.prototype, "editShippingFee", void 0);
59
+ __decorate([
60
+ (0, class_validator_1.IsNumber)(),
61
+ (0, class_validator_1.IsOptional)(),
62
+ __metadata("design:type", Number)
63
+ ], EditPInfoPricePayload.prototype, "editBundleShippingFee", void 0);
64
+ __decorate([
65
+ (0, class_validator_1.IsArray)(),
66
+ (0, class_validator_1.ValidateNested)({ each: true }),
67
+ (0, class_transformer_1.Type)(() => EditPInfoPriceOptionInfo),
68
+ __metadata("design:type", Array)
69
+ ], EditPInfoPricePayload.prototype, "editOptionInfoList", void 0);
70
+ __decorate([
71
+ (0, class_validator_1.IsNumber)(),
72
+ __metadata("design:type", Number)
73
+ ], EditPInfoPricePayload.prototype, "editUsedCredit", void 0);
74
+ __decorate([
75
+ (0, class_validator_1.IsNumber)(),
76
+ __metadata("design:type", Number)
77
+ ], EditPInfoPricePayload.prototype, "editPaymentFeeNumber", void 0);
78
+ __decorate([
79
+ (0, class_validator_1.IsNumber)(),
80
+ __metadata("design:type", Number)
81
+ ], EditPInfoPricePayload.prototype, "clientTotalPrice", void 0);
82
+ __decorate([
83
+ (0, class_validator_1.IsNumber)(),
84
+ __metadata("design:type", Number)
85
+ ], EditPInfoPricePayload.prototype, "clientOriginPrice", void 0);
86
+ __decorate([
87
+ (0, class_validator_1.IsNumber)(),
88
+ __metadata("design:type", Number)
89
+ ], EditPInfoPricePayload.prototype, "clientPaidPrice", void 0);
90
+ __decorate([
91
+ (0, class_validator_1.IsNumber)(),
92
+ __metadata("design:type", Number)
93
+ ], EditPInfoPricePayload.prototype, "clientExpectedProceeds", void 0);
94
+ __decorate([
95
+ (0, class_validator_1.IsNumber)(),
96
+ __metadata("design:type", Number)
97
+ ], EditPInfoPricePayload.prototype, "clientServiceFee", void 0);
98
+ __decorate([
99
+ (0, class_validator_1.IsNumber)(),
100
+ __metadata("design:type", Number)
101
+ ], EditPInfoPricePayload.prototype, "clientServiceFeePercent", void 0);
102
+ __decorate([
103
+ (0, class_validator_1.IsString)(),
104
+ __metadata("design:type", String)
105
+ ], EditPInfoPricePayload.prototype, "clientProceedsVersion", void 0);
106
+ __decorate([
107
+ (0, class_validator_1.IsBoolean)(),
108
+ __metadata("design:type", Boolean)
109
+ ], EditPInfoPricePayload.prototype, "isRemoveIC", void 0);
@@ -0,0 +1,5 @@
1
+ import { PurchasedProcessEnum } from '@yolo-croket-dev/entity-v2/purchased-info/purchased-info.entity';
2
+ export declare class EditPInfoProcessPayload {
3
+ pInfoId: string;
4
+ editProcess: PurchasedProcessEnum;
5
+ }
@@ -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.EditPInfoProcessPayload = 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 EditPInfoProcessPayload {
16
+ }
17
+ exports.EditPInfoProcessPayload = EditPInfoProcessPayload;
18
+ __decorate([
19
+ (0, class_validator_1.IsMongoId)(),
20
+ __metadata("design:type", String)
21
+ ], EditPInfoProcessPayload.prototype, "pInfoId", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsString)(),
24
+ (0, class_validator_1.IsEnum)(purchased_info_entity_1.PurchasedProcessEnum),
25
+ __metadata("design:type", String)
26
+ ], EditPInfoProcessPayload.prototype, "editProcess", void 0);
@@ -0,0 +1,8 @@
1
+ export declare class EditPInfoReceiverInfoPayload {
2
+ pInfoId: string;
3
+ postCode: string;
4
+ address: string;
5
+ receiverName: string;
6
+ receiverPhoneNumber: string;
7
+ PCCC: string;
8
+ }
@@ -0,0 +1,40 @@
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.EditPInfoReceiverInfoPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class EditPInfoReceiverInfoPayload {
15
+ }
16
+ exports.EditPInfoReceiverInfoPayload = EditPInfoReceiverInfoPayload;
17
+ __decorate([
18
+ (0, class_validator_1.IsMongoId)(),
19
+ __metadata("design:type", String)
20
+ ], EditPInfoReceiverInfoPayload.prototype, "pInfoId", void 0);
21
+ __decorate([
22
+ (0, class_validator_1.IsString)(),
23
+ __metadata("design:type", String)
24
+ ], EditPInfoReceiverInfoPayload.prototype, "postCode", void 0);
25
+ __decorate([
26
+ (0, class_validator_1.IsString)(),
27
+ __metadata("design:type", String)
28
+ ], EditPInfoReceiverInfoPayload.prototype, "address", void 0);
29
+ __decorate([
30
+ (0, class_validator_1.IsString)(),
31
+ __metadata("design:type", String)
32
+ ], EditPInfoReceiverInfoPayload.prototype, "receiverName", void 0);
33
+ __decorate([
34
+ (0, class_validator_1.IsString)(),
35
+ __metadata("design:type", String)
36
+ ], EditPInfoReceiverInfoPayload.prototype, "receiverPhoneNumber", void 0);
37
+ __decorate([
38
+ (0, class_validator_1.IsString)(),
39
+ __metadata("design:type", String)
40
+ ], EditPInfoReceiverInfoPayload.prototype, "PCCC", void 0);
@@ -0,0 +1,5 @@
1
+ export declare class EditPInfoWaitingReceiveInfoPayload {
2
+ pInfoId: string;
3
+ autoReceiveExpectedDate: Date;
4
+ extendReason?: string;
5
+ }
@@ -0,0 +1,29 @@
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.EditPInfoWaitingReceiveInfoPayload = void 0;
13
+ const class_validator_1 = require("class-validator");
14
+ class EditPInfoWaitingReceiveInfoPayload {
15
+ }
16
+ exports.EditPInfoWaitingReceiveInfoPayload = EditPInfoWaitingReceiveInfoPayload;
17
+ __decorate([
18
+ (0, class_validator_1.IsMongoId)(),
19
+ __metadata("design:type", String)
20
+ ], EditPInfoWaitingReceiveInfoPayload.prototype, "pInfoId", void 0);
21
+ __decorate([
22
+ (0, class_validator_1.IsDateString)(),
23
+ __metadata("design:type", Date)
24
+ ], EditPInfoWaitingReceiveInfoPayload.prototype, "autoReceiveExpectedDate", void 0);
25
+ __decorate([
26
+ (0, class_validator_1.IsString)(),
27
+ (0, class_validator_1.IsOptional)(),
28
+ __metadata("design:type", String)
29
+ ], EditPInfoWaitingReceiveInfoPayload.prototype, "extendReason", void 0);
@@ -0,0 +1,6 @@
1
+ export * from './edit-p-info-etc-data.dto';
2
+ export * from './edit-p-info-memo.dto';
3
+ export * from './edit-p-info-price.dto';
4
+ export * from './edit-p-info-process.dto';
5
+ export * from './edit-p-info-receiver-info.dto';
6
+ export * from './edit-p-info-waiting-receive-info.dto';
@@ -0,0 +1,22 @@
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("./edit-p-info-etc-data.dto"), exports);
18
+ __exportStar(require("./edit-p-info-memo.dto"), exports);
19
+ __exportStar(require("./edit-p-info-price.dto"), exports);
20
+ __exportStar(require("./edit-p-info-process.dto"), exports);
21
+ __exportStar(require("./edit-p-info-receiver-info.dto"), exports);
22
+ __exportStar(require("./edit-p-info-waiting-receive-info.dto"), exports);
@@ -1 +1,2 @@
1
1
  export * from './query';
2
+ export * from './command';
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./query"), exports);
18
+ __exportStar(require("./command"), exports);
@@ -7,4 +7,4 @@ export * from './amqp.pay-try-test-log.service';
7
7
  export * from './amqp-data-payment-method.service';
8
8
  export * from './amqp.direct-payment-tosspayments.service';
9
9
  export * from './amqp.purchase-receipt.service';
10
- export * from './amqp.purchased-info-admin.service';
10
+ export * from './purchased-info.modules';
@@ -23,4 +23,4 @@ __exportStar(require("./amqp.pay-try-test-log.service"), exports);
23
23
  __exportStar(require("./amqp-data-payment-method.service"), exports);
24
24
  __exportStar(require("./amqp.direct-payment-tosspayments.service"), exports);
25
25
  __exportStar(require("./amqp.purchase-receipt.service"), exports);
26
- __exportStar(require("./amqp.purchased-info-admin.service"), exports);
26
+ __exportStar(require("./purchased-info.modules"), exports);
@@ -0,0 +1,16 @@
1
+ import { ClientProxy } from '@nestjs/microservices';
2
+ import { AbstractParam } from '@yolo-croket-dev/core';
3
+ import { GetPurchasedInfosForAdminPayload, GetPurchasedInfosForAdminResult, GetPurchasedInfoDetailForAdminEditPayload, GetPurchasedInfoDetailForAdminEditResult, EditPInfoEtcDataPayload, EditPInfoMemoPayload, EditPInfoPricePayload, EditPInfoProcessPayload, EditPInfoReceiverInfoPayload, EditPInfoWaitingReceiveInfoPayload } from '../../dto/purchased-info.modules';
4
+ export declare class AmqpPurchasedInfoAdminService {
5
+ private readonly client;
6
+ private readonly amqpManager;
7
+ constructor(client: ClientProxy);
8
+ getPurchasedInfosForAdmin(payload: GetPurchasedInfosForAdminPayload, param: AbstractParam): Promise<GetPurchasedInfosForAdminResult>;
9
+ getPurchasedInfoDetailForAdminEdit(payload: GetPurchasedInfoDetailForAdminEditPayload, param: AbstractParam): Promise<GetPurchasedInfoDetailForAdminEditResult>;
10
+ editPInfoEtcData(payload: EditPInfoEtcDataPayload, param: AbstractParam): Promise<void>;
11
+ editPInfoMemo(payload: EditPInfoMemoPayload, param: AbstractParam): Promise<void>;
12
+ editPInfoPrice(payload: EditPInfoPricePayload, param: AbstractParam): Promise<void>;
13
+ editPInfoProcess(payload: EditPInfoProcessPayload, param: AbstractParam): Promise<void>;
14
+ editPInfoReceiverInfo(payload: EditPInfoReceiverInfoPayload, param: AbstractParam): Promise<void>;
15
+ editPInfoWaitingReceiveInfo(payload: EditPInfoWaitingReceiveInfoPayload, param: AbstractParam): Promise<void>;
16
+ }
@@ -27,6 +27,24 @@ let AmqpPurchasedInfoAdminService = class AmqpPurchasedInfoAdminService {
27
27
  async getPurchasedInfoDetailForAdminEdit(payload, param) {
28
28
  return this.amqpManager.call('결제 상세 조회 (관리자 수정용)', 'purchased-info-admin.get.detail-for-edit', payload, param, { isErrorThrowing: true });
29
29
  }
30
+ async editPInfoEtcData(payload, param) {
31
+ return this.amqpManager.call('결제 상세 수정 (관리자)', 'purchased-info-admin.edit.etc-data', payload, param, { isErrorThrowing: true });
32
+ }
33
+ async editPInfoMemo(payload, param) {
34
+ return this.amqpManager.call('결제 상세 수정 (관리자)', 'purchased-info-admin.edit.memo', payload, param, { isErrorThrowing: true });
35
+ }
36
+ async editPInfoPrice(payload, param) {
37
+ return this.amqpManager.call('결제 상세 수정 (관리자)', 'purchased-info-admin.edit.price', payload, param, { isErrorThrowing: true });
38
+ }
39
+ async editPInfoProcess(payload, param) {
40
+ return this.amqpManager.call('결제 상세 수정 (관리자)', 'purchased-info-admin.edit.process', payload, param, { isErrorThrowing: true });
41
+ }
42
+ async editPInfoReceiverInfo(payload, param) {
43
+ return this.amqpManager.call('결제 상세 수정 (관리자)', 'purchased-info-admin.edit.receiver-info', payload, param, { isErrorThrowing: true });
44
+ }
45
+ async editPInfoWaitingReceiveInfo(payload, param) {
46
+ return this.amqpManager.call('결제 상세 수정 (관리자)', 'purchased-info-admin.edit.waiting-receive-info', payload, param, { isErrorThrowing: true });
47
+ }
30
48
  };
31
49
  exports.AmqpPurchasedInfoAdminService = AmqpPurchasedInfoAdminService;
32
50
  exports.AmqpPurchasedInfoAdminService = AmqpPurchasedInfoAdminService = __decorate([
@@ -0,0 +1 @@
1
+ export * from './amqp.purchased-info-admin.service';
@@ -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("./amqp.purchased-info-admin.service"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.4.81",
3
+ "version": "0.4.82",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -1,10 +0,0 @@
1
- import { ClientProxy } from '@nestjs/microservices';
2
- import { AbstractParam } from '@yolo-croket-dev/core';
3
- import { GetPurchasedInfosForAdminPayload, GetPurchasedInfosForAdminResult, GetPurchasedInfoDetailForAdminEditPayload, GetPurchasedInfoDetailForAdminEditResult } from '../dto/purchased-info.modules';
4
- export declare class AmqpPurchasedInfoAdminService {
5
- private readonly client;
6
- private readonly amqpManager;
7
- constructor(client: ClientProxy);
8
- getPurchasedInfosForAdmin(payload: GetPurchasedInfosForAdminPayload, param: AbstractParam): Promise<GetPurchasedInfosForAdminResult>;
9
- getPurchasedInfoDetailForAdminEdit(payload: GetPurchasedInfoDetailForAdminEditPayload, param: AbstractParam): Promise<GetPurchasedInfoDetailForAdminEditResult>;
10
- }
@@ -1,3 +0,0 @@
1
- import { PushRedisDBPayload } from './push-redis-db.dto';
2
- export declare class PullRedisDBPayload extends PushRedisDBPayload {
3
- }
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PullRedisDBPayload = void 0;
4
- const push_redis_db_dto_1 = require("./push-redis-db.dto");
5
- class PullRedisDBPayload extends push_redis_db_dto_1.PushRedisDBPayload {
6
- }
7
- exports.PullRedisDBPayload = PullRedisDBPayload;
@@ -1,4 +0,0 @@
1
- export declare class PushRedisDBPayload {
2
- redisDBKey: string;
3
- value: string;
4
- }