@notidotbot/noti-api-client 1.9.99 → 1.9.101
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 +46 -0
- package/dist/classes/@me.js +20 -0
- package/dist/classes/admin.d.ts +1 -1
- package/dist/classes/client.d.ts +1 -1
- package/dist/classes/guildPlatform.d.ts +9 -2
- package/dist/classes/guildPlatformAction.d.ts +2 -2
- package/dist/classes/guildRolePanel.d.ts +12 -12
- package/dist/classes/guildStarboard.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/other/bitfields.d.ts +10 -4
- package/dist/other/bitfields.js +4 -0
- package/dist/other/enums.d.ts +6 -0
- package/dist/other/enums.js +3 -0
- package/dist/other/features.d.ts +1 -1
- package/dist/other/features.js +3 -0
- package/dist/other/inGameAlerts.d.ts +1 -0
- package/dist/other/inGameAlerts.js +1 -0
- package/dist/other/multiDestination.d.ts +1 -0
- package/dist/other/multiDestination.js +1 -0
- package/dist/other/prisma.d.ts +4 -0
- package/dist/other/templates.d.ts +82 -0
- package/dist/other/templates.js +72 -0
- package/dist/other/types.d.ts +3 -0
- package/dist/other/zod/client.zod.d.ts +2 -0
- package/dist/other/zod/clipForward.zod.d.ts +3 -0
- package/dist/other/zod/clubStreamer.zod.d.ts +2 -0
- package/dist/other/zod/drops.zod.d.ts +1 -0
- package/dist/other/zod/gameConfig.zod.d.ts +1 -1
- package/dist/other/zod/guild.zod.d.ts +6 -0
- package/dist/other/zod/kickStreamer.zod.d.ts +4 -0
- package/dist/other/zod/kickStreamer.zod.js +2 -0
- package/dist/other/zod/rolePanels.zod.d.ts +2 -2
- package/dist/other/zod/rssFeed.zod.d.ts +153 -0
- package/dist/other/zod/rssFeed.zod.js +48 -0
- package/dist/other/zod/rumbleStreamer.zod.d.ts +4 -0
- package/dist/other/zod/rumbleStreamer.zod.js +2 -0
- package/dist/other/zod/schema.zod.d.ts +4 -1
- package/dist/other/zod/schema.zod.js +3 -0
- package/dist/other/zod/tiktokStreamer.zod.d.ts +2 -0
- package/dist/other/zod/twitchStreamer.zod.d.ts +4 -0
- package/dist/other/zod/twitchStreamer.zod.js +2 -0
- package/dist/other/zod/twitterStreamer.zod.d.ts +2 -0
- package/dist/other/zod/whatnotStreamer.zod.d.ts +2 -0
- package/dist/other/zod/youtubeStreamer.zod.d.ts +4 -0
- package/dist/other/zod/youtubeStreamer.zod.js +2 -0
- package/dist/other/zod/zod.d.ts +2 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/prisma/generated/ts-prisma.d.ts +2956 -0
- package/prisma/schema/models/rssFeed.prisma +131 -0
- package/prisma/schema/schema.prisma +3 -0
package/dist/classes/@me.d.ts
CHANGED
|
@@ -47,6 +47,16 @@ export declare class APIMe {
|
|
|
47
47
|
setServerPremium({ auth, guildId }: MeFunctionsInput['setServerPremium']): Promise<import("../types").WebResponse<ServerPremiumAssignment>>;
|
|
48
48
|
/** Take the upgrade back off whichever server holds it. Starts the cooldown, same as placing it. */
|
|
49
49
|
deleteServerPremium({ auth }: MeFunctionsInput['deleteServerPremium']): Promise<import("../types").WebResponse<ServerPremiumRemoval>>;
|
|
50
|
+
/**
|
|
51
|
+
* Referral rewards: the user's referral link, how their referrals did, and the free premium days ready to
|
|
52
|
+
* use. 404 while the `referralRewards` launch flag is closed to this user.
|
|
53
|
+
*/
|
|
54
|
+
getReferrals({ auth }: MeFunctionsInput['getReferrals']): Promise<import("../types").WebResponse<ReferralSummary>>;
|
|
55
|
+
/**
|
|
56
|
+
* Put every free premium day the user has earned (up to the 90-day cap) on a server they manage that has
|
|
57
|
+
* no premium. 409 when there is nothing to use, the server already has premium, or it is already full.
|
|
58
|
+
*/
|
|
59
|
+
claimReferralDays({ auth, guildId }: MeFunctionsInput['claimReferralDays']): Promise<import("../types").WebResponse<ReferralDaysClaim>>;
|
|
50
60
|
}
|
|
51
61
|
export type MeFunctionsInput<T extends GuildDataType = never> = {
|
|
52
62
|
'getCurrentUser': {
|
|
@@ -87,6 +97,13 @@ export type MeFunctionsInput<T extends GuildDataType = never> = {
|
|
|
87
97
|
'deleteServerPremium': {
|
|
88
98
|
auth: string;
|
|
89
99
|
};
|
|
100
|
+
'getReferrals': {
|
|
101
|
+
auth: string;
|
|
102
|
+
};
|
|
103
|
+
'claimReferralDays': {
|
|
104
|
+
auth: string;
|
|
105
|
+
guildId: string;
|
|
106
|
+
};
|
|
90
107
|
'connectMinecraft': {
|
|
91
108
|
auth: string;
|
|
92
109
|
code: string;
|
|
@@ -127,6 +144,10 @@ export type MeGetReturnTypes = {
|
|
|
127
144
|
'setServerPremiumSuccess': CancelOutWebResponses<Awaited<ReturnType<APIMe['setServerPremium']>>>;
|
|
128
145
|
'deleteServerPremiumRaw': Awaited<ReturnType<APIMe['deleteServerPremium']>>;
|
|
129
146
|
'deleteServerPremiumSuccess': CancelOutWebResponses<Awaited<ReturnType<APIMe['deleteServerPremium']>>>;
|
|
147
|
+
'getReferralsRaw': Awaited<ReturnType<APIMe['getReferrals']>>;
|
|
148
|
+
'getReferralsSuccess': CancelOutWebResponses<Awaited<ReturnType<APIMe['getReferrals']>>>;
|
|
149
|
+
'claimReferralDaysRaw': Awaited<ReturnType<APIMe['claimReferralDays']>>;
|
|
150
|
+
'claimReferralDaysSuccess': CancelOutWebResponses<Awaited<ReturnType<APIMe['claimReferralDays']>>>;
|
|
130
151
|
'connectMinecraftRaw': Awaited<ReturnType<APIMe['connectMinecraft']>>;
|
|
131
152
|
'connectMinecraftSuccess': CancelOutWebResponses<Awaited<ReturnType<APIMe['connectMinecraft']>>>;
|
|
132
153
|
'getMinecraftLinksRaw': Awaited<ReturnType<APIMe['getMinecraftLinks']>>;
|
|
@@ -278,3 +299,28 @@ export type ServerPremiumRemoval = {
|
|
|
278
299
|
guildName: string;
|
|
279
300
|
cooldownUntil: string;
|
|
280
301
|
};
|
|
302
|
+
/** A user's referral rewards (Noti-v3 modules/referralRewards.ts ReferralSummary). */
|
|
303
|
+
export type ReferralSummary = {
|
|
304
|
+
/** Their invite link. Null only for an account id Discord would not issue. */
|
|
305
|
+
link: string | null;
|
|
306
|
+
/** Waiting for the 7-day check. */
|
|
307
|
+
pending: number;
|
|
308
|
+
/** Counted - earned days. */
|
|
309
|
+
approved: number;
|
|
310
|
+
/** Waiting for a staff check (counted with `pending` in Discord's /referral). */
|
|
311
|
+
held: number;
|
|
312
|
+
/** Did not count: rejected, over the monthly cap, or taken back after Noti was removed. */
|
|
313
|
+
rejected: number;
|
|
314
|
+
earnedDays: number;
|
|
315
|
+
spentDays: number;
|
|
316
|
+
availableDays: number;
|
|
317
|
+
};
|
|
318
|
+
export type ReferralDaysClaim = {
|
|
319
|
+
guildId: string;
|
|
320
|
+
/** Days added to the server. */
|
|
321
|
+
days: number;
|
|
322
|
+
/** When the server's free premium now ends. */
|
|
323
|
+
endsAt: string;
|
|
324
|
+
/** True when the server hit the 90-day cap and some days stayed saved. */
|
|
325
|
+
capped: boolean;
|
|
326
|
+
};
|
package/dist/classes/@me.js
CHANGED
|
@@ -128,5 +128,25 @@ class APIMe {
|
|
|
128
128
|
endpoint: this.web.qp('/@me/premium/server'),
|
|
129
129
|
});
|
|
130
130
|
}
|
|
131
|
+
/**
|
|
132
|
+
* Referral rewards: the user's referral link, how their referrals did, and the free premium days ready to
|
|
133
|
+
* use. 404 while the `referralRewards` launch flag is closed to this user.
|
|
134
|
+
*/
|
|
135
|
+
async getReferrals({ auth }) {
|
|
136
|
+
return await this.web.request({
|
|
137
|
+
method: 'GET', auth,
|
|
138
|
+
endpoint: this.web.qp(`/@me/referrals`),
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* Put every free premium day the user has earned (up to the 90-day cap) on a server they manage that has
|
|
143
|
+
* no premium. 409 when there is nothing to use, the server already has premium, or it is already full.
|
|
144
|
+
*/
|
|
145
|
+
async claimReferralDays({ auth, guildId }) {
|
|
146
|
+
return await this.web.request({
|
|
147
|
+
method: 'POST', auth,
|
|
148
|
+
endpoint: this.web.qp(`/@me/referrals/guilds/${guildId}`),
|
|
149
|
+
});
|
|
150
|
+
}
|
|
131
151
|
}
|
|
132
152
|
exports.APIMe = APIMe;
|
package/dist/classes/admin.d.ts
CHANGED
|
@@ -254,7 +254,7 @@ export type AdminGetReturnTypes = {
|
|
|
254
254
|
'getAnalyticsEventsRaw': Awaited<ReturnType<APIAdmin['getAnalyticsEvents']>>;
|
|
255
255
|
'getAnalyticsEventsSuccess': CancelOutWebResponses<Awaited<ReturnType<APIAdmin['getAnalyticsEvents']>>>;
|
|
256
256
|
};
|
|
257
|
-
export type NotificationProviderName = 'kick' | 'twitch' | 'rumble' | 'tiktok' | 'youtube' | 'whatnot' | 'club' | 'twitter' | 'vods' | 'clips' | 'gameDeal' | 'gameChangelog' | 'roblox' | 'kickBounties';
|
|
257
|
+
export type NotificationProviderName = 'kick' | 'twitch' | 'rumble' | 'tiktok' | 'youtube' | 'whatnot' | 'club' | 'twitter' | 'rss' | 'vods' | 'clips' | 'gameDeal' | 'gameChangelog' | 'roblox' | 'kickBounties';
|
|
258
258
|
export type FixUrlRule = {
|
|
259
259
|
dbId: string;
|
|
260
260
|
original: string;
|
package/dist/classes/client.d.ts
CHANGED
|
@@ -41,13 +41,13 @@ export declare class APIClient {
|
|
|
41
41
|
thumbnail: string | null;
|
|
42
42
|
authorIcon: string;
|
|
43
43
|
createdAt: Date;
|
|
44
|
-
tags: string[];
|
|
45
44
|
clientId: string;
|
|
46
45
|
identifier: string;
|
|
47
46
|
isPinned: boolean;
|
|
48
47
|
views: number | null;
|
|
49
48
|
reactions: string[];
|
|
50
49
|
reactionsCount: number | null;
|
|
50
|
+
tags: string[];
|
|
51
51
|
authorName: string;
|
|
52
52
|
lastEdited: Date;
|
|
53
53
|
isPublic: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AllPlatforms, ClubStreamerZod, TwitterStreamerZod, WhatnotStreamerZod, KickStreamerZod, RumbleStreamerZod, TikTokStreamerZod, TwitchStreamerZod, YouTubeStreamerZod } from '../other/prisma';
|
|
1
|
+
import { AllPlatforms, ClubStreamerZod, RssFeedZod, TwitterStreamerZod, WhatnotStreamerZod, KickStreamerZod, RumbleStreamerZod, TikTokStreamerZod, TwitchStreamerZod, YouTubeStreamerZod } from '../other/prisma';
|
|
2
2
|
import { CancelOutWebResponses, DeepPartial } from '../types';
|
|
3
3
|
import { WebDataManager } from '../core/manager';
|
|
4
4
|
export declare class APIGuildPlatform {
|
|
@@ -108,7 +108,7 @@ export type UsersForLiveRole = {
|
|
|
108
108
|
id: string;
|
|
109
109
|
name: string;
|
|
110
110
|
}[];
|
|
111
|
-
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;
|
|
111
|
+
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 : T extends 'rss' ? RssFeedZod : never;
|
|
112
112
|
/**
|
|
113
113
|
* The platforms whose `usersForLiveRole` the single-streamer route RESOLVES from ids into names.
|
|
114
114
|
*
|
|
@@ -210,6 +210,7 @@ type ShortViewKeySets = {
|
|
|
210
210
|
youtube: 'streamerUserName' | 'streamerId' | 'guildId' | OrderKeys;
|
|
211
211
|
club: 'streamerUserName' | 'guildId' | OrderKeys;
|
|
212
212
|
twitter: 'streamerUserName' | 'guildId' | OrderKeys;
|
|
213
|
+
rss: 'streamerUserName' | 'feedTitle' | 'guildId' | OrderKeys;
|
|
213
214
|
whatnot: never;
|
|
214
215
|
};
|
|
215
216
|
export type Platformstreamers<T extends boolean, P extends AllPlatforms> = {
|
|
@@ -234,6 +235,12 @@ export type Platformstreamers<T extends boolean, P extends AllPlatforms> = {
|
|
|
234
235
|
streamers: P extends ServedPlatform ? ((T extends true ? Pick<GuildSingleStreamer<P>, Extract<keyof GuildSingleStreamer<P>, ShortViewKeySets[P]>> : GuildSingleStreamer<P>) & WithInfluencerLink)[] : never;
|
|
235
236
|
currentTotal: number;
|
|
236
237
|
maxLimit: number;
|
|
238
|
+
/**
|
|
239
|
+
* RSS only: how often this server's feeds are checked, in minutes (15 / 10 / 5 by plan), and the fastest any plan
|
|
240
|
+
* gets. Show "checked every {pollMinutes} minutes" and, when it is above `fastestPollMinutes`, the Premium Plus line.
|
|
241
|
+
*/
|
|
242
|
+
pollMinutes?: number;
|
|
243
|
+
fastestPollMinutes?: number;
|
|
237
244
|
premium: {
|
|
238
245
|
tierId: string;
|
|
239
246
|
tierName: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AllPlatforms, ClubStreamerZod, TwitterStreamerZod, WhatnotStreamerZod, KickStreamerZod, RumbleStreamerZod, TikTokStreamerZod, TwitchStreamerZod, YouTubeStreamerZod } from '../other/prisma';
|
|
1
|
+
import { AllPlatforms, ClubStreamerZod, RssFeedZod, 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 | WhatnotStreamerZod)['customMessages'][number];
|
|
83
|
+
export type StreamerUpdateMessage = (KickStreamerZod | TwitchStreamerZod | RumbleStreamerZod | TikTokStreamerZod | YouTubeStreamerZod | ClubStreamerZod | TwitterStreamerZod | WhatnotStreamerZod | RssFeedZod)['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;
|
|
@@ -19,8 +19,8 @@ export declare class APIGuildRolePanel {
|
|
|
19
19
|
thumbnail: string | null;
|
|
20
20
|
author: string | null;
|
|
21
21
|
authorIcon: string | null;
|
|
22
|
-
guildRolePanelId: string;
|
|
23
22
|
order: number;
|
|
23
|
+
guildRolePanelId: string;
|
|
24
24
|
} | null;
|
|
25
25
|
} & {
|
|
26
26
|
name: string;
|
|
@@ -41,8 +41,8 @@ export declare class APIGuildRolePanel {
|
|
|
41
41
|
thumbnail: string | null;
|
|
42
42
|
author: string | null;
|
|
43
43
|
authorIcon: string | null;
|
|
44
|
-
guildRolePanelId: string;
|
|
45
44
|
order: number;
|
|
45
|
+
guildRolePanelId: string;
|
|
46
46
|
})[];
|
|
47
47
|
rows: {
|
|
48
48
|
dbId: string;
|
|
@@ -51,9 +51,9 @@ export declare class APIGuildRolePanel {
|
|
|
51
51
|
blacklistRoleIds: string[];
|
|
52
52
|
emojiUnicodeOrId: string | null;
|
|
53
53
|
label: string | null;
|
|
54
|
+
guildRolePanelId: string;
|
|
54
55
|
style: number | null;
|
|
55
56
|
temporaryMinutes: number | null;
|
|
56
|
-
guildRolePanelId: string;
|
|
57
57
|
}[];
|
|
58
58
|
} & {
|
|
59
59
|
name: string;
|
|
@@ -61,14 +61,14 @@ export declare class APIGuildRolePanel {
|
|
|
61
61
|
guildId: string;
|
|
62
62
|
channelId: string;
|
|
63
63
|
messageId: string | null;
|
|
64
|
-
webhookEnabled: boolean;
|
|
65
|
-
webhookUsername: string | null;
|
|
66
|
-
webhookAvatarUrl: string | null;
|
|
67
64
|
panelId: string;
|
|
68
65
|
interactionType: import("@prisma/client").$Enums.RolePanelType;
|
|
69
66
|
assignMode: import("@prisma/client").$Enums.RolePanelAssignMode;
|
|
70
67
|
maxRoles: number | null;
|
|
71
68
|
logChannelId: string | null;
|
|
69
|
+
webhookEnabled: boolean;
|
|
70
|
+
webhookUsername: string | null;
|
|
71
|
+
webhookAvatarUrl: string | null;
|
|
72
72
|
requireAccountAgeDays: number | null;
|
|
73
73
|
requireJoinAgeDays: number | null;
|
|
74
74
|
requireMessageCount: number | null;
|
|
@@ -89,8 +89,8 @@ export declare class APIGuildRolePanel {
|
|
|
89
89
|
thumbnail: string | null;
|
|
90
90
|
author: string | null;
|
|
91
91
|
authorIcon: string | null;
|
|
92
|
-
guildRolePanelId: string;
|
|
93
92
|
order: number;
|
|
93
|
+
guildRolePanelId: string;
|
|
94
94
|
} | null;
|
|
95
95
|
} & {
|
|
96
96
|
name: string;
|
|
@@ -111,8 +111,8 @@ export declare class APIGuildRolePanel {
|
|
|
111
111
|
thumbnail: string | null;
|
|
112
112
|
author: string | null;
|
|
113
113
|
authorIcon: string | null;
|
|
114
|
-
guildRolePanelId: string;
|
|
115
114
|
order: number;
|
|
115
|
+
guildRolePanelId: string;
|
|
116
116
|
})[];
|
|
117
117
|
rows: {
|
|
118
118
|
dbId: string;
|
|
@@ -121,9 +121,9 @@ export declare class APIGuildRolePanel {
|
|
|
121
121
|
blacklistRoleIds: string[];
|
|
122
122
|
emojiUnicodeOrId: string | null;
|
|
123
123
|
label: string | null;
|
|
124
|
+
guildRolePanelId: string;
|
|
124
125
|
style: number | null;
|
|
125
126
|
temporaryMinutes: number | null;
|
|
126
|
-
guildRolePanelId: string;
|
|
127
127
|
}[];
|
|
128
128
|
} & {
|
|
129
129
|
name: string;
|
|
@@ -131,14 +131,14 @@ export declare class APIGuildRolePanel {
|
|
|
131
131
|
guildId: string;
|
|
132
132
|
channelId: string;
|
|
133
133
|
messageId: string | null;
|
|
134
|
-
webhookEnabled: boolean;
|
|
135
|
-
webhookUsername: string | null;
|
|
136
|
-
webhookAvatarUrl: string | null;
|
|
137
134
|
panelId: string;
|
|
138
135
|
interactionType: import("@prisma/client").$Enums.RolePanelType;
|
|
139
136
|
assignMode: import("@prisma/client").$Enums.RolePanelAssignMode;
|
|
140
137
|
maxRoles: number | null;
|
|
141
138
|
logChannelId: string | null;
|
|
139
|
+
webhookEnabled: boolean;
|
|
140
|
+
webhookUsername: string | null;
|
|
141
|
+
webhookAvatarUrl: string | null;
|
|
142
142
|
requireAccountAgeDays: number | null;
|
|
143
143
|
requireJoinAgeDays: number | null;
|
|
144
144
|
requireMessageCount: number | null;
|
|
@@ -9,9 +9,9 @@ export declare class APIGuildStarboard {
|
|
|
9
9
|
dbId: string;
|
|
10
10
|
guildStarboardId: string;
|
|
11
11
|
roles: string[];
|
|
12
|
+
channels: string[];
|
|
12
13
|
roleMode: import("@prisma/client").$Enums.FilterEnum | null;
|
|
13
14
|
channelMode: import("@prisma/client").$Enums.FilterEnum | null;
|
|
14
|
-
channels: string[];
|
|
15
15
|
} | null;
|
|
16
16
|
} & {
|
|
17
17
|
dbId: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -67,4 +67,4 @@ export { GIVEAWAY_CLAIM_WINDOWS, GIVEAWAY_CLAIM_WINDOW_LABELS, GIVEAWAY_MAX_CLAI
|
|
|
67
67
|
export type { GiveawayClaimWindow, GiveawayWinnerStatus } from './other/giveawayClaims';
|
|
68
68
|
export type { FeatureName, FeatureStatus, ResolvedFeature, } from './other/features';
|
|
69
69
|
export type { Prisma, TSPrisma } from '@prisma/client';
|
|
70
|
-
export type { ClientChangelog, Guild, User, Team, Member, KickStreamer, TwitchStreamer, YoutubeStreamer, TiktokStreamer, RumbleStreamer, ClubStreamer, TwitterStreamer, GuildGiveaway, GuildRolePanel, GuildClipForward } from '@prisma/client';
|
|
70
|
+
export type { ClientChangelog, Guild, User, Team, Member, KickStreamer, TwitchStreamer, YoutubeStreamer, TiktokStreamer, RumbleStreamer, ClubStreamer, TwitterStreamer, RssFeed, GuildGiveaway, GuildRolePanel, GuildClipForward } from '@prisma/client';
|
|
@@ -137,6 +137,8 @@ export declare const GuildFeatures: {
|
|
|
137
137
|
UnlimitedEmojiRepositions: bigint;
|
|
138
138
|
BirthdayPostOptions: bigint;
|
|
139
139
|
JoinAnniversaries: bigint;
|
|
140
|
+
ScheduledStreams: bigint;
|
|
141
|
+
RssNotifications: bigint;
|
|
140
142
|
};
|
|
141
143
|
export declare const GuildFeaturesText: Record<keyof typeof GuildFeatures, string>;
|
|
142
144
|
export declare const UserFeatures: {
|
|
@@ -262,8 +264,10 @@ export declare class GuildFeaturesManager extends BitFieldManager<typeof GuildFe
|
|
|
262
264
|
UnlimitedEmojiRepositions: bigint;
|
|
263
265
|
BirthdayPostOptions: bigint;
|
|
264
266
|
JoinAnniversaries: bigint;
|
|
267
|
+
ScheduledStreams: bigint;
|
|
268
|
+
RssNotifications: bigint;
|
|
265
269
|
};
|
|
266
|
-
t: Record<"
|
|
270
|
+
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", string>;
|
|
267
271
|
all: bigint;
|
|
268
272
|
static b: {
|
|
269
273
|
BaseSyncableRoles: bigint;
|
|
@@ -364,8 +368,10 @@ export declare class GuildFeaturesManager extends BitFieldManager<typeof GuildFe
|
|
|
364
368
|
UnlimitedEmojiRepositions: bigint;
|
|
365
369
|
BirthdayPostOptions: bigint;
|
|
366
370
|
JoinAnniversaries: bigint;
|
|
371
|
+
ScheduledStreams: bigint;
|
|
372
|
+
RssNotifications: bigint;
|
|
367
373
|
};
|
|
368
|
-
static t: Record<"
|
|
374
|
+
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", string>;
|
|
369
375
|
static all: bigint;
|
|
370
376
|
convertBitToField<T extends EnumValues<typeof GuildFeatures>>(bit: T): string | null;
|
|
371
377
|
}
|
|
@@ -403,7 +409,7 @@ export declare class UserFlagsManager extends BitFieldManager<typeof UserFlags,
|
|
|
403
409
|
Beta: bigint;
|
|
404
410
|
Owner: bigint;
|
|
405
411
|
};
|
|
406
|
-
t: Record<"
|
|
412
|
+
t: Record<"Premium" | "Partner" | "Staff" | "Developer" | "Beta" | "Owner", string>;
|
|
407
413
|
all: bigint;
|
|
408
414
|
static b: {
|
|
409
415
|
Partner: bigint;
|
|
@@ -413,7 +419,7 @@ export declare class UserFlagsManager extends BitFieldManager<typeof UserFlags,
|
|
|
413
419
|
Beta: bigint;
|
|
414
420
|
Owner: bigint;
|
|
415
421
|
};
|
|
416
|
-
static t: Record<"
|
|
422
|
+
static t: Record<"Premium" | "Partner" | "Staff" | "Developer" | "Beta" | "Owner", string>;
|
|
417
423
|
static all: bigint;
|
|
418
424
|
convertBitToField<T extends EnumValues<typeof UserFlags>>(bit: T): string | null;
|
|
419
425
|
}
|
package/dist/other/bitfields.js
CHANGED
|
@@ -249,6 +249,8 @@ exports.GuildFeatures = {
|
|
|
249
249
|
UnlimitedEmojiRepositions: 1n << 96n,
|
|
250
250
|
BirthdayPostOptions: 1n << 97n, // Premium: birthday posts open a thread and / or are pinned for the day (phases/birthday-upgrades/ P2).
|
|
251
251
|
JoinAnniversaries: 1n << 98n, // Premium: yearly join-anniversary posts + milestone roles (phases/birthday-upgrades/ P4).
|
|
252
|
+
ScheduledStreams: 1n << 99n, // Premium: scheduled-stream posts in their own channel + ping role (phases/scheduled-streams/).
|
|
253
|
+
RssNotifications: 1n << 100n, // Every plan: RSS / Atom feed posts (phases/rss/). Limits 1 / 5 / 15, checks 15 / 10 / 5 min.
|
|
252
254
|
};
|
|
253
255
|
exports.GuildFeaturesText = {
|
|
254
256
|
BaseSyncableRoles: 'Basic Syncable Roles',
|
|
@@ -351,6 +353,8 @@ exports.GuildFeaturesText = {
|
|
|
351
353
|
UnlimitedEmojiRepositions: 'Unlimited Emoji Repositions',
|
|
352
354
|
BirthdayPostOptions: 'Birthday Threads & Pins',
|
|
353
355
|
JoinAnniversaries: 'Join Anniversaries',
|
|
356
|
+
ScheduledStreams: 'Scheduled Stream Notifications',
|
|
357
|
+
RssNotifications: 'RSS Feed Notifications',
|
|
354
358
|
};
|
|
355
359
|
exports.UserFeatures = {
|
|
356
360
|
HasOneServerPremium: 1n << 0n,
|
package/dist/other/enums.d.ts
CHANGED
|
@@ -34,6 +34,7 @@ export declare const StreamerMessageTypeEnum: {
|
|
|
34
34
|
readonly twitterPost: "twitterPost";
|
|
35
35
|
readonly twitterLive: "twitterLive";
|
|
36
36
|
readonly twitterOffline: "twitterOffline";
|
|
37
|
+
readonly rssPost: "rssPost";
|
|
37
38
|
};
|
|
38
39
|
export declare const GuildMessageTypeEnum: {
|
|
39
40
|
readonly giveawayRerolled: "giveawayRerolled";
|
|
@@ -66,6 +67,7 @@ export declare const GuildMessageTypeEnum: {
|
|
|
66
67
|
readonly twitterPost: "twitterPost";
|
|
67
68
|
readonly twitterLive: "twitterLive";
|
|
68
69
|
readonly twitterOffline: "twitterOffline";
|
|
70
|
+
readonly rssPost: "rssPost";
|
|
69
71
|
};
|
|
70
72
|
export declare const GuildSingleMessageTypeEnum: {
|
|
71
73
|
readonly autoLiveRoleAdded: "autoLiveRoleAdded";
|
|
@@ -95,6 +97,7 @@ export declare const PlatformEnum: {
|
|
|
95
97
|
readonly whatnot: "whatnot";
|
|
96
98
|
readonly club: "club";
|
|
97
99
|
readonly twitter: "twitter";
|
|
100
|
+
readonly rss: "rss";
|
|
98
101
|
};
|
|
99
102
|
export declare const ClipperCategoryEnum: {
|
|
100
103
|
readonly vip: "vip";
|
|
@@ -200,6 +203,7 @@ export declare const $Enums: {
|
|
|
200
203
|
readonly twitterPost: "twitterPost";
|
|
201
204
|
readonly twitterLive: "twitterLive";
|
|
202
205
|
readonly twitterOffline: "twitterOffline";
|
|
206
|
+
readonly rssPost: "rssPost";
|
|
203
207
|
};
|
|
204
208
|
readonly GuildMessageTypeEnum: {
|
|
205
209
|
readonly giveawayRerolled: "giveawayRerolled";
|
|
@@ -232,6 +236,7 @@ export declare const $Enums: {
|
|
|
232
236
|
readonly twitterPost: "twitterPost";
|
|
233
237
|
readonly twitterLive: "twitterLive";
|
|
234
238
|
readonly twitterOffline: "twitterOffline";
|
|
239
|
+
readonly rssPost: "rssPost";
|
|
235
240
|
};
|
|
236
241
|
readonly GuildSingleMessageTypeEnum: {
|
|
237
242
|
readonly autoLiveRoleAdded: "autoLiveRoleAdded";
|
|
@@ -261,6 +266,7 @@ export declare const $Enums: {
|
|
|
261
266
|
readonly whatnot: "whatnot";
|
|
262
267
|
readonly club: "club";
|
|
263
268
|
readonly twitter: "twitter";
|
|
269
|
+
readonly rss: "rss";
|
|
264
270
|
};
|
|
265
271
|
readonly ClipperCategoryEnum: {
|
|
266
272
|
readonly vip: "vip";
|
package/dist/other/enums.js
CHANGED
|
@@ -40,6 +40,7 @@ exports.StreamerMessageTypeEnum = {
|
|
|
40
40
|
twitterPost: 'twitterPost',
|
|
41
41
|
twitterLive: 'twitterLive',
|
|
42
42
|
twitterOffline: 'twitterOffline',
|
|
43
|
+
rssPost: 'rssPost',
|
|
43
44
|
};
|
|
44
45
|
exports.GuildMessageTypeEnum = {
|
|
45
46
|
giveawayRerolled: 'giveawayRerolled',
|
|
@@ -73,6 +74,7 @@ exports.GuildMessageTypeEnum = {
|
|
|
73
74
|
twitterPost: 'twitterPost',
|
|
74
75
|
twitterLive: 'twitterLive',
|
|
75
76
|
twitterOffline: 'twitterOffline',
|
|
77
|
+
rssPost: 'rssPost',
|
|
76
78
|
};
|
|
77
79
|
exports.GuildSingleMessageTypeEnum = {
|
|
78
80
|
autoLiveRoleAdded: 'autoLiveRoleAdded',
|
|
@@ -102,6 +104,7 @@ exports.PlatformEnum = {
|
|
|
102
104
|
whatnot: 'whatnot',
|
|
103
105
|
club: 'club',
|
|
104
106
|
twitter: 'twitter',
|
|
107
|
+
rss: 'rss',
|
|
105
108
|
};
|
|
106
109
|
exports.ClipperCategoryEnum = {
|
|
107
110
|
vip: 'vip',
|
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", "inGame", "boostNotifications", "twitter", "voteToTest", "voteToAddSocial", "aiAssistant", "voteToUseAssistant", "assistantShareChat", "latest", "latestYoutube", "repositionEmojis", "voteToRepositionEmojis", "setupWizard", "emotes", "liveRoles", "stickyMessages", "welcomeLeave", "statCounters", "voteSkipping"];
|
|
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", "rss"];
|
|
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
|
@@ -39,6 +39,7 @@ exports.FEATURE_NAMES = [
|
|
|
39
39
|
'youtubeReplays',
|
|
40
40
|
'livePostUpdates',
|
|
41
41
|
'multiDestination',
|
|
42
|
+
'scheduledStreams',
|
|
42
43
|
'inGame',
|
|
43
44
|
'boostNotifications',
|
|
44
45
|
'twitter',
|
|
@@ -58,4 +59,6 @@ exports.FEATURE_NAMES = [
|
|
|
58
59
|
'welcomeLeave',
|
|
59
60
|
'statCounters',
|
|
60
61
|
'voteSkipping',
|
|
62
|
+
'referralRewards',
|
|
63
|
+
'rss',
|
|
61
64
|
];
|
|
@@ -19,6 +19,7 @@ export declare const IN_GAME_TYPES: {
|
|
|
19
19
|
readonly youtube: readonly ["live", "video", "replay"];
|
|
20
20
|
readonly twitter: readonly ["live", "offline", "post"];
|
|
21
21
|
readonly club: readonly ["post"];
|
|
22
|
+
readonly rss: readonly ["post"];
|
|
22
23
|
};
|
|
23
24
|
export type InGamePlatform = keyof typeof IN_GAME_TYPES;
|
|
24
25
|
export type InGameAlertType = (typeof IN_GAME_TYPES)[InGamePlatform][number];
|
|
@@ -25,6 +25,7 @@ exports.IN_GAME_TYPES = {
|
|
|
25
25
|
youtube: ['live', 'video', 'replay'],
|
|
26
26
|
twitter: ['live', 'offline', 'post'],
|
|
27
27
|
club: ['post'],
|
|
28
|
+
rss: ['post'],
|
|
28
29
|
};
|
|
29
30
|
/** A creator may pick at most this many connected servers to show on (plan max is 10). */
|
|
30
31
|
exports.MAX_IN_GAME_SERVER_PICKS = 10;
|
|
@@ -29,6 +29,7 @@ export declare const DESTINATION_TYPES: {
|
|
|
29
29
|
readonly youtube: readonly ["live", "video", "replay"];
|
|
30
30
|
readonly twitter: readonly ["live", "post"];
|
|
31
31
|
readonly club: readonly ["post"];
|
|
32
|
+
readonly rss: readonly ["post"];
|
|
32
33
|
};
|
|
33
34
|
export type DestinationPlatform = keyof typeof DESTINATION_TYPES;
|
|
34
35
|
export type DestinationType = (typeof DESTINATION_TYPES)[DestinationPlatform][number];
|
|
@@ -35,6 +35,7 @@ exports.DESTINATION_TYPES = {
|
|
|
35
35
|
youtube: ['live', 'video', 'replay'],
|
|
36
36
|
twitter: ['live', 'post'],
|
|
37
37
|
club: ['post'],
|
|
38
|
+
rss: ['post'],
|
|
38
39
|
};
|
|
39
40
|
const SNOWFLAKE = /^\d{17,21}$/;
|
|
40
41
|
const isPingTarget = (v) => typeof v === 'string' && (SNOWFLAKE.test(v) || v === 'everyone' || v === 'here');
|
package/dist/other/prisma.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { TwitchStreamerZod } from './zod/twitchStreamer.zod';
|
|
|
6
6
|
import { TiktokStreamerZod } from './zod/tiktokStreamer.zod';
|
|
7
7
|
import { RumbleStreamerZod } from './zod/rumbleStreamer.zod';
|
|
8
8
|
import { ClubStreamerZod } from './zod/clubStreamer.zod';
|
|
9
|
+
import { RssFeedZod } from './zod/rssFeed.zod';
|
|
9
10
|
import { TwitterStreamerZod } from './zod/twitterStreamer.zod';
|
|
10
11
|
import { WhatnotStreamerZod } from './zod/whatnotStreamer.zod';
|
|
11
12
|
import { KickStreamerZod } from './zod/kickStreamer.zod';
|
|
@@ -37,6 +38,8 @@ export type RumbleStreamer = TSPrisma.TSPrismaModelsFull['RumbleStreamer'];
|
|
|
37
38
|
export type TikTokStreamer = TSPrisma.TSPrismaModelsFull['TiktokStreamer'];
|
|
38
39
|
export type YouTubeStreamer = TSPrisma.TSPrismaModelsFull['YoutubeStreamer'];
|
|
39
40
|
export type ClubStreamer = TSPrisma.TSPrismaModelsFull['ClubStreamer'];
|
|
41
|
+
/** An RSS / Atom feed a server follows. `streamerUserName` is the feed URL lower-cased (the key); `feedUrl` keeps its case. */
|
|
42
|
+
export type RssFeed = TSPrisma.TSPrismaModelsFull['RssFeed'];
|
|
40
43
|
export type TwitterStreamer = TSPrisma.TSPrismaModelsFull['TwitterStreamer'];
|
|
41
44
|
export type WhatnotStreamer = TSPrisma.TSPrismaModelsFull['WhatnotStreamer'];
|
|
42
45
|
export type GuildStarboard = TSPrisma.TSPrismaModelsFull['GuildStarboard'];
|
|
@@ -66,6 +69,7 @@ export type RumbleStreamerZod = z.infer<typeof RumbleStreamerZod.RumbleStreamerS
|
|
|
66
69
|
export type TikTokStreamerZod = z.infer<typeof TiktokStreamerZod.TiktokStreamerSchema>;
|
|
67
70
|
export type YouTubeStreamerZod = z.infer<typeof YoutubeStreamerZod.YoutubeStreamerSchema>;
|
|
68
71
|
export type ClubStreamerZod = z.infer<typeof ClubStreamerZod.ClubStreamerSchema>;
|
|
72
|
+
export type RssFeedZod = z.infer<typeof RssFeedZod.RssFeedSchema>;
|
|
69
73
|
export type TwitterStreamerZod = z.infer<typeof TwitterStreamerZod.TwitterStreamerSchema>;
|
|
70
74
|
export type WhatnotStreamerZod = z.infer<typeof WhatnotStreamerZod.WhatnotStreamerSchema>;
|
|
71
75
|
export type GuildStarboardZod = z.infer<typeof GuildStarboardZod.GuildStarboardSchema>;
|
|
@@ -327,6 +327,19 @@ export declare const placeholders: {
|
|
|
327
327
|
randomMessage: string;
|
|
328
328
|
member: string;
|
|
329
329
|
};
|
|
330
|
+
rss: {
|
|
331
|
+
platform: string;
|
|
332
|
+
postUrl: string;
|
|
333
|
+
creatorName: string;
|
|
334
|
+
postTitle: string;
|
|
335
|
+
postAuthor: string;
|
|
336
|
+
pingRole: string;
|
|
337
|
+
postText: string;
|
|
338
|
+
thumbnail: string;
|
|
339
|
+
publishDate: string;
|
|
340
|
+
randomMessage: string;
|
|
341
|
+
member: string;
|
|
342
|
+
};
|
|
330
343
|
};
|
|
331
344
|
birthday: {
|
|
332
345
|
username: string;
|
|
@@ -454,6 +467,46 @@ export declare const placeholders: {
|
|
|
454
467
|
randomMessage: string;
|
|
455
468
|
};
|
|
456
469
|
};
|
|
470
|
+
scheduled: {
|
|
471
|
+
kick: {
|
|
472
|
+
platform: string;
|
|
473
|
+
liveUrl: string;
|
|
474
|
+
streamerName: string;
|
|
475
|
+
streamTitle: string;
|
|
476
|
+
startsAt: string;
|
|
477
|
+
startTime: string;
|
|
478
|
+
pingRole: string;
|
|
479
|
+
};
|
|
480
|
+
twitch: {
|
|
481
|
+
platform: string;
|
|
482
|
+
liveUrl: string;
|
|
483
|
+
streamerName: string;
|
|
484
|
+
streamTitle: string;
|
|
485
|
+
category: string;
|
|
486
|
+
startsAt: string;
|
|
487
|
+
startTime: string;
|
|
488
|
+
pingRole: string;
|
|
489
|
+
};
|
|
490
|
+
rumble: {
|
|
491
|
+
platform: string;
|
|
492
|
+
liveUrl: string;
|
|
493
|
+
streamerName: string;
|
|
494
|
+
streamTitle: string;
|
|
495
|
+
streamThumbnail: string;
|
|
496
|
+
startsAt: string;
|
|
497
|
+
startTime: string;
|
|
498
|
+
pingRole: string;
|
|
499
|
+
};
|
|
500
|
+
youtube: {
|
|
501
|
+
platform: string;
|
|
502
|
+
liveUrl: string;
|
|
503
|
+
streamerName: string;
|
|
504
|
+
streamTitle: string;
|
|
505
|
+
startsAt: string;
|
|
506
|
+
startTime: string;
|
|
507
|
+
pingRole: string;
|
|
508
|
+
};
|
|
509
|
+
};
|
|
457
510
|
giveawayClaim: {
|
|
458
511
|
name: string;
|
|
459
512
|
pending: string;
|
|
@@ -1180,6 +1233,35 @@ export declare const messages: {
|
|
|
1180
1233
|
url?: undefined;
|
|
1181
1234
|
})[];
|
|
1182
1235
|
};
|
|
1236
|
+
rss: {
|
|
1237
|
+
content: string;
|
|
1238
|
+
embed: {
|
|
1239
|
+
author: {
|
|
1240
|
+
name: string;
|
|
1241
|
+
url: string;
|
|
1242
|
+
};
|
|
1243
|
+
title: string;
|
|
1244
|
+
url: string;
|
|
1245
|
+
description: string;
|
|
1246
|
+
color: number;
|
|
1247
|
+
image: {
|
|
1248
|
+
url: string;
|
|
1249
|
+
};
|
|
1250
|
+
footer: {
|
|
1251
|
+
text: string;
|
|
1252
|
+
icon_url: string;
|
|
1253
|
+
};
|
|
1254
|
+
};
|
|
1255
|
+
buttons: ({
|
|
1256
|
+
label: string;
|
|
1257
|
+
style: number;
|
|
1258
|
+
url: string;
|
|
1259
|
+
} | {
|
|
1260
|
+
label: string;
|
|
1261
|
+
style: number;
|
|
1262
|
+
url?: undefined;
|
|
1263
|
+
})[];
|
|
1264
|
+
};
|
|
1183
1265
|
};
|
|
1184
1266
|
birthday: {
|
|
1185
1267
|
content: string;
|