@yolo-croket-dev/amqp-access 0.7.73 → 0.7.75
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 +1 -1
- package/user-service/dto/chat.modules/chat-room/get-chat-room-ids-by-p-info-ids.dto.d.ts +7 -0
- package/user-service/dto/chat.modules/chat-room/get-chat-room-ids-by-p-info-ids.dto.js +21 -0
- package/user-service/dto/chat.modules/chat-room/index.d.ts +1 -0
- package/user-service/dto/chat.modules/chat-room/index.js +1 -0
- package/user-service/services/amqp.chat-room.service.d.ts +2 -1
- package/user-service/services/amqp.chat-room.service.js +3 -0
- package/.claude/settings.local.json +0 -11
package/package.json
CHANGED
|
@@ -0,0 +1,21 @@
|
|
|
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.GetChatRoomIdsByPInfoIdsPayload = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class GetChatRoomIdsByPInfoIdsPayload {
|
|
15
|
+
}
|
|
16
|
+
exports.GetChatRoomIdsByPInfoIdsPayload = GetChatRoomIdsByPInfoIdsPayload;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsArray)(),
|
|
19
|
+
(0, class_validator_1.IsMongoId)({ each: true }),
|
|
20
|
+
__metadata("design:type", Array)
|
|
21
|
+
], GetChatRoomIdsByPInfoIdsPayload.prototype, "pInfoIds", void 0);
|
|
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./get-chat-room-last-chat-answered.dto"), exports);
|
|
18
|
+
__exportStar(require("./get-chat-room-ids-by-p-info-ids.dto"), exports);
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { GetChatRoomLastChatAnsweredPayload, GetChatRoomLastChatAnsweredResult } from '../dto/chat.modules/chat-room';
|
|
3
|
+
import { GetChatRoomIdsByPInfoIdsPayload, GetChatRoomIdsByPInfoIdsResult, GetChatRoomLastChatAnsweredPayload, GetChatRoomLastChatAnsweredResult } from '../dto/chat.modules/chat-room';
|
|
4
4
|
export declare class AmqpChatRoomService {
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
7
7
|
constructor(client: ClientProxy);
|
|
8
8
|
sendSlackAlertForUnreadMessageSellerList(payload: void, param: AbstractParam): Promise<boolean>;
|
|
9
9
|
getChatRoomLastChatAnswered(payload: GetChatRoomLastChatAnsweredPayload, param: AbstractParam): Promise<GetChatRoomLastChatAnsweredResult>;
|
|
10
|
+
getChatRoomIdsByPInfoIds(payload: GetChatRoomIdsByPInfoIdsPayload, param: AbstractParam): Promise<GetChatRoomIdsByPInfoIdsResult[]>;
|
|
10
11
|
}
|
|
@@ -27,6 +27,9 @@ let AmqpChatRoomService = class AmqpChatRoomService {
|
|
|
27
27
|
async getChatRoomLastChatAnswered(payload, param) {
|
|
28
28
|
return this.amqpManager.call('결제 아이디로 생성된 채팅방의 마지막 채팅 정보 조회', 'chat-room.get.last-chat-answered', payload, param, { isErrorThrowing: true });
|
|
29
29
|
}
|
|
30
|
+
async getChatRoomIdsByPInfoIds(payload, param) {
|
|
31
|
+
return this.amqpManager.call('pInfo 아이디로 채팅방 아이디 조회', 'chat-room.get.ids-by-p-info-ids', payload, param, { isErrorThrowing: true });
|
|
32
|
+
}
|
|
30
33
|
};
|
|
31
34
|
exports.AmqpChatRoomService = AmqpChatRoomService;
|
|
32
35
|
exports.AmqpChatRoomService = AmqpChatRoomService = __decorate([
|