@vibexnpm/talkx 3.0.7 → 3.0.8
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 +22 -14
- package/package.json +1 -1
- package/types/index.d.ts +22 -14
package/dist/index.d.ts
CHANGED
|
@@ -332,16 +332,16 @@ export interface RoomSummaryRollup {
|
|
|
332
332
|
format: string;
|
|
333
333
|
/** 이 rollup 의 언어(소문자 BCP-47 / {@code 'OFF'}=원문). {@link RoomSummaryView.language} 와 동일. */
|
|
334
334
|
language: string;
|
|
335
|
-
/** rollup 이 커버하는 가장 오래된
|
|
336
|
-
coverStartAt:
|
|
337
|
-
/** 마지막으로 요약된
|
|
338
|
-
watermarkAt:
|
|
335
|
+
/** rollup 이 커버하는 가장 오래된 지점(epoch millis). */
|
|
336
|
+
coverStartAt: number | null;
|
|
337
|
+
/** 마지막으로 요약된 지점(epoch millis). */
|
|
338
|
+
watermarkAt: number | null;
|
|
339
339
|
/** 전체 segment 수(페이지 총량 힌트). */
|
|
340
340
|
segmentCount: number;
|
|
341
341
|
/** 이 키(포맷×언어)가 최신 대화를 아직 반영 안 함(reducedSegmentCount < segmentCount) — refreshSummary 로 최신화 가능. */
|
|
342
342
|
stale: boolean;
|
|
343
|
-
/** 마지막 갱신
|
|
344
|
-
updatedAt:
|
|
343
|
+
/** 마지막 갱신 시각(epoch millis). */
|
|
344
|
+
updatedAt: number;
|
|
345
345
|
}
|
|
346
346
|
|
|
347
347
|
/** Rolling 누적 요약 구간 부분요약 — {@link RoomSummaryView.segments} 항목. 항상 {@code contentFormat==='neutral'}. */
|
|
@@ -352,9 +352,9 @@ export interface RoomSummarySegment {
|
|
|
352
352
|
content: string;
|
|
353
353
|
/** 항상 {@code 'neutral'}(format 미적용). */
|
|
354
354
|
contentFormat: string;
|
|
355
|
-
fromSentAt:
|
|
355
|
+
fromSentAt: number | null;
|
|
356
356
|
fromMessageId: string | null;
|
|
357
|
-
toSentAt:
|
|
357
|
+
toSentAt: number | null;
|
|
358
358
|
toMessageId: string | null;
|
|
359
359
|
/** 이 구간이 담은 메시지 수. */
|
|
360
360
|
messageCount: number;
|
|
@@ -407,8 +407,8 @@ export interface SummaryUpdateEvent {
|
|
|
407
407
|
* 그 외 null. 각 사용자는 자기 언어가 이 목록에 있으면 {@code getSummary({ format, lang })} 로 읽는다(§S1).
|
|
408
408
|
*/
|
|
409
409
|
languages: string[] | null;
|
|
410
|
-
/** 갱신
|
|
411
|
-
updatedAt:
|
|
410
|
+
/** 갱신 시각(epoch millis). {@code READY} 만 포함, 그 외 null. */
|
|
411
|
+
updatedAt: number | null;
|
|
412
412
|
}
|
|
413
413
|
|
|
414
414
|
/**
|
|
@@ -723,7 +723,8 @@ export interface ParticipantResponse {
|
|
|
723
723
|
* 과도기 동안 {@code ADMIN} 생성자가 보일 수 있으나 권한은 동일.</p>
|
|
724
724
|
*/
|
|
725
725
|
role: 'OWNER' | 'ADMIN' | 'MEMBER' | 'ASSISTANT';
|
|
726
|
-
|
|
726
|
+
/** 참가 시각(epoch millis). */
|
|
727
|
+
joinedAt: number;
|
|
727
728
|
}
|
|
728
729
|
|
|
729
730
|
/** 채팅방 last message preview. */
|
|
@@ -734,7 +735,8 @@ export interface LastMessageResponse {
|
|
|
734
735
|
senderProfileUrl?: string | null;
|
|
735
736
|
content: string;
|
|
736
737
|
messageType: string;
|
|
737
|
-
|
|
738
|
+
/** 마지막 메시지 시각(epoch millis). */
|
|
739
|
+
sentAt: number;
|
|
738
740
|
/**
|
|
739
741
|
* 파일 메시지일 때 첫 파일의 사용자 metadata (opaque pass-through).
|
|
740
742
|
* <p>고객사가 파일 업로드 시 함께 보낸 데이터 (스티커 ID 등) 가 채팅방 리스트에서도 식별 가능하도록 보존.
|
|
@@ -771,8 +773,10 @@ export interface ChatRoomResponse {
|
|
|
771
773
|
pinnedMessageId?: string | null;
|
|
772
774
|
participants?: ParticipantResponse[];
|
|
773
775
|
lastMessage?: LastMessageResponse | null;
|
|
774
|
-
|
|
775
|
-
|
|
776
|
+
/** 마지막 메시지 시각(epoch millis) — 방 목록 정렬용. */
|
|
777
|
+
lastMessageAt?: number | null;
|
|
778
|
+
/** 방 생성 시각(epoch millis). */
|
|
779
|
+
createdAt: number;
|
|
776
780
|
}
|
|
777
781
|
|
|
778
782
|
/** 커서 페이지네이션 응답. */
|
|
@@ -825,6 +829,10 @@ export interface RoomListUpdateEvent {
|
|
|
825
829
|
eventType: RoomListEventTypeValue;
|
|
826
830
|
roomId: string;
|
|
827
831
|
actorId?: string;
|
|
832
|
+
/** {@code MESSAGE_*} 이벤트의 방 마지막 메시지 시각(epoch millis). 그 외 이벤트에서는 undefined. */
|
|
833
|
+
lastMessageAt?: number | null;
|
|
834
|
+
/** 이벤트 발행 시각(epoch millis). */
|
|
835
|
+
timestamp?: number;
|
|
828
836
|
cutoffTime?: number;
|
|
829
837
|
/** {@code ROOM_UPDATED} 전용 — 저장된 최신 메타 snapshot. 다른 eventType 에서는 undefined. */
|
|
830
838
|
room?: RoomMeta;
|
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -332,16 +332,16 @@ export interface RoomSummaryRollup {
|
|
|
332
332
|
format: string;
|
|
333
333
|
/** 이 rollup 의 언어(소문자 BCP-47 / {@code 'OFF'}=원문). {@link RoomSummaryView.language} 와 동일. */
|
|
334
334
|
language: string;
|
|
335
|
-
/** rollup 이 커버하는 가장 오래된
|
|
336
|
-
coverStartAt:
|
|
337
|
-
/** 마지막으로 요약된
|
|
338
|
-
watermarkAt:
|
|
335
|
+
/** rollup 이 커버하는 가장 오래된 지점(epoch millis). */
|
|
336
|
+
coverStartAt: number | null;
|
|
337
|
+
/** 마지막으로 요약된 지점(epoch millis). */
|
|
338
|
+
watermarkAt: number | null;
|
|
339
339
|
/** 전체 segment 수(페이지 총량 힌트). */
|
|
340
340
|
segmentCount: number;
|
|
341
341
|
/** 이 키(포맷×언어)가 최신 대화를 아직 반영 안 함(reducedSegmentCount < segmentCount) — refreshSummary 로 최신화 가능. */
|
|
342
342
|
stale: boolean;
|
|
343
|
-
/** 마지막 갱신
|
|
344
|
-
updatedAt:
|
|
343
|
+
/** 마지막 갱신 시각(epoch millis). */
|
|
344
|
+
updatedAt: number;
|
|
345
345
|
}
|
|
346
346
|
|
|
347
347
|
/** Rolling 누적 요약 구간 부분요약 — {@link RoomSummaryView.segments} 항목. 항상 {@code contentFormat==='neutral'}. */
|
|
@@ -352,9 +352,9 @@ export interface RoomSummarySegment {
|
|
|
352
352
|
content: string;
|
|
353
353
|
/** 항상 {@code 'neutral'}(format 미적용). */
|
|
354
354
|
contentFormat: string;
|
|
355
|
-
fromSentAt:
|
|
355
|
+
fromSentAt: number | null;
|
|
356
356
|
fromMessageId: string | null;
|
|
357
|
-
toSentAt:
|
|
357
|
+
toSentAt: number | null;
|
|
358
358
|
toMessageId: string | null;
|
|
359
359
|
/** 이 구간이 담은 메시지 수. */
|
|
360
360
|
messageCount: number;
|
|
@@ -407,8 +407,8 @@ export interface SummaryUpdateEvent {
|
|
|
407
407
|
* 그 외 null. 각 사용자는 자기 언어가 이 목록에 있으면 {@code getSummary({ format, lang })} 로 읽는다(§S1).
|
|
408
408
|
*/
|
|
409
409
|
languages: string[] | null;
|
|
410
|
-
/** 갱신
|
|
411
|
-
updatedAt:
|
|
410
|
+
/** 갱신 시각(epoch millis). {@code READY} 만 포함, 그 외 null. */
|
|
411
|
+
updatedAt: number | null;
|
|
412
412
|
}
|
|
413
413
|
|
|
414
414
|
/**
|
|
@@ -723,7 +723,8 @@ export interface ParticipantResponse {
|
|
|
723
723
|
* 과도기 동안 {@code ADMIN} 생성자가 보일 수 있으나 권한은 동일.</p>
|
|
724
724
|
*/
|
|
725
725
|
role: 'OWNER' | 'ADMIN' | 'MEMBER' | 'ASSISTANT';
|
|
726
|
-
|
|
726
|
+
/** 참가 시각(epoch millis). */
|
|
727
|
+
joinedAt: number;
|
|
727
728
|
}
|
|
728
729
|
|
|
729
730
|
/** 채팅방 last message preview. */
|
|
@@ -734,7 +735,8 @@ export interface LastMessageResponse {
|
|
|
734
735
|
senderProfileUrl?: string | null;
|
|
735
736
|
content: string;
|
|
736
737
|
messageType: string;
|
|
737
|
-
|
|
738
|
+
/** 마지막 메시지 시각(epoch millis). */
|
|
739
|
+
sentAt: number;
|
|
738
740
|
/**
|
|
739
741
|
* 파일 메시지일 때 첫 파일의 사용자 metadata (opaque pass-through).
|
|
740
742
|
* <p>고객사가 파일 업로드 시 함께 보낸 데이터 (스티커 ID 등) 가 채팅방 리스트에서도 식별 가능하도록 보존.
|
|
@@ -771,8 +773,10 @@ export interface ChatRoomResponse {
|
|
|
771
773
|
pinnedMessageId?: string | null;
|
|
772
774
|
participants?: ParticipantResponse[];
|
|
773
775
|
lastMessage?: LastMessageResponse | null;
|
|
774
|
-
|
|
775
|
-
|
|
776
|
+
/** 마지막 메시지 시각(epoch millis) — 방 목록 정렬용. */
|
|
777
|
+
lastMessageAt?: number | null;
|
|
778
|
+
/** 방 생성 시각(epoch millis). */
|
|
779
|
+
createdAt: number;
|
|
776
780
|
}
|
|
777
781
|
|
|
778
782
|
/** 커서 페이지네이션 응답. */
|
|
@@ -825,6 +829,10 @@ export interface RoomListUpdateEvent {
|
|
|
825
829
|
eventType: RoomListEventTypeValue;
|
|
826
830
|
roomId: string;
|
|
827
831
|
actorId?: string;
|
|
832
|
+
/** {@code MESSAGE_*} 이벤트의 방 마지막 메시지 시각(epoch millis). 그 외 이벤트에서는 undefined. */
|
|
833
|
+
lastMessageAt?: number | null;
|
|
834
|
+
/** 이벤트 발행 시각(epoch millis). */
|
|
835
|
+
timestamp?: number;
|
|
828
836
|
cutoffTime?: number;
|
|
829
837
|
/** {@code ROOM_UPDATED} 전용 — 저장된 최신 메타 snapshot. 다른 eventType 에서는 undefined. */
|
|
830
838
|
room?: RoomMeta;
|