@vibexnpm/talkx 9.1.0 → 9.2.0

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/dist/index.d.ts CHANGED
@@ -143,6 +143,15 @@ export const ChatRoomType: {
143
143
  };
144
144
  export type ChatRoomTypeValue = typeof ChatRoomType[keyof typeof ChatRoomType];
145
145
 
146
+ /** 방이 생긴 경위 — 사람이 만든 방({@code USER}) · 예약 보고 전용 방({@code SCHEDULED_REPORT}). */
147
+ export const ChatRoomOrigin: {
148
+ /** 사람이 만든 방 — {@link CursorPageParams.origin} 거르기 값. 방 응답에는 칸이 오지 않는다. */
149
+ readonly USER: 'USER';
150
+ /** 예약 보고가 만든 전용 방. */
151
+ readonly SCHEDULED_REPORT: 'SCHEDULED_REPORT';
152
+ };
153
+ export type ChatRoomOriginValue = typeof ChatRoomOrigin[keyof typeof ChatRoomOrigin];
154
+
146
155
  export const AssistantMode: {
147
156
  readonly GENERAL: 'GENERAL';
148
157
  readonly PEOPLE_ONLY: 'PEOPLE_ONLY';
@@ -1256,6 +1265,8 @@ export interface ChatRoomResponse {
1256
1265
  assistantMode?: AssistantModeValue;
1257
1266
  /** 방 AI 사용 방식 (상위 SSOT). 구버전 서버 응답에서는 없을 수 있음. */
1258
1267
  roomAiType?: RoomAiTypeValue;
1268
+ /** 방이 생긴 경위 — 예약 보고 전용 방만 값이 있다. 없으면 사람이 만든 방이다. */
1269
+ origin?: 'SCHEDULED_REPORT';
1259
1270
  /** PM 개입 강도 (PM_BACKSTAGE 방 전용). 그 외 방 타입/구버전 응답에서는 없을 수 있음. */
1260
1271
  engagementIntensity?: EngagementIntensityValue;
1261
1272
  roomName: string;
@@ -1645,6 +1656,8 @@ export interface RoomMeta {
1645
1656
  roomAiType?: RoomAiTypeValue;
1646
1657
  /** ROOM_UPDATED 메타의 PM 개입 강도 (PM_BACKSTAGE 방 전용). */
1647
1658
  engagementIntensity?: EngagementIntensityValue;
1659
+ /** ROOM_UPDATED 메타의 방 만든 경위 — 예약 보고 전용 방만 값이 있고, 사람이 만든 방은 {@code null} 이다. */
1660
+ origin?: 'SCHEDULED_REPORT' | null;
1648
1661
  }
1649
1662
 
1650
1663
  /** 채팅방 리스트 실시간 업데이트 이벤트. */
@@ -2075,6 +2088,8 @@ export interface CursorPageParams {
2075
2088
  lastSortValue?: number | string;
2076
2089
  /** 방 리스트에서 타입 필터. */
2077
2090
  type?: ChatRoomTypeValue;
2091
+ /** 방 리스트에서 만든 경위 필터. 커서 페이지라 클라이언트에서 거르면 뒤쪽 방을 놓친다. */
2092
+ origin?: ChatRoomOriginValue;
2078
2093
  }
2079
2094
 
2080
2095
  /**