@yolo-croket-dev/amqp-access 0.4.50-sj → 0.4.50-sj2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.4.50-sj",
3
+ "version": "0.4.50-sj2",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -1,7 +1,7 @@
1
1
  export declare class SetDataAutoRecieveToBuyerMethodAppBatchPushActivityData {
2
- otherUserId: string;
3
- relatePInfoId: string;
4
- previewImg: string;
2
+ otherUserId?: string;
3
+ relatePInfoId?: string;
4
+ previewImg?: string;
5
5
  }
6
6
  export declare class SetDataAutoRecieveToBuyerMethodAppBatchPushData {
7
7
  purchaseReceiptId: string;
@@ -17,14 +17,17 @@ class SetDataAutoRecieveToBuyerMethodAppBatchPushActivityData {
17
17
  exports.SetDataAutoRecieveToBuyerMethodAppBatchPushActivityData = SetDataAutoRecieveToBuyerMethodAppBatchPushActivityData;
18
18
  __decorate([
19
19
  (0, class_validator_1.IsMongoId)(),
20
+ (0, class_validator_1.IsOptional)(),
20
21
  __metadata("design:type", String)
21
22
  ], SetDataAutoRecieveToBuyerMethodAppBatchPushActivityData.prototype, "otherUserId", void 0);
22
23
  __decorate([
23
24
  (0, class_validator_1.IsMongoId)(),
25
+ (0, class_validator_1.IsOptional)(),
24
26
  __metadata("design:type", String)
25
27
  ], SetDataAutoRecieveToBuyerMethodAppBatchPushActivityData.prototype, "relatePInfoId", void 0);
26
28
  __decorate([
27
29
  (0, class_validator_1.IsString)(),
30
+ (0, class_validator_1.IsOptional)(),
28
31
  __metadata("design:type", String)
29
32
  ], SetDataAutoRecieveToBuyerMethodAppBatchPushActivityData.prototype, "previewImg", void 0);
30
33
  class SetDataAutoRecieveToBuyerMethodAppBatchPushData {
@@ -1,7 +1,7 @@
1
1
  export declare class SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushActivityData {
2
- otherUserId: string;
3
- relatePInfoId: string;
4
- previewImg: string;
2
+ otherUserId?: string;
3
+ relatePInfoId?: string;
4
+ previewImg?: string;
5
5
  }
6
6
  export declare class SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushData {
7
7
  purchaseReceiptId: string;
@@ -17,14 +17,17 @@ class SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushActivityData {
17
17
  exports.SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushActivityData = SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushActivityData;
18
18
  __decorate([
19
19
  (0, class_validator_1.IsMongoId)(),
20
+ (0, class_validator_1.IsOptional)(),
20
21
  __metadata("design:type", String)
21
22
  ], SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushActivityData.prototype, "otherUserId", void 0);
22
23
  __decorate([
23
24
  (0, class_validator_1.IsMongoId)(),
25
+ (0, class_validator_1.IsOptional)(),
24
26
  __metadata("design:type", String)
25
27
  ], SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushActivityData.prototype, "relatePInfoId", void 0);
26
28
  __decorate([
27
29
  (0, class_validator_1.IsString)(),
30
+ (0, class_validator_1.IsOptional)(),
28
31
  __metadata("design:type", String)
29
32
  ], SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushActivityData.prototype, "previewImg", void 0);
30
33
  class SetDataCheckingStockFromSellerToBuyerMethodAppBatchPushData {
@@ -1,7 +1,7 @@
1
1
  export declare class SetDataStoreItemSelectShippingModifyMethodAppBatchPushActivityData {
2
- otherUserId: string;
3
- relatePInfoId: string;
4
- previewImg: string;
2
+ otherUserId?: string;
3
+ relatePInfoId?: string;
4
+ previewImg?: string;
5
5
  }
6
6
  export declare class SetDataStoreItemSelectShippingModifyMethodAppBatchPushData {
7
7
  purchaseReceiptId: string;
@@ -17,14 +17,17 @@ class SetDataStoreItemSelectShippingModifyMethodAppBatchPushActivityData {
17
17
  exports.SetDataStoreItemSelectShippingModifyMethodAppBatchPushActivityData = SetDataStoreItemSelectShippingModifyMethodAppBatchPushActivityData;
18
18
  __decorate([
19
19
  (0, class_validator_1.IsMongoId)(),
20
+ (0, class_validator_1.IsOptional)(),
20
21
  __metadata("design:type", String)
21
22
  ], SetDataStoreItemSelectShippingModifyMethodAppBatchPushActivityData.prototype, "otherUserId", void 0);
22
23
  __decorate([
23
24
  (0, class_validator_1.IsMongoId)(),
25
+ (0, class_validator_1.IsOptional)(),
24
26
  __metadata("design:type", String)
25
27
  ], SetDataStoreItemSelectShippingModifyMethodAppBatchPushActivityData.prototype, "relatePInfoId", void 0);
26
28
  __decorate([
27
29
  (0, class_validator_1.IsString)(),
30
+ (0, class_validator_1.IsOptional)(),
28
31
  __metadata("design:type", String)
29
32
  ], SetDataStoreItemSelectShippingModifyMethodAppBatchPushActivityData.prototype, "previewImg", void 0);
30
33
  class SetDataStoreItemSelectShippingModifyMethodAppBatchPushData {
@@ -1,7 +1,7 @@
1
1
  export declare class SetDataStoreItemSelectShippingMethodAppBatchPushActivityData {
2
- otherUserId: string;
3
- relatePInfoId: string;
4
- previewImg: string;
2
+ otherUserId?: string;
3
+ relatePInfoId?: string;
4
+ previewImg?: string;
5
5
  }
6
6
  export declare class SetDataStoreItemSelectShippingMethodAppBatchPushData {
7
7
  purchaseReceiptId: string;
@@ -17,14 +17,17 @@ class SetDataStoreItemSelectShippingMethodAppBatchPushActivityData {
17
17
  exports.SetDataStoreItemSelectShippingMethodAppBatchPushActivityData = SetDataStoreItemSelectShippingMethodAppBatchPushActivityData;
18
18
  __decorate([
19
19
  (0, class_validator_1.IsMongoId)(),
20
+ (0, class_validator_1.IsOptional)(),
20
21
  __metadata("design:type", String)
21
22
  ], SetDataStoreItemSelectShippingMethodAppBatchPushActivityData.prototype, "otherUserId", void 0);
22
23
  __decorate([
23
24
  (0, class_validator_1.IsMongoId)(),
25
+ (0, class_validator_1.IsOptional)(),
24
26
  __metadata("design:type", String)
25
27
  ], SetDataStoreItemSelectShippingMethodAppBatchPushActivityData.prototype, "relatePInfoId", void 0);
26
28
  __decorate([
27
29
  (0, class_validator_1.IsString)(),
30
+ (0, class_validator_1.IsOptional)(),
28
31
  __metadata("design:type", String)
29
32
  ], SetDataStoreItemSelectShippingMethodAppBatchPushActivityData.prototype, "previewImg", void 0);
30
33
  class SetDataStoreItemSelectShippingMethodAppBatchPushData {
@@ -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, SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushPayload, SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushResult } from '../../dto/redis-db';
3
+ import { DeleteAppBatchPushDataByKeyPayload, DeleteAppBatchPushDataByKeyResult, GetAppBatchPushDataByKeyPayload, GetAppBatchPushDataByKeyResult, GetAppBatchPushKeysResult, SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushPayload, SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushResult, SetDataAutoRecieveToBuyerMethodAppBatchPushPayload, SetDataAutoRecieveToBuyerMethodAppBatchPushResult } from '../../dto/redis-db';
4
4
  export declare class AmqpRedisDbAppBatchPushService {
5
5
  private readonly client;
6
6
  private readonly amqpManager;
@@ -9,4 +9,5 @@ export declare class AmqpRedisDbAppBatchPushService {
9
9
  getAppBatchPushDataByKey(payload: GetAppBatchPushDataByKeyPayload, param: AbstractParam): Promise<GetAppBatchPushDataByKeyResult>;
10
10
  deleteAppBatchPushDataByKey(payload: DeleteAppBatchPushDataByKeyPayload, param: AbstractParam): Promise<DeleteAppBatchPushDataByKeyResult>;
11
11
  setDataAutoChangeWaitingReceiveProcessToBuyerMethod(payload: SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushPayload, param: AbstractParam): Promise<SetDataAutoChangeWaitingReceiveProcessToBuyerMethodAppBatchPushResult>;
12
+ setDataAutoRecieveToBuyerMethod(payload: SetDataAutoRecieveToBuyerMethodAppBatchPushPayload, param: AbstractParam): Promise<SetDataAutoRecieveToBuyerMethodAppBatchPushResult>;
12
13
  }
@@ -33,6 +33,9 @@ let AmqpRedisDbAppBatchPushService = class AmqpRedisDbAppBatchPushService {
33
33
  async setDataAutoChangeWaitingReceiveProcessToBuyerMethod(payload, param) {
34
34
  return this.amqpManager.call('redis에 autoChangeWaitingReceiveProcessToBuyer method 등록 및 수정', 'redis-db.set-data.app-batch-push-auto-change-waiting-receive-process-to-buyer', payload, param, { isErrorThrowing: true });
35
35
  }
36
+ async setDataAutoRecieveToBuyerMethod(payload, param) {
37
+ return this.amqpManager.call('redis에 autoRecieveToBuyer method 등록 및 수정', 'redis-db.set-data.app-batch-push-auto-recieve-to-buyer', payload, param, { isErrorThrowing: true });
38
+ }
36
39
  };
37
40
  exports.AmqpRedisDbAppBatchPushService = AmqpRedisDbAppBatchPushService;
38
41
  exports.AmqpRedisDbAppBatchPushService = AmqpRedisDbAppBatchPushService = __decorate([