@notidotbot/noti-api-client 1.4.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.
Files changed (115) hide show
  1. package/cname.js +3 -0
  2. package/dist/classes/@me.d.ts +122 -0
  3. package/dist/classes/@me.js +59 -0
  4. package/dist/classes/admin.d.ts +71 -0
  5. package/dist/classes/admin.js +26 -0
  6. package/dist/classes/client.d.ts +156 -0
  7. package/dist/classes/client.js +116 -0
  8. package/dist/classes/emotes.d.ts +31 -0
  9. package/dist/classes/emotes.js +24 -0
  10. package/dist/classes/files.d.ts +36 -0
  11. package/dist/classes/files.js +36 -0
  12. package/dist/classes/guild.d.ts +187 -0
  13. package/dist/classes/guild.js +140 -0
  14. package/dist/classes/guildDrops.d.ts +58 -0
  15. package/dist/classes/guildDrops.js +32 -0
  16. package/dist/classes/guildGiveaway.d.ts +110 -0
  17. package/dist/classes/guildGiveaway.js +76 -0
  18. package/dist/classes/guildPlatform.d.ts +163 -0
  19. package/dist/classes/guildPlatform.js +99 -0
  20. package/dist/classes/guildPlatformAction.d.ts +67 -0
  21. package/dist/classes/guildPlatformAction.js +26 -0
  22. package/dist/classes/guildStarboard.d.ts +66 -0
  23. package/dist/classes/guildStarboard.js +36 -0
  24. package/dist/classes/linked.d.ts +26 -0
  25. package/dist/classes/linked.js +32 -0
  26. package/dist/classes/other.d.ts +83 -0
  27. package/dist/classes/other.js +53 -0
  28. package/dist/classes/platform.d.ts +227 -0
  29. package/dist/classes/platform.js +30 -0
  30. package/dist/classes/premium.d.ts +179 -0
  31. package/dist/classes/premium.js +76 -0
  32. package/dist/classes/sessions.d.ts +42 -0
  33. package/dist/classes/sessions.js +30 -0
  34. package/dist/classes/teams.d.ts +88 -0
  35. package/dist/classes/teams.js +66 -0
  36. package/dist/classes/telemetry.d.ts +32 -0
  37. package/dist/classes/telemetry.js +28 -0
  38. package/dist/classes/user.d.ts +40 -0
  39. package/dist/classes/user.js +30 -0
  40. package/dist/classes/vods.d.ts +55 -0
  41. package/dist/classes/vods.js +38 -0
  42. package/dist/core/manager.d.ts +57 -0
  43. package/dist/core/manager.js +78 -0
  44. package/dist/core/utils.d.ts +4 -0
  45. package/dist/core/utils.js +26 -0
  46. package/dist/index.d.ts +22 -0
  47. package/dist/index.js +42 -0
  48. package/dist/modules/stripe.d.ts +12 -0
  49. package/dist/modules/stripe.js +18 -0
  50. package/dist/other/bitfields.d.ts +283 -0
  51. package/dist/other/bitfields.js +323 -0
  52. package/dist/other/enums.d.ts +2 -0
  53. package/dist/other/enums.js +10 -0
  54. package/dist/other/prisma.d.ts +76 -0
  55. package/dist/other/prisma.js +9 -0
  56. package/dist/other/templates.d.ts +795 -0
  57. package/dist/other/templates.js +706 -0
  58. package/dist/other/types.d.ts +45 -0
  59. package/dist/other/types.js +17 -0
  60. package/dist/other/utils.d.ts +5 -0
  61. package/dist/other/utils.js +51 -0
  62. package/dist/other/zod/client.zod.d.ts +349 -0
  63. package/dist/other/zod/client.zod.js +63 -0
  64. package/dist/other/zod/drops.zod.d.ts +16 -0
  65. package/dist/other/zod/drops.zod.js +93 -0
  66. package/dist/other/zod/giveaways.zod.d.ts +382 -0
  67. package/dist/other/zod/giveaways.zod.js +72 -0
  68. package/dist/other/zod/guild.zod.d.ts +1638 -0
  69. package/dist/other/zod/guild.zod.js +139 -0
  70. package/dist/other/zod/kickStreamer.zod.d.ts +761 -0
  71. package/dist/other/zod/kickStreamer.zod.js +92 -0
  72. package/dist/other/zod/member.zod.d.ts +22 -0
  73. package/dist/other/zod/member.zod.js +15 -0
  74. package/dist/other/zod/r2Storage.zod.d.ts +56 -0
  75. package/dist/other/zod/r2Storage.zod.js +21 -0
  76. package/dist/other/zod/rumbleStreamer.zod.d.ts +530 -0
  77. package/dist/other/zod/rumbleStreamer.zod.js +45 -0
  78. package/dist/other/zod/schema.zod.d.ts +25 -0
  79. package/dist/other/zod/schema.zod.js +168 -0
  80. package/dist/other/zod/starboard.zod.d.ts +167 -0
  81. package/dist/other/zod/starboard.zod.js +46 -0
  82. package/dist/other/zod/team.zod.d.ts +107 -0
  83. package/dist/other/zod/team.zod.js +30 -0
  84. package/dist/other/zod/tiktokStreamer.zod.d.ts +473 -0
  85. package/dist/other/zod/tiktokStreamer.zod.js +46 -0
  86. package/dist/other/zod/twitchStreamer.zod.d.ts +473 -0
  87. package/dist/other/zod/twitchStreamer.zod.js +46 -0
  88. package/dist/other/zod/user.zod.d.ts +678 -0
  89. package/dist/other/zod/user.zod.js +124 -0
  90. package/dist/other/zod/youtubeStreamer.zod.d.ts +476 -0
  91. package/dist/other/zod/youtubeStreamer.zod.js +47 -0
  92. package/dist/other/zod/zod.d.ts +177 -0
  93. package/dist/other/zod/zod.js +60 -0
  94. package/dist/tsconfig.tsbuildinfo +1 -0
  95. package/dist/types.d.ts +37 -0
  96. package/dist/types.js +2 -0
  97. package/package.json +63 -0
  98. package/prisma/generated/index.ts +25 -0
  99. package/prisma/generated/ts-prisma.d.ts +91725 -0
  100. package/prisma/schema/models/client.prisma +89 -0
  101. package/prisma/schema/models/drops.prisma +167 -0
  102. package/prisma/schema/models/giveaways.prisma +82 -0
  103. package/prisma/schema/models/guild.prisma +368 -0
  104. package/prisma/schema/models/kickStreamer.prisma +202 -0
  105. package/prisma/schema/models/member.prisma +10 -0
  106. package/prisma/schema/models/r2Storage.prisma +22 -0
  107. package/prisma/schema/models/rumbleStreamer.prisma +121 -0
  108. package/prisma/schema/models/starboard.prisma +66 -0
  109. package/prisma/schema/models/team.prisma +38 -0
  110. package/prisma/schema/models/tiktokStreamer.prisma +121 -0
  111. package/prisma/schema/models/twitchStreamer.prisma +122 -0
  112. package/prisma/schema/models/user.prisma +212 -0
  113. package/prisma/schema/models/youtubeStreamer.prisma +123 -0
  114. package/prisma/schema/schema.prisma +182 -0
  115. package/prisma.config.ts +6 -0
@@ -0,0 +1,473 @@
1
+ import { PartialZodObject } from './schema.zod';
2
+ import { TSPrisma } from '@prisma/client';
3
+ import { RemoveProperties } from '../prisma';
4
+ import { z } from 'zod';
5
+ export type RT<T extends TSPrisma.AllModelNames> = z.ZodType<RemoveProperties<TSPrisma.TSPrismaModelsFull[T], TwitchStreamerRelations>>;
6
+ export type TwitchStreamerRelations = 'db' | 'twitchStreamer' | 'tsCustomMessage' | 'tsMessageEmbed';
7
+ export declare const TwitchStreamerZod: {
8
+ readonly TwitchStreamerSchema: z.ZodObject<{
9
+ streamerUserName: z.ZodString;
10
+ guildId: z.ZodEffects<z.ZodString, string, string>;
11
+ streamerId: z.ZodNullable<z.ZodString>;
12
+ chatRoomId: z.ZodNullable<z.ZodString>;
13
+ deleteEmbeds: z.ZodNullable<z.ZodBoolean>;
14
+ sendOfflineMessage: z.ZodNullable<z.ZodBoolean>;
15
+ usePerStreamerEmbeds: z.ZodNullable<z.ZodBoolean>;
16
+ autoPublishIfAnnouncmentChannel: z.ZodNullable<z.ZodBoolean>;
17
+ customMessages: z.ZodArray<z.ZodLazy<z.ZodObject<{
18
+ content: z.ZodNullable<z.ZodString>;
19
+ embed: z.ZodNullable<z.ZodLazy<z.ZodObject<{
20
+ title: z.ZodNullable<z.ZodString>;
21
+ url: z.ZodNullable<z.ZodString>;
22
+ description: z.ZodString;
23
+ color: z.ZodNullable<z.ZodString>;
24
+ footer: z.ZodNullable<z.ZodString>;
25
+ footerIcon: z.ZodNullable<z.ZodString>;
26
+ image: z.ZodNullable<z.ZodString>;
27
+ thumbnail: z.ZodNullable<z.ZodString>;
28
+ author: z.ZodNullable<z.ZodString>;
29
+ authorIcon: z.ZodNullable<z.ZodString>;
30
+ fields: z.ZodArray<z.ZodLazy<z.ZodObject<{
31
+ name: z.ZodString;
32
+ value: z.ZodNullable<z.ZodString>;
33
+ inline: z.ZodNullable<z.ZodBoolean>;
34
+ }, "strip", z.ZodTypeAny, {
35
+ name: string;
36
+ value: string | null;
37
+ inline: boolean | null;
38
+ }, {
39
+ name: string;
40
+ value: string | null;
41
+ inline: boolean | null;
42
+ }>>, "many">;
43
+ }, "strip", z.ZodTypeAny, {
44
+ title: string | null;
45
+ description: string;
46
+ url: string | null;
47
+ color: string | null;
48
+ footer: string | null;
49
+ footerIcon: string | null;
50
+ image: string | null;
51
+ thumbnail: string | null;
52
+ author: string | null;
53
+ authorIcon: string | null;
54
+ fields: {
55
+ name: string;
56
+ value: string | null;
57
+ inline: boolean | null;
58
+ }[];
59
+ }, {
60
+ title: string | null;
61
+ description: string;
62
+ url: string | null;
63
+ color: string | null;
64
+ footer: string | null;
65
+ footerIcon: string | null;
66
+ image: string | null;
67
+ thumbnail: string | null;
68
+ author: string | null;
69
+ authorIcon: string | null;
70
+ fields: {
71
+ name: string;
72
+ value: string | null;
73
+ inline: boolean | null;
74
+ }[];
75
+ }>>>;
76
+ buttons: z.ZodArray<z.ZodLazy<z.ZodObject<{
77
+ title: z.ZodString;
78
+ url: z.ZodNullable<z.ZodString>;
79
+ emojiUnicodeOrId: z.ZodNullable<z.ZodString>;
80
+ }, "strip", z.ZodTypeAny, {
81
+ title: string;
82
+ url: string | null;
83
+ emojiUnicodeOrId: string | null;
84
+ }, {
85
+ title: string;
86
+ url: string | null;
87
+ emojiUnicodeOrId: string | null;
88
+ }>>, "many">;
89
+ webhook: z.ZodNullable<z.ZodLazy<z.ZodObject<{
90
+ enabled: z.ZodNullable<z.ZodBoolean>;
91
+ username: z.ZodNullable<z.ZodString>;
92
+ avatarUrl: z.ZodNullable<z.ZodString>;
93
+ }, "strip", z.ZodTypeAny, {
94
+ enabled: boolean | null;
95
+ username: string | null;
96
+ avatarUrl: string | null;
97
+ }, {
98
+ enabled: boolean | null;
99
+ username: string | null;
100
+ avatarUrl: string | null;
101
+ }>>>;
102
+ type: z.ZodEnum<["clip", "vod", "kickLive", "kickOffline", "twitchLive", "twitchOffline", "rumbleLive", "rumbleOffline", "tiktokLive", "tiktokOffline", "tiktokVideo", "youtubeLive", "youtubeVideo"]>;
103
+ }, "strip", z.ZodTypeAny, {
104
+ type: "clip" | "vod" | "kickLive" | "kickOffline" | "twitchLive" | "twitchOffline" | "rumbleLive" | "rumbleOffline" | "tiktokLive" | "tiktokOffline" | "tiktokVideo" | "youtubeLive" | "youtubeVideo";
105
+ webhook: {
106
+ enabled: boolean | null;
107
+ username: string | null;
108
+ avatarUrl: string | null;
109
+ } | null;
110
+ content: string | null;
111
+ embed: {
112
+ title: string | null;
113
+ description: string;
114
+ url: string | null;
115
+ color: string | null;
116
+ footer: string | null;
117
+ footerIcon: string | null;
118
+ image: string | null;
119
+ thumbnail: string | null;
120
+ author: string | null;
121
+ authorIcon: string | null;
122
+ fields: {
123
+ name: string;
124
+ value: string | null;
125
+ inline: boolean | null;
126
+ }[];
127
+ } | null;
128
+ buttons: {
129
+ title: string;
130
+ url: string | null;
131
+ emojiUnicodeOrId: string | null;
132
+ }[];
133
+ }, {
134
+ type: "clip" | "vod" | "kickLive" | "kickOffline" | "twitchLive" | "twitchOffline" | "rumbleLive" | "rumbleOffline" | "tiktokLive" | "tiktokOffline" | "tiktokVideo" | "youtubeLive" | "youtubeVideo";
135
+ webhook: {
136
+ enabled: boolean | null;
137
+ username: string | null;
138
+ avatarUrl: string | null;
139
+ } | null;
140
+ content: string | null;
141
+ embed: {
142
+ title: string | null;
143
+ description: string;
144
+ url: string | null;
145
+ color: string | null;
146
+ footer: string | null;
147
+ footerIcon: string | null;
148
+ image: string | null;
149
+ thumbnail: string | null;
150
+ author: string | null;
151
+ authorIcon: string | null;
152
+ fields: {
153
+ name: string;
154
+ value: string | null;
155
+ inline: boolean | null;
156
+ }[];
157
+ } | null;
158
+ buttons: {
159
+ title: string;
160
+ url: string | null;
161
+ emojiUnicodeOrId: string | null;
162
+ }[];
163
+ }>>, "many">;
164
+ notificationChannelId: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
165
+ showNotifyButton: z.ZodNullable<z.ZodBoolean>;
166
+ pingRoleId: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodLiteral<"everyone">, z.ZodLiteral<"here">]>>;
167
+ customCoolDownBeforeNextLive: z.ZodNullable<z.ZodNumber>;
168
+ liveRoleId: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
169
+ usersForLiveRole: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, string[], string[]>;
170
+ usersWhoHaveLiveRole: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, string[], string[]>;
171
+ statsChannelIds: z.ZodNullable<z.ZodLazy<z.ZodObject<{
172
+ isLive: z.ZodNullable<z.ZodString>;
173
+ }, "strip", z.ZodTypeAny, {
174
+ isLive: string | null;
175
+ }, {
176
+ isLive: string | null;
177
+ }>>>;
178
+ isCurrentlyLive: z.ZodNullable<z.ZodLazy<z.ZodObject<{
179
+ correct: z.ZodNullable<z.ZodBoolean>;
180
+ channelId: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
181
+ messageId: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
182
+ }, "strip", z.ZodTypeAny, {
183
+ channelId: string | null;
184
+ messageId: string | null;
185
+ correct: boolean | null;
186
+ }, {
187
+ channelId: string | null;
188
+ messageId: string | null;
189
+ correct: boolean | null;
190
+ }>>>;
191
+ lastLive: z.ZodNullable<z.ZodDate>;
192
+ }, "strip", z.ZodTypeAny, {
193
+ guildId: string;
194
+ streamerUserName: string;
195
+ customMessages: {
196
+ type: "clip" | "vod" | "kickLive" | "kickOffline" | "twitchLive" | "twitchOffline" | "rumbleLive" | "rumbleOffline" | "tiktokLive" | "tiktokOffline" | "tiktokVideo" | "youtubeLive" | "youtubeVideo";
197
+ webhook: {
198
+ enabled: boolean | null;
199
+ username: string | null;
200
+ avatarUrl: string | null;
201
+ } | null;
202
+ content: string | null;
203
+ embed: {
204
+ title: string | null;
205
+ description: string;
206
+ url: string | null;
207
+ color: string | null;
208
+ footer: string | null;
209
+ footerIcon: string | null;
210
+ image: string | null;
211
+ thumbnail: string | null;
212
+ author: string | null;
213
+ authorIcon: string | null;
214
+ fields: {
215
+ name: string;
216
+ value: string | null;
217
+ inline: boolean | null;
218
+ }[];
219
+ } | null;
220
+ buttons: {
221
+ title: string;
222
+ url: string | null;
223
+ emojiUnicodeOrId: string | null;
224
+ }[];
225
+ }[];
226
+ statsChannelIds: {
227
+ isLive: string | null;
228
+ } | null;
229
+ isCurrentlyLive: {
230
+ channelId: string | null;
231
+ messageId: string | null;
232
+ correct: boolean | null;
233
+ } | null;
234
+ streamerId: string | null;
235
+ chatRoomId: string | null;
236
+ deleteEmbeds: boolean | null;
237
+ sendOfflineMessage: boolean | null;
238
+ usePerStreamerEmbeds: boolean | null;
239
+ autoPublishIfAnnouncmentChannel: boolean | null;
240
+ notificationChannelId: string | null;
241
+ showNotifyButton: boolean | null;
242
+ pingRoleId: string | null;
243
+ customCoolDownBeforeNextLive: number | null;
244
+ liveRoleId: string | null;
245
+ usersForLiveRole: string[];
246
+ usersWhoHaveLiveRole: string[];
247
+ lastLive: Date | null;
248
+ }, {
249
+ guildId: string;
250
+ streamerUserName: string;
251
+ customMessages: {
252
+ type: "clip" | "vod" | "kickLive" | "kickOffline" | "twitchLive" | "twitchOffline" | "rumbleLive" | "rumbleOffline" | "tiktokLive" | "tiktokOffline" | "tiktokVideo" | "youtubeLive" | "youtubeVideo";
253
+ webhook: {
254
+ enabled: boolean | null;
255
+ username: string | null;
256
+ avatarUrl: string | null;
257
+ } | null;
258
+ content: string | null;
259
+ embed: {
260
+ title: string | null;
261
+ description: string;
262
+ url: string | null;
263
+ color: string | null;
264
+ footer: string | null;
265
+ footerIcon: string | null;
266
+ image: string | null;
267
+ thumbnail: string | null;
268
+ author: string | null;
269
+ authorIcon: string | null;
270
+ fields: {
271
+ name: string;
272
+ value: string | null;
273
+ inline: boolean | null;
274
+ }[];
275
+ } | null;
276
+ buttons: {
277
+ title: string;
278
+ url: string | null;
279
+ emojiUnicodeOrId: string | null;
280
+ }[];
281
+ }[];
282
+ statsChannelIds: {
283
+ isLive: string | null;
284
+ } | null;
285
+ isCurrentlyLive: {
286
+ channelId: string | null;
287
+ messageId: string | null;
288
+ correct: boolean | null;
289
+ } | null;
290
+ streamerId: string | null;
291
+ chatRoomId: string | null;
292
+ deleteEmbeds: boolean | null;
293
+ sendOfflineMessage: boolean | null;
294
+ usePerStreamerEmbeds: boolean | null;
295
+ autoPublishIfAnnouncmentChannel: boolean | null;
296
+ notificationChannelId: string | null;
297
+ showNotifyButton: boolean | null;
298
+ pingRoleId: string | null;
299
+ customCoolDownBeforeNextLive: number | null;
300
+ liveRoleId: string | null;
301
+ usersForLiveRole: string[];
302
+ usersWhoHaveLiveRole: string[];
303
+ lastLive: Date | null;
304
+ }>;
305
+ readonly TSCustomMessageSchema: z.ZodObject<{
306
+ content: z.ZodNullable<z.ZodString>;
307
+ embed: z.ZodNullable<z.ZodLazy<z.ZodObject<{
308
+ title: z.ZodNullable<z.ZodString>;
309
+ url: z.ZodNullable<z.ZodString>;
310
+ description: z.ZodString;
311
+ color: z.ZodNullable<z.ZodString>;
312
+ footer: z.ZodNullable<z.ZodString>;
313
+ footerIcon: z.ZodNullable<z.ZodString>;
314
+ image: z.ZodNullable<z.ZodString>;
315
+ thumbnail: z.ZodNullable<z.ZodString>;
316
+ author: z.ZodNullable<z.ZodString>;
317
+ authorIcon: z.ZodNullable<z.ZodString>;
318
+ fields: z.ZodArray<z.ZodLazy<z.ZodObject<{
319
+ name: z.ZodString;
320
+ value: z.ZodNullable<z.ZodString>;
321
+ inline: z.ZodNullable<z.ZodBoolean>;
322
+ }, "strip", z.ZodTypeAny, {
323
+ name: string;
324
+ value: string | null;
325
+ inline: boolean | null;
326
+ }, {
327
+ name: string;
328
+ value: string | null;
329
+ inline: boolean | null;
330
+ }>>, "many">;
331
+ }, "strip", z.ZodTypeAny, {
332
+ title: string | null;
333
+ description: string;
334
+ url: string | null;
335
+ color: string | null;
336
+ footer: string | null;
337
+ footerIcon: string | null;
338
+ image: string | null;
339
+ thumbnail: string | null;
340
+ author: string | null;
341
+ authorIcon: string | null;
342
+ fields: {
343
+ name: string;
344
+ value: string | null;
345
+ inline: boolean | null;
346
+ }[];
347
+ }, {
348
+ title: string | null;
349
+ description: string;
350
+ url: string | null;
351
+ color: string | null;
352
+ footer: string | null;
353
+ footerIcon: string | null;
354
+ image: string | null;
355
+ thumbnail: string | null;
356
+ author: string | null;
357
+ authorIcon: string | null;
358
+ fields: {
359
+ name: string;
360
+ value: string | null;
361
+ inline: boolean | null;
362
+ }[];
363
+ }>>>;
364
+ buttons: z.ZodArray<z.ZodLazy<z.ZodObject<{
365
+ title: z.ZodString;
366
+ url: z.ZodNullable<z.ZodString>;
367
+ emojiUnicodeOrId: z.ZodNullable<z.ZodString>;
368
+ }, "strip", z.ZodTypeAny, {
369
+ title: string;
370
+ url: string | null;
371
+ emojiUnicodeOrId: string | null;
372
+ }, {
373
+ title: string;
374
+ url: string | null;
375
+ emojiUnicodeOrId: string | null;
376
+ }>>, "many">;
377
+ webhook: z.ZodNullable<z.ZodLazy<z.ZodObject<{
378
+ enabled: z.ZodNullable<z.ZodBoolean>;
379
+ username: z.ZodNullable<z.ZodString>;
380
+ avatarUrl: z.ZodNullable<z.ZodString>;
381
+ }, "strip", z.ZodTypeAny, {
382
+ enabled: boolean | null;
383
+ username: string | null;
384
+ avatarUrl: string | null;
385
+ }, {
386
+ enabled: boolean | null;
387
+ username: string | null;
388
+ avatarUrl: string | null;
389
+ }>>>;
390
+ type: z.ZodEnum<["clip", "vod", "kickLive", "kickOffline", "twitchLive", "twitchOffline", "rumbleLive", "rumbleOffline", "tiktokLive", "tiktokOffline", "tiktokVideo", "youtubeLive", "youtubeVideo"]>;
391
+ }, "strip", z.ZodTypeAny, {
392
+ type: "clip" | "vod" | "kickLive" | "kickOffline" | "twitchLive" | "twitchOffline" | "rumbleLive" | "rumbleOffline" | "tiktokLive" | "tiktokOffline" | "tiktokVideo" | "youtubeLive" | "youtubeVideo";
393
+ webhook: {
394
+ enabled: boolean | null;
395
+ username: string | null;
396
+ avatarUrl: string | null;
397
+ } | null;
398
+ content: string | null;
399
+ embed: {
400
+ title: string | null;
401
+ description: string;
402
+ url: string | null;
403
+ color: string | null;
404
+ footer: string | null;
405
+ footerIcon: string | null;
406
+ image: string | null;
407
+ thumbnail: string | null;
408
+ author: string | null;
409
+ authorIcon: string | null;
410
+ fields: {
411
+ name: string;
412
+ value: string | null;
413
+ inline: boolean | null;
414
+ }[];
415
+ } | null;
416
+ buttons: {
417
+ title: string;
418
+ url: string | null;
419
+ emojiUnicodeOrId: string | null;
420
+ }[];
421
+ }, {
422
+ type: "clip" | "vod" | "kickLive" | "kickOffline" | "twitchLive" | "twitchOffline" | "rumbleLive" | "rumbleOffline" | "tiktokLive" | "tiktokOffline" | "tiktokVideo" | "youtubeLive" | "youtubeVideo";
423
+ webhook: {
424
+ enabled: boolean | null;
425
+ username: string | null;
426
+ avatarUrl: string | null;
427
+ } | null;
428
+ content: string | null;
429
+ embed: {
430
+ title: string | null;
431
+ description: string;
432
+ url: string | null;
433
+ color: string | null;
434
+ footer: string | null;
435
+ footerIcon: string | null;
436
+ image: string | null;
437
+ thumbnail: string | null;
438
+ author: string | null;
439
+ authorIcon: string | null;
440
+ fields: {
441
+ name: string;
442
+ value: string | null;
443
+ inline: boolean | null;
444
+ }[];
445
+ } | null;
446
+ buttons: {
447
+ title: string;
448
+ url: string | null;
449
+ emojiUnicodeOrId: string | null;
450
+ }[];
451
+ }>;
452
+ readonly TSStatsChannelIdSchema: z.ZodObject<{
453
+ isLive: z.ZodNullable<z.ZodString>;
454
+ }, "strip", z.ZodTypeAny, {
455
+ isLive: string | null;
456
+ }, {
457
+ isLive: string | null;
458
+ }>;
459
+ readonly TSCurrentlyLiveSchema: z.ZodObject<{
460
+ correct: z.ZodNullable<z.ZodBoolean>;
461
+ channelId: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
462
+ messageId: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
463
+ }, "strip", z.ZodTypeAny, {
464
+ channelId: string | null;
465
+ messageId: string | null;
466
+ correct: boolean | null;
467
+ }, {
468
+ channelId: string | null;
469
+ messageId: string | null;
470
+ correct: boolean | null;
471
+ }>;
472
+ };
473
+ export declare const TwitchStreamerZodPartial: PartialZodObject<typeof TwitchStreamerZod>;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TwitchStreamerZodPartial = exports.TwitchStreamerZod = void 0;
4
+ const schema_zod_1 = require("./schema.zod");
5
+ const zod_1 = require("./zod");
6
+ const zod_2 = require("zod");
7
+ const TwitchStreamerSchema = zod_2.z.object({
8
+ streamerUserName: zod_2.z.string(),
9
+ guildId: zod_1.SnowFlake,
10
+ streamerId: zod_2.z.string().nullable(),
11
+ chatRoomId: zod_2.z.string().nullable(),
12
+ deleteEmbeds: zod_2.z.boolean().nullable(),
13
+ sendOfflineMessage: zod_2.z.boolean().nullable(),
14
+ usePerStreamerEmbeds: zod_2.z.boolean().nullable(),
15
+ autoPublishIfAnnouncmentChannel: zod_2.z.boolean().nullable(),
16
+ customMessages: zod_2.z.array(zod_2.z.lazy(() => TSCustomMessageSchema)),
17
+ notificationChannelId: zod_1.SnowFlake.nullable(),
18
+ showNotifyButton: zod_2.z.boolean().nullable(),
19
+ pingRoleId: zod_1.SnowFlakeOrEveryone.nullable(),
20
+ customCoolDownBeforeNextLive: zod_2.z.number().min(0).max(360).nullable(),
21
+ liveRoleId: zod_1.SnowFlake.nullable(),
22
+ usersForLiveRole: (0, zod_1.NoDuplicate)(zod_2.z.array(zod_1.SnowFlake)),
23
+ usersWhoHaveLiveRole: (0, zod_1.NoDuplicate)(zod_2.z.array(zod_1.SnowFlake)),
24
+ statsChannelIds: zod_2.z.lazy(() => TSStatsChannelIdSchema).nullable(),
25
+ isCurrentlyLive: zod_2.z.lazy(() => TSCurrentlyLiveSchema).nullable(),
26
+ lastLive: zod_2.z.date().nullable(),
27
+ });
28
+ const TSCustomMessageSchema = zod_2.z.object({
29
+ type: schema_zod_1.StreamerMessageTypeEnum,
30
+ ...zod_1.CentralZod.Message(),
31
+ });
32
+ const TSStatsChannelIdSchema = zod_2.z.object({
33
+ isLive: zod_2.z.string().nullable(),
34
+ });
35
+ const TSCurrentlyLiveSchema = zod_2.z.object({
36
+ correct: zod_2.z.boolean().nullable(),
37
+ channelId: zod_1.SnowFlake.nullable(),
38
+ messageId: zod_1.SnowFlake.nullable(),
39
+ });
40
+ exports.TwitchStreamerZod = {
41
+ TwitchStreamerSchema,
42
+ TSCustomMessageSchema,
43
+ TSStatsChannelIdSchema,
44
+ TSCurrentlyLiveSchema,
45
+ };
46
+ exports.TwitchStreamerZodPartial = Object.fromEntries(Object.entries(exports.TwitchStreamerZod).map(([key, value]) => [key, (0, schema_zod_1.deepPartialify)(value)]));