@notidotbot/noti-api-client 1.4.11 → 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.
@@ -6,20 +6,133 @@ export type PartialZodObject<T extends {
6
6
  }> = {
7
7
  [K in keyof T]: z.ZodType<DeepPartial<z.infer<T[K]>>>;
8
8
  };
9
- export declare const LeaderBoardTypesEnum: z.ZodEnum<["weekly", "monthly", "overall"]>;
10
- export declare const SingleMessageTypeEnum: z.ZodEnum<["autoLiveRoleAdded", "autoLiveRoleRemoved", "statusRoleAdded", "statusRoleRemoved", "statChannelLive", "statChannelOffline", "statFollowers"]>;
11
- export declare const StreamerMessageTypeEnum: z.ZodEnum<["clip", "vod", "kickLive", "kickOffline", "twitchLive", "twitchOffline", "rumbleLive", "rumbleOffline", "tiktokLive", "tiktokOffline", "tiktokVideo", "youtubeLive", "youtubeVideo"]>;
12
- export declare const GuildMessageTypeEnum: z.ZodEnum<["giveawayRerolled", "giveawayWinner", "giveawayEnded", "giveawayDM", "linkedRole", "giveaway", "birthday", "welcome", "leave", "clip", "vod", "kickLive", "kickOffline", "twitchLive", "twitchOffline", "rumbleLive", "rumbleOffline", "tiktokLive", "tiktokOffline", "tiktokVideo", "youtubeLive", "youtubeVideo"]>;
13
- export declare const GuildSingleMessageTypeEnum: z.ZodEnum<["autoLiveRoleAdded", "autoLiveRoleRemoved", "statusRoleAdded", "statusRoleRemoved", "statChannelLive", "statChannelOffline", "statFollowers"]>;
14
- export declare const OverridesEnum: z.ZodEnum<["autoPublish", "cancel", "dontPublish"]>;
15
- export declare const PlatformEnum: z.ZodEnum<["kick", "twitch", "rumble", "tiktok", "youtube"]>;
16
- export declare const ClipperCategoryEnum: z.ZodEnum<["vip", "sub", "mod", "broadcaster"]>;
17
- export declare const UserMediaSharePermissionsEnum: z.ZodEnum<["vip", "sub", "mod", "broadcaster", "everyone"]>;
18
- export declare const PlatformsWithVideosEnum: z.ZodEnum<["tiktok", "youtube"]>;
19
- export declare const RumbleTypeEnum: z.ZodEnum<["channel", "user"]>;
20
- export declare const QueryInEnum: z.ZodEnum<["title", "category", "description"]>;
21
- export declare const FilterEnum: z.ZodEnum<["whitelist", "blacklist"]>;
22
- export declare const MediaShareTypesEnum: z.ZodEnum<["tiktok", "youtube", "shorts"]>;
23
- export declare const MediaShareCommandsEnum: z.ZodEnum<["request", "skip", "pause", "clear", "rban", "play", "mode", "runban"]>;
24
- export declare const RoleBonusEnum: z.ZodEnum<["stackable", "highest"]>;
25
- export declare const UserNotificationSeverityEnum: z.ZodEnum<["info", "warning", "emergency"]>;
9
+ export declare const LeaderBoardTypesEnum: z.ZodEnum<{
10
+ weekly: "weekly";
11
+ monthly: "monthly";
12
+ overall: "overall";
13
+ }>;
14
+ export declare const SingleMessageTypeEnum: z.ZodEnum<{
15
+ autoLiveRoleAdded: "autoLiveRoleAdded";
16
+ autoLiveRoleRemoved: "autoLiveRoleRemoved";
17
+ statusRoleAdded: "statusRoleAdded";
18
+ statusRoleRemoved: "statusRoleRemoved";
19
+ statChannelLive: "statChannelLive";
20
+ statChannelOffline: "statChannelOffline";
21
+ statFollowers: "statFollowers";
22
+ }>;
23
+ export declare const StreamerMessageTypeEnum: z.ZodEnum<{
24
+ clip: "clip";
25
+ kickBuiltInClip: "kickBuiltInClip";
26
+ vod: "vod";
27
+ kickLive: "kickLive";
28
+ kickOffline: "kickOffline";
29
+ twitchLive: "twitchLive";
30
+ twitchOffline: "twitchOffline";
31
+ rumbleLive: "rumbleLive";
32
+ rumbleOffline: "rumbleOffline";
33
+ tiktokLive: "tiktokLive";
34
+ tiktokOffline: "tiktokOffline";
35
+ tiktokVideo: "tiktokVideo";
36
+ youtubeLive: "youtubeLive";
37
+ youtubeVideo: "youtubeVideo";
38
+ }>;
39
+ export declare const GuildMessageTypeEnum: z.ZodEnum<{
40
+ clip: "clip";
41
+ kickBuiltInClip: "kickBuiltInClip";
42
+ vod: "vod";
43
+ kickLive: "kickLive";
44
+ kickOffline: "kickOffline";
45
+ twitchLive: "twitchLive";
46
+ twitchOffline: "twitchOffline";
47
+ rumbleLive: "rumbleLive";
48
+ rumbleOffline: "rumbleOffline";
49
+ tiktokLive: "tiktokLive";
50
+ tiktokOffline: "tiktokOffline";
51
+ tiktokVideo: "tiktokVideo";
52
+ youtubeLive: "youtubeLive";
53
+ youtubeVideo: "youtubeVideo";
54
+ birthday: "birthday";
55
+ giveawayRerolled: "giveawayRerolled";
56
+ giveawayWinner: "giveawayWinner";
57
+ giveawayEnded: "giveawayEnded";
58
+ giveawayDM: "giveawayDM";
59
+ linkedRole: "linkedRole";
60
+ giveaway: "giveaway";
61
+ welcome: "welcome";
62
+ leave: "leave";
63
+ }>;
64
+ export declare const GuildSingleMessageTypeEnum: z.ZodEnum<{
65
+ autoLiveRoleAdded: "autoLiveRoleAdded";
66
+ autoLiveRoleRemoved: "autoLiveRoleRemoved";
67
+ statusRoleAdded: "statusRoleAdded";
68
+ statusRoleRemoved: "statusRoleRemoved";
69
+ statChannelLive: "statChannelLive";
70
+ statChannelOffline: "statChannelOffline";
71
+ statFollowers: "statFollowers";
72
+ }>;
73
+ export declare const OverridesEnum: z.ZodEnum<{
74
+ autoPublish: "autoPublish";
75
+ cancel: "cancel";
76
+ dontPublish: "dontPublish";
77
+ }>;
78
+ export declare const PlatformEnum: z.ZodEnum<{
79
+ kick: "kick";
80
+ twitch: "twitch";
81
+ rumble: "rumble";
82
+ tiktok: "tiktok";
83
+ youtube: "youtube";
84
+ }>;
85
+ export declare const ClipperCategoryEnum: z.ZodEnum<{
86
+ sub: "sub";
87
+ vip: "vip";
88
+ mod: "mod";
89
+ broadcaster: "broadcaster";
90
+ }>;
91
+ export declare const UserMediaSharePermissionsEnum: z.ZodEnum<{
92
+ sub: "sub";
93
+ everyone: "everyone";
94
+ vip: "vip";
95
+ mod: "mod";
96
+ broadcaster: "broadcaster";
97
+ }>;
98
+ export declare const PlatformsWithVideosEnum: z.ZodEnum<{
99
+ tiktok: "tiktok";
100
+ youtube: "youtube";
101
+ }>;
102
+ export declare const RumbleTypeEnum: z.ZodEnum<{
103
+ user: "user";
104
+ channel: "channel";
105
+ }>;
106
+ export declare const QueryInEnum: z.ZodEnum<{
107
+ title: "title";
108
+ description: "description";
109
+ category: "category";
110
+ }>;
111
+ export declare const FilterEnum: z.ZodEnum<{
112
+ whitelist: "whitelist";
113
+ blacklist: "blacklist";
114
+ }>;
115
+ export declare const MediaShareTypesEnum: z.ZodEnum<{
116
+ tiktok: "tiktok";
117
+ youtube: "youtube";
118
+ shorts: "shorts";
119
+ }>;
120
+ export declare const MediaShareCommandsEnum: z.ZodEnum<{
121
+ request: "request";
122
+ skip: "skip";
123
+ pause: "pause";
124
+ clear: "clear";
125
+ rban: "rban";
126
+ play: "play";
127
+ mode: "mode";
128
+ runban: "runban";
129
+ }>;
130
+ export declare const RoleBonusEnum: z.ZodEnum<{
131
+ stackable: "stackable";
132
+ highest: "highest";
133
+ }>;
134
+ export declare const UserNotificationSeverityEnum: z.ZodEnum<{
135
+ info: "info";
136
+ warning: "warning";
137
+ emergency: "emergency";
138
+ }>;
@@ -4,38 +4,58 @@ exports.UserNotificationSeverityEnum = exports.RoleBonusEnum = exports.MediaShar
4
4
  exports.deepPartialify = deepPartialify;
5
5
  const zod_1 = require("zod");
6
6
  function deepPartialify(schema) {
7
- if (schema instanceof zod_1.ZodObject) {
7
+ const s = schema;
8
+ if (schema instanceof zod_1.z.ZodObject) {
9
+ const shape = s.shape || (s._def && s._def.shape ? s._def.shape() : {});
8
10
  const newShape = {};
9
- for (const key in schema.shape) {
10
- const fieldSchema = schema.shape[key];
11
- newShape[key] = zod_1.ZodOptional.create(deepPartialify(fieldSchema));
11
+ for (const key of Object.keys(shape)) {
12
+ let child = shape[key];
13
+ if (!(child && typeof child === 'object' && typeof child.parse === 'function')) {
14
+ if (child && typeof child === 'object') {
15
+ child = zod_1.z.object(child);
16
+ }
17
+ else {
18
+ child = zod_1.z.any();
19
+ }
20
+ }
21
+ newShape[key] = deepPartialify(child).optional();
12
22
  }
13
- return new zod_1.ZodObject({ ...schema._def, shape: () => newShape });
23
+ return zod_1.z.object(newShape);
14
24
  }
15
- else if (schema instanceof zod_1.ZodArray) {
16
- return new zod_1.ZodArray({ ...schema._def, type: deepPartialify(schema.element) });
25
+ if (schema instanceof zod_1.z.ZodArray) {
26
+ const element = s._def?.type || s.element;
27
+ return zod_1.z.array(deepPartialify(element || zod_1.z.any()));
17
28
  }
18
- else if (schema instanceof zod_1.ZodOptional) {
19
- return zod_1.ZodOptional.create(deepPartialify(schema.unwrap()));
29
+ if (schema instanceof zod_1.z.ZodOptional) {
30
+ const inner = s._def?.innerType || s.unwrap?.();
31
+ return deepPartialify(inner || zod_1.z.any()).optional();
20
32
  }
21
- else if (schema instanceof zod_1.ZodNullable) {
22
- return zod_1.ZodNullable.create(deepPartialify(schema.unwrap()));
33
+ if (schema instanceof zod_1.z.ZodNullable) {
34
+ const inner = s._def?.innerType || s.unwrap?.();
35
+ return deepPartialify(inner || zod_1.z.any()).nullable();
23
36
  }
24
- else if (schema instanceof zod_1.ZodTuple) {
25
- return zod_1.ZodTuple.create(schema.items.map((item) => deepPartialify(item)));
37
+ if (schema instanceof zod_1.z.ZodTuple) {
38
+ const items = s._def?.items || s.items || [];
39
+ return zod_1.z.tuple(items.map((it) => deepPartialify(it)));
26
40
  }
27
- else if (schema instanceof zod_1.ZodUnion) {
28
- return zod_1.ZodUnion.create(schema._def.options.map((option) => deepPartialify(option)));
41
+ if (schema instanceof zod_1.z.ZodUnion) {
42
+ const opts = s._def?.options || s.options || [];
43
+ return zod_1.z.union(opts.map((o) => deepPartialify(o)));
29
44
  }
30
- else if (schema instanceof zod_1.ZodLazy) {
31
- return zod_1.ZodLazy.create(() => deepPartialify(schema._def.getter()));
45
+ if (schema instanceof zod_1.z.ZodLazy) {
46
+ const getter = s._def?.getter;
47
+ return zod_1.z.lazy(() => deepPartialify(getter ? getter() : zod_1.z.any()));
32
48
  }
33
- else if (schema instanceof zod_1.ZodEffects) {
34
- return new zod_1.ZodEffects({ ...schema._def, schema: deepPartialify(schema._def.schema) });
49
+ if (schema._def && schema._def.schema) {
50
+ return deepPartialify(schema._def.schema);
35
51
  }
36
- else {
37
- return schema;
52
+ try {
53
+ if (schema && typeof schema.optional === 'function') {
54
+ return schema.optional();
55
+ }
38
56
  }
57
+ catch { }
58
+ return zod_1.z.any().optional();
39
59
  }
40
60
  // Schemas.
41
61
  exports.LeaderBoardTypesEnum = zod_1.z.enum([
@@ -54,6 +74,7 @@ exports.SingleMessageTypeEnum = zod_1.z.enum([
54
74
  ]);
55
75
  exports.StreamerMessageTypeEnum = zod_1.z.enum([
56
76
  'clip',
77
+ 'kickBuiltInClip',
57
78
  'vod',
58
79
  'kickLive',
59
80
  'kickOffline',
@@ -78,6 +99,7 @@ exports.GuildMessageTypeEnum = zod_1.z.enum([
78
99
  'welcome',
79
100
  'leave',
80
101
  'clip',
102
+ 'kickBuiltInClip',
81
103
  'vod',
82
104
  'kickLive',
83
105
  'kickOffline',
@@ -1,167 +1,65 @@
1
1
  import { PartialZodObject } from './schema.zod';
2
- import { TSPrisma } from '@prisma/client';
3
2
  import { RemoveProperties } from '../prisma';
3
+ import { TSPrisma } from '@prisma/client';
4
4
  import { z } from 'zod';
5
5
  export type RT<T extends TSPrisma.AllModelNames> = z.ZodType<RemoveProperties<TSPrisma.TSPrismaModelsFull[T], GuildStarboardRelations>>;
6
6
  export type GuildStarboardRelations = 'db' | 'guildStarboard' | 'guildStarboardMessages';
7
7
  export declare const GuildStarboardZod: {
8
8
  readonly GuildStarboardSchema: z.ZodObject<{
9
- channelId: z.ZodEffects<z.ZodString, string, string>;
10
- guildId: z.ZodEffects<z.ZodString, string, string>;
9
+ channelId: z.ZodString;
10
+ guildId: z.ZodString;
11
11
  enabled: z.ZodNullable<z.ZodBoolean>;
12
12
  threshold: z.ZodNullable<z.ZodNumber>;
13
- emojiId: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
13
+ emojiId: z.ZodNullable<z.ZodString>;
14
14
  emojiName: z.ZodNullable<z.ZodString>;
15
15
  allowNsfw: z.ZodNullable<z.ZodBoolean>;
16
16
  allowSelfStar: z.ZodNullable<z.ZodBoolean>;
17
17
  allowBotMessages: z.ZodNullable<z.ZodBoolean>;
18
18
  deleteIfLost: z.ZodNullable<z.ZodBoolean>;
19
- rewardRole: z.ZodNullable<z.ZodEffects<z.ZodString, string, string>>;
19
+ rewardRole: z.ZodNullable<z.ZodString>;
20
20
  openThreadOnStar: z.ZodNullable<z.ZodBoolean>;
21
21
  filter: z.ZodNullable<z.ZodLazy<z.ZodObject<{
22
- roleMode: z.ZodNullable<z.ZodEnum<["whitelist", "blacklist"]>>;
23
- roles: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
24
- channelMode: z.ZodNullable<z.ZodEnum<["whitelist", "blacklist"]>>;
25
- channels: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
26
- }, "strip", z.ZodTypeAny, {
27
- roles: string[];
28
- roleMode: "whitelist" | "blacklist" | null;
29
- channelMode: "whitelist" | "blacklist" | null;
30
- channels: string[];
31
- }, {
32
- roles: string[];
33
- roleMode: "whitelist" | "blacklist" | null;
34
- channelMode: "whitelist" | "blacklist" | null;
35
- channels: string[];
36
- }>>>;
37
- }, "strip", z.ZodTypeAny, {
38
- guildId: string;
39
- filter: {
40
- roles: string[];
41
- roleMode: "whitelist" | "blacklist" | null;
42
- channelMode: "whitelist" | "blacklist" | null;
43
- channels: string[];
44
- } | null;
45
- channelId: string;
46
- enabled: boolean | null;
47
- threshold: number | null;
48
- emojiId: string | null;
49
- emojiName: string | null;
50
- allowNsfw: boolean | null;
51
- allowSelfStar: boolean | null;
52
- allowBotMessages: boolean | null;
53
- deleteIfLost: boolean | null;
54
- rewardRole: string | null;
55
- openThreadOnStar: boolean | null;
56
- }, {
57
- guildId: string;
58
- filter: {
59
- roles: string[];
60
- roleMode: "whitelist" | "blacklist" | null;
61
- channelMode: "whitelist" | "blacklist" | null;
62
- channels: string[];
63
- } | null;
64
- channelId: string;
65
- enabled: boolean | null;
66
- threshold: number | null;
67
- emojiId: string | null;
68
- emojiName: string | null;
69
- allowNsfw: boolean | null;
70
- allowSelfStar: boolean | null;
71
- allowBotMessages: boolean | null;
72
- deleteIfLost: boolean | null;
73
- rewardRole: string | null;
74
- openThreadOnStar: boolean | null;
75
- }>;
22
+ roleMode: z.ZodNullable<z.ZodEnum<{
23
+ whitelist: "whitelist";
24
+ blacklist: "blacklist";
25
+ }>>;
26
+ roles: z.ZodArray<z.ZodString>;
27
+ channelMode: z.ZodNullable<z.ZodEnum<{
28
+ whitelist: "whitelist";
29
+ blacklist: "blacklist";
30
+ }>>;
31
+ channels: z.ZodArray<z.ZodString>;
32
+ }, z.core.$strip>>>;
33
+ }, z.core.$strip>;
76
34
  readonly GuildStarboardFilterSchema: z.ZodObject<{
77
- roleMode: z.ZodNullable<z.ZodEnum<["whitelist", "blacklist"]>>;
78
- roles: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
79
- channelMode: z.ZodNullable<z.ZodEnum<["whitelist", "blacklist"]>>;
80
- channels: z.ZodEffects<z.ZodArray<z.ZodString, "many">, string[], string[]>;
81
- }, "strip", z.ZodTypeAny, {
82
- roles: string[];
83
- roleMode: "whitelist" | "blacklist" | null;
84
- channelMode: "whitelist" | "blacklist" | null;
85
- channels: string[];
86
- }, {
87
- roles: string[];
88
- roleMode: "whitelist" | "blacklist" | null;
89
- channelMode: "whitelist" | "blacklist" | null;
90
- channels: string[];
91
- }>;
35
+ roleMode: z.ZodNullable<z.ZodEnum<{
36
+ whitelist: "whitelist";
37
+ blacklist: "blacklist";
38
+ }>>;
39
+ roles: z.ZodArray<z.ZodString>;
40
+ channelMode: z.ZodNullable<z.ZodEnum<{
41
+ whitelist: "whitelist";
42
+ blacklist: "blacklist";
43
+ }>>;
44
+ channels: z.ZodArray<z.ZodString>;
45
+ }, z.core.$strip>;
92
46
  readonly GuildStarboardMessagesSchema: z.ZodObject<{
93
- guildId: z.ZodEffects<z.ZodString, string, string>;
94
- channelId: z.ZodEffects<z.ZodString, string, string>;
95
- messages: z.ZodEffects<z.ZodArray<z.ZodLazy<z.ZodObject<{
47
+ guildId: z.ZodString;
48
+ channelId: z.ZodString;
49
+ messages: z.ZodArray<z.ZodLazy<z.ZodObject<{
96
50
  messageId: z.ZodString;
97
51
  originalMessageId: z.ZodString;
98
- originalChannelId: z.ZodEffects<z.ZodString, string, string>;
52
+ originalChannelId: z.ZodString;
99
53
  currentStars: z.ZodNumber;
100
54
  isTrashed: z.ZodNullable<z.ZodBoolean>;
101
- }, "strip", z.ZodTypeAny, {
102
- messageId: string;
103
- originalMessageId: string;
104
- originalChannelId: string;
105
- currentStars: number;
106
- isTrashed: boolean | null;
107
- }, {
108
- messageId: string;
109
- originalMessageId: string;
110
- originalChannelId: string;
111
- currentStars: number;
112
- isTrashed: boolean | null;
113
- }>>, "many">, {
114
- messageId: string;
115
- originalMessageId: string;
116
- originalChannelId: string;
117
- currentStars: number;
118
- isTrashed: boolean | null;
119
- }[], {
120
- messageId: string;
121
- originalMessageId: string;
122
- originalChannelId: string;
123
- currentStars: number;
124
- isTrashed: boolean | null;
125
- }[]>;
126
- }, "strip", z.ZodTypeAny, {
127
- messages: {
128
- messageId: string;
129
- originalMessageId: string;
130
- originalChannelId: string;
131
- currentStars: number;
132
- isTrashed: boolean | null;
133
- }[];
134
- guildId: string;
135
- channelId: string;
136
- }, {
137
- messages: {
138
- messageId: string;
139
- originalMessageId: string;
140
- originalChannelId: string;
141
- currentStars: number;
142
- isTrashed: boolean | null;
143
- }[];
144
- guildId: string;
145
- channelId: string;
146
- }>;
55
+ }, z.core.$strip>>>;
56
+ }, z.core.$strip>;
147
57
  readonly GuildStarboardMessageSchema: z.ZodObject<{
148
58
  messageId: z.ZodString;
149
59
  originalMessageId: z.ZodString;
150
- originalChannelId: z.ZodEffects<z.ZodString, string, string>;
60
+ originalChannelId: z.ZodString;
151
61
  currentStars: z.ZodNumber;
152
62
  isTrashed: z.ZodNullable<z.ZodBoolean>;
153
- }, "strip", z.ZodTypeAny, {
154
- messageId: string;
155
- originalMessageId: string;
156
- originalChannelId: string;
157
- currentStars: number;
158
- isTrashed: boolean | null;
159
- }, {
160
- messageId: string;
161
- originalMessageId: string;
162
- originalChannelId: string;
163
- currentStars: number;
164
- isTrashed: boolean | null;
165
- }>;
63
+ }, z.core.$strip>;
166
64
  };
167
65
  export declare const GuildStarboardZodPartial: PartialZodObject<typeof GuildStarboardZod>;
@@ -1,107 +1,37 @@
1
1
  import { PartialZodObject } from './schema.zod';
2
- import { TSPrisma } from '@prisma/client';
3
2
  import { RemoveProperties } from '../prisma';
3
+ import { TSPrisma } from '@prisma/client';
4
4
  import { z } from 'zod';
5
5
  export type RT<T extends TSPrisma.AllModelNames> = z.ZodType<RemoveProperties<TSPrisma.TSPrismaModelsFull[T], TeamRelations>>;
6
6
  export type TeamRelations = 'db' | 'team';
7
7
  export declare const TeamZod: {
8
8
  readonly TeamSchema: z.ZodObject<{
9
- teamId: z.ZodEffects<z.ZodString, string, string>;
9
+ teamId: z.ZodString;
10
10
  teamName: z.ZodString;
11
11
  teamMembers: z.ZodArray<z.ZodLazy<z.ZodObject<{
12
- userId: z.ZodEffects<z.ZodString, string, string>;
12
+ userId: z.ZodString;
13
13
  bitfield: z.ZodString;
14
14
  joinedAt: z.ZodDate;
15
- }, "strip", z.ZodTypeAny, {
16
- bitfield: string;
17
- userId: string;
18
- joinedAt: Date;
19
- }, {
20
- bitfield: string;
21
- userId: string;
22
- joinedAt: Date;
23
- }>>, "many">;
15
+ }, z.core.$strip>>>;
24
16
  activeInvites: z.ZodArray<z.ZodLazy<z.ZodObject<{
25
17
  code: z.ZodString;
26
18
  maxUses: z.ZodNullable<z.ZodNumber>;
27
19
  currentUses: z.ZodNumber;
28
20
  bitfieldToSet: z.ZodString;
29
21
  expiresAt: z.ZodNullable<z.ZodDate>;
30
- }, "strip", z.ZodTypeAny, {
31
- code: string;
32
- maxUses: number | null;
33
- currentUses: number;
34
- bitfieldToSet: string;
35
- expiresAt: Date | null;
36
- }, {
37
- code: string;
38
- maxUses: number | null;
39
- currentUses: number;
40
- bitfieldToSet: string;
41
- expiresAt: Date | null;
42
- }>>, "many">;
43
- }, "strip", z.ZodTypeAny, {
44
- teamMembers: {
45
- bitfield: string;
46
- userId: string;
47
- joinedAt: Date;
48
- }[];
49
- activeInvites: {
50
- code: string;
51
- maxUses: number | null;
52
- currentUses: number;
53
- bitfieldToSet: string;
54
- expiresAt: Date | null;
55
- }[];
56
- teamId: string;
57
- teamName: string;
58
- }, {
59
- teamMembers: {
60
- bitfield: string;
61
- userId: string;
62
- joinedAt: Date;
63
- }[];
64
- activeInvites: {
65
- code: string;
66
- maxUses: number | null;
67
- currentUses: number;
68
- bitfieldToSet: string;
69
- expiresAt: Date | null;
70
- }[];
71
- teamId: string;
72
- teamName: string;
73
- }>;
22
+ }, z.core.$strip>>>;
23
+ }, z.core.$strip>;
74
24
  readonly TeamMemberSchema: z.ZodObject<{
75
- userId: z.ZodEffects<z.ZodString, string, string>;
25
+ userId: z.ZodString;
76
26
  bitfield: z.ZodString;
77
27
  joinedAt: z.ZodDate;
78
- }, "strip", z.ZodTypeAny, {
79
- bitfield: string;
80
- userId: string;
81
- joinedAt: Date;
82
- }, {
83
- bitfield: string;
84
- userId: string;
85
- joinedAt: Date;
86
- }>;
28
+ }, z.core.$strip>;
87
29
  readonly ActiveInviteSchema: z.ZodObject<{
88
30
  code: z.ZodString;
89
31
  maxUses: z.ZodNullable<z.ZodNumber>;
90
32
  currentUses: z.ZodNumber;
91
33
  bitfieldToSet: z.ZodString;
92
34
  expiresAt: z.ZodNullable<z.ZodDate>;
93
- }, "strip", z.ZodTypeAny, {
94
- code: string;
95
- maxUses: number | null;
96
- currentUses: number;
97
- bitfieldToSet: string;
98
- expiresAt: Date | null;
99
- }, {
100
- code: string;
101
- maxUses: number | null;
102
- currentUses: number;
103
- bitfieldToSet: string;
104
- expiresAt: Date | null;
105
- }>;
35
+ }, z.core.$strip>;
106
36
  };
107
37
  export declare const TeamZodPartial: PartialZodObject<typeof TeamZod>;