@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.
Files changed (33) hide show
  1. package/dist/classes/dropsGames.d.ts +4 -2
  2. package/dist/classes/dropsGames.js +8 -2
  3. package/dist/classes/premium.d.ts +24 -0
  4. package/dist/classes/premium.js +6 -0
  5. package/dist/modules/stripe.js +1 -0
  6. package/dist/other/zod/client.zod.d.ts +56 -288
  7. package/dist/other/zod/client.zod.js +11 -0
  8. package/dist/other/zod/drops.zod.d.ts +7 -7
  9. package/dist/other/zod/drops.zod.js +10 -8
  10. package/dist/other/zod/giveaways.zod.d.ts +61 -322
  11. package/dist/other/zod/guild.zod.d.ts +248 -1431
  12. package/dist/other/zod/guild.zod.js +13 -4
  13. package/dist/other/zod/kickStreamer.zod.d.ts +116 -669
  14. package/dist/other/zod/kickStreamer.zod.js +3 -3
  15. package/dist/other/zod/member.zod.d.ts +2 -10
  16. package/dist/other/zod/r2Storage.zod.d.ts +7 -41
  17. package/dist/other/zod/rumbleStreamer.zod.d.ts +63 -456
  18. package/dist/other/zod/schema.zod.d.ts +130 -17
  19. package/dist/other/zod/schema.zod.js +43 -21
  20. package/dist/other/zod/starboard.zod.d.ts +36 -138
  21. package/dist/other/zod/team.zod.d.ts +9 -79
  22. package/dist/other/zod/tiktokStreamer.zod.d.ts +59 -397
  23. package/dist/other/zod/twitchStreamer.zod.d.ts +58 -396
  24. package/dist/other/zod/user.zod.d.ts +123 -556
  25. package/dist/other/zod/youtubeStreamer.zod.d.ts +58 -398
  26. package/dist/other/zod/zod.d.ts +12 -83
  27. package/dist/other/zod/zod.js +5 -3
  28. package/dist/tsconfig.tsbuildinfo +1 -1
  29. package/package.json +2 -2
  30. package/prisma/generated/ts-prisma.d.ts +303 -58
  31. package/prisma/schema/models/client.prisma +18 -0
  32. package/prisma/schema/models/drops.prisma +2 -0
  33. 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
- ...stripe_1.addonKeys.map((key) => ({
45
- [key]: zod_2.z.number().min(0),
46
- })).reduce((a, b) => ({ ...a, ...b }), {}),
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(),