@notidotbot/noti-api-client 1.6.2 → 1.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/classes/guildClipForward.d.ts +709 -0
  2. package/dist/classes/guildClipForward.js +48 -0
  3. package/dist/classes/guildRolePanel.d.ts +189 -0
  4. package/dist/classes/guildRolePanel.js +48 -0
  5. package/dist/core/manager.d.ts +4 -0
  6. package/dist/core/manager.js +4 -0
  7. package/dist/index.d.ts +3 -1
  8. package/dist/index.js +2 -0
  9. package/dist/other/bitfields.d.ts +8 -2
  10. package/dist/other/bitfields.js +4 -0
  11. package/dist/other/enums.d.ts +10 -4
  12. package/dist/other/enums.js +5 -2
  13. package/dist/other/prisma.d.ts +13 -0
  14. package/dist/other/templates.d.ts +19 -0
  15. package/dist/other/templates.js +15 -0
  16. package/dist/other/zod/clipForward.zod.d.ts +200 -0
  17. package/dist/other/zod/clipForward.zod.js +46 -0
  18. package/dist/other/zod/guild.zod.d.ts +10 -3
  19. package/dist/other/zod/guild.zod.js +2 -0
  20. package/dist/other/zod/kickStreamer.zod.d.ts +4 -5
  21. package/dist/other/zod/kickStreamer.zod.js +0 -3
  22. package/dist/other/zod/rolePanels.zod.d.ts +137 -0
  23. package/dist/other/zod/rolePanels.zod.js +72 -0
  24. package/dist/other/zod/rumbleStreamer.zod.d.ts +9 -2
  25. package/dist/other/zod/rumbleStreamer.zod.js +5 -0
  26. package/dist/other/zod/schema.zod.d.ts +9 -6
  27. package/dist/other/zod/schema.zod.js +5 -2
  28. package/dist/other/zod/tiktokStreamer.zod.d.ts +4 -2
  29. package/dist/other/zod/twitchStreamer.zod.d.ts +4 -2
  30. package/dist/other/zod/youtubeStreamer.zod.d.ts +4 -2
  31. package/dist/tsconfig.tsbuildinfo +1 -1
  32. package/package.json +1 -1
  33. package/prisma/generated/ts-prisma.d.ts +5115 -1221
  34. package/prisma/schema/models/clipForward.prisma +105 -0
  35. package/prisma/schema/models/guild.prisma +2 -0
  36. package/prisma/schema/models/kickStreamer.prisma +0 -4
  37. package/prisma/schema/models/rolePanels.prisma +72 -0
  38. package/prisma/schema/models/rumbleStreamer.prisma +9 -3
  39. package/prisma/schema/schema.prisma +20 -2
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.APIGuildClipForward = void 0;
4
+ // Data.
5
+ class APIGuildClipForward {
6
+ web;
7
+ constructor(web) {
8
+ this.web = web;
9
+ }
10
+ // Methods.
11
+ async getGuildClipForwards({ auth, guildId }) {
12
+ return await this.web.request({
13
+ method: 'GET', auth,
14
+ endpoint: this.web.qp('/data/clipforward/' + guildId),
15
+ });
16
+ }
17
+ async getGuildClipForward({ auth, guildId, clipForwardId }) {
18
+ return await this.web.request({
19
+ method: 'GET', auth,
20
+ endpoint: this.web.qp('/data/clipforward/' + guildId + '/' + clipForwardId),
21
+ });
22
+ }
23
+ async createClipForward({ auth, guildId, body }) {
24
+ return await this.web.request({
25
+ method: 'POST', auth, body,
26
+ endpoint: this.web.qp('/data/clipforward/' + guildId),
27
+ });
28
+ }
29
+ async updateClipForward({ auth, guildId, clipForwardId, body }) {
30
+ return await this.web.request({
31
+ method: 'PATCH', auth, body,
32
+ endpoint: this.web.qp('/data/clipforward/' + guildId + '/' + clipForwardId),
33
+ });
34
+ }
35
+ async deleteClipForward({ auth, guildId, clipForwardId }) {
36
+ return await this.web.request({
37
+ method: 'DELETE', auth,
38
+ endpoint: this.web.qp('/data/clipforward/' + guildId + '/' + clipForwardId),
39
+ });
40
+ }
41
+ async testClipForward({ auth, guildId, clipForwardId }) {
42
+ return await this.web.request({
43
+ method: 'POST', auth,
44
+ endpoint: this.web.qp('/data/clipforward/' + guildId + '/' + clipForwardId + '/test'),
45
+ });
46
+ }
47
+ }
48
+ exports.APIGuildClipForward = APIGuildClipForward;
@@ -0,0 +1,189 @@
1
+ import { GuildRolePanelCreateSchema, GuildRolePanelZod } from '../other/prisma';
2
+ import { CancelOutWebResponses, DeepPartial } from '../types';
3
+ import { WebDataManager } from '../core/manager';
4
+ export declare class APIGuildRolePanel {
5
+ private web;
6
+ constructor(web: WebDataManager);
7
+ getGuildRolePanels({ auth, guildId }: GuildRolePanelFunctionsInput['getGuildRolePanels']): Promise<import("../types").WebResponse<({
8
+ embeds: ({
9
+ fields: ({
10
+ guildRolePanelEmbed: {
11
+ dbId: string;
12
+ title: string | null;
13
+ description: string;
14
+ url: string | null;
15
+ color: string | null;
16
+ footer: string | null;
17
+ footerIcon: string | null;
18
+ image: string | null;
19
+ thumbnail: string | null;
20
+ author: string | null;
21
+ authorIcon: string | null;
22
+ guildRolePanelId: string;
23
+ order: number;
24
+ } | null;
25
+ } & {
26
+ name: string;
27
+ dbId: string;
28
+ value: string | null;
29
+ inline: boolean | null;
30
+ guildRolePanelEmbedId: string;
31
+ })[];
32
+ } & {
33
+ dbId: string;
34
+ title: string | null;
35
+ description: string;
36
+ url: string | null;
37
+ color: string | null;
38
+ footer: string | null;
39
+ footerIcon: string | null;
40
+ image: string | null;
41
+ thumbnail: string | null;
42
+ author: string | null;
43
+ authorIcon: string | null;
44
+ guildRolePanelId: string;
45
+ order: number;
46
+ })[];
47
+ rows: {
48
+ dbId: string;
49
+ roleId: string;
50
+ emojiUnicodeOrId: string | null;
51
+ label: string | null;
52
+ style: number | null;
53
+ temporaryMinutes: number | null;
54
+ requiredRoleIds: string[];
55
+ blacklistRoleIds: string[];
56
+ guildRolePanelId: string;
57
+ }[];
58
+ } & {
59
+ name: string;
60
+ dbId: string;
61
+ guildId: string;
62
+ channelId: string;
63
+ messageId: string | null;
64
+ panelId: string;
65
+ interactionType: import("@prisma/client").$Enums.RolePanelType;
66
+ assignMode: import("@prisma/client").$Enums.RolePanelAssignMode;
67
+ maxRoles: number | null;
68
+ logChannelId: string | null;
69
+ requireAccountAgeDays: number | null;
70
+ requireJoinAgeDays: number | null;
71
+ boosterOnly: boolean | null;
72
+ })[]>>;
73
+ getGuildRolePanel({ auth, guildId, panelId }: GuildRolePanelFunctionsInput['getGuildRolePanel']): Promise<import("../types").WebResponse<{
74
+ embeds: ({
75
+ fields: ({
76
+ guildRolePanelEmbed: {
77
+ dbId: string;
78
+ title: string | null;
79
+ description: string;
80
+ url: string | null;
81
+ color: string | null;
82
+ footer: string | null;
83
+ footerIcon: string | null;
84
+ image: string | null;
85
+ thumbnail: string | null;
86
+ author: string | null;
87
+ authorIcon: string | null;
88
+ guildRolePanelId: string;
89
+ order: number;
90
+ } | null;
91
+ } & {
92
+ name: string;
93
+ dbId: string;
94
+ value: string | null;
95
+ inline: boolean | null;
96
+ guildRolePanelEmbedId: string;
97
+ })[];
98
+ } & {
99
+ dbId: string;
100
+ title: string | null;
101
+ description: string;
102
+ url: string | null;
103
+ color: string | null;
104
+ footer: string | null;
105
+ footerIcon: string | null;
106
+ image: string | null;
107
+ thumbnail: string | null;
108
+ author: string | null;
109
+ authorIcon: string | null;
110
+ guildRolePanelId: string;
111
+ order: number;
112
+ })[];
113
+ rows: {
114
+ dbId: string;
115
+ roleId: string;
116
+ emojiUnicodeOrId: string | null;
117
+ label: string | null;
118
+ style: number | null;
119
+ temporaryMinutes: number | null;
120
+ requiredRoleIds: string[];
121
+ blacklistRoleIds: string[];
122
+ guildRolePanelId: string;
123
+ }[];
124
+ } & {
125
+ name: string;
126
+ dbId: string;
127
+ guildId: string;
128
+ channelId: string;
129
+ messageId: string | null;
130
+ panelId: string;
131
+ interactionType: import("@prisma/client").$Enums.RolePanelType;
132
+ assignMode: import("@prisma/client").$Enums.RolePanelAssignMode;
133
+ maxRoles: number | null;
134
+ logChannelId: string | null;
135
+ requireAccountAgeDays: number | null;
136
+ requireJoinAgeDays: number | null;
137
+ boosterOnly: boolean | null;
138
+ }>>;
139
+ createRolePanel({ auth, guildId, body }: GuildRolePanelFunctionsInput['createRolePanel']): Promise<import("../types").WebResponse<string>>;
140
+ updateRolePanel({ auth, guildId, panelId, body }: GuildRolePanelFunctionsInput['updateRolePanel']): Promise<import("../types").WebResponse<string>>;
141
+ repostRolePanel({ auth, guildId, panelId }: GuildRolePanelFunctionsInput['repostRolePanel']): Promise<import("../types").WebResponse<string>>;
142
+ deleteRolePanel({ auth, guildId, panelId }: GuildRolePanelFunctionsInput['deleteRolePanel']): Promise<import("../types").WebResponse<string>>;
143
+ }
144
+ export type GuildRolePanelFunctionsInput = {
145
+ 'getGuildRolePanels': {
146
+ auth: string;
147
+ guildId: string;
148
+ };
149
+ 'getGuildRolePanel': {
150
+ auth: string;
151
+ guildId: string;
152
+ panelId: string;
153
+ };
154
+ 'createRolePanel': {
155
+ auth: string;
156
+ guildId: string;
157
+ body: GuildRolePanelCreateSchema;
158
+ };
159
+ 'updateRolePanel': {
160
+ auth: string;
161
+ guildId: string;
162
+ panelId: string;
163
+ body: DeepPartial<GuildRolePanelZod>;
164
+ };
165
+ 'repostRolePanel': {
166
+ auth: string;
167
+ guildId: string;
168
+ panelId: string;
169
+ };
170
+ 'deleteRolePanel': {
171
+ auth: string;
172
+ guildId: string;
173
+ panelId: string;
174
+ };
175
+ };
176
+ export type GuildRolePanelReturnTypes = {
177
+ 'getGuildRolePanelsRaw': Awaited<ReturnType<APIGuildRolePanel['getGuildRolePanels']>>;
178
+ 'getGuildRolePanelsSuccess': CancelOutWebResponses<Awaited<ReturnType<APIGuildRolePanel['getGuildRolePanels']>>>;
179
+ 'getGuildRolePanelRaw': Awaited<ReturnType<APIGuildRolePanel['getGuildRolePanel']>>;
180
+ 'getGuildRolePanelSuccess': CancelOutWebResponses<Awaited<ReturnType<APIGuildRolePanel['getGuildRolePanel']>>>;
181
+ 'createRolePanelRaw': Awaited<ReturnType<APIGuildRolePanel['createRolePanel']>>;
182
+ 'createRolePanelSuccess': CancelOutWebResponses<Awaited<ReturnType<APIGuildRolePanel['createRolePanel']>>>;
183
+ 'updateRolePanelRaw': Awaited<ReturnType<APIGuildRolePanel['updateRolePanel']>>;
184
+ 'updateRolePanelSuccess': CancelOutWebResponses<Awaited<ReturnType<APIGuildRolePanel['updateRolePanel']>>>;
185
+ 'repostRolePanelRaw': Awaited<ReturnType<APIGuildRolePanel['repostRolePanel']>>;
186
+ 'repostRolePanelSuccess': CancelOutWebResponses<Awaited<ReturnType<APIGuildRolePanel['repostRolePanel']>>>;
187
+ 'deleteRolePanelRaw': Awaited<ReturnType<APIGuildRolePanel['deleteRolePanel']>>;
188
+ 'deleteRolePanelSuccess': CancelOutWebResponses<Awaited<ReturnType<APIGuildRolePanel['deleteRolePanel']>>>;
189
+ };
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.APIGuildRolePanel = void 0;
4
+ // Data.
5
+ class APIGuildRolePanel {
6
+ web;
7
+ constructor(web) {
8
+ this.web = web;
9
+ }
10
+ // Methods.
11
+ async getGuildRolePanels({ auth, guildId }) {
12
+ return await this.web.request({
13
+ method: 'GET', auth,
14
+ endpoint: this.web.qp('/data/rolepanels/' + guildId),
15
+ });
16
+ }
17
+ async getGuildRolePanel({ auth, guildId, panelId }) {
18
+ return await this.web.request({
19
+ method: 'GET', auth,
20
+ endpoint: this.web.qp('/data/rolepanels/' + guildId + '/' + panelId),
21
+ });
22
+ }
23
+ async createRolePanel({ auth, guildId, body }) {
24
+ return await this.web.request({
25
+ method: 'POST', auth, body,
26
+ endpoint: this.web.qp('/data/rolepanels/' + guildId),
27
+ });
28
+ }
29
+ async updateRolePanel({ auth, guildId, panelId, body }) {
30
+ return await this.web.request({
31
+ method: 'PATCH', auth, body,
32
+ endpoint: this.web.qp('/data/rolepanels/' + guildId + '/' + panelId),
33
+ });
34
+ }
35
+ async repostRolePanel({ auth, guildId, panelId }) {
36
+ return await this.web.request({
37
+ method: 'POST', auth,
38
+ endpoint: this.web.qp('/data/rolepanels/' + guildId + '/' + panelId + '/repost'),
39
+ });
40
+ }
41
+ async deleteRolePanel({ auth, guildId, panelId }) {
42
+ return await this.web.request({
43
+ method: 'DELETE', auth,
44
+ endpoint: this.web.qp('/data/rolepanels/' + guildId + '/' + panelId),
45
+ });
46
+ }
47
+ }
48
+ exports.APIGuildRolePanel = APIGuildRolePanel;
@@ -5,6 +5,8 @@ import { APIGuildFixURL } from '../classes/guildFixURL';
5
5
  import { APIGuildClipper } from '../classes/guildClipper';
6
6
  import { APIGuildPlatform } from '../classes/guildPlatform';
7
7
  import { APIGuildGiveaway } from '../classes/guildGiveaway';
8
+ import { APIGuildRolePanel } from '../classes/guildRolePanel';
9
+ import { APIGuildClipForward } from '../classes/guildClipForward';
8
10
  import { APIGuildDrops } from '../classes/guildDrops';
9
11
  import { APIDropsGames } from '../classes/dropsGames';
10
12
  import { APIGames } from '../classes/games';
@@ -49,6 +51,8 @@ export declare class WebDataManager {
49
51
  readonly dropsGames: APIDropsGames;
50
52
  readonly guildPlatform: APIGuildPlatform;
51
53
  readonly guildGiveaway: APIGuildGiveaway;
54
+ readonly guildRolePanel: APIGuildRolePanel;
55
+ readonly guildClipForward: APIGuildClipForward;
52
56
  readonly guildStarboard: APIGuildStarboard;
53
57
  readonly guildPlatformAction: APIPlatformAction;
54
58
  readonly guildFixURL: APIGuildFixURL;
@@ -11,6 +11,8 @@ const guildFixURL_1 = require("../classes/guildFixURL");
11
11
  const guildClipper_1 = require("../classes/guildClipper");
12
12
  const guildPlatform_1 = require("../classes/guildPlatform");
13
13
  const guildGiveaway_1 = require("../classes/guildGiveaway");
14
+ const guildRolePanel_1 = require("../classes/guildRolePanel");
15
+ const guildClipForward_1 = require("../classes/guildClipForward");
14
16
  const guildDrops_1 = require("../classes/guildDrops");
15
17
  const dropsGames_1 = require("../classes/dropsGames");
16
18
  const games_1 = require("../classes/games");
@@ -53,6 +55,8 @@ class WebDataManager {
53
55
  dropsGames = new dropsGames_1.APIDropsGames(this);
54
56
  guildPlatform = new guildPlatform_1.APIGuildPlatform(this);
55
57
  guildGiveaway = new guildGiveaway_1.APIGuildGiveaway(this);
58
+ guildRolePanel = new guildRolePanel_1.APIGuildRolePanel(this);
59
+ guildClipForward = new guildClipForward_1.APIGuildClipForward(this);
56
60
  guildStarboard = new guildStarboard_1.APIGuildStarboard(this);
57
61
  guildPlatformAction = new guildPlatformAction_1.APIPlatformAction(this);
58
62
  guildFixURL = new guildFixURL_1.APIGuildFixURL(this);
package/dist/index.d.ts CHANGED
@@ -19,6 +19,8 @@ export * from './classes/guildDrops';
19
19
  export * from './classes/dropsGames';
20
20
  export * from './classes/guildPlatform';
21
21
  export * from './classes/guildGiveaway';
22
+ export * from './classes/guildRolePanel';
23
+ export * from './classes/guildClipForward';
22
24
  export * from './classes/guildStarboard';
23
25
  export * from './classes/guildPlatformAction';
24
26
  export * from './classes/guildFixURL';
@@ -27,4 +29,4 @@ export * from './classes/guildMessageScheduler';
27
29
  export * from './classes/games';
28
30
  export { GuildMessageTypeEnum, StreamerMessageTypeEnum, PlatformEnum, $Enums } from './other/enums';
29
31
  export type { Prisma, TSPrisma } from '@prisma/client';
30
- export type { ClientChangelog, Guild, User, Team, Member, KickStreamer, TwitchStreamer, YoutubeStreamer, TiktokStreamer, RumbleStreamer, GuildGiveaway } from '@prisma/client';
32
+ export type { ClientChangelog, Guild, User, Team, Member, KickStreamer, TwitchStreamer, YoutubeStreamer, TiktokStreamer, RumbleStreamer, GuildGiveaway, GuildRolePanel, GuildClipForward } from '@prisma/client';
package/dist/index.js CHANGED
@@ -36,6 +36,8 @@ __exportStar(require("./classes/guildDrops"), exports);
36
36
  __exportStar(require("./classes/dropsGames"), exports);
37
37
  __exportStar(require("./classes/guildPlatform"), exports);
38
38
  __exportStar(require("./classes/guildGiveaway"), exports);
39
+ __exportStar(require("./classes/guildRolePanel"), exports);
40
+ __exportStar(require("./classes/guildClipForward"), exports);
39
41
  __exportStar(require("./classes/guildStarboard"), exports);
40
42
  __exportStar(require("./classes/guildPlatformAction"), exports);
41
43
  __exportStar(require("./classes/guildFixURL"), exports);
@@ -92,6 +92,8 @@ export declare const GuildFeatures: {
92
92
  FixUrlWebhook: bigint;
93
93
  FixUrlCustomRules: bigint;
94
94
  KickClipperSubscribe: bigint;
95
+ KickClipForwarding: bigint;
96
+ TwitchClipForwarding: bigint;
95
97
  };
96
98
  export declare const GuildFeaturesText: Record<keyof typeof GuildFeatures, string>;
97
99
  export declare const UserFeatures: {
@@ -170,8 +172,10 @@ export declare class GuildFeaturesManager extends BitFieldManager<typeof GuildFe
170
172
  FixUrlWebhook: bigint;
171
173
  FixUrlCustomRules: bigint;
172
174
  KickClipperSubscribe: bigint;
175
+ KickClipForwarding: bigint;
176
+ TwitchClipForwarding: bigint;
173
177
  };
174
- t: Record<"StickyMessages" | "StatusRoles" | "Starboards" | "BaseSyncableRoles" | "FullSyncableRoles" | "LiveRole" | "StatCounters" | "VoteSkipping" | "KickAuditLogs" | "LeaderboardCommand" | "RefreshingLeaderboard" | "LeaderBoardSyncRoles" | "BetaAccess" | "PriorityNotifications" | "KickClips" | "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" | "FixUrlWebhook" | "FixUrlCustomRules" | "KickClipperSubscribe", string>;
178
+ t: Record<"StickyMessages" | "StatusRoles" | "Starboards" | "KickClips" | "BaseSyncableRoles" | "FullSyncableRoles" | "LiveRole" | "StatCounters" | "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" | "FixUrlWebhook" | "FixUrlCustomRules" | "KickClipperSubscribe" | "KickClipForwarding" | "TwitchClipForwarding", string>;
175
179
  all: bigint;
176
180
  static b: {
177
181
  BaseSyncableRoles: bigint;
@@ -227,8 +231,10 @@ export declare class GuildFeaturesManager extends BitFieldManager<typeof GuildFe
227
231
  FixUrlWebhook: bigint;
228
232
  FixUrlCustomRules: bigint;
229
233
  KickClipperSubscribe: bigint;
234
+ KickClipForwarding: bigint;
235
+ TwitchClipForwarding: bigint;
230
236
  };
231
- static t: Record<"StickyMessages" | "StatusRoles" | "Starboards" | "BaseSyncableRoles" | "FullSyncableRoles" | "LiveRole" | "StatCounters" | "VoteSkipping" | "KickAuditLogs" | "LeaderboardCommand" | "RefreshingLeaderboard" | "LeaderBoardSyncRoles" | "BetaAccess" | "PriorityNotifications" | "KickClips" | "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" | "FixUrlWebhook" | "FixUrlCustomRules" | "KickClipperSubscribe", string>;
237
+ static t: Record<"StickyMessages" | "StatusRoles" | "Starboards" | "KickClips" | "BaseSyncableRoles" | "FullSyncableRoles" | "LiveRole" | "StatCounters" | "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" | "FixUrlWebhook" | "FixUrlCustomRules" | "KickClipperSubscribe" | "KickClipForwarding" | "TwitchClipForwarding", string>;
232
238
  static all: bigint;
233
239
  convertBitToField<T extends EnumValues<typeof GuildFeatures>>(bit: T): string | null;
234
240
  }
@@ -177,6 +177,8 @@ exports.GuildFeatures = {
177
177
  FixUrlWebhook: 1n << 59n,
178
178
  FixUrlCustomRules: 1n << 60n,
179
179
  KickClipperSubscribe: 1n << 61n,
180
+ KickClipForwarding: 1n << 67n, // Premium: forward Kick native clips (Clip Forwarding).
181
+ TwitchClipForwarding: 1n << 68n, // Premium: forward Twitch clips (Clip Forwarding).
180
182
  };
181
183
  exports.GuildFeaturesText = {
182
184
  BaseSyncableRoles: 'Basic Syncable Roles',
@@ -232,6 +234,8 @@ exports.GuildFeaturesText = {
232
234
  FixUrlWebhook: 'Fix URL Webhook Mode',
233
235
  FixUrlCustomRules: 'Fix URL Custom Rules',
234
236
  KickClipperSubscribe: 'Kick Clipper Subscription',
237
+ KickClipForwarding: 'Kick Clip Forwarding',
238
+ TwitchClipForwarding: 'Twitch Clip Forwarding',
235
239
  };
236
240
  exports.UserFeatures = {
237
241
  HasOneServerPremium: 1n << 0n,
@@ -14,7 +14,7 @@ export declare const SingleMessageTypeEnum: {
14
14
  };
15
15
  export declare const StreamerMessageTypeEnum: {
16
16
  readonly clip: "clip";
17
- readonly kickBuiltInClip: "kickBuiltInClip";
17
+ readonly clipForward: "clipForward";
18
18
  readonly vod: "vod";
19
19
  readonly kickLive: "kickLive";
20
20
  readonly kickOffline: "kickOffline";
@@ -22,6 +22,7 @@ export declare const StreamerMessageTypeEnum: {
22
22
  readonly twitchOffline: "twitchOffline";
23
23
  readonly rumbleLive: "rumbleLive";
24
24
  readonly rumbleOffline: "rumbleOffline";
25
+ readonly rumbleVideo: "rumbleVideo";
25
26
  readonly tiktokLive: "tiktokLive";
26
27
  readonly tiktokOffline: "tiktokOffline";
27
28
  readonly tiktokVideo: "tiktokVideo";
@@ -39,7 +40,7 @@ export declare const GuildMessageTypeEnum: {
39
40
  readonly welcome: "welcome";
40
41
  readonly leave: "leave";
41
42
  readonly clip: "clip";
42
- readonly kickBuiltInClip: "kickBuiltInClip";
43
+ readonly clipForward: "clipForward";
43
44
  readonly vod: "vod";
44
45
  readonly kickLive: "kickLive";
45
46
  readonly kickOffline: "kickOffline";
@@ -47,6 +48,7 @@ export declare const GuildMessageTypeEnum: {
47
48
  readonly twitchOffline: "twitchOffline";
48
49
  readonly rumbleLive: "rumbleLive";
49
50
  readonly rumbleOffline: "rumbleOffline";
51
+ readonly rumbleVideo: "rumbleVideo";
50
52
  readonly tiktokLive: "tiktokLive";
51
53
  readonly tiktokOffline: "tiktokOffline";
52
54
  readonly tiktokVideo: "tiktokVideo";
@@ -90,6 +92,7 @@ export declare const UserMediaSharePermissionsEnum: {
90
92
  export declare const PlatformsWithVideosEnum: {
91
93
  readonly tiktok: "tiktok";
92
94
  readonly youtube: "youtube";
95
+ readonly rumble: "rumble";
93
96
  };
94
97
  export declare const RumbleTypeEnum: {
95
98
  readonly channel: "channel";
@@ -157,7 +160,7 @@ export declare const $Enums: {
157
160
  };
158
161
  readonly StreamerMessageTypeEnum: {
159
162
  readonly clip: "clip";
160
- readonly kickBuiltInClip: "kickBuiltInClip";
163
+ readonly clipForward: "clipForward";
161
164
  readonly vod: "vod";
162
165
  readonly kickLive: "kickLive";
163
166
  readonly kickOffline: "kickOffline";
@@ -165,6 +168,7 @@ export declare const $Enums: {
165
168
  readonly twitchOffline: "twitchOffline";
166
169
  readonly rumbleLive: "rumbleLive";
167
170
  readonly rumbleOffline: "rumbleOffline";
171
+ readonly rumbleVideo: "rumbleVideo";
168
172
  readonly tiktokLive: "tiktokLive";
169
173
  readonly tiktokOffline: "tiktokOffline";
170
174
  readonly tiktokVideo: "tiktokVideo";
@@ -182,7 +186,7 @@ export declare const $Enums: {
182
186
  readonly welcome: "welcome";
183
187
  readonly leave: "leave";
184
188
  readonly clip: "clip";
185
- readonly kickBuiltInClip: "kickBuiltInClip";
189
+ readonly clipForward: "clipForward";
186
190
  readonly vod: "vod";
187
191
  readonly kickLive: "kickLive";
188
192
  readonly kickOffline: "kickOffline";
@@ -190,6 +194,7 @@ export declare const $Enums: {
190
194
  readonly twitchOffline: "twitchOffline";
191
195
  readonly rumbleLive: "rumbleLive";
192
196
  readonly rumbleOffline: "rumbleOffline";
197
+ readonly rumbleVideo: "rumbleVideo";
193
198
  readonly tiktokLive: "tiktokLive";
194
199
  readonly tiktokOffline: "tiktokOffline";
195
200
  readonly tiktokVideo: "tiktokVideo";
@@ -233,6 +238,7 @@ export declare const $Enums: {
233
238
  readonly PlatformsWithVideosEnum: {
234
239
  readonly tiktok: "tiktok";
235
240
  readonly youtube: "youtube";
241
+ readonly rumble: "rumble";
236
242
  };
237
243
  readonly RumbleTypeEnum: {
238
244
  readonly channel: "channel";
@@ -20,7 +20,7 @@ exports.SingleMessageTypeEnum = {
20
20
  };
21
21
  exports.StreamerMessageTypeEnum = {
22
22
  clip: 'clip',
23
- kickBuiltInClip: 'kickBuiltInClip',
23
+ clipForward: 'clipForward',
24
24
  vod: 'vod',
25
25
  kickLive: 'kickLive',
26
26
  kickOffline: 'kickOffline',
@@ -28,6 +28,7 @@ exports.StreamerMessageTypeEnum = {
28
28
  twitchOffline: 'twitchOffline',
29
29
  rumbleLive: 'rumbleLive',
30
30
  rumbleOffline: 'rumbleOffline',
31
+ rumbleVideo: 'rumbleVideo',
31
32
  tiktokLive: 'tiktokLive',
32
33
  tiktokOffline: 'tiktokOffline',
33
34
  tiktokVideo: 'tiktokVideo',
@@ -46,7 +47,7 @@ exports.GuildMessageTypeEnum = {
46
47
  leave: 'leave',
47
48
  // StreamerMessageTypeEnum values
48
49
  clip: 'clip',
49
- kickBuiltInClip: 'kickBuiltInClip',
50
+ clipForward: 'clipForward',
50
51
  vod: 'vod',
51
52
  kickLive: 'kickLive',
52
53
  kickOffline: 'kickOffline',
@@ -54,6 +55,7 @@ exports.GuildMessageTypeEnum = {
54
55
  twitchOffline: 'twitchOffline',
55
56
  rumbleLive: 'rumbleLive',
56
57
  rumbleOffline: 'rumbleOffline',
58
+ rumbleVideo: 'rumbleVideo',
57
59
  tiktokLive: 'tiktokLive',
58
60
  tiktokOffline: 'tiktokOffline',
59
61
  tiktokVideo: 'tiktokVideo',
@@ -97,6 +99,7 @@ exports.UserMediaSharePermissionsEnum = {
97
99
  exports.PlatformsWithVideosEnum = {
98
100
  tiktok: 'tiktok',
99
101
  youtube: 'youtube',
102
+ rumble: 'rumble',
100
103
  };
101
104
  exports.RumbleTypeEnum = {
102
105
  channel: 'channel',
@@ -8,6 +8,8 @@ import { RumbleStreamerZod } from './zod/rumbleStreamer.zod';
8
8
  import { KickStreamerZod } from './zod/kickStreamer.zod';
9
9
  import { GuildStarboardZod } from './zod/starboard.zod';
10
10
  import { GuildGiveawayZod } from './zod/giveaways.zod';
11
+ import { GuildRolePanelZod } from './zod/rolePanels.zod';
12
+ import { GuildClipForwardZod } from './zod/clipForward.zod';
11
13
  import { R2StorageZod } from './zod/r2Storage.zod';
12
14
  import { MemberZod } from './zod/member.zod';
13
15
  import { ClientZod } from './zod/client.zod';
@@ -33,6 +35,11 @@ export type TikTokStreamer = TSPrisma.TSPrismaModelsFull['TiktokStreamer'];
33
35
  export type YouTubeStreamer = TSPrisma.TSPrismaModelsFull['YoutubeStreamer'];
34
36
  export type GuildStarboard = TSPrisma.TSPrismaModelsFull['GuildStarboard'];
35
37
  export type GuildGiveaway = TSPrisma.TSPrismaModelsFull['GuildGiveaway'];
38
+ export type GuildRolePanel = TSPrisma.TSPrismaModelsFull['GuildRolePanel'];
39
+ export type GuildClipForward = TSPrisma.TSPrismaModelsFull['GuildClipForward'];
40
+ export type GuildRolePanelRole = TSPrisma.TSPrismaModelsFull['GuildRolePanelRole'];
41
+ export type GuildRolePanelEmbed = TSPrisma.TSPrismaModelsFull['GuildRolePanelEmbed'];
42
+ export type GuildRolePanelEmbedField = TSPrisma.TSPrismaModelsFull['GuildRolePanelEmbedField'];
36
43
  export type Drop = TSPrisma.TSPrismaModelsFull['Drop'];
37
44
  export type DropGame = TSPrisma.TSPrismaModelsFull['DropGame'];
38
45
  export type GuildDrops = TSPrisma.TSPrismaModelsFull['GuildDrops'];
@@ -55,6 +62,12 @@ export type YouTubeStreamerZod = z.infer<typeof YoutubeStreamerZod.YoutubeStream
55
62
  export type GuildStarboardZod = z.infer<typeof GuildStarboardZod.GuildStarboardSchema>;
56
63
  export type GuildGiveawayZod = z.infer<typeof GuildGiveawayZod.GuildGiveawaySchema>;
57
64
  export type GuildGiveawayCreateSchema = z.infer<typeof GuildGiveawayZod.GuildGiveawayCreateSchema>;
65
+ export type GuildRolePanelZod = z.infer<typeof GuildRolePanelZod.GuildRolePanelSchema>;
66
+ export type GuildRolePanelCreateSchema = z.infer<typeof GuildRolePanelZod.GuildRolePanelCreateSchema>;
67
+ export type GuildClipForwardZod = z.infer<typeof GuildClipForwardZod.GuildClipForwardSchema>;
68
+ export type GuildClipForwardCreateSchema = z.infer<typeof GuildClipForwardZod.GuildClipForwardCreateSchema>;
69
+ export type GuildRolePanelRoleZod = z.infer<typeof GuildRolePanelZod.GuildRolePanelRoleSchema>;
70
+ export type GuildRolePanelEmbedZod = z.infer<typeof GuildRolePanelZod.GuildRolePanelEmbedSchema>;
58
71
  export type DropZod = z.infer<typeof DropsZod.DropSchema>;
59
72
  export type DropGameZod = z.infer<typeof DropsZod.DropGameSchema>;
60
73
  export type GuildDropsZod = z.infer<typeof DropsZod.GuildDropsSchema>;
@@ -191,6 +191,16 @@ export declare const placeholders: {
191
191
  duration: string;
192
192
  randomMessage: string;
193
193
  };
194
+ rumble: {
195
+ platform: string;
196
+ videoUrl: string;
197
+ streamerName: string;
198
+ pingRole: string;
199
+ title: string;
200
+ thumbnail: string;
201
+ uploadDate: string;
202
+ randomMessage: string;
203
+ };
194
204
  };
195
205
  birthday: {
196
206
  username: string;
@@ -677,6 +687,15 @@ export declare const messages: {
677
687
  url: string;
678
688
  }[];
679
689
  };
690
+ rumble: {
691
+ content: string;
692
+ embed: {};
693
+ buttons: {
694
+ label: string;
695
+ style: number;
696
+ url: string;
697
+ }[];
698
+ };
680
699
  };
681
700
  birthday: {
682
701
  content: string;
@@ -194,6 +194,16 @@ exports.placeholders = {
194
194
  'duration': '4h 20m',
195
195
  'randomMessage': 'Example Message',
196
196
  },
197
+ rumble: {
198
+ 'platform': 'Rumble',
199
+ 'videoUrl': 'https://example.com',
200
+ 'streamerName': 'Example',
201
+ 'pingRole': '<@&123456789>',
202
+ 'title': 'Example Title',
203
+ 'thumbnail': 'https://example.com',
204
+ 'uploadDate': '<t:1640995200:R>',
205
+ 'randomMessage': 'Example Message',
206
+ },
197
207
  },
198
208
  birthday: {
199
209
  'username': 'Example',
@@ -633,6 +643,11 @@ exports.messages = {
633
643
  embed: {},
634
644
  buttons: exports.buttons.video,
635
645
  },
646
+ rumble: {
647
+ content: '{pingRole} {randomMessage}\n\n> {videoUrl}',
648
+ embed: {},
649
+ buttons: exports.buttons.video,
650
+ },
636
651
  },
637
652
  birthday: {
638
653
  content: '{userMention}',