@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,530 @@
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], RumbleStreamerRelations>>;
6
+ export type RumbleStreamerRelations = 'db' | 'rumbleStreamer' | 'rsCustomMessage' | 'rsMessageEmbed';
7
+ export declare const RumbleStreamerZod: {
8
+ readonly RumbleStreamerSchema: z.ZodObject<{
9
+ streamerUserName: z.ZodString;
10
+ guildId: z.ZodEffects<z.ZodString, string, string>;
11
+ type: z.ZodEnum<["channel", "user"]>;
12
+ deleteEmbeds: z.ZodNullable<z.ZodBoolean>;
13
+ sendOfflineMessage: z.ZodNullable<z.ZodBoolean>;
14
+ usePerStreamerEmbeds: z.ZodNullable<z.ZodBoolean>;
15
+ autoPublishIfAnnouncmentChannel: z.ZodNullable<z.ZodBoolean>;
16
+ customMessages: z.ZodEffects<z.ZodArray<z.ZodLazy<z.ZodObject<{
17
+ content: z.ZodNullable<z.ZodString>;
18
+ embed: z.ZodNullable<z.ZodLazy<z.ZodObject<{
19
+ title: z.ZodNullable<z.ZodString>;
20
+ url: z.ZodNullable<z.ZodString>;
21
+ description: z.ZodString;
22
+ color: z.ZodNullable<z.ZodString>;
23
+ footer: z.ZodNullable<z.ZodString>;
24
+ footerIcon: z.ZodNullable<z.ZodString>;
25
+ image: z.ZodNullable<z.ZodString>;
26
+ thumbnail: z.ZodNullable<z.ZodString>;
27
+ author: z.ZodNullable<z.ZodString>;
28
+ authorIcon: z.ZodNullable<z.ZodString>;
29
+ fields: z.ZodArray<z.ZodLazy<z.ZodObject<{
30
+ name: z.ZodString;
31
+ value: z.ZodNullable<z.ZodString>;
32
+ inline: z.ZodNullable<z.ZodBoolean>;
33
+ }, "strip", z.ZodTypeAny, {
34
+ name: string;
35
+ value: string | null;
36
+ inline: boolean | null;
37
+ }, {
38
+ name: string;
39
+ value: string | null;
40
+ inline: boolean | null;
41
+ }>>, "many">;
42
+ }, "strip", z.ZodTypeAny, {
43
+ title: string | null;
44
+ description: string;
45
+ url: string | null;
46
+ color: string | null;
47
+ footer: string | null;
48
+ footerIcon: string | null;
49
+ image: string | null;
50
+ thumbnail: string | null;
51
+ author: string | null;
52
+ authorIcon: string | null;
53
+ fields: {
54
+ name: string;
55
+ value: string | null;
56
+ inline: boolean | null;
57
+ }[];
58
+ }, {
59
+ title: string | null;
60
+ description: string;
61
+ url: string | null;
62
+ color: string | null;
63
+ footer: string | null;
64
+ footerIcon: string | null;
65
+ image: string | null;
66
+ thumbnail: string | null;
67
+ author: string | null;
68
+ authorIcon: string | null;
69
+ fields: {
70
+ name: string;
71
+ value: string | null;
72
+ inline: boolean | null;
73
+ }[];
74
+ }>>>;
75
+ buttons: z.ZodArray<z.ZodLazy<z.ZodObject<{
76
+ title: z.ZodString;
77
+ url: z.ZodNullable<z.ZodString>;
78
+ emojiUnicodeOrId: z.ZodNullable<z.ZodString>;
79
+ }, "strip", z.ZodTypeAny, {
80
+ title: string;
81
+ url: string | null;
82
+ emojiUnicodeOrId: string | null;
83
+ }, {
84
+ title: string;
85
+ url: string | null;
86
+ emojiUnicodeOrId: string | null;
87
+ }>>, "many">;
88
+ webhook: z.ZodNullable<z.ZodLazy<z.ZodObject<{
89
+ enabled: z.ZodNullable<z.ZodBoolean>;
90
+ username: z.ZodNullable<z.ZodString>;
91
+ avatarUrl: z.ZodNullable<z.ZodString>;
92
+ }, "strip", z.ZodTypeAny, {
93
+ enabled: boolean | null;
94
+ username: string | null;
95
+ avatarUrl: string | null;
96
+ }, {
97
+ enabled: boolean | null;
98
+ username: string | null;
99
+ avatarUrl: string | null;
100
+ }>>>;
101
+ type: z.ZodEnum<["clip", "vod", "kickLive", "kickOffline", "twitchLive", "twitchOffline", "rumbleLive", "rumbleOffline", "tiktokLive", "tiktokOffline", "tiktokVideo", "youtubeLive", "youtubeVideo"]>;
102
+ }, "strip", z.ZodTypeAny, {
103
+ type: "clip" | "vod" | "kickLive" | "kickOffline" | "twitchLive" | "twitchOffline" | "rumbleLive" | "rumbleOffline" | "tiktokLive" | "tiktokOffline" | "tiktokVideo" | "youtubeLive" | "youtubeVideo";
104
+ webhook: {
105
+ enabled: boolean | null;
106
+ username: string | null;
107
+ avatarUrl: string | null;
108
+ } | null;
109
+ content: string | null;
110
+ embed: {
111
+ title: string | null;
112
+ description: string;
113
+ url: string | null;
114
+ color: string | null;
115
+ footer: string | null;
116
+ footerIcon: string | null;
117
+ image: string | null;
118
+ thumbnail: string | null;
119
+ author: string | null;
120
+ authorIcon: string | null;
121
+ fields: {
122
+ name: string;
123
+ value: string | null;
124
+ inline: boolean | null;
125
+ }[];
126
+ } | null;
127
+ buttons: {
128
+ title: string;
129
+ url: string | null;
130
+ emojiUnicodeOrId: string | null;
131
+ }[];
132
+ }, {
133
+ type: "clip" | "vod" | "kickLive" | "kickOffline" | "twitchLive" | "twitchOffline" | "rumbleLive" | "rumbleOffline" | "tiktokLive" | "tiktokOffline" | "tiktokVideo" | "youtubeLive" | "youtubeVideo";
134
+ webhook: {
135
+ enabled: boolean | null;
136
+ username: string | null;
137
+ avatarUrl: string | null;
138
+ } | null;
139
+ content: string | null;
140
+ embed: {
141
+ title: string | null;
142
+ description: string;
143
+ url: string | null;
144
+ color: string | null;
145
+ footer: string | null;
146
+ footerIcon: string | null;
147
+ image: string | null;
148
+ thumbnail: string | null;
149
+ author: string | null;
150
+ authorIcon: string | null;
151
+ fields: {
152
+ name: string;
153
+ value: string | null;
154
+ inline: boolean | null;
155
+ }[];
156
+ } | null;
157
+ buttons: {
158
+ title: string;
159
+ url: string | null;
160
+ emojiUnicodeOrId: string | null;
161
+ }[];
162
+ }>>, "many">, {
163
+ type: "clip" | "vod" | "kickLive" | "kickOffline" | "twitchLive" | "twitchOffline" | "rumbleLive" | "rumbleOffline" | "tiktokLive" | "tiktokOffline" | "tiktokVideo" | "youtubeLive" | "youtubeVideo";
164
+ webhook: {
165
+ enabled: boolean | null;
166
+ username: string | null;
167
+ avatarUrl: string | null;
168
+ } | null;
169
+ content: string | null;
170
+ embed: {
171
+ title: string | null;
172
+ description: string;
173
+ url: string | null;
174
+ color: string | null;
175
+ footer: string | null;
176
+ footerIcon: string | null;
177
+ image: string | null;
178
+ thumbnail: string | null;
179
+ author: string | null;
180
+ authorIcon: string | null;
181
+ fields: {
182
+ name: string;
183
+ value: string | null;
184
+ inline: boolean | null;
185
+ }[];
186
+ } | null;
187
+ buttons: {
188
+ title: string;
189
+ url: string | null;
190
+ emojiUnicodeOrId: string | null;
191
+ }[];
192
+ }[], {
193
+ type: "clip" | "vod" | "kickLive" | "kickOffline" | "twitchLive" | "twitchOffline" | "rumbleLive" | "rumbleOffline" | "tiktokLive" | "tiktokOffline" | "tiktokVideo" | "youtubeLive" | "youtubeVideo";
194
+ webhook: {
195
+ enabled: boolean | null;
196
+ username: string | null;
197
+ avatarUrl: string | null;
198
+ } | null;
199
+ content: string | null;
200
+ embed: {
201
+ title: string | null;
202
+ description: string;
203
+ url: string | null;
204
+ color: string | null;
205
+ footer: string | null;
206
+ footerIcon: string | null;
207
+ image: string | null;
208
+ thumbnail: string | null;
209
+ author: string | null;
210
+ authorIcon: string | null;
211
+ fields: {
212
+ name: string;
213
+ value: string | null;
214
+ inline: boolean | null;
215
+ }[];
216
+ } | null;
217
+ buttons: {
218
+ title: string;
219
+ url: string | null;
220
+ emojiUnicodeOrId: string | null;
221
+ }[];
222
+ }[]>;
223
+ notificationChannelId: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
224
+ showNotifyButton: z.ZodNullable<z.ZodBoolean>;
225
+ pingRoleId: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodLiteral<"everyone">, z.ZodLiteral<"here">]>>;
226
+ customCoolDownBeforeNextLive: z.ZodNullable<z.ZodNumber>;
227
+ liveRoleId: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
228
+ usersForLiveRole: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, string[], string[]>;
229
+ usersWhoHaveLiveRole: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, string[], string[]>;
230
+ statsChannelIds: z.ZodNullable<z.ZodLazy<z.ZodObject<{
231
+ isLive: z.ZodNullable<z.ZodString>;
232
+ }, "strip", z.ZodTypeAny, {
233
+ isLive: string | null;
234
+ }, {
235
+ isLive: string | null;
236
+ }>>>;
237
+ isCurrentlyLive: z.ZodNullable<z.ZodLazy<z.ZodObject<{
238
+ correct: z.ZodNullable<z.ZodBoolean>;
239
+ channelId: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
240
+ messageId: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
241
+ }, "strip", z.ZodTypeAny, {
242
+ channelId: string | null;
243
+ messageId: string | null;
244
+ correct: boolean | null;
245
+ }, {
246
+ channelId: string | null;
247
+ messageId: string | null;
248
+ correct: boolean | null;
249
+ }>>>;
250
+ lastLive: z.ZodNullable<z.ZodDate>;
251
+ }, "strip", z.ZodTypeAny, {
252
+ guildId: string;
253
+ type: "user" | "channel";
254
+ streamerUserName: string;
255
+ customMessages: {
256
+ type: "clip" | "vod" | "kickLive" | "kickOffline" | "twitchLive" | "twitchOffline" | "rumbleLive" | "rumbleOffline" | "tiktokLive" | "tiktokOffline" | "tiktokVideo" | "youtubeLive" | "youtubeVideo";
257
+ webhook: {
258
+ enabled: boolean | null;
259
+ username: string | null;
260
+ avatarUrl: string | null;
261
+ } | null;
262
+ content: string | null;
263
+ embed: {
264
+ title: string | null;
265
+ description: string;
266
+ url: string | null;
267
+ color: string | null;
268
+ footer: string | null;
269
+ footerIcon: string | null;
270
+ image: string | null;
271
+ thumbnail: string | null;
272
+ author: string | null;
273
+ authorIcon: string | null;
274
+ fields: {
275
+ name: string;
276
+ value: string | null;
277
+ inline: boolean | null;
278
+ }[];
279
+ } | null;
280
+ buttons: {
281
+ title: string;
282
+ url: string | null;
283
+ emojiUnicodeOrId: string | null;
284
+ }[];
285
+ }[];
286
+ statsChannelIds: {
287
+ isLive: string | null;
288
+ } | null;
289
+ isCurrentlyLive: {
290
+ channelId: string | null;
291
+ messageId: string | null;
292
+ correct: boolean | null;
293
+ } | null;
294
+ deleteEmbeds: boolean | null;
295
+ sendOfflineMessage: boolean | null;
296
+ usePerStreamerEmbeds: boolean | null;
297
+ autoPublishIfAnnouncmentChannel: boolean | null;
298
+ notificationChannelId: string | null;
299
+ showNotifyButton: boolean | null;
300
+ pingRoleId: string | null;
301
+ customCoolDownBeforeNextLive: number | null;
302
+ liveRoleId: string | null;
303
+ usersForLiveRole: string[];
304
+ usersWhoHaveLiveRole: string[];
305
+ lastLive: Date | null;
306
+ }, {
307
+ guildId: string;
308
+ type: "user" | "channel";
309
+ streamerUserName: string;
310
+ customMessages: {
311
+ type: "clip" | "vod" | "kickLive" | "kickOffline" | "twitchLive" | "twitchOffline" | "rumbleLive" | "rumbleOffline" | "tiktokLive" | "tiktokOffline" | "tiktokVideo" | "youtubeLive" | "youtubeVideo";
312
+ webhook: {
313
+ enabled: boolean | null;
314
+ username: string | null;
315
+ avatarUrl: string | null;
316
+ } | null;
317
+ content: string | null;
318
+ embed: {
319
+ title: string | null;
320
+ description: string;
321
+ url: string | null;
322
+ color: string | null;
323
+ footer: string | null;
324
+ footerIcon: string | null;
325
+ image: string | null;
326
+ thumbnail: string | null;
327
+ author: string | null;
328
+ authorIcon: string | null;
329
+ fields: {
330
+ name: string;
331
+ value: string | null;
332
+ inline: boolean | null;
333
+ }[];
334
+ } | null;
335
+ buttons: {
336
+ title: string;
337
+ url: string | null;
338
+ emojiUnicodeOrId: string | null;
339
+ }[];
340
+ }[];
341
+ statsChannelIds: {
342
+ isLive: string | null;
343
+ } | null;
344
+ isCurrentlyLive: {
345
+ channelId: string | null;
346
+ messageId: string | null;
347
+ correct: boolean | null;
348
+ } | null;
349
+ deleteEmbeds: boolean | null;
350
+ sendOfflineMessage: boolean | null;
351
+ usePerStreamerEmbeds: boolean | null;
352
+ autoPublishIfAnnouncmentChannel: boolean | null;
353
+ notificationChannelId: string | null;
354
+ showNotifyButton: boolean | null;
355
+ pingRoleId: string | null;
356
+ customCoolDownBeforeNextLive: number | null;
357
+ liveRoleId: string | null;
358
+ usersForLiveRole: string[];
359
+ usersWhoHaveLiveRole: string[];
360
+ lastLive: Date | null;
361
+ }>;
362
+ readonly RSCustomMessageSchema: z.ZodObject<{
363
+ content: z.ZodNullable<z.ZodString>;
364
+ embed: z.ZodNullable<z.ZodLazy<z.ZodObject<{
365
+ title: z.ZodNullable<z.ZodString>;
366
+ url: z.ZodNullable<z.ZodString>;
367
+ description: z.ZodString;
368
+ color: z.ZodNullable<z.ZodString>;
369
+ footer: z.ZodNullable<z.ZodString>;
370
+ footerIcon: z.ZodNullable<z.ZodString>;
371
+ image: z.ZodNullable<z.ZodString>;
372
+ thumbnail: z.ZodNullable<z.ZodString>;
373
+ author: z.ZodNullable<z.ZodString>;
374
+ authorIcon: z.ZodNullable<z.ZodString>;
375
+ fields: z.ZodArray<z.ZodLazy<z.ZodObject<{
376
+ name: z.ZodString;
377
+ value: z.ZodNullable<z.ZodString>;
378
+ inline: z.ZodNullable<z.ZodBoolean>;
379
+ }, "strip", z.ZodTypeAny, {
380
+ name: string;
381
+ value: string | null;
382
+ inline: boolean | null;
383
+ }, {
384
+ name: string;
385
+ value: string | null;
386
+ inline: boolean | null;
387
+ }>>, "many">;
388
+ }, "strip", z.ZodTypeAny, {
389
+ title: string | null;
390
+ description: string;
391
+ url: string | null;
392
+ color: string | null;
393
+ footer: string | null;
394
+ footerIcon: string | null;
395
+ image: string | null;
396
+ thumbnail: string | null;
397
+ author: string | null;
398
+ authorIcon: string | null;
399
+ fields: {
400
+ name: string;
401
+ value: string | null;
402
+ inline: boolean | null;
403
+ }[];
404
+ }, {
405
+ title: string | null;
406
+ description: string;
407
+ url: string | null;
408
+ color: string | null;
409
+ footer: string | null;
410
+ footerIcon: string | null;
411
+ image: string | null;
412
+ thumbnail: string | null;
413
+ author: string | null;
414
+ authorIcon: string | null;
415
+ fields: {
416
+ name: string;
417
+ value: string | null;
418
+ inline: boolean | null;
419
+ }[];
420
+ }>>>;
421
+ buttons: z.ZodArray<z.ZodLazy<z.ZodObject<{
422
+ title: z.ZodString;
423
+ url: z.ZodNullable<z.ZodString>;
424
+ emojiUnicodeOrId: z.ZodNullable<z.ZodString>;
425
+ }, "strip", z.ZodTypeAny, {
426
+ title: string;
427
+ url: string | null;
428
+ emojiUnicodeOrId: string | null;
429
+ }, {
430
+ title: string;
431
+ url: string | null;
432
+ emojiUnicodeOrId: string | null;
433
+ }>>, "many">;
434
+ webhook: z.ZodNullable<z.ZodLazy<z.ZodObject<{
435
+ enabled: z.ZodNullable<z.ZodBoolean>;
436
+ username: z.ZodNullable<z.ZodString>;
437
+ avatarUrl: z.ZodNullable<z.ZodString>;
438
+ }, "strip", z.ZodTypeAny, {
439
+ enabled: boolean | null;
440
+ username: string | null;
441
+ avatarUrl: string | null;
442
+ }, {
443
+ enabled: boolean | null;
444
+ username: string | null;
445
+ avatarUrl: string | null;
446
+ }>>>;
447
+ type: z.ZodEnum<["clip", "vod", "kickLive", "kickOffline", "twitchLive", "twitchOffline", "rumbleLive", "rumbleOffline", "tiktokLive", "tiktokOffline", "tiktokVideo", "youtubeLive", "youtubeVideo"]>;
448
+ }, "strip", z.ZodTypeAny, {
449
+ type: "clip" | "vod" | "kickLive" | "kickOffline" | "twitchLive" | "twitchOffline" | "rumbleLive" | "rumbleOffline" | "tiktokLive" | "tiktokOffline" | "tiktokVideo" | "youtubeLive" | "youtubeVideo";
450
+ webhook: {
451
+ enabled: boolean | null;
452
+ username: string | null;
453
+ avatarUrl: string | null;
454
+ } | null;
455
+ content: string | null;
456
+ embed: {
457
+ title: string | null;
458
+ description: string;
459
+ url: string | null;
460
+ color: string | null;
461
+ footer: string | null;
462
+ footerIcon: string | null;
463
+ image: string | null;
464
+ thumbnail: string | null;
465
+ author: string | null;
466
+ authorIcon: string | null;
467
+ fields: {
468
+ name: string;
469
+ value: string | null;
470
+ inline: boolean | null;
471
+ }[];
472
+ } | null;
473
+ buttons: {
474
+ title: string;
475
+ url: string | null;
476
+ emojiUnicodeOrId: string | null;
477
+ }[];
478
+ }, {
479
+ type: "clip" | "vod" | "kickLive" | "kickOffline" | "twitchLive" | "twitchOffline" | "rumbleLive" | "rumbleOffline" | "tiktokLive" | "tiktokOffline" | "tiktokVideo" | "youtubeLive" | "youtubeVideo";
480
+ webhook: {
481
+ enabled: boolean | null;
482
+ username: string | null;
483
+ avatarUrl: string | null;
484
+ } | null;
485
+ content: string | null;
486
+ embed: {
487
+ title: string | null;
488
+ description: string;
489
+ url: string | null;
490
+ color: string | null;
491
+ footer: string | null;
492
+ footerIcon: string | null;
493
+ image: string | null;
494
+ thumbnail: string | null;
495
+ author: string | null;
496
+ authorIcon: string | null;
497
+ fields: {
498
+ name: string;
499
+ value: string | null;
500
+ inline: boolean | null;
501
+ }[];
502
+ } | null;
503
+ buttons: {
504
+ title: string;
505
+ url: string | null;
506
+ emojiUnicodeOrId: string | null;
507
+ }[];
508
+ }>;
509
+ readonly RSStatsChannelIdSchema: z.ZodObject<{
510
+ isLive: z.ZodNullable<z.ZodString>;
511
+ }, "strip", z.ZodTypeAny, {
512
+ isLive: string | null;
513
+ }, {
514
+ isLive: string | null;
515
+ }>;
516
+ readonly RSCurrentlyLiveSchema: z.ZodObject<{
517
+ correct: z.ZodNullable<z.ZodBoolean>;
518
+ channelId: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
519
+ messageId: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
520
+ }, "strip", z.ZodTypeAny, {
521
+ channelId: string | null;
522
+ messageId: string | null;
523
+ correct: boolean | null;
524
+ }, {
525
+ channelId: string | null;
526
+ messageId: string | null;
527
+ correct: boolean | null;
528
+ }>;
529
+ };
530
+ export declare const RumbleStreamerZodPartial: PartialZodObject<typeof RumbleStreamerZod>;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RumbleStreamerZodPartial = exports.RumbleStreamerZod = void 0;
4
+ const schema_zod_1 = require("./schema.zod");
5
+ const zod_1 = require("./zod");
6
+ const zod_2 = require("zod");
7
+ const RumbleStreamerSchema = zod_2.z.object({
8
+ streamerUserName: zod_2.z.string(),
9
+ guildId: zod_1.SnowFlake,
10
+ type: schema_zod_1.RumbleTypeEnum,
11
+ deleteEmbeds: zod_2.z.boolean().nullable(),
12
+ sendOfflineMessage: zod_2.z.boolean().nullable(),
13
+ usePerStreamerEmbeds: zod_2.z.boolean().nullable(),
14
+ autoPublishIfAnnouncmentChannel: zod_2.z.boolean().nullable(),
15
+ customMessages: (0, zod_1.NoDuplicate)(zod_2.z.array(zod_2.z.lazy(() => RSCustomMessageSchema)), ['type']),
16
+ notificationChannelId: zod_1.SnowFlake.nullable(),
17
+ showNotifyButton: zod_2.z.boolean().nullable(),
18
+ pingRoleId: zod_1.SnowFlakeOrEveryone.nullable(),
19
+ customCoolDownBeforeNextLive: zod_2.z.number().min(0).max(360).nullable(),
20
+ liveRoleId: zod_1.SnowFlake.nullable(),
21
+ usersForLiveRole: (0, zod_1.NoDuplicate)(zod_2.z.array(zod_1.SnowFlake)),
22
+ usersWhoHaveLiveRole: (0, zod_1.NoDuplicate)(zod_2.z.array(zod_1.SnowFlake)),
23
+ statsChannelIds: zod_2.z.lazy(() => RSStatsChannelIdSchema).nullable(),
24
+ isCurrentlyLive: zod_2.z.lazy(() => RSCurrentlyLiveSchema).nullable(),
25
+ lastLive: zod_2.z.date().nullable(),
26
+ });
27
+ const RSCustomMessageSchema = zod_2.z.object({
28
+ type: schema_zod_1.StreamerMessageTypeEnum,
29
+ ...zod_1.CentralZod.Message(),
30
+ });
31
+ const RSStatsChannelIdSchema = zod_2.z.object({
32
+ isLive: zod_2.z.string().nullable(),
33
+ });
34
+ const RSCurrentlyLiveSchema = zod_2.z.object({
35
+ correct: zod_2.z.boolean().nullable(),
36
+ channelId: zod_1.SnowFlake.nullable(),
37
+ messageId: zod_1.SnowFlake.nullable(),
38
+ });
39
+ exports.RumbleStreamerZod = {
40
+ RumbleStreamerSchema,
41
+ RSCustomMessageSchema,
42
+ RSStatsChannelIdSchema,
43
+ RSCurrentlyLiveSchema,
44
+ };
45
+ exports.RumbleStreamerZodPartial = Object.fromEntries(Object.entries(exports.RumbleStreamerZod).map(([key, value]) => [key, (0, schema_zod_1.deepPartialify)(value)]));
@@ -0,0 +1,25 @@
1
+ import { z } from 'zod';
2
+ import { DeepPartial } from '../types';
3
+ export declare function deepPartialify(schema: z.ZodTypeAny): z.ZodTypeAny;
4
+ export type PartialZodObject<T extends {
5
+ [key: string]: z.ZodTypeAny;
6
+ }> = {
7
+ [K in keyof T]: z.ZodType<DeepPartial<z.infer<T[K]>>>;
8
+ };
9
+ export declare const LeaderBoardTypesEnum: z.ZodEnum<["weekly", "monthly", "overall"]>;
10
+ export declare const SingleMessageTypeEnum: z.ZodEnum<["autoLiveRoleAdded", "autoLiveRoleRemoved", "statusRoleAdded", "statusRoleRemoved", "statChannelLive", "statChannelOffline", "statFollowers"]>;
11
+ export declare const StreamerMessageTypeEnum: z.ZodEnum<["clip", "vod", "kickLive", "kickOffline", "twitchLive", "twitchOffline", "rumbleLive", "rumbleOffline", "tiktokLive", "tiktokOffline", "tiktokVideo", "youtubeLive", "youtubeVideo"]>;
12
+ export declare const GuildMessageTypeEnum: z.ZodEnum<["giveawayRerolled", "giveawayWinner", "giveawayEnded", "giveawayDM", "linkedRole", "giveaway", "birthday", "welcome", "leave", "clip", "vod", "kickLive", "kickOffline", "twitchLive", "twitchOffline", "rumbleLive", "rumbleOffline", "tiktokLive", "tiktokOffline", "tiktokVideo", "youtubeLive", "youtubeVideo"]>;
13
+ export declare const GuildSingleMessageTypeEnum: z.ZodEnum<["autoLiveRoleAdded", "autoLiveRoleRemoved", "statusRoleAdded", "statusRoleRemoved", "statChannelLive", "statChannelOffline", "statFollowers"]>;
14
+ export declare const OverridesEnum: z.ZodEnum<["autoPublish", "cancel", "dontPublish"]>;
15
+ export declare const PlatformEnum: z.ZodEnum<["kick", "twitch", "rumble", "tiktok", "youtube"]>;
16
+ export declare const ClipperCategoryEnum: z.ZodEnum<["vip", "sub", "mod", "broadcaster"]>;
17
+ export declare const UserMediaSharePermissionsEnum: z.ZodEnum<["vip", "sub", "mod", "broadcaster", "everyone"]>;
18
+ export declare const PlatformsWithVideosEnum: z.ZodEnum<["tiktok", "youtube"]>;
19
+ export declare const RumbleTypeEnum: z.ZodEnum<["channel", "user"]>;
20
+ export declare const QueryInEnum: z.ZodEnum<["title", "category", "description"]>;
21
+ export declare const FilterEnum: z.ZodEnum<["whitelist", "blacklist"]>;
22
+ export declare const MediaShareTypesEnum: z.ZodEnum<["tiktok", "youtube", "shorts"]>;
23
+ export declare const MediaShareCommandsEnum: z.ZodEnum<["request", "skip", "pause", "clear", "rban", "play", "mode", "runban"]>;
24
+ export declare const RoleBonusEnum: z.ZodEnum<["stackable", "highest"]>;
25
+ export declare const UserNotificationSeverityEnum: z.ZodEnum<["info", "warning", "emergency"]>;