@yolo-croket-dev/amqp-access 0.7.21 → 0.7.23

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.
@@ -2,3 +2,28 @@ export declare class ExtendWaitingReceiveByChannelTalkPayload {
2
2
  publicId: string;
3
3
  userId: string;
4
4
  }
5
+ export declare enum ExtendWaitingReceiveByChannelTalkResultEnum {
6
+ /** @description 연장 성공 */
7
+ SUCCESS_NORMAL = "SUCCESS_NORMAL",// 연장 성공
8
+ /** @description 거래종료 상태 자동수령, 정산 완료 성공 */
9
+ SUCCESS_AUTO_RECEIVE_AND_PROCEEDS = "SUCCESS_AUTO_RECEIVE_AND_PROCEEDS",
10
+ /** @description 거래종료 상태 자동수령, 정산 안됨 성공 */
11
+ SUCCESS_AUTO_RECEIVE_AND_NOT_PROCEEDS = "SUCCESS_AUTO_RECEIVE_AND_NOT_PROCEEDS",
12
+ /** @description 거래종료 상태 수동수령, 정산 완료 성공 */
13
+ SUCCESS_MANUAL_RECEIVE_AND_PROCEEDS = "SUCCESS_MANUAL_RECEIVE_AND_PROCEEDS",
14
+ /** @description 거래종료 상태 수동수령, 정산 안됨 성공 */
15
+ SUCCESS_MANUAL_RECEIVE_AND_NOT_PROCEEDS = "SUCCESS_MANUAL_RECEIVE_AND_NOT_PROCEEDS",
16
+ /** @description 주문번호 없음 */
17
+ FAIL_NOT_FOUND_P_INFO = "FAIL_NOT_FOUND_P_INFO",
18
+ /** @description 로그인 안됨 */
19
+ FAIL_NOT_LOGIN = "FAIL_NOT_LOGIN",
20
+ /** @description 권한 없음 */
21
+ FAIL_NO_PERMISSION = "FAIL_NO_PERMISSION",
22
+ /** @description 자동수령확정일 연장이 불가능한 상태의 주문건 */
23
+ FAIL_INVALID_PROCESS = "FAIL_INVALID_PROCESS",
24
+ /** @description 예기치 못한 오류가 발생 */
25
+ FAIL_INTERNAL_SERVER_ERROR = "FAIL_INTERNAL_SERVER_ERROR"
26
+ }
27
+ export declare class ExtendWaitingReceiveByChannelTalkResult {
28
+ result: ExtendWaitingReceiveByChannelTalkResultEnum;
29
+ }
@@ -9,7 +9,7 @@ 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.ExtendWaitingReceiveByChannelTalkPayload = void 0;
12
+ exports.ExtendWaitingReceiveByChannelTalkResult = exports.ExtendWaitingReceiveByChannelTalkResultEnum = exports.ExtendWaitingReceiveByChannelTalkPayload = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  class ExtendWaitingReceiveByChannelTalkPayload {
15
15
  }
@@ -22,3 +22,33 @@ __decorate([
22
22
  (0, class_validator_1.IsMongoId)(),
23
23
  __metadata("design:type", String)
24
24
  ], ExtendWaitingReceiveByChannelTalkPayload.prototype, "userId", void 0);
25
+ var ExtendWaitingReceiveByChannelTalkResultEnum;
26
+ (function (ExtendWaitingReceiveByChannelTalkResultEnum) {
27
+ /** @description 연장 성공 */
28
+ ExtendWaitingReceiveByChannelTalkResultEnum["SUCCESS_NORMAL"] = "SUCCESS_NORMAL";
29
+ /** @description 거래종료 상태 자동수령, 정산 완료 성공 */
30
+ ExtendWaitingReceiveByChannelTalkResultEnum["SUCCESS_AUTO_RECEIVE_AND_PROCEEDS"] = "SUCCESS_AUTO_RECEIVE_AND_PROCEEDS";
31
+ /** @description 거래종료 상태 자동수령, 정산 안됨 성공 */
32
+ ExtendWaitingReceiveByChannelTalkResultEnum["SUCCESS_AUTO_RECEIVE_AND_NOT_PROCEEDS"] = "SUCCESS_AUTO_RECEIVE_AND_NOT_PROCEEDS";
33
+ /** @description 거래종료 상태 수동수령, 정산 완료 성공 */
34
+ ExtendWaitingReceiveByChannelTalkResultEnum["SUCCESS_MANUAL_RECEIVE_AND_PROCEEDS"] = "SUCCESS_MANUAL_RECEIVE_AND_PROCEEDS";
35
+ /** @description 거래종료 상태 수동수령, 정산 안됨 성공 */
36
+ ExtendWaitingReceiveByChannelTalkResultEnum["SUCCESS_MANUAL_RECEIVE_AND_NOT_PROCEEDS"] = "SUCCESS_MANUAL_RECEIVE_AND_NOT_PROCEEDS";
37
+ /** @description 주문번호 없음 */
38
+ ExtendWaitingReceiveByChannelTalkResultEnum["FAIL_NOT_FOUND_P_INFO"] = "FAIL_NOT_FOUND_P_INFO";
39
+ /** @description 로그인 안됨 */
40
+ ExtendWaitingReceiveByChannelTalkResultEnum["FAIL_NOT_LOGIN"] = "FAIL_NOT_LOGIN";
41
+ /** @description 권한 없음 */
42
+ ExtendWaitingReceiveByChannelTalkResultEnum["FAIL_NO_PERMISSION"] = "FAIL_NO_PERMISSION";
43
+ /** @description 자동수령확정일 연장이 불가능한 상태의 주문건 */
44
+ ExtendWaitingReceiveByChannelTalkResultEnum["FAIL_INVALID_PROCESS"] = "FAIL_INVALID_PROCESS";
45
+ /** @description 예기치 못한 오류가 발생 */
46
+ ExtendWaitingReceiveByChannelTalkResultEnum["FAIL_INTERNAL_SERVER_ERROR"] = "FAIL_INTERNAL_SERVER_ERROR";
47
+ })(ExtendWaitingReceiveByChannelTalkResultEnum || (exports.ExtendWaitingReceiveByChannelTalkResultEnum = ExtendWaitingReceiveByChannelTalkResultEnum = {}));
48
+ class ExtendWaitingReceiveByChannelTalkResult {
49
+ }
50
+ exports.ExtendWaitingReceiveByChannelTalkResult = ExtendWaitingReceiveByChannelTalkResult;
51
+ __decorate([
52
+ (0, class_validator_1.IsEnum)(ExtendWaitingReceiveByChannelTalkResultEnum),
53
+ __metadata("design:type", String)
54
+ ], ExtendWaitingReceiveByChannelTalkResult.prototype, "result", void 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yolo-croket-dev/amqp-access",
3
- "version": "0.7.21",
3
+ "version": "0.7.23",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -27,4 +27,4 @@
27
27
  "class-validator": "^0.13.2",
28
28
  "dotenv": "^16.3.1"
29
29
  }
30
- }
30
+ }
@@ -1,7 +1,13 @@
1
+ export declare class GlobalShippingFeeItemPayload {
2
+ /** 상품 아이디 */
3
+ itemId: string;
4
+ /** 수량 */
5
+ pNums: number;
6
+ }
1
7
  /** 글로벌 상품 배송비 조회 Payload */
2
8
  export declare class GetGlobalShippingFeeByItemIdPayload {
3
9
  /** 상품 아이디 리스트 */
4
- itemIds: string[];
10
+ items: GlobalShippingFeeItemPayload[];
5
11
  /** 배송지 지역 */
6
12
  area: string;
7
13
  }
@@ -9,16 +9,29 @@ 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.GetGlobalShippingFeeByItemIdPayload = void 0;
12
+ exports.GetGlobalShippingFeeByItemIdPayload = exports.GlobalShippingFeeItemPayload = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
+ const class_transformer_1 = require("class-transformer");
15
+ class GlobalShippingFeeItemPayload {
16
+ }
17
+ exports.GlobalShippingFeeItemPayload = GlobalShippingFeeItemPayload;
18
+ __decorate([
19
+ (0, class_validator_1.IsMongoId)(),
20
+ __metadata("design:type", String)
21
+ ], GlobalShippingFeeItemPayload.prototype, "itemId", void 0);
22
+ __decorate([
23
+ (0, class_validator_1.IsNumber)(),
24
+ __metadata("design:type", Number)
25
+ ], GlobalShippingFeeItemPayload.prototype, "pNums", void 0);
14
26
  /** 글로벌 상품 배송비 조회 Payload */
15
27
  class GetGlobalShippingFeeByItemIdPayload {
16
28
  }
17
29
  exports.GetGlobalShippingFeeByItemIdPayload = GetGlobalShippingFeeByItemIdPayload;
18
30
  __decorate([
19
- (0, class_validator_1.IsMongoId)({ each: true }),
31
+ (0, class_validator_1.ValidateNested)({ each: true }),
32
+ (0, class_transformer_1.Type)(() => GlobalShippingFeeItemPayload),
20
33
  __metadata("design:type", Array)
21
- ], GetGlobalShippingFeeByItemIdPayload.prototype, "itemIds", void 0);
34
+ ], GetGlobalShippingFeeByItemIdPayload.prototype, "items", void 0);
22
35
  __decorate([
23
36
  (0, class_validator_1.IsString)(),
24
37
  __metadata("design:type", String)