@notidotbot/noti-api-client 1.9.33 → 1.9.36
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/classes/guildFishing.d.ts +11 -0
- package/dist/classes/guildGiveaway.d.ts +23 -0
- package/dist/classes/guildPlatform.d.ts +3 -3
- package/dist/classes/guildPlatform.js +2 -0
- package/dist/classes/guildPlatformAction.d.ts +2 -2
- package/dist/modules/stripe.js +1 -0
- package/dist/other/enums.d.ts +24 -0
- package/dist/other/enums.js +12 -0
- package/dist/other/prisma.d.ts +3 -0
- package/dist/other/zod/client.zod.d.ts +4 -0
- package/dist/other/zod/clipForward.zod.d.ts +15 -0
- package/dist/other/zod/clubStreamer.zod.d.ts +10 -0
- package/dist/other/zod/drops.zod.d.ts +2 -0
- package/dist/other/zod/guild.zod.d.ts +21 -0
- package/dist/other/zod/kickStreamer.zod.d.ts +10 -0
- package/dist/other/zod/rumbleStreamer.zod.d.ts +10 -0
- package/dist/other/zod/schema.zod.d.ts +12 -0
- package/dist/other/zod/schema.zod.js +12 -0
- package/dist/other/zod/tiktokStreamer.zod.d.ts +10 -0
- package/dist/other/zod/twitchStreamer.zod.d.ts +10 -0
- package/dist/other/zod/twitterStreamer.zod.d.ts +10 -0
- package/dist/other/zod/whatnotStreamer.zod.d.ts +151 -0
- package/dist/other/zod/whatnotStreamer.zod.js +44 -0
- package/dist/other/zod/youtubeStreamer.zod.d.ts +10 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/prisma/generated/ts-prisma.d.ts +4934 -0
- package/prisma/schema/models/whatnotStreamer.prisma +122 -0
- package/prisma/schema/schema.prisma +5 -0
|
@@ -643,6 +643,17 @@ export type GuildFishingLeaderboard = {
|
|
|
643
643
|
maxRows: number;
|
|
644
644
|
/** Null when the viewer is not on the board, which is the common case. */
|
|
645
645
|
viewerRank: number | null;
|
|
646
|
+
/**
|
|
647
|
+
* The viewer's OWN row, for pinning below the visible entries. A rank with no score cannot be
|
|
648
|
+
* rendered, which is what `viewerRank` alone gives you.
|
|
649
|
+
*
|
|
650
|
+
* NULL WHEN THEY ARE ALREADY IN `rows` - render this or their entry there, never both. Also null
|
|
651
|
+
* when they have no score on this axis or the owner has excluded them.
|
|
652
|
+
*
|
|
653
|
+
* `rank` here is competition ranking (`count(value > theirs) + 1`), so ties share a place. The page
|
|
654
|
+
* ranks by array index, so for tied values the two can differ by one.
|
|
655
|
+
*/
|
|
656
|
+
viewerRow: FishingBoardRow | null;
|
|
646
657
|
axes: FishingBoardAxis[];
|
|
647
658
|
scopes: FishingBoardScope[];
|
|
648
659
|
};
|
|
@@ -107,6 +107,29 @@ export type GuildGiveawaysType = {
|
|
|
107
107
|
data: GuildGiveawayCreateSchema;
|
|
108
108
|
shouldStartAt: Date;
|
|
109
109
|
}[];
|
|
110
|
+
/**
|
|
111
|
+
* The guild's effective giveaway caps, served rather than resolved by the caller.
|
|
112
|
+
*
|
|
113
|
+
* MINUTES, not hours: the create form's inputs are minutes, and hours would make every consumer
|
|
114
|
+
* convert. The `can*` flags come from the guild's FEATURE BITS rather than from the numbers -
|
|
115
|
+
* `maxScheduleAheadMinutes` is 0 on Free, and rendering that as a cap shows a "0 minutes" limit
|
|
116
|
+
* with no explanation. Gate the control on `canSchedule`; use the number only to bound the input.
|
|
117
|
+
*/
|
|
118
|
+
limits: {
|
|
119
|
+
maxDurationMinutes: number;
|
|
120
|
+
maxScheduleAheadMinutes: number;
|
|
121
|
+
maxRequirements: number;
|
|
122
|
+
canSchedule: boolean;
|
|
123
|
+
canLimitEntries: boolean;
|
|
124
|
+
canBonusEntries: boolean;
|
|
125
|
+
canRequirements: boolean;
|
|
126
|
+
canModifyWhileRunning: boolean;
|
|
127
|
+
};
|
|
128
|
+
/** Which tier those caps came from, so the UI can name the plan in a limit message. */
|
|
129
|
+
premium: {
|
|
130
|
+
tierId: string | null;
|
|
131
|
+
tierName: string | null;
|
|
132
|
+
};
|
|
110
133
|
};
|
|
111
134
|
export type GuildGiveawayEntriesType = GuildGiveaway['currentEntries'];
|
|
112
135
|
export type GuildGiveawayWithEntry = Omit<GuildGiveaway, 'currentEntries'> & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AllPlatforms, ClubStreamer, ClubStreamerZod, TwitterStreamer, TwitterStreamerZod, KickStreamer, KickStreamerZod, RumbleStreamer, RumbleStreamerZod, TikTokStreamer, TikTokStreamerZod, TwitchStreamer, TwitchStreamerZod, YouTubeStreamer, YouTubeStreamerZod } from '../other/prisma';
|
|
1
|
+
import { AllPlatforms, ClubStreamer, ClubStreamerZod, TwitterStreamer, TwitterStreamerZod, WhatnotStreamer, WhatnotStreamerZod, KickStreamer, KickStreamerZod, RumbleStreamer, RumbleStreamerZod, TikTokStreamer, TikTokStreamerZod, TwitchStreamer, TwitchStreamerZod, YouTubeStreamer, YouTubeStreamerZod } from '../other/prisma';
|
|
2
2
|
import { CancelOutWebResponses, DeepPartial } from '../types';
|
|
3
3
|
import { WebDataManager } from '../core/manager';
|
|
4
4
|
export declare class APIGuildPlatform {
|
|
@@ -77,8 +77,8 @@ export type UsersForLiveRole = {
|
|
|
77
77
|
id: string;
|
|
78
78
|
name: string;
|
|
79
79
|
}[];
|
|
80
|
-
export type GuildSingleStreamer<T extends AllPlatforms> = T extends 'kick' ? KickStreamerZod : T extends 'twitch' ? TwitchStreamerZod : T extends 'rumble' ? RumbleStreamerZod : T extends 'tiktok' ? TikTokStreamerZod : T extends 'youtube' ? YouTubeStreamerZod : T extends 'club' ? ClubStreamerZod : T extends 'twitter' ? TwitterStreamerZod : never;
|
|
81
|
-
export type GuildSingleStreamerWithFormatedRole<T extends AllPlatforms> = T extends 'kick' ? KickStreamer & UsersForLiveRole : T extends 'twitch' ? TwitchStreamer & UsersForLiveRole : T extends 'rumble' ? RumbleStreamer & UsersForLiveRole : T extends 'tiktok' ? TikTokStreamer & UsersForLiveRole : T extends 'youtube' ? YouTubeStreamerZod & UsersForLiveRole : T extends 'club' ? ClubStreamer & UsersForLiveRole : T extends 'twitter' ? TwitterStreamer & UsersForLiveRole : never;
|
|
80
|
+
export type GuildSingleStreamer<T extends AllPlatforms> = T extends 'kick' ? KickStreamerZod : T extends 'twitch' ? TwitchStreamerZod : T extends 'rumble' ? RumbleStreamerZod : T extends 'tiktok' ? TikTokStreamerZod : T extends 'youtube' ? YouTubeStreamerZod : T extends 'club' ? ClubStreamerZod : T extends 'whatnot' ? WhatnotStreamerZod : T extends 'twitter' ? TwitterStreamerZod : never;
|
|
81
|
+
export type GuildSingleStreamerWithFormatedRole<T extends AllPlatforms> = T extends 'kick' ? KickStreamer & UsersForLiveRole : T extends 'twitch' ? TwitchStreamer & UsersForLiveRole : T extends 'rumble' ? RumbleStreamer & UsersForLiveRole : T extends 'tiktok' ? TikTokStreamer & UsersForLiveRole : T extends 'youtube' ? YouTubeStreamerZod & UsersForLiveRole : T extends 'club' ? ClubStreamer & UsersForLiveRole : T extends 'whatnot' ? WhatnotStreamer & UsersForLiveRole : T extends 'twitter' ? TwitterStreamer & UsersForLiveRole : never;
|
|
82
82
|
export type Platformstreamers<T extends boolean, P extends AllPlatforms> = {
|
|
83
83
|
streamers: T extends true ? P extends 'kick' ? {
|
|
84
84
|
streamerUserName: string;
|
|
@@ -59,6 +59,8 @@ class APIGuildPlatform {
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
exports.APIGuildPlatform = APIGuildPlatform;
|
|
62
|
+
const _everyPlatformHasAStreamerType = true;
|
|
63
|
+
void _everyPlatformHasAStreamerType;
|
|
62
64
|
/**
|
|
63
65
|
* The only values `KickStreamer.thumbnailWaitSeconds` will accept, in seconds. `null` is the default.
|
|
64
66
|
*
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AllPlatforms, ClubStreamerZod, TwitterStreamerZod, KickStreamerZod, RumbleStreamerZod, TikTokStreamerZod, TwitchStreamerZod, YouTubeStreamerZod } from '../other/prisma';
|
|
1
|
+
import { AllPlatforms, ClubStreamerZod, TwitterStreamerZod, WhatnotStreamerZod, KickStreamerZod, RumbleStreamerZod, TikTokStreamerZod, TwitchStreamerZod, YouTubeStreamerZod } from '../other/prisma';
|
|
2
2
|
import { LeaderBoardTypesEnum, StreamerMessageTypeEnum } from '@prisma/client';
|
|
3
3
|
import { RumbleType } from './guildPlatform';
|
|
4
4
|
import { CancelOutWebResponses } from '../types';
|
|
@@ -80,7 +80,7 @@ export type PlatformActionReturnTypes = {
|
|
|
80
80
|
'deleteKickStreamerRolesRaw': Awaited<ReturnType<APIPlatformAction['deleteKickStreamerRoles']>>;
|
|
81
81
|
'deleteKickStreamerRolesSuccess': CancelOutWebResponses<Awaited<ReturnType<APIPlatformAction['deleteKickStreamerRoles']>>>;
|
|
82
82
|
};
|
|
83
|
-
export type StreamerUpdateMessage = (KickStreamerZod | TwitchStreamerZod | RumbleStreamerZod | TikTokStreamerZod | YouTubeStreamerZod | ClubStreamerZod | TwitterStreamerZod)['customMessages'][number];
|
|
83
|
+
export type StreamerUpdateMessage = (KickStreamerZod | TwitchStreamerZod | RumbleStreamerZod | TikTokStreamerZod | YouTubeStreamerZod | ClubStreamerZod | TwitterStreamerZod | WhatnotStreamerZod)['customMessages'][number];
|
|
84
84
|
export type KickRolesType = 'leaderboardSyncRoles' | 'giftedSubRoles';
|
|
85
85
|
export type KickRolesSubType<T extends KickRolesType> = T extends 'leaderboardSyncRoles' ? LeaderBoardTypesEnum : T extends 'giftedSubRoles' ? string : never;
|
|
86
86
|
export type KickRolesData<T extends KickRolesType> = T extends 'leaderboardSyncRoles' ? KickStreamerZod['leaderBoardSyncRoles'][number] : T extends 'giftedSubRoles' ? KickStreamerZod['giftedSubRoles'][number] : never;
|
package/dist/modules/stripe.js
CHANGED
package/dist/other/enums.d.ts
CHANGED
|
@@ -28,7 +28,12 @@ export declare const StreamerMessageTypeEnum: {
|
|
|
28
28
|
readonly tiktokVideo: "tiktokVideo";
|
|
29
29
|
readonly youtubeLive: "youtubeLive";
|
|
30
30
|
readonly youtubeVideo: "youtubeVideo";
|
|
31
|
+
readonly whatnotLive: "whatnotLive";
|
|
32
|
+
readonly whatnotOffline: "whatnotOffline";
|
|
31
33
|
readonly clubPost: "clubPost";
|
|
34
|
+
readonly twitterPost: "twitterPost";
|
|
35
|
+
readonly twitterLive: "twitterLive";
|
|
36
|
+
readonly twitterOffline: "twitterOffline";
|
|
32
37
|
};
|
|
33
38
|
export declare const GuildMessageTypeEnum: {
|
|
34
39
|
readonly giveawayRerolled: "giveawayRerolled";
|
|
@@ -55,7 +60,12 @@ export declare const GuildMessageTypeEnum: {
|
|
|
55
60
|
readonly tiktokVideo: "tiktokVideo";
|
|
56
61
|
readonly youtubeLive: "youtubeLive";
|
|
57
62
|
readonly youtubeVideo: "youtubeVideo";
|
|
63
|
+
readonly whatnotLive: "whatnotLive";
|
|
64
|
+
readonly whatnotOffline: "whatnotOffline";
|
|
58
65
|
readonly clubPost: "clubPost";
|
|
66
|
+
readonly twitterPost: "twitterPost";
|
|
67
|
+
readonly twitterLive: "twitterLive";
|
|
68
|
+
readonly twitterOffline: "twitterOffline";
|
|
59
69
|
};
|
|
60
70
|
export declare const GuildSingleMessageTypeEnum: {
|
|
61
71
|
readonly autoLiveRoleAdded: "autoLiveRoleAdded";
|
|
@@ -77,7 +87,9 @@ export declare const PlatformEnum: {
|
|
|
77
87
|
readonly rumble: "rumble";
|
|
78
88
|
readonly tiktok: "tiktok";
|
|
79
89
|
readonly youtube: "youtube";
|
|
90
|
+
readonly whatnot: "whatnot";
|
|
80
91
|
readonly club: "club";
|
|
92
|
+
readonly twitter: "twitter";
|
|
81
93
|
};
|
|
82
94
|
export declare const ClipperCategoryEnum: {
|
|
83
95
|
readonly vip: "vip";
|
|
@@ -177,7 +189,12 @@ export declare const $Enums: {
|
|
|
177
189
|
readonly tiktokVideo: "tiktokVideo";
|
|
178
190
|
readonly youtubeLive: "youtubeLive";
|
|
179
191
|
readonly youtubeVideo: "youtubeVideo";
|
|
192
|
+
readonly whatnotLive: "whatnotLive";
|
|
193
|
+
readonly whatnotOffline: "whatnotOffline";
|
|
180
194
|
readonly clubPost: "clubPost";
|
|
195
|
+
readonly twitterPost: "twitterPost";
|
|
196
|
+
readonly twitterLive: "twitterLive";
|
|
197
|
+
readonly twitterOffline: "twitterOffline";
|
|
181
198
|
};
|
|
182
199
|
readonly GuildMessageTypeEnum: {
|
|
183
200
|
readonly giveawayRerolled: "giveawayRerolled";
|
|
@@ -204,7 +221,12 @@ export declare const $Enums: {
|
|
|
204
221
|
readonly tiktokVideo: "tiktokVideo";
|
|
205
222
|
readonly youtubeLive: "youtubeLive";
|
|
206
223
|
readonly youtubeVideo: "youtubeVideo";
|
|
224
|
+
readonly whatnotLive: "whatnotLive";
|
|
225
|
+
readonly whatnotOffline: "whatnotOffline";
|
|
207
226
|
readonly clubPost: "clubPost";
|
|
227
|
+
readonly twitterPost: "twitterPost";
|
|
228
|
+
readonly twitterLive: "twitterLive";
|
|
229
|
+
readonly twitterOffline: "twitterOffline";
|
|
208
230
|
};
|
|
209
231
|
readonly GuildSingleMessageTypeEnum: {
|
|
210
232
|
readonly autoLiveRoleAdded: "autoLiveRoleAdded";
|
|
@@ -226,7 +248,9 @@ export declare const $Enums: {
|
|
|
226
248
|
readonly rumble: "rumble";
|
|
227
249
|
readonly tiktok: "tiktok";
|
|
228
250
|
readonly youtube: "youtube";
|
|
251
|
+
readonly whatnot: "whatnot";
|
|
229
252
|
readonly club: "club";
|
|
253
|
+
readonly twitter: "twitter";
|
|
230
254
|
};
|
|
231
255
|
readonly ClipperCategoryEnum: {
|
|
232
256
|
readonly vip: "vip";
|
package/dist/other/enums.js
CHANGED
|
@@ -34,7 +34,12 @@ exports.StreamerMessageTypeEnum = {
|
|
|
34
34
|
tiktokVideo: 'tiktokVideo',
|
|
35
35
|
youtubeLive: 'youtubeLive',
|
|
36
36
|
youtubeVideo: 'youtubeVideo',
|
|
37
|
+
whatnotLive: 'whatnotLive',
|
|
38
|
+
whatnotOffline: 'whatnotOffline',
|
|
37
39
|
clubPost: 'clubPost',
|
|
40
|
+
twitterPost: 'twitterPost',
|
|
41
|
+
twitterLive: 'twitterLive',
|
|
42
|
+
twitterOffline: 'twitterOffline',
|
|
38
43
|
};
|
|
39
44
|
exports.GuildMessageTypeEnum = {
|
|
40
45
|
giveawayRerolled: 'giveawayRerolled',
|
|
@@ -62,7 +67,12 @@ exports.GuildMessageTypeEnum = {
|
|
|
62
67
|
tiktokVideo: 'tiktokVideo',
|
|
63
68
|
youtubeLive: 'youtubeLive',
|
|
64
69
|
youtubeVideo: 'youtubeVideo',
|
|
70
|
+
whatnotLive: 'whatnotLive',
|
|
71
|
+
whatnotOffline: 'whatnotOffline',
|
|
65
72
|
clubPost: 'clubPost',
|
|
73
|
+
twitterPost: 'twitterPost',
|
|
74
|
+
twitterLive: 'twitterLive',
|
|
75
|
+
twitterOffline: 'twitterOffline',
|
|
66
76
|
};
|
|
67
77
|
exports.GuildSingleMessageTypeEnum = {
|
|
68
78
|
autoLiveRoleAdded: 'autoLiveRoleAdded',
|
|
@@ -84,7 +94,9 @@ exports.PlatformEnum = {
|
|
|
84
94
|
rumble: 'rumble',
|
|
85
95
|
tiktok: 'tiktok',
|
|
86
96
|
youtube: 'youtube',
|
|
97
|
+
whatnot: 'whatnot',
|
|
87
98
|
club: 'club',
|
|
99
|
+
twitter: 'twitter',
|
|
88
100
|
};
|
|
89
101
|
exports.ClipperCategoryEnum = {
|
|
90
102
|
vip: 'vip',
|
package/dist/other/prisma.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { TiktokStreamerZod } from './zod/tiktokStreamer.zod';
|
|
|
7
7
|
import { RumbleStreamerZod } from './zod/rumbleStreamer.zod';
|
|
8
8
|
import { ClubStreamerZod } from './zod/clubStreamer.zod';
|
|
9
9
|
import { TwitterStreamerZod } from './zod/twitterStreamer.zod';
|
|
10
|
+
import { WhatnotStreamerZod } from './zod/whatnotStreamer.zod';
|
|
10
11
|
import { KickStreamerZod } from './zod/kickStreamer.zod';
|
|
11
12
|
import { GuildStarboardZod } from './zod/starboard.zod';
|
|
12
13
|
import { GuildGiveawayZod } from './zod/giveaways.zod';
|
|
@@ -37,6 +38,7 @@ export type TikTokStreamer = TSPrisma.TSPrismaModelsFull['TiktokStreamer'];
|
|
|
37
38
|
export type YouTubeStreamer = TSPrisma.TSPrismaModelsFull['YoutubeStreamer'];
|
|
38
39
|
export type ClubStreamer = TSPrisma.TSPrismaModelsFull['ClubStreamer'];
|
|
39
40
|
export type TwitterStreamer = TSPrisma.TSPrismaModelsFull['TwitterStreamer'];
|
|
41
|
+
export type WhatnotStreamer = TSPrisma.TSPrismaModelsFull['WhatnotStreamer'];
|
|
40
42
|
export type GuildStarboard = TSPrisma.TSPrismaModelsFull['GuildStarboard'];
|
|
41
43
|
export type GuildGiveaway = TSPrisma.TSPrismaModelsFull['GuildGiveaway'];
|
|
42
44
|
export type GuildRolePanel = TSPrisma.TSPrismaModelsFull['GuildRolePanel'];
|
|
@@ -65,6 +67,7 @@ export type TikTokStreamerZod = z.infer<typeof TiktokStreamerZod.TiktokStreamerS
|
|
|
65
67
|
export type YouTubeStreamerZod = z.infer<typeof YoutubeStreamerZod.YoutubeStreamerSchema>;
|
|
66
68
|
export type ClubStreamerZod = z.infer<typeof ClubStreamerZod.ClubStreamerSchema>;
|
|
67
69
|
export type TwitterStreamerZod = z.infer<typeof TwitterStreamerZod.TwitterStreamerSchema>;
|
|
70
|
+
export type WhatnotStreamerZod = z.infer<typeof WhatnotStreamerZod.WhatnotStreamerSchema>;
|
|
68
71
|
export type GuildStarboardZod = z.infer<typeof GuildStarboardZod.GuildStarboardSchema>;
|
|
69
72
|
export type GuildGiveawayZod = z.infer<typeof GuildGiveawayZod.GuildGiveawaySchema>;
|
|
70
73
|
export type GuildGiveawayCreateSchema = z.infer<typeof GuildGiveawayZod.GuildGiveawayCreateSchema>;
|
|
@@ -53,7 +53,9 @@ export declare const ClientZod: {
|
|
|
53
53
|
rumble: "rumble";
|
|
54
54
|
tiktok: "tiktok";
|
|
55
55
|
youtube: "youtube";
|
|
56
|
+
whatnot: "whatnot";
|
|
56
57
|
club: "club";
|
|
58
|
+
twitter: "twitter";
|
|
57
59
|
}>;
|
|
58
60
|
}, z.core.$strip>>>;
|
|
59
61
|
twitchCredentials: z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
@@ -112,7 +114,9 @@ export declare const ClientZod: {
|
|
|
112
114
|
rumble: "rumble";
|
|
113
115
|
tiktok: "tiktok";
|
|
114
116
|
youtube: "youtube";
|
|
117
|
+
whatnot: "whatnot";
|
|
115
118
|
club: "club";
|
|
119
|
+
twitter: "twitter";
|
|
116
120
|
}>;
|
|
117
121
|
}, z.core.$strip>;
|
|
118
122
|
};
|
|
@@ -73,7 +73,12 @@ export declare const GuildClipForwardZod: {
|
|
|
73
73
|
tiktokVideo: "tiktokVideo";
|
|
74
74
|
youtubeLive: "youtubeLive";
|
|
75
75
|
youtubeVideo: "youtubeVideo";
|
|
76
|
+
whatnotLive: "whatnotLive";
|
|
77
|
+
whatnotOffline: "whatnotOffline";
|
|
76
78
|
clubPost: "clubPost";
|
|
79
|
+
twitterPost: "twitterPost";
|
|
80
|
+
twitterLive: "twitterLive";
|
|
81
|
+
twitterOffline: "twitterOffline";
|
|
77
82
|
}>;
|
|
78
83
|
}, z.core.$strip>>>;
|
|
79
84
|
lastClipAt: z.ZodNullable<z.ZodDate>;
|
|
@@ -147,7 +152,12 @@ export declare const GuildClipForwardZod: {
|
|
|
147
152
|
tiktokVideo: "tiktokVideo";
|
|
148
153
|
youtubeLive: "youtubeLive";
|
|
149
154
|
youtubeVideo: "youtubeVideo";
|
|
155
|
+
whatnotLive: "whatnotLive";
|
|
156
|
+
whatnotOffline: "whatnotOffline";
|
|
150
157
|
clubPost: "clubPost";
|
|
158
|
+
twitterPost: "twitterPost";
|
|
159
|
+
twitterLive: "twitterLive";
|
|
160
|
+
twitterOffline: "twitterOffline";
|
|
151
161
|
}>;
|
|
152
162
|
}, z.core.$strip>>>>;
|
|
153
163
|
lastClipAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
@@ -200,7 +210,12 @@ export declare const GuildClipForwardZod: {
|
|
|
200
210
|
tiktokVideo: "tiktokVideo";
|
|
201
211
|
youtubeLive: "youtubeLive";
|
|
202
212
|
youtubeVideo: "youtubeVideo";
|
|
213
|
+
whatnotLive: "whatnotLive";
|
|
214
|
+
whatnotOffline: "whatnotOffline";
|
|
203
215
|
clubPost: "clubPost";
|
|
216
|
+
twitterPost: "twitterPost";
|
|
217
|
+
twitterLive: "twitterLive";
|
|
218
|
+
twitterOffline: "twitterOffline";
|
|
204
219
|
}>;
|
|
205
220
|
}, z.core.$strip>;
|
|
206
221
|
};
|
|
@@ -57,7 +57,12 @@ export declare const ClubStreamerZod: {
|
|
|
57
57
|
tiktokVideo: "tiktokVideo";
|
|
58
58
|
youtubeLive: "youtubeLive";
|
|
59
59
|
youtubeVideo: "youtubeVideo";
|
|
60
|
+
whatnotLive: "whatnotLive";
|
|
61
|
+
whatnotOffline: "whatnotOffline";
|
|
60
62
|
clubPost: "clubPost";
|
|
63
|
+
twitterPost: "twitterPost";
|
|
64
|
+
twitterLive: "twitterLive";
|
|
65
|
+
twitterOffline: "twitterOffline";
|
|
61
66
|
}>;
|
|
62
67
|
}, z.core.$strip>>>;
|
|
63
68
|
notificationChannelId: z.ZodNullable<z.ZodString>;
|
|
@@ -114,7 +119,12 @@ export declare const ClubStreamerZod: {
|
|
|
114
119
|
tiktokVideo: "tiktokVideo";
|
|
115
120
|
youtubeLive: "youtubeLive";
|
|
116
121
|
youtubeVideo: "youtubeVideo";
|
|
122
|
+
whatnotLive: "whatnotLive";
|
|
123
|
+
whatnotOffline: "whatnotOffline";
|
|
117
124
|
clubPost: "clubPost";
|
|
125
|
+
twitterPost: "twitterPost";
|
|
126
|
+
twitterLive: "twitterLive";
|
|
127
|
+
twitterOffline: "twitterOffline";
|
|
118
128
|
}>;
|
|
119
129
|
}, z.core.$strip>;
|
|
120
130
|
};
|
|
@@ -92,7 +92,12 @@ export declare const GuildZod: {
|
|
|
92
92
|
tiktokVideo: "tiktokVideo";
|
|
93
93
|
youtubeLive: "youtubeLive";
|
|
94
94
|
youtubeVideo: "youtubeVideo";
|
|
95
|
+
whatnotLive: "whatnotLive";
|
|
96
|
+
whatnotOffline: "whatnotOffline";
|
|
95
97
|
clubPost: "clubPost";
|
|
98
|
+
twitterPost: "twitterPost";
|
|
99
|
+
twitterLive: "twitterLive";
|
|
100
|
+
twitterOffline: "twitterOffline";
|
|
96
101
|
}>;
|
|
97
102
|
messages: z.ZodArray<z.ZodString>;
|
|
98
103
|
}, z.core.$strip>>>;
|
|
@@ -137,7 +142,9 @@ export declare const GuildZod: {
|
|
|
137
142
|
rumble: "rumble";
|
|
138
143
|
tiktok: "tiktok";
|
|
139
144
|
youtube: "youtube";
|
|
145
|
+
whatnot: "whatnot";
|
|
140
146
|
club: "club";
|
|
147
|
+
twitter: "twitter";
|
|
141
148
|
}>>;
|
|
142
149
|
applyToStreamers: z.ZodArray<z.ZodString>;
|
|
143
150
|
filter: z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
@@ -169,7 +176,9 @@ export declare const GuildZod: {
|
|
|
169
176
|
rumble: "rumble";
|
|
170
177
|
tiktok: "tiktok";
|
|
171
178
|
youtube: "youtube";
|
|
179
|
+
whatnot: "whatnot";
|
|
172
180
|
club: "club";
|
|
181
|
+
twitter: "twitter";
|
|
173
182
|
}>>;
|
|
174
183
|
applyToStreamers: z.ZodArray<z.ZodString>;
|
|
175
184
|
durationMinutes: z.ZodNullable<z.ZodNumber>;
|
|
@@ -258,7 +267,12 @@ export declare const GuildZod: {
|
|
|
258
267
|
tiktokVideo: "tiktokVideo";
|
|
259
268
|
youtubeLive: "youtubeLive";
|
|
260
269
|
youtubeVideo: "youtubeVideo";
|
|
270
|
+
whatnotLive: "whatnotLive";
|
|
271
|
+
whatnotOffline: "whatnotOffline";
|
|
261
272
|
clubPost: "clubPost";
|
|
273
|
+
twitterPost: "twitterPost";
|
|
274
|
+
twitterLive: "twitterLive";
|
|
275
|
+
twitterOffline: "twitterOffline";
|
|
262
276
|
}>;
|
|
263
277
|
}, z.core.$strip>>>;
|
|
264
278
|
stickyMessages: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
@@ -398,7 +412,9 @@ export declare const GuildZod: {
|
|
|
398
412
|
rumble: "rumble";
|
|
399
413
|
tiktok: "tiktok";
|
|
400
414
|
youtube: "youtube";
|
|
415
|
+
whatnot: "whatnot";
|
|
401
416
|
club: "club";
|
|
417
|
+
twitter: "twitter";
|
|
402
418
|
}>>;
|
|
403
419
|
applyToStreamers: z.ZodArray<z.ZodString>;
|
|
404
420
|
durationMinutes: z.ZodNullable<z.ZodNumber>;
|
|
@@ -491,7 +507,12 @@ export declare const GuildZod: {
|
|
|
491
507
|
tiktokVideo: "tiktokVideo";
|
|
492
508
|
youtubeLive: "youtubeLive";
|
|
493
509
|
youtubeVideo: "youtubeVideo";
|
|
510
|
+
whatnotLive: "whatnotLive";
|
|
511
|
+
whatnotOffline: "whatnotOffline";
|
|
494
512
|
clubPost: "clubPost";
|
|
513
|
+
twitterPost: "twitterPost";
|
|
514
|
+
twitterLive: "twitterLive";
|
|
515
|
+
twitterOffline: "twitterOffline";
|
|
495
516
|
}>;
|
|
496
517
|
}, z.core.$strip>;
|
|
497
518
|
readonly GuildStickyMessageSchema: z.ZodObject<{
|
|
@@ -61,7 +61,12 @@ export declare const KickStreamerZod: {
|
|
|
61
61
|
tiktokVideo: "tiktokVideo";
|
|
62
62
|
youtubeLive: "youtubeLive";
|
|
63
63
|
youtubeVideo: "youtubeVideo";
|
|
64
|
+
whatnotLive: "whatnotLive";
|
|
65
|
+
whatnotOffline: "whatnotOffline";
|
|
64
66
|
clubPost: "clubPost";
|
|
67
|
+
twitterPost: "twitterPost";
|
|
68
|
+
twitterLive: "twitterLive";
|
|
69
|
+
twitterOffline: "twitterOffline";
|
|
65
70
|
}>;
|
|
66
71
|
}, z.core.$strip>>>;
|
|
67
72
|
clipEnabled: z.ZodNullable<z.ZodBoolean>;
|
|
@@ -179,7 +184,12 @@ export declare const KickStreamerZod: {
|
|
|
179
184
|
tiktokVideo: "tiktokVideo";
|
|
180
185
|
youtubeLive: "youtubeLive";
|
|
181
186
|
youtubeVideo: "youtubeVideo";
|
|
187
|
+
whatnotLive: "whatnotLive";
|
|
188
|
+
whatnotOffline: "whatnotOffline";
|
|
182
189
|
clubPost: "clubPost";
|
|
190
|
+
twitterPost: "twitterPost";
|
|
191
|
+
twitterLive: "twitterLive";
|
|
192
|
+
twitterOffline: "twitterOffline";
|
|
183
193
|
}>;
|
|
184
194
|
}, z.core.$strip>;
|
|
185
195
|
readonly KSRoleWithUsersSchema: z.ZodObject<{
|
|
@@ -63,7 +63,12 @@ export declare const RumbleStreamerZod: {
|
|
|
63
63
|
tiktokVideo: "tiktokVideo";
|
|
64
64
|
youtubeLive: "youtubeLive";
|
|
65
65
|
youtubeVideo: "youtubeVideo";
|
|
66
|
+
whatnotLive: "whatnotLive";
|
|
67
|
+
whatnotOffline: "whatnotOffline";
|
|
66
68
|
clubPost: "clubPost";
|
|
69
|
+
twitterPost: "twitterPost";
|
|
70
|
+
twitterLive: "twitterLive";
|
|
71
|
+
twitterOffline: "twitterOffline";
|
|
67
72
|
}>;
|
|
68
73
|
}, z.core.$strip>>>;
|
|
69
74
|
notificationChannelId: z.ZodNullable<z.ZodString>;
|
|
@@ -136,7 +141,12 @@ export declare const RumbleStreamerZod: {
|
|
|
136
141
|
tiktokVideo: "tiktokVideo";
|
|
137
142
|
youtubeLive: "youtubeLive";
|
|
138
143
|
youtubeVideo: "youtubeVideo";
|
|
144
|
+
whatnotLive: "whatnotLive";
|
|
145
|
+
whatnotOffline: "whatnotOffline";
|
|
139
146
|
clubPost: "clubPost";
|
|
147
|
+
twitterPost: "twitterPost";
|
|
148
|
+
twitterLive: "twitterLive";
|
|
149
|
+
twitterOffline: "twitterOffline";
|
|
140
150
|
}>;
|
|
141
151
|
}, z.core.$strip>;
|
|
142
152
|
readonly RSStatsChannelIdSchema: z.ZodObject<{
|
|
@@ -36,7 +36,12 @@ export declare const StreamerMessageTypeEnum: z.ZodEnum<{
|
|
|
36
36
|
tiktokVideo: "tiktokVideo";
|
|
37
37
|
youtubeLive: "youtubeLive";
|
|
38
38
|
youtubeVideo: "youtubeVideo";
|
|
39
|
+
whatnotLive: "whatnotLive";
|
|
40
|
+
whatnotOffline: "whatnotOffline";
|
|
39
41
|
clubPost: "clubPost";
|
|
42
|
+
twitterPost: "twitterPost";
|
|
43
|
+
twitterLive: "twitterLive";
|
|
44
|
+
twitterOffline: "twitterOffline";
|
|
40
45
|
}>;
|
|
41
46
|
export declare const GuildMessageTypeEnum: z.ZodEnum<{
|
|
42
47
|
birthday: "birthday";
|
|
@@ -63,7 +68,12 @@ export declare const GuildMessageTypeEnum: z.ZodEnum<{
|
|
|
63
68
|
tiktokVideo: "tiktokVideo";
|
|
64
69
|
youtubeLive: "youtubeLive";
|
|
65
70
|
youtubeVideo: "youtubeVideo";
|
|
71
|
+
whatnotLive: "whatnotLive";
|
|
72
|
+
whatnotOffline: "whatnotOffline";
|
|
66
73
|
clubPost: "clubPost";
|
|
74
|
+
twitterPost: "twitterPost";
|
|
75
|
+
twitterLive: "twitterLive";
|
|
76
|
+
twitterOffline: "twitterOffline";
|
|
67
77
|
}>;
|
|
68
78
|
export declare const GuildSingleMessageTypeEnum: z.ZodEnum<{
|
|
69
79
|
autoLiveRoleAdded: "autoLiveRoleAdded";
|
|
@@ -85,7 +95,9 @@ export declare const PlatformEnum: z.ZodEnum<{
|
|
|
85
95
|
rumble: "rumble";
|
|
86
96
|
tiktok: "tiktok";
|
|
87
97
|
youtube: "youtube";
|
|
98
|
+
whatnot: "whatnot";
|
|
88
99
|
club: "club";
|
|
100
|
+
twitter: "twitter";
|
|
89
101
|
}>;
|
|
90
102
|
export declare const ClipForwardPlatformEnum: z.ZodEnum<{
|
|
91
103
|
kick: "kick";
|
|
@@ -88,7 +88,12 @@ exports.StreamerMessageTypeEnum = zod_1.z.enum([
|
|
|
88
88
|
'tiktokVideo',
|
|
89
89
|
'youtubeLive',
|
|
90
90
|
'youtubeVideo',
|
|
91
|
+
'whatnotLive',
|
|
92
|
+
'whatnotOffline',
|
|
91
93
|
'clubPost',
|
|
94
|
+
'twitterPost',
|
|
95
|
+
'twitterLive',
|
|
96
|
+
'twitterOffline',
|
|
92
97
|
]);
|
|
93
98
|
exports.GuildMessageTypeEnum = zod_1.z.enum([
|
|
94
99
|
'giveawayRerolled',
|
|
@@ -115,7 +120,12 @@ exports.GuildMessageTypeEnum = zod_1.z.enum([
|
|
|
115
120
|
'tiktokVideo',
|
|
116
121
|
'youtubeLive',
|
|
117
122
|
'youtubeVideo',
|
|
123
|
+
'whatnotLive',
|
|
124
|
+
'whatnotOffline',
|
|
118
125
|
'clubPost',
|
|
126
|
+
'twitterPost',
|
|
127
|
+
'twitterLive',
|
|
128
|
+
'twitterOffline',
|
|
119
129
|
]);
|
|
120
130
|
exports.GuildSingleMessageTypeEnum = zod_1.z.enum([
|
|
121
131
|
'autoLiveRoleAdded',
|
|
@@ -137,7 +147,9 @@ exports.PlatformEnum = zod_1.z.enum([
|
|
|
137
147
|
'rumble',
|
|
138
148
|
'tiktok',
|
|
139
149
|
'youtube',
|
|
150
|
+
'whatnot',
|
|
140
151
|
'club',
|
|
152
|
+
'twitter',
|
|
141
153
|
]);
|
|
142
154
|
// Clip forwarding is only offered for Kick and Twitch — keep the enum (and the dashboard's platform
|
|
143
155
|
// list) restricted to those, not the full PlatformEnum.
|
|
@@ -59,7 +59,12 @@ export declare const TiktokStreamerZod: {
|
|
|
59
59
|
tiktokVideo: "tiktokVideo";
|
|
60
60
|
youtubeLive: "youtubeLive";
|
|
61
61
|
youtubeVideo: "youtubeVideo";
|
|
62
|
+
whatnotLive: "whatnotLive";
|
|
63
|
+
whatnotOffline: "whatnotOffline";
|
|
62
64
|
clubPost: "clubPost";
|
|
65
|
+
twitterPost: "twitterPost";
|
|
66
|
+
twitterLive: "twitterLive";
|
|
67
|
+
twitterOffline: "twitterOffline";
|
|
63
68
|
}>;
|
|
64
69
|
}, z.core.$strip>>>;
|
|
65
70
|
liveNotificationChannelId: z.ZodNullable<z.ZodString>;
|
|
@@ -129,7 +134,12 @@ export declare const TiktokStreamerZod: {
|
|
|
129
134
|
tiktokVideo: "tiktokVideo";
|
|
130
135
|
youtubeLive: "youtubeLive";
|
|
131
136
|
youtubeVideo: "youtubeVideo";
|
|
137
|
+
whatnotLive: "whatnotLive";
|
|
138
|
+
whatnotOffline: "whatnotOffline";
|
|
132
139
|
clubPost: "clubPost";
|
|
140
|
+
twitterPost: "twitterPost";
|
|
141
|
+
twitterLive: "twitterLive";
|
|
142
|
+
twitterOffline: "twitterOffline";
|
|
133
143
|
}>;
|
|
134
144
|
}, z.core.$strip>;
|
|
135
145
|
readonly TTSStatsChannelIdSchema: z.ZodObject<{
|
|
@@ -61,7 +61,12 @@ export declare const TwitchStreamerZod: {
|
|
|
61
61
|
tiktokVideo: "tiktokVideo";
|
|
62
62
|
youtubeLive: "youtubeLive";
|
|
63
63
|
youtubeVideo: "youtubeVideo";
|
|
64
|
+
whatnotLive: "whatnotLive";
|
|
65
|
+
whatnotOffline: "whatnotOffline";
|
|
64
66
|
clubPost: "clubPost";
|
|
67
|
+
twitterPost: "twitterPost";
|
|
68
|
+
twitterLive: "twitterLive";
|
|
69
|
+
twitterOffline: "twitterOffline";
|
|
65
70
|
}>;
|
|
66
71
|
}, z.core.$strip>>>;
|
|
67
72
|
notificationChannelId: z.ZodNullable<z.ZodString>;
|
|
@@ -129,7 +134,12 @@ export declare const TwitchStreamerZod: {
|
|
|
129
134
|
tiktokVideo: "tiktokVideo";
|
|
130
135
|
youtubeLive: "youtubeLive";
|
|
131
136
|
youtubeVideo: "youtubeVideo";
|
|
137
|
+
whatnotLive: "whatnotLive";
|
|
138
|
+
whatnotOffline: "whatnotOffline";
|
|
132
139
|
clubPost: "clubPost";
|
|
140
|
+
twitterPost: "twitterPost";
|
|
141
|
+
twitterLive: "twitterLive";
|
|
142
|
+
twitterOffline: "twitterOffline";
|
|
133
143
|
}>;
|
|
134
144
|
}, z.core.$strip>;
|
|
135
145
|
readonly TSStatsChannelIdSchema: z.ZodObject<{
|
|
@@ -58,7 +58,12 @@ export declare const TwitterStreamerZod: {
|
|
|
58
58
|
tiktokVideo: "tiktokVideo";
|
|
59
59
|
youtubeLive: "youtubeLive";
|
|
60
60
|
youtubeVideo: "youtubeVideo";
|
|
61
|
+
whatnotLive: "whatnotLive";
|
|
62
|
+
whatnotOffline: "whatnotOffline";
|
|
61
63
|
clubPost: "clubPost";
|
|
64
|
+
twitterPost: "twitterPost";
|
|
65
|
+
twitterLive: "twitterLive";
|
|
66
|
+
twitterOffline: "twitterOffline";
|
|
62
67
|
}>;
|
|
63
68
|
}, z.core.$strip>>>;
|
|
64
69
|
postNotificationChannelId: z.ZodNullable<z.ZodString>;
|
|
@@ -134,7 +139,12 @@ export declare const TwitterStreamerZod: {
|
|
|
134
139
|
tiktokVideo: "tiktokVideo";
|
|
135
140
|
youtubeLive: "youtubeLive";
|
|
136
141
|
youtubeVideo: "youtubeVideo";
|
|
142
|
+
whatnotLive: "whatnotLive";
|
|
143
|
+
whatnotOffline: "whatnotOffline";
|
|
137
144
|
clubPost: "clubPost";
|
|
145
|
+
twitterPost: "twitterPost";
|
|
146
|
+
twitterLive: "twitterLive";
|
|
147
|
+
twitterOffline: "twitterOffline";
|
|
138
148
|
}>;
|
|
139
149
|
}, z.core.$strip>;
|
|
140
150
|
readonly TWSStatsChannelIdSchema: z.ZodObject<{
|