@notidotbot/noti-api-client 1.6.3 → 1.6.5
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/guildClipForward.d.ts +733 -0
- package/dist/classes/guildClipForward.js +48 -0
- package/dist/core/manager.d.ts +2 -0
- package/dist/core/manager.js +2 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -0
- package/dist/other/bitfields.d.ts +8 -2
- package/dist/other/bitfields.js +4 -0
- package/dist/other/enums.d.ts +4 -4
- package/dist/other/enums.js +2 -2
- package/dist/other/prisma.d.ts +4 -0
- package/dist/other/zod/clipForward.zod.d.ts +204 -0
- package/dist/other/zod/clipForward.zod.js +48 -0
- package/dist/other/zod/guild.zod.d.ts +7 -3
- package/dist/other/zod/guild.zod.js +2 -0
- package/dist/other/zod/kickStreamer.zod.d.ts +2 -5
- package/dist/other/zod/kickStreamer.zod.js +0 -3
- package/dist/other/zod/rumbleStreamer.zod.d.ts +2 -2
- package/dist/other/zod/schema.zod.d.ts +2 -2
- package/dist/other/zod/schema.zod.js +2 -2
- package/dist/other/zod/tiktokStreamer.zod.d.ts +2 -2
- package/dist/other/zod/twitchStreamer.zod.d.ts +2 -2
- package/dist/other/zod/youtubeStreamer.zod.d.ts +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/prisma/generated/ts-prisma.d.ts +3134 -85
- package/prisma/schema/models/clipForward.prisma +108 -0
- package/prisma/schema/models/guild.prisma +2 -0
- package/prisma/schema/models/kickStreamer.prisma +0 -4
- package/prisma/schema/models/twitchGame.prisma +11 -0
- package/prisma/schema/schema.prisma +2 -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;
|
package/dist/core/manager.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { APIGuildClipper } from '../classes/guildClipper';
|
|
|
6
6
|
import { APIGuildPlatform } from '../classes/guildPlatform';
|
|
7
7
|
import { APIGuildGiveaway } from '../classes/guildGiveaway';
|
|
8
8
|
import { APIGuildRolePanel } from '../classes/guildRolePanel';
|
|
9
|
+
import { APIGuildClipForward } from '../classes/guildClipForward';
|
|
9
10
|
import { APIGuildDrops } from '../classes/guildDrops';
|
|
10
11
|
import { APIDropsGames } from '../classes/dropsGames';
|
|
11
12
|
import { APIGames } from '../classes/games';
|
|
@@ -51,6 +52,7 @@ export declare class WebDataManager {
|
|
|
51
52
|
readonly guildPlatform: APIGuildPlatform;
|
|
52
53
|
readonly guildGiveaway: APIGuildGiveaway;
|
|
53
54
|
readonly guildRolePanel: APIGuildRolePanel;
|
|
55
|
+
readonly guildClipForward: APIGuildClipForward;
|
|
54
56
|
readonly guildStarboard: APIGuildStarboard;
|
|
55
57
|
readonly guildPlatformAction: APIPlatformAction;
|
|
56
58
|
readonly guildFixURL: APIGuildFixURL;
|
package/dist/core/manager.js
CHANGED
|
@@ -12,6 +12,7 @@ const guildClipper_1 = require("../classes/guildClipper");
|
|
|
12
12
|
const guildPlatform_1 = require("../classes/guildPlatform");
|
|
13
13
|
const guildGiveaway_1 = require("../classes/guildGiveaway");
|
|
14
14
|
const guildRolePanel_1 = require("../classes/guildRolePanel");
|
|
15
|
+
const guildClipForward_1 = require("../classes/guildClipForward");
|
|
15
16
|
const guildDrops_1 = require("../classes/guildDrops");
|
|
16
17
|
const dropsGames_1 = require("../classes/dropsGames");
|
|
17
18
|
const games_1 = require("../classes/games");
|
|
@@ -55,6 +56,7 @@ class WebDataManager {
|
|
|
55
56
|
guildPlatform = new guildPlatform_1.APIGuildPlatform(this);
|
|
56
57
|
guildGiveaway = new guildGiveaway_1.APIGuildGiveaway(this);
|
|
57
58
|
guildRolePanel = new guildRolePanel_1.APIGuildRolePanel(this);
|
|
59
|
+
guildClipForward = new guildClipForward_1.APIGuildClipForward(this);
|
|
58
60
|
guildStarboard = new guildStarboard_1.APIGuildStarboard(this);
|
|
59
61
|
guildPlatformAction = new guildPlatformAction_1.APIPlatformAction(this);
|
|
60
62
|
guildFixURL = new guildFixURL_1.APIGuildFixURL(this);
|
package/dist/index.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ export * from './classes/dropsGames';
|
|
|
20
20
|
export * from './classes/guildPlatform';
|
|
21
21
|
export * from './classes/guildGiveaway';
|
|
22
22
|
export * from './classes/guildRolePanel';
|
|
23
|
+
export * from './classes/guildClipForward';
|
|
23
24
|
export * from './classes/guildStarboard';
|
|
24
25
|
export * from './classes/guildPlatformAction';
|
|
25
26
|
export * from './classes/guildFixURL';
|
|
@@ -28,4 +29,4 @@ export * from './classes/guildMessageScheduler';
|
|
|
28
29
|
export * from './classes/games';
|
|
29
30
|
export { GuildMessageTypeEnum, StreamerMessageTypeEnum, PlatformEnum, $Enums } from './other/enums';
|
|
30
31
|
export type { Prisma, TSPrisma } from '@prisma/client';
|
|
31
|
-
export type { ClientChangelog, Guild, User, Team, Member, KickStreamer, TwitchStreamer, YoutubeStreamer, TiktokStreamer, RumbleStreamer, GuildGiveaway, GuildRolePanel } 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
|
@@ -37,6 +37,7 @@ __exportStar(require("./classes/dropsGames"), exports);
|
|
|
37
37
|
__exportStar(require("./classes/guildPlatform"), exports);
|
|
38
38
|
__exportStar(require("./classes/guildGiveaway"), exports);
|
|
39
39
|
__exportStar(require("./classes/guildRolePanel"), exports);
|
|
40
|
+
__exportStar(require("./classes/guildClipForward"), exports);
|
|
40
41
|
__exportStar(require("./classes/guildStarboard"), exports);
|
|
41
42
|
__exportStar(require("./classes/guildPlatformAction"), exports);
|
|
42
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" | "
|
|
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" | "
|
|
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
|
}
|
package/dist/other/bitfields.js
CHANGED
|
@@ -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,
|
package/dist/other/enums.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export declare const SingleMessageTypeEnum: {
|
|
|
14
14
|
};
|
|
15
15
|
export declare const StreamerMessageTypeEnum: {
|
|
16
16
|
readonly clip: "clip";
|
|
17
|
-
readonly
|
|
17
|
+
readonly clipForward: "clipForward";
|
|
18
18
|
readonly vod: "vod";
|
|
19
19
|
readonly kickLive: "kickLive";
|
|
20
20
|
readonly kickOffline: "kickOffline";
|
|
@@ -40,7 +40,7 @@ export declare const GuildMessageTypeEnum: {
|
|
|
40
40
|
readonly welcome: "welcome";
|
|
41
41
|
readonly leave: "leave";
|
|
42
42
|
readonly clip: "clip";
|
|
43
|
-
readonly
|
|
43
|
+
readonly clipForward: "clipForward";
|
|
44
44
|
readonly vod: "vod";
|
|
45
45
|
readonly kickLive: "kickLive";
|
|
46
46
|
readonly kickOffline: "kickOffline";
|
|
@@ -160,7 +160,7 @@ export declare const $Enums: {
|
|
|
160
160
|
};
|
|
161
161
|
readonly StreamerMessageTypeEnum: {
|
|
162
162
|
readonly clip: "clip";
|
|
163
|
-
readonly
|
|
163
|
+
readonly clipForward: "clipForward";
|
|
164
164
|
readonly vod: "vod";
|
|
165
165
|
readonly kickLive: "kickLive";
|
|
166
166
|
readonly kickOffline: "kickOffline";
|
|
@@ -186,7 +186,7 @@ export declare const $Enums: {
|
|
|
186
186
|
readonly welcome: "welcome";
|
|
187
187
|
readonly leave: "leave";
|
|
188
188
|
readonly clip: "clip";
|
|
189
|
-
readonly
|
|
189
|
+
readonly clipForward: "clipForward";
|
|
190
190
|
readonly vod: "vod";
|
|
191
191
|
readonly kickLive: "kickLive";
|
|
192
192
|
readonly kickOffline: "kickOffline";
|
package/dist/other/enums.js
CHANGED
|
@@ -20,7 +20,7 @@ exports.SingleMessageTypeEnum = {
|
|
|
20
20
|
};
|
|
21
21
|
exports.StreamerMessageTypeEnum = {
|
|
22
22
|
clip: 'clip',
|
|
23
|
-
|
|
23
|
+
clipForward: 'clipForward',
|
|
24
24
|
vod: 'vod',
|
|
25
25
|
kickLive: 'kickLive',
|
|
26
26
|
kickOffline: 'kickOffline',
|
|
@@ -47,7 +47,7 @@ exports.GuildMessageTypeEnum = {
|
|
|
47
47
|
leave: 'leave',
|
|
48
48
|
// StreamerMessageTypeEnum values
|
|
49
49
|
clip: 'clip',
|
|
50
|
-
|
|
50
|
+
clipForward: 'clipForward',
|
|
51
51
|
vod: 'vod',
|
|
52
52
|
kickLive: 'kickLive',
|
|
53
53
|
kickOffline: 'kickOffline',
|
package/dist/other/prisma.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ import { KickStreamerZod } from './zod/kickStreamer.zod';
|
|
|
9
9
|
import { GuildStarboardZod } from './zod/starboard.zod';
|
|
10
10
|
import { GuildGiveawayZod } from './zod/giveaways.zod';
|
|
11
11
|
import { GuildRolePanelZod } from './zod/rolePanels.zod';
|
|
12
|
+
import { GuildClipForwardZod } from './zod/clipForward.zod';
|
|
12
13
|
import { R2StorageZod } from './zod/r2Storage.zod';
|
|
13
14
|
import { MemberZod } from './zod/member.zod';
|
|
14
15
|
import { ClientZod } from './zod/client.zod';
|
|
@@ -35,6 +36,7 @@ export type YouTubeStreamer = TSPrisma.TSPrismaModelsFull['YoutubeStreamer'];
|
|
|
35
36
|
export type GuildStarboard = TSPrisma.TSPrismaModelsFull['GuildStarboard'];
|
|
36
37
|
export type GuildGiveaway = TSPrisma.TSPrismaModelsFull['GuildGiveaway'];
|
|
37
38
|
export type GuildRolePanel = TSPrisma.TSPrismaModelsFull['GuildRolePanel'];
|
|
39
|
+
export type GuildClipForward = TSPrisma.TSPrismaModelsFull['GuildClipForward'];
|
|
38
40
|
export type GuildRolePanelRole = TSPrisma.TSPrismaModelsFull['GuildRolePanelRole'];
|
|
39
41
|
export type GuildRolePanelEmbed = TSPrisma.TSPrismaModelsFull['GuildRolePanelEmbed'];
|
|
40
42
|
export type GuildRolePanelEmbedField = TSPrisma.TSPrismaModelsFull['GuildRolePanelEmbedField'];
|
|
@@ -62,6 +64,8 @@ export type GuildGiveawayZod = z.infer<typeof GuildGiveawayZod.GuildGiveawaySche
|
|
|
62
64
|
export type GuildGiveawayCreateSchema = z.infer<typeof GuildGiveawayZod.GuildGiveawayCreateSchema>;
|
|
63
65
|
export type GuildRolePanelZod = z.infer<typeof GuildRolePanelZod.GuildRolePanelSchema>;
|
|
64
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>;
|
|
65
69
|
export type GuildRolePanelRoleZod = z.infer<typeof GuildRolePanelZod.GuildRolePanelRoleSchema>;
|
|
66
70
|
export type GuildRolePanelEmbedZod = z.infer<typeof GuildRolePanelZod.GuildRolePanelEmbedSchema>;
|
|
67
71
|
export type DropZod = z.infer<typeof DropsZod.DropSchema>;
|
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
import { PartialZodObject } from './schema.zod';
|
|
2
|
+
import { RemoveProperties } from '../prisma';
|
|
3
|
+
import { TSPrisma } from '@prisma/client';
|
|
4
|
+
import { z } from 'zod';
|
|
5
|
+
export type RT<T extends TSPrisma.AllModelNames> = z.ZodType<RemoveProperties<TSPrisma.TSPrismaModelsFull[T], GuildClipForwardRelations>>;
|
|
6
|
+
export type GuildClipForwardRelations = 'db' | 'clipForward' | 'cfCustomMessage' | 'cfMessageEmbed';
|
|
7
|
+
export declare const GuildClipForwardZod: {
|
|
8
|
+
readonly GuildClipForwardSchema: z.ZodObject<{
|
|
9
|
+
clipForwardId: z.ZodString;
|
|
10
|
+
guildId: z.ZodString;
|
|
11
|
+
platform: z.ZodEnum<{
|
|
12
|
+
kick: "kick";
|
|
13
|
+
twitch: "twitch";
|
|
14
|
+
rumble: "rumble";
|
|
15
|
+
tiktok: "tiktok";
|
|
16
|
+
youtube: "youtube";
|
|
17
|
+
}>;
|
|
18
|
+
streamerUserName: z.ZodString;
|
|
19
|
+
channelId: z.ZodNullable<z.ZodString>;
|
|
20
|
+
pingRoleId: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"everyone">, z.ZodLiteral<"here">]>>;
|
|
21
|
+
minViews: z.ZodNullable<z.ZodNumber>;
|
|
22
|
+
minDuration: z.ZodNullable<z.ZodNumber>;
|
|
23
|
+
maxPerCycle: z.ZodNullable<z.ZodNumber>;
|
|
24
|
+
allowMature: z.ZodNullable<z.ZodBoolean>;
|
|
25
|
+
includeOffline: z.ZodNullable<z.ZodBoolean>;
|
|
26
|
+
whitelistClippers: z.ZodArray<z.ZodString>;
|
|
27
|
+
blacklistClippers: z.ZodArray<z.ZodString>;
|
|
28
|
+
whitelistCategories: z.ZodArray<z.ZodString>;
|
|
29
|
+
blacklistCategories: z.ZodArray<z.ZodString>;
|
|
30
|
+
showNotifyButton: z.ZodNullable<z.ZodBoolean>;
|
|
31
|
+
usePerStreamerEmbeds: z.ZodNullable<z.ZodBoolean>;
|
|
32
|
+
customMessages: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
33
|
+
content: z.ZodNullable<z.ZodString>;
|
|
34
|
+
embed: z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
35
|
+
title: z.ZodNullable<z.ZodString>;
|
|
36
|
+
url: z.ZodNullable<z.ZodString>;
|
|
37
|
+
description: z.ZodString;
|
|
38
|
+
color: z.ZodNullable<z.ZodString>;
|
|
39
|
+
footer: z.ZodNullable<z.ZodString>;
|
|
40
|
+
footerIcon: z.ZodNullable<z.ZodString>;
|
|
41
|
+
image: z.ZodNullable<z.ZodString>;
|
|
42
|
+
thumbnail: z.ZodNullable<z.ZodString>;
|
|
43
|
+
author: z.ZodNullable<z.ZodString>;
|
|
44
|
+
authorIcon: z.ZodNullable<z.ZodString>;
|
|
45
|
+
fields: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
46
|
+
name: z.ZodString;
|
|
47
|
+
value: z.ZodNullable<z.ZodString>;
|
|
48
|
+
inline: z.ZodNullable<z.ZodBoolean>;
|
|
49
|
+
}, z.core.$strip>>>;
|
|
50
|
+
}, z.core.$strip>>>;
|
|
51
|
+
buttons: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
52
|
+
title: z.ZodString;
|
|
53
|
+
url: z.ZodNullable<z.ZodString>;
|
|
54
|
+
emojiUnicodeOrId: z.ZodNullable<z.ZodString>;
|
|
55
|
+
}, z.core.$strip>>>;
|
|
56
|
+
webhook: z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
57
|
+
enabled: z.ZodNullable<z.ZodBoolean>;
|
|
58
|
+
username: z.ZodNullable<z.ZodString>;
|
|
59
|
+
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
60
|
+
}, z.core.$strip>>>;
|
|
61
|
+
type: z.ZodEnum<{
|
|
62
|
+
clip: "clip";
|
|
63
|
+
clipForward: "clipForward";
|
|
64
|
+
vod: "vod";
|
|
65
|
+
kickLive: "kickLive";
|
|
66
|
+
kickOffline: "kickOffline";
|
|
67
|
+
twitchLive: "twitchLive";
|
|
68
|
+
twitchOffline: "twitchOffline";
|
|
69
|
+
rumbleLive: "rumbleLive";
|
|
70
|
+
rumbleOffline: "rumbleOffline";
|
|
71
|
+
rumbleVideo: "rumbleVideo";
|
|
72
|
+
tiktokLive: "tiktokLive";
|
|
73
|
+
tiktokOffline: "tiktokOffline";
|
|
74
|
+
tiktokVideo: "tiktokVideo";
|
|
75
|
+
youtubeLive: "youtubeLive";
|
|
76
|
+
youtubeVideo: "youtubeVideo";
|
|
77
|
+
}>;
|
|
78
|
+
}, z.core.$strip>>>;
|
|
79
|
+
lastClipAt: z.ZodNullable<z.ZodDate>;
|
|
80
|
+
lastClipId: z.ZodNullable<z.ZodString>;
|
|
81
|
+
}, z.core.$strip>;
|
|
82
|
+
readonly GuildClipForwardCreateSchema: z.ZodObject<{
|
|
83
|
+
clipForwardId: z.ZodString;
|
|
84
|
+
guildId: z.ZodString;
|
|
85
|
+
platform: z.ZodEnum<{
|
|
86
|
+
kick: "kick";
|
|
87
|
+
twitch: "twitch";
|
|
88
|
+
rumble: "rumble";
|
|
89
|
+
tiktok: "tiktok";
|
|
90
|
+
youtube: "youtube";
|
|
91
|
+
}>;
|
|
92
|
+
streamerUserName: z.ZodString;
|
|
93
|
+
channelId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
94
|
+
pingRoleId: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"everyone">, z.ZodLiteral<"here">]>>>;
|
|
95
|
+
minViews: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
96
|
+
minDuration: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
97
|
+
maxPerCycle: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
98
|
+
allowMature: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
99
|
+
includeOffline: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
100
|
+
whitelistClippers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
101
|
+
blacklistClippers: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
102
|
+
whitelistCategories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
103
|
+
blacklistCategories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
104
|
+
showNotifyButton: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
105
|
+
usePerStreamerEmbeds: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
106
|
+
customMessages: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
107
|
+
content: z.ZodNullable<z.ZodString>;
|
|
108
|
+
embed: z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
109
|
+
title: z.ZodNullable<z.ZodString>;
|
|
110
|
+
url: z.ZodNullable<z.ZodString>;
|
|
111
|
+
description: z.ZodString;
|
|
112
|
+
color: z.ZodNullable<z.ZodString>;
|
|
113
|
+
footer: z.ZodNullable<z.ZodString>;
|
|
114
|
+
footerIcon: z.ZodNullable<z.ZodString>;
|
|
115
|
+
image: z.ZodNullable<z.ZodString>;
|
|
116
|
+
thumbnail: z.ZodNullable<z.ZodString>;
|
|
117
|
+
author: z.ZodNullable<z.ZodString>;
|
|
118
|
+
authorIcon: z.ZodNullable<z.ZodString>;
|
|
119
|
+
fields: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
120
|
+
name: z.ZodString;
|
|
121
|
+
value: z.ZodNullable<z.ZodString>;
|
|
122
|
+
inline: z.ZodNullable<z.ZodBoolean>;
|
|
123
|
+
}, z.core.$strip>>>;
|
|
124
|
+
}, z.core.$strip>>>;
|
|
125
|
+
buttons: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
126
|
+
title: z.ZodString;
|
|
127
|
+
url: z.ZodNullable<z.ZodString>;
|
|
128
|
+
emojiUnicodeOrId: z.ZodNullable<z.ZodString>;
|
|
129
|
+
}, z.core.$strip>>>;
|
|
130
|
+
webhook: z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
131
|
+
enabled: z.ZodNullable<z.ZodBoolean>;
|
|
132
|
+
username: z.ZodNullable<z.ZodString>;
|
|
133
|
+
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
134
|
+
}, z.core.$strip>>>;
|
|
135
|
+
type: z.ZodEnum<{
|
|
136
|
+
clip: "clip";
|
|
137
|
+
clipForward: "clipForward";
|
|
138
|
+
vod: "vod";
|
|
139
|
+
kickLive: "kickLive";
|
|
140
|
+
kickOffline: "kickOffline";
|
|
141
|
+
twitchLive: "twitchLive";
|
|
142
|
+
twitchOffline: "twitchOffline";
|
|
143
|
+
rumbleLive: "rumbleLive";
|
|
144
|
+
rumbleOffline: "rumbleOffline";
|
|
145
|
+
rumbleVideo: "rumbleVideo";
|
|
146
|
+
tiktokLive: "tiktokLive";
|
|
147
|
+
tiktokOffline: "tiktokOffline";
|
|
148
|
+
tiktokVideo: "tiktokVideo";
|
|
149
|
+
youtubeLive: "youtubeLive";
|
|
150
|
+
youtubeVideo: "youtubeVideo";
|
|
151
|
+
}>;
|
|
152
|
+
}, z.core.$strip>>>>;
|
|
153
|
+
lastClipAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
154
|
+
lastClipId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
155
|
+
}, z.core.$strip>;
|
|
156
|
+
readonly CFCustomMessageSchema: z.ZodObject<{
|
|
157
|
+
content: z.ZodNullable<z.ZodString>;
|
|
158
|
+
embed: z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
159
|
+
title: z.ZodNullable<z.ZodString>;
|
|
160
|
+
url: z.ZodNullable<z.ZodString>;
|
|
161
|
+
description: z.ZodString;
|
|
162
|
+
color: z.ZodNullable<z.ZodString>;
|
|
163
|
+
footer: z.ZodNullable<z.ZodString>;
|
|
164
|
+
footerIcon: z.ZodNullable<z.ZodString>;
|
|
165
|
+
image: z.ZodNullable<z.ZodString>;
|
|
166
|
+
thumbnail: z.ZodNullable<z.ZodString>;
|
|
167
|
+
author: z.ZodNullable<z.ZodString>;
|
|
168
|
+
authorIcon: z.ZodNullable<z.ZodString>;
|
|
169
|
+
fields: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
170
|
+
name: z.ZodString;
|
|
171
|
+
value: z.ZodNullable<z.ZodString>;
|
|
172
|
+
inline: z.ZodNullable<z.ZodBoolean>;
|
|
173
|
+
}, z.core.$strip>>>;
|
|
174
|
+
}, z.core.$strip>>>;
|
|
175
|
+
buttons: z.ZodArray<z.ZodLazy<z.ZodObject<{
|
|
176
|
+
title: z.ZodString;
|
|
177
|
+
url: z.ZodNullable<z.ZodString>;
|
|
178
|
+
emojiUnicodeOrId: z.ZodNullable<z.ZodString>;
|
|
179
|
+
}, z.core.$strip>>>;
|
|
180
|
+
webhook: z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
181
|
+
enabled: z.ZodNullable<z.ZodBoolean>;
|
|
182
|
+
username: z.ZodNullable<z.ZodString>;
|
|
183
|
+
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
184
|
+
}, z.core.$strip>>>;
|
|
185
|
+
type: z.ZodEnum<{
|
|
186
|
+
clip: "clip";
|
|
187
|
+
clipForward: "clipForward";
|
|
188
|
+
vod: "vod";
|
|
189
|
+
kickLive: "kickLive";
|
|
190
|
+
kickOffline: "kickOffline";
|
|
191
|
+
twitchLive: "twitchLive";
|
|
192
|
+
twitchOffline: "twitchOffline";
|
|
193
|
+
rumbleLive: "rumbleLive";
|
|
194
|
+
rumbleOffline: "rumbleOffline";
|
|
195
|
+
rumbleVideo: "rumbleVideo";
|
|
196
|
+
tiktokLive: "tiktokLive";
|
|
197
|
+
tiktokOffline: "tiktokOffline";
|
|
198
|
+
tiktokVideo: "tiktokVideo";
|
|
199
|
+
youtubeLive: "youtubeLive";
|
|
200
|
+
youtubeVideo: "youtubeVideo";
|
|
201
|
+
}>;
|
|
202
|
+
}, z.core.$strip>;
|
|
203
|
+
};
|
|
204
|
+
export declare const GuildClipForwardZodPartial: PartialZodObject<typeof GuildClipForwardZod>;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GuildClipForwardZodPartial = exports.GuildClipForwardZod = void 0;
|
|
4
|
+
const schema_zod_1 = require("./schema.zod");
|
|
5
|
+
const zod_1 = require("./zod");
|
|
6
|
+
const zod_2 = require("zod");
|
|
7
|
+
const mainSchemaFields = {
|
|
8
|
+
clipForwardId: zod_2.z.string(),
|
|
9
|
+
guildId: zod_1.SnowFlake,
|
|
10
|
+
platform: schema_zod_1.PlatformEnum,
|
|
11
|
+
streamerUserName: zod_2.z.string(),
|
|
12
|
+
channelId: zod_1.SnowFlake.nullable(),
|
|
13
|
+
pingRoleId: zod_1.SnowFlakeOrEveryone.nullable(),
|
|
14
|
+
minViews: zod_2.z.number().min(0).nullable(),
|
|
15
|
+
minDuration: zod_2.z.number().min(0).nullable(),
|
|
16
|
+
maxPerCycle: zod_2.z.number().min(1).nullable(),
|
|
17
|
+
allowMature: zod_2.z.boolean().nullable(),
|
|
18
|
+
includeOffline: zod_2.z.boolean().nullable(),
|
|
19
|
+
whitelistClippers: (0, zod_1.NoDuplicate)(zod_2.z.array(zod_2.z.string())),
|
|
20
|
+
blacklistClippers: (0, zod_1.NoDuplicate)(zod_2.z.array(zod_2.z.string())),
|
|
21
|
+
whitelistCategories: (0, zod_1.NoDuplicate)(zod_2.z.array(zod_2.z.string())),
|
|
22
|
+
blacklistCategories: (0, zod_1.NoDuplicate)(zod_2.z.array(zod_2.z.string())),
|
|
23
|
+
showNotifyButton: zod_2.z.boolean().nullable(),
|
|
24
|
+
usePerStreamerEmbeds: zod_2.z.boolean().nullable(),
|
|
25
|
+
customMessages: (0, zod_1.NoDuplicate)(zod_2.z.array(zod_2.z.lazy(() => CFCustomMessageSchema)), ['type']),
|
|
26
|
+
lastClipAt: zod_2.z.date().nullable(),
|
|
27
|
+
lastClipId: zod_2.z.string().nullable(),
|
|
28
|
+
};
|
|
29
|
+
const GuildClipForwardSchema = zod_2.z.object({
|
|
30
|
+
...mainSchemaFields,
|
|
31
|
+
});
|
|
32
|
+
const GuildClipForwardCreateSchema = zod_2.z.object({
|
|
33
|
+
...(0, zod_1.makePartialTyped)(mainSchemaFields),
|
|
34
|
+
clipForwardId: zod_2.z.string(),
|
|
35
|
+
guildId: zod_1.SnowFlake,
|
|
36
|
+
platform: schema_zod_1.PlatformEnum,
|
|
37
|
+
streamerUserName: zod_2.z.string(),
|
|
38
|
+
});
|
|
39
|
+
const CFCustomMessageSchema = zod_2.z.object({
|
|
40
|
+
type: schema_zod_1.StreamerMessageTypeEnum,
|
|
41
|
+
...zod_1.CentralZod.Message(),
|
|
42
|
+
});
|
|
43
|
+
exports.GuildClipForwardZod = {
|
|
44
|
+
GuildClipForwardSchema,
|
|
45
|
+
GuildClipForwardCreateSchema,
|
|
46
|
+
CFCustomMessageSchema,
|
|
47
|
+
};
|
|
48
|
+
exports.GuildClipForwardZodPartial = Object.fromEntries(Object.entries(exports.GuildClipForwardZod).map(([key, value]) => [key, (0, schema_zod_1.deepPartialify)(value)]));
|
|
@@ -25,6 +25,8 @@ export declare const GuildZod: {
|
|
|
25
25
|
additionalTwitchConnections: z.ZodNumber;
|
|
26
26
|
additionalYoutubeConnections: z.ZodNumber;
|
|
27
27
|
additionalTiktokConnections: z.ZodNumber;
|
|
28
|
+
additionalKickClips: z.ZodNumber;
|
|
29
|
+
additionalTwitchClips: z.ZodNumber;
|
|
28
30
|
customBot: z.ZodBoolean;
|
|
29
31
|
assignedAt: z.ZodDate;
|
|
30
32
|
updatedAt: z.ZodDate;
|
|
@@ -70,7 +72,7 @@ export declare const GuildZod: {
|
|
|
70
72
|
welcome: "welcome";
|
|
71
73
|
leave: "leave";
|
|
72
74
|
clip: "clip";
|
|
73
|
-
|
|
75
|
+
clipForward: "clipForward";
|
|
74
76
|
vod: "vod";
|
|
75
77
|
kickLive: "kickLive";
|
|
76
78
|
kickOffline: "kickOffline";
|
|
@@ -201,7 +203,7 @@ export declare const GuildZod: {
|
|
|
201
203
|
welcome: "welcome";
|
|
202
204
|
leave: "leave";
|
|
203
205
|
clip: "clip";
|
|
204
|
-
|
|
206
|
+
clipForward: "clipForward";
|
|
205
207
|
vod: "vod";
|
|
206
208
|
kickLive: "kickLive";
|
|
207
209
|
kickOffline: "kickOffline";
|
|
@@ -278,6 +280,8 @@ export declare const GuildZod: {
|
|
|
278
280
|
additionalTwitchConnections: z.ZodNumber;
|
|
279
281
|
additionalYoutubeConnections: z.ZodNumber;
|
|
280
282
|
additionalTiktokConnections: z.ZodNumber;
|
|
283
|
+
additionalKickClips: z.ZodNumber;
|
|
284
|
+
additionalTwitchClips: z.ZodNumber;
|
|
281
285
|
customBot: z.ZodBoolean;
|
|
282
286
|
assignedAt: z.ZodDate;
|
|
283
287
|
updatedAt: z.ZodDate;
|
|
@@ -417,7 +421,7 @@ export declare const GuildZod: {
|
|
|
417
421
|
welcome: "welcome";
|
|
418
422
|
leave: "leave";
|
|
419
423
|
clip: "clip";
|
|
420
|
-
|
|
424
|
+
clipForward: "clipForward";
|
|
421
425
|
vod: "vod";
|
|
422
426
|
kickLive: "kickLive";
|
|
423
427
|
kickOffline: "kickOffline";
|
|
@@ -65,6 +65,8 @@ const GuildPremiumSchema = zod_2.z.object({
|
|
|
65
65
|
additionalTwitchConnections: zod_2.z.number().min(0),
|
|
66
66
|
additionalYoutubeConnections: zod_2.z.number().min(0),
|
|
67
67
|
additionalTiktokConnections: zod_2.z.number().min(0),
|
|
68
|
+
additionalKickClips: zod_2.z.number().min(0),
|
|
69
|
+
additionalTwitchClips: zod_2.z.number().min(0),
|
|
68
70
|
customBot: zod_2.z.boolean(),
|
|
69
71
|
assignedAt: zod_2.z.date(),
|
|
70
72
|
updatedAt: zod_2.z.date(),
|
|
@@ -45,7 +45,7 @@ export declare const KickStreamerZod: {
|
|
|
45
45
|
}, z.core.$strip>>>;
|
|
46
46
|
type: z.ZodEnum<{
|
|
47
47
|
clip: "clip";
|
|
48
|
-
|
|
48
|
+
clipForward: "clipForward";
|
|
49
49
|
vod: "vod";
|
|
50
50
|
kickLive: "kickLive";
|
|
51
51
|
kickOffline: "kickOffline";
|
|
@@ -72,9 +72,6 @@ export declare const KickStreamerZod: {
|
|
|
72
72
|
broadcaster: "broadcaster";
|
|
73
73
|
}>>;
|
|
74
74
|
whitelistedClipperNames: z.ZodArray<z.ZodString>;
|
|
75
|
-
builtInClipsEnabled: z.ZodNullable<z.ZodBoolean>;
|
|
76
|
-
builtInClipsChannelId: z.ZodNullable<z.ZodString>;
|
|
77
|
-
builtInClipsPingRoleId: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"everyone">, z.ZodLiteral<"here">]>>;
|
|
78
75
|
vodsChannelId: z.ZodNullable<z.ZodString>;
|
|
79
76
|
vodsPingRoleId: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"everyone">, z.ZodLiteral<"here">]>>;
|
|
80
77
|
notificationChannelId: z.ZodNullable<z.ZodString>;
|
|
@@ -161,7 +158,7 @@ export declare const KickStreamerZod: {
|
|
|
161
158
|
}, z.core.$strip>>>;
|
|
162
159
|
type: z.ZodEnum<{
|
|
163
160
|
clip: "clip";
|
|
164
|
-
|
|
161
|
+
clipForward: "clipForward";
|
|
165
162
|
vod: "vod";
|
|
166
163
|
kickLive: "kickLive";
|
|
167
164
|
kickOffline: "kickOffline";
|
|
@@ -20,9 +20,6 @@ const KickStreamerSchema = zod_2.z.object({
|
|
|
20
20
|
clipperNeedsAllCategories: zod_2.z.boolean().nullable(),
|
|
21
21
|
clipperCategories: (0, zod_1.NoDuplicate)(zod_2.z.array(schema_zod_1.ClipperCategoryEnum)),
|
|
22
22
|
whitelistedClipperNames: zod_2.z.array(zod_2.z.string()),
|
|
23
|
-
builtInClipsEnabled: zod_2.z.boolean().nullable(),
|
|
24
|
-
builtInClipsChannelId: zod_1.SnowFlake.nullable(),
|
|
25
|
-
builtInClipsPingRoleId: zod_1.SnowFlakeOrEveryone.nullable(),
|
|
26
23
|
vodsChannelId: zod_1.SnowFlake.nullable(),
|
|
27
24
|
vodsPingRoleId: zod_1.SnowFlakeOrEveryone.nullable(),
|
|
28
25
|
notificationChannelId: zod_1.SnowFlake.nullable(),
|
|
@@ -47,7 +47,7 @@ export declare const RumbleStreamerZod: {
|
|
|
47
47
|
}, z.core.$strip>>>;
|
|
48
48
|
type: z.ZodEnum<{
|
|
49
49
|
clip: "clip";
|
|
50
|
-
|
|
50
|
+
clipForward: "clipForward";
|
|
51
51
|
vod: "vod";
|
|
52
52
|
kickLive: "kickLive";
|
|
53
53
|
kickOffline: "kickOffline";
|
|
@@ -116,7 +116,7 @@ export declare const RumbleStreamerZod: {
|
|
|
116
116
|
}, z.core.$strip>>>;
|
|
117
117
|
type: z.ZodEnum<{
|
|
118
118
|
clip: "clip";
|
|
119
|
-
|
|
119
|
+
clipForward: "clipForward";
|
|
120
120
|
vod: "vod";
|
|
121
121
|
kickLive: "kickLive";
|
|
122
122
|
kickOffline: "kickOffline";
|
|
@@ -22,7 +22,7 @@ export declare const SingleMessageTypeEnum: z.ZodEnum<{
|
|
|
22
22
|
}>;
|
|
23
23
|
export declare const StreamerMessageTypeEnum: z.ZodEnum<{
|
|
24
24
|
clip: "clip";
|
|
25
|
-
|
|
25
|
+
clipForward: "clipForward";
|
|
26
26
|
vod: "vod";
|
|
27
27
|
kickLive: "kickLive";
|
|
28
28
|
kickOffline: "kickOffline";
|
|
@@ -48,7 +48,7 @@ export declare const GuildMessageTypeEnum: z.ZodEnum<{
|
|
|
48
48
|
welcome: "welcome";
|
|
49
49
|
leave: "leave";
|
|
50
50
|
clip: "clip";
|
|
51
|
-
|
|
51
|
+
clipForward: "clipForward";
|
|
52
52
|
vod: "vod";
|
|
53
53
|
kickLive: "kickLive";
|
|
54
54
|
kickOffline: "kickOffline";
|
|
@@ -74,7 +74,7 @@ exports.SingleMessageTypeEnum = zod_1.z.enum([
|
|
|
74
74
|
]);
|
|
75
75
|
exports.StreamerMessageTypeEnum = zod_1.z.enum([
|
|
76
76
|
'clip',
|
|
77
|
-
'
|
|
77
|
+
'clipForward',
|
|
78
78
|
'vod',
|
|
79
79
|
'kickLive',
|
|
80
80
|
'kickOffline',
|
|
@@ -100,7 +100,7 @@ exports.GuildMessageTypeEnum = zod_1.z.enum([
|
|
|
100
100
|
'welcome',
|
|
101
101
|
'leave',
|
|
102
102
|
'clip',
|
|
103
|
-
'
|
|
103
|
+
'clipForward',
|
|
104
104
|
'vod',
|
|
105
105
|
'kickLive',
|
|
106
106
|
'kickOffline',
|