@distilled.cloud/discord 1.0.0-rc.17 → 1.0.0-rc.18

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.
@@ -13,6 +13,19 @@ const __s: any[] = [];
13
13
 
14
14
  export type { DiscordOpError, DiscordOpContext };
15
15
 
16
+ /** Span facts shared by every operation (com.distilled.telemetry#service). */
17
+ const TELEMETRY = {
18
+ system: "discord-api",
19
+ responseHeaders: [
20
+ { header: "x-request-id", name: "http.response.header.x-request-id", transform: "list" },
21
+ { header: "request-id", name: "http.response.header.request-id", transform: "list" },
22
+ ],
23
+ prefix: "Discord",
24
+ service: "Discord",
25
+ labels: "discord",
26
+ propagate: "w3c",
27
+ } as const;
28
+
16
29
  export class NotFound
17
30
  extends /*@__PURE__*/ T.applyErrorMatchers(
18
31
  /*@__PURE__*/ S.TaggedError<NotFound>()("NotFound", {
@@ -6875,6 +6888,8 @@ export const addGroupDmUser: API.OperationMethod<
6875
6888
  errors: [UnknownDiscordError],
6876
6889
  protocol: DiscordProtocol,
6877
6890
  retry: Retry.Retry,
6891
+ telemetry: TELEMETRY,
6892
+ span: "AddGroupDmUser",
6878
6893
  }));
6879
6894
 
6880
6895
  export type AddGuildMemberError = DiscordOpError;
@@ -6889,6 +6904,8 @@ export const addGuildMember: API.OperationMethod<
6889
6904
  errors: [UnknownDiscordError],
6890
6905
  protocol: DiscordProtocol,
6891
6906
  retry: Retry.Retry,
6907
+ telemetry: TELEMETRY,
6908
+ span: "AddGuildMember",
6892
6909
  }));
6893
6910
 
6894
6911
  export type AddGuildMemberRoleError = DiscordOpError;
@@ -6903,6 +6920,8 @@ export const addGuildMemberRole: API.OperationMethod<
6903
6920
  errors: [UnknownDiscordError],
6904
6921
  protocol: DiscordProtocol,
6905
6922
  retry: Retry.Retry,
6923
+ telemetry: TELEMETRY,
6924
+ span: "AddGuildMemberRole",
6906
6925
  }));
6907
6926
 
6908
6927
  export type AddInviteTargetUserError = DiscordOpError;
@@ -6918,6 +6937,8 @@ export const addInviteTargetUser: API.OperationMethod<
6918
6937
  errors: [UnknownDiscordError],
6919
6938
  protocol: DiscordProtocol,
6920
6939
  retry: Retry.Retry,
6940
+ telemetry: TELEMETRY,
6941
+ span: "AddInviteTargetUser",
6921
6942
  }));
6922
6943
 
6923
6944
  export type AddLobbyMemberError = DiscordOpError;
@@ -6932,6 +6953,8 @@ export const addLobbyMember: API.OperationMethod<
6932
6953
  errors: [UnknownDiscordError],
6933
6954
  protocol: DiscordProtocol,
6934
6955
  retry: Retry.Retry,
6956
+ telemetry: TELEMETRY,
6957
+ span: "AddLobbyMember",
6935
6958
  }));
6936
6959
 
6937
6960
  export type AddMyMessageReactionError = DiscordOpError;
@@ -6946,6 +6969,8 @@ export const addMyMessageReaction: API.OperationMethod<
6946
6969
  errors: [UnknownDiscordError],
6947
6970
  protocol: DiscordProtocol,
6948
6971
  retry: Retry.Retry,
6972
+ telemetry: TELEMETRY,
6973
+ span: "AddMyMessageReaction",
6949
6974
  }));
6950
6975
 
6951
6976
  export type AddThreadMemberError = DiscordOpError;
@@ -6960,6 +6985,8 @@ export const addThreadMember: API.OperationMethod<
6960
6985
  errors: [UnknownDiscordError],
6961
6986
  protocol: DiscordProtocol,
6962
6987
  retry: Retry.Retry,
6988
+ telemetry: TELEMETRY,
6989
+ span: "AddThreadMember",
6963
6990
  }));
6964
6991
 
6965
6992
  export type BanUserFromGuildError = DiscordOpError;
@@ -6974,6 +7001,8 @@ export const banUserFromGuild: API.OperationMethod<
6974
7001
  errors: [UnknownDiscordError],
6975
7002
  protocol: DiscordProtocol,
6976
7003
  retry: Retry.Retry,
7004
+ telemetry: TELEMETRY,
7005
+ span: "BanUserFromGuild",
6977
7006
  }));
6978
7007
 
6979
7008
  export type BotPartnerSdkTokenError = DiscordOpError;
@@ -6988,6 +7017,8 @@ export const botPartnerSdkToken: API.OperationMethod<
6988
7017
  errors: [UnknownDiscordError],
6989
7018
  protocol: DiscordProtocol,
6990
7019
  retry: Retry.Retry,
7020
+ telemetry: TELEMETRY,
7021
+ span: "BotPartnerSdkToken",
6991
7022
  }));
6992
7023
 
6993
7024
  export type BotPartnerSdkUnmergeProvisionalAccountError = DiscordOpError;
@@ -7002,6 +7033,8 @@ export const botPartnerSdkUnmergeProvisionalAccount: API.OperationMethod<
7002
7033
  errors: [UnknownDiscordError],
7003
7034
  protocol: DiscordProtocol,
7004
7035
  retry: Retry.Retry,
7036
+ telemetry: TELEMETRY,
7037
+ span: "BotPartnerSdkUnmergeProvisionalAccount",
7005
7038
  }));
7006
7039
 
7007
7040
  export type BulkAddInviteTargetUsersError = DiscordOpError;
@@ -7017,6 +7050,8 @@ export const bulkAddInviteTargetUsers: API.OperationMethod<
7017
7050
  errors: [UnknownDiscordError],
7018
7051
  protocol: DiscordProtocol,
7019
7052
  retry: Retry.Retry,
7053
+ telemetry: TELEMETRY,
7054
+ span: "BulkAddInviteTargetUsers",
7020
7055
  }));
7021
7056
 
7022
7057
  export type BulkBanUsersFromGuildError = DiscordOpError;
@@ -7031,6 +7066,8 @@ export const bulkBanUsersFromGuild: API.OperationMethod<
7031
7066
  errors: [UnknownDiscordError],
7032
7067
  protocol: DiscordProtocol,
7033
7068
  retry: Retry.Retry,
7069
+ telemetry: TELEMETRY,
7070
+ span: "BulkBanUsersFromGuild",
7034
7071
  }));
7035
7072
 
7036
7073
  export type BulkDeleteMessagesError = DiscordOpError;
@@ -7045,6 +7082,8 @@ export const bulkDeleteMessages: API.OperationMethod<
7045
7082
  errors: [UnknownDiscordError],
7046
7083
  protocol: DiscordProtocol,
7047
7084
  retry: Retry.Retry,
7085
+ telemetry: TELEMETRY,
7086
+ span: "BulkDeleteMessages",
7048
7087
  }));
7049
7088
 
7050
7089
  export type BulkRemoveInviteTargetUsersError = DiscordOpError;
@@ -7060,6 +7099,8 @@ export const bulkRemoveInviteTargetUsers: API.OperationMethod<
7060
7099
  errors: [UnknownDiscordError],
7061
7100
  protocol: DiscordProtocol,
7062
7101
  retry: Retry.Retry,
7102
+ telemetry: TELEMETRY,
7103
+ span: "BulkRemoveInviteTargetUsers",
7063
7104
  }));
7064
7105
 
7065
7106
  export type BulkSetApplicationCommandsError = DiscordOpError;
@@ -7074,6 +7115,8 @@ export const bulkSetApplicationCommands: API.OperationMethod<
7074
7115
  errors: [UnknownDiscordError],
7075
7116
  protocol: DiscordProtocol,
7076
7117
  retry: Retry.Retry,
7118
+ telemetry: TELEMETRY,
7119
+ span: "BulkSetApplicationCommands",
7077
7120
  }));
7078
7121
 
7079
7122
  export type BulkSetGuildApplicationCommandsError = DiscordOpError;
@@ -7088,6 +7131,8 @@ export const bulkSetGuildApplicationCommands: API.OperationMethod<
7088
7131
  errors: [UnknownDiscordError],
7089
7132
  protocol: DiscordProtocol,
7090
7133
  retry: Retry.Retry,
7134
+ telemetry: TELEMETRY,
7135
+ span: "BulkSetGuildApplicationCommands",
7091
7136
  }));
7092
7137
 
7093
7138
  export type BulkUpdateGuildChannelsError = DiscordOpError;
@@ -7102,6 +7147,8 @@ export const bulkUpdateGuildChannels: API.OperationMethod<
7102
7147
  errors: [UnknownDiscordError],
7103
7148
  protocol: DiscordProtocol,
7104
7149
  retry: Retry.Retry,
7150
+ telemetry: TELEMETRY,
7151
+ span: "BulkUpdateGuildChannels",
7105
7152
  }));
7106
7153
 
7107
7154
  export type BulkUpdateGuildRolesError = DiscordOpError;
@@ -7116,6 +7163,8 @@ export const bulkUpdateGuildRoles: API.OperationMethod<
7116
7163
  errors: [UnknownDiscordError],
7117
7164
  protocol: DiscordProtocol,
7118
7165
  retry: Retry.Retry,
7166
+ telemetry: TELEMETRY,
7167
+ span: "BulkUpdateGuildRoles",
7119
7168
  }));
7120
7169
 
7121
7170
  export type BulkUpdateLobbyMembersError = DiscordOpError;
@@ -7130,6 +7179,8 @@ export const bulkUpdateLobbyMembers: API.OperationMethod<
7130
7179
  errors: [UnknownDiscordError],
7131
7180
  protocol: DiscordProtocol,
7132
7181
  retry: Retry.Retry,
7182
+ telemetry: TELEMETRY,
7183
+ span: "BulkUpdateLobbyMembers",
7133
7184
  }));
7134
7185
 
7135
7186
  export type ConsumeEntitlementError = DiscordOpError;
@@ -7144,6 +7195,8 @@ export const consumeEntitlement: API.OperationMethod<
7144
7195
  errors: [UnknownDiscordError],
7145
7196
  protocol: DiscordProtocol,
7146
7197
  retry: Retry.Retry,
7198
+ telemetry: TELEMETRY,
7199
+ span: "ConsumeEntitlement",
7147
7200
  }));
7148
7201
 
7149
7202
  export type CountGuildScheduledEventUsersError = DiscordOpError;
@@ -7159,6 +7212,8 @@ export const countGuildScheduledEventUsers: API.OperationMethod<
7159
7212
  errors: [UnknownDiscordError],
7160
7213
  protocol: DiscordProtocol,
7161
7214
  retry: Retry.Retry,
7215
+ telemetry: TELEMETRY,
7216
+ span: "CountGuildScheduledEventUsers",
7162
7217
  }));
7163
7218
 
7164
7219
  export type CreateApplicationCommandError = DiscordOpError;
@@ -7173,6 +7228,8 @@ export const createApplicationCommand: API.OperationMethod<
7173
7228
  errors: [UnknownDiscordError],
7174
7229
  protocol: DiscordProtocol,
7175
7230
  retry: Retry.Retry,
7231
+ telemetry: TELEMETRY,
7232
+ span: "CreateApplicationCommand",
7176
7233
  }));
7177
7234
 
7178
7235
  export type CreateApplicationEmojiError = DiscordOpError;
@@ -7187,6 +7244,8 @@ export const createApplicationEmoji: API.OperationMethod<
7187
7244
  errors: [UnknownDiscordError],
7188
7245
  protocol: DiscordProtocol,
7189
7246
  retry: Retry.Retry,
7247
+ telemetry: TELEMETRY,
7248
+ span: "CreateApplicationEmoji",
7190
7249
  }));
7191
7250
 
7192
7251
  export type CreateAutoModerationRuleError = DiscordOpError;
@@ -7201,6 +7260,8 @@ export const createAutoModerationRule: API.OperationMethod<
7201
7260
  errors: [UnknownDiscordError],
7202
7261
  protocol: DiscordProtocol,
7203
7262
  retry: Retry.Retry,
7263
+ telemetry: TELEMETRY,
7264
+ span: "CreateAutoModerationRule",
7204
7265
  }));
7205
7266
 
7206
7267
  export type CreateChannelInviteError = DiscordOpError;
@@ -7215,6 +7276,8 @@ export const createChannelInvite: API.OperationMethod<
7215
7276
  errors: [UnknownDiscordError],
7216
7277
  protocol: DiscordProtocol,
7217
7278
  retry: Retry.Retry,
7279
+ telemetry: TELEMETRY,
7280
+ span: "CreateChannelInvite",
7218
7281
  }));
7219
7282
 
7220
7283
  export type CreateDeprecatedPinError = DiscordOpError;
@@ -7229,6 +7292,8 @@ export const createDeprecatedPin: API.OperationMethod<
7229
7292
  errors: [UnknownDiscordError],
7230
7293
  protocol: DiscordProtocol,
7231
7294
  retry: Retry.Retry,
7295
+ telemetry: TELEMETRY,
7296
+ span: "CreateDeprecatedPin",
7232
7297
  }));
7233
7298
 
7234
7299
  export type CreateDmError = DiscordOpError;
@@ -7243,6 +7308,8 @@ export const createDm: API.OperationMethod<
7243
7308
  errors: [UnknownDiscordError],
7244
7309
  protocol: DiscordProtocol,
7245
7310
  retry: Retry.Retry,
7311
+ telemetry: TELEMETRY,
7312
+ span: "CreateDm",
7246
7313
  }));
7247
7314
 
7248
7315
  export type CreateEntitlementError = DiscordOpError;
@@ -7257,6 +7324,8 @@ export const createEntitlement: API.OperationMethod<
7257
7324
  errors: [UnknownDiscordError],
7258
7325
  protocol: DiscordProtocol,
7259
7326
  retry: Retry.Retry,
7327
+ telemetry: TELEMETRY,
7328
+ span: "CreateEntitlement",
7260
7329
  }));
7261
7330
 
7262
7331
  export type CreateGuildApplicationCommandError = DiscordOpError;
@@ -7271,6 +7340,8 @@ export const createGuildApplicationCommand: API.OperationMethod<
7271
7340
  errors: [UnknownDiscordError],
7272
7341
  protocol: DiscordProtocol,
7273
7342
  retry: Retry.Retry,
7343
+ telemetry: TELEMETRY,
7344
+ span: "CreateGuildApplicationCommand",
7274
7345
  }));
7275
7346
 
7276
7347
  export type CreateGuildChannelError = DiscordOpError;
@@ -7285,6 +7356,8 @@ export const createGuildChannel: API.OperationMethod<
7285
7356
  errors: [UnknownDiscordError],
7286
7357
  protocol: DiscordProtocol,
7287
7358
  retry: Retry.Retry,
7359
+ telemetry: TELEMETRY,
7360
+ span: "CreateGuildChannel",
7288
7361
  }));
7289
7362
 
7290
7363
  export type CreateGuildEmojiError = DiscordOpError;
@@ -7299,6 +7372,8 @@ export const createGuildEmoji: API.OperationMethod<
7299
7372
  errors: [UnknownDiscordError],
7300
7373
  protocol: DiscordProtocol,
7301
7374
  retry: Retry.Retry,
7375
+ telemetry: TELEMETRY,
7376
+ span: "CreateGuildEmoji",
7302
7377
  }));
7303
7378
 
7304
7379
  export type CreateGuildRoleError = DiscordOpError;
@@ -7313,6 +7388,8 @@ export const createGuildRole: API.OperationMethod<
7313
7388
  errors: [UnknownDiscordError],
7314
7389
  protocol: DiscordProtocol,
7315
7390
  retry: Retry.Retry,
7391
+ telemetry: TELEMETRY,
7392
+ span: "CreateGuildRole",
7316
7393
  }));
7317
7394
 
7318
7395
  export type CreateGuildScheduledEventError = DiscordOpError;
@@ -7327,6 +7404,8 @@ export const createGuildScheduledEvent: API.OperationMethod<
7327
7404
  errors: [UnknownDiscordError],
7328
7405
  protocol: DiscordProtocol,
7329
7406
  retry: Retry.Retry,
7407
+ telemetry: TELEMETRY,
7408
+ span: "CreateGuildScheduledEvent",
7330
7409
  }));
7331
7410
 
7332
7411
  export type CreateGuildScheduledEventExceptionError = DiscordOpError;
@@ -7342,6 +7421,8 @@ export const createGuildScheduledEventException: API.OperationMethod<
7342
7421
  errors: [UnknownDiscordError],
7343
7422
  protocol: DiscordProtocol,
7344
7423
  retry: Retry.Retry,
7424
+ telemetry: TELEMETRY,
7425
+ span: "CreateGuildScheduledEventException",
7345
7426
  }));
7346
7427
 
7347
7428
  export type CreateGuildSoundboardSoundError = DiscordOpError;
@@ -7356,6 +7437,8 @@ export const createGuildSoundboardSound: API.OperationMethod<
7356
7437
  errors: [UnknownDiscordError],
7357
7438
  protocol: DiscordProtocol,
7358
7439
  retry: Retry.Retry,
7440
+ telemetry: TELEMETRY,
7441
+ span: "CreateGuildSoundboardSound",
7359
7442
  }));
7360
7443
 
7361
7444
  export type CreateGuildStickerError = DiscordOpError;
@@ -7370,6 +7453,8 @@ export const createGuildSticker: API.OperationMethod<
7370
7453
  errors: [UnknownDiscordError],
7371
7454
  protocol: DiscordProtocol,
7372
7455
  retry: Retry.Retry,
7456
+ telemetry: TELEMETRY,
7457
+ span: "CreateGuildSticker",
7373
7458
  }));
7374
7459
 
7375
7460
  export type CreateGuildTemplateError = DiscordOpError;
@@ -7384,6 +7469,8 @@ export const createGuildTemplate: API.OperationMethod<
7384
7469
  errors: [UnknownDiscordError],
7385
7470
  protocol: DiscordProtocol,
7386
7471
  retry: Retry.Retry,
7472
+ telemetry: TELEMETRY,
7473
+ span: "CreateGuildTemplate",
7387
7474
  }));
7388
7475
 
7389
7476
  export type CreateInteractionResponseError = DiscordOpError;
@@ -7398,6 +7485,8 @@ export const createInteractionResponse: API.OperationMethod<
7398
7485
  errors: [UnknownDiscordError],
7399
7486
  protocol: DiscordProtocol,
7400
7487
  retry: Retry.Retry,
7488
+ telemetry: TELEMETRY,
7489
+ span: "CreateInteractionResponse",
7401
7490
  }));
7402
7491
 
7403
7492
  export type CreateLinkedLobbyGuildInviteForSelfError = DiscordOpError;
@@ -7412,6 +7501,8 @@ export const createLinkedLobbyGuildInviteForSelf: API.OperationMethod<
7412
7501
  errors: [UnknownDiscordError],
7413
7502
  protocol: DiscordProtocol,
7414
7503
  retry: Retry.Retry,
7504
+ telemetry: TELEMETRY,
7505
+ span: "CreateLinkedLobbyGuildInviteForSelf",
7415
7506
  }));
7416
7507
 
7417
7508
  export type CreateLinkedLobbyGuildInviteForUserError = DiscordOpError;
@@ -7426,6 +7517,8 @@ export const createLinkedLobbyGuildInviteForUser: API.OperationMethod<
7426
7517
  errors: [UnknownDiscordError],
7427
7518
  protocol: DiscordProtocol,
7428
7519
  retry: Retry.Retry,
7520
+ telemetry: TELEMETRY,
7521
+ span: "CreateLinkedLobbyGuildInviteForUser",
7429
7522
  }));
7430
7523
 
7431
7524
  export type CreateLobbyError = DiscordOpError;
@@ -7440,6 +7533,8 @@ export const createLobby: API.OperationMethod<
7440
7533
  errors: [UnknownDiscordError],
7441
7534
  protocol: DiscordProtocol,
7442
7535
  retry: Retry.Retry,
7536
+ telemetry: TELEMETRY,
7537
+ span: "CreateLobby",
7443
7538
  }));
7444
7539
 
7445
7540
  export type CreateLobbyMessageError = DiscordOpError;
@@ -7454,6 +7549,8 @@ export const createLobbyMessage: API.OperationMethod<
7454
7549
  errors: [UnknownDiscordError],
7455
7550
  protocol: DiscordProtocol,
7456
7551
  retry: Retry.Retry,
7552
+ telemetry: TELEMETRY,
7553
+ span: "CreateLobbyMessage",
7457
7554
  }));
7458
7555
 
7459
7556
  export type CreateMessageError = DiscordOpError;
@@ -7468,6 +7565,8 @@ export const createMessage: API.OperationMethod<
7468
7565
  errors: [UnknownDiscordError],
7469
7566
  protocol: DiscordProtocol,
7470
7567
  retry: Retry.Retry,
7568
+ telemetry: TELEMETRY,
7569
+ span: "CreateMessage",
7471
7570
  }));
7472
7571
 
7473
7572
  export type CreateOrJoinLobbyError = DiscordOpError;
@@ -7482,6 +7581,8 @@ export const createOrJoinLobby: API.OperationMethod<
7482
7581
  errors: [UnknownDiscordError],
7483
7582
  protocol: DiscordProtocol,
7484
7583
  retry: Retry.Retry,
7584
+ telemetry: TELEMETRY,
7585
+ span: "CreateOrJoinLobby",
7485
7586
  }));
7486
7587
 
7487
7588
  export type CreatePinError = DiscordOpError;
@@ -7496,6 +7597,8 @@ export const createPin: API.OperationMethod<
7496
7597
  errors: [UnknownDiscordError],
7497
7598
  protocol: DiscordProtocol,
7498
7599
  retry: Retry.Retry,
7600
+ telemetry: TELEMETRY,
7601
+ span: "CreatePin",
7499
7602
  }));
7500
7603
 
7501
7604
  export type CreateStageInstanceError = DiscordOpError;
@@ -7510,6 +7613,8 @@ export const createStageInstance: API.OperationMethod<
7510
7613
  errors: [UnknownDiscordError],
7511
7614
  protocol: DiscordProtocol,
7512
7615
  retry: Retry.Retry,
7616
+ telemetry: TELEMETRY,
7617
+ span: "CreateStageInstance",
7513
7618
  }));
7514
7619
 
7515
7620
  export type CreateThreadError = DiscordOpError;
@@ -7524,6 +7629,8 @@ export const createThread: API.OperationMethod<
7524
7629
  errors: [UnknownDiscordError],
7525
7630
  protocol: DiscordProtocol,
7526
7631
  retry: Retry.Retry,
7632
+ telemetry: TELEMETRY,
7633
+ span: "CreateThread",
7527
7634
  }));
7528
7635
 
7529
7636
  export type CreateThreadFromMessageError = DiscordOpError;
@@ -7538,6 +7645,8 @@ export const createThreadFromMessage: API.OperationMethod<
7538
7645
  errors: [UnknownDiscordError],
7539
7646
  protocol: DiscordProtocol,
7540
7647
  retry: Retry.Retry,
7648
+ telemetry: TELEMETRY,
7649
+ span: "CreateThreadFromMessage",
7541
7650
  }));
7542
7651
 
7543
7652
  export type CreateWebhookError = DiscordOpError;
@@ -7552,6 +7661,8 @@ export const createWebhook: API.OperationMethod<
7552
7661
  errors: [UnknownDiscordError],
7553
7662
  protocol: DiscordProtocol,
7554
7663
  retry: Retry.Retry,
7664
+ telemetry: TELEMETRY,
7665
+ span: "CreateWebhook",
7555
7666
  }));
7556
7667
 
7557
7668
  export type CrosspostMessageError = DiscordOpError;
@@ -7566,6 +7677,8 @@ export const crosspostMessage: API.OperationMethod<
7566
7677
  errors: [UnknownDiscordError],
7567
7678
  protocol: DiscordProtocol,
7568
7679
  retry: Retry.Retry,
7680
+ telemetry: TELEMETRY,
7681
+ span: "CrosspostMessage",
7569
7682
  }));
7570
7683
 
7571
7684
  export type DeleteAllMessageReactionsError = DiscordOpError;
@@ -7580,6 +7693,8 @@ export const deleteAllMessageReactions: API.OperationMethod<
7580
7693
  errors: [UnknownDiscordError],
7581
7694
  protocol: DiscordProtocol,
7582
7695
  retry: Retry.Retry,
7696
+ telemetry: TELEMETRY,
7697
+ span: "DeleteAllMessageReactions",
7583
7698
  }));
7584
7699
 
7585
7700
  export type DeleteAllMessageReactionsByEmojiError = DiscordOpError;
@@ -7594,6 +7709,8 @@ export const deleteAllMessageReactionsByEmoji: API.OperationMethod<
7594
7709
  errors: [UnknownDiscordError],
7595
7710
  protocol: DiscordProtocol,
7596
7711
  retry: Retry.Retry,
7712
+ telemetry: TELEMETRY,
7713
+ span: "DeleteAllMessageReactionsByEmoji",
7597
7714
  }));
7598
7715
 
7599
7716
  export type DeleteApplicationCommandError = DiscordOpError;
@@ -7608,6 +7725,8 @@ export const deleteApplicationCommand: API.OperationMethod<
7608
7725
  errors: [UnknownDiscordError],
7609
7726
  protocol: DiscordProtocol,
7610
7727
  retry: Retry.Retry,
7728
+ telemetry: TELEMETRY,
7729
+ span: "DeleteApplicationCommand",
7611
7730
  }));
7612
7731
 
7613
7732
  export type DeleteApplicationEmojiError = DiscordOpError;
@@ -7622,6 +7741,8 @@ export const deleteApplicationEmoji: API.OperationMethod<
7622
7741
  errors: [UnknownDiscordError],
7623
7742
  protocol: DiscordProtocol,
7624
7743
  retry: Retry.Retry,
7744
+ telemetry: TELEMETRY,
7745
+ span: "DeleteApplicationEmoji",
7625
7746
  }));
7626
7747
 
7627
7748
  export type DeleteApplicationUserRoleConnectionError = DiscordOpError;
@@ -7636,6 +7757,8 @@ export const deleteApplicationUserRoleConnection: API.OperationMethod<
7636
7757
  errors: [UnknownDiscordError],
7637
7758
  protocol: DiscordProtocol,
7638
7759
  retry: Retry.Retry,
7760
+ telemetry: TELEMETRY,
7761
+ span: "DeleteApplicationUserRoleConnection",
7639
7762
  }));
7640
7763
 
7641
7764
  export type DeleteAutoModerationRuleError = DiscordOpError;
@@ -7650,6 +7773,8 @@ export const deleteAutoModerationRule: API.OperationMethod<
7650
7773
  errors: [UnknownDiscordError],
7651
7774
  protocol: DiscordProtocol,
7652
7775
  retry: Retry.Retry,
7776
+ telemetry: TELEMETRY,
7777
+ span: "DeleteAutoModerationRule",
7653
7778
  }));
7654
7779
 
7655
7780
  export type DeleteChannelError = DiscordOpError;
@@ -7664,6 +7789,8 @@ export const deleteChannel: API.OperationMethod<
7664
7789
  errors: [UnknownDiscordError],
7665
7790
  protocol: DiscordProtocol,
7666
7791
  retry: Retry.Retry,
7792
+ telemetry: TELEMETRY,
7793
+ span: "DeleteChannel",
7667
7794
  }));
7668
7795
 
7669
7796
  export type DeleteChannelPermissionOverwriteError = DiscordOpError;
@@ -7678,6 +7805,8 @@ export const deleteChannelPermissionOverwrite: API.OperationMethod<
7678
7805
  errors: [UnknownDiscordError],
7679
7806
  protocol: DiscordProtocol,
7680
7807
  retry: Retry.Retry,
7808
+ telemetry: TELEMETRY,
7809
+ span: "DeleteChannelPermissionOverwrite",
7681
7810
  }));
7682
7811
 
7683
7812
  export type DeleteDeprecatedPinError = DiscordOpError;
@@ -7692,6 +7821,8 @@ export const deleteDeprecatedPin: API.OperationMethod<
7692
7821
  errors: [UnknownDiscordError],
7693
7822
  protocol: DiscordProtocol,
7694
7823
  retry: Retry.Retry,
7824
+ telemetry: TELEMETRY,
7825
+ span: "DeleteDeprecatedPin",
7695
7826
  }));
7696
7827
 
7697
7828
  export type DeleteEntitlementError = DiscordOpError;
@@ -7706,6 +7837,8 @@ export const deleteEntitlement: API.OperationMethod<
7706
7837
  errors: [UnknownDiscordError],
7707
7838
  protocol: DiscordProtocol,
7708
7839
  retry: Retry.Retry,
7840
+ telemetry: TELEMETRY,
7841
+ span: "DeleteEntitlement",
7709
7842
  }));
7710
7843
 
7711
7844
  export type DeleteGroupDmUserError = DiscordOpError;
@@ -7720,6 +7853,8 @@ export const deleteGroupDmUser: API.OperationMethod<
7720
7853
  errors: [UnknownDiscordError],
7721
7854
  protocol: DiscordProtocol,
7722
7855
  retry: Retry.Retry,
7856
+ telemetry: TELEMETRY,
7857
+ span: "DeleteGroupDmUser",
7723
7858
  }));
7724
7859
 
7725
7860
  export type DeleteGuildApplicationCommandError = DiscordOpError;
@@ -7734,6 +7869,8 @@ export const deleteGuildApplicationCommand: API.OperationMethod<
7734
7869
  errors: [UnknownDiscordError],
7735
7870
  protocol: DiscordProtocol,
7736
7871
  retry: Retry.Retry,
7872
+ telemetry: TELEMETRY,
7873
+ span: "DeleteGuildApplicationCommand",
7737
7874
  }));
7738
7875
 
7739
7876
  export type DeleteGuildEmojiError = DiscordOpError;
@@ -7748,6 +7885,8 @@ export const deleteGuildEmoji: API.OperationMethod<
7748
7885
  errors: [UnknownDiscordError],
7749
7886
  protocol: DiscordProtocol,
7750
7887
  retry: Retry.Retry,
7888
+ telemetry: TELEMETRY,
7889
+ span: "DeleteGuildEmoji",
7751
7890
  }));
7752
7891
 
7753
7892
  export type DeleteGuildIntegrationError = DiscordOpError;
@@ -7762,6 +7901,8 @@ export const deleteGuildIntegration: API.OperationMethod<
7762
7901
  errors: [UnknownDiscordError],
7763
7902
  protocol: DiscordProtocol,
7764
7903
  retry: Retry.Retry,
7904
+ telemetry: TELEMETRY,
7905
+ span: "DeleteGuildIntegration",
7765
7906
  }));
7766
7907
 
7767
7908
  export type DeleteGuildMemberError = DiscordOpError;
@@ -7776,6 +7917,8 @@ export const deleteGuildMember: API.OperationMethod<
7776
7917
  errors: [UnknownDiscordError],
7777
7918
  protocol: DiscordProtocol,
7778
7919
  retry: Retry.Retry,
7920
+ telemetry: TELEMETRY,
7921
+ span: "DeleteGuildMember",
7779
7922
  }));
7780
7923
 
7781
7924
  export type DeleteGuildMemberRoleError = DiscordOpError;
@@ -7790,6 +7933,8 @@ export const deleteGuildMemberRole: API.OperationMethod<
7790
7933
  errors: [UnknownDiscordError],
7791
7934
  protocol: DiscordProtocol,
7792
7935
  retry: Retry.Retry,
7936
+ telemetry: TELEMETRY,
7937
+ span: "DeleteGuildMemberRole",
7793
7938
  }));
7794
7939
 
7795
7940
  export type DeleteGuildRoleError = DiscordOpError;
@@ -7804,6 +7949,8 @@ export const deleteGuildRole: API.OperationMethod<
7804
7949
  errors: [UnknownDiscordError],
7805
7950
  protocol: DiscordProtocol,
7806
7951
  retry: Retry.Retry,
7952
+ telemetry: TELEMETRY,
7953
+ span: "DeleteGuildRole",
7807
7954
  }));
7808
7955
 
7809
7956
  export type DeleteGuildScheduledEventError = DiscordOpError;
@@ -7818,6 +7965,8 @@ export const deleteGuildScheduledEvent: API.OperationMethod<
7818
7965
  errors: [UnknownDiscordError],
7819
7966
  protocol: DiscordProtocol,
7820
7967
  retry: Retry.Retry,
7968
+ telemetry: TELEMETRY,
7969
+ span: "DeleteGuildScheduledEvent",
7821
7970
  }));
7822
7971
 
7823
7972
  export type DeleteGuildScheduledEventExceptionError = DiscordOpError;
@@ -7833,6 +7982,8 @@ export const deleteGuildScheduledEventException: API.OperationMethod<
7833
7982
  errors: [UnknownDiscordError],
7834
7983
  protocol: DiscordProtocol,
7835
7984
  retry: Retry.Retry,
7985
+ telemetry: TELEMETRY,
7986
+ span: "DeleteGuildScheduledEventException",
7836
7987
  }));
7837
7988
 
7838
7989
  export type DeleteGuildSoundboardSoundError = DiscordOpError;
@@ -7847,6 +7998,8 @@ export const deleteGuildSoundboardSound: API.OperationMethod<
7847
7998
  errors: [UnknownDiscordError],
7848
7999
  protocol: DiscordProtocol,
7849
8000
  retry: Retry.Retry,
8001
+ telemetry: TELEMETRY,
8002
+ span: "DeleteGuildSoundboardSound",
7850
8003
  }));
7851
8004
 
7852
8005
  export type DeleteGuildStickerError = DiscordOpError;
@@ -7861,6 +8014,8 @@ export const deleteGuildSticker: API.OperationMethod<
7861
8014
  errors: [UnknownDiscordError],
7862
8015
  protocol: DiscordProtocol,
7863
8016
  retry: Retry.Retry,
8017
+ telemetry: TELEMETRY,
8018
+ span: "DeleteGuildSticker",
7864
8019
  }));
7865
8020
 
7866
8021
  export type DeleteGuildTemplateError = DiscordOpError;
@@ -7875,6 +8030,8 @@ export const deleteGuildTemplate: API.OperationMethod<
7875
8030
  errors: [UnknownDiscordError],
7876
8031
  protocol: DiscordProtocol,
7877
8032
  retry: Retry.Retry,
8033
+ telemetry: TELEMETRY,
8034
+ span: "DeleteGuildTemplate",
7878
8035
  }));
7879
8036
 
7880
8037
  export type DeleteLobbyError = DiscordOpError;
@@ -7890,6 +8047,8 @@ export const deleteLobby: API.OperationMethod<
7890
8047
  errors: [UnknownDiscordError],
7891
8048
  protocol: DiscordProtocol,
7892
8049
  retry: Retry.Retry,
8050
+ telemetry: TELEMETRY,
8051
+ span: "DeleteLobby",
7893
8052
  }));
7894
8053
 
7895
8054
  export type DeleteLobbyMemberError = DiscordOpError;
@@ -7904,6 +8063,8 @@ export const deleteLobbyMember: API.OperationMethod<
7904
8063
  errors: [UnknownDiscordError],
7905
8064
  protocol: DiscordProtocol,
7906
8065
  retry: Retry.Retry,
8066
+ telemetry: TELEMETRY,
8067
+ span: "DeleteLobbyMember",
7907
8068
  }));
7908
8069
 
7909
8070
  export type DeleteMessageError = DiscordOpError;
@@ -7918,6 +8079,8 @@ export const deleteMessage: API.OperationMethod<
7918
8079
  errors: [UnknownDiscordError],
7919
8080
  protocol: DiscordProtocol,
7920
8081
  retry: Retry.Retry,
8082
+ telemetry: TELEMETRY,
8083
+ span: "DeleteMessage",
7921
8084
  }));
7922
8085
 
7923
8086
  export type DeleteMyMessageReactionError = DiscordOpError;
@@ -7932,6 +8095,8 @@ export const deleteMyMessageReaction: API.OperationMethod<
7932
8095
  errors: [UnknownDiscordError],
7933
8096
  protocol: DiscordProtocol,
7934
8097
  retry: Retry.Retry,
8098
+ telemetry: TELEMETRY,
8099
+ span: "DeleteMyMessageReaction",
7935
8100
  }));
7936
8101
 
7937
8102
  export type DeleteOriginalWebhookMessageError = DiscordOpError;
@@ -7946,6 +8111,8 @@ export const deleteOriginalWebhookMessage: API.OperationMethod<
7946
8111
  errors: [UnknownDiscordError],
7947
8112
  protocol: DiscordProtocol,
7948
8113
  retry: Retry.Retry,
8114
+ telemetry: TELEMETRY,
8115
+ span: "DeleteOriginalWebhookMessage",
7949
8116
  }));
7950
8117
 
7951
8118
  export type DeletePinError = DiscordOpError;
@@ -7960,6 +8127,8 @@ export const deletePin: API.OperationMethod<
7960
8127
  errors: [UnknownDiscordError],
7961
8128
  protocol: DiscordProtocol,
7962
8129
  retry: Retry.Retry,
8130
+ telemetry: TELEMETRY,
8131
+ span: "DeletePin",
7963
8132
  }));
7964
8133
 
7965
8134
  export type DeleteStageInstanceError = DiscordOpError;
@@ -7974,6 +8143,8 @@ export const deleteStageInstance: API.OperationMethod<
7974
8143
  errors: [UnknownDiscordError],
7975
8144
  protocol: DiscordProtocol,
7976
8145
  retry: Retry.Retry,
8146
+ telemetry: TELEMETRY,
8147
+ span: "DeleteStageInstance",
7977
8148
  }));
7978
8149
 
7979
8150
  export type DeleteThreadMemberError = DiscordOpError;
@@ -7988,6 +8159,8 @@ export const deleteThreadMember: API.OperationMethod<
7988
8159
  errors: [UnknownDiscordError],
7989
8160
  protocol: DiscordProtocol,
7990
8161
  retry: Retry.Retry,
8162
+ telemetry: TELEMETRY,
8163
+ span: "DeleteThreadMember",
7991
8164
  }));
7992
8165
 
7993
8166
  export type DeleteUserMessageReactionError = DiscordOpError;
@@ -8002,6 +8175,8 @@ export const deleteUserMessageReaction: API.OperationMethod<
8002
8175
  errors: [UnknownDiscordError],
8003
8176
  protocol: DiscordProtocol,
8004
8177
  retry: Retry.Retry,
8178
+ telemetry: TELEMETRY,
8179
+ span: "DeleteUserMessageReaction",
8005
8180
  }));
8006
8181
 
8007
8182
  export type DeleteWebhookError = DiscordOpError;
@@ -8016,6 +8191,8 @@ export const deleteWebhook: API.OperationMethod<
8016
8191
  errors: [UnknownDiscordError],
8017
8192
  protocol: DiscordProtocol,
8018
8193
  retry: Retry.Retry,
8194
+ telemetry: TELEMETRY,
8195
+ span: "DeleteWebhook",
8019
8196
  }));
8020
8197
 
8021
8198
  export type DeleteWebhookByTokenError = DiscordOpError;
@@ -8030,6 +8207,8 @@ export const deleteWebhookByToken: API.OperationMethod<
8030
8207
  errors: [UnknownDiscordError],
8031
8208
  protocol: DiscordProtocol,
8032
8209
  retry: Retry.Retry,
8210
+ telemetry: TELEMETRY,
8211
+ span: "DeleteWebhookByToken",
8033
8212
  }));
8034
8213
 
8035
8214
  export type DeleteWebhookMessageError = DiscordOpError;
@@ -8044,6 +8223,8 @@ export const deleteWebhookMessage: API.OperationMethod<
8044
8223
  errors: [UnknownDiscordError],
8045
8224
  protocol: DiscordProtocol,
8046
8225
  retry: Retry.Retry,
8226
+ telemetry: TELEMETRY,
8227
+ span: "DeleteWebhookMessage",
8047
8228
  }));
8048
8229
 
8049
8230
  export type EditLobbyError = DiscordOpError;
@@ -8058,6 +8239,8 @@ export const editLobby: API.OperationMethod<
8058
8239
  errors: [UnknownDiscordError],
8059
8240
  protocol: DiscordProtocol,
8060
8241
  retry: Retry.Retry,
8242
+ telemetry: TELEMETRY,
8243
+ span: "EditLobby",
8061
8244
  }));
8062
8245
 
8063
8246
  export type EditLobbyChannelLinkError = DiscordOpError;
@@ -8072,6 +8255,8 @@ export const editLobbyChannelLink: API.OperationMethod<
8072
8255
  errors: [UnknownDiscordError],
8073
8256
  protocol: DiscordProtocol,
8074
8257
  retry: Retry.Retry,
8258
+ telemetry: TELEMETRY,
8259
+ span: "EditLobbyChannelLink",
8075
8260
  }));
8076
8261
 
8077
8262
  export type ExecuteGithubCompatibleWebhookError = DiscordOpError;
@@ -8086,6 +8271,8 @@ export const executeGithubCompatibleWebhook: API.OperationMethod<
8086
8271
  errors: [UnknownDiscordError],
8087
8272
  protocol: DiscordProtocol,
8088
8273
  retry: Retry.Retry,
8274
+ telemetry: TELEMETRY,
8275
+ span: "ExecuteGithubCompatibleWebhook",
8089
8276
  }));
8090
8277
 
8091
8278
  export type ExecuteSlackCompatibleWebhookError = DiscordOpError;
@@ -8100,6 +8287,8 @@ export const executeSlackCompatibleWebhook: API.OperationMethod<
8100
8287
  errors: [UnknownDiscordError],
8101
8288
  protocol: DiscordProtocol,
8102
8289
  retry: Retry.Retry,
8290
+ telemetry: TELEMETRY,
8291
+ span: "ExecuteSlackCompatibleWebhook",
8103
8292
  }));
8104
8293
 
8105
8294
  export type ExecuteWebhookError = DiscordOpError;
@@ -8114,6 +8303,8 @@ export const executeWebhook: API.OperationMethod<
8114
8303
  errors: [UnknownDiscordError],
8115
8304
  protocol: DiscordProtocol,
8116
8305
  retry: Retry.Retry,
8306
+ telemetry: TELEMETRY,
8307
+ span: "ExecuteWebhook",
8117
8308
  }));
8118
8309
 
8119
8310
  export type FollowChannelError = DiscordOpError;
@@ -8128,6 +8319,8 @@ export const followChannel: API.OperationMethod<
8128
8319
  errors: [UnknownDiscordError],
8129
8320
  protocol: DiscordProtocol,
8130
8321
  retry: Retry.Retry,
8322
+ telemetry: TELEMETRY,
8323
+ span: "FollowChannel",
8131
8324
  }));
8132
8325
 
8133
8326
  export type GetActiveGuildThreadsError = DiscordOpError;
@@ -8142,6 +8335,8 @@ export const getActiveGuildThreads: API.OperationMethod<
8142
8335
  errors: [UnknownDiscordError],
8143
8336
  protocol: DiscordProtocol,
8144
8337
  retry: Retry.Retry,
8338
+ telemetry: TELEMETRY,
8339
+ span: "GetActiveGuildThreads",
8145
8340
  }));
8146
8341
 
8147
8342
  export type GetAnswerVotersError = DiscordOpError;
@@ -8156,6 +8351,8 @@ export const getAnswerVoters: API.OperationMethod<
8156
8351
  errors: [UnknownDiscordError],
8157
8352
  protocol: DiscordProtocol,
8158
8353
  retry: Retry.Retry,
8354
+ telemetry: TELEMETRY,
8355
+ span: "GetAnswerVoters",
8159
8356
  }));
8160
8357
 
8161
8358
  export type GetApplicationError = DiscordOpError;
@@ -8170,6 +8367,8 @@ export const getApplication: API.OperationMethod<
8170
8367
  errors: [UnknownDiscordError],
8171
8368
  protocol: DiscordProtocol,
8172
8369
  retry: Retry.Retry,
8370
+ telemetry: TELEMETRY,
8371
+ span: "GetApplication",
8173
8372
  }));
8174
8373
 
8175
8374
  export type GetApplicationActivityInstanceError = DiscordOpError;
@@ -8184,6 +8383,8 @@ export const getApplicationActivityInstance: API.OperationMethod<
8184
8383
  errors: [UnknownDiscordError],
8185
8384
  protocol: DiscordProtocol,
8186
8385
  retry: Retry.Retry,
8386
+ telemetry: TELEMETRY,
8387
+ span: "GetApplicationActivityInstance",
8187
8388
  }));
8188
8389
 
8189
8390
  export type GetApplicationCommandError = DiscordOpError;
@@ -8198,6 +8399,8 @@ export const getApplicationCommand: API.OperationMethod<
8198
8399
  errors: [UnknownDiscordError],
8199
8400
  protocol: DiscordProtocol,
8200
8401
  retry: Retry.Retry,
8402
+ telemetry: TELEMETRY,
8403
+ span: "GetApplicationCommand",
8201
8404
  }));
8202
8405
 
8203
8406
  export type GetApplicationEmojiError = DiscordOpError;
@@ -8212,6 +8415,8 @@ export const getApplicationEmoji: API.OperationMethod<
8212
8415
  errors: [UnknownDiscordError],
8213
8416
  protocol: DiscordProtocol,
8214
8417
  retry: Retry.Retry,
8418
+ telemetry: TELEMETRY,
8419
+ span: "GetApplicationEmoji",
8215
8420
  }));
8216
8421
 
8217
8422
  export type GetApplicationRoleConnectionsMetadataError = DiscordOpError;
@@ -8226,6 +8431,8 @@ export const getApplicationRoleConnectionsMetadata: API.OperationMethod<
8226
8431
  errors: [UnknownDiscordError],
8227
8432
  protocol: DiscordProtocol,
8228
8433
  retry: Retry.Retry,
8434
+ telemetry: TELEMETRY,
8435
+ span: "GetApplicationRoleConnectionsMetadata",
8229
8436
  }));
8230
8437
 
8231
8438
  export type GetApplicationUserRoleConnectionError = DiscordOpError;
@@ -8240,6 +8447,8 @@ export const getApplicationUserRoleConnection: API.OperationMethod<
8240
8447
  errors: [UnknownDiscordError],
8241
8448
  protocol: DiscordProtocol,
8242
8449
  retry: Retry.Retry,
8450
+ telemetry: TELEMETRY,
8451
+ span: "GetApplicationUserRoleConnection",
8243
8452
  }));
8244
8453
 
8245
8454
  export type GetAutoModerationRuleError = DiscordOpError;
@@ -8254,6 +8463,8 @@ export const getAutoModerationRule: API.OperationMethod<
8254
8463
  errors: [UnknownDiscordError],
8255
8464
  protocol: DiscordProtocol,
8256
8465
  retry: Retry.Retry,
8466
+ telemetry: TELEMETRY,
8467
+ span: "GetAutoModerationRule",
8257
8468
  }));
8258
8469
 
8259
8470
  export type GetBotGatewayError = DiscordOpError;
@@ -8268,6 +8479,8 @@ export const getBotGateway: API.OperationMethod<
8268
8479
  errors: [UnknownDiscordError],
8269
8480
  protocol: DiscordProtocol,
8270
8481
  retry: Retry.Retry,
8482
+ telemetry: TELEMETRY,
8483
+ span: "GetBotGateway",
8271
8484
  }));
8272
8485
 
8273
8486
  export type GetChannelError = NotFound | DiscordOpError;
@@ -8282,6 +8495,8 @@ export const getChannel: API.OperationMethod<
8282
8495
  errors: [NotFound, UnknownDiscordError],
8283
8496
  protocol: DiscordProtocol,
8284
8497
  retry: Retry.Retry,
8498
+ telemetry: TELEMETRY,
8499
+ span: "GetChannel",
8285
8500
  }));
8286
8501
 
8287
8502
  export type GetCurrentUserApplicationEntitlementsError = DiscordOpError;
@@ -8296,6 +8511,8 @@ export const getCurrentUserApplicationEntitlements: API.OperationMethod<
8296
8511
  errors: [UnknownDiscordError],
8297
8512
  protocol: DiscordProtocol,
8298
8513
  retry: Retry.Retry,
8514
+ telemetry: TELEMETRY,
8515
+ span: "GetCurrentUserApplicationEntitlements",
8299
8516
  }));
8300
8517
 
8301
8518
  export type GetEntitlementError = DiscordOpError;
@@ -8310,6 +8527,8 @@ export const getEntitlement: API.OperationMethod<
8310
8527
  errors: [UnknownDiscordError],
8311
8528
  protocol: DiscordProtocol,
8312
8529
  retry: Retry.Retry,
8530
+ telemetry: TELEMETRY,
8531
+ span: "GetEntitlement",
8313
8532
  }));
8314
8533
 
8315
8534
  export type GetEntitlementsError = DiscordOpError;
@@ -8324,6 +8543,8 @@ export const getEntitlements: API.OperationMethod<
8324
8543
  errors: [UnknownDiscordError],
8325
8544
  protocol: DiscordProtocol,
8326
8545
  retry: Retry.Retry,
8546
+ telemetry: TELEMETRY,
8547
+ span: "GetEntitlements",
8327
8548
  }));
8328
8549
 
8329
8550
  export type GetGatewayError = DiscordOpError;
@@ -8338,6 +8559,8 @@ export const getGateway: API.OperationMethod<
8338
8559
  errors: [UnknownDiscordError],
8339
8560
  protocol: DiscordProtocol,
8340
8561
  retry: Retry.Retry,
8562
+ telemetry: TELEMETRY,
8563
+ span: "GetGateway",
8341
8564
  }));
8342
8565
 
8343
8566
  export type GetGuildError = NotFound | DiscordOpError;
@@ -8352,6 +8575,8 @@ export const getGuild: API.OperationMethod<
8352
8575
  errors: [NotFound, UnknownDiscordError],
8353
8576
  protocol: DiscordProtocol,
8354
8577
  retry: Retry.Retry,
8578
+ telemetry: TELEMETRY,
8579
+ span: "GetGuild",
8355
8580
  }));
8356
8581
 
8357
8582
  export type GetGuildApplicationCommandError = DiscordOpError;
@@ -8366,6 +8591,8 @@ export const getGuildApplicationCommand: API.OperationMethod<
8366
8591
  errors: [UnknownDiscordError],
8367
8592
  protocol: DiscordProtocol,
8368
8593
  retry: Retry.Retry,
8594
+ telemetry: TELEMETRY,
8595
+ span: "GetGuildApplicationCommand",
8369
8596
  }));
8370
8597
 
8371
8598
  export type GetGuildApplicationCommandPermissionsError = DiscordOpError;
@@ -8380,6 +8607,8 @@ export const getGuildApplicationCommandPermissions: API.OperationMethod<
8380
8607
  errors: [UnknownDiscordError],
8381
8608
  protocol: DiscordProtocol,
8382
8609
  retry: Retry.Retry,
8610
+ telemetry: TELEMETRY,
8611
+ span: "GetGuildApplicationCommandPermissions",
8383
8612
  }));
8384
8613
 
8385
8614
  export type GetGuildBanError = DiscordOpError;
@@ -8394,6 +8623,8 @@ export const getGuildBan: API.OperationMethod<
8394
8623
  errors: [UnknownDiscordError],
8395
8624
  protocol: DiscordProtocol,
8396
8625
  retry: Retry.Retry,
8626
+ telemetry: TELEMETRY,
8627
+ span: "GetGuildBan",
8397
8628
  }));
8398
8629
 
8399
8630
  export type GetGuildEmojiError = DiscordOpError;
@@ -8408,6 +8639,8 @@ export const getGuildEmoji: API.OperationMethod<
8408
8639
  errors: [UnknownDiscordError],
8409
8640
  protocol: DiscordProtocol,
8410
8641
  retry: Retry.Retry,
8642
+ telemetry: TELEMETRY,
8643
+ span: "GetGuildEmoji",
8411
8644
  }));
8412
8645
 
8413
8646
  export type GetGuildJoinRequestsError = DiscordOpError;
@@ -8423,6 +8656,8 @@ export const getGuildJoinRequests: API.OperationMethod<
8423
8656
  errors: [UnknownDiscordError],
8424
8657
  protocol: DiscordProtocol,
8425
8658
  retry: Retry.Retry,
8659
+ telemetry: TELEMETRY,
8660
+ span: "GetGuildJoinRequests",
8426
8661
  }));
8427
8662
 
8428
8663
  export type GetGuildMemberError = DiscordOpError;
@@ -8437,6 +8672,8 @@ export const getGuildMember: API.OperationMethod<
8437
8672
  errors: [UnknownDiscordError],
8438
8673
  protocol: DiscordProtocol,
8439
8674
  retry: Retry.Retry,
8675
+ telemetry: TELEMETRY,
8676
+ span: "GetGuildMember",
8440
8677
  }));
8441
8678
 
8442
8679
  export type GetGuildNewMemberWelcomeError = DiscordOpError;
@@ -8451,6 +8688,8 @@ export const getGuildNewMemberWelcome: API.OperationMethod<
8451
8688
  errors: [UnknownDiscordError],
8452
8689
  protocol: DiscordProtocol,
8453
8690
  retry: Retry.Retry,
8691
+ telemetry: TELEMETRY,
8692
+ span: "GetGuildNewMemberWelcome",
8454
8693
  }));
8455
8694
 
8456
8695
  export type GetGuildPreviewError = DiscordOpError;
@@ -8465,6 +8704,8 @@ export const getGuildPreview: API.OperationMethod<
8465
8704
  errors: [UnknownDiscordError],
8466
8705
  protocol: DiscordProtocol,
8467
8706
  retry: Retry.Retry,
8707
+ telemetry: TELEMETRY,
8708
+ span: "GetGuildPreview",
8468
8709
  }));
8469
8710
 
8470
8711
  export type GetGuildRoleError = DiscordOpError;
@@ -8479,6 +8720,8 @@ export const getGuildRole: API.OperationMethod<
8479
8720
  errors: [UnknownDiscordError],
8480
8721
  protocol: DiscordProtocol,
8481
8722
  retry: Retry.Retry,
8723
+ telemetry: TELEMETRY,
8724
+ span: "GetGuildRole",
8482
8725
  }));
8483
8726
 
8484
8727
  export type GetGuildScheduledEventError = DiscordOpError;
@@ -8493,6 +8736,8 @@ export const getGuildScheduledEvent: API.OperationMethod<
8493
8736
  errors: [UnknownDiscordError],
8494
8737
  protocol: DiscordProtocol,
8495
8738
  retry: Retry.Retry,
8739
+ telemetry: TELEMETRY,
8740
+ span: "GetGuildScheduledEvent",
8496
8741
  }));
8497
8742
 
8498
8743
  export type GetGuildsOnboardingError = DiscordOpError;
@@ -8507,6 +8752,8 @@ export const getGuildsOnboarding: API.OperationMethod<
8507
8752
  errors: [UnknownDiscordError],
8508
8753
  protocol: DiscordProtocol,
8509
8754
  retry: Retry.Retry,
8755
+ telemetry: TELEMETRY,
8756
+ span: "GetGuildsOnboarding",
8510
8757
  }));
8511
8758
 
8512
8759
  export type GetGuildSoundboardSoundError = DiscordOpError;
@@ -8521,6 +8768,8 @@ export const getGuildSoundboardSound: API.OperationMethod<
8521
8768
  errors: [UnknownDiscordError],
8522
8769
  protocol: DiscordProtocol,
8523
8770
  retry: Retry.Retry,
8771
+ telemetry: TELEMETRY,
8772
+ span: "GetGuildSoundboardSound",
8524
8773
  }));
8525
8774
 
8526
8775
  export type GetGuildStickerError = DiscordOpError;
@@ -8535,6 +8784,8 @@ export const getGuildSticker: API.OperationMethod<
8535
8784
  errors: [UnknownDiscordError],
8536
8785
  protocol: DiscordProtocol,
8537
8786
  retry: Retry.Retry,
8787
+ telemetry: TELEMETRY,
8788
+ span: "GetGuildSticker",
8538
8789
  }));
8539
8790
 
8540
8791
  export type GetGuildTemplateError = DiscordOpError;
@@ -8549,6 +8800,8 @@ export const getGuildTemplate: API.OperationMethod<
8549
8800
  errors: [UnknownDiscordError],
8550
8801
  protocol: DiscordProtocol,
8551
8802
  retry: Retry.Retry,
8803
+ telemetry: TELEMETRY,
8804
+ span: "GetGuildTemplate",
8552
8805
  }));
8553
8806
 
8554
8807
  export type GetGuildVanityUrlError = DiscordOpError;
@@ -8563,6 +8816,8 @@ export const getGuildVanityUrl: API.OperationMethod<
8563
8816
  errors: [UnknownDiscordError],
8564
8817
  protocol: DiscordProtocol,
8565
8818
  retry: Retry.Retry,
8819
+ telemetry: TELEMETRY,
8820
+ span: "GetGuildVanityUrl",
8566
8821
  }));
8567
8822
 
8568
8823
  export type GetGuildWebhooksError = DiscordOpError;
@@ -8577,6 +8832,8 @@ export const getGuildWebhooks: API.OperationMethod<
8577
8832
  errors: [UnknownDiscordError],
8578
8833
  protocol: DiscordProtocol,
8579
8834
  retry: Retry.Retry,
8835
+ telemetry: TELEMETRY,
8836
+ span: "GetGuildWebhooks",
8580
8837
  }));
8581
8838
 
8582
8839
  export type GetGuildWelcomeScreenError = DiscordOpError;
@@ -8591,6 +8848,8 @@ export const getGuildWelcomeScreen: API.OperationMethod<
8591
8848
  errors: [UnknownDiscordError],
8592
8849
  protocol: DiscordProtocol,
8593
8850
  retry: Retry.Retry,
8851
+ telemetry: TELEMETRY,
8852
+ span: "GetGuildWelcomeScreen",
8594
8853
  }));
8595
8854
 
8596
8855
  export type GetGuildWidgetError = DiscordOpError;
@@ -8605,6 +8864,8 @@ export const getGuildWidget: API.OperationMethod<
8605
8864
  errors: [UnknownDiscordError],
8606
8865
  protocol: DiscordProtocol,
8607
8866
  retry: Retry.Retry,
8867
+ telemetry: TELEMETRY,
8868
+ span: "GetGuildWidget",
8608
8869
  }));
8609
8870
 
8610
8871
  export type GetGuildWidgetPngError = DiscordOpError;
@@ -8619,6 +8880,8 @@ export const getGuildWidgetPng: API.OperationMethod<
8619
8880
  errors: [UnknownDiscordError],
8620
8881
  protocol: DiscordProtocol,
8621
8882
  retry: Retry.Retry,
8883
+ telemetry: TELEMETRY,
8884
+ span: "GetGuildWidgetPng",
8622
8885
  }));
8623
8886
 
8624
8887
  export type GetGuildWidgetSettingsError = DiscordOpError;
@@ -8633,6 +8896,8 @@ export const getGuildWidgetSettings: API.OperationMethod<
8633
8896
  errors: [UnknownDiscordError],
8634
8897
  protocol: DiscordProtocol,
8635
8898
  retry: Retry.Retry,
8899
+ telemetry: TELEMETRY,
8900
+ span: "GetGuildWidgetSettings",
8636
8901
  }));
8637
8902
 
8638
8903
  export type GetInviteTargetUsersError = DiscordOpError;
@@ -8648,6 +8913,8 @@ export const getInviteTargetUsers: API.OperationMethod<
8648
8913
  errors: [UnknownDiscordError],
8649
8914
  protocol: DiscordProtocol,
8650
8915
  retry: Retry.Retry,
8916
+ telemetry: TELEMETRY,
8917
+ span: "GetInviteTargetUsers",
8651
8918
  }));
8652
8919
 
8653
8920
  export type GetInviteTargetUsersJobStatusError = DiscordOpError;
@@ -8663,6 +8930,8 @@ export const getInviteTargetUsersJobStatus: API.OperationMethod<
8663
8930
  errors: [UnknownDiscordError],
8664
8931
  protocol: DiscordProtocol,
8665
8932
  retry: Retry.Retry,
8933
+ telemetry: TELEMETRY,
8934
+ span: "GetInviteTargetUsersJobStatus",
8666
8935
  }));
8667
8936
 
8668
8937
  export type GetLobbyError = DiscordOpError;
@@ -8677,6 +8946,8 @@ export const getLobby: API.OperationMethod<
8677
8946
  errors: [UnknownDiscordError],
8678
8947
  protocol: DiscordProtocol,
8679
8948
  retry: Retry.Retry,
8949
+ telemetry: TELEMETRY,
8950
+ span: "GetLobby",
8680
8951
  }));
8681
8952
 
8682
8953
  export type GetLobbyMessagesError = DiscordOpError;
@@ -8691,6 +8962,8 @@ export const getLobbyMessages: API.OperationMethod<
8691
8962
  errors: [UnknownDiscordError],
8692
8963
  protocol: DiscordProtocol,
8693
8964
  retry: Retry.Retry,
8965
+ telemetry: TELEMETRY,
8966
+ span: "GetLobbyMessages",
8694
8967
  }));
8695
8968
 
8696
8969
  export type GetMessageError = DiscordOpError;
@@ -8705,6 +8978,8 @@ export const getMessage: API.OperationMethod<
8705
8978
  errors: [UnknownDiscordError],
8706
8979
  protocol: DiscordProtocol,
8707
8980
  retry: Retry.Retry,
8981
+ telemetry: TELEMETRY,
8982
+ span: "GetMessage",
8708
8983
  }));
8709
8984
 
8710
8985
  export type GetMyApplicationError = DiscordOpError;
@@ -8719,6 +8994,8 @@ export const getMyApplication: API.OperationMethod<
8719
8994
  errors: [UnknownDiscordError],
8720
8995
  protocol: DiscordProtocol,
8721
8996
  retry: Retry.Retry,
8997
+ telemetry: TELEMETRY,
8998
+ span: "GetMyApplication",
8722
8999
  }));
8723
9000
 
8724
9001
  export type GetMyGuildMemberError = DiscordOpError;
@@ -8733,6 +9010,8 @@ export const getMyGuildMember: API.OperationMethod<
8733
9010
  errors: [UnknownDiscordError],
8734
9011
  protocol: DiscordProtocol,
8735
9012
  retry: Retry.Retry,
9013
+ telemetry: TELEMETRY,
9014
+ span: "GetMyGuildMember",
8736
9015
  }));
8737
9016
 
8738
9017
  export type GetMyOauth2ApplicationError = DiscordOpError;
@@ -8747,6 +9026,8 @@ export const getMyOauth2Application: API.OperationMethod<
8747
9026
  errors: [UnknownDiscordError],
8748
9027
  protocol: DiscordProtocol,
8749
9028
  retry: Retry.Retry,
9029
+ telemetry: TELEMETRY,
9030
+ span: "GetMyOauth2Application",
8750
9031
  }));
8751
9032
 
8752
9033
  export type GetMyOauth2AuthorizationError = DiscordOpError;
@@ -8761,6 +9042,8 @@ export const getMyOauth2Authorization: API.OperationMethod<
8761
9042
  errors: [UnknownDiscordError],
8762
9043
  protocol: DiscordProtocol,
8763
9044
  retry: Retry.Retry,
9045
+ telemetry: TELEMETRY,
9046
+ span: "GetMyOauth2Authorization",
8764
9047
  }));
8765
9048
 
8766
9049
  export type GetMyUserError = DiscordOpError;
@@ -8775,6 +9058,8 @@ export const getMyUser: API.OperationMethod<
8775
9058
  errors: [UnknownDiscordError],
8776
9059
  protocol: DiscordProtocol,
8777
9060
  retry: Retry.Retry,
9061
+ telemetry: TELEMETRY,
9062
+ span: "GetMyUser",
8778
9063
  }));
8779
9064
 
8780
9065
  export type GetOpenidConnectUserinfoError = DiscordOpError;
@@ -8789,6 +9074,8 @@ export const getOpenidConnectUserinfo: API.OperationMethod<
8789
9074
  errors: [UnknownDiscordError],
8790
9075
  protocol: DiscordProtocol,
8791
9076
  retry: Retry.Retry,
9077
+ telemetry: TELEMETRY,
9078
+ span: "GetOpenidConnectUserinfo",
8792
9079
  }));
8793
9080
 
8794
9081
  export type GetOriginalWebhookMessageError = DiscordOpError;
@@ -8803,6 +9090,8 @@ export const getOriginalWebhookMessage: API.OperationMethod<
8803
9090
  errors: [UnknownDiscordError],
8804
9091
  protocol: DiscordProtocol,
8805
9092
  retry: Retry.Retry,
9093
+ telemetry: TELEMETRY,
9094
+ span: "GetOriginalWebhookMessage",
8806
9095
  }));
8807
9096
 
8808
9097
  export type GetPublicKeysError = DiscordOpError;
@@ -8817,6 +9106,8 @@ export const getPublicKeys: API.OperationMethod<
8817
9106
  errors: [UnknownDiscordError],
8818
9107
  protocol: DiscordProtocol,
8819
9108
  retry: Retry.Retry,
9109
+ telemetry: TELEMETRY,
9110
+ span: "GetPublicKeys",
8820
9111
  }));
8821
9112
 
8822
9113
  export type GetSelfVoiceStateError = DiscordOpError;
@@ -8831,6 +9122,8 @@ export const getSelfVoiceState: API.OperationMethod<
8831
9122
  errors: [UnknownDiscordError],
8832
9123
  protocol: DiscordProtocol,
8833
9124
  retry: Retry.Retry,
9125
+ telemetry: TELEMETRY,
9126
+ span: "GetSelfVoiceState",
8834
9127
  }));
8835
9128
 
8836
9129
  export type GetSkuSubscriptionError = DiscordOpError;
@@ -8846,6 +9139,8 @@ export const getSkuSubscription: API.OperationMethod<
8846
9139
  errors: [UnknownDiscordError],
8847
9140
  protocol: DiscordProtocol,
8848
9141
  retry: Retry.Retry,
9142
+ telemetry: TELEMETRY,
9143
+ span: "GetSkuSubscription",
8849
9144
  }));
8850
9145
 
8851
9146
  export type GetSkuSubscriptionsError = DiscordOpError;
@@ -8861,6 +9156,8 @@ export const getSkuSubscriptions: API.OperationMethod<
8861
9156
  errors: [UnknownDiscordError],
8862
9157
  protocol: DiscordProtocol,
8863
9158
  retry: Retry.Retry,
9159
+ telemetry: TELEMETRY,
9160
+ span: "GetSkuSubscriptions",
8864
9161
  }));
8865
9162
 
8866
9163
  export type GetSoundboardDefaultSoundsError = DiscordOpError;
@@ -8875,6 +9172,8 @@ export const getSoundboardDefaultSounds: API.OperationMethod<
8875
9172
  errors: [UnknownDiscordError],
8876
9173
  protocol: DiscordProtocol,
8877
9174
  retry: Retry.Retry,
9175
+ telemetry: TELEMETRY,
9176
+ span: "GetSoundboardDefaultSounds",
8878
9177
  }));
8879
9178
 
8880
9179
  export type GetStageInstanceError = DiscordOpError;
@@ -8889,6 +9188,8 @@ export const getStageInstance: API.OperationMethod<
8889
9188
  errors: [UnknownDiscordError],
8890
9189
  protocol: DiscordProtocol,
8891
9190
  retry: Retry.Retry,
9191
+ telemetry: TELEMETRY,
9192
+ span: "GetStageInstance",
8892
9193
  }));
8893
9194
 
8894
9195
  export type GetStickerError = DiscordOpError;
@@ -8903,6 +9204,8 @@ export const getSticker: API.OperationMethod<
8903
9204
  errors: [UnknownDiscordError],
8904
9205
  protocol: DiscordProtocol,
8905
9206
  retry: Retry.Retry,
9207
+ telemetry: TELEMETRY,
9208
+ span: "GetSticker",
8906
9209
  }));
8907
9210
 
8908
9211
  export type GetStickerPackError = DiscordOpError;
@@ -8917,6 +9220,8 @@ export const getStickerPack: API.OperationMethod<
8917
9220
  errors: [UnknownDiscordError],
8918
9221
  protocol: DiscordProtocol,
8919
9222
  retry: Retry.Retry,
9223
+ telemetry: TELEMETRY,
9224
+ span: "GetStickerPack",
8920
9225
  }));
8921
9226
 
8922
9227
  export type GetThreadMemberError = DiscordOpError;
@@ -8931,6 +9236,8 @@ export const getThreadMember: API.OperationMethod<
8931
9236
  errors: [UnknownDiscordError],
8932
9237
  protocol: DiscordProtocol,
8933
9238
  retry: Retry.Retry,
9239
+ telemetry: TELEMETRY,
9240
+ span: "GetThreadMember",
8934
9241
  }));
8935
9242
 
8936
9243
  export type GetUserError = DiscordOpError;
@@ -8945,6 +9252,8 @@ export const getUser: API.OperationMethod<
8945
9252
  errors: [UnknownDiscordError],
8946
9253
  protocol: DiscordProtocol,
8947
9254
  retry: Retry.Retry,
9255
+ telemetry: TELEMETRY,
9256
+ span: "GetUser",
8948
9257
  }));
8949
9258
 
8950
9259
  export type GetVoiceStateError = DiscordOpError;
@@ -8959,6 +9268,8 @@ export const getVoiceState: API.OperationMethod<
8959
9268
  errors: [UnknownDiscordError],
8960
9269
  protocol: DiscordProtocol,
8961
9270
  retry: Retry.Retry,
9271
+ telemetry: TELEMETRY,
9272
+ span: "GetVoiceState",
8962
9273
  }));
8963
9274
 
8964
9275
  export type GetWebhookError = DiscordOpError;
@@ -8973,6 +9284,8 @@ export const getWebhook: API.OperationMethod<
8973
9284
  errors: [UnknownDiscordError],
8974
9285
  protocol: DiscordProtocol,
8975
9286
  retry: Retry.Retry,
9287
+ telemetry: TELEMETRY,
9288
+ span: "GetWebhook",
8976
9289
  }));
8977
9290
 
8978
9291
  export type GetWebhookByTokenError = DiscordOpError;
@@ -8987,6 +9300,8 @@ export const getWebhookByToken: API.OperationMethod<
8987
9300
  errors: [UnknownDiscordError],
8988
9301
  protocol: DiscordProtocol,
8989
9302
  retry: Retry.Retry,
9303
+ telemetry: TELEMETRY,
9304
+ span: "GetWebhookByToken",
8990
9305
  }));
8991
9306
 
8992
9307
  export type GetWebhookMessageError = DiscordOpError;
@@ -9001,6 +9316,8 @@ export const getWebhookMessage: API.OperationMethod<
9001
9316
  errors: [UnknownDiscordError],
9002
9317
  protocol: DiscordProtocol,
9003
9318
  retry: Retry.Retry,
9319
+ telemetry: TELEMETRY,
9320
+ span: "GetWebhookMessage",
9004
9321
  }));
9005
9322
 
9006
9323
  export type GuildRoleMemberCountsError = DiscordOpError;
@@ -9015,6 +9332,8 @@ export const guildRoleMemberCounts: API.OperationMethod<
9015
9332
  errors: [UnknownDiscordError],
9016
9333
  protocol: DiscordProtocol,
9017
9334
  retry: Retry.Retry,
9335
+ telemetry: TELEMETRY,
9336
+ span: "GuildRoleMemberCounts",
9018
9337
  }));
9019
9338
 
9020
9339
  export type InviteResolveError = DiscordOpError;
@@ -9029,6 +9348,8 @@ export const inviteResolve: API.OperationMethod<
9029
9348
  errors: [UnknownDiscordError],
9030
9349
  protocol: DiscordProtocol,
9031
9350
  retry: Retry.Retry,
9351
+ telemetry: TELEMETRY,
9352
+ span: "InviteResolve",
9032
9353
  }));
9033
9354
 
9034
9355
  export type JoinActionGuildRequestError = DiscordOpError;
@@ -9044,6 +9365,8 @@ export const joinActionGuildRequest: API.OperationMethod<
9044
9365
  errors: [UnknownDiscordError],
9045
9366
  protocol: DiscordProtocol,
9046
9367
  retry: Retry.Retry,
9368
+ telemetry: TELEMETRY,
9369
+ span: "JoinActionGuildRequest",
9047
9370
  }));
9048
9371
 
9049
9372
  export type JoinThreadError = DiscordOpError;
@@ -9058,6 +9381,8 @@ export const joinThread: API.OperationMethod<
9058
9381
  errors: [UnknownDiscordError],
9059
9382
  protocol: DiscordProtocol,
9060
9383
  retry: Retry.Retry,
9384
+ telemetry: TELEMETRY,
9385
+ span: "JoinThread",
9061
9386
  }));
9062
9387
 
9063
9388
  export type LeaveGuildError = DiscordOpError;
@@ -9072,6 +9397,8 @@ export const leaveGuild: API.OperationMethod<
9072
9397
  errors: [UnknownDiscordError],
9073
9398
  protocol: DiscordProtocol,
9074
9399
  retry: Retry.Retry,
9400
+ telemetry: TELEMETRY,
9401
+ span: "LeaveGuild",
9075
9402
  }));
9076
9403
 
9077
9404
  export type LeaveLobbyError = DiscordOpError;
@@ -9086,6 +9413,8 @@ export const leaveLobby: API.OperationMethod<
9086
9413
  errors: [UnknownDiscordError],
9087
9414
  protocol: DiscordProtocol,
9088
9415
  retry: Retry.Retry,
9416
+ telemetry: TELEMETRY,
9417
+ span: "LeaveLobby",
9089
9418
  }));
9090
9419
 
9091
9420
  export type LeaveThreadError = DiscordOpError;
@@ -9100,6 +9429,8 @@ export const leaveThread: API.OperationMethod<
9100
9429
  errors: [UnknownDiscordError],
9101
9430
  protocol: DiscordProtocol,
9102
9431
  retry: Retry.Retry,
9432
+ telemetry: TELEMETRY,
9433
+ span: "LeaveThread",
9103
9434
  }));
9104
9435
 
9105
9436
  export type ListApplicationCommandsError = DiscordOpError;
@@ -9114,6 +9445,8 @@ export const listApplicationCommands: API.OperationMethod<
9114
9445
  errors: [UnknownDiscordError],
9115
9446
  protocol: DiscordProtocol,
9116
9447
  retry: Retry.Retry,
9448
+ telemetry: TELEMETRY,
9449
+ span: "ListApplicationCommands",
9117
9450
  }));
9118
9451
 
9119
9452
  export type ListApplicationEmojisError = DiscordOpError;
@@ -9128,6 +9461,8 @@ export const listApplicationEmojis: API.OperationMethod<
9128
9461
  errors: [UnknownDiscordError],
9129
9462
  protocol: DiscordProtocol,
9130
9463
  retry: Retry.Retry,
9464
+ telemetry: TELEMETRY,
9465
+ span: "ListApplicationEmojis",
9131
9466
  }));
9132
9467
 
9133
9468
  export type ListAutoModerationRulesError = DiscordOpError;
@@ -9142,6 +9477,8 @@ export const listAutoModerationRules: API.OperationMethod<
9142
9477
  errors: [UnknownDiscordError],
9143
9478
  protocol: DiscordProtocol,
9144
9479
  retry: Retry.Retry,
9480
+ telemetry: TELEMETRY,
9481
+ span: "ListAutoModerationRules",
9145
9482
  }));
9146
9483
 
9147
9484
  export type ListChannelInvitesError = DiscordOpError;
@@ -9156,6 +9493,8 @@ export const listChannelInvites: API.OperationMethod<
9156
9493
  errors: [UnknownDiscordError],
9157
9494
  protocol: DiscordProtocol,
9158
9495
  retry: Retry.Retry,
9496
+ telemetry: TELEMETRY,
9497
+ span: "ListChannelInvites",
9159
9498
  }));
9160
9499
 
9161
9500
  export type ListChannelWebhooksError = DiscordOpError;
@@ -9170,6 +9509,8 @@ export const listChannelWebhooks: API.OperationMethod<
9170
9509
  errors: [UnknownDiscordError],
9171
9510
  protocol: DiscordProtocol,
9172
9511
  retry: Retry.Retry,
9512
+ telemetry: TELEMETRY,
9513
+ span: "ListChannelWebhooks",
9173
9514
  }));
9174
9515
 
9175
9516
  export type ListDeprecatedPinsError = DiscordOpError;
@@ -9184,6 +9525,8 @@ export const listDeprecatedPins: API.OperationMethod<
9184
9525
  errors: [UnknownDiscordError],
9185
9526
  protocol: DiscordProtocol,
9186
9527
  retry: Retry.Retry,
9528
+ telemetry: TELEMETRY,
9529
+ span: "ListDeprecatedPins",
9187
9530
  }));
9188
9531
 
9189
9532
  export type ListGuildApplicationCommandPermissionsError = DiscordOpError;
@@ -9198,6 +9541,8 @@ export const listGuildApplicationCommandPermissions: API.OperationMethod<
9198
9541
  errors: [UnknownDiscordError],
9199
9542
  protocol: DiscordProtocol,
9200
9543
  retry: Retry.Retry,
9544
+ telemetry: TELEMETRY,
9545
+ span: "ListGuildApplicationCommandPermissions",
9201
9546
  }));
9202
9547
 
9203
9548
  export type ListGuildApplicationCommandsError = DiscordOpError;
@@ -9212,6 +9557,8 @@ export const listGuildApplicationCommands: API.OperationMethod<
9212
9557
  errors: [UnknownDiscordError],
9213
9558
  protocol: DiscordProtocol,
9214
9559
  retry: Retry.Retry,
9560
+ telemetry: TELEMETRY,
9561
+ span: "ListGuildApplicationCommands",
9215
9562
  }));
9216
9563
 
9217
9564
  export type ListGuildAuditLogEntriesError = DiscordOpError;
@@ -9226,6 +9573,8 @@ export const listGuildAuditLogEntries: API.OperationMethod<
9226
9573
  errors: [UnknownDiscordError],
9227
9574
  protocol: DiscordProtocol,
9228
9575
  retry: Retry.Retry,
9576
+ telemetry: TELEMETRY,
9577
+ span: "ListGuildAuditLogEntries",
9229
9578
  }));
9230
9579
 
9231
9580
  export type ListGuildBansError = DiscordOpError;
@@ -9240,6 +9589,8 @@ export const listGuildBans: API.OperationMethod<
9240
9589
  errors: [UnknownDiscordError],
9241
9590
  protocol: DiscordProtocol,
9242
9591
  retry: Retry.Retry,
9592
+ telemetry: TELEMETRY,
9593
+ span: "ListGuildBans",
9243
9594
  }));
9244
9595
 
9245
9596
  export type ListGuildChannelsError = DiscordOpError;
@@ -9254,6 +9605,8 @@ export const listGuildChannels: API.OperationMethod<
9254
9605
  errors: [UnknownDiscordError],
9255
9606
  protocol: DiscordProtocol,
9256
9607
  retry: Retry.Retry,
9608
+ telemetry: TELEMETRY,
9609
+ span: "ListGuildChannels",
9257
9610
  }));
9258
9611
 
9259
9612
  export type ListGuildEmojisError = DiscordOpError;
@@ -9268,6 +9621,8 @@ export const listGuildEmojis: API.OperationMethod<
9268
9621
  errors: [UnknownDiscordError],
9269
9622
  protocol: DiscordProtocol,
9270
9623
  retry: Retry.Retry,
9624
+ telemetry: TELEMETRY,
9625
+ span: "ListGuildEmojis",
9271
9626
  }));
9272
9627
 
9273
9628
  export type ListGuildIntegrationsError = DiscordOpError;
@@ -9282,6 +9637,8 @@ export const listGuildIntegrations: API.OperationMethod<
9282
9637
  errors: [UnknownDiscordError],
9283
9638
  protocol: DiscordProtocol,
9284
9639
  retry: Retry.Retry,
9640
+ telemetry: TELEMETRY,
9641
+ span: "ListGuildIntegrations",
9285
9642
  }));
9286
9643
 
9287
9644
  export type ListGuildInvitesError = DiscordOpError;
@@ -9296,6 +9653,8 @@ export const listGuildInvites: API.OperationMethod<
9296
9653
  errors: [UnknownDiscordError],
9297
9654
  protocol: DiscordProtocol,
9298
9655
  retry: Retry.Retry,
9656
+ telemetry: TELEMETRY,
9657
+ span: "ListGuildInvites",
9299
9658
  }));
9300
9659
 
9301
9660
  export type ListGuildMembersError = DiscordOpError;
@@ -9310,6 +9669,8 @@ export const listGuildMembers: API.OperationMethod<
9310
9669
  errors: [UnknownDiscordError],
9311
9670
  protocol: DiscordProtocol,
9312
9671
  retry: Retry.Retry,
9672
+ telemetry: TELEMETRY,
9673
+ span: "ListGuildMembers",
9313
9674
  }));
9314
9675
 
9315
9676
  export type ListGuildRolesError = DiscordOpError;
@@ -9324,6 +9685,8 @@ export const listGuildRoles: API.OperationMethod<
9324
9685
  errors: [UnknownDiscordError],
9325
9686
  protocol: DiscordProtocol,
9326
9687
  retry: Retry.Retry,
9688
+ telemetry: TELEMETRY,
9689
+ span: "ListGuildRoles",
9327
9690
  }));
9328
9691
 
9329
9692
  export type ListGuildScheduledEventExceptionUsersError = DiscordOpError;
@@ -9339,6 +9702,8 @@ export const listGuildScheduledEventExceptionUsers: API.OperationMethod<
9339
9702
  errors: [UnknownDiscordError],
9340
9703
  protocol: DiscordProtocol,
9341
9704
  retry: Retry.Retry,
9705
+ telemetry: TELEMETRY,
9706
+ span: "ListGuildScheduledEventExceptionUsers",
9342
9707
  }));
9343
9708
 
9344
9709
  export type ListGuildScheduledEventsError = DiscordOpError;
@@ -9353,6 +9718,8 @@ export const listGuildScheduledEvents: API.OperationMethod<
9353
9718
  errors: [UnknownDiscordError],
9354
9719
  protocol: DiscordProtocol,
9355
9720
  retry: Retry.Retry,
9721
+ telemetry: TELEMETRY,
9722
+ span: "ListGuildScheduledEvents",
9356
9723
  }));
9357
9724
 
9358
9725
  export type ListGuildScheduledEventUsersError = DiscordOpError;
@@ -9367,6 +9734,8 @@ export const listGuildScheduledEventUsers: API.OperationMethod<
9367
9734
  errors: [UnknownDiscordError],
9368
9735
  protocol: DiscordProtocol,
9369
9736
  retry: Retry.Retry,
9737
+ telemetry: TELEMETRY,
9738
+ span: "ListGuildScheduledEventUsers",
9370
9739
  }));
9371
9740
 
9372
9741
  export type ListGuildSoundboardSoundsError = DiscordOpError;
@@ -9381,6 +9750,8 @@ export const listGuildSoundboardSounds: API.OperationMethod<
9381
9750
  errors: [UnknownDiscordError],
9382
9751
  protocol: DiscordProtocol,
9383
9752
  retry: Retry.Retry,
9753
+ telemetry: TELEMETRY,
9754
+ span: "ListGuildSoundboardSounds",
9384
9755
  }));
9385
9756
 
9386
9757
  export type ListGuildStickersError = DiscordOpError;
@@ -9395,6 +9766,8 @@ export const listGuildStickers: API.OperationMethod<
9395
9766
  errors: [UnknownDiscordError],
9396
9767
  protocol: DiscordProtocol,
9397
9768
  retry: Retry.Retry,
9769
+ telemetry: TELEMETRY,
9770
+ span: "ListGuildStickers",
9398
9771
  }));
9399
9772
 
9400
9773
  export type ListGuildTemplatesError = DiscordOpError;
@@ -9409,6 +9782,8 @@ export const listGuildTemplates: API.OperationMethod<
9409
9782
  errors: [UnknownDiscordError],
9410
9783
  protocol: DiscordProtocol,
9411
9784
  retry: Retry.Retry,
9785
+ telemetry: TELEMETRY,
9786
+ span: "ListGuildTemplates",
9412
9787
  }));
9413
9788
 
9414
9789
  export type ListGuildVoiceRegionsError = DiscordOpError;
@@ -9423,6 +9798,8 @@ export const listGuildVoiceRegions: API.OperationMethod<
9423
9798
  errors: [UnknownDiscordError],
9424
9799
  protocol: DiscordProtocol,
9425
9800
  retry: Retry.Retry,
9801
+ telemetry: TELEMETRY,
9802
+ span: "ListGuildVoiceRegions",
9426
9803
  }));
9427
9804
 
9428
9805
  export type ListMessageReactionsByEmojiError = DiscordOpError;
@@ -9437,6 +9814,8 @@ export const listMessageReactionsByEmoji: API.OperationMethod<
9437
9814
  errors: [UnknownDiscordError],
9438
9815
  protocol: DiscordProtocol,
9439
9816
  retry: Retry.Retry,
9817
+ telemetry: TELEMETRY,
9818
+ span: "ListMessageReactionsByEmoji",
9440
9819
  }));
9441
9820
 
9442
9821
  export type ListMessagesError = DiscordOpError;
@@ -9451,6 +9830,8 @@ export const listMessages: API.OperationMethod<
9451
9830
  errors: [UnknownDiscordError],
9452
9831
  protocol: DiscordProtocol,
9453
9832
  retry: Retry.Retry,
9833
+ telemetry: TELEMETRY,
9834
+ span: "ListMessages",
9454
9835
  }));
9455
9836
 
9456
9837
  export type ListMyConnectionsError = DiscordOpError;
@@ -9465,6 +9846,8 @@ export const listMyConnections: API.OperationMethod<
9465
9846
  errors: [UnknownDiscordError],
9466
9847
  protocol: DiscordProtocol,
9467
9848
  retry: Retry.Retry,
9849
+ telemetry: TELEMETRY,
9850
+ span: "ListMyConnections",
9468
9851
  }));
9469
9852
 
9470
9853
  export type ListMyGuildsError = DiscordOpError;
@@ -9479,6 +9862,8 @@ export const listMyGuilds: API.OperationMethod<
9479
9862
  errors: [UnknownDiscordError],
9480
9863
  protocol: DiscordProtocol,
9481
9864
  retry: Retry.Retry,
9865
+ telemetry: TELEMETRY,
9866
+ span: "ListMyGuilds",
9482
9867
  }));
9483
9868
 
9484
9869
  export type ListMyPrivateArchivedThreadsError = DiscordOpError;
@@ -9493,6 +9878,8 @@ export const listMyPrivateArchivedThreads: API.OperationMethod<
9493
9878
  errors: [UnknownDiscordError],
9494
9879
  protocol: DiscordProtocol,
9495
9880
  retry: Retry.Retry,
9881
+ telemetry: TELEMETRY,
9882
+ span: "ListMyPrivateArchivedThreads",
9496
9883
  }));
9497
9884
 
9498
9885
  export type ListPinsError = DiscordOpError;
@@ -9507,6 +9894,8 @@ export const listPins: API.OperationMethod<
9507
9894
  errors: [UnknownDiscordError],
9508
9895
  protocol: DiscordProtocol,
9509
9896
  retry: Retry.Retry,
9897
+ telemetry: TELEMETRY,
9898
+ span: "ListPins",
9510
9899
  }));
9511
9900
 
9512
9901
  export type ListPrivateArchivedThreadsError = DiscordOpError;
@@ -9521,6 +9910,8 @@ export const listPrivateArchivedThreads: API.OperationMethod<
9521
9910
  errors: [UnknownDiscordError],
9522
9911
  protocol: DiscordProtocol,
9523
9912
  retry: Retry.Retry,
9913
+ telemetry: TELEMETRY,
9914
+ span: "ListPrivateArchivedThreads",
9524
9915
  }));
9525
9916
 
9526
9917
  export type ListPublicArchivedThreadsError = DiscordOpError;
@@ -9535,6 +9926,8 @@ export const listPublicArchivedThreads: API.OperationMethod<
9535
9926
  errors: [UnknownDiscordError],
9536
9927
  protocol: DiscordProtocol,
9537
9928
  retry: Retry.Retry,
9929
+ telemetry: TELEMETRY,
9930
+ span: "ListPublicArchivedThreads",
9538
9931
  }));
9539
9932
 
9540
9933
  export type ListStickerPacksError = DiscordOpError;
@@ -9549,6 +9942,8 @@ export const listStickerPacks: API.OperationMethod<
9549
9942
  errors: [UnknownDiscordError],
9550
9943
  protocol: DiscordProtocol,
9551
9944
  retry: Retry.Retry,
9945
+ telemetry: TELEMETRY,
9946
+ span: "ListStickerPacks",
9552
9947
  }));
9553
9948
 
9554
9949
  export type ListThreadMembersError = DiscordOpError;
@@ -9563,6 +9958,8 @@ export const listThreadMembers: API.OperationMethod<
9563
9958
  errors: [UnknownDiscordError],
9564
9959
  protocol: DiscordProtocol,
9565
9960
  retry: Retry.Retry,
9961
+ telemetry: TELEMETRY,
9962
+ span: "ListThreadMembers",
9566
9963
  }));
9567
9964
 
9568
9965
  export type ListVoiceRegionsError = DiscordOpError;
@@ -9577,6 +9974,8 @@ export const listVoiceRegions: API.OperationMethod<
9577
9974
  errors: [UnknownDiscordError],
9578
9975
  protocol: DiscordProtocol,
9579
9976
  retry: Retry.Retry,
9977
+ telemetry: TELEMETRY,
9978
+ span: "ListVoiceRegions",
9580
9979
  }));
9581
9980
 
9582
9981
  export type PartnerSdkTokenError = DiscordOpError;
@@ -9591,6 +9990,8 @@ export const partnerSdkToken: API.OperationMethod<
9591
9990
  errors: [UnknownDiscordError],
9592
9991
  protocol: DiscordProtocol,
9593
9992
  retry: Retry.Retry,
9993
+ telemetry: TELEMETRY,
9994
+ span: "PartnerSdkToken",
9594
9995
  }));
9595
9996
 
9596
9997
  export type PartnerSdkUnmergeProvisionalAccountError = DiscordOpError;
@@ -9605,6 +10006,8 @@ export const partnerSdkUnmergeProvisionalAccount: API.OperationMethod<
9605
10006
  errors: [UnknownDiscordError],
9606
10007
  protocol: DiscordProtocol,
9607
10008
  retry: Retry.Retry,
10009
+ telemetry: TELEMETRY,
10010
+ span: "PartnerSdkUnmergeProvisionalAccount",
9608
10011
  }));
9609
10012
 
9610
10013
  export type PollExpireError = DiscordOpError;
@@ -9619,6 +10022,8 @@ export const pollExpire: API.OperationMethod<
9619
10022
  errors: [UnknownDiscordError],
9620
10023
  protocol: DiscordProtocol,
9621
10024
  retry: Retry.Retry,
10025
+ telemetry: TELEMETRY,
10026
+ span: "PollExpire",
9622
10027
  }));
9623
10028
 
9624
10029
  export type PreviewPruneGuildError = DiscordOpError;
@@ -9633,6 +10038,8 @@ export const previewPruneGuild: API.OperationMethod<
9633
10038
  errors: [UnknownDiscordError],
9634
10039
  protocol: DiscordProtocol,
9635
10040
  retry: Retry.Retry,
10041
+ telemetry: TELEMETRY,
10042
+ span: "PreviewPruneGuild",
9636
10043
  }));
9637
10044
 
9638
10045
  export type PruneGuildError = DiscordOpError;
@@ -9647,6 +10054,8 @@ export const pruneGuild: API.OperationMethod<
9647
10054
  errors: [UnknownDiscordError],
9648
10055
  protocol: DiscordProtocol,
9649
10056
  retry: Retry.Retry,
10057
+ telemetry: TELEMETRY,
10058
+ span: "PruneGuild",
9650
10059
  }));
9651
10060
 
9652
10061
  export type PutGuildsOnboardingError = DiscordOpError;
@@ -9661,6 +10070,8 @@ export const putGuildsOnboarding: API.OperationMethod<
9661
10070
  errors: [UnknownDiscordError],
9662
10071
  protocol: DiscordProtocol,
9663
10072
  retry: Retry.Retry,
10073
+ telemetry: TELEMETRY,
10074
+ span: "PutGuildsOnboarding",
9664
10075
  }));
9665
10076
 
9666
10077
  export type RemoveInviteTargetUserError = DiscordOpError;
@@ -9676,6 +10087,8 @@ export const removeInviteTargetUser: API.OperationMethod<
9676
10087
  errors: [UnknownDiscordError],
9677
10088
  protocol: DiscordProtocol,
9678
10089
  retry: Retry.Retry,
10090
+ telemetry: TELEMETRY,
10091
+ span: "RemoveInviteTargetUser",
9679
10092
  }));
9680
10093
 
9681
10094
  export type RevokeInviteError = DiscordOpError;
@@ -9690,6 +10103,8 @@ export const revokeInvite: API.OperationMethod<
9690
10103
  errors: [UnknownDiscordError],
9691
10104
  protocol: DiscordProtocol,
9692
10105
  retry: Retry.Retry,
10106
+ telemetry: TELEMETRY,
10107
+ span: "RevokeInvite",
9693
10108
  }));
9694
10109
 
9695
10110
  export type SearchGuildError = DiscordOpError;
@@ -9704,6 +10119,8 @@ export const searchGuild: API.OperationMethod<
9704
10119
  errors: [UnknownDiscordError],
9705
10120
  protocol: DiscordProtocol,
9706
10121
  retry: Retry.Retry,
10122
+ telemetry: TELEMETRY,
10123
+ span: "SearchGuild",
9707
10124
  }));
9708
10125
 
9709
10126
  export type SearchGuildMembersError = DiscordOpError;
@@ -9718,6 +10135,8 @@ export const searchGuildMembers: API.OperationMethod<
9718
10135
  errors: [UnknownDiscordError],
9719
10136
  protocol: DiscordProtocol,
9720
10137
  retry: Retry.Retry,
10138
+ telemetry: TELEMETRY,
10139
+ span: "SearchGuildMembers",
9721
10140
  }));
9722
10141
 
9723
10142
  export type SearchThreadError = DiscordOpError;
@@ -9732,6 +10151,8 @@ export const searchThread: API.OperationMethod<
9732
10151
  errors: [UnknownDiscordError],
9733
10152
  protocol: DiscordProtocol,
9734
10153
  retry: Retry.Retry,
10154
+ telemetry: TELEMETRY,
10155
+ span: "SearchThread",
9735
10156
  }));
9736
10157
 
9737
10158
  export type SendSoundboardSoundError = DiscordOpError;
@@ -9746,6 +10167,8 @@ export const sendSoundboardSound: API.OperationMethod<
9746
10167
  errors: [UnknownDiscordError],
9747
10168
  protocol: DiscordProtocol,
9748
10169
  retry: Retry.Retry,
10170
+ telemetry: TELEMETRY,
10171
+ span: "SendSoundboardSound",
9749
10172
  }));
9750
10173
 
9751
10174
  export type SetChannelPermissionOverwriteError = DiscordOpError;
@@ -9760,6 +10183,8 @@ export const setChannelPermissionOverwrite: API.OperationMethod<
9760
10183
  errors: [UnknownDiscordError],
9761
10184
  protocol: DiscordProtocol,
9762
10185
  retry: Retry.Retry,
10186
+ telemetry: TELEMETRY,
10187
+ span: "SetChannelPermissionOverwrite",
9763
10188
  }));
9764
10189
 
9765
10190
  export type SetGuildApplicationCommandPermissionsError = DiscordOpError;
@@ -9774,6 +10199,8 @@ export const setGuildApplicationCommandPermissions: API.OperationMethod<
9774
10199
  errors: [UnknownDiscordError],
9775
10200
  protocol: DiscordProtocol,
9776
10201
  retry: Retry.Retry,
10202
+ telemetry: TELEMETRY,
10203
+ span: "SetGuildApplicationCommandPermissions",
9777
10204
  }));
9778
10205
 
9779
10206
  export type SyncGuildTemplateError = DiscordOpError;
@@ -9788,6 +10215,8 @@ export const syncGuildTemplate: API.OperationMethod<
9788
10215
  errors: [UnknownDiscordError],
9789
10216
  protocol: DiscordProtocol,
9790
10217
  retry: Retry.Retry,
10218
+ telemetry: TELEMETRY,
10219
+ span: "SyncGuildTemplate",
9791
10220
  }));
9792
10221
 
9793
10222
  export type TriggerTypingIndicatorError = DiscordOpError;
@@ -9802,6 +10231,8 @@ export const triggerTypingIndicator: API.OperationMethod<
9802
10231
  errors: [UnknownDiscordError],
9803
10232
  protocol: DiscordProtocol,
9804
10233
  retry: Retry.Retry,
10234
+ telemetry: TELEMETRY,
10235
+ span: "TriggerTypingIndicator",
9805
10236
  }));
9806
10237
 
9807
10238
  export type UnbanUserFromGuildError = DiscordOpError;
@@ -9816,6 +10247,8 @@ export const unbanUserFromGuild: API.OperationMethod<
9816
10247
  errors: [UnknownDiscordError],
9817
10248
  protocol: DiscordProtocol,
9818
10249
  retry: Retry.Retry,
10250
+ telemetry: TELEMETRY,
10251
+ span: "UnbanUserFromGuild",
9819
10252
  }));
9820
10253
 
9821
10254
  export type UpdateApplicationError = DiscordOpError;
@@ -9830,6 +10263,8 @@ export const updateApplication: API.OperationMethod<
9830
10263
  errors: [UnknownDiscordError],
9831
10264
  protocol: DiscordProtocol,
9832
10265
  retry: Retry.Retry,
10266
+ telemetry: TELEMETRY,
10267
+ span: "UpdateApplication",
9833
10268
  }));
9834
10269
 
9835
10270
  export type UpdateApplicationCommandError = DiscordOpError;
@@ -9844,6 +10279,8 @@ export const updateApplicationCommand: API.OperationMethod<
9844
10279
  errors: [UnknownDiscordError],
9845
10280
  protocol: DiscordProtocol,
9846
10281
  retry: Retry.Retry,
10282
+ telemetry: TELEMETRY,
10283
+ span: "UpdateApplicationCommand",
9847
10284
  }));
9848
10285
 
9849
10286
  export type UpdateApplicationEmojiError = DiscordOpError;
@@ -9858,6 +10295,8 @@ export const updateApplicationEmoji: API.OperationMethod<
9858
10295
  errors: [UnknownDiscordError],
9859
10296
  protocol: DiscordProtocol,
9860
10297
  retry: Retry.Retry,
10298
+ telemetry: TELEMETRY,
10299
+ span: "UpdateApplicationEmoji",
9861
10300
  }));
9862
10301
 
9863
10302
  export type UpdateApplicationRoleConnectionsMetadataError = DiscordOpError;
@@ -9876,6 +10315,8 @@ export const updateApplicationRoleConnectionsMetadata: API.OperationMethod<
9876
10315
  errors: [UnknownDiscordError],
9877
10316
  protocol: DiscordProtocol,
9878
10317
  retry: Retry.Retry,
10318
+ telemetry: TELEMETRY,
10319
+ span: "UpdateApplicationRoleConnectionsMetadata",
9879
10320
  }));
9880
10321
 
9881
10322
  export type UpdateApplicationUserRoleConnectionError = DiscordOpError;
@@ -9890,6 +10331,8 @@ export const updateApplicationUserRoleConnection: API.OperationMethod<
9890
10331
  errors: [UnknownDiscordError],
9891
10332
  protocol: DiscordProtocol,
9892
10333
  retry: Retry.Retry,
10334
+ telemetry: TELEMETRY,
10335
+ span: "UpdateApplicationUserRoleConnection",
9893
10336
  }));
9894
10337
 
9895
10338
  export type UpdateAutoModerationRuleError = DiscordOpError;
@@ -9904,6 +10347,8 @@ export const updateAutoModerationRule: API.OperationMethod<
9904
10347
  errors: [UnknownDiscordError],
9905
10348
  protocol: DiscordProtocol,
9906
10349
  retry: Retry.Retry,
10350
+ telemetry: TELEMETRY,
10351
+ span: "UpdateAutoModerationRule",
9907
10352
  }));
9908
10353
 
9909
10354
  export type UpdateChannelError = DiscordOpError;
@@ -9918,6 +10363,8 @@ export const updateChannel: API.OperationMethod<
9918
10363
  errors: [UnknownDiscordError],
9919
10364
  protocol: DiscordProtocol,
9920
10365
  retry: Retry.Retry,
10366
+ telemetry: TELEMETRY,
10367
+ span: "UpdateChannel",
9921
10368
  }));
9922
10369
 
9923
10370
  export type UpdateGuildError = DiscordOpError;
@@ -9932,6 +10379,8 @@ export const updateGuild: API.OperationMethod<
9932
10379
  errors: [UnknownDiscordError],
9933
10380
  protocol: DiscordProtocol,
9934
10381
  retry: Retry.Retry,
10382
+ telemetry: TELEMETRY,
10383
+ span: "UpdateGuild",
9935
10384
  }));
9936
10385
 
9937
10386
  export type UpdateGuildApplicationCommandError = DiscordOpError;
@@ -9946,6 +10395,8 @@ export const updateGuildApplicationCommand: API.OperationMethod<
9946
10395
  errors: [UnknownDiscordError],
9947
10396
  protocol: DiscordProtocol,
9948
10397
  retry: Retry.Retry,
10398
+ telemetry: TELEMETRY,
10399
+ span: "UpdateGuildApplicationCommand",
9949
10400
  }));
9950
10401
 
9951
10402
  export type UpdateGuildEmojiError = DiscordOpError;
@@ -9960,6 +10411,8 @@ export const updateGuildEmoji: API.OperationMethod<
9960
10411
  errors: [UnknownDiscordError],
9961
10412
  protocol: DiscordProtocol,
9962
10413
  retry: Retry.Retry,
10414
+ telemetry: TELEMETRY,
10415
+ span: "UpdateGuildEmoji",
9963
10416
  }));
9964
10417
 
9965
10418
  export type UpdateGuildIncidentActionsError = DiscordOpError;
@@ -9975,6 +10428,8 @@ export const updateGuildIncidentActions: API.OperationMethod<
9975
10428
  errors: [UnknownDiscordError],
9976
10429
  protocol: DiscordProtocol,
9977
10430
  retry: Retry.Retry,
10431
+ telemetry: TELEMETRY,
10432
+ span: "UpdateGuildIncidentActions",
9978
10433
  }));
9979
10434
 
9980
10435
  export type UpdateGuildMemberError = DiscordOpError;
@@ -9989,6 +10444,8 @@ export const updateGuildMember: API.OperationMethod<
9989
10444
  errors: [UnknownDiscordError],
9990
10445
  protocol: DiscordProtocol,
9991
10446
  retry: Retry.Retry,
10447
+ telemetry: TELEMETRY,
10448
+ span: "UpdateGuildMember",
9992
10449
  }));
9993
10450
 
9994
10451
  export type UpdateGuildRoleError = DiscordOpError;
@@ -10003,6 +10460,8 @@ export const updateGuildRole: API.OperationMethod<
10003
10460
  errors: [UnknownDiscordError],
10004
10461
  protocol: DiscordProtocol,
10005
10462
  retry: Retry.Retry,
10463
+ telemetry: TELEMETRY,
10464
+ span: "UpdateGuildRole",
10006
10465
  }));
10007
10466
 
10008
10467
  export type UpdateGuildScheduledEventError = DiscordOpError;
@@ -10017,6 +10476,8 @@ export const updateGuildScheduledEvent: API.OperationMethod<
10017
10476
  errors: [UnknownDiscordError],
10018
10477
  protocol: DiscordProtocol,
10019
10478
  retry: Retry.Retry,
10479
+ telemetry: TELEMETRY,
10480
+ span: "UpdateGuildScheduledEvent",
10020
10481
  }));
10021
10482
 
10022
10483
  export type UpdateGuildScheduledEventExceptionError = DiscordOpError;
@@ -10032,6 +10493,8 @@ export const updateGuildScheduledEventException: API.OperationMethod<
10032
10493
  errors: [UnknownDiscordError],
10033
10494
  protocol: DiscordProtocol,
10034
10495
  retry: Retry.Retry,
10496
+ telemetry: TELEMETRY,
10497
+ span: "UpdateGuildScheduledEventException",
10035
10498
  }));
10036
10499
 
10037
10500
  export type UpdateGuildSoundboardSoundError = DiscordOpError;
@@ -10046,6 +10509,8 @@ export const updateGuildSoundboardSound: API.OperationMethod<
10046
10509
  errors: [UnknownDiscordError],
10047
10510
  protocol: DiscordProtocol,
10048
10511
  retry: Retry.Retry,
10512
+ telemetry: TELEMETRY,
10513
+ span: "UpdateGuildSoundboardSound",
10049
10514
  }));
10050
10515
 
10051
10516
  export type UpdateGuildStickerError = DiscordOpError;
@@ -10060,6 +10525,8 @@ export const updateGuildSticker: API.OperationMethod<
10060
10525
  errors: [UnknownDiscordError],
10061
10526
  protocol: DiscordProtocol,
10062
10527
  retry: Retry.Retry,
10528
+ telemetry: TELEMETRY,
10529
+ span: "UpdateGuildSticker",
10063
10530
  }));
10064
10531
 
10065
10532
  export type UpdateGuildTemplateError = DiscordOpError;
@@ -10074,6 +10541,8 @@ export const updateGuildTemplate: API.OperationMethod<
10074
10541
  errors: [UnknownDiscordError],
10075
10542
  protocol: DiscordProtocol,
10076
10543
  retry: Retry.Retry,
10544
+ telemetry: TELEMETRY,
10545
+ span: "UpdateGuildTemplate",
10077
10546
  }));
10078
10547
 
10079
10548
  export type UpdateGuildWelcomeScreenError = DiscordOpError;
@@ -10088,6 +10557,8 @@ export const updateGuildWelcomeScreen: API.OperationMethod<
10088
10557
  errors: [UnknownDiscordError],
10089
10558
  protocol: DiscordProtocol,
10090
10559
  retry: Retry.Retry,
10560
+ telemetry: TELEMETRY,
10561
+ span: "UpdateGuildWelcomeScreen",
10091
10562
  }));
10092
10563
 
10093
10564
  export type UpdateGuildWidgetSettingsError = DiscordOpError;
@@ -10102,6 +10573,8 @@ export const updateGuildWidgetSettings: API.OperationMethod<
10102
10573
  errors: [UnknownDiscordError],
10103
10574
  protocol: DiscordProtocol,
10104
10575
  retry: Retry.Retry,
10576
+ telemetry: TELEMETRY,
10577
+ span: "UpdateGuildWidgetSettings",
10105
10578
  }));
10106
10579
 
10107
10580
  export type UpdateInviteTargetUsersError = DiscordOpError;
@@ -10117,6 +10590,8 @@ export const updateInviteTargetUsers: API.OperationMethod<
10117
10590
  errors: [UnknownDiscordError],
10118
10591
  protocol: DiscordProtocol,
10119
10592
  retry: Retry.Retry,
10593
+ telemetry: TELEMETRY,
10594
+ span: "UpdateInviteTargetUsers",
10120
10595
  }));
10121
10596
 
10122
10597
  export type UpdateLobbyMessageExternalModerationMetadataError = DiscordOpError;
@@ -10140,6 +10615,8 @@ export const updateLobbyMessageExternalModerationMetadata: API.OperationMethod<
10140
10615
  errors: [UnknownDiscordError],
10141
10616
  protocol: DiscordProtocol,
10142
10617
  retry: Retry.Retry,
10618
+ telemetry: TELEMETRY,
10619
+ span: "UpdateLobbyMessageExternalModerationMetadata",
10143
10620
  }));
10144
10621
 
10145
10622
  export type UpdateMessageError = DiscordOpError;
@@ -10154,6 +10631,8 @@ export const updateMessage: API.OperationMethod<
10154
10631
  errors: [UnknownDiscordError],
10155
10632
  protocol: DiscordProtocol,
10156
10633
  retry: Retry.Retry,
10634
+ telemetry: TELEMETRY,
10635
+ span: "UpdateMessage",
10157
10636
  }));
10158
10637
 
10159
10638
  export type UpdateMyApplicationError = DiscordOpError;
@@ -10168,6 +10647,8 @@ export const updateMyApplication: API.OperationMethod<
10168
10647
  errors: [UnknownDiscordError],
10169
10648
  protocol: DiscordProtocol,
10170
10649
  retry: Retry.Retry,
10650
+ telemetry: TELEMETRY,
10651
+ span: "UpdateMyApplication",
10171
10652
  }));
10172
10653
 
10173
10654
  export type UpdateMyGuildMemberError = DiscordOpError;
@@ -10182,6 +10663,8 @@ export const updateMyGuildMember: API.OperationMethod<
10182
10663
  errors: [UnknownDiscordError],
10183
10664
  protocol: DiscordProtocol,
10184
10665
  retry: Retry.Retry,
10666
+ telemetry: TELEMETRY,
10667
+ span: "UpdateMyGuildMember",
10185
10668
  }));
10186
10669
 
10187
10670
  export type UpdateMyUserError = DiscordOpError;
@@ -10196,6 +10679,8 @@ export const updateMyUser: API.OperationMethod<
10196
10679
  errors: [UnknownDiscordError],
10197
10680
  protocol: DiscordProtocol,
10198
10681
  retry: Retry.Retry,
10682
+ telemetry: TELEMETRY,
10683
+ span: "UpdateMyUser",
10199
10684
  }));
10200
10685
 
10201
10686
  export type UpdateOriginalWebhookMessageError = DiscordOpError;
@@ -10210,6 +10695,8 @@ export const updateOriginalWebhookMessage: API.OperationMethod<
10210
10695
  errors: [UnknownDiscordError],
10211
10696
  protocol: DiscordProtocol,
10212
10697
  retry: Retry.Retry,
10698
+ telemetry: TELEMETRY,
10699
+ span: "UpdateOriginalWebhookMessage",
10213
10700
  }));
10214
10701
 
10215
10702
  export type UpdateSelfVoiceStateError = DiscordOpError;
@@ -10224,6 +10711,8 @@ export const updateSelfVoiceState: API.OperationMethod<
10224
10711
  errors: [UnknownDiscordError],
10225
10712
  protocol: DiscordProtocol,
10226
10713
  retry: Retry.Retry,
10714
+ telemetry: TELEMETRY,
10715
+ span: "UpdateSelfVoiceState",
10227
10716
  }));
10228
10717
 
10229
10718
  export type UpdateStageInstanceError = DiscordOpError;
@@ -10238,6 +10727,8 @@ export const updateStageInstance: API.OperationMethod<
10238
10727
  errors: [UnknownDiscordError],
10239
10728
  protocol: DiscordProtocol,
10240
10729
  retry: Retry.Retry,
10730
+ telemetry: TELEMETRY,
10731
+ span: "UpdateStageInstance",
10241
10732
  }));
10242
10733
 
10243
10734
  export type UpdateUserMessageExternalModerationMetadataError = DiscordOpError;
@@ -10261,6 +10752,8 @@ export const updateUserMessageExternalModerationMetadata: API.OperationMethod<
10261
10752
  errors: [UnknownDiscordError],
10262
10753
  protocol: DiscordProtocol,
10263
10754
  retry: Retry.Retry,
10755
+ telemetry: TELEMETRY,
10756
+ span: "UpdateUserMessageExternalModerationMetadata",
10264
10757
  }));
10265
10758
 
10266
10759
  export type UpdateVoiceChannelStatusError = DiscordOpError;
@@ -10276,6 +10769,8 @@ export const updateVoiceChannelStatus: API.OperationMethod<
10276
10769
  errors: [UnknownDiscordError],
10277
10770
  protocol: DiscordProtocol,
10278
10771
  retry: Retry.Retry,
10772
+ telemetry: TELEMETRY,
10773
+ span: "UpdateVoiceChannelStatus",
10279
10774
  }));
10280
10775
 
10281
10776
  export type UpdateVoiceStateError = DiscordOpError;
@@ -10290,6 +10785,8 @@ export const updateVoiceState: API.OperationMethod<
10290
10785
  errors: [UnknownDiscordError],
10291
10786
  protocol: DiscordProtocol,
10292
10787
  retry: Retry.Retry,
10788
+ telemetry: TELEMETRY,
10789
+ span: "UpdateVoiceState",
10293
10790
  }));
10294
10791
 
10295
10792
  export type UpdateWebhookError = DiscordOpError;
@@ -10304,6 +10801,8 @@ export const updateWebhook: API.OperationMethod<
10304
10801
  errors: [UnknownDiscordError],
10305
10802
  protocol: DiscordProtocol,
10306
10803
  retry: Retry.Retry,
10804
+ telemetry: TELEMETRY,
10805
+ span: "UpdateWebhook",
10307
10806
  }));
10308
10807
 
10309
10808
  export type UpdateWebhookByTokenError = DiscordOpError;
@@ -10318,6 +10817,8 @@ export const updateWebhookByToken: API.OperationMethod<
10318
10817
  errors: [UnknownDiscordError],
10319
10818
  protocol: DiscordProtocol,
10320
10819
  retry: Retry.Retry,
10820
+ telemetry: TELEMETRY,
10821
+ span: "UpdateWebhookByToken",
10321
10822
  }));
10322
10823
 
10323
10824
  export type UpdateWebhookMessageError = DiscordOpError;
@@ -10332,6 +10833,8 @@ export const updateWebhookMessage: API.OperationMethod<
10332
10833
  errors: [UnknownDiscordError],
10333
10834
  protocol: DiscordProtocol,
10334
10835
  retry: Retry.Retry,
10836
+ telemetry: TELEMETRY,
10837
+ span: "UpdateWebhookMessage",
10335
10838
  }));
10336
10839
 
10337
10840
  export type UploadApplicationAttachmentError = DiscordOpError;
@@ -10346,6 +10849,8 @@ export const uploadApplicationAttachment: API.OperationMethod<
10346
10849
  errors: [UnknownDiscordError],
10347
10850
  protocol: DiscordProtocol,
10348
10851
  retry: Retry.Retry,
10852
+ telemetry: TELEMETRY,
10853
+ span: "UploadApplicationAttachment",
10349
10854
  }));
10350
10855
 
10351
10856
  // Schema builders: each runs one schema initializer, on that schema's first use.