dfx 1.0.11 → 1.0.13

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 (77) hide show
  1. package/dist/DiscordConfig.d.ts +2 -2
  2. package/dist/DiscordConfig.d.ts.map +1 -1
  3. package/dist/DiscordConfig.js +2 -2
  4. package/dist/DiscordConfig.js.map +1 -1
  5. package/dist/DiscordGateway/DiscordWS.d.ts +3 -3
  6. package/dist/DiscordGateway/DiscordWS.d.ts.map +1 -1
  7. package/dist/DiscordGateway/DiscordWS.js +3 -3
  8. package/dist/DiscordGateway/DiscordWS.js.map +1 -1
  9. package/dist/DiscordGateway/Messaging.d.ts +2 -2
  10. package/dist/DiscordGateway/Messaging.d.ts.map +1 -1
  11. package/dist/DiscordGateway/Messaging.js +2 -2
  12. package/dist/DiscordGateway/Messaging.js.map +1 -1
  13. package/dist/DiscordGateway/Shard/StateStore.d.ts +2 -2
  14. package/dist/DiscordGateway/Shard/StateStore.d.ts.map +1 -1
  15. package/dist/DiscordGateway/Shard/StateStore.js +2 -2
  16. package/dist/DiscordGateway/Shard/StateStore.js.map +1 -1
  17. package/dist/DiscordGateway/Shard.d.ts +2 -2
  18. package/dist/DiscordGateway/Shard.d.ts.map +1 -1
  19. package/dist/DiscordGateway/Shard.js +2 -2
  20. package/dist/DiscordGateway/Shard.js.map +1 -1
  21. package/dist/DiscordGateway/ShardStore.d.ts +2 -2
  22. package/dist/DiscordGateway/ShardStore.d.ts.map +1 -1
  23. package/dist/DiscordGateway/ShardStore.js +2 -2
  24. package/dist/DiscordGateway/ShardStore.js.map +1 -1
  25. package/dist/DiscordGateway/Sharder.d.ts +2 -2
  26. package/dist/DiscordGateway/Sharder.d.ts.map +1 -1
  27. package/dist/DiscordGateway/Sharder.js +2 -2
  28. package/dist/DiscordGateway/Sharder.js.map +1 -1
  29. package/dist/DiscordGateway.d.ts +2 -2
  30. package/dist/DiscordGateway.d.ts.map +1 -1
  31. package/dist/DiscordGateway.js +2 -2
  32. package/dist/DiscordGateway.js.map +1 -1
  33. package/dist/DiscordREST/Generated.d.ts +544 -58
  34. package/dist/DiscordREST/Generated.d.ts.map +1 -1
  35. package/dist/DiscordREST/Generated.js +377 -0
  36. package/dist/DiscordREST/Generated.js.map +1 -1
  37. package/dist/DiscordREST.d.ts +3 -3
  38. package/dist/DiscordREST.d.ts.map +1 -1
  39. package/dist/DiscordREST.js +4 -4
  40. package/dist/DiscordREST.js.map +1 -1
  41. package/dist/Interactions/context.d.ts +7 -7
  42. package/dist/Interactions/context.d.ts.map +1 -1
  43. package/dist/Interactions/context.js +7 -7
  44. package/dist/Interactions/context.js.map +1 -1
  45. package/dist/Interactions/gateway.d.ts +3 -3
  46. package/dist/Interactions/gateway.d.ts.map +1 -1
  47. package/dist/Interactions/gateway.js +3 -3
  48. package/dist/Interactions/gateway.js.map +1 -1
  49. package/dist/Interactions/webhook.d.ts +2 -2
  50. package/dist/Interactions/webhook.d.ts.map +1 -1
  51. package/dist/Interactions/webhook.js +2 -2
  52. package/dist/Interactions/webhook.js.map +1 -1
  53. package/dist/RateLimit.d.ts +3 -3
  54. package/dist/RateLimit.d.ts.map +1 -1
  55. package/dist/RateLimit.js +3 -3
  56. package/dist/RateLimit.js.map +1 -1
  57. package/dist/utils/Effect.js +1 -1
  58. package/dist/utils/Effect.js.map +1 -1
  59. package/dist/version.d.ts +1 -1
  60. package/dist/version.js +1 -1
  61. package/package.json +5 -5
  62. package/src/DiscordConfig.ts +2 -2
  63. package/src/DiscordGateway/DiscordWS.ts +3 -3
  64. package/src/DiscordGateway/Messaging.ts +2 -2
  65. package/src/DiscordGateway/Shard/StateStore.ts +2 -2
  66. package/src/DiscordGateway/Shard.ts +2 -2
  67. package/src/DiscordGateway/ShardStore.ts +2 -2
  68. package/src/DiscordGateway/Sharder.ts +2 -2
  69. package/src/DiscordGateway.ts +2 -2
  70. package/src/DiscordREST/Generated.ts +650 -62
  71. package/src/DiscordREST.ts +4 -4
  72. package/src/Interactions/context.ts +7 -7
  73. package/src/Interactions/gateway.ts +3 -3
  74. package/src/Interactions/webhook.ts +2 -2
  75. package/src/RateLimit.ts +3 -3
  76. package/src/utils/Effect.ts +1 -1
  77. package/src/version.ts +1 -1
@@ -141,6 +141,275 @@ export const OAuth2Scopes = {
141
141
  */
142
142
  OPENID: "openid",
143
143
  };
144
+ export const ApplicationEventWebhooksStatus = {
145
+ /**
146
+ * Webhook events are disabled by developer
147
+ */
148
+ DISABLED: 1,
149
+ /**
150
+ * Webhook events are enabled by developer
151
+ */
152
+ ENABLED: 2,
153
+ /**
154
+ * Webhook events are disabled by Discord, usually due to inactivity
155
+ */
156
+ DISABLED_BY_DISCORD: 3,
157
+ };
158
+ export const ActionTypes = {
159
+ /**
160
+ * User started typing in a channel
161
+ */
162
+ TYPING_START: "TYPING_START",
163
+ /**
164
+ * Invite to a channel was created
165
+ */
166
+ INVITE_CREATE: "INVITE_CREATE",
167
+ /**
168
+ * Invite to a channel was deleted
169
+ */
170
+ INVITE_DELETE: "INVITE_DELETE",
171
+ /**
172
+ * Guild channel webhook was created, updated, or deleted
173
+ */
174
+ WEBHOOKS_UPDATE: "WEBHOOKS_UPDATE",
175
+ /**
176
+ * New guild channel created
177
+ */
178
+ CHANNEL_CREATE: "CHANNEL_CREATE",
179
+ /**
180
+ * Voice channel status was updated
181
+ */
182
+ VOICE_CHANNEL_STATUS_UPDATE: "VOICE_CHANNEL_STATUS_UPDATE",
183
+ /**
184
+ * Channel was updated
185
+ */
186
+ CHANNEL_UPDATE: "CHANNEL_UPDATE",
187
+ /**
188
+ * Channel was deleted
189
+ */
190
+ CHANNEL_DELETE: "CHANNEL_DELETE",
191
+ /**
192
+ * Message was pinned or unpinned
193
+ */
194
+ CHANNEL_PINS_UPDATE: "CHANNEL_PINS_UPDATE",
195
+ /**
196
+ * Thread created, also sent when being added to a private thread
197
+ */
198
+ THREAD_CREATE: "THREAD_CREATE",
199
+ /**
200
+ * Thread was updated
201
+ */
202
+ THREAD_UPDATE: "THREAD_UPDATE",
203
+ /**
204
+ * Thread was deleted
205
+ */
206
+ THREAD_DELETE: "THREAD_DELETE",
207
+ /**
208
+ * Sent when gaining access to a channel, contains all active threads in that channel
209
+ */
210
+ THREAD_LIST_SYNC: "THREAD_LIST_SYNC",
211
+ /**
212
+ * Thread member for the current user was updated
213
+ */
214
+ THREAD_MEMBER_UPDATE: "THREAD_MEMBER_UPDATE",
215
+ /**
216
+ * Some user(s) were added to or removed from a thread
217
+ */
218
+ THREAD_MEMBERS_UPDATE: "THREAD_MEMBERS_UPDATE",
219
+ /**
220
+ * Lazy-load for unavailable guild, guild became available, or user joined a new guild
221
+ */
222
+ GUILD_CREATE: "GUILD_CREATE",
223
+ /**
224
+ * Guild was updated
225
+ */
226
+ GUILD_UPDATE: "GUILD_UPDATE",
227
+ /**
228
+ * Guild became unavailable, or user left/was removed from a guild
229
+ */
230
+ GUILD_DELETE: "GUILD_DELETE",
231
+ /**
232
+ * Guild emojis were updated
233
+ */
234
+ GUILD_EMOJIS_UPDATE: "GUILD_EMOJIS_UPDATE",
235
+ /**
236
+ * Guild stickers were updated
237
+ */
238
+ GUILD_STICKERS_UPDATE: "GUILD_STICKERS_UPDATE",
239
+ /**
240
+ * Guild integration was updated
241
+ */
242
+ GUILD_INTEGRATIONS_UPDATE: "GUILD_INTEGRATIONS_UPDATE",
243
+ /**
244
+ * New user joined a guild
245
+ */
246
+ GUILD_MEMBER_ADD: "GUILD_MEMBER_ADD",
247
+ /**
248
+ * Guild member was updated
249
+ */
250
+ GUILD_MEMBER_UPDATE: "GUILD_MEMBER_UPDATE",
251
+ /**
252
+ * User was removed from a guild
253
+ */
254
+ GUILD_MEMBER_REMOVE: "GUILD_MEMBER_REMOVE",
255
+ /**
256
+ * User was banned from a guild
257
+ */
258
+ GUILD_BAN_ADD: "GUILD_BAN_ADD",
259
+ /**
260
+ * User was unbanned from a guild
261
+ */
262
+ GUILD_BAN_REMOVE: "GUILD_BAN_REMOVE",
263
+ /**
264
+ * Guild role was created
265
+ */
266
+ GUILD_ROLE_CREATE: "GUILD_ROLE_CREATE",
267
+ /**
268
+ * Guild role was updated
269
+ */
270
+ GUILD_ROLE_UPDATE: "GUILD_ROLE_UPDATE",
271
+ /**
272
+ * Guild role was deleted
273
+ */
274
+ GUILD_ROLE_DELETE: "GUILD_ROLE_DELETE",
275
+ /**
276
+ * Response to Request Guild Members
277
+ */
278
+ GUILD_MEMBERS_CHUNK: "GUILD_MEMBERS_CHUNK",
279
+ /**
280
+ * Message was created
281
+ */
282
+ MESSAGE_CREATE: "MESSAGE_CREATE",
283
+ /**
284
+ * Message was edited
285
+ */
286
+ MESSAGE_UPDATE: "MESSAGE_UPDATE",
287
+ /**
288
+ * Message was deleted
289
+ */
290
+ MESSAGE_DELETE: "MESSAGE_DELETE",
291
+ /**
292
+ * Multiple messages were deleted at once
293
+ */
294
+ MESSAGE_DELETE_BULK: "MESSAGE_DELETE_BULK",
295
+ /**
296
+ * User reacted to a message
297
+ */
298
+ MESSAGE_REACTION_ADD: "MESSAGE_REACTION_ADD",
299
+ /**
300
+ * User removed a reaction from a message
301
+ */
302
+ MESSAGE_REACTION_REMOVE: "MESSAGE_REACTION_REMOVE",
303
+ /**
304
+ * All reactions were explicitly removed from a message
305
+ */
306
+ MESSAGE_REACTION_REMOVE_ALL: "MESSAGE_REACTION_REMOVE_ALL",
307
+ /**
308
+ * All reactions for a given emoji were explicitly removed from a message
309
+ */
310
+ MESSAGE_REACTION_REMOVE_EMOJI: "MESSAGE_REACTION_REMOVE_EMOJI",
311
+ /**
312
+ * Properties about the user changed
313
+ */
314
+ USER_UPDATE: "USER_UPDATE",
315
+ /**
316
+ * Contains the initial state information
317
+ */
318
+ READY: "READY",
319
+ /**
320
+ * Response to Resume
321
+ */
322
+ RESUMED: "RESUMED",
323
+ /**
324
+ * User was updated
325
+ */
326
+ PRESENCE_UPDATE: "PRESENCE_UPDATE",
327
+ /**
328
+ * Someone joined, left, or moved a voice channel
329
+ */
330
+ VOICE_STATE_UPDATE: "VOICE_STATE_UPDATE",
331
+ /**
332
+ * Guild's voice server was updated
333
+ */
334
+ VOICE_SERVER_UPDATE: "VOICE_SERVER_UPDATE",
335
+ /**
336
+ * User used an interaction, such as an Application Command
337
+ */
338
+ INTERACTION_CREATE: "INTERACTION_CREATE",
339
+ /**
340
+ * Guild integration was created
341
+ */
342
+ INTEGRATION_CREATE: "INTEGRATION_CREATE",
343
+ /**
344
+ * Guild integration was updated
345
+ */
346
+ INTEGRATION_UPDATE: "INTEGRATION_UPDATE",
347
+ /**
348
+ * Guild integration was deleted
349
+ */
350
+ INTEGRATION_DELETE: "INTEGRATION_DELETE",
351
+ /**
352
+ * Application command permission was updated
353
+ */
354
+ APPLICATION_COMMAND_PERMISSIONS_UPDATE: "APPLICATION_COMMAND_PERMISSIONS_UPDATE",
355
+ /**
356
+ * Stage instance was created
357
+ */
358
+ STAGE_INSTANCE_CREATE: "STAGE_INSTANCE_CREATE",
359
+ /**
360
+ * Stage instance was updated
361
+ */
362
+ STAGE_INSTANCE_UPDATE: "STAGE_INSTANCE_UPDATE",
363
+ /**
364
+ * Stage instance was deleted or closed
365
+ */
366
+ STAGE_INSTANCE_DELETE: "STAGE_INSTANCE_DELETE",
367
+ /**
368
+ * A guild audit log entry was created
369
+ */
370
+ GUILD_AUDIT_LOG_ENTRY_CREATE: "GUILD_AUDIT_LOG_ENTRY_CREATE",
371
+ /**
372
+ * Guild scheduled event was created
373
+ */
374
+ GUILD_SCHEDULED_EVENT_CREATE: "GUILD_SCHEDULED_EVENT_CREATE",
375
+ /**
376
+ * Guild scheduled event was updated
377
+ */
378
+ GUILD_SCHEDULED_EVENT_UPDATE: "GUILD_SCHEDULED_EVENT_UPDATE",
379
+ /**
380
+ * Guild scheduled event was deleted
381
+ */
382
+ GUILD_SCHEDULED_EVENT_DELETE: "GUILD_SCHEDULED_EVENT_DELETE",
383
+ /**
384
+ * User subscribed to a guild scheduled event
385
+ */
386
+ GUILD_SCHEDULED_EVENT_USER_ADD: "GUILD_SCHEDULED_EVENT_USER_ADD",
387
+ /**
388
+ * User unsubscribed from a guild scheduled event
389
+ */
390
+ GUILD_SCHEDULED_EVENT_USER_REMOVE: "GUILD_SCHEDULED_EVENT_USER_REMOVE",
391
+ /**
392
+ * Auto Moderation rule was created
393
+ */
394
+ AUTO_MODERATION_RULE_CREATE: "AUTO_MODERATION_RULE_CREATE",
395
+ /**
396
+ * Auto Moderation rule was updated
397
+ */
398
+ AUTO_MODERATION_RULE_UPDATE: "AUTO_MODERATION_RULE_UPDATE",
399
+ /**
400
+ * Auto Moderation rule was deleted
401
+ */
402
+ AUTO_MODERATION_RULE_DELETE: "AUTO_MODERATION_RULE_DELETE",
403
+ /**
404
+ * Auto Moderation rule was triggered and an action was executed (.e.g. a message was blocked)
405
+ */
406
+ AUTO_MODERATION_ACTION_EXECUTION: "AUTO_MODERATION_ACTION_EXECUTION",
407
+ GUILD_SOUNDBOARD_SOUNDS_UPDATE: "GUILD_SOUNDBOARD_SOUNDS_UPDATE",
408
+ GUILD_SOUNDBOARD_SOUND_CREATE: "GUILD_SOUNDBOARD_SOUND_CREATE",
409
+ GUILD_SOUNDBOARD_SOUND_UPDATE: "GUILD_SOUNDBOARD_SOUND_UPDATE",
410
+ GUILD_SOUNDBOARD_SOUND_DELETE: "GUILD_SOUNDBOARD_SOUND_DELETE",
411
+ RATE_LIMITED: "RATE_LIMITED",
412
+ };
144
413
  export const ApplicationExplicitContentFilterTypes = {
145
414
  /**
146
415
  * inherit guild content filter setting
@@ -161,6 +430,20 @@ export const TeamMembershipStates = {
161
430
  */
162
431
  ACCEPTED: 2,
163
432
  };
433
+ export const TeamMemberRoles = {
434
+ /**
435
+ * Admins have similar access as owners, except they cannot take destructive actions on the team or team-owned apps.
436
+ */
437
+ ADMIN: "admin",
438
+ /**
439
+ * Developers can access information about team-owned apps, like the client secret or public key. They can also take limited actions on team-owned apps, like configuring interaction endpoints or resetting the bot token. Members with the Developer role cannot manage the team or its members, or take destructive actions on team-owned apps.
440
+ */
441
+ DEVELOPER: "developer",
442
+ /**
443
+ * Read-only members can access information about a team and any team-owned apps. Some examples include getting the IDs of applications and exporting payout records. Members can also invite bots associated with team-owned apps that are marked private.
444
+ */
445
+ READ_ONLY: "read_only",
446
+ };
164
447
  export const EmbeddedActivityLocationKind = {
165
448
  /**
166
449
  * guild channel
@@ -555,6 +838,10 @@ export const GuildFeatures = {
555
838
  * guild has enabled the welcome screen
556
839
  */
557
840
  WELCOME_SCREEN_ENABLED: "WELCOME_SCREEN_ENABLED",
841
+ /**
842
+ * guild is an official guild for one or more games
843
+ */
844
+ OFFICIAL_GAME_GUILD: "OFFICIAL_GAME_GUILD",
558
845
  };
559
846
  export const VerificationLevels = {
560
847
  /**
@@ -771,6 +1058,13 @@ export const StickerFormatTypes = {
771
1058
  LOTTIE: 3,
772
1059
  GIF: 4,
773
1060
  };
1061
+ export const ActivityActionTypes = {
1062
+ JOIN: 1,
1063
+ SPECTATE: 2,
1064
+ LISTEN: 3,
1065
+ JOIN_REQUEST: 5,
1066
+ STREAM_REQUEST: 6,
1067
+ };
774
1068
  export const InteractionTypes = {
775
1069
  /**
776
1070
  * Sent by Discord to validate your application's interaction handler
@@ -1241,6 +1535,45 @@ export const IntegrationExpireGracePeriodTypes = {
1241
1535
  */
1242
1536
  THIRTY_DAYS: 30,
1243
1537
  };
1538
+ export const SortingMode = {
1539
+ RELEVANCE: "relevance",
1540
+ TIMESTAMP: "timestamp",
1541
+ };
1542
+ export const AuthorType = {
1543
+ USER: "user",
1544
+ BOT: "bot",
1545
+ WEBHOOK: "webhook",
1546
+ NO_USER: "-user",
1547
+ NO_BOT: "-bot",
1548
+ NO_WEBHOOK: "-webhook",
1549
+ };
1550
+ export const HasOption = {
1551
+ LINK: "link",
1552
+ EMBED: "embed",
1553
+ FILE: "file",
1554
+ IMAGE: "image",
1555
+ VIDEO: "video",
1556
+ SOUND: "sound",
1557
+ STICKER: "sticker",
1558
+ POLL: "poll",
1559
+ SNAPSHOT: "snapshot",
1560
+ NO_LINK: "-link",
1561
+ NO_EMBED: "-embed",
1562
+ NO_FILE: "-file",
1563
+ NO_IMAGE: "-image",
1564
+ NO_VIDEO: "-video",
1565
+ NO_SOUND: "-sound",
1566
+ NO_STICKER: "-sticker",
1567
+ NO_POLL: "-poll",
1568
+ NO_SNAPSHOT: "-snapshot",
1569
+ };
1570
+ export const SearchableEmbedType = {
1571
+ IMAGE: "image",
1572
+ VIDEO: "video",
1573
+ GIFV: "gif",
1574
+ SOUND: "sound",
1575
+ ARTICLE: "article",
1576
+ };
1244
1577
  export const NewMemberActionType = {
1245
1578
  VIEW: 0,
1246
1579
  TALK: 1,
@@ -1298,6 +1631,20 @@ export const InteractionCallbackTypes = {
1298
1631
  LAUNCH_ACTIVITY: 12,
1299
1632
  SOCIAL_LAYER_SKU_PURCHASE_ELIGIBILITY: 13,
1300
1633
  };
1634
+ export const SKUIneligibilityReason = {
1635
+ /**
1636
+ * Other / catch-all
1637
+ */
1638
+ OTHER: 0,
1639
+ /**
1640
+ * User already owns this SKU or one of its components
1641
+ */
1642
+ OWNS_SKU_OR_BUNDLE_COMPONENT: 1,
1643
+ /**
1644
+ * User account is not on an eligible platform
1645
+ */
1646
+ PLATFORM_RESTRICTION: 2,
1647
+ };
1301
1648
  export const TargetUsersJobStatusTypes = {
1302
1649
  /**
1303
1650
  * The default value.
@@ -1713,6 +2060,7 @@ export const make = (httpClient, options = {}) => {
1713
2060
  "429": "RatelimitedResponse",
1714
2061
  "4xx": "ErrorResponse",
1715
2062
  })),
2063
+ updateVoiceChannelStatus: (channelId, options) => HttpClientRequest.put(`/channels/${channelId}/voice-status`).pipe(HttpClientRequest.bodyJsonUnsafe(options), onRequest([], { "429": "RatelimitedResponse", "4xx": "ErrorResponse" })),
1716
2064
  listChannelWebhooks: channelId => HttpClientRequest.get(`/channels/${channelId}/webhooks`).pipe(onRequest(["2xx"], {
1717
2065
  "429": "RatelimitedResponse",
1718
2066
  "4xx": "ErrorResponse",
@@ -1857,6 +2205,35 @@ export const make = (httpClient, options = {}) => {
1857
2205
  })),
1858
2206
  addGuildMemberRole: (guildId, userId, roleId) => HttpClientRequest.put(`/guilds/${guildId}/members/${userId}/roles/${roleId}`).pipe(onRequest([], { "429": "RatelimitedResponse", "4xx": "ErrorResponse" })),
1859
2207
  deleteGuildMemberRole: (guildId, userId, roleId) => HttpClientRequest.delete(`/guilds/${guildId}/members/${userId}/roles/${roleId}`).pipe(onRequest([], { "429": "RatelimitedResponse", "4xx": "ErrorResponse" })),
2208
+ guildSearch: (guildId, options) => HttpClientRequest.get(`/guilds/${guildId}/messages/search`).pipe(HttpClientRequest.setUrlParams({
2209
+ sort_by: options?.["sort_by"],
2210
+ sort_order: options?.["sort_order"],
2211
+ content: options?.["content"],
2212
+ slop: options?.["slop"],
2213
+ author_id: options?.["author_id"],
2214
+ author_type: options?.["author_type"],
2215
+ mentions: options?.["mentions"],
2216
+ mentions_role_id: options?.["mentions_role_id"],
2217
+ replied_to_user_id: options?.["replied_to_user_id"],
2218
+ replied_to_message_id: options?.["replied_to_message_id"],
2219
+ mention_everyone: options?.["mention_everyone"],
2220
+ min_id: options?.["min_id"],
2221
+ max_id: options?.["max_id"],
2222
+ limit: options?.["limit"],
2223
+ offset: options?.["offset"],
2224
+ has: options?.["has"],
2225
+ link_hostname: options?.["link_hostname"],
2226
+ embed_provider: options?.["embed_provider"],
2227
+ embed_type: options?.["embed_type"],
2228
+ attachment_extension: options?.["attachment_extension"],
2229
+ attachment_filename: options?.["attachment_filename"],
2230
+ pinned: options?.["pinned"],
2231
+ include_nsfw: options?.["include_nsfw"],
2232
+ channel_id: options?.["channel_id"],
2233
+ }), onRequest(["200", "202"], {
2234
+ "429": "RatelimitedResponse",
2235
+ "4xx": "ErrorResponse",
2236
+ })),
1860
2237
  getGuildNewMemberWelcome: guildId => HttpClientRequest.get(`/guilds/${guildId}/new-member-welcome`).pipe(onRequest(["2xx"], {
1861
2238
  "429": "RatelimitedResponse",
1862
2239
  "4xx": "ErrorResponse",