@yolo-croket-dev/amqp-access 0.4.1 → 0.4.3

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.1",
3
+ "version": "0.4.3",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -27,5 +27,5 @@ export declare class AmqpUserService {
27
27
  /** 유저 아이디를 통한 휴대폰 번호 가져오기 (use. notification) */
28
28
  userPhoneDecodeById(userId: string, param: AbstractParam): Promise<string | null>;
29
29
  getUserInfoById(payload: GetUserInfoByIdPayload, param: AbstractParam): Promise<GetUserInfoByIdResult>;
30
- getUsers(payload: GetUsersPayload, param: AbstractParam): Promise<GetUsersResult>;
30
+ getUsers(payload: GetUsersPayload, param: AbstractParam): Promise<GetUsersResult[]>;
31
31
  }
@@ -22,7 +22,7 @@ export declare class FilterQuery {
22
22
  }
23
23
  export declare class GetUsersPayload {
24
24
  limit: number;
25
- lastId: string;
25
+ lastId?: string;
26
26
  order: PAGINATION_ORDER;
27
27
  sort: PAGINATION_SORT;
28
28
  authProvider?: AUTH_PROVIDER;
@@ -74,6 +74,7 @@ __decorate([
74
74
  ], GetUsersPayload.prototype, "limit", void 0);
75
75
  __decorate([
76
76
  (0, class_validator_1.IsMongoId)(),
77
+ (0, class_validator_1.IsOptional)(),
77
78
  __metadata("design:type", String)
78
79
  ], GetUsersPayload.prototype, "lastId", void 0);
79
80
  __decorate([