@notidotbot/noti-api-client 1.9.117 → 1.9.119
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/@me.d.ts +83 -0
- package/dist/classes/@me.js +37 -0
- package/dist/classes/client.d.ts +2 -2
- package/dist/classes/guild.d.ts +14 -0
- package/dist/classes/guild.js +11 -0
- package/dist/classes/guildClipForward.d.ts +18 -18
- package/dist/classes/guildEmojis.d.ts +28 -34
- package/dist/classes/guildEmojis.js +11 -10
- package/dist/classes/guildRolePanel.d.ts +14 -14
- package/dist/classes/guildStarboard.d.ts +1 -1
- package/dist/other/bitfields.d.ts +11 -2
- package/dist/other/bitfields.js +6 -0
- package/dist/other/features.d.ts +1 -1
- package/dist/other/features.js +1 -0
- package/dist/other/types.d.ts +2 -0
- package/dist/other/zod/gameConfig.zod.d.ts +9 -9
- package/dist/other/zod/guild.zod.d.ts +19 -0
- package/dist/other/zod/guild.zod.js +13 -0
- package/dist/other/zod/kickStreamer.zod.d.ts +9 -0
- package/dist/other/zod/kickStreamer.zod.js +2 -0
- package/dist/other/zod/rolePanels.zod.d.ts +2 -2
- package/dist/other/zod/rumbleStreamer.zod.d.ts +1 -1
- package/dist/other/zod/scheduledMessage.zod.d.ts +4 -4
- package/dist/other/zod/schema.zod.d.ts +5 -5
- package/dist/other/zod/user.zod.d.ts +2 -0
- package/dist/other/zod/user.zod.js +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/prisma/generated/ts-prisma.d.ts +43 -0
- package/prisma/schema/models/guild.prisma +18 -0
- package/prisma/schema/models/kickBadge.prisma +24 -0
- package/prisma/schema/models/kickStreamer.prisma +2 -0
- package/prisma/schema/models/user.prisma +5 -0
|
@@ -142,6 +142,9 @@ export declare const GuildFeatures: {
|
|
|
142
142
|
RssAutoThread: bigint;
|
|
143
143
|
FixUrlDeleteWithOriginal: bigint;
|
|
144
144
|
LongBirthdayPanel: bigint;
|
|
145
|
+
KickBadgeAutoSync: bigint;
|
|
146
|
+
KickJoinGate: bigint;
|
|
147
|
+
KickBadgeAntiAbuse: bigint;
|
|
145
148
|
};
|
|
146
149
|
export declare const GuildFeaturesText: Record<keyof typeof GuildFeatures, string>;
|
|
147
150
|
export declare const UserFeatures: {
|
|
@@ -272,8 +275,11 @@ export declare class GuildFeaturesManager extends BitFieldManager<typeof GuildFe
|
|
|
272
275
|
RssAutoThread: bigint;
|
|
273
276
|
FixUrlDeleteWithOriginal: bigint;
|
|
274
277
|
LongBirthdayPanel: bigint;
|
|
278
|
+
KickBadgeAutoSync: bigint;
|
|
279
|
+
KickJoinGate: bigint;
|
|
280
|
+
KickBadgeAntiAbuse: bigint;
|
|
275
281
|
};
|
|
276
|
-
t: Record<"
|
|
282
|
+
t: Record<"StickyMessages" | "LinkedRoles" | "StatusRoles" | "Starboards" | "KickClips" | "StatCounters" | "BaseSyncableRoles" | "FullSyncableRoles" | "LiveRole" | "VoteSkipping" | "KickAuditLogs" | "LeaderboardCommand" | "RefreshingLeaderboard" | "LeaderBoardSyncRoles" | "BetaAccess" | "PriorityNotifications" | "KickNotifications" | "TwitchNotifications" | "ImportEmojis" | "ImportEmojisWithSub" | "CustomWebhooks" | "AnyMessageEditor" | "SyncSocialUsernames" | "AutoDeleteNotifications" | "TestNotificationCommand" | "CustomCooldowns" | "WelcomeAndLeaveNotifications" | "NotificationPingRoleId" | "SwitchStreamerAndGuildEmbeds" | "BirthdayNotifications" | "AllowNotSendingOfflineNotifications" | "AutoStatusLiveRoles" | "RumbleNotifications" | "AllowAutoPublishNotifications" | "NotificationOverrides" | "UseCustomButtons" | "AllowVodFeatures" | "TikTokNotifications" | "ManageBranding" | "CustomStarboards" | "AutoThreadOnStarboard" | "StarboardRewardRole" | "Giveaways" | "GiveawayLogs" | "ModifyGiveawayWhileRunning" | "ScheduleGiveaways" | "GiveawayRequirements" | "GiveawayBonusEntries" | "GiveawayEntryLimit" | "DisableDoubleVoteEntry" | "YouTubeNotifications" | "RandomMessages" | "WeeklyBirthdayPanel" | "GameNotifications" | "GameCategoryRouting" | "GameAllTimeLowAlerts" | "GameChangelogs" | "GameRobloxTracking" | "FixUrlWebhook" | "FixUrlCustomRules" | "KickClipperSubscribe" | "WhatnotNotifications" | "ScheduledEventMessages" | "ScheduledMessageWebhooks" | "ReactionRoles" | "AdvancedRolePanels" | "KickClipForwarding" | "TwitchClipForwarding" | "ClubNotifications" | "RolePanelWebhooks" | "Fishing" | "FishingCustomization" | "FishingWebhooks" | "StreamRoles" | "RoleFilters" | "TwitterNotifications" | "TwitterLiveNotifications" | "BadgeAllGames" | "AutoRoles" | "AutoRoleTimers" | "AutoRoleInvites" | "StickyMessageRoleFilters" | "GiveawayClaims" | "GiveawayWinnerRole" | "InfluencerPanel" | "InfluencerPanelPremium" | "InfluencerPanelPlus" | "StatusRoleKeepOnOffline" | "YouTubeReplayChannel" | "LivePostUpdates" | "MultiDestination" | "InGameRewards" | "BoostNotifications" | "BoostLogsAndStreaks" | "BoostBoard" | "UnlimitedEmojiRepositions" | "BirthdayPostOptions" | "JoinAnniversaries" | "ScheduledStreams" | "RssNotifications" | "RssAutoThread" | "FixUrlDeleteWithOriginal" | "LongBirthdayPanel" | "KickBadgeAutoSync" | "KickJoinGate" | "KickBadgeAntiAbuse", string>;
|
|
277
283
|
all: bigint;
|
|
278
284
|
static b: {
|
|
279
285
|
BaseSyncableRoles: bigint;
|
|
@@ -379,8 +385,11 @@ export declare class GuildFeaturesManager extends BitFieldManager<typeof GuildFe
|
|
|
379
385
|
RssAutoThread: bigint;
|
|
380
386
|
FixUrlDeleteWithOriginal: bigint;
|
|
381
387
|
LongBirthdayPanel: bigint;
|
|
388
|
+
KickBadgeAutoSync: bigint;
|
|
389
|
+
KickJoinGate: bigint;
|
|
390
|
+
KickBadgeAntiAbuse: bigint;
|
|
382
391
|
};
|
|
383
|
-
static t: Record<"
|
|
392
|
+
static t: Record<"StickyMessages" | "LinkedRoles" | "StatusRoles" | "Starboards" | "KickClips" | "StatCounters" | "BaseSyncableRoles" | "FullSyncableRoles" | "LiveRole" | "VoteSkipping" | "KickAuditLogs" | "LeaderboardCommand" | "RefreshingLeaderboard" | "LeaderBoardSyncRoles" | "BetaAccess" | "PriorityNotifications" | "KickNotifications" | "TwitchNotifications" | "ImportEmojis" | "ImportEmojisWithSub" | "CustomWebhooks" | "AnyMessageEditor" | "SyncSocialUsernames" | "AutoDeleteNotifications" | "TestNotificationCommand" | "CustomCooldowns" | "WelcomeAndLeaveNotifications" | "NotificationPingRoleId" | "SwitchStreamerAndGuildEmbeds" | "BirthdayNotifications" | "AllowNotSendingOfflineNotifications" | "AutoStatusLiveRoles" | "RumbleNotifications" | "AllowAutoPublishNotifications" | "NotificationOverrides" | "UseCustomButtons" | "AllowVodFeatures" | "TikTokNotifications" | "ManageBranding" | "CustomStarboards" | "AutoThreadOnStarboard" | "StarboardRewardRole" | "Giveaways" | "GiveawayLogs" | "ModifyGiveawayWhileRunning" | "ScheduleGiveaways" | "GiveawayRequirements" | "GiveawayBonusEntries" | "GiveawayEntryLimit" | "DisableDoubleVoteEntry" | "YouTubeNotifications" | "RandomMessages" | "WeeklyBirthdayPanel" | "GameNotifications" | "GameCategoryRouting" | "GameAllTimeLowAlerts" | "GameChangelogs" | "GameRobloxTracking" | "FixUrlWebhook" | "FixUrlCustomRules" | "KickClipperSubscribe" | "WhatnotNotifications" | "ScheduledEventMessages" | "ScheduledMessageWebhooks" | "ReactionRoles" | "AdvancedRolePanels" | "KickClipForwarding" | "TwitchClipForwarding" | "ClubNotifications" | "RolePanelWebhooks" | "Fishing" | "FishingCustomization" | "FishingWebhooks" | "StreamRoles" | "RoleFilters" | "TwitterNotifications" | "TwitterLiveNotifications" | "BadgeAllGames" | "AutoRoles" | "AutoRoleTimers" | "AutoRoleInvites" | "StickyMessageRoleFilters" | "GiveawayClaims" | "GiveawayWinnerRole" | "InfluencerPanel" | "InfluencerPanelPremium" | "InfluencerPanelPlus" | "StatusRoleKeepOnOffline" | "YouTubeReplayChannel" | "LivePostUpdates" | "MultiDestination" | "InGameRewards" | "BoostNotifications" | "BoostLogsAndStreaks" | "BoostBoard" | "UnlimitedEmojiRepositions" | "BirthdayPostOptions" | "JoinAnniversaries" | "ScheduledStreams" | "RssNotifications" | "RssAutoThread" | "FixUrlDeleteWithOriginal" | "LongBirthdayPanel" | "KickBadgeAutoSync" | "KickJoinGate" | "KickBadgeAntiAbuse", string>;
|
|
384
393
|
static all: bigint;
|
|
385
394
|
convertBitToField<T extends EnumValues<typeof GuildFeatures>>(bit: T): string | null;
|
|
386
395
|
}
|
package/dist/other/bitfields.js
CHANGED
|
@@ -254,6 +254,9 @@ exports.GuildFeatures = {
|
|
|
254
254
|
RssAutoThread: 1n << 101n, // Premium Plus: open a thread on every RSS feed post.
|
|
255
255
|
FixUrlDeleteWithOriginal: 1n << 102n, // Premium Plus: delete the Fix URL repost when the original message is deleted.
|
|
256
256
|
LongBirthdayPanel: 1n << 103n, // Premium Plus: upcoming birthday panel for the next 90 days or everyone.
|
|
257
|
+
KickBadgeAutoSync: 1n << 104n, // Premium: Kick badge roles kept up to date - instant sub role, rechecks, grace.
|
|
258
|
+
KickJoinGate: 1n << 105n, // Premium Plus: fans with the required Kick badge join the server through the link.
|
|
259
|
+
KickBadgeAntiAbuse: 1n << 106n, // Premium Plus: Kick account switch rule, minimum Discord / follow age.
|
|
257
260
|
};
|
|
258
261
|
exports.GuildFeaturesText = {
|
|
259
262
|
BaseSyncableRoles: 'Basic Syncable Roles',
|
|
@@ -361,6 +364,9 @@ exports.GuildFeaturesText = {
|
|
|
361
364
|
RssAutoThread: 'RSS: Auto Threads',
|
|
362
365
|
FixUrlDeleteWithOriginal: 'Fix URL: Delete With Original',
|
|
363
366
|
LongBirthdayPanel: 'Birthday Panel: 90 Days and Everyone',
|
|
367
|
+
KickBadgeAutoSync: 'Kick Badge Roles: Automatic Updates',
|
|
368
|
+
KickJoinGate: 'Kick Sub-Only Join',
|
|
369
|
+
KickBadgeAntiAbuse: 'Kick Badge Anti-Abuse',
|
|
364
370
|
};
|
|
365
371
|
exports.UserFeatures = {
|
|
366
372
|
HasOneServerPremium: 1n << 0n,
|
package/dist/other/features.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const FEATURE_NAMES: readonly ["freeGames", "gameChangelogs", "robloxNotifications", "fixLinks", "clipperNotifications", "scheduledMessages", "linkedRoles", "reactionRoles", "clipForwarding", "club", "whatnot", "fishing", "giveaways", "starboards", "syncedRoles", "birthdays", "statusRoles", "autoStatusLiveRoles", "streamRoles", "badgeNotifications", "kickBounties", "autoRoles", "giveawayClaims", "influencerPanel", "publicGiveaways", "publicDrops", "sitePolls", "siteAnnouncements", "feedback", "offlineGracePeriod", "vodNotifications", "youtubeReplays", "livePostUpdates", "multiDestination", "scheduledStreams", "inGame", "boostNotifications", "twitter", "voteToTest", "voteToAddSocial", "aiAssistant", "voteToUseAssistant", "assistantShareChat", "latest", "latestYoutube", "repositionEmojis", "voteToRepositionEmojis", "setupWizard", "emotes", "liveRoles", "stickyMessages", "welcomeLeave", "statCounters", "voteSkipping", "referralRewards", "votePremium", "rss", "dashboardTour", "leaveFeedback", "setupMcp", "setupChangeLog", "watchTogetherButton"];
|
|
1
|
+
export declare const FEATURE_NAMES: readonly ["freeGames", "gameChangelogs", "robloxNotifications", "fixLinks", "clipperNotifications", "scheduledMessages", "linkedRoles", "reactionRoles", "clipForwarding", "club", "whatnot", "fishing", "giveaways", "starboards", "syncedRoles", "birthdays", "statusRoles", "autoStatusLiveRoles", "streamRoles", "badgeNotifications", "kickBounties", "autoRoles", "giveawayClaims", "influencerPanel", "publicGiveaways", "publicDrops", "sitePolls", "siteAnnouncements", "feedback", "offlineGracePeriod", "vodNotifications", "youtubeReplays", "livePostUpdates", "multiDestination", "scheduledStreams", "inGame", "boostNotifications", "twitter", "voteToTest", "voteToAddSocial", "aiAssistant", "voteToUseAssistant", "assistantShareChat", "latest", "latestYoutube", "repositionEmojis", "kickBadgeAuto", "voteToRepositionEmojis", "setupWizard", "emotes", "liveRoles", "stickyMessages", "welcomeLeave", "statCounters", "voteSkipping", "referralRewards", "votePremium", "rss", "dashboardTour", "leaveFeedback", "setupMcp", "setupChangeLog", "watchTogetherButton"];
|
|
2
2
|
export type FeatureName = (typeof FEATURE_NAMES)[number];
|
|
3
3
|
export type FeatureStatus = 'off' | 'beta' | 'public';
|
|
4
4
|
export type ResolvedFeature = 'public' | 'beta' | 'hidden';
|
package/dist/other/features.js
CHANGED
package/dist/other/types.d.ts
CHANGED
|
@@ -41,6 +41,8 @@ export type GuildPlanType = {
|
|
|
41
41
|
defaultRssConnections: number | null;
|
|
42
42
|
/** RSS check speed in minutes (15 / 10 / 5). */
|
|
43
43
|
rssPollMinutes: number | null;
|
|
44
|
+
/** Hours between Kick badge rechecks: 0 (free, none) / 6 (Premium) / 2 (Premium Plus). */
|
|
45
|
+
kickBadgeRecheckHours: number | null;
|
|
44
46
|
defaultTwitterConnections: number | null;
|
|
45
47
|
defaultGameConnections: number | null;
|
|
46
48
|
defaultRobloxConnections: number | null;
|
|
@@ -11,9 +11,9 @@ export declare const GameConfigZod: {
|
|
|
11
11
|
notificationChannelId: z.ZodNullable<z.ZodString>;
|
|
12
12
|
pingRoleId: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"everyone">, z.ZodLiteral<"here">]>>;
|
|
13
13
|
deliveryMode: z.ZodEnum<{
|
|
14
|
+
scheduled: "scheduled";
|
|
14
15
|
instant: "instant";
|
|
15
16
|
window: "window";
|
|
16
|
-
scheduled: "scheduled";
|
|
17
17
|
}>;
|
|
18
18
|
windowStartHour: z.ZodNullable<z.ZodNumber>;
|
|
19
19
|
windowEndHour: z.ZodNullable<z.ZodNumber>;
|
|
@@ -22,35 +22,35 @@ export declare const GameConfigZod: {
|
|
|
22
22
|
freeGamesEnabled: z.ZodBoolean;
|
|
23
23
|
freeDlcEnabled: z.ZodBoolean;
|
|
24
24
|
freeDlcStores: z.ZodArray<z.ZodEnum<{
|
|
25
|
-
steam: "steam";
|
|
26
25
|
epic: "epic";
|
|
26
|
+
steam: "steam";
|
|
27
27
|
gog: "gog";
|
|
28
28
|
prime: "prime";
|
|
29
29
|
}>>;
|
|
30
30
|
freeGameStores: z.ZodArray<z.ZodEnum<{
|
|
31
|
-
steam: "steam";
|
|
32
31
|
epic: "epic";
|
|
32
|
+
steam: "steam";
|
|
33
33
|
gog: "gog";
|
|
34
34
|
prime: "prime";
|
|
35
35
|
}>>;
|
|
36
36
|
upcomingFreeEnabled: z.ZodBoolean;
|
|
37
37
|
upcomingFreeStores: z.ZodArray<z.ZodEnum<{
|
|
38
|
-
steam: "steam";
|
|
39
38
|
epic: "epic";
|
|
39
|
+
steam: "steam";
|
|
40
40
|
gog: "gog";
|
|
41
41
|
prime: "prime";
|
|
42
42
|
}>>;
|
|
43
43
|
freeWeekendEnabled: z.ZodBoolean;
|
|
44
44
|
freeWeekendStores: z.ZodArray<z.ZodEnum<{
|
|
45
|
-
steam: "steam";
|
|
46
45
|
epic: "epic";
|
|
46
|
+
steam: "steam";
|
|
47
47
|
gog: "gog";
|
|
48
48
|
prime: "prime";
|
|
49
49
|
}>>;
|
|
50
50
|
discountsEnabled: z.ZodBoolean;
|
|
51
51
|
discountStores: z.ZodArray<z.ZodEnum<{
|
|
52
|
-
steam: "steam";
|
|
53
52
|
epic: "epic";
|
|
53
|
+
steam: "steam";
|
|
54
54
|
gog: "gog";
|
|
55
55
|
prime: "prime";
|
|
56
56
|
}>>;
|
|
@@ -61,8 +61,8 @@ export declare const GameConfigZod: {
|
|
|
61
61
|
studios: z.ZodArray<z.ZodString>;
|
|
62
62
|
allTimeLowEnabled: z.ZodBoolean;
|
|
63
63
|
allTimeLowStores: z.ZodArray<z.ZodEnum<{
|
|
64
|
-
steam: "steam";
|
|
65
64
|
epic: "epic";
|
|
65
|
+
steam: "steam";
|
|
66
66
|
gog: "gog";
|
|
67
67
|
prime: "prime";
|
|
68
68
|
}>>;
|
|
@@ -85,8 +85,8 @@ export declare const GameConfigZod: {
|
|
|
85
85
|
upcoming_free: "upcoming_free";
|
|
86
86
|
}>>;
|
|
87
87
|
stores: z.ZodArray<z.ZodEnum<{
|
|
88
|
-
steam: "steam";
|
|
89
88
|
epic: "epic";
|
|
89
|
+
steam: "steam";
|
|
90
90
|
gog: "gog";
|
|
91
91
|
prime: "prime";
|
|
92
92
|
}>>;
|
|
@@ -149,8 +149,8 @@ export declare const GameConfigZod: {
|
|
|
149
149
|
upcoming_free: "upcoming_free";
|
|
150
150
|
}>>;
|
|
151
151
|
stores: z.ZodArray<z.ZodEnum<{
|
|
152
|
-
steam: "steam";
|
|
153
152
|
epic: "epic";
|
|
153
|
+
steam: "steam";
|
|
154
154
|
gog: "gog";
|
|
155
155
|
prime: "prime";
|
|
156
156
|
}>>;
|
|
@@ -81,6 +81,25 @@ export declare const GuildZod: {
|
|
|
81
81
|
welcomeEnabled: z.ZodNullable<z.ZodBoolean>;
|
|
82
82
|
leaveEnabled: z.ZodNullable<z.ZodBoolean>;
|
|
83
83
|
syncUsername: z.ZodNullable<z.ZodBoolean>;
|
|
84
|
+
kickBadgeGraceDays: z.ZodNullable<z.ZodNumber>;
|
|
85
|
+
kickBadgeRemoveUnmanaged: z.ZodNullable<z.ZodBoolean>;
|
|
86
|
+
kickJoinEnabled: z.ZodNullable<z.ZodBoolean>;
|
|
87
|
+
kickBadgeLapseAction: z.ZodNullable<z.ZodEnum<{
|
|
88
|
+
role: "role";
|
|
89
|
+
remove: "remove";
|
|
90
|
+
}>>;
|
|
91
|
+
kickBadgeSwitchRule: z.ZodNullable<z.ZodEnum<{
|
|
92
|
+
off: "off";
|
|
93
|
+
wait: "wait";
|
|
94
|
+
lock: "lock";
|
|
95
|
+
}>>;
|
|
96
|
+
kickBadgeSwitchWaitDays: z.ZodNullable<z.ZodNumber>;
|
|
97
|
+
kickBadgeMinDiscordDays: z.ZodNullable<z.ZodNumber>;
|
|
98
|
+
kickBadgeMinFollowDays: z.ZodNullable<z.ZodNumber>;
|
|
99
|
+
kickBadgeAbuseAction: z.ZodNullable<z.ZodEnum<{
|
|
100
|
+
remove: "remove";
|
|
101
|
+
hold: "hold";
|
|
102
|
+
}>>;
|
|
84
103
|
vodDownloadStoreForHours: z.ZodNullable<z.ZodNumber>;
|
|
85
104
|
twitterFixedUrlHost: z.ZodNullable<z.ZodEnum<{
|
|
86
105
|
"fxtwitter.com": "fxtwitter.com";
|
|
@@ -33,6 +33,19 @@ const GuildSchema = zod_2.z.object({
|
|
|
33
33
|
welcomeEnabled: zod_2.z.boolean().nullable(),
|
|
34
34
|
leaveEnabled: zod_2.z.boolean().nullable(),
|
|
35
35
|
syncUsername: zod_2.z.boolean().nullable(),
|
|
36
|
+
/** Kick badge sync (Premium): days a missing badge keeps its role, 0-14; null = 3. */
|
|
37
|
+
kickBadgeGraceDays: zod_2.z.number().int().min(0).max(14).nullable(),
|
|
38
|
+
/** Kick badge sync (Premium): also remove mapped roles Noti did not give; null = off. */
|
|
39
|
+
kickBadgeRemoveUnmanaged: zod_2.z.boolean().nullable(),
|
|
40
|
+
/** Kick join door (Premium Plus). */
|
|
41
|
+
kickJoinEnabled: zod_2.z.boolean().nullable(),
|
|
42
|
+
kickBadgeLapseAction: zod_2.z.enum(['role', 'remove']).nullable(),
|
|
43
|
+
/** Kick anti-abuse (Premium Plus). */
|
|
44
|
+
kickBadgeSwitchRule: zod_2.z.enum(['off', 'wait', 'lock']).nullable(),
|
|
45
|
+
kickBadgeSwitchWaitDays: zod_2.z.number().int().min(1).max(90).nullable(),
|
|
46
|
+
kickBadgeMinDiscordDays: zod_2.z.number().int().min(0).max(365).nullable(),
|
|
47
|
+
kickBadgeMinFollowDays: zod_2.z.number().int().min(0).max(365).nullable(),
|
|
48
|
+
kickBadgeAbuseAction: zod_2.z.enum(['hold', 'remove']).nullable(),
|
|
36
49
|
vodDownloadStoreForHours: zod_2.z.number().min(0).nullable(),
|
|
37
50
|
/** Fixer host for the X post notification link ({defaultFixedURL}). null = the bot's default (fxtwitter.com). Free. */
|
|
38
51
|
twitterFixedUrlHost: zod_2.z.enum(['fxtwitter.com', 'fixupx.com', 'vxtwitter.com', 'fixvx.com']).nullable(),
|
|
@@ -143,6 +143,15 @@ export declare const KickStreamerZod: {
|
|
|
143
143
|
founderRoleId: z.ZodNullable<z.ZodString>;
|
|
144
144
|
vipRoleId: z.ZodNullable<z.ZodString>;
|
|
145
145
|
ogRoleId: z.ZodNullable<z.ZodString>;
|
|
146
|
+
joinBadges: z.ZodArray<z.ZodEnum<{
|
|
147
|
+
vip: "vip";
|
|
148
|
+
subscriber: "subscriber";
|
|
149
|
+
og: "og";
|
|
150
|
+
founder: "founder";
|
|
151
|
+
moderator: "moderator";
|
|
152
|
+
verified: "verified";
|
|
153
|
+
sub_gifter: "sub_gifter";
|
|
154
|
+
}>>;
|
|
146
155
|
liveRoleId: z.ZodNullable<z.ZodString>;
|
|
147
156
|
usersForLiveRole: z.ZodArray<z.ZodString>;
|
|
148
157
|
usersWhoHaveLiveRole: z.ZodArray<z.ZodString>;
|
|
@@ -63,6 +63,8 @@ const KickStreamerSchema = zod_2.z.object({
|
|
|
63
63
|
founderRoleId: zod_1.SnowFlake.nullable(),
|
|
64
64
|
vipRoleId: zod_1.SnowFlake.nullable(),
|
|
65
65
|
ogRoleId: zod_1.SnowFlake.nullable(),
|
|
66
|
+
/** Kick join door (Premium Plus): badges on this creator that let a fan join. [] = not a door creator. */
|
|
67
|
+
joinBadges: (0, zod_1.NoDuplicate)(zod_2.z.array(zod_2.z.enum(['subscriber', 'vip', 'og', 'founder', 'moderator', 'verified', 'sub_gifter']))),
|
|
66
68
|
liveRoleId: zod_1.SnowFlake.nullable(),
|
|
67
69
|
usersForLiveRole: (0, zod_1.NoDuplicate)(zod_2.z.array(zod_1.SnowFlake)),
|
|
68
70
|
usersWhoHaveLiveRole: (0, zod_1.NoDuplicate)(zod_2.z.array(zod_1.SnowFlake)),
|
|
@@ -12,9 +12,9 @@ export declare const GuildRolePanelZod: {
|
|
|
12
12
|
dropdown: "dropdown";
|
|
13
13
|
}>;
|
|
14
14
|
assignMode: z.ZodEnum<{
|
|
15
|
+
limit: "limit";
|
|
15
16
|
toggle: "toggle";
|
|
16
17
|
unique: "unique";
|
|
17
|
-
limit: "limit";
|
|
18
18
|
verify: "verify";
|
|
19
19
|
}>;
|
|
20
20
|
messageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -67,9 +67,9 @@ export declare const GuildRolePanelZod: {
|
|
|
67
67
|
dropdown: "dropdown";
|
|
68
68
|
}>;
|
|
69
69
|
assignMode: z.ZodEnum<{
|
|
70
|
+
limit: "limit";
|
|
70
71
|
toggle: "toggle";
|
|
71
72
|
unique: "unique";
|
|
72
|
-
limit: "limit";
|
|
73
73
|
verify: "verify";
|
|
74
74
|
}>;
|
|
75
75
|
maxRoles: z.ZodNullable<z.ZodNumber>;
|
|
@@ -12,8 +12,8 @@ export declare const RumbleStreamerZod: {
|
|
|
12
12
|
limitLocked: z.ZodBoolean;
|
|
13
13
|
guildId: z.ZodString;
|
|
14
14
|
type: z.ZodEnum<{
|
|
15
|
-
channel: "channel";
|
|
16
15
|
user: "user";
|
|
16
|
+
channel: "channel";
|
|
17
17
|
}>;
|
|
18
18
|
deleteEmbeds: z.ZodNullable<z.ZodBoolean>;
|
|
19
19
|
sendOfflineMessage: z.ZodNullable<z.ZodBoolean>;
|
|
@@ -19,15 +19,15 @@ export declare const ScheduledMessageZod: {
|
|
|
19
19
|
sendToInGame: z.ZodBoolean;
|
|
20
20
|
minecraftContent: z.ZodNullable<z.ZodString>;
|
|
21
21
|
trigger: z.ZodEnum<{
|
|
22
|
-
time: "time";
|
|
23
22
|
stage: "stage";
|
|
23
|
+
time: "time";
|
|
24
24
|
guildEvent: "guildEvent";
|
|
25
25
|
}>;
|
|
26
26
|
recurrence: z.ZodEnum<{
|
|
27
|
+
days: "days";
|
|
27
28
|
weekly: "weekly";
|
|
28
29
|
once: "once";
|
|
29
30
|
daily: "daily";
|
|
30
|
-
days: "days";
|
|
31
31
|
interval: "interval";
|
|
32
32
|
}>;
|
|
33
33
|
daysOfWeek: z.ZodArray<z.ZodNumber>;
|
|
@@ -105,15 +105,15 @@ export declare const ScheduledMessageZod: {
|
|
|
105
105
|
emojiUnicodeOrId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
106
106
|
}, z.core.$strip>>>;
|
|
107
107
|
trigger: z.ZodDefault<z.ZodEnum<{
|
|
108
|
-
time: "time";
|
|
109
108
|
stage: "stage";
|
|
109
|
+
time: "time";
|
|
110
110
|
guildEvent: "guildEvent";
|
|
111
111
|
}>>;
|
|
112
112
|
recurrence: z.ZodDefault<z.ZodEnum<{
|
|
113
|
+
days: "days";
|
|
113
114
|
weekly: "weekly";
|
|
114
115
|
once: "once";
|
|
115
116
|
daily: "daily";
|
|
116
|
-
days: "days";
|
|
117
117
|
interval: "interval";
|
|
118
118
|
}>>;
|
|
119
119
|
daysOfWeek: z.ZodDefault<z.ZodArray<z.ZodNumber>>;
|
|
@@ -134,8 +134,8 @@ export declare const PlatformsWithVideosEnum: z.ZodEnum<{
|
|
|
134
134
|
youtube: "youtube";
|
|
135
135
|
}>;
|
|
136
136
|
export declare const RumbleTypeEnum: z.ZodEnum<{
|
|
137
|
-
channel: "channel";
|
|
138
137
|
user: "user";
|
|
138
|
+
channel: "channel";
|
|
139
139
|
}>;
|
|
140
140
|
export declare const QueryInEnum: z.ZodEnum<{
|
|
141
141
|
title: "title";
|
|
@@ -182,8 +182,8 @@ export declare const UserNotificationSeverityEnum: z.ZodEnum<{
|
|
|
182
182
|
emergency: "emergency";
|
|
183
183
|
}>;
|
|
184
184
|
export declare const GameStoreEnum: z.ZodEnum<{
|
|
185
|
-
steam: "steam";
|
|
186
185
|
epic: "epic";
|
|
186
|
+
steam: "steam";
|
|
187
187
|
gog: "gog";
|
|
188
188
|
prime: "prime";
|
|
189
189
|
}>;
|
|
@@ -206,9 +206,9 @@ export declare const GameDeliveryEnum: z.ZodEnum<{
|
|
|
206
206
|
instant: "instant";
|
|
207
207
|
}>;
|
|
208
208
|
export declare const NotificationDeliveryEnum: z.ZodEnum<{
|
|
209
|
+
scheduled: "scheduled";
|
|
209
210
|
instant: "instant";
|
|
210
211
|
window: "window";
|
|
211
|
-
scheduled: "scheduled";
|
|
212
212
|
}>;
|
|
213
213
|
export declare const GameRobloxKindEnum: z.ZodEnum<{
|
|
214
214
|
updates: "updates";
|
|
@@ -216,14 +216,14 @@ export declare const GameRobloxKindEnum: z.ZodEnum<{
|
|
|
216
216
|
both: "both";
|
|
217
217
|
}>;
|
|
218
218
|
export declare const ScheduledMessageRecurrenceEnum: z.ZodEnum<{
|
|
219
|
+
days: "days";
|
|
219
220
|
weekly: "weekly";
|
|
220
221
|
once: "once";
|
|
221
222
|
daily: "daily";
|
|
222
|
-
days: "days";
|
|
223
223
|
interval: "interval";
|
|
224
224
|
}>;
|
|
225
225
|
export declare const ScheduledMessageTriggerEnum: z.ZodEnum<{
|
|
226
|
-
time: "time";
|
|
227
226
|
stage: "stage";
|
|
227
|
+
time: "time";
|
|
228
228
|
guildEvent: "guildEvent";
|
|
229
229
|
}>;
|
|
@@ -82,6 +82,7 @@ export declare const UserZod: {
|
|
|
82
82
|
}, z.core.$strip>>>;
|
|
83
83
|
kickAccount: z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
84
84
|
accountId: z.ZodNullable<z.ZodString>;
|
|
85
|
+
kickUserId: z.ZodNullable<z.ZodString>;
|
|
85
86
|
username: z.ZodNullable<z.ZodString>;
|
|
86
87
|
chatRoomId: z.ZodNullable<z.ZodString>;
|
|
87
88
|
subscribedTo: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
@@ -213,6 +214,7 @@ export declare const UserZod: {
|
|
|
213
214
|
}, z.core.$strip>;
|
|
214
215
|
readonly UserKickAccountSchema: z.ZodObject<{
|
|
215
216
|
accountId: z.ZodNullable<z.ZodString>;
|
|
217
|
+
kickUserId: z.ZodNullable<z.ZodString>;
|
|
216
218
|
username: z.ZodNullable<z.ZodString>;
|
|
217
219
|
chatRoomId: z.ZodNullable<z.ZodString>;
|
|
218
220
|
subscribedTo: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
@@ -94,6 +94,7 @@ const UserBirthdaySchema = zod_2.z.object({
|
|
|
94
94
|
});
|
|
95
95
|
const UserKickAccountSchema = zod_2.z.object({
|
|
96
96
|
accountId: zod_2.z.string().nullable(),
|
|
97
|
+
kickUserId: zod_2.z.string().nullable(),
|
|
97
98
|
username: zod_2.z.string().nullable(),
|
|
98
99
|
chatRoomId: zod_2.z.string().nullable(),
|
|
99
100
|
subscribedTo: zod_2.z.array(zod_2.z.lazy(() => UserKickAccountSubscribedToSchema)),
|