@yolo-croket-dev/amqp-access 0.4.104-jun.11 → 0.4.104-jun.2
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.
- package/order-server/amqp.order-server.module.js +0 -2
- package/order-server/dto/purchased-info.modules/index.d.ts +0 -1
- package/order-server/dto/purchased-info.modules/index.js +0 -1
- package/order-server/services/purchased-info.modules/index.d.ts +0 -1
- package/order-server/services/purchased-info.modules/index.js +0 -1
- package/package.json +1 -1
- package/payment-service/dto/refund.modules/refund-sabang/query/get-refund-p-infos-for-sabang.dto.d.ts +2 -2
- package/payment-service/dto/refund.modules/refund-sabang/query/get-refund-p-infos-for-sabang.dto.js +10 -10
- package/payment-service/services/refund.modules/amqp.refund-sabang.service.d.ts +2 -3
- package/payment-service/services/refund.modules/amqp.refund-sabang.service.js +1 -2
- package/user-service/amqp.user-service.module.js +0 -2
- package/user-service/services/index.d.ts +0 -1
- package/user-service/services/index.js +0 -1
- package/user-service/services/redis-db/amqp.redis-db.app-batch-push.service.d.ts +1 -6
- package/user-service/services/redis-db/amqp.redis-db.app-batch-push.service.js +0 -7
- package/order-server/dto/purchased-info.modules/purchased-info-sabang/index.d.ts +0 -2
- package/order-server/dto/purchased-info.modules/purchased-info-sabang/index.js +0 -18
- package/order-server/dto/purchased-info.modules/purchased-info-sabang/update-invoice-for-sabang.dto.d.ts +0 -15
- package/order-server/dto/purchased-info.modules/purchased-info-sabang/update-invoice-for-sabang.dto.js +0 -47
- package/order-server/dto/purchased-info.modules/purchased-info-sabang/update-waiting-order-for-sabang.dto.d.ts +0 -7
- package/order-server/dto/purchased-info.modules/purchased-info-sabang/update-waiting-order-for-sabang.dto.js +0 -34
- package/order-server/services/purchased-info.modules/amqp.purchased-info-sabang.service.d.ts +0 -10
- package/order-server/services/purchased-info.modules/amqp.purchased-info-sabang.service.js +0 -36
- package/user-service/dto/legacy-api/command/index.d.ts +0 -1
- package/user-service/dto/legacy-api/command/index.js +0 -17
- package/user-service/dto/legacy-api/command/save-invoice-to-legacy-api.dto.d.ts +0 -15
- package/user-service/dto/legacy-api/command/save-invoice-to-legacy-api.dto.js +0 -46
- package/user-service/dto/legacy-api/index.d.ts +0 -1
- package/user-service/dto/legacy-api/index.js +0 -17
- package/user-service/services/amqp.legacy-api.service.d.ts +0 -9
- package/user-service/services/amqp.legacy-api.service.js +0 -33
|
@@ -32,7 +32,6 @@ exports.AmqpOrderServerModule = AmqpOrderServerModule = __decorate([
|
|
|
32
32
|
services_1.AmqpChangedPurchasedOptionLogService,
|
|
33
33
|
services_1.AmqpPurchasedInfoAnalyticsAggregationService,
|
|
34
34
|
services_1.AmqpPurchaseReceiptSabangService,
|
|
35
|
-
services_1.AmqpPurchasedInfoSabangService,
|
|
36
35
|
],
|
|
37
36
|
exports: [
|
|
38
37
|
amqp_order_server_provider_1.OrderServerProvider,
|
|
@@ -50,7 +49,6 @@ exports.AmqpOrderServerModule = AmqpOrderServerModule = __decorate([
|
|
|
50
49
|
services_1.AmqpChangedPurchasedOptionLogService,
|
|
51
50
|
services_1.AmqpPurchasedInfoAnalyticsAggregationService,
|
|
52
51
|
services_1.AmqpPurchaseReceiptSabangService,
|
|
53
|
-
services_1.AmqpPurchasedInfoSabangService,
|
|
54
52
|
],
|
|
55
53
|
})
|
|
56
54
|
], AmqpOrderServerModule);
|
|
@@ -16,4 +16,3 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./amqp.purchased-info-admin.service"), exports);
|
|
18
18
|
__exportStar(require("./amqp.purchased-info-analytics-aggregation.service"), exports);
|
|
19
|
-
__exportStar(require("./amqp.purchased-info-sabang.service"), exports);
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { RefundPInfoForSabang } from '@yolo-croket-dev/domain/refund/interface/refund-purchased-info-for-sabang.domain';
|
|
2
|
-
export declare class
|
|
2
|
+
export declare class GetRefundPurchasedInfosPayload {
|
|
3
3
|
refundRequestSDate: string;
|
|
4
4
|
refundRequestEDate: string;
|
|
5
5
|
refundProcess?: 'ing' | 'done';
|
|
6
6
|
limit: number;
|
|
7
7
|
page: number;
|
|
8
8
|
}
|
|
9
|
-
export declare class
|
|
9
|
+
export declare class GetRefundPurchasedInfosResult {
|
|
10
10
|
pInfos: RefundPInfoForSabang[];
|
|
11
11
|
maxPage?: number;
|
|
12
12
|
currentPage: number;
|
package/payment-service/dto/refund.modules/refund-sabang/query/get-refund-p-infos-for-sabang.dto.js
CHANGED
|
@@ -9,32 +9,32 @@ 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.
|
|
12
|
+
exports.GetRefundPurchasedInfosResult = exports.GetRefundPurchasedInfosPayload = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
|
14
|
-
class
|
|
14
|
+
class GetRefundPurchasedInfosPayload {
|
|
15
15
|
}
|
|
16
|
-
exports.
|
|
16
|
+
exports.GetRefundPurchasedInfosPayload = GetRefundPurchasedInfosPayload;
|
|
17
17
|
__decorate([
|
|
18
18
|
(0, class_validator_1.IsDateString)(),
|
|
19
19
|
__metadata("design:type", String)
|
|
20
|
-
],
|
|
20
|
+
], GetRefundPurchasedInfosPayload.prototype, "refundRequestSDate", void 0);
|
|
21
21
|
__decorate([
|
|
22
22
|
(0, class_validator_1.IsDateString)(),
|
|
23
23
|
__metadata("design:type", String)
|
|
24
|
-
],
|
|
24
|
+
], GetRefundPurchasedInfosPayload.prototype, "refundRequestEDate", void 0);
|
|
25
25
|
__decorate([
|
|
26
26
|
(0, class_validator_1.IsString)(),
|
|
27
27
|
(0, class_validator_1.IsOptional)(),
|
|
28
28
|
__metadata("design:type", String)
|
|
29
|
-
],
|
|
29
|
+
], GetRefundPurchasedInfosPayload.prototype, "refundProcess", void 0);
|
|
30
30
|
__decorate([
|
|
31
31
|
(0, class_validator_1.IsNumber)(),
|
|
32
32
|
__metadata("design:type", Number)
|
|
33
|
-
],
|
|
33
|
+
], GetRefundPurchasedInfosPayload.prototype, "limit", void 0);
|
|
34
34
|
__decorate([
|
|
35
35
|
(0, class_validator_1.IsNumber)(),
|
|
36
36
|
__metadata("design:type", Number)
|
|
37
|
-
],
|
|
38
|
-
class
|
|
37
|
+
], GetRefundPurchasedInfosPayload.prototype, "page", void 0);
|
|
38
|
+
class GetRefundPurchasedInfosResult {
|
|
39
39
|
}
|
|
40
|
-
exports.
|
|
40
|
+
exports.GetRefundPurchasedInfosResult = GetRefundPurchasedInfosResult;
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import {
|
|
3
|
+
import { GetRefundPurchasedInfosPayload, GetRefundPurchasedInfosResult } from '../../dto/refund.modules/refund-sabang';
|
|
4
4
|
export declare class AmqpRefundSabangService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
7
7
|
constructor(client: ClientProxy);
|
|
8
8
|
/**
|
|
9
|
-
* @description 사방넷 환불 결제 리스트 조회
|
|
10
9
|
* @pattern refund-sabang.get.refund-p-infos
|
|
11
10
|
*/
|
|
12
|
-
|
|
11
|
+
getRefundPurchasedInfos(payload: GetRefundPurchasedInfosPayload, param: AbstractParam): Promise<GetRefundPurchasedInfosResult>;
|
|
13
12
|
}
|
|
@@ -22,10 +22,9 @@ let AmqpRefundSabangService = class AmqpRefundSabangService {
|
|
|
22
22
|
this.amqpManager = new functions_1.AmqpManagement(this.client);
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
|
-
* @description 사방넷 환불 결제 리스트 조회
|
|
26
25
|
* @pattern refund-sabang.get.refund-p-infos
|
|
27
26
|
*/
|
|
28
|
-
async
|
|
27
|
+
async getRefundPurchasedInfos(payload, param) {
|
|
29
28
|
return this.amqpManager.call('사방넷 환불 결제 리스트 조회', 'refund-sabang.get.refund-p-infos', payload, param, { isErrorThrowing: true });
|
|
30
29
|
}
|
|
31
30
|
};
|
|
@@ -43,7 +43,6 @@ exports.AmqpUserServiceModule = AmqpUserServiceModule = __decorate([
|
|
|
43
43
|
services_1.AmqpDeviceIdService,
|
|
44
44
|
services_1.AmqpStoreAdminService,
|
|
45
45
|
services_1.AmqpFeedService,
|
|
46
|
-
services_1.AmqpLegacyApiService,
|
|
47
46
|
],
|
|
48
47
|
exports: [
|
|
49
48
|
amqp_user_service_provider_1.UserServiceProvider,
|
|
@@ -72,7 +71,6 @@ exports.AmqpUserServiceModule = AmqpUserServiceModule = __decorate([
|
|
|
72
71
|
services_1.AmqpDeviceIdService,
|
|
73
72
|
services_1.AmqpStoreAdminService,
|
|
74
73
|
services_1.AmqpFeedService,
|
|
75
|
-
services_1.AmqpLegacyApiService,
|
|
76
74
|
],
|
|
77
75
|
})
|
|
78
76
|
], AmqpUserServiceModule);
|
|
@@ -37,4 +37,3 @@ __exportStar(require("./amqp.ban-word.service"), exports);
|
|
|
37
37
|
__exportStar(require("./amqp.device-id.service"), exports);
|
|
38
38
|
__exportStar(require("./store.modules"), exports);
|
|
39
39
|
__exportStar(require("./amqp.feed.service"), exports);
|
|
40
|
-
__exportStar(require("./amqp.legacy-api.service"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { DeleteAppBatchPushDataByKeyPayload, DeleteAppBatchPushDataByKeyResult, GetAppBatchPushDataByKeyPayload, GetAppBatchPushDataByKeyResult, GetAppBatchPushKeysResult, SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushPayload, SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushResult, SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushPayload, SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushResult, SetDataAutoRecieveToBuyerMethodAppBatchPushPayload, SetDataAutoRecieveToBuyerMethodAppBatchPushResult, SetDataChangePurchasedOptionsMethodAppBatchPushPayload, SetDataChangePurchasedOptionsMethodAppBatchPushResult, SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushPayload, SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushResult, SetDataStoreImmediateRefundToBuyerMethodAppBatchPushPayload, SetDataStoreImmediateRefundToBuyerMethodAppBatchPushResult, SetDataStoreRefundToBuyerMethodAppBatchPushPayload, SetDataStoreRefundToBuyerMethodAppBatchPushResult
|
|
3
|
+
import { DeleteAppBatchPushDataByKeyPayload, DeleteAppBatchPushDataByKeyResult, GetAppBatchPushDataByKeyPayload, GetAppBatchPushDataByKeyResult, GetAppBatchPushKeysResult, SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushPayload, SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushResult, SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushPayload, SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushResult, SetDataAutoRecieveToBuyerMethodAppBatchPushPayload, SetDataAutoRecieveToBuyerMethodAppBatchPushResult, SetDataChangePurchasedOptionsMethodAppBatchPushPayload, SetDataChangePurchasedOptionsMethodAppBatchPushResult, SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushPayload, SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushResult, SetDataStoreImmediateRefundToBuyerMethodAppBatchPushPayload, SetDataStoreImmediateRefundToBuyerMethodAppBatchPushResult, SetDataStoreRefundToBuyerMethodAppBatchPushPayload, SetDataStoreRefundToBuyerMethodAppBatchPushResult } from '../../dto/redis-db';
|
|
4
4
|
export declare class AmqpRedisDbAppBatchPushService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
@@ -15,9 +15,4 @@ export declare class AmqpRedisDbAppBatchPushService {
|
|
|
15
15
|
setDataStoreImmediateRefundToBuyerMethod(payload: SetDataStoreImmediateRefundToBuyerMethodAppBatchPushPayload, param: AbstractParam): Promise<SetDataStoreImmediateRefundToBuyerMethodAppBatchPushResult>;
|
|
16
16
|
setDataAskRefundPInfoNoReturnFromSellerToBuyerMethod(payload: SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushPayload, param: AbstractParam): Promise<SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushResult>;
|
|
17
17
|
setDataChangePurchasedOptionsMethod(payload: SetDataChangePurchasedOptionsMethodAppBatchPushPayload, param: AbstractParam): Promise<SetDataChangePurchasedOptionsMethodAppBatchPushResult>;
|
|
18
|
-
/**
|
|
19
|
-
* @description redis에 acceptWaitingOrderToBuyer method 등록 및 수정
|
|
20
|
-
* @pattern redis-db.set-data.app-batch-push-accept-waiting-order-to-buyer-method
|
|
21
|
-
*/
|
|
22
|
-
setDataAcceptWaitingOrderToBuyerMethod(payload: SetDataAcceptWaitingOrderToBuyerMethodAppBatchPushPayload, param: AbstractParam): Promise<SetDataAcceptWaitingOrderToBuyerMethodAppBatchPushResult>;
|
|
23
18
|
}
|
|
@@ -51,13 +51,6 @@ let AmqpRedisDbAppBatchPushService = class AmqpRedisDbAppBatchPushService {
|
|
|
51
51
|
async setDataChangePurchasedOptionsMethod(payload, param) {
|
|
52
52
|
return this.amqpManager.call('redis에 changePurchasedOptions method 등록 및 수정', 'redis-db.set-data.app-batch-push-change-purchased-options', payload, param, { isErrorThrowing: true });
|
|
53
53
|
}
|
|
54
|
-
/**
|
|
55
|
-
* @description redis에 acceptWaitingOrderToBuyer method 등록 및 수정
|
|
56
|
-
* @pattern redis-db.set-data.app-batch-push-accept-waiting-order-to-buyer-method
|
|
57
|
-
*/
|
|
58
|
-
async setDataAcceptWaitingOrderToBuyerMethod(payload, param) {
|
|
59
|
-
return this.amqpManager.call('redis에 acceptWaitingOrderToBuyer method 등록 및 수정', 'redis-db.set-data.app-batch-push-accept-waiting-order-to-buyer-method', payload, param, { isErrorThrowing: true });
|
|
60
|
-
}
|
|
61
54
|
};
|
|
62
55
|
exports.AmqpRedisDbAppBatchPushService = AmqpRedisDbAppBatchPushService;
|
|
63
56
|
exports.AmqpRedisDbAppBatchPushService = AmqpRedisDbAppBatchPushService = __decorate([
|
|
@@ -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("./update-waiting-order-for-sabang.dto"), exports);
|
|
18
|
-
__exportStar(require("./update-invoice-for-sabang.dto"), exports);
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export declare class UpdateInvoiceForSabangPayloadData {
|
|
2
|
-
/** 결제 정보 아이디 */
|
|
3
|
-
publicId: string;
|
|
4
|
-
/** 택배 회사명 */
|
|
5
|
-
company: string;
|
|
6
|
-
/** 송장번호 */
|
|
7
|
-
invoice: string;
|
|
8
|
-
/** 송장번호 직접 입력일때 */
|
|
9
|
-
isDirectInput: boolean;
|
|
10
|
-
/** 송장번호 직접 입력일때 입력 가능 */
|
|
11
|
-
invoiceUrl?: string;
|
|
12
|
-
}
|
|
13
|
-
export declare class UpdateInvoiceForSabangPayload {
|
|
14
|
-
datas: UpdateInvoiceForSabangPayloadData[];
|
|
15
|
-
}
|
|
@@ -1,47 +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.UpdateInvoiceForSabangPayload = exports.UpdateInvoiceForSabangPayloadData = void 0;
|
|
13
|
-
const class_transformer_1 = require("class-transformer");
|
|
14
|
-
const class_validator_1 = require("class-validator");
|
|
15
|
-
class UpdateInvoiceForSabangPayloadData {
|
|
16
|
-
}
|
|
17
|
-
exports.UpdateInvoiceForSabangPayloadData = UpdateInvoiceForSabangPayloadData;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, class_validator_1.IsString)(),
|
|
20
|
-
__metadata("design:type", String)
|
|
21
|
-
], UpdateInvoiceForSabangPayloadData.prototype, "publicId", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, class_validator_1.IsString)(),
|
|
24
|
-
__metadata("design:type", String)
|
|
25
|
-
], UpdateInvoiceForSabangPayloadData.prototype, "company", void 0);
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, class_validator_1.IsString)(),
|
|
28
|
-
__metadata("design:type", String)
|
|
29
|
-
], UpdateInvoiceForSabangPayloadData.prototype, "invoice", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, class_validator_1.IsBoolean)(),
|
|
32
|
-
__metadata("design:type", Boolean)
|
|
33
|
-
], UpdateInvoiceForSabangPayloadData.prototype, "isDirectInput", void 0);
|
|
34
|
-
__decorate([
|
|
35
|
-
(0, class_validator_1.IsString)(),
|
|
36
|
-
(0, class_validator_1.IsOptional)(),
|
|
37
|
-
__metadata("design:type", String)
|
|
38
|
-
], UpdateInvoiceForSabangPayloadData.prototype, "invoiceUrl", void 0);
|
|
39
|
-
class UpdateInvoiceForSabangPayload {
|
|
40
|
-
}
|
|
41
|
-
exports.UpdateInvoiceForSabangPayload = UpdateInvoiceForSabangPayload;
|
|
42
|
-
__decorate([
|
|
43
|
-
(0, class_validator_1.IsArray)(),
|
|
44
|
-
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
45
|
-
(0, class_transformer_1.Type)(() => UpdateInvoiceForSabangPayloadData),
|
|
46
|
-
__metadata("design:type", Array)
|
|
47
|
-
], UpdateInvoiceForSabangPayload.prototype, "datas", void 0);
|
|
@@ -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.UpdateWaitingOrderForSabangPayload = exports.UpdateWaitingOrderForSabangPayloadData = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
const class_transformer_1 = require("class-transformer");
|
|
15
|
-
class UpdateWaitingOrderForSabangPayloadData {
|
|
16
|
-
}
|
|
17
|
-
exports.UpdateWaitingOrderForSabangPayloadData = UpdateWaitingOrderForSabangPayloadData;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, class_validator_1.IsString)(),
|
|
20
|
-
__metadata("design:type", String)
|
|
21
|
-
], UpdateWaitingOrderForSabangPayloadData.prototype, "publicId", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, class_validator_1.IsString)(),
|
|
24
|
-
__metadata("design:type", String)
|
|
25
|
-
], UpdateWaitingOrderForSabangPayloadData.prototype, "process", void 0);
|
|
26
|
-
class UpdateWaitingOrderForSabangPayload {
|
|
27
|
-
}
|
|
28
|
-
exports.UpdateWaitingOrderForSabangPayload = UpdateWaitingOrderForSabangPayload;
|
|
29
|
-
__decorate([
|
|
30
|
-
(0, class_validator_1.IsArray)(),
|
|
31
|
-
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
32
|
-
(0, class_transformer_1.Type)(() => UpdateWaitingOrderForSabangPayloadData),
|
|
33
|
-
__metadata("design:type", Array)
|
|
34
|
-
], UpdateWaitingOrderForSabangPayload.prototype, "datas", void 0);
|
package/order-server/services/purchased-info.modules/amqp.purchased-info-sabang.service.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ClientProxy } from '@nestjs/microservices';
|
|
2
|
-
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { UpdateWaitingOrderForSabangPayload, UpdateInvoiceForSabangPayload } from '../../dto/purchased-info.modules/purchased-info-sabang';
|
|
4
|
-
export declare class AmqpPurchasedInfoSabangService {
|
|
5
|
-
private readonly client;
|
|
6
|
-
private readonly amqpManager;
|
|
7
|
-
constructor(client: ClientProxy);
|
|
8
|
-
updateWaitingOrderForSabang(payload: UpdateWaitingOrderForSabangPayload, param: AbstractParam): Promise<void>;
|
|
9
|
-
updateInvoiceForSabang(payload: UpdateInvoiceForSabangPayload, param: AbstractParam): Promise<void>;
|
|
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.AmqpPurchasedInfoSabangService = 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 AmqpPurchasedInfoSabangService = class AmqpPurchasedInfoSabangService {
|
|
20
|
-
constructor(client) {
|
|
21
|
-
this.client = client;
|
|
22
|
-
this.amqpManager = new functions_1.AmqpManagement(this.client);
|
|
23
|
-
}
|
|
24
|
-
async updateWaitingOrderForSabang(payload, param) {
|
|
25
|
-
return this.amqpManager.call('사방넷 대기 주문 업데이트', 'purchased-info-sabang.update.waiting-order', payload, param, { isErrorThrowing: true });
|
|
26
|
-
}
|
|
27
|
-
async updateInvoiceForSabang(payload, param) {
|
|
28
|
-
return this.amqpManager.call('사방넷 송장 업데이트', 'purchased-info-sabang.update.invoice', payload, param, { isErrorThrowing: true });
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
exports.AmqpPurchasedInfoSabangService = AmqpPurchasedInfoSabangService;
|
|
32
|
-
exports.AmqpPurchasedInfoSabangService = AmqpPurchasedInfoSabangService = __decorate([
|
|
33
|
-
(0, common_1.Injectable)(),
|
|
34
|
-
__param(0, (0, common_1.Inject)('ORDER_SERVER_PROVIDER')),
|
|
35
|
-
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
36
|
-
], AmqpPurchasedInfoSabangService);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './save-invoice-to-legacy-api.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("./save-invoice-to-legacy-api.dto"), exports);
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export declare class SaveInvoiceToLegacyApiPayloadData {
|
|
2
|
-
/** 결제 정보 아이디 */
|
|
3
|
-
pInfoId: string;
|
|
4
|
-
/** 회사명 */
|
|
5
|
-
company: string;
|
|
6
|
-
/** 송장번호 */
|
|
7
|
-
invoice: string;
|
|
8
|
-
/** 송장번호 직접 입력일때 */
|
|
9
|
-
isDirectInput: boolean;
|
|
10
|
-
/** 송장번호 직접 입력일때 입력 가능 */
|
|
11
|
-
invoiceUrl?: string;
|
|
12
|
-
}
|
|
13
|
-
export declare class SaveInvoiceToLegacyApiPayload {
|
|
14
|
-
datas: SaveInvoiceToLegacyApiPayloadData[];
|
|
15
|
-
}
|
|
@@ -1,46 +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.SaveInvoiceToLegacyApiPayload = exports.SaveInvoiceToLegacyApiPayloadData = void 0;
|
|
13
|
-
const class_validator_1 = require("class-validator");
|
|
14
|
-
const class_transformer_1 = require("class-transformer");
|
|
15
|
-
class SaveInvoiceToLegacyApiPayloadData {
|
|
16
|
-
}
|
|
17
|
-
exports.SaveInvoiceToLegacyApiPayloadData = SaveInvoiceToLegacyApiPayloadData;
|
|
18
|
-
__decorate([
|
|
19
|
-
(0, class_validator_1.IsMongoId)(),
|
|
20
|
-
__metadata("design:type", String)
|
|
21
|
-
], SaveInvoiceToLegacyApiPayloadData.prototype, "pInfoId", void 0);
|
|
22
|
-
__decorate([
|
|
23
|
-
(0, class_validator_1.IsString)(),
|
|
24
|
-
__metadata("design:type", String)
|
|
25
|
-
], SaveInvoiceToLegacyApiPayloadData.prototype, "company", void 0);
|
|
26
|
-
__decorate([
|
|
27
|
-
(0, class_validator_1.IsString)(),
|
|
28
|
-
__metadata("design:type", String)
|
|
29
|
-
], SaveInvoiceToLegacyApiPayloadData.prototype, "invoice", void 0);
|
|
30
|
-
__decorate([
|
|
31
|
-
(0, class_validator_1.IsBoolean)(),
|
|
32
|
-
__metadata("design:type", Boolean)
|
|
33
|
-
], SaveInvoiceToLegacyApiPayloadData.prototype, "isDirectInput", void 0);
|
|
34
|
-
__decorate([
|
|
35
|
-
(0, class_validator_1.IsString)(),
|
|
36
|
-
(0, class_validator_1.IsOptional)(),
|
|
37
|
-
__metadata("design:type", String)
|
|
38
|
-
], SaveInvoiceToLegacyApiPayloadData.prototype, "invoiceUrl", void 0);
|
|
39
|
-
class SaveInvoiceToLegacyApiPayload {
|
|
40
|
-
}
|
|
41
|
-
exports.SaveInvoiceToLegacyApiPayload = SaveInvoiceToLegacyApiPayload;
|
|
42
|
-
__decorate([
|
|
43
|
-
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
44
|
-
(0, class_transformer_1.Type)(() => SaveInvoiceToLegacyApiPayloadData),
|
|
45
|
-
__metadata("design:type", Array)
|
|
46
|
-
], SaveInvoiceToLegacyApiPayload.prototype, "datas", void 0);
|
|
@@ -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,9 +0,0 @@
|
|
|
1
|
-
import { ClientProxy } from '@nestjs/microservices';
|
|
2
|
-
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { SaveInvoiceToLegacyApiPayload } from '../dto/legacy-api';
|
|
4
|
-
export declare class AmqpLegacyApiService {
|
|
5
|
-
private readonly client;
|
|
6
|
-
private readonly amqpManager;
|
|
7
|
-
constructor(client: ClientProxy);
|
|
8
|
-
saveInvoiceToLegacyApi(payload: SaveInvoiceToLegacyApiPayload, param: AbstractParam): Promise<void>;
|
|
9
|
-
}
|
|
@@ -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
|
-
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.AmqpLegacyApiService = 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 AmqpLegacyApiService = class AmqpLegacyApiService {
|
|
20
|
-
constructor(client) {
|
|
21
|
-
this.client = client;
|
|
22
|
-
this.amqpManager = new functions_1.AmqpManagement(this.client);
|
|
23
|
-
}
|
|
24
|
-
async saveInvoiceToLegacyApi(payload, param) {
|
|
25
|
-
return this.amqpManager.call('레거시 API 송장 저장', 'legacy-api.send.save-invoice', payload, param, { isErrorThrowing: true });
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
exports.AmqpLegacyApiService = AmqpLegacyApiService;
|
|
29
|
-
exports.AmqpLegacyApiService = AmqpLegacyApiService = __decorate([
|
|
30
|
-
(0, common_1.Injectable)(),
|
|
31
|
-
__param(0, (0, common_1.Inject)('USER_SERVICE_PROVIDER')),
|
|
32
|
-
__metadata("design:paramtypes", [microservices_1.ClientProxy])
|
|
33
|
-
], AmqpLegacyApiService);
|