snowtransfer 0.3.2 → 0.3.6

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/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2018 DasWolke
3
+ Copyright (c) 2021 DasWolke
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,7 @@
1
1
  declare const _default: {
2
2
  REST_API_VERSION: 9;
3
3
  GET_CHANNEL_MESSAGES_MAX_RESULTS: 100;
4
+ GET_GUILD_SCHEDULED_EVENT_USERS_MAX_RESULTS: 100;
4
5
  BULK_DELETE_MESSAGES_MIN: 2;
5
6
  BULK_DELETE_MESSAGES_MAX: 100;
6
7
  OK_STATUS_CODES: number[];
package/dist/Constants.js CHANGED
@@ -2,6 +2,7 @@
2
2
  module.exports = {
3
3
  REST_API_VERSION: 9,
4
4
  GET_CHANNEL_MESSAGES_MAX_RESULTS: 100,
5
+ GET_GUILD_SCHEDULED_EVENT_USERS_MAX_RESULTS: 100,
5
6
  BULK_DELETE_MESSAGES_MIN: 2,
6
7
  BULK_DELETE_MESSAGES_MAX: 100,
7
8
  OK_STATUS_CODES: [200, 201, 204, 304]
@@ -53,6 +53,9 @@ declare const _default: {
53
53
  GUILD_PRUNE: (guildID: string) => string;
54
54
  GUILD_ROLE: (guildID: string, roleID: string) => string;
55
55
  GUILD_ROLES: (guildID: string) => string;
56
+ SCHEDULED_EVENTS: (guildID: string) => string;
57
+ SCHEDULED_EVENT: (guildID: string, eventId: string) => string;
58
+ SCHEDULE_EVENT_USERS: (guildID: string, eventId: string) => string;
56
59
  GUILD_STICKER: (guildID: string, stickerID: string) => string;
57
60
  GUILD_STICKERS: (guildID: string) => string;
58
61
  GUILD_TEMPLATE: (guildID: string, code: string) => string;
package/dist/Endpoints.js CHANGED
@@ -64,6 +64,9 @@ module.exports = {
64
64
  GUILD_PRUNE: (guildID) => `/guilds/${guildID}/prune`,
65
65
  GUILD_ROLE: (guildID, roleID) => `/guilds/${guildID}/roles/${roleID}`,
66
66
  GUILD_ROLES: (guildID) => `/guilds/${guildID}/roles`,
67
+ SCHEDULED_EVENTS: (guildID) => `guilds/${guildID}/scheduled-events`,
68
+ SCHEDULED_EVENT: (guildID, eventId) => `guilds/${guildID}/scheduled-events/${eventId}`,
69
+ SCHEDULE_EVENT_USERS: (guildID, eventId) => `guilds/${guildID}/scheduled-events/${eventId}/users`,
67
70
  GUILD_STICKER: (guildID, stickerID) => `/guilds/${guildID}/stickers/${stickerID}`,
68
71
  GUILD_STICKERS: (guildID) => `/guilds/${guildID}/stickers`,
69
72
  GUILD_TEMPLATE: (guildID, code) => `/guilds/${guildID}/templates/${code}`,
@@ -177,7 +177,7 @@ class RequestHandler extends events_1.EventEmitter {
177
177
  headers["X-Audit-Log-Reason"] = encodeURIComponent(data.reason);
178
178
  delete data.reason;
179
179
  }
180
- const req = (0, centra_1.default)(this.apiURL, method).path(endpoint).header(this.options.headers);
180
+ const req = (0, centra_1.default)(this.apiURL, method).path(endpoint).header({ ...this.options.headers, ...headers });
181
181
  if (useParams) {
182
182
  return req.query(data).send();
183
183
  }
@@ -5,6 +5,7 @@ import UserMethods from "./methods/Users";
5
5
  import GuildAssetsMethods from "./methods/GuildAssets";
6
6
  import WebhookMethods from "./methods/Webhooks";
7
7
  import GuildMethods from "./methods/Guilds";
8
+ import GuildScheduledEventMethods from "./methods/GuildScheduledEvent";
8
9
  import GuildTemplateMethods from "./methods/GuildTemplate";
9
10
  import InteractionMethods from "./methods/Interactions";
10
11
  import InviteMethods from "./methods/Invites";
@@ -30,6 +31,7 @@ declare class SnowTransfer {
30
31
  guildAssets: GuildAssetsMethods;
31
32
  webhook: WebhookMethods;
32
33
  guild: GuildMethods;
34
+ guildScheduledEvent: GuildScheduledEventMethods;
33
35
  guildTemplate: GuildTemplateMethods;
34
36
  interaction: InteractionMethods;
35
37
  invite: InviteMethods;
@@ -9,6 +9,7 @@ const Users_1 = __importDefault(require("./methods/Users"));
9
9
  const GuildAssets_1 = __importDefault(require("./methods/GuildAssets"));
10
10
  const Webhooks_1 = __importDefault(require("./methods/Webhooks"));
11
11
  const Guilds_1 = __importDefault(require("./methods/Guilds"));
12
+ const GuildScheduledEvent_1 = __importDefault(require("./methods/GuildScheduledEvent"));
12
13
  const GuildTemplate_1 = __importDefault(require("./methods/GuildTemplate"));
13
14
  const Interactions_1 = __importDefault(require("./methods/Interactions"));
14
15
  const Invites_1 = __importDefault(require("./methods/Invites"));
@@ -44,6 +45,7 @@ class SnowTransfer {
44
45
  this.guildAssets = new GuildAssets_1.default(this.requestHandler);
45
46
  this.webhook = new Webhooks_1.default(this.requestHandler, this.options.disableEveryone);
46
47
  this.guild = new Guilds_1.default(this.requestHandler);
48
+ this.guildScheduledEvent = new GuildScheduledEvent_1.default(this.requestHandler);
47
49
  this.guildTemplate = new GuildTemplate_1.default(this.requestHandler);
48
50
  this.interaction = new Interactions_1.default(this.requestHandler, this.webhook);
49
51
  this.invite = new Invites_1.default(this.requestHandler);
@@ -0,0 +1,75 @@
1
+ /**
2
+ * Methods for interacting with Guild Scheduled Events
3
+ */
4
+ declare class GuildScheduledEventMethods {
5
+ requestHandler: import("../RequestHandler");
6
+ /**
7
+ * Create a new Guild Scheduled Event Method Handler
8
+ *
9
+ * Usually SnowTransfer creates a method handler for you, this is here for completion
10
+ *
11
+ * You can access the methods listed via `client.guildscheduledevent.method`, where `client` is an initialized SnowTransfer instance
12
+ * @param requestHandler request handler that calls the rest api
13
+ */
14
+ constructor(requestHandler: import("../RequestHandler"));
15
+ listGuildScheduledEvents(guildId: string, options?: {
16
+ with_user_count?: boolean;
17
+ }): Promise<Array<import("discord-typings").GuildScheduleEventData>>;
18
+ createGuildScheduledEvent(guildId: string, data: CreateGuildScheduleEvent): Promise<import("discord-typings").GuildScheduleEventData>;
19
+ getGuildScheduledEvent(guildId: string, eventId: string, options?: {
20
+ with_user_count?: boolean;
21
+ }): Promise<import("discord-typings").GuildScheduleEventData>;
22
+ editGuildScheduledEvent(guildId: string, eventId: string, data: EditGuildScheduleEvent): Promise<import("discord-typings").GuildScheduleEventData>;
23
+ deleteGuildScheduledEvent(guildId: string, eventId: string): Promise<void>;
24
+ getGuildScheduledEventUsers(guildId: string, eventId: string, options?: GetGuildScheduledEventUsers): Promise<Array<GuildScheduledEventUsersData>>;
25
+ }
26
+ interface CreateGuildScheduleEvent {
27
+ channel_id?: string;
28
+ entity_metadata?: {
29
+ location?: string;
30
+ };
31
+ name: string;
32
+ privacy_level: 2;
33
+ scheduled_start_time: string;
34
+ scheduled_end_time?: string;
35
+ description?: string;
36
+ entity_type: 1 | 2 | 3;
37
+ /**
38
+ * base64 jpeg image for the scheduled event cover image
39
+ */
40
+ image?: string;
41
+ reason?: string;
42
+ }
43
+ interface EditGuildScheduleEvent {
44
+ channel_id?: string;
45
+ entity_metadata?: {
46
+ location?: string;
47
+ };
48
+ name?: string;
49
+ privacy_level?: 2;
50
+ scheduled_start_time?: string;
51
+ scheduled_end_time?: string;
52
+ description?: string;
53
+ entity_type?: 1 | 2 | 3;
54
+ /**
55
+ * base64 jpeg image for the scheduled event cover image
56
+ */
57
+ image?: string;
58
+ status?: 1 | 2 | 3 | 4;
59
+ reason?: string;
60
+ }
61
+ interface GetGuildScheduledEventUsers {
62
+ /**
63
+ * Number of users to get, values between 1-100 allowed
64
+ */
65
+ limit?: number;
66
+ with_member?: boolean;
67
+ before?: string;
68
+ after?: string;
69
+ }
70
+ interface GuildScheduledEventUsersData {
71
+ guild_scheduled_event_id: string;
72
+ user: import("discord-typings").UserData;
73
+ member?: import("discord-typings").MemberData;
74
+ }
75
+ export = GuildScheduledEventMethods;
@@ -0,0 +1,45 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ const Endpoints_1 = __importDefault(require("../Endpoints"));
6
+ const Constants_1 = __importDefault(require("../Constants"));
7
+ /**
8
+ * Methods for interacting with Guild Scheduled Events
9
+ */
10
+ class GuildScheduledEventMethods {
11
+ /**
12
+ * Create a new Guild Scheduled Event Method Handler
13
+ *
14
+ * Usually SnowTransfer creates a method handler for you, this is here for completion
15
+ *
16
+ * You can access the methods listed via `client.guildscheduledevent.method`, where `client` is an initialized SnowTransfer instance
17
+ * @param requestHandler request handler that calls the rest api
18
+ */
19
+ constructor(requestHandler) {
20
+ this.requestHandler = requestHandler;
21
+ }
22
+ async listGuildScheduledEvents(guildId, options = { with_user_count: false }) {
23
+ return this.requestHandler.request(Endpoints_1.default.SCHEDULED_EVENTS(guildId) + ((options === null || options === void 0 ? void 0 : options.with_user_count) ? "?with_user_count=true" : ""), "get", "json");
24
+ }
25
+ async createGuildScheduledEvent(guildId, data) {
26
+ return this.requestHandler.request(Endpoints_1.default.SCHEDULED_EVENTS(guildId), "post", "json", data);
27
+ }
28
+ async getGuildScheduledEvent(guildId, eventId, options = { with_user_count: false }) {
29
+ return this.requestHandler.request(Endpoints_1.default.SCHEDULED_EVENT(guildId, eventId) + ((options === null || options === void 0 ? void 0 : options.with_user_count) ? "?with_user_count=true" : ""), "get", "json");
30
+ }
31
+ async editGuildScheduledEvent(guildId, eventId, data) {
32
+ return this.requestHandler.request(Endpoints_1.default.SCHEDULED_EVENT(guildId, eventId), "patch", "json", data);
33
+ }
34
+ async deleteGuildScheduledEvent(guildId, eventId) {
35
+ return this.requestHandler.request(Endpoints_1.default.SCHEDULED_EVENT(guildId, eventId), "delete", "json");
36
+ }
37
+ async getGuildScheduledEventUsers(guildId, eventId, options = { limit: 50 }) {
38
+ if (options.limit && options.limit > Constants_1.default.GET_GUILD_SCHEDULED_EVENT_USERS_MAX_RESULTS) {
39
+ throw new Error(`The maximum amount of users that may be requested is ${Constants_1.default.GET_GUILD_SCHEDULED_EVENT_USERS_MAX_RESULTS}`);
40
+ }
41
+ const qs = Object.keys(options).map(key => `${key}=${options[key]}`).join("&");
42
+ return this.requestHandler.request(Endpoints_1.default.SCHEDULE_EVENT_USERS(guildId, eventId) + (qs ? `?${qs}` : ""), "get", "json");
43
+ }
44
+ }
45
+ module.exports = GuildScheduledEventMethods;
@@ -294,6 +294,29 @@ declare class GuildMethods {
294
294
  reason?: string;
295
295
  delete_message_days?: number;
296
296
  }): Promise<void>;
297
+ /**
298
+ *
299
+ * @param guildId Id of the guild
300
+ * @param memberId Id of the guild member
301
+ * @param data object with a reason and a communication_disabled_until property
302
+ * @returns Resolves the Promise on successful execution
303
+ * | Permissions deeded | Condition |
304
+ * |--------------------|-----------|
305
+ * | MODERATE_MEMBERS | always |
306
+ *
307
+ * @example
308
+ * // Timeout a user with a reason and disable their communication for 1 week
309
+ * let client = new SnowTransfer('TOKEN')
310
+ * let timeoutData = {
311
+ * reason: 'Bad words',
312
+ * "communication_disabled_until": new Date(Date.now() + 604800000).toISOString()
313
+ * }
314
+ * client.guild.createGuildTimeout('guild Id', 'memberId', timeoutData)
315
+ */
316
+ createGuildTimeout(guildId: string, memberId: string, data: {
317
+ reason?: string;
318
+ communication_disabled_until?: string;
319
+ }): Promise<void>;
297
320
  /**
298
321
  * Remove a ban of a user
299
322
  * @param guildId Id of the guild
@@ -316,6 +316,28 @@ class GuildMethods {
316
316
  async createGuildBan(guildId, memberId, data) {
317
317
  return this.requestHandler.request(Endpoints_1.default.GUILD_BAN(guildId, memberId), "put", "json", data);
318
318
  }
319
+ /**
320
+ *
321
+ * @param guildId Id of the guild
322
+ * @param memberId Id of the guild member
323
+ * @param data object with a reason and a communication_disabled_until property
324
+ * @returns Resolves the Promise on successful execution
325
+ * | Permissions deeded | Condition |
326
+ * |--------------------|-----------|
327
+ * | MODERATE_MEMBERS | always |
328
+ *
329
+ * @example
330
+ * // Timeout a user with a reason and disable their communication for 1 week
331
+ * let client = new SnowTransfer('TOKEN')
332
+ * let timeoutData = {
333
+ * reason: 'Bad words',
334
+ * "communication_disabled_until": new Date(Date.now() + 604800000).toISOString()
335
+ * }
336
+ * client.guild.createGuildTimeout('guild Id', 'memberId', timeoutData)
337
+ */
338
+ async createGuildTimeout(guildId, memberId, data) {
339
+ return this.requestHandler.request(Endpoints_1.default.GUILD_MEMBER(guildId, memberId), "patch", "json", data);
340
+ }
319
341
  /**
320
342
  * Remove a ban of a user
321
343
  * @param guildId Id of the guild
@@ -200,9 +200,9 @@ class WebhookMethods {
200
200
  threadID = data.thread_id;
201
201
  delete data.thread_id;
202
202
  if (data.files)
203
- return this.requestHandler.request(Endpoints_1.default.WEBHOOK_TOKEN_MESSAGE(webhookId, token, messageId) + threadID ? `?thread_id=${threadID}` : "", "patch", "multipart", data);
203
+ return this.requestHandler.request(Endpoints_1.default.WEBHOOK_TOKEN_MESSAGE(webhookId, token, messageId) + (threadID ? `?thread_id=${threadID}` : ""), "patch", "multipart", data);
204
204
  else
205
- return this.requestHandler.request(Endpoints_1.default.WEBHOOK_TOKEN_MESSAGE(webhookId, token, messageId) + threadID ? `?thread_id=${threadID}` : "", "patch", "json", data);
205
+ return this.requestHandler.request(Endpoints_1.default.WEBHOOK_TOKEN_MESSAGE(webhookId, token, messageId) + (threadID ? `?thread_id=${threadID}` : ""), "patch", "json", data);
206
206
  }
207
207
  /**
208
208
  * Delete a message sent by a Webhook
@@ -1 +1 @@
1
- {"program":{"fileNames":["../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es5.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2016.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2017.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2018.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2019.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2021.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.esnext.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.dom.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.esnext.intl.d.ts","../src/constants.ts","../src/endpoints.ts","../src/ratelimitbuckets/localbucket.ts","../src/ratelimiter.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/globals.global.d.ts","../node_modules/@types/node/index.d.ts","../node_modules/@types/centra/index.d.ts","../node_modules/form-data/index.d.ts","../src/requesthandler.ts","../node_modules/discord-typings/index.d.ts","../src/methods/channels.ts","../src/methods/users.ts","../src/methods/guildassets.ts","../src/methods/webhooks.ts","../src/methods/guilds.ts","../src/methods/guildtemplate.ts","../src/methods/interactions.ts","../src/methods/invites.ts","../src/methods/voices.ts","../src/methods/bots.ts","../src/methods/auditlog.ts","../src/methods/stageinstance.ts","../src/snowtransfer.ts","../src/index.ts"],"fileInfos":[{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940","eb75e89d63b3b72dd9ca8b0cac801cecae5be352307c004adeaa60bc9d6df51f","2cc028cd0bdb35b1b5eb723d84666a255933fffbea607f72cbd0c7c7b4bee144",{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"51b8b27c21c066bf877646e320bf6a722b80d1ade65e686923cd9d4494aef1ca","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"2c8c5ee58f30e7c944e04ab1fb5506fdbb4dd507c9efa6972cf4b91cec90c503","affectsGlobalScope":true},{"version":"2bb4b3927299434052b37851a47bf5c39764f2ba88a888a107b32262e9292b7c","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"93544ca2f26a48716c1b6c5091842cad63129daac422dfa4bc52460465f22bb1","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"7435b75fdf3509622e79622dbe5091cf4b09688410ee2034e4fc17d0c99d0862","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"9f1817f7c3f02f6d56e0f403b927e90bb133f371dcebc36fa7d6d208ef6899da","affectsGlobalScope":true},{"version":"cd6efb9467a8b6338ece2e2855e37765700f2cd061ca54b01b33878cf5c7677e","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"4632665b87204bb1caa8b44d165bce0c50dfab177df5b561b345a567cabacf9a","affectsGlobalScope":true},"105bd33cf7f1feaa8a950b3a8731bb55cb364887aaf1fc1c0c282098259f97db","b81b9cc121e0cde9e08672e5a7a4be8995c0391b7662e8edb0ac3464172b2c7c","49b133ab2f906501242d9b2afa1cf5f7aff41d91affdfd832897dcfbe5eed422","d2af8e2790a78356f1ca286a81e916dbe9b948ded3be2a6577c65c8c3e13c34c","0d5a2ee1fdfa82740e0103389b9efd6bfe145a20018a2da3c02b89666181f4d9","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"92d63add669d18ebc349efbacd88966d6f2ccdddfb1b880b2db98ae3aa7bf7c4","affectsGlobalScope":true},"ccc94049a9841fe47abe5baef6be9a38fc6228807974ae675fb15dc22531b4be",{"version":"9acfe4d1ff027015151ce81d60797b04b52bffe97ad8310bb0ec2e8fd61e1303","affectsGlobalScope":true},"95843d5cfafced8f3f8a5ce57d2335f0bcd361b9483587d12a25e4bd403b8216","afc6e96061af46bcff47246158caee7e056f5288783f2d83d6858cd25be1c565",{"version":"34f5bcac12b36d70304b73de5f5aab3bb91bd9919f984be80579ebcad03a624e","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","2f520601649a893e6a49a8851ebfcf4be8ce090dc1281c2a08a871cb04e8251f","f50c975ab7b50e25a69e3d8a3773894125b44e9698924105f23b812bf7488baf","2b8c764f856a1dd0a9a2bf23e5efddbff157de8138b0754010be561ae5fcaa90","ad4b60488fb1e562bf375dac9299815f7028bf667d9b5887b2d01d501b7d1ddd","246341c3a7a2638cf830d690e69de1e6085a102c6a30596435b050e6ac86c11a","6972fca26f6e9bd56197568d4379f99071a90766e06b4fcb5920a0130a9202be",{"version":"4a2628e95962c8ab756121faa3ac2ed348112ff7a87b5c286dd2cc3326546b4c","affectsGlobalScope":true},"aa8fe22e10f78a67b2ffbcc614b45fe258ff9e71d53ddb56e75fa7883c530270","a049a59a02009fc023684fcfaf0ac526fe36c35dcc5d2b7d620c1750ba11b083","a361a26932d73497a174a6d48c53cfedb55f735f20e8638fdf7b25cdeaac9ca4","b287b810b5035d5685f1df6e1e418f1ca452a3ed4f59fd5cc081dbf2045f0d9b","4b9a003b5c556c96784132945bb41c655ea11273b1917f5c8d0c154dd5fd20dd","a458dc78104cc80048ac24fdc02fe6dce254838094c2f25641b3f954d9721241",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"902cd98bf46e95caf4118a0733fb801e9e90eec3edaed6abdad77124afec9ca2","abc1c425b2ad6720433f40f1877abfa4223f0f3dd486c9c28c492179ca183cb6","cd4854d38f4eb5592afd98ab95ca17389a7dfe38013d9079e802d739bdbcc939","94eed4cc2f5f658d5e229ff1ccd38860bddf4233e347bf78edd2154dee1f2b99",{"version":"e51bee3200733b1f58818b5a9ea90fcd61c5b8afa3a0378391991f3696826a65","affectsGlobalScope":true},"9f1069b9e2c051737b1f9b4f1baf50e4a63385a6a89c32235549ae87fc3d5492","ee18f2da7a037c6ceeb112a084e485aead9ea166980bf433474559eac1b46553","29c2706fa0cc49a2bd90c83234da33d08bb9554ecec675e91c1f85087f5a5324","0acbf26bf958f9e80c1ffa587b74749d2697b75b484062d36e103c137c562bc3","d7838022c7dab596357a9604b9c6adffe37dc34085ce0779c958ce9545bd7139","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"a279435e7813d1f061c0cab6ab77b1b9377e8d96851e5ed4a76a1ce6eb6e628f","c33a6ea7147af60d8e98f1ac127047f4b0d4e2ce28b8f08ff3de07ca7cc00637",{"version":"b42b47e17b8ece2424ae8039feb944c2e3ba4b262986aebd582e51efbdca93dc","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","2408611d9b4146e35d1dbd1f443ccd8e187c74614a54b80300728277529dbf11","998a3de5237518c0b3ac00a11b3b4417affb008aa20aedee52f3fdae3cb86151","ad41008ffe077206e1811fc873f4d9005b5fd7f6ab52bb6118fef600815a5cb4","d88ecca73348e7c337541c4b8b60a50aca5e87384f6b8a422fc6603c637e4c21","badae0df9a8016ac36994b0a0e7b82ba6aaa3528e175a8c3cb161e4683eec03e","c3db860bcaaaeb3bbc23f353bbda1f8ab82756c8d5e973bebb3953cb09ea68f2","235a53595bd20b0b0eeb1a29cb2887c67c48375e92f03749b2488fbd46d0b1a0","bc09393cd4cd13f69cf1366d4236fbae5359bb550f0de4e15767e9a91d63dfb1","9c266243b01545e11d2733a55ad02b4c00ecdbda99c561cd1674f96e89cdc958","c71155c05fc76ff948a4759abc1cb9feec036509f500174bc18dad4c7827a60c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"e6ef68f677c1b63967d87568043b8af9d2dfd71d5873acd1de3abeb1db606741","3e5883cbd1b75ae02ec22e0a74b35c1c069eecf6a34814292024f431d3a38cb3","736097ddbb2903bef918bb3b5811ef1c9c5656f2a73bd39b22a91b9cc2525e50","a6370495ab879f4f429d7bea6350785700210eddcb67eec3ba244235f538062c","49e2d5d624680b27842fa42eba76d3d30cd6a76424319703c7d1b6a68563c9af","74e37bb421541ceaa56214dfbb01a5282f83461b391400fbca534c6c93759c51","36df4eae7cf2f90072a40648df229ba1527d979d7e71cb53055cd3d2713fe9e3","4a64635283353d074a5027ff44ad9582324859df8e4c7577369f8c0bf2a7048c","8e7d13219c69162d037b50fd5ee378053673a3a640cba0ce775a3615bac468c9","b35ea33a6a621b3198466bb95b0481383a385b4623555933975d51ee83114f79","f287c35a59c16a7b576a37a11e7ba6567b13d3bfacf754bdb8125eb9cbfe6bd2","4e02d710ec58362974e5133fbd381cefe2c36ed5939a4e9b73ea8565beb2e268","88d599750584880737ce67184ad2602614edcd27d7621c19fefc6d075c7694e2","4b684c884a80ddd13442408591c4b5daac488b98dbe23bbb1b74c8cbf3abf003","7ba8fa98d56e3d4ba01558c0f3b1d75d0aa48b108bca720b03740dc15f59d3df","6377205b7c9d7c5442d3ba02110490cd0d905c0aa8c825183873495549c1d328","5b3eebdeebf4da1f8243cdc869844f08608a1f9f332e205f388dc7ee5a900ae6","1985c73834571104d44c44055ea41939a0f07979f47997fc1247e379407ef9a0","9171ad14f0a74623d555141efe5a6340db7d0ea1248f1c161b84ca6c4b6b893e"],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"module":1,"noUnusedLocals":false,"outDir":"./","removeComments":false,"sourceMap":false,"strictNullChecks":true,"target":6},"fileIdsList":[[92],[67,91,92,99],[49,92],[52,92],[53,58,92],[54,64,65,72,81,91,92],[54,55,64,72,92],[56,92],[57,58,65,73,92],[58,81,88,92],[59,61,64,72,92],[60,92],[61,62,92],[63,64,92],[64,92],[64,65,66,81,91,92],[64,65,66,81,92],[67,72,81,91,92],[64,65,67,68,72,81,88,91,92],[67,69,81,88,91,92],[49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98],[64,70,92],[71,91,92],[61,64,72,81,92],[73,92],[74,92],[52,75,92],[76,90,92,96],[77,92],[78,92],[64,79,92],[79,80,92,94],[64,81,82,83,92],[81,83,92],[81,82,92],[84,92],[85,92],[64,86,87,92],[86,87,92],[58,72,88,92],[89,92],[72,90,92],[53,67,78,91,92],[58,92],[81,92,93],[92,94],[92,95],[53,58,64,66,75,81,91,92,94,96],[81,92,97],[67,81,92,99],[45,92],[45,46,92,116],[46,92,102,103],[46,92,102],[45,46,92,102,103],[46,92,102,103,107],[48,92],[47,92],[45,46,47,48,58,64,92,100,101],[46,48,92,102,104,105,106,107,108,109,110,111,112,113,114,115]],"referencedMap":[[10,1],[12,1],[11,1],[2,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[3,1],[4,1],[24,1],[21,1],[22,1],[23,1],[25,1],[26,1],[27,1],[5,1],[28,1],[29,1],[30,1],[31,1],[6,1],[32,1],[33,1],[34,1],[35,1],[7,1],[40,1],[36,1],[37,1],[38,1],[39,1],[8,1],[41,1],[42,1],[43,1],[1,1],[9,1],[44,1],[100,2],[49,3],[50,3],[52,4],[53,5],[54,6],[55,7],[56,8],[57,9],[58,10],[59,11],[60,12],[61,13],[62,13],[63,14],[64,15],[65,16],[66,17],[51,1],[98,1],[67,18],[68,19],[69,20],[99,21],[70,22],[71,23],[72,24],[73,25],[74,26],[75,27],[76,28],[77,29],[78,30],[79,31],[80,32],[81,33],[83,34],[82,35],[84,36],[85,37],[86,38],[87,39],[88,40],[89,41],[90,42],[91,43],[92,44],[93,45],[94,46],[95,47],[96,48],[97,49],[103,1],[101,50],[45,1],[46,51],[117,52],[114,53],[113,54],[104,55],[106,53],[108,53],[109,53],[110,56],[111,53],[115,53],[105,53],[112,53],[107,53],[47,57],[48,58],[102,59],[116,60]],"exportedModulesMap":[[10,1],[12,1],[11,1],[2,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[3,1],[4,1],[24,1],[21,1],[22,1],[23,1],[25,1],[26,1],[27,1],[5,1],[28,1],[29,1],[30,1],[31,1],[6,1],[32,1],[33,1],[34,1],[35,1],[7,1],[40,1],[36,1],[37,1],[38,1],[39,1],[8,1],[41,1],[42,1],[43,1],[1,1],[9,1],[44,1],[100,2],[49,3],[50,3],[52,4],[53,5],[54,6],[55,7],[56,8],[57,9],[58,10],[59,11],[60,12],[61,13],[62,13],[63,14],[64,15],[65,16],[66,17],[51,1],[98,1],[67,18],[68,19],[69,20],[99,21],[70,22],[71,23],[72,24],[73,25],[74,26],[75,27],[76,28],[77,29],[78,30],[79,31],[80,32],[81,33],[83,34],[82,35],[84,36],[85,37],[86,38],[87,39],[88,40],[89,41],[90,42],[91,43],[92,44],[93,45],[94,46],[95,47],[96,48],[97,49],[103,1],[101,50],[45,1],[46,51],[117,52],[114,53],[113,54],[104,55],[106,53],[108,53],[109,53],[110,56],[111,53],[115,53],[105,53],[112,53],[107,53],[47,57],[48,58],[102,59],[116,60]],"semanticDiagnosticsPerFile":[10,12,11,2,13,14,15,16,17,18,19,20,3,4,24,21,22,23,25,26,27,5,28,29,30,31,6,32,33,34,35,7,40,36,37,38,39,8,41,42,43,1,9,44,100,49,50,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,51,98,67,68,69,99,70,71,72,73,74,75,76,77,78,79,80,81,83,82,84,85,86,87,88,89,90,91,92,93,94,95,96,97,103,101,45,46,117,114,113,104,106,108,109,110,111,115,105,112,107,47,48,102,116]},"version":"4.4.4"}
1
+ {"program":{"fileNames":["../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es5.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2016.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2017.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2018.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2019.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2021.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.esnext.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.dom.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.core.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2017.object.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2017.string.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2019.array.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2019.object.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2019.string.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.string.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2021.string.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.es2021.intl.d.ts","../../../../appdata/roaming/npm/node_modules/typescript/lib/lib.esnext.intl.d.ts","../src/constants.ts","../src/endpoints.ts","../src/ratelimitbuckets/localbucket.ts","../src/ratelimiter.ts","../node_modules/@types/node/assert.d.ts","../node_modules/@types/node/assert/strict.d.ts","../node_modules/@types/node/globals.d.ts","../node_modules/@types/node/async_hooks.d.ts","../node_modules/@types/node/buffer.d.ts","../node_modules/@types/node/child_process.d.ts","../node_modules/@types/node/cluster.d.ts","../node_modules/@types/node/console.d.ts","../node_modules/@types/node/constants.d.ts","../node_modules/@types/node/crypto.d.ts","../node_modules/@types/node/dgram.d.ts","../node_modules/@types/node/diagnostics_channel.d.ts","../node_modules/@types/node/dns.d.ts","../node_modules/@types/node/dns/promises.d.ts","../node_modules/@types/node/domain.d.ts","../node_modules/@types/node/events.d.ts","../node_modules/@types/node/fs.d.ts","../node_modules/@types/node/fs/promises.d.ts","../node_modules/@types/node/http.d.ts","../node_modules/@types/node/http2.d.ts","../node_modules/@types/node/https.d.ts","../node_modules/@types/node/inspector.d.ts","../node_modules/@types/node/module.d.ts","../node_modules/@types/node/net.d.ts","../node_modules/@types/node/os.d.ts","../node_modules/@types/node/path.d.ts","../node_modules/@types/node/perf_hooks.d.ts","../node_modules/@types/node/process.d.ts","../node_modules/@types/node/punycode.d.ts","../node_modules/@types/node/querystring.d.ts","../node_modules/@types/node/readline.d.ts","../node_modules/@types/node/repl.d.ts","../node_modules/@types/node/stream.d.ts","../node_modules/@types/node/stream/promises.d.ts","../node_modules/@types/node/stream/consumers.d.ts","../node_modules/@types/node/stream/web.d.ts","../node_modules/@types/node/string_decoder.d.ts","../node_modules/@types/node/timers.d.ts","../node_modules/@types/node/timers/promises.d.ts","../node_modules/@types/node/tls.d.ts","../node_modules/@types/node/trace_events.d.ts","../node_modules/@types/node/tty.d.ts","../node_modules/@types/node/url.d.ts","../node_modules/@types/node/util.d.ts","../node_modules/@types/node/v8.d.ts","../node_modules/@types/node/vm.d.ts","../node_modules/@types/node/wasi.d.ts","../node_modules/@types/node/worker_threads.d.ts","../node_modules/@types/node/zlib.d.ts","../node_modules/@types/node/globals.global.d.ts","../node_modules/@types/node/index.d.ts","../node_modules/@types/centra/index.d.ts","../node_modules/form-data/index.d.ts","../src/requesthandler.ts","../node_modules/discord-typings/index.d.ts","../src/methods/channels.ts","../src/methods/users.ts","../src/methods/guildassets.ts","../src/methods/webhooks.ts","../src/methods/guilds.ts","../src/methods/guildscheduledevent.ts","../src/methods/guildtemplate.ts","../src/methods/interactions.ts","../src/methods/invites.ts","../src/methods/voices.ts","../src/methods/bots.ts","../src/methods/auditlog.ts","../src/methods/stageinstance.ts","../src/snowtransfer.ts","../src/index.ts"],"fileInfos":[{"version":"6adbf5efd0e374ff5f427a4f26a5a413e9734eee5067a0e86da69aea41910b52","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940","746d62152361558ea6d6115cf0da4dd10ede041d14882ede3568bce5dc4b4f1f","2cc028cd0bdb35b1b5eb723d84666a255933fffbea607f72cbd0c7c7b4bee144",{"version":"abba1071bfd89e55e88a054b0c851ea3e8a494c340d0f3fab19eb18f6afb0c9e","affectsGlobalScope":true},{"version":"d8996609230d17e90484a2dd58f22668f9a05a3bfe00bfb1d6271171e54a31fb","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"4378fc8122ec9d1a685b01eb66c46f62aba6b239ca7228bb6483bcf8259ee493","affectsGlobalScope":true},{"version":"0d5f52b3174bee6edb81260ebcd792692c32c81fd55499d69531496f3f2b25e7","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"d154ea5bb7f7f9001ed9153e876b2d5b8f5c2bb9ec02b3ae0d239ec769f1f2ae","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"6e7997ef61de3132e4d4b2250e75343f487903ddf5370e7ce33cf1b9db9a63ed","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"3787b83e297de7c315d55d4a7c546ae28e5f6c0a361b7a1dcec1f1f50a54ef11","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"d071129cba6a5f2700be09c86c07ad2791ab67d4e5ed1eb301d6746c62745ea4","affectsGlobalScope":true},{"version":"6c55633c733c8378db65ac3da7a767c3cf2cf3057f0565a9124a16a3a2019e87","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"e8c9f4e445a489991ca1a4232667de3ac36b07ba75ea335971fbeacf2d26fe67","affectsGlobalScope":true},{"version":"10bbdc1981b8d9310ee75bfac28ee0477bb2353e8529da8cff7cb26c409cb5e8","affectsGlobalScope":true},"12a884da5b016d6f16dce6dbc5bc85cc24bc4bb7a61b130c9d21d7527fc52f17","c8a2aa018f44e588b7ca4925a020372199c72a1481400f1fb54d2ad6a4f4d23f","49b133ab2f906501242d9b2afa1cf5f7aff41d91affdfd832897dcfbe5eed422","d2af8e2790a78356f1ca286a81e916dbe9b948ded3be2a6577c65c8c3e13c34c","0d5a2ee1fdfa82740e0103389b9efd6bfe145a20018a2da3c02b89666181f4d9","a69c09dbea52352f479d3e7ac949fde3d17b195abe90b045d619f747b38d6d1a",{"version":"92d63add669d18ebc349efbacd88966d6f2ccdddfb1b880b2db98ae3aa7bf7c4","affectsGlobalScope":true},"ccc94049a9841fe47abe5baef6be9a38fc6228807974ae675fb15dc22531b4be",{"version":"9acfe4d1ff027015151ce81d60797b04b52bffe97ad8310bb0ec2e8fd61e1303","affectsGlobalScope":true},"95843d5cfafced8f3f8a5ce57d2335f0bcd361b9483587d12a25e4bd403b8216","afc6e96061af46bcff47246158caee7e056f5288783f2d83d6858cd25be1c565",{"version":"34f5bcac12b36d70304b73de5f5aab3bb91bd9919f984be80579ebcad03a624e","affectsGlobalScope":true},"82408ed3e959ddc60d3e9904481b5a8dc16469928257af22a3f7d1a3bc7fd8c4","2f520601649a893e6a49a8851ebfcf4be8ce090dc1281c2a08a871cb04e8251f","f50c975ab7b50e25a69e3d8a3773894125b44e9698924105f23b812bf7488baf","2b8c764f856a1dd0a9a2bf23e5efddbff157de8138b0754010be561ae5fcaa90","76650408392bf49a8fbf3e2b6b302712a92d76af77b06e2da1cc8077359c4409","0af3121e68297b2247dd331c0d24dba599e50736a7517a5622d5591aae4a3122","6972fca26f6e9bd56197568d4379f99071a90766e06b4fcb5920a0130a9202be",{"version":"4a2628e95962c8ab756121faa3ac2ed348112ff7a87b5c286dd2cc3326546b4c","affectsGlobalScope":true},"80793b2277f31baa199234daed806fff0fb11491d1ebd3357e520c3558063f00","a049a59a02009fc023684fcfaf0ac526fe36c35dcc5d2b7d620c1750ba11b083","196fee5541bfd59699dab615fee2ae7a6f5fe0a6337bcbbfd656ebf1ae329a63","160cc6e3d06938535bc887754afe5798c22d81ce83a9792ebfe2371a70f2ffc2","4b9a003b5c556c96784132945bb41c655ea11273b1917f5c8d0c154dd5fd20dd","a458dc78104cc80048ac24fdc02fe6dce254838094c2f25641b3f954d9721241",{"version":"e8b18c6385ff784228a6f369694fcf1a6b475355ba89090a88de13587a9391d5","affectsGlobalScope":true},"eecd493fc62c4dba3d988e2d7dff63299bf12ab49f5c9021dfef8dcc1ff2089e","abc1c425b2ad6720433f40f1877abfa4223f0f3dd486c9c28c492179ca183cb6","945a841f9a591197154c85386bc5a1467d42d325104bb36db51bc566bbb240be","10c39ce1df102994b47d4bc0c71aa9a6aea76f4651a5ec51914431f50bc883a1",{"version":"8207e7e6db9aa5fc7e61c8f17ba74cf9c115d26f51f91ee93f790815a7ea9dfb","affectsGlobalScope":true},"9f1069b9e2c051737b1f9b4f1baf50e4a63385a6a89c32235549ae87fc3d5492","ee18f2da7a037c6ceeb112a084e485aead9ea166980bf433474559eac1b46553","29c2706fa0cc49a2bd90c83234da33d08bb9554ecec675e91c1f85087f5a5324","0acbf26bf958f9e80c1ffa587b74749d2697b75b484062d36e103c137c562bc3","d7838022c7dab596357a9604b9c6adffe37dc34085ce0779c958ce9545bd7139","1b952304137851e45bc009785de89ada562d9376177c97e37702e39e60c2f1ff",{"version":"806ef4cac3b3d9fa4a48d849c8e084d7c72fcd7b16d76e06049a9ed742ff79c0","affectsGlobalScope":true},"a7971f9fb2a32ec7788ec6cda9d7a33c02023dfe9a62db2030ad1359649d8050","c33a6ea7147af60d8e98f1ac127047f4b0d4e2ce28b8f08ff3de07ca7cc00637",{"version":"b42b47e17b8ece2424ae8039feb944c2e3ba4b262986aebd582e51efbdca93dc","affectsGlobalScope":true},"664d8f2d59164f2e08c543981453893bc7e003e4dfd29651ce09db13e9457980","2408611d9b4146e35d1dbd1f443ccd8e187c74614a54b80300728277529dbf11","998a3de5237518c0b3ac00a11b3b4417affb008aa20aedee52f3fdae3cb86151","ad41008ffe077206e1811fc873f4d9005b5fd7f6ab52bb6118fef600815a5cb4",{"version":"daa2956e185fbca0591cb8cbe075c115301cbac7863092103f2aed6078dfb612","affectsGlobalScope":true},"badae0df9a8016ac36994b0a0e7b82ba6aaa3528e175a8c3cb161e4683eec03e","c3db860bcaaaeb3bbc23f353bbda1f8ab82756c8d5e973bebb3953cb09ea68f2","235a53595bd20b0b0eeb1a29cb2887c67c48375e92f03749b2488fbd46d0b1a0","bc09393cd4cd13f69cf1366d4236fbae5359bb550f0de4e15767e9a91d63dfb1","9c266243b01545e11d2733a55ad02b4c00ecdbda99c561cd1674f96e89cdc958","c71155c05fc76ff948a4759abc1cb9feec036509f500174bc18dad4c7827a60c",{"version":"ab9b9a36e5284fd8d3bf2f7d5fcbc60052f25f27e4d20954782099282c60d23e","affectsGlobalScope":true},"1503a452a67127e5c2da794d1c7c44344d5038373aae16c9b03ac964db159edd","3e5883cbd1b75ae02ec22e0a74b35c1c069eecf6a34814292024f431d3a38cb3","736097ddbb2903bef918bb3b5811ef1c9c5656f2a73bd39b22a91b9cc2525e50","4d8e22565e803054f2819b21dc091872efcd6edec88b190d1f588b3190f0e5cc","cd678edbc865f767491af7e2779148f583b1fddea1e1206f11e67d21e2954a54","74e37bb421541ceaa56214dfbb01a5282f83461b391400fbca534c6c93759c51","36df4eae7cf2f90072a40648df229ba1527d979d7e71cb53055cd3d2713fe9e3","4a64635283353d074a5027ff44ad9582324859df8e4c7577369f8c0bf2a7048c","d120cf4d7f80f53198f31fc9b0a8d76e01f765b24a651ef4bd97f4bb4d8a1d2a","a315815956c14083d5e9c7e34850ae503b785e582cbc601469e749037e8c1520","2e925aabf3ce41e8b692490af9e25c8f385d0b01de774bb06685a5aa9fafe234","f287c35a59c16a7b576a37a11e7ba6567b13d3bfacf754bdb8125eb9cbfe6bd2","4e02d710ec58362974e5133fbd381cefe2c36ed5939a4e9b73ea8565beb2e268","88d599750584880737ce67184ad2602614edcd27d7621c19fefc6d075c7694e2","4b684c884a80ddd13442408591c4b5daac488b98dbe23bbb1b74c8cbf3abf003","7ba8fa98d56e3d4ba01558c0f3b1d75d0aa48b108bca720b03740dc15f59d3df","6377205b7c9d7c5442d3ba02110490cd0d905c0aa8c825183873495549c1d328","5b3eebdeebf4da1f8243cdc869844f08608a1f9f332e205f388dc7ee5a900ae6","d81d25602e28851b2c0ace0aa04895f5d7b82e8b5b88ec38d98bcd69a9f83b59","9171ad14f0a74623d555141efe5a6340db7d0ea1248f1c161b84ca6c4b6b893e"],"options":{"allowSyntheticDefaultImports":true,"declaration":true,"emitDecoratorMetadata":true,"esModuleInterop":true,"experimentalDecorators":true,"module":1,"noUnusedLocals":false,"outDir":"./","removeComments":false,"sourceMap":false,"strictNullChecks":true,"target":6},"fileIdsList":[[93],[68,92,93,100],[50,93],[53,93],[54,59,93],[55,65,66,73,82,92,93],[55,56,65,73,93],[57,93],[58,59,66,74,93],[59,82,89,93],[60,62,65,73,93],[61,93],[62,63,93],[64,65,93],[65,93],[65,66,67,82,92,93],[65,66,67,82,93],[68,73,82,92,93],[65,66,68,69,73,82,89,92,93],[68,70,82,89,92,93],[50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99],[65,71,93],[72,92,93],[62,65,73,82,93],[74,93],[75,93],[53,76,93],[77,91,93,97],[78,93],[79,93],[65,80,93],[80,81,93,95],[65,82,83,84,93],[82,84,93],[82,83,93],[85,93],[86,93],[65,87,88,93],[87,88,93],[59,73,89,93],[90,93],[73,91,93],[54,68,79,92,93],[59,93],[82,93,94],[93,95],[93,96],[54,59,65,67,76,82,92,93,95,97],[82,93,98],[68,82,93,100],[46,93],[46,47,93,118],[47,93,103,104],[47,93,103],[46,47,93,103,104],[47,93,103,104,108],[49,93],[48,93],[46,47,48,49,59,65,93,101,102],[47,49,93,103,105,106,107,108,109,110,111,112,113,114,115,116,117]],"referencedMap":[[10,1],[12,1],[11,1],[2,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[3,1],[4,1],[24,1],[21,1],[22,1],[23,1],[25,1],[26,1],[27,1],[5,1],[28,1],[29,1],[30,1],[31,1],[6,1],[32,1],[33,1],[34,1],[35,1],[7,1],[40,1],[36,1],[37,1],[38,1],[39,1],[8,1],[44,1],[41,1],[42,1],[43,1],[1,1],[9,1],[45,1],[101,2],[50,3],[51,3],[53,4],[54,5],[55,6],[56,7],[57,8],[58,9],[59,10],[60,11],[61,12],[62,13],[63,13],[64,14],[65,15],[66,16],[67,17],[52,1],[99,1],[68,18],[69,19],[70,20],[100,21],[71,22],[72,23],[73,24],[74,25],[75,26],[76,27],[77,28],[78,29],[79,30],[80,31],[81,32],[82,33],[84,34],[83,35],[85,36],[86,37],[87,38],[88,39],[89,40],[90,41],[91,42],[92,43],[93,44],[94,45],[95,46],[96,47],[97,48],[98,49],[104,1],[102,50],[46,1],[47,51],[119,52],[116,53],[115,54],[105,55],[107,53],[109,53],[110,55],[111,53],[112,56],[113,53],[117,53],[106,53],[114,53],[108,53],[48,57],[49,58],[103,59],[118,60]],"exportedModulesMap":[[10,1],[12,1],[11,1],[2,1],[13,1],[14,1],[15,1],[16,1],[17,1],[18,1],[19,1],[20,1],[3,1],[4,1],[24,1],[21,1],[22,1],[23,1],[25,1],[26,1],[27,1],[5,1],[28,1],[29,1],[30,1],[31,1],[6,1],[32,1],[33,1],[34,1],[35,1],[7,1],[40,1],[36,1],[37,1],[38,1],[39,1],[8,1],[44,1],[41,1],[42,1],[43,1],[1,1],[9,1],[45,1],[101,2],[50,3],[51,3],[53,4],[54,5],[55,6],[56,7],[57,8],[58,9],[59,10],[60,11],[61,12],[62,13],[63,13],[64,14],[65,15],[66,16],[67,17],[52,1],[99,1],[68,18],[69,19],[70,20],[100,21],[71,22],[72,23],[73,24],[74,25],[75,26],[76,27],[77,28],[78,29],[79,30],[80,31],[81,32],[82,33],[84,34],[83,35],[85,36],[86,37],[87,38],[88,39],[89,40],[90,41],[91,42],[92,43],[93,44],[94,45],[95,46],[96,47],[97,48],[98,49],[104,1],[102,50],[46,1],[47,51],[119,52],[116,53],[115,54],[105,55],[107,53],[109,53],[110,55],[111,53],[112,56],[113,53],[117,53],[106,53],[114,53],[108,53],[48,57],[49,58],[103,59],[118,60]],"semanticDiagnosticsPerFile":[10,12,11,2,13,14,15,16,17,18,19,20,3,4,24,21,22,23,25,26,27,5,28,29,30,31,6,32,33,34,35,7,40,36,37,38,39,8,44,41,42,43,1,9,45,101,50,51,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,52,99,68,69,70,100,71,72,73,74,75,76,77,78,79,80,81,82,84,83,85,86,87,88,89,90,91,92,93,94,95,96,97,98,104,102,46,47,119,116,115,105,107,109,110,111,112,113,117,106,114,108,48,49,103,118]},"version":"4.5.2"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "snowtransfer",
3
- "version": "0.3.2",
3
+ "version": "0.3.6",
4
4
  "description": "Minimalistic Rest client for the Discord Api",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -36,13 +36,13 @@
36
36
  "devDependencies": {
37
37
  "@types/centra": "^2.2.0",
38
38
  "@types/node": "^16.0.1",
39
- "@typescript-eslint/eslint-plugin": "^5.3.0",
40
- "@typescript-eslint/parser": "^5.3.0",
41
- "eslint": "^8.2.0",
42
- "typedoc": "^0.22.7",
39
+ "@typescript-eslint/eslint-plugin": "^5.8.0",
40
+ "@typescript-eslint/parser": "^5.8.0",
41
+ "eslint": "^8.5.0",
42
+ "typedoc": "^0.22.10",
43
43
  "typedoc-plugin-mdn-links": "^1.0.4",
44
- "typedoc-plugin-missing-exports": "^0.22.4",
45
- "typescript": "^4.4.4"
44
+ "typedoc-plugin-missing-exports": "^0.22.6",
45
+ "typescript": "^4.5.4"
46
46
  },
47
47
  "files": ["dist", "README.md", "LICENSE.md"]
48
48
  }