@notidotbot/noti-api-client 1.9.73 → 1.9.74

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.
Files changed (33) hide show
  1. package/dist/index.d.ts +2 -0
  2. package/dist/index.js +8 -1
  3. package/dist/other/bitfields.d.ts +7 -4
  4. package/dist/other/bitfields.js +3 -0
  5. package/dist/other/features.d.ts +1 -1
  6. package/dist/other/features.js +1 -0
  7. package/dist/other/multiDestination.d.ts +89 -0
  8. package/dist/other/multiDestination.js +109 -0
  9. package/dist/other/zod/clubStreamer.zod.d.ts +7 -0
  10. package/dist/other/zod/clubStreamer.zod.js +3 -0
  11. package/dist/other/zod/kickStreamer.zod.d.ts +17 -0
  12. package/dist/other/zod/kickStreamer.zod.js +4 -0
  13. package/dist/other/zod/rumbleStreamer.zod.d.ts +18 -0
  14. package/dist/other/zod/rumbleStreamer.zod.js +4 -0
  15. package/dist/other/zod/tiktokStreamer.zod.d.ts +18 -0
  16. package/dist/other/zod/tiktokStreamer.zod.js +4 -0
  17. package/dist/other/zod/twitchStreamer.zod.d.ts +17 -0
  18. package/dist/other/zod/twitchStreamer.zod.js +4 -0
  19. package/dist/other/zod/twitterStreamer.zod.d.ts +18 -0
  20. package/dist/other/zod/twitterStreamer.zod.js +4 -0
  21. package/dist/other/zod/youtubeStreamer.zod.d.ts +19 -0
  22. package/dist/other/zod/youtubeStreamer.zod.js +4 -0
  23. package/dist/other/zod/zod.d.ts +15 -0
  24. package/dist/other/zod/zod.js +12 -0
  25. package/dist/tsconfig.tsbuildinfo +1 -1
  26. package/package.json +1 -1
  27. package/prisma/schema/models/clubStreamer.prisma +4 -0
  28. package/prisma/schema/models/kickStreamer.prisma +6 -0
  29. package/prisma/schema/models/rumbleStreamer.prisma +7 -0
  30. package/prisma/schema/models/tiktokStreamer.prisma +6 -0
  31. package/prisma/schema/models/twitchStreamer.prisma +7 -0
  32. package/prisma/schema/models/twitterStreamer.prisma +7 -0
  33. package/prisma/schema/models/youtubeStreamer.prisma +6 -0
@@ -11,6 +11,10 @@ model TiktokStreamer {
11
11
 
12
12
  customMessages TTSCustomMessage[] // Premium
13
13
 
14
+ // Premium Plus (MultiDestination). Up to 2 extra channels: [{ channelId, pingRoleId, types }]. [] = none.
15
+ // The creator's own channel + pingRoleId is destination 1 and is not stored here.
16
+ extraDestinations Json?
17
+
14
18
  liveNotificationChannelId String?
15
19
  videoNotificationChannelId String?
16
20
  showNotifyButton Boolean?
@@ -119,6 +123,8 @@ model TTSCurrentlyLive {
119
123
  correct Boolean?
120
124
  channelId String?
121
125
  messageId String?
126
+ // Copies of the live post in extra destinations, [{ channelId, messageId }], for the offline to edit or delete.
127
+ extraPosts Json?
122
128
 
123
129
  tiktokStreamerId String @unique
124
130
  tiktokStreamer TiktokStreamer? @relation(fields: [tiktokStreamerId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
@@ -11,9 +11,14 @@ model TwitchStreamer {
11
11
  sendOfflineMessage Boolean?
12
12
  usePerStreamerEmbeds Boolean? // Premium
13
13
  autoPublishIfAnnouncmentChannel Boolean? // Premium
14
+ updateLivePost Boolean? // Premium Plus (LivePostUpdates). null = on, false = off. Edit the live post on a title/category change.
14
15
 
15
16
  customMessages TSCustomMessage[] // Premium
16
17
 
18
+ // Premium Plus (MultiDestination). Up to 2 extra channels: [{ channelId, pingRoleId, types }]. [] = none.
19
+ // The creator's own channel + pingRoleId is destination 1 and is not stored here.
20
+ extraDestinations Json?
21
+
17
22
  notificationChannelId String?
18
23
  showNotifyButton Boolean?
19
24
 
@@ -119,6 +124,8 @@ model TSCurrentlyLive {
119
124
  correct Boolean?
120
125
  channelId String?
121
126
  messageId String?
127
+ // Copies of the live post in extra destinations, [{ channelId, messageId }], for the offline to edit or delete.
128
+ extraPosts Json?
122
129
 
123
130
  twitchStreamerId String @unique
124
131
  twitchStreamer TwitchStreamer? @relation(fields: [twitchStreamerId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
@@ -23,9 +23,14 @@ model TwitterStreamer {
23
23
 
24
24
  usePerStreamerEmbeds Boolean?
25
25
  autoPublishIfAnnouncmentChannel Boolean?
26
+ updateLivePost Boolean? // Premium Plus (LivePostUpdates). null = on, false = off. Edit the live post on a title/category change.
26
27
 
27
28
  customMessages TWSCustomMessage[]
28
29
 
30
+ // Premium Plus (MultiDestination). Up to 2 extra channels: [{ channelId, pingRoleId, types }]. [] = none.
31
+ // The creator's own channel + pingRoleId is destination 1 and is not stored here.
32
+ extraDestinations Json?
33
+
29
34
  // POSTS. Free tier. Its own channel AND its own ping role, so a server can route new posts
30
35
  // somewhere quieter than go-lives and ping a different group for each.
31
36
  //
@@ -151,6 +156,8 @@ model TWSCurrentlyLive {
151
156
  correct Boolean?
152
157
  channelId String?
153
158
  messageId String?
159
+ // Copies of the live post in extra destinations, [{ channelId, messageId }], for the offline to edit or delete.
160
+ extraPosts Json?
154
161
 
155
162
  twitterStreamerId String @unique
156
163
  twitterStreamer TwitterStreamer? @relation(fields: [twitterStreamerId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)
@@ -13,6 +13,10 @@ model YoutubeStreamer {
13
13
 
14
14
  customMessages YTSCustomMessage[] // Premium
15
15
 
16
+ // Premium Plus (MultiDestination). Up to 2 extra channels: [{ channelId, pingRoleId, types }]. [] = none.
17
+ // The creator's own channel + pingRoleId is destination 1 and is not stored here.
18
+ extraDestinations Json?
19
+
16
20
  liveNotificationChannelId String?
17
21
  videoNotificationChannelId String?
18
22
  showNotifyButton Boolean?
@@ -128,6 +132,8 @@ model YTSCurrentlyLive {
128
132
  correct Boolean?
129
133
  channelId String?
130
134
  messageId String?
135
+ // Copies of the live post in extra destinations, [{ channelId, messageId }], for the offline to edit or delete.
136
+ extraPosts Json?
131
137
 
132
138
  youtubeStreamerId String @unique
133
139
  youtubeStreamer YoutubeStreamer? @relation(fields: [youtubeStreamerId], references: [dbId], onUpdate: Cascade, onDelete: Cascade)