@duque.edits/sdk 0.1.7 → 0.1.8

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 (47) hide show
  1. package/dist/managers/base.js +0 -6
  2. package/dist/managers/buffer/BufferManager.js +2 -2
  3. package/dist/managers/guild/GuildManager.js +6 -4
  4. package/dist/managers/index.js +5 -1
  5. package/dist/managers/logs/LogManager.js +60 -0
  6. package/dist/managers/match/GuildMatchManager.js +1 -1
  7. package/dist/managers/message/MessagesManager.js +1 -1
  8. package/dist/managers/minesgame/MinesGameManager.js +67 -0
  9. package/dist/managers/ticket/TicketManager.js +3 -3
  10. package/dist/managers/user/GuildUserManager.js +13 -21
  11. package/dist/managers/vipmember/VipMemberManager.js +2 -2
  12. package/dist/rest/REST.js +16 -17
  13. package/dist/rest/Routes.js +3 -3
  14. package/dist/structures/Collection.js +2 -2
  15. package/dist/structures/guild/Guild.js +142 -75
  16. package/dist/structures/index.js +1 -0
  17. package/dist/structures/match/GuildMatch.js +32 -74
  18. package/dist/structures/minesgame/MinesGame.js +72 -0
  19. package/dist/structures/user/GuildUser.js +16 -13
  20. package/dist/types/api/APIGuild.js +16 -0
  21. package/dist/types/api/APIGuildMatch.js +9 -0
  22. package/dist/types/api/APILogEntry.js +2 -0
  23. package/dist/types/api/APIMinesGame.js +2 -0
  24. package/dist/types/api/index.js +4 -4
  25. package/package.json +6 -4
  26. package/types/managers/base.d.ts +0 -3
  27. package/types/managers/index.d.ts +5 -1
  28. package/types/managers/logs/LogManager.d.ts +11 -0
  29. package/types/managers/minesgame/MinesGameManager.d.ts +17 -0
  30. package/types/managers/ticket/TicketManager.d.ts +1 -1
  31. package/types/managers/user/GuildUserManager.d.ts +2 -3
  32. package/types/managers/vipmember/VipMemberManager.d.ts +1 -2
  33. package/types/rest/REST.d.ts +10 -7
  34. package/types/structures/guild/Guild.d.ts +16 -32
  35. package/types/structures/index.d.ts +1 -0
  36. package/types/structures/match/GuildMatch.d.ts +4 -7
  37. package/types/structures/minesgame/MinesGame.d.ts +23 -0
  38. package/types/structures/ticket/Ticket.d.ts +3 -3
  39. package/types/structures/user/GuildUser.d.ts +3 -4
  40. package/types/types/api/APIGuild.d.ts +22 -38
  41. package/types/types/api/APIGuildGroupedChannel.d.ts +2 -5
  42. package/types/types/api/APIGuildMatch.d.ts +6 -0
  43. package/types/types/api/APIGuildUser.d.ts +7 -2
  44. package/types/types/api/APILogEntry.d.ts +9 -0
  45. package/types/types/api/APIMessage.d.ts +2 -1
  46. package/types/types/api/APIMinesGame.d.ts +13 -0
  47. package/types/types/api/index.d.ts +6 -15
@@ -8,17 +8,6 @@ export interface APITicketCategory {
8
8
  /** Category's alias */
9
9
  alias: string;
10
10
  }
11
- export interface Blacklisted {
12
- /** Blacklist's id */
13
- id: string;
14
- /** Blacklist added by */
15
- addedBy: string;
16
- /** Guild Creation Date */
17
- createdAt: Date;
18
- /** Guild Updated Date */
19
- updatedAt: Date;
20
- }
21
- export type GuildBlacklist = Blacklisted[];
22
11
  export interface LogMessage {
23
12
  /** The message's content */
24
13
  content: string | Buffer<any>;
@@ -61,6 +50,8 @@ export type Accessory = {
61
50
  addedBy: string;
62
51
  /** When accessory added */
63
52
  when: Date;
53
+ createdAt: Date;
54
+ updatedAt: Date;
64
55
  /** If accessory has expired */
65
56
  expired: boolean;
66
57
  };
@@ -135,22 +126,22 @@ export declare enum STATES {
135
126
  export * from "./APIBaseChannel";
136
127
  export * from "./APIBetChannel";
137
128
  export * from "./APIBetMessage";
129
+ export * from "./APIGiveaway";
138
130
  export * from "./APIGuild";
139
131
  export * from "./APIGuildBet";
140
132
  export * from "./APIGuildBetUser";
141
133
  export * from "./APIGuildChannel";
142
- export * from "./APIGuildEmoji";
143
134
  export * from "./APIGuildGroupedChannel";
144
135
  export * from "./APIGuildMatch";
145
136
  export * from "./APIGuildMediator";
146
137
  export * from "./APIGuildPermissions";
147
- export * from "./APIGuildRole";
148
138
  export * from "./APIGuildShop";
149
139
  export * from "./APIGuildTicket";
150
140
  export * from "./APIGuildUser";
141
+ export * from "./APILogEntry";
142
+ export * from "./APILogMessage";
151
143
  export * from "./APIMessage";
144
+ export * from "./APIMinesGame";
152
145
  export * from "./APIPlayer";
153
146
  export * from "./APIProduct";
154
147
  export * from "./APIVipMember";
155
- export * from "./APIGiveaway";
156
- export * from "./APILogMessage";