@yolo-croket-dev/amqp-access 0.6.9 → 0.6.10

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.6.9",
3
+ "version": "0.6.10",
4
4
  "main": "index.js",
5
5
  "author": "Yolo Co., Ltd.",
6
6
  "description": "크로켓 amqp-access npm",
@@ -1,8 +1,11 @@
1
1
  /** 결제 아이디로 생성된 채팅방의 마지막 채팅 정보 조회 요청 Payload */
2
2
  export declare class GetChatRoomLastChatAnsweredPayload {
3
- purchasedInfoId: string;
3
+ purchasedInfoIds: string[];
4
4
  }
5
- export interface GetChatRoomLastChatAnsweredResult {
5
+ export type GetChatRoomLastChatAnsweredResult = ChatRoomLastChatAnswered[];
6
+ export interface ChatRoomLastChatAnswered {
7
+ /** 결제 아이디 */
8
+ purchasedInfoId: string;
6
9
  /** 채팅방 아이디 (nullable) */
7
10
  chatRoomId: string | null;
8
11
  /** 마지막 답변자 (undefined able) */
@@ -16,6 +16,6 @@ class GetChatRoomLastChatAnsweredPayload {
16
16
  }
17
17
  exports.GetChatRoomLastChatAnsweredPayload = GetChatRoomLastChatAnsweredPayload;
18
18
  __decorate([
19
- (0, class_validator_1.IsMongoId)(),
20
- __metadata("design:type", String)
21
- ], GetChatRoomLastChatAnsweredPayload.prototype, "purchasedInfoId", void 0);
19
+ (0, class_validator_1.IsMongoId)({ each: true }),
20
+ __metadata("design:type", Array)
21
+ ], GetChatRoomLastChatAnsweredPayload.prototype, "purchasedInfoIds", void 0);