@supernova-studio/client 1.52.2 → 1.52.3
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.mts +370 -370
- package/dist/index.d.ts +370 -370
- package/dist/index.js +229 -229
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +406 -406
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -264262,11 +264262,11 @@ declare const DTORemoveForgeProjectMember: z.ZodObject<Pick<{
|
|
|
264262
264262
|
}>;
|
|
264263
264263
|
type DTORemoveForgeProjectMember = z.infer<typeof DTORemoveForgeProjectMember>;
|
|
264264
264264
|
declare const DTOForgeProjectMemberListQuery: z.ZodObject<{
|
|
264265
|
-
includeImplicitMembers: z.ZodOptional<z.
|
|
264265
|
+
includeImplicitMembers: z.ZodOptional<z.ZodEffects<z.ZodOptional<z.ZodString>, boolean | undefined, string | undefined>>;
|
|
264266
264266
|
}, "strip", z.ZodTypeAny, {
|
|
264267
264267
|
includeImplicitMembers?: boolean | undefined;
|
|
264268
264268
|
}, {
|
|
264269
|
-
includeImplicitMembers?:
|
|
264269
|
+
includeImplicitMembers?: string | undefined;
|
|
264270
264270
|
}>;
|
|
264271
264271
|
type DTOForgeProjectMemberListQuery = z.infer<typeof DTOForgeProjectMemberListQuery>;
|
|
264272
264272
|
declare const DTOForgeProjectMembersListResponse: z.ZodObject<{
|
|
@@ -313447,6 +313447,374 @@ declare const DTOMCPStreamResponse: z$1.ZodObject<{
|
|
|
313447
313447
|
}>;
|
|
313448
313448
|
type DTOMCPStreamResponse = z$1.infer<typeof DTOMCPStreamResponse>;
|
|
313449
313449
|
|
|
313450
|
+
declare const DTONotificationCreateInput: z.ZodIntersection<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
313451
|
+
type: z.ZodLiteral<"ChatMention">;
|
|
313452
|
+
activityData: z.ZodObject<{
|
|
313453
|
+
messageAuthorId: z.ZodString;
|
|
313454
|
+
messageText: z.ZodString;
|
|
313455
|
+
messageId: z.ZodString;
|
|
313456
|
+
parentMessageId: z.ZodOptional<z.ZodString>;
|
|
313457
|
+
workspaceId: z.ZodString;
|
|
313458
|
+
projectId: z.ZodString;
|
|
313459
|
+
subjectType: z.ZodString;
|
|
313460
|
+
threadSubjectId: z.ZodString;
|
|
313461
|
+
subjectName: z.ZodString;
|
|
313462
|
+
}, "strip", z.ZodTypeAny, {
|
|
313463
|
+
workspaceId: string;
|
|
313464
|
+
projectId: string;
|
|
313465
|
+
messageId: string;
|
|
313466
|
+
subjectType: string;
|
|
313467
|
+
messageAuthorId: string;
|
|
313468
|
+
messageText: string;
|
|
313469
|
+
threadSubjectId: string;
|
|
313470
|
+
subjectName: string;
|
|
313471
|
+
parentMessageId?: string | undefined;
|
|
313472
|
+
}, {
|
|
313473
|
+
workspaceId: string;
|
|
313474
|
+
projectId: string;
|
|
313475
|
+
messageId: string;
|
|
313476
|
+
subjectType: string;
|
|
313477
|
+
messageAuthorId: string;
|
|
313478
|
+
messageText: string;
|
|
313479
|
+
threadSubjectId: string;
|
|
313480
|
+
subjectName: string;
|
|
313481
|
+
parentMessageId?: string | undefined;
|
|
313482
|
+
}>;
|
|
313483
|
+
}, "strip", z.ZodTypeAny, {
|
|
313484
|
+
type: "ChatMention";
|
|
313485
|
+
activityData: {
|
|
313486
|
+
workspaceId: string;
|
|
313487
|
+
projectId: string;
|
|
313488
|
+
messageId: string;
|
|
313489
|
+
subjectType: string;
|
|
313490
|
+
messageAuthorId: string;
|
|
313491
|
+
messageText: string;
|
|
313492
|
+
threadSubjectId: string;
|
|
313493
|
+
subjectName: string;
|
|
313494
|
+
parentMessageId?: string | undefined;
|
|
313495
|
+
};
|
|
313496
|
+
}, {
|
|
313497
|
+
type: "ChatMention";
|
|
313498
|
+
activityData: {
|
|
313499
|
+
workspaceId: string;
|
|
313500
|
+
projectId: string;
|
|
313501
|
+
messageId: string;
|
|
313502
|
+
subjectType: string;
|
|
313503
|
+
messageAuthorId: string;
|
|
313504
|
+
messageText: string;
|
|
313505
|
+
threadSubjectId: string;
|
|
313506
|
+
subjectName: string;
|
|
313507
|
+
parentMessageId?: string | undefined;
|
|
313508
|
+
};
|
|
313509
|
+
}>, z.ZodObject<{
|
|
313510
|
+
type: z.ZodLiteral<"ProjectInvitation">;
|
|
313511
|
+
activityData: z.ZodObject<{
|
|
313512
|
+
workspaceId: z.ZodString;
|
|
313513
|
+
projectId: z.ZodString;
|
|
313514
|
+
projectTitle: z.ZodString;
|
|
313515
|
+
invitedByUserId: z.ZodString;
|
|
313516
|
+
invitationRole: z.ZodString;
|
|
313517
|
+
}, "strip", z.ZodTypeAny, {
|
|
313518
|
+
workspaceId: string;
|
|
313519
|
+
projectId: string;
|
|
313520
|
+
projectTitle: string;
|
|
313521
|
+
invitedByUserId: string;
|
|
313522
|
+
invitationRole: string;
|
|
313523
|
+
}, {
|
|
313524
|
+
workspaceId: string;
|
|
313525
|
+
projectId: string;
|
|
313526
|
+
projectTitle: string;
|
|
313527
|
+
invitedByUserId: string;
|
|
313528
|
+
invitationRole: string;
|
|
313529
|
+
}>;
|
|
313530
|
+
}, "strip", z.ZodTypeAny, {
|
|
313531
|
+
type: "ProjectInvitation";
|
|
313532
|
+
activityData: {
|
|
313533
|
+
workspaceId: string;
|
|
313534
|
+
projectId: string;
|
|
313535
|
+
projectTitle: string;
|
|
313536
|
+
invitedByUserId: string;
|
|
313537
|
+
invitationRole: string;
|
|
313538
|
+
};
|
|
313539
|
+
}, {
|
|
313540
|
+
type: "ProjectInvitation";
|
|
313541
|
+
activityData: {
|
|
313542
|
+
workspaceId: string;
|
|
313543
|
+
projectId: string;
|
|
313544
|
+
projectTitle: string;
|
|
313545
|
+
invitedByUserId: string;
|
|
313546
|
+
invitationRole: string;
|
|
313547
|
+
};
|
|
313548
|
+
}>, z.ZodObject<{
|
|
313549
|
+
type: z.ZodLiteral<"ProjectDocumentComment">;
|
|
313550
|
+
activityData: z.ZodObject<{
|
|
313551
|
+
documentId: z.ZodString;
|
|
313552
|
+
entityTitle: z.ZodString;
|
|
313553
|
+
projectId: z.ZodString;
|
|
313554
|
+
workspaceId: z.ZodString;
|
|
313555
|
+
threadId: z.ZodString;
|
|
313556
|
+
commentId: z.ZodString;
|
|
313557
|
+
commentCreatedAt: z.ZodString;
|
|
313558
|
+
commentAuthorId: z.ZodString;
|
|
313559
|
+
commentBody: z.ZodString;
|
|
313560
|
+
}, "strip", z.ZodTypeAny, {
|
|
313561
|
+
workspaceId: string;
|
|
313562
|
+
projectId: string;
|
|
313563
|
+
threadId: string;
|
|
313564
|
+
documentId: string;
|
|
313565
|
+
entityTitle: string;
|
|
313566
|
+
commentId: string;
|
|
313567
|
+
commentCreatedAt: string;
|
|
313568
|
+
commentAuthorId: string;
|
|
313569
|
+
commentBody: string;
|
|
313570
|
+
}, {
|
|
313571
|
+
workspaceId: string;
|
|
313572
|
+
projectId: string;
|
|
313573
|
+
threadId: string;
|
|
313574
|
+
documentId: string;
|
|
313575
|
+
entityTitle: string;
|
|
313576
|
+
commentId: string;
|
|
313577
|
+
commentCreatedAt: string;
|
|
313578
|
+
commentAuthorId: string;
|
|
313579
|
+
commentBody: string;
|
|
313580
|
+
}>;
|
|
313581
|
+
}, "strip", z.ZodTypeAny, {
|
|
313582
|
+
type: "ProjectDocumentComment";
|
|
313583
|
+
activityData: {
|
|
313584
|
+
workspaceId: string;
|
|
313585
|
+
projectId: string;
|
|
313586
|
+
threadId: string;
|
|
313587
|
+
documentId: string;
|
|
313588
|
+
entityTitle: string;
|
|
313589
|
+
commentId: string;
|
|
313590
|
+
commentCreatedAt: string;
|
|
313591
|
+
commentAuthorId: string;
|
|
313592
|
+
commentBody: string;
|
|
313593
|
+
};
|
|
313594
|
+
}, {
|
|
313595
|
+
type: "ProjectDocumentComment";
|
|
313596
|
+
activityData: {
|
|
313597
|
+
workspaceId: string;
|
|
313598
|
+
projectId: string;
|
|
313599
|
+
threadId: string;
|
|
313600
|
+
documentId: string;
|
|
313601
|
+
entityTitle: string;
|
|
313602
|
+
commentId: string;
|
|
313603
|
+
commentCreatedAt: string;
|
|
313604
|
+
commentAuthorId: string;
|
|
313605
|
+
commentBody: string;
|
|
313606
|
+
};
|
|
313607
|
+
}>]>, z.ZodObject<{
|
|
313608
|
+
userId: z.ZodString;
|
|
313609
|
+
subjectId: z.ZodString;
|
|
313610
|
+
roomId: z.ZodOptional<z.ZodString>;
|
|
313611
|
+
workspaceId: z.ZodString;
|
|
313612
|
+
}, "strip", z.ZodTypeAny, {
|
|
313613
|
+
userId: string;
|
|
313614
|
+
workspaceId: string;
|
|
313615
|
+
subjectId: string;
|
|
313616
|
+
roomId?: string | undefined;
|
|
313617
|
+
}, {
|
|
313618
|
+
userId: string;
|
|
313619
|
+
workspaceId: string;
|
|
313620
|
+
subjectId: string;
|
|
313621
|
+
roomId?: string | undefined;
|
|
313622
|
+
}>>;
|
|
313623
|
+
type DTONotificationCreateInput = z.infer<typeof DTONotificationCreateInput>;
|
|
313624
|
+
declare const DTONotificationChatMentionPayload: z.ZodObject<{
|
|
313625
|
+
messageAuthorId: z.ZodString;
|
|
313626
|
+
messageText: z.ZodString;
|
|
313627
|
+
messageId: z.ZodString;
|
|
313628
|
+
parentMessageId: z.ZodOptional<z.ZodString>;
|
|
313629
|
+
workspaceId: z.ZodString;
|
|
313630
|
+
projectId: z.ZodString;
|
|
313631
|
+
subjectType: z.ZodString;
|
|
313632
|
+
threadSubjectId: z.ZodString;
|
|
313633
|
+
subjectName: z.ZodString;
|
|
313634
|
+
}, "strip", z.ZodTypeAny, {
|
|
313635
|
+
workspaceId: string;
|
|
313636
|
+
projectId: string;
|
|
313637
|
+
messageId: string;
|
|
313638
|
+
subjectType: string;
|
|
313639
|
+
messageAuthorId: string;
|
|
313640
|
+
messageText: string;
|
|
313641
|
+
threadSubjectId: string;
|
|
313642
|
+
subjectName: string;
|
|
313643
|
+
parentMessageId?: string | undefined;
|
|
313644
|
+
}, {
|
|
313645
|
+
workspaceId: string;
|
|
313646
|
+
projectId: string;
|
|
313647
|
+
messageId: string;
|
|
313648
|
+
subjectType: string;
|
|
313649
|
+
messageAuthorId: string;
|
|
313650
|
+
messageText: string;
|
|
313651
|
+
threadSubjectId: string;
|
|
313652
|
+
subjectName: string;
|
|
313653
|
+
parentMessageId?: string | undefined;
|
|
313654
|
+
}>;
|
|
313655
|
+
type DTONotificationChatMentionPayload = z.infer<typeof DTONotificationChatMentionPayload>;
|
|
313656
|
+
declare const DTONotificationProjectInvitationPayload: z.ZodObject<{
|
|
313657
|
+
workspaceId: z.ZodString;
|
|
313658
|
+
projectId: z.ZodString;
|
|
313659
|
+
projectTitle: z.ZodString;
|
|
313660
|
+
invitedByUserId: z.ZodString;
|
|
313661
|
+
invitationRole: z.ZodString;
|
|
313662
|
+
}, "strip", z.ZodTypeAny, {
|
|
313663
|
+
workspaceId: string;
|
|
313664
|
+
projectId: string;
|
|
313665
|
+
projectTitle: string;
|
|
313666
|
+
invitedByUserId: string;
|
|
313667
|
+
invitationRole: string;
|
|
313668
|
+
}, {
|
|
313669
|
+
workspaceId: string;
|
|
313670
|
+
projectId: string;
|
|
313671
|
+
projectTitle: string;
|
|
313672
|
+
invitedByUserId: string;
|
|
313673
|
+
invitationRole: string;
|
|
313674
|
+
}>;
|
|
313675
|
+
type DTONotificationProjectInvitationPayload = z.infer<typeof DTONotificationProjectInvitationPayload>;
|
|
313676
|
+
declare const DTONotificationProjectDocumentCommentPayload: z.ZodObject<{
|
|
313677
|
+
documentId: z.ZodString;
|
|
313678
|
+
entityTitle: z.ZodString;
|
|
313679
|
+
projectId: z.ZodString;
|
|
313680
|
+
workspaceId: z.ZodString;
|
|
313681
|
+
threadId: z.ZodString;
|
|
313682
|
+
commentId: z.ZodString;
|
|
313683
|
+
commentCreatedAt: z.ZodString;
|
|
313684
|
+
commentAuthorId: z.ZodString;
|
|
313685
|
+
commentBody: z.ZodString;
|
|
313686
|
+
}, "strip", z.ZodTypeAny, {
|
|
313687
|
+
workspaceId: string;
|
|
313688
|
+
projectId: string;
|
|
313689
|
+
threadId: string;
|
|
313690
|
+
documentId: string;
|
|
313691
|
+
entityTitle: string;
|
|
313692
|
+
commentId: string;
|
|
313693
|
+
commentCreatedAt: string;
|
|
313694
|
+
commentAuthorId: string;
|
|
313695
|
+
commentBody: string;
|
|
313696
|
+
}, {
|
|
313697
|
+
workspaceId: string;
|
|
313698
|
+
projectId: string;
|
|
313699
|
+
threadId: string;
|
|
313700
|
+
documentId: string;
|
|
313701
|
+
entityTitle: string;
|
|
313702
|
+
commentId: string;
|
|
313703
|
+
commentCreatedAt: string;
|
|
313704
|
+
commentAuthorId: string;
|
|
313705
|
+
commentBody: string;
|
|
313706
|
+
}>;
|
|
313707
|
+
type DTONotificationProjectDocumentCommentPayload = z.infer<typeof DTONotificationProjectDocumentCommentPayload>;
|
|
313708
|
+
declare const DTONotificationBase: z.ZodObject<{
|
|
313709
|
+
userId: z.ZodString;
|
|
313710
|
+
subjectId: z.ZodString;
|
|
313711
|
+
roomId: z.ZodOptional<z.ZodString>;
|
|
313712
|
+
workspaceId: z.ZodString;
|
|
313713
|
+
}, "strip", z.ZodTypeAny, {
|
|
313714
|
+
userId: string;
|
|
313715
|
+
workspaceId: string;
|
|
313716
|
+
subjectId: string;
|
|
313717
|
+
roomId?: string | undefined;
|
|
313718
|
+
}, {
|
|
313719
|
+
userId: string;
|
|
313720
|
+
workspaceId: string;
|
|
313721
|
+
subjectId: string;
|
|
313722
|
+
roomId?: string | undefined;
|
|
313723
|
+
}>;
|
|
313724
|
+
type DTONotificationBase = z.infer<typeof DTONotificationBase>;
|
|
313725
|
+
|
|
313726
|
+
declare const DTOUserNotificationSettings: z.ZodObject<{
|
|
313727
|
+
ChatMention: z.ZodObject<{
|
|
313728
|
+
enabled: z.ZodBoolean;
|
|
313729
|
+
email: z.ZodBoolean;
|
|
313730
|
+
}, "strip", z.ZodTypeAny, {
|
|
313731
|
+
email: boolean;
|
|
313732
|
+
enabled: boolean;
|
|
313733
|
+
}, {
|
|
313734
|
+
email: boolean;
|
|
313735
|
+
enabled: boolean;
|
|
313736
|
+
}>;
|
|
313737
|
+
ProjectDocumentComment: z.ZodObject<{
|
|
313738
|
+
enabled: z.ZodBoolean;
|
|
313739
|
+
email: z.ZodBoolean;
|
|
313740
|
+
}, "strip", z.ZodTypeAny, {
|
|
313741
|
+
email: boolean;
|
|
313742
|
+
enabled: boolean;
|
|
313743
|
+
}, {
|
|
313744
|
+
email: boolean;
|
|
313745
|
+
enabled: boolean;
|
|
313746
|
+
}>;
|
|
313747
|
+
ProjectInvitation: z.ZodObject<{
|
|
313748
|
+
enabled: z.ZodBoolean;
|
|
313749
|
+
email: z.ZodBoolean;
|
|
313750
|
+
}, "strip", z.ZodTypeAny, {
|
|
313751
|
+
email: boolean;
|
|
313752
|
+
enabled: boolean;
|
|
313753
|
+
}, {
|
|
313754
|
+
email: boolean;
|
|
313755
|
+
enabled: boolean;
|
|
313756
|
+
}>;
|
|
313757
|
+
DesignDocumentComment: z.ZodObject<Omit<{
|
|
313758
|
+
enabled: z.ZodBoolean;
|
|
313759
|
+
email: z.ZodBoolean;
|
|
313760
|
+
}, "enabled">, "strip", z.ZodTypeAny, {
|
|
313761
|
+
email: boolean;
|
|
313762
|
+
}, {
|
|
313763
|
+
email: boolean;
|
|
313764
|
+
}>;
|
|
313765
|
+
} & {
|
|
313766
|
+
liveblocksNotificationSettings: z.ZodObject<{
|
|
313767
|
+
sendCommentNotificationEmails: z.ZodBoolean;
|
|
313768
|
+
}, "strip", z.ZodTypeAny, {
|
|
313769
|
+
sendCommentNotificationEmails: boolean;
|
|
313770
|
+
}, {
|
|
313771
|
+
sendCommentNotificationEmails: boolean;
|
|
313772
|
+
}>;
|
|
313773
|
+
}, "strip", z.ZodTypeAny, {
|
|
313774
|
+
DesignDocumentComment: {
|
|
313775
|
+
email: boolean;
|
|
313776
|
+
};
|
|
313777
|
+
ChatMention: {
|
|
313778
|
+
email: boolean;
|
|
313779
|
+
enabled: boolean;
|
|
313780
|
+
};
|
|
313781
|
+
ProjectDocumentComment: {
|
|
313782
|
+
email: boolean;
|
|
313783
|
+
enabled: boolean;
|
|
313784
|
+
};
|
|
313785
|
+
ProjectInvitation: {
|
|
313786
|
+
email: boolean;
|
|
313787
|
+
enabled: boolean;
|
|
313788
|
+
};
|
|
313789
|
+
liveblocksNotificationSettings: {
|
|
313790
|
+
sendCommentNotificationEmails: boolean;
|
|
313791
|
+
};
|
|
313792
|
+
}, {
|
|
313793
|
+
DesignDocumentComment: {
|
|
313794
|
+
email: boolean;
|
|
313795
|
+
};
|
|
313796
|
+
ChatMention: {
|
|
313797
|
+
email: boolean;
|
|
313798
|
+
enabled: boolean;
|
|
313799
|
+
};
|
|
313800
|
+
ProjectDocumentComment: {
|
|
313801
|
+
email: boolean;
|
|
313802
|
+
enabled: boolean;
|
|
313803
|
+
};
|
|
313804
|
+
ProjectInvitation: {
|
|
313805
|
+
email: boolean;
|
|
313806
|
+
enabled: boolean;
|
|
313807
|
+
};
|
|
313808
|
+
liveblocksNotificationSettings: {
|
|
313809
|
+
sendCommentNotificationEmails: boolean;
|
|
313810
|
+
};
|
|
313811
|
+
}>;
|
|
313812
|
+
type DTOUserNotificationSettings = z.infer<typeof DTOUserNotificationSettings>;
|
|
313813
|
+
declare const DTONotificationType: z.ZodEnum<["DesignDocumentComment", "ChatMention", "ProjectDocumentComment", "ProjectInvitation"]>;
|
|
313814
|
+
type DTONotificationType = z.infer<typeof DTONotificationType>;
|
|
313815
|
+
declare const DTONotificationChannel: z.ZodEnum<["Email", "InApp"]>;
|
|
313816
|
+
type DTONotificationChannel = z.infer<typeof DTONotificationChannel>;
|
|
313817
|
+
|
|
313450
313818
|
declare const DTOPortalSettingsTheme: z.ZodObject<{
|
|
313451
313819
|
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
313452
313820
|
accentColor: z.ZodOptional<z.ZodString>;
|
|
@@ -348499,374 +348867,6 @@ declare const DTOWorkspaceResponse: z.ZodObject<{
|
|
|
348499
348867
|
}>;
|
|
348500
348868
|
type DTOWorkspaceResponse = z.infer<typeof DTOWorkspaceResponse>;
|
|
348501
348869
|
|
|
348502
|
-
declare const DTOUserNotificationSettings: z.ZodObject<{
|
|
348503
|
-
ChatMention: z.ZodObject<{
|
|
348504
|
-
enabled: z.ZodBoolean;
|
|
348505
|
-
email: z.ZodBoolean;
|
|
348506
|
-
}, "strip", z.ZodTypeAny, {
|
|
348507
|
-
email: boolean;
|
|
348508
|
-
enabled: boolean;
|
|
348509
|
-
}, {
|
|
348510
|
-
email: boolean;
|
|
348511
|
-
enabled: boolean;
|
|
348512
|
-
}>;
|
|
348513
|
-
ProjectDocumentComment: z.ZodObject<{
|
|
348514
|
-
enabled: z.ZodBoolean;
|
|
348515
|
-
email: z.ZodBoolean;
|
|
348516
|
-
}, "strip", z.ZodTypeAny, {
|
|
348517
|
-
email: boolean;
|
|
348518
|
-
enabled: boolean;
|
|
348519
|
-
}, {
|
|
348520
|
-
email: boolean;
|
|
348521
|
-
enabled: boolean;
|
|
348522
|
-
}>;
|
|
348523
|
-
ProjectInvitation: z.ZodObject<{
|
|
348524
|
-
enabled: z.ZodBoolean;
|
|
348525
|
-
email: z.ZodBoolean;
|
|
348526
|
-
}, "strip", z.ZodTypeAny, {
|
|
348527
|
-
email: boolean;
|
|
348528
|
-
enabled: boolean;
|
|
348529
|
-
}, {
|
|
348530
|
-
email: boolean;
|
|
348531
|
-
enabled: boolean;
|
|
348532
|
-
}>;
|
|
348533
|
-
DesignDocumentComment: z.ZodObject<Omit<{
|
|
348534
|
-
enabled: z.ZodBoolean;
|
|
348535
|
-
email: z.ZodBoolean;
|
|
348536
|
-
}, "enabled">, "strip", z.ZodTypeAny, {
|
|
348537
|
-
email: boolean;
|
|
348538
|
-
}, {
|
|
348539
|
-
email: boolean;
|
|
348540
|
-
}>;
|
|
348541
|
-
} & {
|
|
348542
|
-
liveblocksNotificationSettings: z.ZodObject<{
|
|
348543
|
-
sendCommentNotificationEmails: z.ZodBoolean;
|
|
348544
|
-
}, "strip", z.ZodTypeAny, {
|
|
348545
|
-
sendCommentNotificationEmails: boolean;
|
|
348546
|
-
}, {
|
|
348547
|
-
sendCommentNotificationEmails: boolean;
|
|
348548
|
-
}>;
|
|
348549
|
-
}, "strip", z.ZodTypeAny, {
|
|
348550
|
-
DesignDocumentComment: {
|
|
348551
|
-
email: boolean;
|
|
348552
|
-
};
|
|
348553
|
-
ChatMention: {
|
|
348554
|
-
email: boolean;
|
|
348555
|
-
enabled: boolean;
|
|
348556
|
-
};
|
|
348557
|
-
ProjectDocumentComment: {
|
|
348558
|
-
email: boolean;
|
|
348559
|
-
enabled: boolean;
|
|
348560
|
-
};
|
|
348561
|
-
ProjectInvitation: {
|
|
348562
|
-
email: boolean;
|
|
348563
|
-
enabled: boolean;
|
|
348564
|
-
};
|
|
348565
|
-
liveblocksNotificationSettings: {
|
|
348566
|
-
sendCommentNotificationEmails: boolean;
|
|
348567
|
-
};
|
|
348568
|
-
}, {
|
|
348569
|
-
DesignDocumentComment: {
|
|
348570
|
-
email: boolean;
|
|
348571
|
-
};
|
|
348572
|
-
ChatMention: {
|
|
348573
|
-
email: boolean;
|
|
348574
|
-
enabled: boolean;
|
|
348575
|
-
};
|
|
348576
|
-
ProjectDocumentComment: {
|
|
348577
|
-
email: boolean;
|
|
348578
|
-
enabled: boolean;
|
|
348579
|
-
};
|
|
348580
|
-
ProjectInvitation: {
|
|
348581
|
-
email: boolean;
|
|
348582
|
-
enabled: boolean;
|
|
348583
|
-
};
|
|
348584
|
-
liveblocksNotificationSettings: {
|
|
348585
|
-
sendCommentNotificationEmails: boolean;
|
|
348586
|
-
};
|
|
348587
|
-
}>;
|
|
348588
|
-
type DTOUserNotificationSettings = z.infer<typeof DTOUserNotificationSettings>;
|
|
348589
|
-
declare const DTONotificationType: z.ZodEnum<["DesignDocumentComment", "ChatMention", "ProjectDocumentComment", "ProjectInvitation"]>;
|
|
348590
|
-
type DTONotificationType = z.infer<typeof DTONotificationType>;
|
|
348591
|
-
declare const DTONotificationChannel: z.ZodEnum<["Email", "InApp"]>;
|
|
348592
|
-
type DTONotificationChannel = z.infer<typeof DTONotificationChannel>;
|
|
348593
|
-
|
|
348594
|
-
declare const DTONotificationCreateInput: z.ZodIntersection<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
348595
|
-
type: z.ZodLiteral<"ChatMention">;
|
|
348596
|
-
activityData: z.ZodObject<{
|
|
348597
|
-
messageAuthorId: z.ZodString;
|
|
348598
|
-
messageText: z.ZodString;
|
|
348599
|
-
messageId: z.ZodString;
|
|
348600
|
-
parentMessageId: z.ZodOptional<z.ZodString>;
|
|
348601
|
-
workspaceId: z.ZodString;
|
|
348602
|
-
projectId: z.ZodString;
|
|
348603
|
-
subjectType: z.ZodString;
|
|
348604
|
-
threadSubjectId: z.ZodString;
|
|
348605
|
-
subjectName: z.ZodString;
|
|
348606
|
-
}, "strip", z.ZodTypeAny, {
|
|
348607
|
-
workspaceId: string;
|
|
348608
|
-
projectId: string;
|
|
348609
|
-
messageId: string;
|
|
348610
|
-
subjectType: string;
|
|
348611
|
-
messageAuthorId: string;
|
|
348612
|
-
messageText: string;
|
|
348613
|
-
threadSubjectId: string;
|
|
348614
|
-
subjectName: string;
|
|
348615
|
-
parentMessageId?: string | undefined;
|
|
348616
|
-
}, {
|
|
348617
|
-
workspaceId: string;
|
|
348618
|
-
projectId: string;
|
|
348619
|
-
messageId: string;
|
|
348620
|
-
subjectType: string;
|
|
348621
|
-
messageAuthorId: string;
|
|
348622
|
-
messageText: string;
|
|
348623
|
-
threadSubjectId: string;
|
|
348624
|
-
subjectName: string;
|
|
348625
|
-
parentMessageId?: string | undefined;
|
|
348626
|
-
}>;
|
|
348627
|
-
}, "strip", z.ZodTypeAny, {
|
|
348628
|
-
type: "ChatMention";
|
|
348629
|
-
activityData: {
|
|
348630
|
-
workspaceId: string;
|
|
348631
|
-
projectId: string;
|
|
348632
|
-
messageId: string;
|
|
348633
|
-
subjectType: string;
|
|
348634
|
-
messageAuthorId: string;
|
|
348635
|
-
messageText: string;
|
|
348636
|
-
threadSubjectId: string;
|
|
348637
|
-
subjectName: string;
|
|
348638
|
-
parentMessageId?: string | undefined;
|
|
348639
|
-
};
|
|
348640
|
-
}, {
|
|
348641
|
-
type: "ChatMention";
|
|
348642
|
-
activityData: {
|
|
348643
|
-
workspaceId: string;
|
|
348644
|
-
projectId: string;
|
|
348645
|
-
messageId: string;
|
|
348646
|
-
subjectType: string;
|
|
348647
|
-
messageAuthorId: string;
|
|
348648
|
-
messageText: string;
|
|
348649
|
-
threadSubjectId: string;
|
|
348650
|
-
subjectName: string;
|
|
348651
|
-
parentMessageId?: string | undefined;
|
|
348652
|
-
};
|
|
348653
|
-
}>, z.ZodObject<{
|
|
348654
|
-
type: z.ZodLiteral<"ProjectInvitation">;
|
|
348655
|
-
activityData: z.ZodObject<{
|
|
348656
|
-
workspaceId: z.ZodString;
|
|
348657
|
-
projectId: z.ZodString;
|
|
348658
|
-
projectTitle: z.ZodString;
|
|
348659
|
-
invitedByUserId: z.ZodString;
|
|
348660
|
-
invitationRole: z.ZodString;
|
|
348661
|
-
}, "strip", z.ZodTypeAny, {
|
|
348662
|
-
workspaceId: string;
|
|
348663
|
-
projectId: string;
|
|
348664
|
-
projectTitle: string;
|
|
348665
|
-
invitedByUserId: string;
|
|
348666
|
-
invitationRole: string;
|
|
348667
|
-
}, {
|
|
348668
|
-
workspaceId: string;
|
|
348669
|
-
projectId: string;
|
|
348670
|
-
projectTitle: string;
|
|
348671
|
-
invitedByUserId: string;
|
|
348672
|
-
invitationRole: string;
|
|
348673
|
-
}>;
|
|
348674
|
-
}, "strip", z.ZodTypeAny, {
|
|
348675
|
-
type: "ProjectInvitation";
|
|
348676
|
-
activityData: {
|
|
348677
|
-
workspaceId: string;
|
|
348678
|
-
projectId: string;
|
|
348679
|
-
projectTitle: string;
|
|
348680
|
-
invitedByUserId: string;
|
|
348681
|
-
invitationRole: string;
|
|
348682
|
-
};
|
|
348683
|
-
}, {
|
|
348684
|
-
type: "ProjectInvitation";
|
|
348685
|
-
activityData: {
|
|
348686
|
-
workspaceId: string;
|
|
348687
|
-
projectId: string;
|
|
348688
|
-
projectTitle: string;
|
|
348689
|
-
invitedByUserId: string;
|
|
348690
|
-
invitationRole: string;
|
|
348691
|
-
};
|
|
348692
|
-
}>, z.ZodObject<{
|
|
348693
|
-
type: z.ZodLiteral<"ProjectDocumentComment">;
|
|
348694
|
-
activityData: z.ZodObject<{
|
|
348695
|
-
documentId: z.ZodString;
|
|
348696
|
-
entityTitle: z.ZodString;
|
|
348697
|
-
projectId: z.ZodString;
|
|
348698
|
-
workspaceId: z.ZodString;
|
|
348699
|
-
threadId: z.ZodString;
|
|
348700
|
-
commentId: z.ZodString;
|
|
348701
|
-
commentCreatedAt: z.ZodString;
|
|
348702
|
-
commentAuthorId: z.ZodString;
|
|
348703
|
-
commentBody: z.ZodString;
|
|
348704
|
-
}, "strip", z.ZodTypeAny, {
|
|
348705
|
-
workspaceId: string;
|
|
348706
|
-
projectId: string;
|
|
348707
|
-
threadId: string;
|
|
348708
|
-
documentId: string;
|
|
348709
|
-
entityTitle: string;
|
|
348710
|
-
commentId: string;
|
|
348711
|
-
commentCreatedAt: string;
|
|
348712
|
-
commentAuthorId: string;
|
|
348713
|
-
commentBody: string;
|
|
348714
|
-
}, {
|
|
348715
|
-
workspaceId: string;
|
|
348716
|
-
projectId: string;
|
|
348717
|
-
threadId: string;
|
|
348718
|
-
documentId: string;
|
|
348719
|
-
entityTitle: string;
|
|
348720
|
-
commentId: string;
|
|
348721
|
-
commentCreatedAt: string;
|
|
348722
|
-
commentAuthorId: string;
|
|
348723
|
-
commentBody: string;
|
|
348724
|
-
}>;
|
|
348725
|
-
}, "strip", z.ZodTypeAny, {
|
|
348726
|
-
type: "ProjectDocumentComment";
|
|
348727
|
-
activityData: {
|
|
348728
|
-
workspaceId: string;
|
|
348729
|
-
projectId: string;
|
|
348730
|
-
threadId: string;
|
|
348731
|
-
documentId: string;
|
|
348732
|
-
entityTitle: string;
|
|
348733
|
-
commentId: string;
|
|
348734
|
-
commentCreatedAt: string;
|
|
348735
|
-
commentAuthorId: string;
|
|
348736
|
-
commentBody: string;
|
|
348737
|
-
};
|
|
348738
|
-
}, {
|
|
348739
|
-
type: "ProjectDocumentComment";
|
|
348740
|
-
activityData: {
|
|
348741
|
-
workspaceId: string;
|
|
348742
|
-
projectId: string;
|
|
348743
|
-
threadId: string;
|
|
348744
|
-
documentId: string;
|
|
348745
|
-
entityTitle: string;
|
|
348746
|
-
commentId: string;
|
|
348747
|
-
commentCreatedAt: string;
|
|
348748
|
-
commentAuthorId: string;
|
|
348749
|
-
commentBody: string;
|
|
348750
|
-
};
|
|
348751
|
-
}>]>, z.ZodObject<{
|
|
348752
|
-
userId: z.ZodString;
|
|
348753
|
-
subjectId: z.ZodString;
|
|
348754
|
-
roomId: z.ZodOptional<z.ZodString>;
|
|
348755
|
-
workspaceId: z.ZodString;
|
|
348756
|
-
}, "strip", z.ZodTypeAny, {
|
|
348757
|
-
userId: string;
|
|
348758
|
-
workspaceId: string;
|
|
348759
|
-
subjectId: string;
|
|
348760
|
-
roomId?: string | undefined;
|
|
348761
|
-
}, {
|
|
348762
|
-
userId: string;
|
|
348763
|
-
workspaceId: string;
|
|
348764
|
-
subjectId: string;
|
|
348765
|
-
roomId?: string | undefined;
|
|
348766
|
-
}>>;
|
|
348767
|
-
type DTONotificationCreateInput = z.infer<typeof DTONotificationCreateInput>;
|
|
348768
|
-
declare const DTONotificationChatMentionPayload: z.ZodObject<{
|
|
348769
|
-
messageAuthorId: z.ZodString;
|
|
348770
|
-
messageText: z.ZodString;
|
|
348771
|
-
messageId: z.ZodString;
|
|
348772
|
-
parentMessageId: z.ZodOptional<z.ZodString>;
|
|
348773
|
-
workspaceId: z.ZodString;
|
|
348774
|
-
projectId: z.ZodString;
|
|
348775
|
-
subjectType: z.ZodString;
|
|
348776
|
-
threadSubjectId: z.ZodString;
|
|
348777
|
-
subjectName: z.ZodString;
|
|
348778
|
-
}, "strip", z.ZodTypeAny, {
|
|
348779
|
-
workspaceId: string;
|
|
348780
|
-
projectId: string;
|
|
348781
|
-
messageId: string;
|
|
348782
|
-
subjectType: string;
|
|
348783
|
-
messageAuthorId: string;
|
|
348784
|
-
messageText: string;
|
|
348785
|
-
threadSubjectId: string;
|
|
348786
|
-
subjectName: string;
|
|
348787
|
-
parentMessageId?: string | undefined;
|
|
348788
|
-
}, {
|
|
348789
|
-
workspaceId: string;
|
|
348790
|
-
projectId: string;
|
|
348791
|
-
messageId: string;
|
|
348792
|
-
subjectType: string;
|
|
348793
|
-
messageAuthorId: string;
|
|
348794
|
-
messageText: string;
|
|
348795
|
-
threadSubjectId: string;
|
|
348796
|
-
subjectName: string;
|
|
348797
|
-
parentMessageId?: string | undefined;
|
|
348798
|
-
}>;
|
|
348799
|
-
type DTONotificationChatMentionPayload = z.infer<typeof DTONotificationChatMentionPayload>;
|
|
348800
|
-
declare const DTONotificationProjectInvitationPayload: z.ZodObject<{
|
|
348801
|
-
workspaceId: z.ZodString;
|
|
348802
|
-
projectId: z.ZodString;
|
|
348803
|
-
projectTitle: z.ZodString;
|
|
348804
|
-
invitedByUserId: z.ZodString;
|
|
348805
|
-
invitationRole: z.ZodString;
|
|
348806
|
-
}, "strip", z.ZodTypeAny, {
|
|
348807
|
-
workspaceId: string;
|
|
348808
|
-
projectId: string;
|
|
348809
|
-
projectTitle: string;
|
|
348810
|
-
invitedByUserId: string;
|
|
348811
|
-
invitationRole: string;
|
|
348812
|
-
}, {
|
|
348813
|
-
workspaceId: string;
|
|
348814
|
-
projectId: string;
|
|
348815
|
-
projectTitle: string;
|
|
348816
|
-
invitedByUserId: string;
|
|
348817
|
-
invitationRole: string;
|
|
348818
|
-
}>;
|
|
348819
|
-
type DTONotificationProjectInvitationPayload = z.infer<typeof DTONotificationProjectInvitationPayload>;
|
|
348820
|
-
declare const DTONotificationProjectDocumentCommentPayload: z.ZodObject<{
|
|
348821
|
-
documentId: z.ZodString;
|
|
348822
|
-
entityTitle: z.ZodString;
|
|
348823
|
-
projectId: z.ZodString;
|
|
348824
|
-
workspaceId: z.ZodString;
|
|
348825
|
-
threadId: z.ZodString;
|
|
348826
|
-
commentId: z.ZodString;
|
|
348827
|
-
commentCreatedAt: z.ZodString;
|
|
348828
|
-
commentAuthorId: z.ZodString;
|
|
348829
|
-
commentBody: z.ZodString;
|
|
348830
|
-
}, "strip", z.ZodTypeAny, {
|
|
348831
|
-
workspaceId: string;
|
|
348832
|
-
projectId: string;
|
|
348833
|
-
threadId: string;
|
|
348834
|
-
documentId: string;
|
|
348835
|
-
entityTitle: string;
|
|
348836
|
-
commentId: string;
|
|
348837
|
-
commentCreatedAt: string;
|
|
348838
|
-
commentAuthorId: string;
|
|
348839
|
-
commentBody: string;
|
|
348840
|
-
}, {
|
|
348841
|
-
workspaceId: string;
|
|
348842
|
-
projectId: string;
|
|
348843
|
-
threadId: string;
|
|
348844
|
-
documentId: string;
|
|
348845
|
-
entityTitle: string;
|
|
348846
|
-
commentId: string;
|
|
348847
|
-
commentCreatedAt: string;
|
|
348848
|
-
commentAuthorId: string;
|
|
348849
|
-
commentBody: string;
|
|
348850
|
-
}>;
|
|
348851
|
-
type DTONotificationProjectDocumentCommentPayload = z.infer<typeof DTONotificationProjectDocumentCommentPayload>;
|
|
348852
|
-
declare const DTONotificationBase: z.ZodObject<{
|
|
348853
|
-
userId: z.ZodString;
|
|
348854
|
-
subjectId: z.ZodString;
|
|
348855
|
-
roomId: z.ZodOptional<z.ZodString>;
|
|
348856
|
-
workspaceId: z.ZodString;
|
|
348857
|
-
}, "strip", z.ZodTypeAny, {
|
|
348858
|
-
userId: string;
|
|
348859
|
-
workspaceId: string;
|
|
348860
|
-
subjectId: string;
|
|
348861
|
-
roomId?: string | undefined;
|
|
348862
|
-
}, {
|
|
348863
|
-
userId: string;
|
|
348864
|
-
workspaceId: string;
|
|
348865
|
-
subjectId: string;
|
|
348866
|
-
roomId?: string | undefined;
|
|
348867
|
-
}>;
|
|
348868
|
-
type DTONotificationBase = z.infer<typeof DTONotificationBase>;
|
|
348869
|
-
|
|
348870
348870
|
type PageAnalyticsInput = {
|
|
348871
348871
|
pagePersistentId: string;
|
|
348872
348872
|
priorDataPoints: PublishedDocPageVisitsEntry[];
|