1 files changed, 29 insertions, 2 deletions
diff --git a/src/schemas/uncategorised/GuildSubscriptionsBulkSchema.ts b/src/schemas/uncategorised/GuildSubscriptionsBulkSchema.ts
index 32be9dd0..272110c5 100644
--- a/src/schemas/uncategorised/GuildSubscriptionsBulkSchema.ts
+++ b/src/schemas/uncategorised/GuildSubscriptionsBulkSchema.ts
@@ -1,5 +1,3 @@
-import { LazyRequestSchema } from "../gateway/LazyRequestSchema";
-
export interface GuildSubscriptionsBulkSchema {
subscriptions: { [key: string]: GuildSubscriptionSchema };
}
@@ -9,3 +7,32 @@ export type GuildSubscriptionSchema = Omit<LazyRequestSchema, "guild_id">;
export const GuildSubscriptionsBulkSchema = {
$subscriptions: Object,
};
+
+export interface LazyRequestSchema {
+ guild_id: string;
+ channels?: {
+ /**
+ * @items.type integer
+ * @minItems 2
+ * @maxItems 2
+ */
+ [key: string]: number[][]; // puyo: changed from [number, number] because it breaks openapi
+ };
+ activities?: boolean;
+ threads?: boolean;
+ typing?: true;
+ members?: string[];
+ member_updates?: boolean;
+ thread_member_lists?: unknown[];
+}
+
+export const LazyRequestSchema = {
+ guild_id: String,
+ $activities: Boolean,
+ $channels: Object,
+ $typing: Boolean,
+ $threads: Boolean,
+ $members: [] as string[],
+ $member_updates: Boolean,
+ $thread_member_lists: [] as unknown[],
+};
|