@crossworks/client-types 0.232.304 → 0.232.305
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/src/dto/rows.ts +0 -94
package/package.json
CHANGED
package/src/dto/rows.ts
CHANGED
|
@@ -531,9 +531,6 @@ export type TeamMemberActivity = {
|
|
|
531
531
|
/** The first portal message (it was when the contact's team code was
|
|
532
532
|
* made, before 0178). */
|
|
533
533
|
memberSince: string;
|
|
534
|
-
/** @deprecated Always null: team codes are retired (0178). Kept one
|
|
535
|
-
* contract cycle for client builds that still read it. */
|
|
536
|
-
tokenLastUsedAt: string | null;
|
|
537
534
|
lastMessageAt: string | null;
|
|
538
535
|
lastMessageText: string | null;
|
|
539
536
|
lastMessageDirection: 'inbound' | 'outbound' | null;
|
|
@@ -558,87 +555,6 @@ export type TeamRequest = {
|
|
|
558
555
|
notifiedAt: string | null;
|
|
559
556
|
};
|
|
560
557
|
|
|
561
|
-
export type ForumTopicListItem = {
|
|
562
|
-
id: string;
|
|
563
|
-
title: string;
|
|
564
|
-
kind: ForumTopicKind;
|
|
565
|
-
visibility: ForumTopicVisibility;
|
|
566
|
-
pinned: boolean;
|
|
567
|
-
status: ForumTopicStatus;
|
|
568
|
-
authorName: string;
|
|
569
|
-
createdByContactId: string | null;
|
|
570
|
-
postCount: number;
|
|
571
|
-
lastPostAt: string;
|
|
572
|
-
createdAt: string;
|
|
573
|
-
lastPostAuthor: string | null;
|
|
574
|
-
lastPostPreview: string | null;
|
|
575
|
-
/** Posts by OTHERS since this viewer last read the topic (all of them when
|
|
576
|
-
* never read). Drives the unread dot. */
|
|
577
|
-
unread: number;
|
|
578
|
-
};
|
|
579
|
-
|
|
580
|
-
export type ForumMemberActivity = {
|
|
581
|
-
contactId: string;
|
|
582
|
-
postCount: number;
|
|
583
|
-
topicsStarted: number;
|
|
584
|
-
lastPostAt: string | null;
|
|
585
|
-
lastPostBody: string | null;
|
|
586
|
-
lastPostTopicTitle: string | null;
|
|
587
|
-
/** This member's posts newer than the OWNER's read cursor on the containing
|
|
588
|
-
* topic. Deliberately only cleared by opening the TOPIC — reading someone's
|
|
589
|
-
* activity feed is not reading the thread the whole room saw. */
|
|
590
|
-
unread: number;
|
|
591
|
-
};
|
|
592
|
-
|
|
593
|
-
export type ForumMemberPost = {
|
|
594
|
-
id: string;
|
|
595
|
-
body: string;
|
|
596
|
-
createdAt: string;
|
|
597
|
-
/** Set when this post filed a review/feature/bug request. */
|
|
598
|
-
kind: ForumPostRequestKind | null;
|
|
599
|
-
attachments: ConversationAttachment[];
|
|
600
|
-
topicId: string;
|
|
601
|
-
topicTitle: string;
|
|
602
|
-
topicVisibility: ForumTopicVisibility;
|
|
603
|
-
topicStatus: ForumTopicStatus;
|
|
604
|
-
/** The agent's answer to THIS post, or null when the turn was waved off
|
|
605
|
-
* ("no answer needed") or is still owed. */
|
|
606
|
-
reply: {
|
|
607
|
-
id: string;
|
|
608
|
-
body: string;
|
|
609
|
-
authorName: string;
|
|
610
|
-
traceId: string | null;
|
|
611
|
-
status: 'pending' | 'complete' | 'failed';
|
|
612
|
-
error: string | null;
|
|
613
|
-
createdAt: string;
|
|
614
|
-
} | null;
|
|
615
|
-
};
|
|
616
|
-
|
|
617
|
-
export type ForumAuthoredTopic = {
|
|
618
|
-
id: string;
|
|
619
|
-
title: string;
|
|
620
|
-
kind: ForumTopicKind;
|
|
621
|
-
visibility: ForumTopicVisibility;
|
|
622
|
-
status: ForumTopicStatus;
|
|
623
|
-
pinned: boolean;
|
|
624
|
-
postCount: number;
|
|
625
|
-
lastPostAt: string | null;
|
|
626
|
-
createdAt: string;
|
|
627
|
-
};
|
|
628
|
-
|
|
629
|
-
export type PendingForumUpload = {
|
|
630
|
-
id: string;
|
|
631
|
-
topicId: string | null;
|
|
632
|
-
postId: string | null;
|
|
633
|
-
topicTitle: string | null;
|
|
634
|
-
contactId: string | null;
|
|
635
|
-
contactName: string | null;
|
|
636
|
-
filename: string;
|
|
637
|
-
mime: string;
|
|
638
|
-
sizeBytes: number;
|
|
639
|
-
createdAt: string;
|
|
640
|
-
};
|
|
641
|
-
|
|
642
558
|
export type AccountFoldersResult =
|
|
643
559
|
| {
|
|
644
560
|
ok: true;
|
|
@@ -901,16 +817,6 @@ export type TeamVisibleShare = {
|
|
|
901
817
|
export type TaskStatus = 'open' | 'in_progress' | 'blocked' | 'done';
|
|
902
818
|
export type TaskPriority = 'low' | 'normal' | 'high';
|
|
903
819
|
|
|
904
|
-
/** The retired team forum's vocabulary, frozen: its tables were dropped
|
|
905
|
-
* (migration 0177), so nothing on the brain mirrors these now. The Forum*
|
|
906
|
-
* DTOs above stay only while older clients still name them (the forum parts
|
|
907
|
-
* of the team-admin answers are empty); remove them with the client. */
|
|
908
|
-
export type ForumTopicKind = 'question' | 'review' | 'feature' | 'bug' | 'discussion';
|
|
909
|
-
export type ForumTopicVisibility = 'team' | 'private';
|
|
910
|
-
export type ForumTopicStatus = 'open' | 'answered' | 'closed';
|
|
911
|
-
/** The topic kinds that filed an owner review task. */
|
|
912
|
-
export type ForumPostRequestKind = 'review' | 'feature' | 'bug';
|
|
913
|
-
|
|
914
820
|
/** Mirrors @mantle/db `ConversationAttachment` (jsonb on conversation rows). */
|
|
915
821
|
export type ConversationAttachment = {
|
|
916
822
|
kind: 'image' | 'audio' | 'voice' | 'document' | 'video';
|