@yolo-croket-dev/amqp-access 0.4.46 → 0.4.48-sj
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/notification-service/amqp.notification-service.service.d.ts +1 -0
- package/notification-service/amqp.notification-service.service.js +4 -0
- package/package.json +1 -1
- package/user-service/dto/redis-db/command/delete-app-batch-push-data-by-key.dto.d.ts +6 -0
- package/user-service/dto/redis-db/command/delete-app-batch-push-data-by-key.dto.js +23 -0
- package/user-service/dto/redis-db/command/index.d.ts +10 -0
- package/user-service/dto/redis-db/command/index.js +10 -0
- package/user-service/dto/redis-db/command/{redis-db-set-data-app-batch-push.dto.d.ts → redis-db.app-batch-push.set-data-accept-waiting-order-to-buyer.dto.d.ts} +5 -5
- package/user-service/dto/redis-db/command/{redis-db-set-data-app-batch-push.dto.js → redis-db.app-batch-push.set-data-accept-waiting-order-to-buyer.dto.js} +13 -13
- package/user-service/dto/redis-db/command/redis-db.app-batch-push.set-data-ask-refund-pInfo-no-return-from-seller-to-buyer.dto.d.ts +18 -0
- package/user-service/dto/redis-db/command/redis-db.app-batch-push.set-data-ask-refund-pInfo-no-return-from-seller-to-buyer.dto.js +66 -0
- package/user-service/dto/redis-db/command/redis-db.app-batch-push.set-data-auto-change-waiting-receive-process-to-buyer.dto.d.ts +14 -0
- package/user-service/dto/redis-db/command/redis-db.app-batch-push.set-data-auto-change-waiting-receive-process-to-buyer.dto.js +50 -0
- package/user-service/dto/redis-db/command/redis-db.app-batch-push.set-data-auto-recieve-to-buyer.dto.d.ts +21 -0
- package/user-service/dto/redis-db/command/redis-db.app-batch-push.set-data-auto-recieve-to-buyer.dto.js +75 -0
- package/user-service/dto/redis-db/command/redis-db.app-batch-push.set-data-checking-stock-from-seller-to-buyer.dto.d.ts +18 -0
- package/user-service/dto/redis-db/command/redis-db.app-batch-push.set-data-checking-stock-from-seller-to-buyer.dto.js +63 -0
- package/user-service/dto/redis-db/command/redis-db.app-batch-push.set-data-store-immediate-refund-to-buyer.dto.d.ts +17 -0
- package/user-service/dto/redis-db/command/redis-db.app-batch-push.set-data-store-immediate-refund-to-buyer.dto.js +62 -0
- package/user-service/dto/redis-db/command/redis-db.app-batch-push.set-data-store-item-select-shipping-modify.dto.d.ts +19 -0
- package/user-service/dto/redis-db/command/redis-db.app-batch-push.set-data-store-item-select-shipping-modify.dto.js +67 -0
- package/user-service/dto/redis-db/command/redis-db.app-batch-push.set-data-store-item-select-shipping.dto.d.ts +20 -0
- package/user-service/dto/redis-db/command/redis-db.app-batch-push.set-data-store-item-select-shipping.dto.js +71 -0
- package/user-service/dto/redis-db/command/redis-db.app-batch-push.set-data-store-refund-to-buyer.dto.d.ts +16 -0
- package/user-service/dto/redis-db/command/redis-db.app-batch-push.set-data-store-refund-to-buyer.dto.js +58 -0
- package/user-service/dto/redis-db/index.d.ts +2 -0
- package/user-service/dto/redis-db/index.js +2 -0
- package/user-service/dto/redis-db/query/get-app-batch-push-data-by-key.dto.d.ts +6 -0
- package/user-service/dto/redis-db/query/get-app-batch-push-data-by-key.dto.js +23 -0
- package/user-service/dto/redis-db/query/get-app-batch-push-keys.dto.d.ts +3 -0
- package/user-service/dto/redis-db/query/get-app-batch-push-keys.dto.js +6 -0
- package/user-service/dto/redis-db/query/index.d.ts +2 -0
- package/user-service/dto/redis-db/query/index.js +2 -0
- package/user-service/services/redis-db/amqp.redis-db.app-batch-push.service.d.ts +4 -2
- package/user-service/services/redis-db/amqp.redis-db.app-batch-push.service.js +8 -2
- package/user-service/services/redis-db/index.d.ts +1 -0
- package/user-service/services/redis-db/index.js +1 -0
|
@@ -9,4 +9,5 @@ export declare class AmqpNotificationService {
|
|
|
9
9
|
checkInspectionWithInvoiceNotEnclosed(payload: CheckInspectionWithInvoiceNotEnclosedPayload, param: AbstractParam): Promise<CheckInspectionWithInvoiceNotEnclosedResult>;
|
|
10
10
|
sendInspectionWithInvoiceEnclosed(payload: SendInspectionWithInvoiceEnclosedPayload, param: AbstractParam): Promise<SendInspectionWithInvoiceEnclosedResult>;
|
|
11
11
|
sendInspectionWithInvoiceNotEnclosed(payload: SendInspectionWithInvoiceNotEnclosedPayload, param: AbstractParam): Promise<SendInspectionWithInvoiceNotEnclosedResult>;
|
|
12
|
+
sendBatchPushNotification(payload: void, param: AbstractParam): Promise<boolean>;
|
|
12
13
|
}
|
|
@@ -35,6 +35,10 @@ let AmqpNotificationService = class AmqpNotificationService {
|
|
|
35
35
|
async sendInspectionWithInvoiceNotEnclosed(payload, param) {
|
|
36
36
|
return this.amqpManager.call('inspection-with-invoice-enclosed 템플릿 대량 noti 발송 api', 'notification-bulk-send.send.inspection-with-invoice-not-enclosed', payload, param, { isErrorThrowing: true });
|
|
37
37
|
}
|
|
38
|
+
// 푸쉬 묶음 발송
|
|
39
|
+
async sendBatchPushNotification(payload, param) {
|
|
40
|
+
return this.amqpManager.onlyPublish('푸쉬 묶음 발송', 'notification.send.batch-push-notification', payload, param, { isInternal: true });
|
|
41
|
+
}
|
|
38
42
|
};
|
|
39
43
|
exports.AmqpNotificationService = AmqpNotificationService;
|
|
40
44
|
exports.AmqpNotificationService = AmqpNotificationService = __decorate([
|
package/package.json
CHANGED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.DeleteAppBatchPushDataByKeyResult = exports.DeleteAppBatchPushDataByKeyPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class DeleteAppBatchPushDataByKeyPayload {
|
|
15
|
+
}
|
|
16
|
+
exports.DeleteAppBatchPushDataByKeyPayload = DeleteAppBatchPushDataByKeyPayload;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], DeleteAppBatchPushDataByKeyPayload.prototype, "key", void 0);
|
|
21
|
+
class DeleteAppBatchPushDataByKeyResult {
|
|
22
|
+
}
|
|
23
|
+
exports.DeleteAppBatchPushDataByKeyResult = DeleteAppBatchPushDataByKeyResult;
|
|
@@ -1,2 +1,12 @@
|
|
|
1
1
|
export * from './push-list-redis-db.dto';
|
|
2
2
|
export * from './pull-list-redis-db.dto';
|
|
3
|
+
export * from './redis-db.app-batch-push.set-data-accept-waiting-order-to-buyer.dto';
|
|
4
|
+
export * from './redis-db.app-batch-push.set-data-store-immediate-refund-to-buyer.dto';
|
|
5
|
+
export * from './redis-db.app-batch-push.set-data-store-refund-to-buyer.dto';
|
|
6
|
+
export * from './redis-db.app-batch-push.set-data-ask-refund-pInfo-no-return-from-seller-to-buyer.dto';
|
|
7
|
+
export * from './redis-db.app-batch-push.set-data-checking-stock-from-seller-to-buyer.dto';
|
|
8
|
+
export * from './redis-db.app-batch-push.set-data-store-item-select-shipping-modify.dto';
|
|
9
|
+
export * from './redis-db.app-batch-push.set-data-store-item-select-shipping.dto';
|
|
10
|
+
export * from './redis-db.app-batch-push.set-data-auto-recieve-to-buyer.dto';
|
|
11
|
+
export * from './redis-db.app-batch-push.set-data-auto-change-waiting-receive-process-to-buyer.dto';
|
|
12
|
+
export * from './delete-app-batch-push-data-by-key.dto';
|
|
@@ -16,3 +16,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./push-list-redis-db.dto"), exports);
|
|
18
18
|
__exportStar(require("./pull-list-redis-db.dto"), exports);
|
|
19
|
+
__exportStar(require("./redis-db.app-batch-push.set-data-accept-waiting-order-to-buyer.dto"), exports);
|
|
20
|
+
__exportStar(require("./redis-db.app-batch-push.set-data-store-immediate-refund-to-buyer.dto"), exports);
|
|
21
|
+
__exportStar(require("./redis-db.app-batch-push.set-data-store-refund-to-buyer.dto"), exports);
|
|
22
|
+
__exportStar(require("./redis-db.app-batch-push.set-data-ask-refund-pInfo-no-return-from-seller-to-buyer.dto"), exports);
|
|
23
|
+
__exportStar(require("./redis-db.app-batch-push.set-data-checking-stock-from-seller-to-buyer.dto"), exports);
|
|
24
|
+
__exportStar(require("./redis-db.app-batch-push.set-data-store-item-select-shipping-modify.dto"), exports);
|
|
25
|
+
__exportStar(require("./redis-db.app-batch-push.set-data-store-item-select-shipping.dto"), exports);
|
|
26
|
+
__exportStar(require("./redis-db.app-batch-push.set-data-auto-recieve-to-buyer.dto"), exports);
|
|
27
|
+
__exportStar(require("./redis-db.app-batch-push.set-data-auto-change-waiting-receive-process-to-buyer.dto"), exports);
|
|
28
|
+
__exportStar(require("./delete-app-batch-push-data-by-key.dto"), exports);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export declare class
|
|
1
|
+
export declare class SetDataAcceptWaitingOrderToBuyerMethodAppBatchPushData {
|
|
2
2
|
purchaseReceiptId: string;
|
|
3
3
|
itemName: string;
|
|
4
|
+
userId: string;
|
|
4
5
|
}
|
|
5
6
|
export declare class SetDataAcceptWaitingOrderToBuyerMethodAppBatchPushPayload {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
ttl?: number;
|
|
7
|
+
data: SetDataAcceptWaitingOrderToBuyerMethodAppBatchPushData;
|
|
8
|
+
ttl: number;
|
|
9
9
|
}
|
|
10
10
|
export interface SetDataAcceptWaitingOrderToBuyerMethodAppBatchPushResult {
|
|
11
|
-
result: string;
|
|
11
|
+
result: string | null;
|
|
12
12
|
}
|
|
@@ -9,33 +9,33 @@ 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.SetDataAcceptWaitingOrderToBuyerMethodAppBatchPushPayload = exports.
|
|
12
|
+
exports.SetDataAcceptWaitingOrderToBuyerMethodAppBatchPushPayload = exports.SetDataAcceptWaitingOrderToBuyerMethodAppBatchPushData = void 0;
|
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
|
-
class
|
|
15
|
+
class SetDataAcceptWaitingOrderToBuyerMethodAppBatchPushData {
|
|
16
16
|
}
|
|
17
|
-
exports.
|
|
17
|
+
exports.SetDataAcceptWaitingOrderToBuyerMethodAppBatchPushData = SetDataAcceptWaitingOrderToBuyerMethodAppBatchPushData;
|
|
18
18
|
__decorate([
|
|
19
|
-
(0, class_validator_1.
|
|
19
|
+
(0, class_validator_1.IsMongoId)(),
|
|
20
20
|
__metadata("design:type", String)
|
|
21
|
-
],
|
|
21
|
+
], SetDataAcceptWaitingOrderToBuyerMethodAppBatchPushData.prototype, "purchaseReceiptId", void 0);
|
|
22
22
|
__decorate([
|
|
23
23
|
(0, class_validator_1.IsString)(),
|
|
24
24
|
__metadata("design:type", String)
|
|
25
|
-
],
|
|
25
|
+
], SetDataAcceptWaitingOrderToBuyerMethodAppBatchPushData.prototype, "itemName", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsMongoId)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], SetDataAcceptWaitingOrderToBuyerMethodAppBatchPushData.prototype, "userId", void 0);
|
|
26
30
|
class SetDataAcceptWaitingOrderToBuyerMethodAppBatchPushPayload {
|
|
27
31
|
}
|
|
28
32
|
exports.SetDataAcceptWaitingOrderToBuyerMethodAppBatchPushPayload = SetDataAcceptWaitingOrderToBuyerMethodAppBatchPushPayload;
|
|
29
|
-
__decorate([
|
|
30
|
-
(0, class_validator_1.IsString)(),
|
|
31
|
-
__metadata("design:type", String)
|
|
32
|
-
], SetDataAcceptWaitingOrderToBuyerMethodAppBatchPushPayload.prototype, "key", void 0);
|
|
33
33
|
__decorate([
|
|
34
34
|
(0, class_validator_1.IsObject)(),
|
|
35
35
|
(0, class_validator_1.ValidateNested)({}),
|
|
36
|
-
(0, class_transformer_1.Type)(() =>
|
|
37
|
-
__metadata("design:type",
|
|
38
|
-
], SetDataAcceptWaitingOrderToBuyerMethodAppBatchPushPayload.prototype, "
|
|
36
|
+
(0, class_transformer_1.Type)(() => SetDataAcceptWaitingOrderToBuyerMethodAppBatchPushData),
|
|
37
|
+
__metadata("design:type", SetDataAcceptWaitingOrderToBuyerMethodAppBatchPushData)
|
|
38
|
+
], SetDataAcceptWaitingOrderToBuyerMethodAppBatchPushPayload.prototype, "data", void 0);
|
|
39
39
|
__decorate([
|
|
40
40
|
(0, class_validator_1.IsNumber)(),
|
|
41
41
|
__metadata("design:type", Number)
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare class SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushData {
|
|
2
|
+
purchaseReceiptId: string;
|
|
3
|
+
userId: string;
|
|
4
|
+
refundId: string;
|
|
5
|
+
itemName: string;
|
|
6
|
+
userType: string;
|
|
7
|
+
buyerUsername: string;
|
|
8
|
+
storeTitle: string;
|
|
9
|
+
refundReason: string;
|
|
10
|
+
sellerName: string;
|
|
11
|
+
}
|
|
12
|
+
export declare class SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushPayload {
|
|
13
|
+
data: SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushData;
|
|
14
|
+
ttl: number;
|
|
15
|
+
}
|
|
16
|
+
export interface SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushResult {
|
|
17
|
+
result: string | null;
|
|
18
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
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.SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushPayload = exports.SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushData = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushData {
|
|
16
|
+
}
|
|
17
|
+
exports.SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushData = SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushData;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsMongoId)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushData.prototype, "purchaseReceiptId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsMongoId)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushData.prototype, "userId", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsMongoId)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushData.prototype, "refundId", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_validator_1.IsString)(),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushData.prototype, "itemName", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_validator_1.IsString)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushData.prototype, "userType", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_validator_1.IsString)(),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushData.prototype, "buyerUsername", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_validator_1.IsString)(),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushData.prototype, "storeTitle", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, class_validator_1.IsString)(),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushData.prototype, "refundReason", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, class_validator_1.IsString)(),
|
|
52
|
+
__metadata("design:type", String)
|
|
53
|
+
], SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushData.prototype, "sellerName", void 0);
|
|
54
|
+
class SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushPayload {
|
|
55
|
+
}
|
|
56
|
+
exports.SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushPayload = SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushPayload;
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, class_validator_1.IsObject)(),
|
|
59
|
+
(0, class_validator_1.ValidateNested)({}),
|
|
60
|
+
(0, class_transformer_1.Type)(() => SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushData),
|
|
61
|
+
__metadata("design:type", SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushData)
|
|
62
|
+
], SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushPayload.prototype, "data", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, class_validator_1.IsNumber)(),
|
|
65
|
+
__metadata("design:type", Number)
|
|
66
|
+
], SetDataAskRefundPInfoNoReturnFromSellerToBuyerMethodAppBatchPushPayload.prototype, "ttl", void 0);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare class SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushData {
|
|
2
|
+
purchaseReceiptId: string;
|
|
3
|
+
itemName: string;
|
|
4
|
+
buyerUsername: string;
|
|
5
|
+
storeTitle: string;
|
|
6
|
+
userId: string;
|
|
7
|
+
}
|
|
8
|
+
export declare class SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushPayload {
|
|
9
|
+
data: SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushData;
|
|
10
|
+
ttl: number;
|
|
11
|
+
}
|
|
12
|
+
export interface SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushResult {
|
|
13
|
+
result: string | null;
|
|
14
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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.SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushPayload = exports.SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushData = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushData {
|
|
16
|
+
}
|
|
17
|
+
exports.SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushData = SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushData;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsMongoId)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushData.prototype, "purchaseReceiptId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushData.prototype, "itemName", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsString)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushData.prototype, "buyerUsername", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_validator_1.IsString)(),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushData.prototype, "storeTitle", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_validator_1.IsMongoId)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushData.prototype, "userId", void 0);
|
|
38
|
+
class SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushPayload {
|
|
39
|
+
}
|
|
40
|
+
exports.SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushPayload = SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushPayload;
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_validator_1.IsObject)(),
|
|
43
|
+
(0, class_validator_1.ValidateNested)({}),
|
|
44
|
+
(0, class_transformer_1.Type)(() => SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushData),
|
|
45
|
+
__metadata("design:type", SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushData)
|
|
46
|
+
], SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushPayload.prototype, "data", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, class_validator_1.IsNumber)(),
|
|
49
|
+
__metadata("design:type", Number)
|
|
50
|
+
], SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushPayload.prototype, "ttl", void 0);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare class SetDataAutoRecieveToBuyerMethodAppBatchPushActivityData {
|
|
2
|
+
otherUserId: string;
|
|
3
|
+
relatePInfoId: string;
|
|
4
|
+
previewImg: string;
|
|
5
|
+
}
|
|
6
|
+
export declare class SetDataAutoRecieveToBuyerMethodAppBatchPushData {
|
|
7
|
+
purchaseReceiptId: string;
|
|
8
|
+
itemName: string;
|
|
9
|
+
buyerName: string;
|
|
10
|
+
storeTitle: string;
|
|
11
|
+
buyerUsername: string;
|
|
12
|
+
userId: string;
|
|
13
|
+
activityData: SetDataAutoRecieveToBuyerMethodAppBatchPushActivityData;
|
|
14
|
+
}
|
|
15
|
+
export declare class SetDataAutoRecieveToBuyerMethodAppBatchPushPayload {
|
|
16
|
+
data: SetDataAutoRecieveToBuyerMethodAppBatchPushData;
|
|
17
|
+
ttl: number;
|
|
18
|
+
}
|
|
19
|
+
export interface SetDataAutoRecieveToBuyerMethodAppBatchPushResult {
|
|
20
|
+
result: string | null;
|
|
21
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
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.SetDataAutoRecieveToBuyerMethodAppBatchPushPayload = exports.SetDataAutoRecieveToBuyerMethodAppBatchPushData = exports.SetDataAutoRecieveToBuyerMethodAppBatchPushActivityData = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class SetDataAutoRecieveToBuyerMethodAppBatchPushActivityData {
|
|
16
|
+
}
|
|
17
|
+
exports.SetDataAutoRecieveToBuyerMethodAppBatchPushActivityData = SetDataAutoRecieveToBuyerMethodAppBatchPushActivityData;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsMongoId)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], SetDataAutoRecieveToBuyerMethodAppBatchPushActivityData.prototype, "otherUserId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsMongoId)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], SetDataAutoRecieveToBuyerMethodAppBatchPushActivityData.prototype, "relatePInfoId", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsString)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], SetDataAutoRecieveToBuyerMethodAppBatchPushActivityData.prototype, "previewImg", void 0);
|
|
30
|
+
class SetDataAutoRecieveToBuyerMethodAppBatchPushData {
|
|
31
|
+
}
|
|
32
|
+
exports.SetDataAutoRecieveToBuyerMethodAppBatchPushData = SetDataAutoRecieveToBuyerMethodAppBatchPushData;
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsMongoId)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], SetDataAutoRecieveToBuyerMethodAppBatchPushData.prototype, "purchaseReceiptId", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_validator_1.IsString)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], SetDataAutoRecieveToBuyerMethodAppBatchPushData.prototype, "itemName", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_validator_1.IsString)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], SetDataAutoRecieveToBuyerMethodAppBatchPushData.prototype, "buyerName", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_validator_1.IsString)(),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], SetDataAutoRecieveToBuyerMethodAppBatchPushData.prototype, "storeTitle", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, class_validator_1.IsString)(),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], SetDataAutoRecieveToBuyerMethodAppBatchPushData.prototype, "buyerUsername", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, class_validator_1.IsMongoId)(),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], SetDataAutoRecieveToBuyerMethodAppBatchPushData.prototype, "userId", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, class_validator_1.IsObject)(),
|
|
59
|
+
(0, class_validator_1.ValidateNested)({}),
|
|
60
|
+
(0, class_transformer_1.Type)(() => SetDataAutoRecieveToBuyerMethodAppBatchPushActivityData),
|
|
61
|
+
__metadata("design:type", SetDataAutoRecieveToBuyerMethodAppBatchPushActivityData)
|
|
62
|
+
], SetDataAutoRecieveToBuyerMethodAppBatchPushData.prototype, "activityData", void 0);
|
|
63
|
+
class SetDataAutoRecieveToBuyerMethodAppBatchPushPayload {
|
|
64
|
+
}
|
|
65
|
+
exports.SetDataAutoRecieveToBuyerMethodAppBatchPushPayload = SetDataAutoRecieveToBuyerMethodAppBatchPushPayload;
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, class_validator_1.IsObject)(),
|
|
68
|
+
(0, class_validator_1.ValidateNested)({}),
|
|
69
|
+
(0, class_transformer_1.Type)(() => SetDataAutoRecieveToBuyerMethodAppBatchPushData),
|
|
70
|
+
__metadata("design:type", SetDataAutoRecieveToBuyerMethodAppBatchPushData)
|
|
71
|
+
], SetDataAutoRecieveToBuyerMethodAppBatchPushPayload.prototype, "data", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, class_validator_1.IsNumber)(),
|
|
74
|
+
__metadata("design:type", Number)
|
|
75
|
+
], SetDataAutoRecieveToBuyerMethodAppBatchPushPayload.prototype, "ttl", void 0);
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare class SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushActivityData {
|
|
2
|
+
otherUserId: string;
|
|
3
|
+
relatePInfoId: string;
|
|
4
|
+
previewImg: string;
|
|
5
|
+
}
|
|
6
|
+
export declare class SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushData {
|
|
7
|
+
purchaseReceiptId: string;
|
|
8
|
+
userId: string;
|
|
9
|
+
itemName: string;
|
|
10
|
+
activityData: SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushActivityData;
|
|
11
|
+
}
|
|
12
|
+
export declare class SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushPayload {
|
|
13
|
+
data: SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushData;
|
|
14
|
+
ttl: number;
|
|
15
|
+
}
|
|
16
|
+
export interface SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushResult {
|
|
17
|
+
result: string | null;
|
|
18
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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.SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushPayload = exports.SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushData = exports.SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushActivityData = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushActivityData {
|
|
16
|
+
}
|
|
17
|
+
exports.SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushActivityData = SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushActivityData;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsMongoId)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushActivityData.prototype, "otherUserId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsMongoId)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushActivityData.prototype, "relatePInfoId", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsString)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushActivityData.prototype, "previewImg", void 0);
|
|
30
|
+
class SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushData {
|
|
31
|
+
}
|
|
32
|
+
exports.SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushData = SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushData;
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsMongoId)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushData.prototype, "purchaseReceiptId", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_validator_1.IsMongoId)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushData.prototype, "userId", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_validator_1.IsString)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushData.prototype, "itemName", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_validator_1.IsObject)(),
|
|
47
|
+
(0, class_validator_1.ValidateNested)({}),
|
|
48
|
+
(0, class_transformer_1.Type)(() => SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushActivityData),
|
|
49
|
+
__metadata("design:type", SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushActivityData)
|
|
50
|
+
], SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushData.prototype, "activityData", void 0);
|
|
51
|
+
class SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushPayload {
|
|
52
|
+
}
|
|
53
|
+
exports.SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushPayload = SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushPayload;
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, class_validator_1.IsObject)(),
|
|
56
|
+
(0, class_validator_1.ValidateNested)({}),
|
|
57
|
+
(0, class_transformer_1.Type)(() => SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushData),
|
|
58
|
+
__metadata("design:type", SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushData)
|
|
59
|
+
], SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushPayload.prototype, "data", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, class_validator_1.IsNumber)(),
|
|
62
|
+
__metadata("design:type", Number)
|
|
63
|
+
], SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushPayload.prototype, "ttl", void 0);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare class SetDataStoreImmediateRefundToBuyerMethodAppBatchPushData {
|
|
2
|
+
purchaseReceiptId: string;
|
|
3
|
+
userId: string;
|
|
4
|
+
refundId: string;
|
|
5
|
+
itemName: string;
|
|
6
|
+
userType: string;
|
|
7
|
+
buyerUsername: string;
|
|
8
|
+
storeTitle: string;
|
|
9
|
+
refundReason: string;
|
|
10
|
+
}
|
|
11
|
+
export declare class SetDataStoreImmediateRefundToBuyerMethodAppBatchPushPayload {
|
|
12
|
+
data: SetDataStoreImmediateRefundToBuyerMethodAppBatchPushData;
|
|
13
|
+
ttl: number;
|
|
14
|
+
}
|
|
15
|
+
export interface SetDataStoreImmediateRefundToBuyerMethodAppBatchPushResult {
|
|
16
|
+
result: string | null;
|
|
17
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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.SetDataStoreImmediateRefundToBuyerMethodAppBatchPushPayload = exports.SetDataStoreImmediateRefundToBuyerMethodAppBatchPushData = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class SetDataStoreImmediateRefundToBuyerMethodAppBatchPushData {
|
|
16
|
+
}
|
|
17
|
+
exports.SetDataStoreImmediateRefundToBuyerMethodAppBatchPushData = SetDataStoreImmediateRefundToBuyerMethodAppBatchPushData;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsMongoId)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], SetDataStoreImmediateRefundToBuyerMethodAppBatchPushData.prototype, "purchaseReceiptId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsMongoId)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], SetDataStoreImmediateRefundToBuyerMethodAppBatchPushData.prototype, "userId", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsMongoId)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], SetDataStoreImmediateRefundToBuyerMethodAppBatchPushData.prototype, "refundId", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_validator_1.IsString)(),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], SetDataStoreImmediateRefundToBuyerMethodAppBatchPushData.prototype, "itemName", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_validator_1.IsString)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], SetDataStoreImmediateRefundToBuyerMethodAppBatchPushData.prototype, "userType", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_validator_1.IsString)(),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], SetDataStoreImmediateRefundToBuyerMethodAppBatchPushData.prototype, "buyerUsername", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_validator_1.IsString)(),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], SetDataStoreImmediateRefundToBuyerMethodAppBatchPushData.prototype, "storeTitle", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, class_validator_1.IsString)(),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], SetDataStoreImmediateRefundToBuyerMethodAppBatchPushData.prototype, "refundReason", void 0);
|
|
50
|
+
class SetDataStoreImmediateRefundToBuyerMethodAppBatchPushPayload {
|
|
51
|
+
}
|
|
52
|
+
exports.SetDataStoreImmediateRefundToBuyerMethodAppBatchPushPayload = SetDataStoreImmediateRefundToBuyerMethodAppBatchPushPayload;
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, class_validator_1.IsObject)(),
|
|
55
|
+
(0, class_validator_1.ValidateNested)({}),
|
|
56
|
+
(0, class_transformer_1.Type)(() => SetDataStoreImmediateRefundToBuyerMethodAppBatchPushData),
|
|
57
|
+
__metadata("design:type", SetDataStoreImmediateRefundToBuyerMethodAppBatchPushData)
|
|
58
|
+
], SetDataStoreImmediateRefundToBuyerMethodAppBatchPushPayload.prototype, "data", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, class_validator_1.IsNumber)(),
|
|
61
|
+
__metadata("design:type", Number)
|
|
62
|
+
], SetDataStoreImmediateRefundToBuyerMethodAppBatchPushPayload.prototype, "ttl", void 0);
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare class SetDataStoreItemSelectShippingModifyMethodAppBatchPushActivityData {
|
|
2
|
+
otherUserId: string;
|
|
3
|
+
relatePInfoId: string;
|
|
4
|
+
previewImg: string;
|
|
5
|
+
}
|
|
6
|
+
export declare class SetDataStoreItemSelectShippingModifyMethodAppBatchPushData {
|
|
7
|
+
purchaseReceiptId: string;
|
|
8
|
+
userId: string;
|
|
9
|
+
itemName: string;
|
|
10
|
+
isAbroadShipping: boolean;
|
|
11
|
+
activityData: SetDataStoreItemSelectShippingModifyMethodAppBatchPushActivityData;
|
|
12
|
+
}
|
|
13
|
+
export declare class SetDataStoreItemSelectShippingModifyMethodAppBatchPushPayload {
|
|
14
|
+
data: SetDataStoreItemSelectShippingModifyMethodAppBatchPushData;
|
|
15
|
+
ttl: number;
|
|
16
|
+
}
|
|
17
|
+
export interface SetDataStoreItemSelectShippingModifyMethodAppBatchPushResult {
|
|
18
|
+
result: string | null;
|
|
19
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
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.SetDataStoreItemSelectShippingModifyMethodAppBatchPushPayload = exports.SetDataStoreItemSelectShippingModifyMethodAppBatchPushData = exports.SetDataStoreItemSelectShippingModifyMethodAppBatchPushActivityData = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class SetDataStoreItemSelectShippingModifyMethodAppBatchPushActivityData {
|
|
16
|
+
}
|
|
17
|
+
exports.SetDataStoreItemSelectShippingModifyMethodAppBatchPushActivityData = SetDataStoreItemSelectShippingModifyMethodAppBatchPushActivityData;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsMongoId)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], SetDataStoreItemSelectShippingModifyMethodAppBatchPushActivityData.prototype, "otherUserId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsMongoId)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], SetDataStoreItemSelectShippingModifyMethodAppBatchPushActivityData.prototype, "relatePInfoId", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsString)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], SetDataStoreItemSelectShippingModifyMethodAppBatchPushActivityData.prototype, "previewImg", void 0);
|
|
30
|
+
class SetDataStoreItemSelectShippingModifyMethodAppBatchPushData {
|
|
31
|
+
}
|
|
32
|
+
exports.SetDataStoreItemSelectShippingModifyMethodAppBatchPushData = SetDataStoreItemSelectShippingModifyMethodAppBatchPushData;
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsMongoId)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], SetDataStoreItemSelectShippingModifyMethodAppBatchPushData.prototype, "purchaseReceiptId", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_validator_1.IsMongoId)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], SetDataStoreItemSelectShippingModifyMethodAppBatchPushData.prototype, "userId", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_validator_1.IsString)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], SetDataStoreItemSelectShippingModifyMethodAppBatchPushData.prototype, "itemName", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_validator_1.IsBoolean)(),
|
|
47
|
+
__metadata("design:type", Boolean)
|
|
48
|
+
], SetDataStoreItemSelectShippingModifyMethodAppBatchPushData.prototype, "isAbroadShipping", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, class_validator_1.IsObject)(),
|
|
51
|
+
(0, class_validator_1.ValidateNested)({}),
|
|
52
|
+
(0, class_transformer_1.Type)(() => SetDataStoreItemSelectShippingModifyMethodAppBatchPushActivityData),
|
|
53
|
+
__metadata("design:type", SetDataStoreItemSelectShippingModifyMethodAppBatchPushActivityData)
|
|
54
|
+
], SetDataStoreItemSelectShippingModifyMethodAppBatchPushData.prototype, "activityData", void 0);
|
|
55
|
+
class SetDataStoreItemSelectShippingModifyMethodAppBatchPushPayload {
|
|
56
|
+
}
|
|
57
|
+
exports.SetDataStoreItemSelectShippingModifyMethodAppBatchPushPayload = SetDataStoreItemSelectShippingModifyMethodAppBatchPushPayload;
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, class_validator_1.IsObject)(),
|
|
60
|
+
(0, class_validator_1.ValidateNested)({}),
|
|
61
|
+
(0, class_transformer_1.Type)(() => SetDataStoreItemSelectShippingModifyMethodAppBatchPushData),
|
|
62
|
+
__metadata("design:type", SetDataStoreItemSelectShippingModifyMethodAppBatchPushData)
|
|
63
|
+
], SetDataStoreItemSelectShippingModifyMethodAppBatchPushPayload.prototype, "data", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, class_validator_1.IsNumber)(),
|
|
66
|
+
__metadata("design:type", Number)
|
|
67
|
+
], SetDataStoreItemSelectShippingModifyMethodAppBatchPushPayload.prototype, "ttl", void 0);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare class SetDataStoreItemSelectShippingMethodAppBatchPushActivityData {
|
|
2
|
+
otherUserId: string;
|
|
3
|
+
relatePInfoId: string;
|
|
4
|
+
previewImg: string;
|
|
5
|
+
}
|
|
6
|
+
export declare class SetDataStoreItemSelectShippingMethodAppBatchPushData {
|
|
7
|
+
purchaseReceiptId: string;
|
|
8
|
+
userId: string;
|
|
9
|
+
buyerName: string;
|
|
10
|
+
itemName: string;
|
|
11
|
+
isAbroadShipping: boolean;
|
|
12
|
+
activityData: SetDataStoreItemSelectShippingMethodAppBatchPushActivityData;
|
|
13
|
+
}
|
|
14
|
+
export declare class SetDataStoreItemSelectShippingMethodAppBatchPushPayload {
|
|
15
|
+
data: SetDataStoreItemSelectShippingMethodAppBatchPushData;
|
|
16
|
+
ttl: number;
|
|
17
|
+
}
|
|
18
|
+
export interface SetDataStoreItemSelectShippingMethodAppBatchPushResult {
|
|
19
|
+
result: string | null;
|
|
20
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
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.SetDataStoreItemSelectShippingMethodAppBatchPushPayload = exports.SetDataStoreItemSelectShippingMethodAppBatchPushData = exports.SetDataStoreItemSelectShippingMethodAppBatchPushActivityData = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class SetDataStoreItemSelectShippingMethodAppBatchPushActivityData {
|
|
16
|
+
}
|
|
17
|
+
exports.SetDataStoreItemSelectShippingMethodAppBatchPushActivityData = SetDataStoreItemSelectShippingMethodAppBatchPushActivityData;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsMongoId)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], SetDataStoreItemSelectShippingMethodAppBatchPushActivityData.prototype, "otherUserId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsMongoId)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], SetDataStoreItemSelectShippingMethodAppBatchPushActivityData.prototype, "relatePInfoId", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsString)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], SetDataStoreItemSelectShippingMethodAppBatchPushActivityData.prototype, "previewImg", void 0);
|
|
30
|
+
class SetDataStoreItemSelectShippingMethodAppBatchPushData {
|
|
31
|
+
}
|
|
32
|
+
exports.SetDataStoreItemSelectShippingMethodAppBatchPushData = SetDataStoreItemSelectShippingMethodAppBatchPushData;
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsMongoId)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], SetDataStoreItemSelectShippingMethodAppBatchPushData.prototype, "purchaseReceiptId", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_validator_1.IsMongoId)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], SetDataStoreItemSelectShippingMethodAppBatchPushData.prototype, "userId", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_validator_1.IsString)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], SetDataStoreItemSelectShippingMethodAppBatchPushData.prototype, "buyerName", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_validator_1.IsString)(),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], SetDataStoreItemSelectShippingMethodAppBatchPushData.prototype, "itemName", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, class_validator_1.IsBoolean)(),
|
|
51
|
+
__metadata("design:type", Boolean)
|
|
52
|
+
], SetDataStoreItemSelectShippingMethodAppBatchPushData.prototype, "isAbroadShipping", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, class_validator_1.IsObject)(),
|
|
55
|
+
(0, class_validator_1.ValidateNested)({}),
|
|
56
|
+
(0, class_transformer_1.Type)(() => SetDataStoreItemSelectShippingMethodAppBatchPushActivityData),
|
|
57
|
+
__metadata("design:type", SetDataStoreItemSelectShippingMethodAppBatchPushActivityData)
|
|
58
|
+
], SetDataStoreItemSelectShippingMethodAppBatchPushData.prototype, "activityData", void 0);
|
|
59
|
+
class SetDataStoreItemSelectShippingMethodAppBatchPushPayload {
|
|
60
|
+
}
|
|
61
|
+
exports.SetDataStoreItemSelectShippingMethodAppBatchPushPayload = SetDataStoreItemSelectShippingMethodAppBatchPushPayload;
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, class_validator_1.IsObject)(),
|
|
64
|
+
(0, class_validator_1.ValidateNested)({}),
|
|
65
|
+
(0, class_transformer_1.Type)(() => SetDataStoreItemSelectShippingMethodAppBatchPushData),
|
|
66
|
+
__metadata("design:type", SetDataStoreItemSelectShippingMethodAppBatchPushData)
|
|
67
|
+
], SetDataStoreItemSelectShippingMethodAppBatchPushPayload.prototype, "data", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, class_validator_1.IsNumber)(),
|
|
70
|
+
__metadata("design:type", Number)
|
|
71
|
+
], SetDataStoreItemSelectShippingMethodAppBatchPushPayload.prototype, "ttl", void 0);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare class SetDataStoreRefundToBuyerMethodAppBatchPushData {
|
|
2
|
+
purchaseReceiptId: string;
|
|
3
|
+
userId: string;
|
|
4
|
+
refundId: string;
|
|
5
|
+
itemName: string;
|
|
6
|
+
userType: string;
|
|
7
|
+
buyerUsername: string;
|
|
8
|
+
storeTitle: string;
|
|
9
|
+
}
|
|
10
|
+
export declare class SetDataStoreRefundToBuyerMethodAppBatchPushPayload {
|
|
11
|
+
data: SetDataStoreRefundToBuyerMethodAppBatchPushData;
|
|
12
|
+
ttl: number;
|
|
13
|
+
}
|
|
14
|
+
export interface SetDataStoreRefundToBuyerMethodAppBatchPushResult {
|
|
15
|
+
result: string | null;
|
|
16
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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.SetDataStoreRefundToBuyerMethodAppBatchPushPayload = exports.SetDataStoreRefundToBuyerMethodAppBatchPushData = void 0;
|
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class SetDataStoreRefundToBuyerMethodAppBatchPushData {
|
|
16
|
+
}
|
|
17
|
+
exports.SetDataStoreRefundToBuyerMethodAppBatchPushData = SetDataStoreRefundToBuyerMethodAppBatchPushData;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsMongoId)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], SetDataStoreRefundToBuyerMethodAppBatchPushData.prototype, "purchaseReceiptId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsMongoId)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], SetDataStoreRefundToBuyerMethodAppBatchPushData.prototype, "userId", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsMongoId)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], SetDataStoreRefundToBuyerMethodAppBatchPushData.prototype, "refundId", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, class_validator_1.IsString)(),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], SetDataStoreRefundToBuyerMethodAppBatchPushData.prototype, "itemName", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_validator_1.IsString)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], SetDataStoreRefundToBuyerMethodAppBatchPushData.prototype, "userType", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_validator_1.IsString)(),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], SetDataStoreRefundToBuyerMethodAppBatchPushData.prototype, "buyerUsername", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_validator_1.IsString)(),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], SetDataStoreRefundToBuyerMethodAppBatchPushData.prototype, "storeTitle", void 0);
|
|
46
|
+
class SetDataStoreRefundToBuyerMethodAppBatchPushPayload {
|
|
47
|
+
}
|
|
48
|
+
exports.SetDataStoreRefundToBuyerMethodAppBatchPushPayload = SetDataStoreRefundToBuyerMethodAppBatchPushPayload;
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, class_validator_1.IsObject)(),
|
|
51
|
+
(0, class_validator_1.ValidateNested)({}),
|
|
52
|
+
(0, class_transformer_1.Type)(() => SetDataStoreRefundToBuyerMethodAppBatchPushData),
|
|
53
|
+
__metadata("design:type", SetDataStoreRefundToBuyerMethodAppBatchPushData)
|
|
54
|
+
], SetDataStoreRefundToBuyerMethodAppBatchPushPayload.prototype, "data", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, class_validator_1.IsNumber)(),
|
|
57
|
+
__metadata("design:type", Number)
|
|
58
|
+
], SetDataStoreRefundToBuyerMethodAppBatchPushPayload.prototype, "ttl", void 0);
|
|
@@ -15,3 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./expire-app-bulk-push-to-user-ids.dto"), exports);
|
|
18
|
+
__exportStar(require("./command"), exports);
|
|
19
|
+
__exportStar(require("./query"), exports);
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.GetAppBatchPushDataByKeyResult = exports.GetAppBatchPushDataByKeyPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class GetAppBatchPushDataByKeyPayload {
|
|
15
|
+
}
|
|
16
|
+
exports.GetAppBatchPushDataByKeyPayload = GetAppBatchPushDataByKeyPayload;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsString)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], GetAppBatchPushDataByKeyPayload.prototype, "key", void 0);
|
|
21
|
+
class GetAppBatchPushDataByKeyResult {
|
|
22
|
+
}
|
|
23
|
+
exports.GetAppBatchPushDataByKeyResult = GetAppBatchPushDataByKeyResult;
|
|
@@ -16,3 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./get-redis-db.dto"), exports);
|
|
18
18
|
__exportStar(require("./get-list-redis-db.dto"), exports);
|
|
19
|
+
__exportStar(require("./get-app-batch-push-data-by-key.dto"), exports);
|
|
20
|
+
__exportStar(require("./get-app-batch-push-keys.dto"), exports);
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import {
|
|
3
|
+
import { DeleteAppBatchPushDataByKeyPayload, DeleteAppBatchPushDataByKeyResult, GetAppBatchPushDataByKeyPayload, GetAppBatchPushDataByKeyResult, GetAppBatchPushKeysResult } from '../../dto/redis-db';
|
|
4
4
|
export declare class AmqpRedisDbAppBatchPushService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
7
7
|
constructor(client: ClientProxy);
|
|
8
|
-
|
|
8
|
+
getAppBatchPushKeys(param: AbstractParam): Promise<GetAppBatchPushKeysResult>;
|
|
9
|
+
getAppBatchPushDataByKey(payload: GetAppBatchPushDataByKeyPayload, param: AbstractParam): Promise<GetAppBatchPushDataByKeyResult>;
|
|
10
|
+
deleteAppBatchPushDataByKey(payload: DeleteAppBatchPushDataByKeyPayload, param: AbstractParam): Promise<DeleteAppBatchPushDataByKeyResult>;
|
|
9
11
|
}
|
|
@@ -21,8 +21,14 @@ let AmqpRedisDbAppBatchPushService = class AmqpRedisDbAppBatchPushService {
|
|
|
21
21
|
this.client = client;
|
|
22
22
|
this.amqpManager = new functions_1.AmqpManagement(this.client);
|
|
23
23
|
}
|
|
24
|
-
async
|
|
25
|
-
return this.amqpManager.call('
|
|
24
|
+
async getAppBatchPushKeys(param) {
|
|
25
|
+
return this.amqpManager.call('appBatchPush 키 조회', 'redis-db.get.keys-app-batch-push', {}, param, { isErrorThrowing: true });
|
|
26
|
+
}
|
|
27
|
+
async getAppBatchPushDataByKey(payload, param) {
|
|
28
|
+
return this.amqpManager.call('appBatchPush 키에 따른 데이터 조회', 'redis-db.get.data-app-batch-push-by-key', payload, param, { isErrorThrowing: true });
|
|
29
|
+
}
|
|
30
|
+
async deleteAppBatchPushDataByKey(payload, param) {
|
|
31
|
+
return this.amqpManager.call('appBatchPush 키에 따른 데이터 삭제', 'redis-db.delete.data-app-batch-push-by-key', payload, param, { isErrorThrowing: true });
|
|
26
32
|
}
|
|
27
33
|
};
|
|
28
34
|
exports.AmqpRedisDbAppBatchPushService = AmqpRedisDbAppBatchPushService;
|
|
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./amqp.redis-db-app-bulk-push-to-user-ids.service"), exports);
|
|
18
18
|
__exportStar(require("./amqp.redis-db-list-db.service"), exports);
|
|
19
|
+
__exportStar(require("./amqp.redis-db.app-batch-push.service"), exports);
|