@notidotbot/noti-api-client 1.4.10 → 1.4.12
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/dropsGames.d.ts +4 -2
- package/dist/classes/dropsGames.js +8 -2
- package/dist/classes/premium.d.ts +24 -0
- package/dist/classes/premium.js +6 -0
- package/dist/modules/stripe.js +1 -0
- package/dist/other/zod/client.zod.d.ts +56 -288
- package/dist/other/zod/client.zod.js +11 -0
- package/dist/other/zod/drops.zod.d.ts +7 -7
- package/dist/other/zod/drops.zod.js +10 -8
- package/dist/other/zod/giveaways.zod.d.ts +61 -322
- package/dist/other/zod/guild.zod.d.ts +248 -1431
- package/dist/other/zod/guild.zod.js +13 -4
- package/dist/other/zod/kickStreamer.zod.d.ts +116 -669
- package/dist/other/zod/kickStreamer.zod.js +3 -3
- package/dist/other/zod/member.zod.d.ts +2 -10
- package/dist/other/zod/r2Storage.zod.d.ts +7 -41
- package/dist/other/zod/rumbleStreamer.zod.d.ts +63 -456
- package/dist/other/zod/schema.zod.d.ts +130 -17
- package/dist/other/zod/schema.zod.js +43 -21
- package/dist/other/zod/starboard.zod.d.ts +36 -138
- package/dist/other/zod/team.zod.d.ts +9 -79
- package/dist/other/zod/tiktokStreamer.zod.d.ts +59 -397
- package/dist/other/zod/twitchStreamer.zod.d.ts +58 -396
- package/dist/other/zod/user.zod.d.ts +123 -556
- package/dist/other/zod/youtubeStreamer.zod.d.ts +58 -398
- package/dist/other/zod/zod.d.ts +12 -83
- package/dist/other/zod/zod.js +5 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/prisma/generated/ts-prisma.d.ts +303 -58
- package/prisma/schema/models/client.prisma +18 -0
- package/prisma/schema/models/drops.prisma +2 -0
- package/prisma/schema/models/guild.prisma +5 -2
|
@@ -3,12 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.GuildZodPartial = exports.GuildZod = void 0;
|
|
4
4
|
const schema_zod_1 = require("./schema.zod");
|
|
5
5
|
const zod_1 = require("./zod");
|
|
6
|
-
const stripe_1 = require("../../modules/stripe");
|
|
7
6
|
const zod_2 = require("zod");
|
|
8
7
|
const GuildSchema = zod_2.z.object({
|
|
9
8
|
guildId: zod_1.SnowFlake,
|
|
10
9
|
locale: zod_2.z.string(),
|
|
11
10
|
blacklisted: zod_2.z.boolean(),
|
|
11
|
+
leftAt: zod_2.z.date().nullable(),
|
|
12
12
|
premium: zod_2.z.lazy(() => GuildPremiumSchema).nullable(),
|
|
13
13
|
bitfield: zod_2.z.string().nullable(),
|
|
14
14
|
overrideBranding: zod_2.z.boolean().nullable(),
|
|
@@ -41,9 +41,18 @@ const GuildSchema = zod_2.z.object({
|
|
|
41
41
|
});
|
|
42
42
|
const GuildPremiumSchema = zod_2.z.object({
|
|
43
43
|
tier: zod_2.z.string(),
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
44
|
+
additionalStickyMessages: zod_2.z.number().min(0),
|
|
45
|
+
additionalAutoLiveRoles: zod_2.z.number().min(0),
|
|
46
|
+
additionalLinkedRoles: zod_2.z.number().min(0),
|
|
47
|
+
additionalStatusRoles: zod_2.z.number().min(0),
|
|
48
|
+
additionalStarboards: zod_2.z.number().min(0),
|
|
49
|
+
additionalOverrides: zod_2.z.number().min(0),
|
|
50
|
+
additionalKickConnections: zod_2.z.number().min(0),
|
|
51
|
+
additionalRumbleConnections: zod_2.z.number().min(0),
|
|
52
|
+
additionalTwitchConnections: zod_2.z.number().min(0),
|
|
53
|
+
additionalYoutubeConnections: zod_2.z.number().min(0),
|
|
54
|
+
additionalTiktokConnections: zod_2.z.number().min(0),
|
|
55
|
+
customBot: zod_2.z.boolean(),
|
|
47
56
|
});
|
|
48
57
|
const GuildDisableBrandingSchema = zod_2.z.object({
|
|
49
58
|
stickyMessage: zod_2.z.boolean().nullable(),
|