@notidotbot/noti-api-client 1.6.1 → 1.6.3

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.
@@ -187,10 +187,34 @@ export type SendPanelBody<T extends SendPanelType> = T extends 'sync' ? {
187
187
  } : T extends 'birthday' ? {
188
188
  birthdayChannelId?: string;
189
189
  } : never;
190
+ export type GuildErrorPermissionReport = {
191
+ scope: 'channel' | 'role';
192
+ channelId?: string;
193
+ roleId?: string;
194
+ required: string[];
195
+ has: string[];
196
+ missing: string[];
197
+ hierarchyBlocked?: boolean;
198
+ };
190
199
  export type GuildErrors = {
191
200
  time: number;
192
201
  message: string;
202
+ /** Documented error id shown to admins, e.g. "NOTI-1004". */
203
+ code?: string;
204
+ /** Stable enum key, e.g. "CHANNEL_MISSING_PERMISSIONS". */
205
+ codeKey?: string;
206
+ severity?: 'error' | 'warning' | 'info';
207
+ /** Short heading for the log row. */
208
+ title?: string;
209
+ /** Plain-English explanation of what caused the error. */
210
+ cause?: string;
211
+ /** Admin-actionable steps to resolve it. */
212
+ fix?: string;
213
+ /** Optional deep link to docs for this code. */
214
+ docsUrl?: string;
193
215
  missingPermissions?: string[];
216
+ /** Exact have/missing permission breakdown + whether it's a channel or role problem. */
217
+ permissionReport?: GuildErrorPermissionReport;
194
218
  }[];
195
219
  export type GuildWithStuff = Guild & {
196
220
  isPremium: boolean;
@@ -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,7 @@ 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';
8
9
  import { APIGuildDrops } from '../classes/guildDrops';
9
10
  import { APIDropsGames } from '../classes/dropsGames';
10
11
  import { APIGames } from '../classes/games';
@@ -49,6 +50,7 @@ export declare class WebDataManager {
49
50
  readonly dropsGames: APIDropsGames;
50
51
  readonly guildPlatform: APIGuildPlatform;
51
52
  readonly guildGiveaway: APIGuildGiveaway;
53
+ readonly guildRolePanel: APIGuildRolePanel;
52
54
  readonly guildStarboard: APIGuildStarboard;
53
55
  readonly guildPlatformAction: APIPlatformAction;
54
56
  readonly guildFixURL: APIGuildFixURL;
@@ -11,6 +11,7 @@ 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");
14
15
  const guildDrops_1 = require("../classes/guildDrops");
15
16
  const dropsGames_1 = require("../classes/dropsGames");
16
17
  const games_1 = require("../classes/games");
@@ -53,6 +54,7 @@ class WebDataManager {
53
54
  dropsGames = new dropsGames_1.APIDropsGames(this);
54
55
  guildPlatform = new guildPlatform_1.APIGuildPlatform(this);
55
56
  guildGiveaway = new guildGiveaway_1.APIGuildGiveaway(this);
57
+ guildRolePanel = new guildRolePanel_1.APIGuildRolePanel(this);
56
58
  guildStarboard = new guildStarboard_1.APIGuildStarboard(this);
57
59
  guildPlatformAction = new guildPlatformAction_1.APIPlatformAction(this);
58
60
  guildFixURL = new guildFixURL_1.APIGuildFixURL(this);
package/dist/index.d.ts CHANGED
@@ -19,6 +19,7 @@ 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';
22
23
  export * from './classes/guildStarboard';
23
24
  export * from './classes/guildPlatformAction';
24
25
  export * from './classes/guildFixURL';
@@ -27,4 +28,4 @@ export * from './classes/guildMessageScheduler';
27
28
  export * from './classes/games';
28
29
  export { GuildMessageTypeEnum, StreamerMessageTypeEnum, PlatformEnum, $Enums } from './other/enums';
29
30
  export type { Prisma, TSPrisma } from '@prisma/client';
30
- export type { ClientChangelog, Guild, User, Team, Member, KickStreamer, TwitchStreamer, YoutubeStreamer, TiktokStreamer, RumbleStreamer, GuildGiveaway } from '@prisma/client';
31
+ export type { ClientChangelog, Guild, User, Team, Member, KickStreamer, TwitchStreamer, YoutubeStreamer, TiktokStreamer, RumbleStreamer, GuildGiveaway, GuildRolePanel } from '@prisma/client';
package/dist/index.js CHANGED
@@ -36,6 +36,7 @@ __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);
39
40
  __exportStar(require("./classes/guildStarboard"), exports);
40
41
  __exportStar(require("./classes/guildPlatformAction"), exports);
41
42
  __exportStar(require("./classes/guildFixURL"), exports);
@@ -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";
@@ -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";
@@ -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";
@@ -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";
@@ -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',
@@ -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,7 @@ 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';
11
12
  import { R2StorageZod } from './zod/r2Storage.zod';
12
13
  import { MemberZod } from './zod/member.zod';
13
14
  import { ClientZod } from './zod/client.zod';
@@ -33,6 +34,10 @@ export type TikTokStreamer = TSPrisma.TSPrismaModelsFull['TiktokStreamer'];
33
34
  export type YouTubeStreamer = TSPrisma.TSPrismaModelsFull['YoutubeStreamer'];
34
35
  export type GuildStarboard = TSPrisma.TSPrismaModelsFull['GuildStarboard'];
35
36
  export type GuildGiveaway = TSPrisma.TSPrismaModelsFull['GuildGiveaway'];
37
+ export type GuildRolePanel = TSPrisma.TSPrismaModelsFull['GuildRolePanel'];
38
+ export type GuildRolePanelRole = TSPrisma.TSPrismaModelsFull['GuildRolePanelRole'];
39
+ export type GuildRolePanelEmbed = TSPrisma.TSPrismaModelsFull['GuildRolePanelEmbed'];
40
+ export type GuildRolePanelEmbedField = TSPrisma.TSPrismaModelsFull['GuildRolePanelEmbedField'];
36
41
  export type Drop = TSPrisma.TSPrismaModelsFull['Drop'];
37
42
  export type DropGame = TSPrisma.TSPrismaModelsFull['DropGame'];
38
43
  export type GuildDrops = TSPrisma.TSPrismaModelsFull['GuildDrops'];
@@ -55,6 +60,10 @@ export type YouTubeStreamerZod = z.infer<typeof YoutubeStreamerZod.YoutubeStream
55
60
  export type GuildStarboardZod = z.infer<typeof GuildStarboardZod.GuildStarboardSchema>;
56
61
  export type GuildGiveawayZod = z.infer<typeof GuildGiveawayZod.GuildGiveawaySchema>;
57
62
  export type GuildGiveawayCreateSchema = z.infer<typeof GuildGiveawayZod.GuildGiveawayCreateSchema>;
63
+ export type GuildRolePanelZod = z.infer<typeof GuildRolePanelZod.GuildRolePanelSchema>;
64
+ export type GuildRolePanelCreateSchema = z.infer<typeof GuildRolePanelZod.GuildRolePanelCreateSchema>;
65
+ export type GuildRolePanelRoleZod = z.infer<typeof GuildRolePanelZod.GuildRolePanelRoleSchema>;
66
+ export type GuildRolePanelEmbedZod = z.infer<typeof GuildRolePanelZod.GuildRolePanelEmbedSchema>;
58
67
  export type DropZod = z.infer<typeof DropsZod.DropSchema>;
59
68
  export type DropGameZod = z.infer<typeof DropsZod.DropGameSchema>;
60
69
  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}',
@@ -78,6 +78,7 @@ export declare const GuildZod: {
78
78
  twitchOffline: "twitchOffline";
79
79
  rumbleLive: "rumbleLive";
80
80
  rumbleOffline: "rumbleOffline";
81
+ rumbleVideo: "rumbleVideo";
81
82
  tiktokLive: "tiktokLive";
82
83
  tiktokOffline: "tiktokOffline";
83
84
  tiktokVideo: "tiktokVideo";
@@ -208,6 +209,7 @@ export declare const GuildZod: {
208
209
  twitchOffline: "twitchOffline";
209
210
  rumbleLive: "rumbleLive";
210
211
  rumbleOffline: "rumbleOffline";
212
+ rumbleVideo: "rumbleVideo";
211
213
  tiktokLive: "tiktokLive";
212
214
  tiktokOffline: "tiktokOffline";
213
215
  tiktokVideo: "tiktokVideo";
@@ -423,6 +425,7 @@ export declare const GuildZod: {
423
425
  twitchOffline: "twitchOffline";
424
426
  rumbleLive: "rumbleLive";
425
427
  rumbleOffline: "rumbleOffline";
428
+ rumbleVideo: "rumbleVideo";
426
429
  tiktokLive: "tiktokLive";
427
430
  tiktokOffline: "tiktokOffline";
428
431
  tiktokVideo: "tiktokVideo";
@@ -53,6 +53,7 @@ export declare const KickStreamerZod: {
53
53
  twitchOffline: "twitchOffline";
54
54
  rumbleLive: "rumbleLive";
55
55
  rumbleOffline: "rumbleOffline";
56
+ rumbleVideo: "rumbleVideo";
56
57
  tiktokLive: "tiktokLive";
57
58
  tiktokOffline: "tiktokOffline";
58
59
  tiktokVideo: "tiktokVideo";
@@ -168,6 +169,7 @@ export declare const KickStreamerZod: {
168
169
  twitchOffline: "twitchOffline";
169
170
  rumbleLive: "rumbleLive";
170
171
  rumbleOffline: "rumbleOffline";
172
+ rumbleVideo: "rumbleVideo";
171
173
  tiktokLive: "tiktokLive";
172
174
  tiktokOffline: "tiktokOffline";
173
175
  tiktokVideo: "tiktokVideo";
@@ -0,0 +1,137 @@
1
+ import { PartialZodObject } from './schema.zod';
2
+ import { z } from 'zod';
3
+ export declare const GuildRolePanelZod: {
4
+ readonly GuildRolePanelCreateSchema: z.ZodObject<{
5
+ panelId: z.ZodString;
6
+ guildId: z.ZodString;
7
+ channelId: z.ZodString;
8
+ name: z.ZodString;
9
+ interactionType: z.ZodEnum<{
10
+ buttons: "buttons";
11
+ reactions: "reactions";
12
+ dropdown: "dropdown";
13
+ }>;
14
+ assignMode: z.ZodEnum<{
15
+ toggle: "toggle";
16
+ unique: "unique";
17
+ limit: "limit";
18
+ verify: "verify";
19
+ }>;
20
+ messageId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ maxRoles: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
22
+ logChannelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ requireAccountAgeDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
24
+ requireJoinAgeDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
25
+ boosterOnly: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
26
+ embeds: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
27
+ order: z.ZodNumber;
28
+ title: z.ZodNullable<z.ZodString>;
29
+ url: z.ZodNullable<z.ZodString>;
30
+ description: z.ZodString;
31
+ color: z.ZodNullable<z.ZodString>;
32
+ footer: z.ZodNullable<z.ZodString>;
33
+ footerIcon: z.ZodNullable<z.ZodString>;
34
+ image: z.ZodNullable<z.ZodString>;
35
+ thumbnail: z.ZodNullable<z.ZodString>;
36
+ author: z.ZodNullable<z.ZodString>;
37
+ authorIcon: z.ZodNullable<z.ZodString>;
38
+ fields: z.ZodArray<z.ZodLazy<z.ZodObject<{
39
+ name: z.ZodString;
40
+ value: z.ZodNullable<z.ZodString>;
41
+ inline: z.ZodNullable<z.ZodBoolean>;
42
+ }, z.core.$strip>>>;
43
+ }, z.core.$strip>>>>;
44
+ rows: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
45
+ roleId: z.ZodString;
46
+ label: z.ZodNullable<z.ZodString>;
47
+ emojiUnicodeOrId: z.ZodNullable<z.ZodString>;
48
+ style: z.ZodNullable<z.ZodNumber>;
49
+ temporaryMinutes: z.ZodNullable<z.ZodNumber>;
50
+ requiredRoleIds: z.ZodArray<z.ZodString>;
51
+ blacklistRoleIds: z.ZodArray<z.ZodString>;
52
+ }, z.core.$strip>>>>;
53
+ }, z.core.$strip>;
54
+ readonly GuildRolePanelSchema: z.ZodObject<{
55
+ panelId: z.ZodString;
56
+ guildId: z.ZodString;
57
+ channelId: z.ZodString;
58
+ messageId: z.ZodNullable<z.ZodString>;
59
+ name: z.ZodString;
60
+ interactionType: z.ZodEnum<{
61
+ buttons: "buttons";
62
+ reactions: "reactions";
63
+ dropdown: "dropdown";
64
+ }>;
65
+ assignMode: z.ZodEnum<{
66
+ toggle: "toggle";
67
+ unique: "unique";
68
+ limit: "limit";
69
+ verify: "verify";
70
+ }>;
71
+ maxRoles: z.ZodNullable<z.ZodNumber>;
72
+ logChannelId: z.ZodNullable<z.ZodString>;
73
+ requireAccountAgeDays: z.ZodNullable<z.ZodNumber>;
74
+ requireJoinAgeDays: z.ZodNullable<z.ZodNumber>;
75
+ boosterOnly: z.ZodNullable<z.ZodBoolean>;
76
+ embeds: z.ZodArray<z.ZodLazy<z.ZodObject<{
77
+ order: z.ZodNumber;
78
+ title: z.ZodNullable<z.ZodString>;
79
+ url: z.ZodNullable<z.ZodString>;
80
+ description: z.ZodString;
81
+ color: z.ZodNullable<z.ZodString>;
82
+ footer: z.ZodNullable<z.ZodString>;
83
+ footerIcon: z.ZodNullable<z.ZodString>;
84
+ image: z.ZodNullable<z.ZodString>;
85
+ thumbnail: z.ZodNullable<z.ZodString>;
86
+ author: z.ZodNullable<z.ZodString>;
87
+ authorIcon: z.ZodNullable<z.ZodString>;
88
+ fields: z.ZodArray<z.ZodLazy<z.ZodObject<{
89
+ name: z.ZodString;
90
+ value: z.ZodNullable<z.ZodString>;
91
+ inline: z.ZodNullable<z.ZodBoolean>;
92
+ }, z.core.$strip>>>;
93
+ }, z.core.$strip>>>;
94
+ rows: z.ZodArray<z.ZodLazy<z.ZodObject<{
95
+ roleId: z.ZodString;
96
+ label: z.ZodNullable<z.ZodString>;
97
+ emojiUnicodeOrId: z.ZodNullable<z.ZodString>;
98
+ style: z.ZodNullable<z.ZodNumber>;
99
+ temporaryMinutes: z.ZodNullable<z.ZodNumber>;
100
+ requiredRoleIds: z.ZodArray<z.ZodString>;
101
+ blacklistRoleIds: z.ZodArray<z.ZodString>;
102
+ }, z.core.$strip>>>;
103
+ }, z.core.$strip>;
104
+ readonly GuildRolePanelRoleSchema: z.ZodObject<{
105
+ roleId: z.ZodString;
106
+ label: z.ZodNullable<z.ZodString>;
107
+ emojiUnicodeOrId: z.ZodNullable<z.ZodString>;
108
+ style: z.ZodNullable<z.ZodNumber>;
109
+ temporaryMinutes: z.ZodNullable<z.ZodNumber>;
110
+ requiredRoleIds: z.ZodArray<z.ZodString>;
111
+ blacklistRoleIds: z.ZodArray<z.ZodString>;
112
+ }, z.core.$strip>;
113
+ readonly GuildRolePanelEmbedSchema: z.ZodObject<{
114
+ order: z.ZodNumber;
115
+ title: z.ZodNullable<z.ZodString>;
116
+ url: z.ZodNullable<z.ZodString>;
117
+ description: z.ZodString;
118
+ color: z.ZodNullable<z.ZodString>;
119
+ footer: z.ZodNullable<z.ZodString>;
120
+ footerIcon: z.ZodNullable<z.ZodString>;
121
+ image: z.ZodNullable<z.ZodString>;
122
+ thumbnail: z.ZodNullable<z.ZodString>;
123
+ author: z.ZodNullable<z.ZodString>;
124
+ authorIcon: z.ZodNullable<z.ZodString>;
125
+ fields: z.ZodArray<z.ZodLazy<z.ZodObject<{
126
+ name: z.ZodString;
127
+ value: z.ZodNullable<z.ZodString>;
128
+ inline: z.ZodNullable<z.ZodBoolean>;
129
+ }, z.core.$strip>>>;
130
+ }, z.core.$strip>;
131
+ readonly GuildRolePanelEmbedFieldSchema: z.ZodObject<{
132
+ name: z.ZodString;
133
+ value: z.ZodNullable<z.ZodString>;
134
+ inline: z.ZodNullable<z.ZodBoolean>;
135
+ }, z.core.$strip>;
136
+ };
137
+ export declare const GuildRolePanelZodPartial: PartialZodObject<typeof GuildRolePanelZod>;