@notidotbot/noti-api-client 1.4.11 → 1.4.13

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 (49) hide show
  1. package/dist/classes/guild.d.ts +27 -0
  2. package/dist/classes/guild.js +15 -0
  3. package/dist/classes/premium.d.ts +24 -0
  4. package/dist/classes/premium.js +6 -0
  5. package/dist/core/manager.d.ts +2 -0
  6. package/dist/core/manager.js +2 -0
  7. package/dist/index.d.ts +2 -0
  8. package/dist/index.js +2 -0
  9. package/dist/modules/stripe.js +1 -0
  10. package/dist/other/zod/client.zod.d.ts +56 -288
  11. package/dist/other/zod/client.zod.js +11 -0
  12. package/dist/other/zod/drops.zod.d.ts +26 -7
  13. package/dist/other/zod/drops.zod.js +13 -11
  14. package/dist/other/zod/giveaways.zod.d.ts +61 -322
  15. package/dist/other/zod/guild.zod.d.ts +260 -1431
  16. package/dist/other/zod/guild.zod.js +21 -4
  17. package/dist/other/zod/kickStreamer.zod.d.ts +116 -669
  18. package/dist/other/zod/kickStreamer.zod.js +3 -3
  19. package/dist/other/zod/member.zod.d.ts +2 -10
  20. package/dist/other/zod/r2Storage.zod.d.ts +9 -41
  21. package/dist/other/zod/r2Storage.zod.js +2 -0
  22. package/dist/other/zod/rumbleStreamer.zod.d.ts +63 -456
  23. package/dist/other/zod/schema.zod.d.ts +130 -17
  24. package/dist/other/zod/schema.zod.js +43 -21
  25. package/dist/other/zod/starboard.zod.d.ts +36 -138
  26. package/dist/other/zod/team.zod.d.ts +9 -79
  27. package/dist/other/zod/tiktokStreamer.zod.d.ts +59 -397
  28. package/dist/other/zod/twitchStreamer.zod.d.ts +58 -396
  29. package/dist/other/zod/user.zod.d.ts +123 -556
  30. package/dist/other/zod/youtubeStreamer.zod.d.ts +58 -398
  31. package/dist/other/zod/zod.d.ts +12 -83
  32. package/dist/other/zod/zod.js +5 -3
  33. package/dist/tsconfig.tsbuildinfo +1 -1
  34. package/package.json +2 -2
  35. package/prisma/generated/ts-prisma.d.ts +2942 -352
  36. package/prisma/schema/models/client.prisma +71 -53
  37. package/prisma/schema/models/drops.prisma +127 -125
  38. package/prisma/schema/models/giveaways.prisma +49 -49
  39. package/prisma/schema/models/guild.prisma +239 -222
  40. package/prisma/schema/models/kickStreamer.prisma +125 -125
  41. package/prisma/schema/models/member.prisma +5 -5
  42. package/prisma/schema/models/r2Storage.prisma +13 -11
  43. package/prisma/schema/models/rumbleStreamer.prisma +73 -73
  44. package/prisma/schema/models/starboard.prisma +36 -36
  45. package/prisma/schema/models/team.prisma +21 -21
  46. package/prisma/schema/models/tiktokStreamer.prisma +74 -74
  47. package/prisma/schema/models/twitchStreamer.prisma +74 -74
  48. package/prisma/schema/models/user.prisma +117 -117
  49. package/prisma/schema/models/youtubeStreamer.prisma +75 -75
@@ -7,14 +7,14 @@ export type KickStreamerRelations = 'db' | 'kickStreamer' | 'ksCustomMessage' |
7
7
  export declare const KickStreamerZod: {
8
8
  readonly KickStreamerSchema: z.ZodObject<{
9
9
  streamerUserName: z.ZodString;
10
- guildId: z.ZodEffects<z.ZodString, string, string>;
10
+ guildId: z.ZodString;
11
11
  streamerId: z.ZodNullable<z.ZodString>;
12
12
  chatRoomId: z.ZodNullable<z.ZodString>;
13
13
  deleteEmbeds: z.ZodNullable<z.ZodBoolean>;
14
14
  sendOfflineMessage: z.ZodNullable<z.ZodBoolean>;
15
15
  usePerStreamerEmbeds: z.ZodNullable<z.ZodBoolean>;
16
16
  autoPublishIfAnnouncmentChannel: z.ZodNullable<z.ZodBoolean>;
17
- customMessages: z.ZodEffects<z.ZodArray<z.ZodLazy<z.ZodObject<{
17
+ customMessages: z.ZodArray<z.ZodLazy<z.ZodObject<{
18
18
  content: z.ZodNullable<z.ZodString>;
19
19
  embed: z.ZodNullable<z.ZodLazy<z.ZodObject<{
20
20
  title: z.ZodNullable<z.ZodString>;
@@ -31,510 +31,104 @@ export declare const KickStreamerZod: {
31
31
  name: z.ZodString;
32
32
  value: z.ZodNullable<z.ZodString>;
33
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
- }>>>;
34
+ }, z.core.$strip>>>;
35
+ }, z.core.$strip>>>;
76
36
  buttons: z.ZodArray<z.ZodLazy<z.ZodObject<{
77
37
  title: z.ZodString;
78
38
  url: z.ZodNullable<z.ZodString>;
79
39
  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">;
40
+ }, z.core.$strip>>>;
89
41
  webhook: z.ZodNullable<z.ZodLazy<z.ZodObject<{
90
42
  enabled: z.ZodNullable<z.ZodBoolean>;
91
43
  username: z.ZodNullable<z.ZodString>;
92
44
  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
- type: "clip" | "vod" | "kickLive" | "kickOffline" | "twitchLive" | "twitchOffline" | "rumbleLive" | "rumbleOffline" | "tiktokLive" | "tiktokOffline" | "tiktokVideo" | "youtubeLive" | "youtubeVideo";
165
- webhook: {
166
- enabled: boolean | null;
167
- username: string | null;
168
- avatarUrl: string | null;
169
- } | null;
170
- content: string | null;
171
- embed: {
172
- title: string | null;
173
- description: string;
174
- url: string | null;
175
- color: string | null;
176
- footer: string | null;
177
- footerIcon: string | null;
178
- image: string | null;
179
- thumbnail: string | null;
180
- author: string | null;
181
- authorIcon: string | null;
182
- fields: {
183
- name: string;
184
- value: string | null;
185
- inline: boolean | null;
186
- }[];
187
- } | null;
188
- buttons: {
189
- title: string;
190
- url: string | null;
191
- emojiUnicodeOrId: string | null;
192
- }[];
193
- }[], {
194
- type: "clip" | "vod" | "kickLive" | "kickOffline" | "twitchLive" | "twitchOffline" | "rumbleLive" | "rumbleOffline" | "tiktokLive" | "tiktokOffline" | "tiktokVideo" | "youtubeLive" | "youtubeVideo";
195
- webhook: {
196
- enabled: boolean | null;
197
- username: string | null;
198
- avatarUrl: string | null;
199
- } | null;
200
- content: string | null;
201
- embed: {
202
- title: string | null;
203
- description: string;
204
- url: string | null;
205
- color: string | null;
206
- footer: string | null;
207
- footerIcon: string | null;
208
- image: string | null;
209
- thumbnail: string | null;
210
- author: string | null;
211
- authorIcon: string | null;
212
- fields: {
213
- name: string;
214
- value: string | null;
215
- inline: boolean | null;
216
- }[];
217
- } | null;
218
- buttons: {
219
- title: string;
220
- url: string | null;
221
- emojiUnicodeOrId: string | null;
222
- }[];
223
- }[]>;
45
+ }, z.core.$strip>>>;
46
+ type: z.ZodEnum<{
47
+ clip: "clip";
48
+ kickBuiltInClip: "kickBuiltInClip";
49
+ vod: "vod";
50
+ kickLive: "kickLive";
51
+ kickOffline: "kickOffline";
52
+ twitchLive: "twitchLive";
53
+ twitchOffline: "twitchOffline";
54
+ rumbleLive: "rumbleLive";
55
+ rumbleOffline: "rumbleOffline";
56
+ tiktokLive: "tiktokLive";
57
+ tiktokOffline: "tiktokOffline";
58
+ tiktokVideo: "tiktokVideo";
59
+ youtubeLive: "youtubeLive";
60
+ youtubeVideo: "youtubeVideo";
61
+ }>;
62
+ }, z.core.$strip>>>;
224
63
  clipEnabled: z.ZodNullable<z.ZodBoolean>;
225
- clipChannelId: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
226
- clipPingRoleId: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodLiteral<"everyone">, z.ZodLiteral<"here">]>>;
64
+ clipChannelId: z.ZodNullable<z.ZodString>;
65
+ clipPingRoleId: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"everyone">, z.ZodLiteral<"here">]>>;
227
66
  clipperNeedsAllCategories: z.ZodNullable<z.ZodBoolean>;
228
- clipperCategories: z.ZodEffects<z.ZodArray<z.ZodEnum<["vip", "sub", "mod", "broadcaster"]>, "many">, ("vip" | "sub" | "mod" | "broadcaster")[], ("vip" | "sub" | "mod" | "broadcaster")[]>;
229
- whitelistedClipperNames: z.ZodArray<z.ZodString, "many">;
230
- vodsChannelId: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
231
- vodsPingRoleId: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodLiteral<"everyone">, z.ZodLiteral<"here">]>>;
232
- notificationChannelId: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
233
- auditLogsChannelId: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
67
+ clipperCategories: z.ZodArray<z.ZodEnum<{
68
+ sub: "sub";
69
+ vip: "vip";
70
+ mod: "mod";
71
+ broadcaster: "broadcaster";
72
+ }>>;
73
+ whitelistedClipperNames: z.ZodArray<z.ZodString>;
74
+ builtInClipsEnabled: z.ZodNullable<z.ZodBoolean>;
75
+ builtInClipsChannelId: z.ZodNullable<z.ZodString>;
76
+ builtInClipsPingRoleId: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"everyone">, z.ZodLiteral<"here">]>>;
77
+ vodsChannelId: z.ZodNullable<z.ZodString>;
78
+ vodsPingRoleId: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"everyone">, z.ZodLiteral<"here">]>>;
79
+ notificationChannelId: z.ZodNullable<z.ZodString>;
80
+ auditLogsChannelId: z.ZodNullable<z.ZodString>;
234
81
  auditLogsEnabled: z.ZodNullable<z.ZodBoolean>;
235
82
  showNotifyButton: z.ZodNullable<z.ZodBoolean>;
236
- leaderBoardChannelId: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
83
+ leaderBoardChannelId: z.ZodNullable<z.ZodString>;
237
84
  leaderBoardMessageId: z.ZodNullable<z.ZodString>;
238
- leaderBoardTypes: z.ZodEffects<z.ZodArray<z.ZodEnum<["weekly", "monthly", "overall"]>, "many">, ("weekly" | "monthly" | "overall")[], ("weekly" | "monthly" | "overall")[]>;
239
- pingRoleId: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodLiteral<"everyone">, z.ZodLiteral<"here">]>>;
85
+ leaderBoardTypes: z.ZodArray<z.ZodEnum<{
86
+ weekly: "weekly";
87
+ monthly: "monthly";
88
+ overall: "overall";
89
+ }>>;
90
+ pingRoleId: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"everyone">, z.ZodLiteral<"here">]>>;
240
91
  enableVodDownloading: z.ZodNullable<z.ZodBoolean>;
241
92
  customCoolDownBeforeNextLive: z.ZodNullable<z.ZodNumber>;
242
- usersWhoHaveRole: z.ZodEffects<z.ZodArray<z.ZodLazy<z.ZodObject<{
243
- roleId: z.ZodEffects<z.ZodString, string, string>;
244
- userIds: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
245
- }, "strip", z.ZodTypeAny, {
246
- roleId: string;
247
- userIds: string[];
248
- }, {
249
- roleId: string;
250
- userIds: string[];
251
- }>>, "many">, {
252
- roleId: string;
253
- userIds: string[];
254
- }[], {
255
- roleId: string;
256
- userIds: string[];
257
- }[]>;
258
- leaderBoardSyncRoles: z.ZodEffects<z.ZodArray<z.ZodLazy<z.ZodObject<{
259
- type: z.ZodEnum<["weekly", "monthly", "overall"]>;
93
+ usersWhoHaveRole: z.ZodArray<z.ZodLazy<z.ZodObject<{
94
+ roleId: z.ZodString;
95
+ userIds: z.ZodArray<z.ZodString>;
96
+ }, z.core.$strip>>>;
97
+ leaderBoardSyncRoles: z.ZodArray<z.ZodLazy<z.ZodObject<{
98
+ type: z.ZodEnum<{
99
+ weekly: "weekly";
100
+ monthly: "monthly";
101
+ overall: "overall";
102
+ }>;
260
103
  roles: z.ZodArray<z.ZodLazy<z.ZodObject<{
261
- roleId: z.ZodEffects<z.ZodString, string, string>;
104
+ roleId: z.ZodString;
262
105
  position: z.ZodNumber;
263
- }, "strip", z.ZodTypeAny, {
264
- roleId: string;
265
- position: number;
266
- }, {
267
- roleId: string;
268
- position: number;
269
- }>>, "many">;
270
- }, "strip", z.ZodTypeAny, {
271
- type: "weekly" | "monthly" | "overall";
272
- roles: {
273
- roleId: string;
274
- position: number;
275
- }[];
276
- }, {
277
- type: "weekly" | "monthly" | "overall";
278
- roles: {
279
- roleId: string;
280
- position: number;
281
- }[];
282
- }>>, "many">, {
283
- type: "weekly" | "monthly" | "overall";
284
- roles: {
285
- roleId: string;
286
- position: number;
287
- }[];
288
- }[], {
289
- type: "weekly" | "monthly" | "overall";
290
- roles: {
291
- roleId: string;
292
- position: number;
293
- }[];
294
- }[]>;
295
- giftedSubRoles: z.ZodEffects<z.ZodArray<z.ZodLazy<z.ZodObject<{
296
- roleId: z.ZodEffects<z.ZodString, string, string>;
106
+ }, z.core.$strip>>>;
107
+ }, z.core.$strip>>>;
108
+ giftedSubRoles: z.ZodArray<z.ZodLazy<z.ZodObject<{
109
+ roleId: z.ZodString;
297
110
  giftedSubs: z.ZodNumber;
298
- }, "strip", z.ZodTypeAny, {
299
- roleId: string;
300
- giftedSubs: number;
301
- }, {
302
- roleId: string;
303
- giftedSubs: number;
304
- }>>, "many">, {
305
- roleId: string;
306
- giftedSubs: number;
307
- }[], {
308
- roleId: string;
309
- giftedSubs: number;
310
- }[]>;
311
- subscriberRoleId: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
312
- moderatorRoleId: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
313
- verifiedRoleId: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
314
- founderRoleId: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
315
- vipRoleId: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
316
- ogRoleId: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
317
- liveRoleId: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
318
- usersForLiveRole: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, string[], string[]>;
319
- usersWhoHaveLiveRole: z.ZodEffects<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">, string[], string[]>;
111
+ }, z.core.$strip>>>;
112
+ subscriberRoleId: z.ZodNullable<z.ZodString>;
113
+ moderatorRoleId: z.ZodNullable<z.ZodString>;
114
+ verifiedRoleId: z.ZodNullable<z.ZodString>;
115
+ founderRoleId: z.ZodNullable<z.ZodString>;
116
+ vipRoleId: z.ZodNullable<z.ZodString>;
117
+ ogRoleId: z.ZodNullable<z.ZodString>;
118
+ liveRoleId: z.ZodNullable<z.ZodString>;
119
+ usersForLiveRole: z.ZodArray<z.ZodString>;
120
+ usersWhoHaveLiveRole: z.ZodArray<z.ZodString>;
320
121
  statsChannelIds: z.ZodNullable<z.ZodLazy<z.ZodObject<{
321
122
  followers: z.ZodNullable<z.ZodString>;
322
123
  isLive: z.ZodNullable<z.ZodString>;
323
- }, "strip", z.ZodTypeAny, {
324
- followers: string | null;
325
- isLive: string | null;
326
- }, {
327
- followers: string | null;
328
- isLive: string | null;
329
- }>>>;
124
+ }, z.core.$strip>>>;
330
125
  isCurrentlyLive: z.ZodNullable<z.ZodLazy<z.ZodObject<{
331
126
  correct: z.ZodNullable<z.ZodBoolean>;
332
- channelId: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
333
- messageId: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
334
- }, "strip", z.ZodTypeAny, {
335
- channelId: string | null;
336
- messageId: string | null;
337
- correct: boolean | null;
338
- }, {
339
- channelId: string | null;
340
- messageId: string | null;
341
- correct: boolean | null;
342
- }>>>;
343
- builtInClipsEnabled: z.ZodNullable<z.ZodBoolean>;
344
- builtInClipsChannelId: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
345
- builtInClipsPingRoleId: z.ZodNullable<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodLiteral<"everyone">, z.ZodLiteral<"here">]>>;
127
+ channelId: z.ZodNullable<z.ZodString>;
128
+ messageId: z.ZodNullable<z.ZodString>;
129
+ }, z.core.$strip>>>;
346
130
  lastLive: z.ZodNullable<z.ZodDate>;
347
- }, "strip", z.ZodTypeAny, {
348
- guildId: string;
349
- streamerUserName: string;
350
- customMessages: {
351
- type: "clip" | "vod" | "kickLive" | "kickOffline" | "twitchLive" | "twitchOffline" | "rumbleLive" | "rumbleOffline" | "tiktokLive" | "tiktokOffline" | "tiktokVideo" | "youtubeLive" | "youtubeVideo";
352
- webhook: {
353
- enabled: boolean | null;
354
- username: string | null;
355
- avatarUrl: string | null;
356
- } | null;
357
- content: string | null;
358
- embed: {
359
- title: string | null;
360
- description: string;
361
- url: string | null;
362
- color: string | null;
363
- footer: string | null;
364
- footerIcon: string | null;
365
- image: string | null;
366
- thumbnail: string | null;
367
- author: string | null;
368
- authorIcon: string | null;
369
- fields: {
370
- name: string;
371
- value: string | null;
372
- inline: boolean | null;
373
- }[];
374
- } | null;
375
- buttons: {
376
- title: string;
377
- url: string | null;
378
- emojiUnicodeOrId: string | null;
379
- }[];
380
- }[];
381
- usersWhoHaveRole: {
382
- roleId: string;
383
- userIds: string[];
384
- }[];
385
- leaderBoardSyncRoles: {
386
- type: "weekly" | "monthly" | "overall";
387
- roles: {
388
- roleId: string;
389
- position: number;
390
- }[];
391
- }[];
392
- giftedSubRoles: {
393
- roleId: string;
394
- giftedSubs: number;
395
- }[];
396
- statsChannelIds: {
397
- followers: string | null;
398
- isLive: string | null;
399
- } | null;
400
- isCurrentlyLive: {
401
- channelId: string | null;
402
- messageId: string | null;
403
- correct: boolean | null;
404
- } | null;
405
- streamerId: string | null;
406
- chatRoomId: string | null;
407
- deleteEmbeds: boolean | null;
408
- sendOfflineMessage: boolean | null;
409
- usePerStreamerEmbeds: boolean | null;
410
- autoPublishIfAnnouncmentChannel: boolean | null;
411
- clipEnabled: boolean | null;
412
- clipChannelId: string | null;
413
- clipPingRoleId: string | null;
414
- clipperNeedsAllCategories: boolean | null;
415
- clipperCategories: ("vip" | "sub" | "mod" | "broadcaster")[];
416
- whitelistedClipperNames: string[];
417
- builtInClipsEnabled: boolean | null;
418
- builtInClipsChannelId: string | null;
419
- builtInClipsPingRoleId: string | null;
420
- vodsChannelId: string | null;
421
- vodsPingRoleId: string | null;
422
- notificationChannelId: string | null;
423
- auditLogsChannelId: string | null;
424
- auditLogsEnabled: boolean | null;
425
- showNotifyButton: boolean | null;
426
- leaderBoardChannelId: string | null;
427
- leaderBoardMessageId: string | null;
428
- leaderBoardTypes: ("weekly" | "monthly" | "overall")[];
429
- pingRoleId: string | null;
430
- enableVodDownloading: boolean | null;
431
- customCoolDownBeforeNextLive: number | null;
432
- subscriberRoleId: string | null;
433
- moderatorRoleId: string | null;
434
- verifiedRoleId: string | null;
435
- founderRoleId: string | null;
436
- vipRoleId: string | null;
437
- ogRoleId: string | null;
438
- liveRoleId: string | null;
439
- usersForLiveRole: string[];
440
- usersWhoHaveLiveRole: string[];
441
- lastLive: Date | null;
442
- }, {
443
- guildId: string;
444
- streamerUserName: string;
445
- customMessages: {
446
- type: "clip" | "vod" | "kickLive" | "kickOffline" | "twitchLive" | "twitchOffline" | "rumbleLive" | "rumbleOffline" | "tiktokLive" | "tiktokOffline" | "tiktokVideo" | "youtubeLive" | "youtubeVideo";
447
- webhook: {
448
- enabled: boolean | null;
449
- username: string | null;
450
- avatarUrl: string | null;
451
- } | null;
452
- content: string | null;
453
- embed: {
454
- title: string | null;
455
- description: string;
456
- url: string | null;
457
- color: string | null;
458
- footer: string | null;
459
- footerIcon: string | null;
460
- image: string | null;
461
- thumbnail: string | null;
462
- author: string | null;
463
- authorIcon: string | null;
464
- fields: {
465
- name: string;
466
- value: string | null;
467
- inline: boolean | null;
468
- }[];
469
- } | null;
470
- buttons: {
471
- title: string;
472
- url: string | null;
473
- emojiUnicodeOrId: string | null;
474
- }[];
475
- }[];
476
- usersWhoHaveRole: {
477
- roleId: string;
478
- userIds: string[];
479
- }[];
480
- leaderBoardSyncRoles: {
481
- type: "weekly" | "monthly" | "overall";
482
- roles: {
483
- roleId: string;
484
- position: number;
485
- }[];
486
- }[];
487
- giftedSubRoles: {
488
- roleId: string;
489
- giftedSubs: number;
490
- }[];
491
- statsChannelIds: {
492
- followers: string | null;
493
- isLive: string | null;
494
- } | null;
495
- isCurrentlyLive: {
496
- channelId: string | null;
497
- messageId: string | null;
498
- correct: boolean | null;
499
- } | null;
500
- streamerId: string | null;
501
- chatRoomId: string | null;
502
- deleteEmbeds: boolean | null;
503
- sendOfflineMessage: boolean | null;
504
- usePerStreamerEmbeds: boolean | null;
505
- autoPublishIfAnnouncmentChannel: boolean | null;
506
- clipEnabled: boolean | null;
507
- clipChannelId: string | null;
508
- clipPingRoleId: string | null;
509
- clipperNeedsAllCategories: boolean | null;
510
- clipperCategories: ("vip" | "sub" | "mod" | "broadcaster")[];
511
- whitelistedClipperNames: string[];
512
- builtInClipsEnabled: boolean | null;
513
- builtInClipsChannelId: string | null;
514
- builtInClipsPingRoleId: string | null;
515
- vodsChannelId: string | null;
516
- vodsPingRoleId: string | null;
517
- notificationChannelId: string | null;
518
- auditLogsChannelId: string | null;
519
- auditLogsEnabled: boolean | null;
520
- showNotifyButton: boolean | null;
521
- leaderBoardChannelId: string | null;
522
- leaderBoardMessageId: string | null;
523
- leaderBoardTypes: ("weekly" | "monthly" | "overall")[];
524
- pingRoleId: string | null;
525
- enableVodDownloading: boolean | null;
526
- customCoolDownBeforeNextLive: number | null;
527
- subscriberRoleId: string | null;
528
- moderatorRoleId: string | null;
529
- verifiedRoleId: string | null;
530
- founderRoleId: string | null;
531
- vipRoleId: string | null;
532
- ogRoleId: string | null;
533
- liveRoleId: string | null;
534
- usersForLiveRole: string[];
535
- usersWhoHaveLiveRole: string[];
536
- lastLive: Date | null;
537
- }>;
131
+ }, z.core.$strip>;
538
132
  readonly KSCustomMessageSchema: z.ZodObject<{
539
133
  content: z.ZodNullable<z.ZodString>;
540
134
  embed: z.ZodNullable<z.ZodLazy<z.ZodObject<{
@@ -552,213 +146,66 @@ export declare const KickStreamerZod: {
552
146
  name: z.ZodString;
553
147
  value: z.ZodNullable<z.ZodString>;
554
148
  inline: z.ZodNullable<z.ZodBoolean>;
555
- }, "strip", z.ZodTypeAny, {
556
- name: string;
557
- value: string | null;
558
- inline: boolean | null;
559
- }, {
560
- name: string;
561
- value: string | null;
562
- inline: boolean | null;
563
- }>>, "many">;
564
- }, "strip", z.ZodTypeAny, {
565
- title: string | null;
566
- description: string;
567
- url: string | null;
568
- color: string | null;
569
- footer: string | null;
570
- footerIcon: string | null;
571
- image: string | null;
572
- thumbnail: string | null;
573
- author: string | null;
574
- authorIcon: string | null;
575
- fields: {
576
- name: string;
577
- value: string | null;
578
- inline: boolean | null;
579
- }[];
580
- }, {
581
- title: string | null;
582
- description: string;
583
- url: string | null;
584
- color: string | null;
585
- footer: string | null;
586
- footerIcon: string | null;
587
- image: string | null;
588
- thumbnail: string | null;
589
- author: string | null;
590
- authorIcon: string | null;
591
- fields: {
592
- name: string;
593
- value: string | null;
594
- inline: boolean | null;
595
- }[];
596
- }>>>;
149
+ }, z.core.$strip>>>;
150
+ }, z.core.$strip>>>;
597
151
  buttons: z.ZodArray<z.ZodLazy<z.ZodObject<{
598
152
  title: z.ZodString;
599
153
  url: z.ZodNullable<z.ZodString>;
600
154
  emojiUnicodeOrId: z.ZodNullable<z.ZodString>;
601
- }, "strip", z.ZodTypeAny, {
602
- title: string;
603
- url: string | null;
604
- emojiUnicodeOrId: string | null;
605
- }, {
606
- title: string;
607
- url: string | null;
608
- emojiUnicodeOrId: string | null;
609
- }>>, "many">;
155
+ }, z.core.$strip>>>;
610
156
  webhook: z.ZodNullable<z.ZodLazy<z.ZodObject<{
611
157
  enabled: z.ZodNullable<z.ZodBoolean>;
612
158
  username: z.ZodNullable<z.ZodString>;
613
159
  avatarUrl: z.ZodNullable<z.ZodString>;
614
- }, "strip", z.ZodTypeAny, {
615
- enabled: boolean | null;
616
- username: string | null;
617
- avatarUrl: string | null;
618
- }, {
619
- enabled: boolean | null;
620
- username: string | null;
621
- avatarUrl: string | null;
622
- }>>>;
623
- type: z.ZodEnum<["clip", "vod", "kickLive", "kickOffline", "twitchLive", "twitchOffline", "rumbleLive", "rumbleOffline", "tiktokLive", "tiktokOffline", "tiktokVideo", "youtubeLive", "youtubeVideo"]>;
624
- }, "strip", z.ZodTypeAny, {
625
- type: "clip" | "vod" | "kickLive" | "kickOffline" | "twitchLive" | "twitchOffline" | "rumbleLive" | "rumbleOffline" | "tiktokLive" | "tiktokOffline" | "tiktokVideo" | "youtubeLive" | "youtubeVideo";
626
- webhook: {
627
- enabled: boolean | null;
628
- username: string | null;
629
- avatarUrl: string | null;
630
- } | null;
631
- content: string | null;
632
- embed: {
633
- title: string | null;
634
- description: string;
635
- url: string | null;
636
- color: string | null;
637
- footer: string | null;
638
- footerIcon: string | null;
639
- image: string | null;
640
- thumbnail: string | null;
641
- author: string | null;
642
- authorIcon: string | null;
643
- fields: {
644
- name: string;
645
- value: string | null;
646
- inline: boolean | null;
647
- }[];
648
- } | null;
649
- buttons: {
650
- title: string;
651
- url: string | null;
652
- emojiUnicodeOrId: string | null;
653
- }[];
654
- }, {
655
- type: "clip" | "vod" | "kickLive" | "kickOffline" | "twitchLive" | "twitchOffline" | "rumbleLive" | "rumbleOffline" | "tiktokLive" | "tiktokOffline" | "tiktokVideo" | "youtubeLive" | "youtubeVideo";
656
- webhook: {
657
- enabled: boolean | null;
658
- username: string | null;
659
- avatarUrl: string | null;
660
- } | null;
661
- content: string | null;
662
- embed: {
663
- title: string | null;
664
- description: string;
665
- url: string | null;
666
- color: string | null;
667
- footer: string | null;
668
- footerIcon: string | null;
669
- image: string | null;
670
- thumbnail: string | null;
671
- author: string | null;
672
- authorIcon: string | null;
673
- fields: {
674
- name: string;
675
- value: string | null;
676
- inline: boolean | null;
677
- }[];
678
- } | null;
679
- buttons: {
680
- title: string;
681
- url: string | null;
682
- emojiUnicodeOrId: string | null;
683
- }[];
684
- }>;
160
+ }, z.core.$strip>>>;
161
+ type: z.ZodEnum<{
162
+ clip: "clip";
163
+ kickBuiltInClip: "kickBuiltInClip";
164
+ vod: "vod";
165
+ kickLive: "kickLive";
166
+ kickOffline: "kickOffline";
167
+ twitchLive: "twitchLive";
168
+ twitchOffline: "twitchOffline";
169
+ rumbleLive: "rumbleLive";
170
+ rumbleOffline: "rumbleOffline";
171
+ tiktokLive: "tiktokLive";
172
+ tiktokOffline: "tiktokOffline";
173
+ tiktokVideo: "tiktokVideo";
174
+ youtubeLive: "youtubeLive";
175
+ youtubeVideo: "youtubeVideo";
176
+ }>;
177
+ }, z.core.$strip>;
685
178
  readonly KSRoleWithUsersSchema: z.ZodObject<{
686
- roleId: z.ZodEffects<z.ZodString, string, string>;
687
- userIds: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
688
- }, "strip", z.ZodTypeAny, {
689
- roleId: string;
690
- userIds: string[];
691
- }, {
692
- roleId: string;
693
- userIds: string[];
694
- }>;
179
+ roleId: z.ZodString;
180
+ userIds: z.ZodArray<z.ZodString>;
181
+ }, z.core.$strip>;
695
182
  readonly KSLeaderBoardSyncRoleSchema: z.ZodObject<{
696
- type: z.ZodEnum<["weekly", "monthly", "overall"]>;
183
+ type: z.ZodEnum<{
184
+ weekly: "weekly";
185
+ monthly: "monthly";
186
+ overall: "overall";
187
+ }>;
697
188
  roles: z.ZodArray<z.ZodLazy<z.ZodObject<{
698
- roleId: z.ZodEffects<z.ZodString, string, string>;
189
+ roleId: z.ZodString;
699
190
  position: z.ZodNumber;
700
- }, "strip", z.ZodTypeAny, {
701
- roleId: string;
702
- position: number;
703
- }, {
704
- roleId: string;
705
- position: number;
706
- }>>, "many">;
707
- }, "strip", z.ZodTypeAny, {
708
- type: "weekly" | "monthly" | "overall";
709
- roles: {
710
- roleId: string;
711
- position: number;
712
- }[];
713
- }, {
714
- type: "weekly" | "monthly" | "overall";
715
- roles: {
716
- roleId: string;
717
- position: number;
718
- }[];
719
- }>;
191
+ }, z.core.$strip>>>;
192
+ }, z.core.$strip>;
720
193
  readonly KSLeaderBoardRoleSchema: z.ZodObject<{
721
- roleId: z.ZodEffects<z.ZodString, string, string>;
194
+ roleId: z.ZodString;
722
195
  position: z.ZodNumber;
723
- }, "strip", z.ZodTypeAny, {
724
- roleId: string;
725
- position: number;
726
- }, {
727
- roleId: string;
728
- position: number;
729
- }>;
196
+ }, z.core.$strip>;
730
197
  readonly KSGiftedSubRoleSchema: z.ZodObject<{
731
- roleId: z.ZodEffects<z.ZodString, string, string>;
198
+ roleId: z.ZodString;
732
199
  giftedSubs: z.ZodNumber;
733
- }, "strip", z.ZodTypeAny, {
734
- roleId: string;
735
- giftedSubs: number;
736
- }, {
737
- roleId: string;
738
- giftedSubs: number;
739
- }>;
200
+ }, z.core.$strip>;
740
201
  readonly KSStatsChannelIdSchema: z.ZodObject<{
741
202
  followers: z.ZodNullable<z.ZodString>;
742
203
  isLive: z.ZodNullable<z.ZodString>;
743
- }, "strip", z.ZodTypeAny, {
744
- followers: string | null;
745
- isLive: string | null;
746
- }, {
747
- followers: string | null;
748
- isLive: string | null;
749
- }>;
204
+ }, z.core.$strip>;
750
205
  readonly KSCurrentlyLiveSchema: z.ZodObject<{
751
206
  correct: z.ZodNullable<z.ZodBoolean>;
752
- channelId: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
753
- messageId: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
754
- }, "strip", z.ZodTypeAny, {
755
- channelId: string | null;
756
- messageId: string | null;
757
- correct: boolean | null;
758
- }, {
759
- channelId: string | null;
760
- messageId: string | null;
761
- correct: boolean | null;
762
- }>;
207
+ channelId: z.ZodNullable<z.ZodString>;
208
+ messageId: z.ZodNullable<z.ZodString>;
209
+ }, z.core.$strip>;
763
210
  };
764
211
  export declare const KickStreamerZodPartial: PartialZodObject<typeof KickStreamerZod>;