@zennify/sdk-js 1.37.0 → 1.37.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zennify/sdk-js",
3
- "version": "1.37.0",
3
+ "version": "1.37.2",
4
4
  "description": "A simple package to work with https://api.zennify.app",
5
5
  "main": "dist/main.js",
6
6
  "keywords": [],
@@ -52,4 +52,17 @@ export interface FullStore {
52
52
  },
53
53
  moderators: Record<string, StoreModerator>,
54
54
  discord_bot_guilds: Record<string, DiscordGuild>
55
+ }
56
+
57
+ export type StoreInvite = {
58
+ invite: {
59
+ permissions: StoreModeratorPermissions[],
60
+ expires: number
61
+ },
62
+ store: {
63
+ name: string,
64
+ created_at: string
65
+ icon_id?: string | null,
66
+ banner_id?: string | null,
67
+ }
55
68
  }
@@ -39,3 +39,15 @@ export interface FullStore {
39
39
  moderators: Record<string, StoreModerator>;
40
40
  discord_bot_guilds: Record<string, DiscordGuild>;
41
41
  }
42
+ export type StoreInvite = {
43
+ invite: {
44
+ permissions: StoreModeratorPermissions[];
45
+ expires: number;
46
+ };
47
+ store: {
48
+ name: string;
49
+ created_at: string;
50
+ icon_id?: string | null;
51
+ banner_id?: string | null;
52
+ };
53
+ };