moons-ta-client 1.3.1 → 1.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -551,6 +551,71 @@ declare enum QualifierEvent_LeaderboardSort {
551
551
  */
552
552
  GoodCutsTarget = 14
553
553
  }
554
+ /**
555
+ * @generated from protobuf enum proto.models.Webhook.Trigger
556
+ */
557
+ declare enum Webhook_Trigger {
558
+ /**
559
+ * @generated from protobuf enum value: None = 0;
560
+ */
561
+ None = 0,
562
+ /**
563
+ * @generated from protobuf enum value: TournamentUpdated = 1;
564
+ */
565
+ TournamentUpdated = 1,
566
+ /**
567
+ * @generated from protobuf enum value: TournamentDeleted = 2;
568
+ */
569
+ TournamentDeleted = 2,
570
+ /**
571
+ * @generated from protobuf enum value: UserAdded = 4;
572
+ */
573
+ UserAdded = 4,
574
+ /**
575
+ * @generated from protobuf enum value: UserUpdated = 8;
576
+ */
577
+ UserUpdated = 8,
578
+ /**
579
+ * @generated from protobuf enum value: UserLeft = 16;
580
+ */
581
+ UserLeft = 16,
582
+ /**
583
+ * @generated from protobuf enum value: MatchCreated = 32;
584
+ */
585
+ MatchCreated = 32,
586
+ /**
587
+ * @generated from protobuf enum value: MatchUpdated = 64;
588
+ */
589
+ MatchUpdated = 64,
590
+ /**
591
+ * @generated from protobuf enum value: MatchDeleted = 128;
592
+ */
593
+ MatchDeleted = 128,
594
+ /**
595
+ * @generated from protobuf enum value: QualifierCreated = 256;
596
+ */
597
+ QualifierCreated = 256,
598
+ /**
599
+ * @generated from protobuf enum value: QualifierUpdated = 512;
600
+ */
601
+ QualifierUpdated = 512,
602
+ /**
603
+ * @generated from protobuf enum value: QualifierDeleted = 1024;
604
+ */
605
+ QualifierDeleted = 1024,
606
+ /**
607
+ * @generated from protobuf enum value: QualifierScoreSubmitted = 2048;
608
+ */
609
+ QualifierScoreSubmitted = 2048,
610
+ /**
611
+ * @generated from protobuf enum value: SongFinished = 4096;
612
+ */
613
+ SongFinished = 4096,
614
+ /**
615
+ * @generated from protobuf enum value: All = 8191;
616
+ */
617
+ All = 8191
618
+ }
554
619
  declare class Characteristic$Type extends MessageType<Characteristic> {
555
620
  constructor();
556
621
  create(value?: PartialMessage<Characteristic>): Characteristic;
@@ -846,6 +911,10 @@ interface User {
846
911
  * @generated from protobuf field: proto.models.User.DiscordInfo discord_info = 12
847
912
  */
848
913
  discordInfo?: User_DiscordInfo;
914
+ /**
915
+ * @generated from protobuf field: bool is_mock = 13
916
+ */
917
+ isMock: boolean;
849
918
  }
850
919
  /**
851
920
  * @generated MessageType for protobuf message proto.models.User
@@ -970,6 +1039,14 @@ interface QualifierEvent {
970
1039
  * @generated from protobuf field: proto.models.QualifierEvent.LeaderboardSort sort = 7
971
1040
  */
972
1041
  sort: QualifierEvent_LeaderboardSort;
1042
+ /**
1043
+ * @generated from protobuf field: google.protobuf.Timestamp start_time = 8
1044
+ */
1045
+ startTime?: Timestamp;
1046
+ /**
1047
+ * @generated from protobuf field: google.protobuf.Timestamp end_time = 9
1048
+ */
1049
+ endTime?: Timestamp;
973
1050
  }
974
1051
  /**
975
1052
  * @generated MessageType for protobuf message proto.models.QualifierEvent
@@ -1006,6 +1083,123 @@ interface CoreServer {
1006
1083
  * @generated MessageType for protobuf message proto.models.CoreServer
1007
1084
  */
1008
1085
  declare const CoreServer: CoreServer$Type;
1086
+ declare class Webhook$Type extends MessageType<Webhook> {
1087
+ constructor();
1088
+ create(value?: PartialMessage<Webhook>): Webhook;
1089
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Webhook): Webhook;
1090
+ internalBinaryWrite(message: Webhook, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1091
+ }
1092
+ /**
1093
+ * @generated from protobuf message proto.models.Webhook
1094
+ */
1095
+ interface Webhook {
1096
+ /**
1097
+ * @generated from protobuf field: string guid = 1
1098
+ */
1099
+ guid: string;
1100
+ /**
1101
+ * @generated from protobuf field: string tournament_id = 2
1102
+ */
1103
+ tournamentId: string;
1104
+ /**
1105
+ * @generated from protobuf field: string url = 3
1106
+ */
1107
+ url: string;
1108
+ /**
1109
+ * @generated from protobuf field: int64 triggers = 4
1110
+ */
1111
+ triggers: bigint;
1112
+ /**
1113
+ * @generated from protobuf field: bool has_signing_secret = 5
1114
+ */
1115
+ hasSigningSecret: boolean;
1116
+ }
1117
+ /**
1118
+ * @generated MessageType for protobuf message proto.models.Webhook
1119
+ */
1120
+ declare const Webhook: Webhook$Type;
1121
+ declare class EndpointAccess$Type extends MessageType<EndpointAccess> {
1122
+ constructor();
1123
+ create(value?: PartialMessage<EndpointAccess>): EndpointAccess;
1124
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EndpointAccess): EndpointAccess;
1125
+ internalBinaryWrite(message: EndpointAccess, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1126
+ }
1127
+ /**
1128
+ * @generated from protobuf message proto.models.EndpointAccess
1129
+ */
1130
+ interface EndpointAccess {
1131
+ /**
1132
+ * @generated from protobuf field: string endpoint_id = 1
1133
+ */
1134
+ endpointId: string;
1135
+ /**
1136
+ * @generated from protobuf field: string display_name = 2
1137
+ */
1138
+ displayName: string;
1139
+ /**
1140
+ * @generated from protobuf field: string route = 3
1141
+ */
1142
+ route: string;
1143
+ /**
1144
+ * @generated from protobuf field: bool supports_websocket = 4
1145
+ */
1146
+ supportsWebsocket: boolean;
1147
+ /**
1148
+ * @generated from protobuf field: bool supports_rest = 5
1149
+ */
1150
+ supportsRest: boolean;
1151
+ /**
1152
+ * @generated from protobuf field: bool supports_player = 6
1153
+ */
1154
+ supportsPlayer: boolean;
1155
+ /**
1156
+ * @generated from protobuf field: bool websocket_enabled = 7
1157
+ */
1158
+ websocketEnabled: boolean;
1159
+ /**
1160
+ * @generated from protobuf field: bool rest_enabled = 8
1161
+ */
1162
+ restEnabled: boolean;
1163
+ /**
1164
+ * @generated from protobuf field: bool player_enabled = 9
1165
+ */
1166
+ playerEnabled: boolean;
1167
+ /**
1168
+ * @generated from protobuf field: bool is_core = 10
1169
+ */
1170
+ isCore: boolean;
1171
+ }
1172
+ /**
1173
+ * @generated MessageType for protobuf message proto.models.EndpointAccess
1174
+ */
1175
+ declare const EndpointAccess: EndpointAccess$Type;
1176
+ declare class GlobalConfiguration$Type extends MessageType<GlobalConfiguration> {
1177
+ constructor();
1178
+ create(value?: PartialMessage<GlobalConfiguration>): GlobalConfiguration;
1179
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GlobalConfiguration): GlobalConfiguration;
1180
+ internalBinaryWrite(message: GlobalConfiguration, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1181
+ }
1182
+ /**
1183
+ * @generated from protobuf message proto.models.GlobalConfiguration
1184
+ */
1185
+ interface GlobalConfiguration {
1186
+ /**
1187
+ * @generated from protobuf field: repeated string full_access_discord_ids = 1
1188
+ */
1189
+ fullAccessDiscordIds: string[];
1190
+ /**
1191
+ * @generated from protobuf field: repeated string endpoint_manager_discord_ids = 2
1192
+ */
1193
+ endpointManagerDiscordIds: string[];
1194
+ /**
1195
+ * @generated from protobuf field: repeated proto.models.EndpointAccess endpoints = 3
1196
+ */
1197
+ endpoints: EndpointAccess[];
1198
+ }
1199
+ /**
1200
+ * @generated MessageType for protobuf message proto.models.GlobalConfiguration
1201
+ */
1202
+ declare const GlobalConfiguration: GlobalConfiguration$Type;
1009
1203
  declare class Tournament$Type extends MessageType<Tournament> {
1010
1204
  constructor();
1011
1205
  create(value?: PartialMessage<Tournament>): Tournament;
@@ -1111,6 +1305,18 @@ interface Tournament_TournamentSettings {
1111
1305
  * @generated from protobuf field: bool enable_replay_streaming = 14
1112
1306
  */
1113
1307
  enableReplayStreaming: boolean;
1308
+ /**
1309
+ * @generated from protobuf field: bool allow_mock_clients = 15
1310
+ */
1311
+ allowMockClients: boolean;
1312
+ /**
1313
+ * @generated from protobuf field: bool is_bk_tournament = 16
1314
+ */
1315
+ isBkTournament: boolean;
1316
+ /**
1317
+ * @generated from protobuf field: string beat_khana_tournament_guid = 17
1318
+ */
1319
+ beatKhanaTournamentGuid: string;
1114
1320
  }
1115
1321
  /**
1116
1322
  * @generated MessageType for protobuf message proto.models.Tournament.TournamentSettings
@@ -3094,6 +3300,60 @@ interface Response {
3094
3300
  * @generated from protobuf field: proto.packets.Response.PermissionError permission_error = 30
3095
3301
  */
3096
3302
  permissionError: Response_PermissionError;
3303
+ } | {
3304
+ oneofKind: "leaveTournament";
3305
+ /**
3306
+ * @generated from protobuf field: proto.packets.Response.LeaveTournament leave_tournament = 31
3307
+ */
3308
+ leaveTournament: Response_LeaveTournament;
3309
+ } | {
3310
+ oneofKind: "getWebhooks";
3311
+ /**
3312
+ * @generated from protobuf field: proto.packets.Response.GetWebhooks get_webhooks = 32
3313
+ */
3314
+ getWebhooks: Response_GetWebhooks;
3315
+ } | {
3316
+ oneofKind: "createWebhook";
3317
+ /**
3318
+ * @generated from protobuf field: proto.packets.Response.CreateWebhook create_webhook = 33
3319
+ */
3320
+ createWebhook: Response_CreateWebhook;
3321
+ } | {
3322
+ oneofKind: "updateWebhook";
3323
+ /**
3324
+ * @generated from protobuf field: proto.packets.Response.UpdateWebhook update_webhook = 34
3325
+ */
3326
+ updateWebhook: Response_UpdateWebhook;
3327
+ } | {
3328
+ oneofKind: "deleteWebhook";
3329
+ /**
3330
+ * @generated from protobuf field: proto.packets.Response.DeleteWebhook delete_webhook = 35
3331
+ */
3332
+ deleteWebhook: Response_DeleteWebhook;
3333
+ } | {
3334
+ oneofKind: "getGlobalConfiguration";
3335
+ /**
3336
+ * @generated from protobuf field: proto.packets.Response.GetGlobalConfiguration get_global_configuration = 36
3337
+ */
3338
+ getGlobalConfiguration: Response_GetGlobalConfiguration;
3339
+ } | {
3340
+ oneofKind: "updateGlobalConfiguration";
3341
+ /**
3342
+ * @generated from protobuf field: proto.packets.Response.UpdateGlobalConfiguration update_global_configuration = 37
3343
+ */
3344
+ updateGlobalConfiguration: Response_UpdateGlobalConfiguration;
3345
+ } | {
3346
+ oneofKind: "createBkTournament";
3347
+ /**
3348
+ * @generated from protobuf field: proto.packets.Response.CreateBKTournament create_bk_tournament = 38
3349
+ */
3350
+ createBkTournament: Response_CreateBKTournament;
3351
+ } | {
3352
+ oneofKind: "setBkTournamentLink";
3353
+ /**
3354
+ * @generated from protobuf field: proto.packets.Response.SetBKTournamentLink set_bk_tournament_link = 39
3355
+ */
3356
+ setBkTournamentLink: Response_SetBKTournamentLink;
3097
3357
  } | {
3098
3358
  oneofKind: undefined;
3099
3359
  };
@@ -3587,6 +3847,29 @@ interface Response_Join {
3587
3847
  * @generated MessageType for protobuf message proto.packets.Response.Join
3588
3848
  */
3589
3849
  declare const Response_Join: Response_Join$Type;
3850
+ declare class Response_LeaveTournament$Type extends MessageType<Response_LeaveTournament> {
3851
+ constructor();
3852
+ create(value?: PartialMessage<Response_LeaveTournament>): Response_LeaveTournament;
3853
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Response_LeaveTournament): Response_LeaveTournament;
3854
+ internalBinaryWrite(message: Response_LeaveTournament, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
3855
+ }
3856
+ /**
3857
+ * @generated from protobuf message proto.packets.Response.LeaveTournament
3858
+ */
3859
+ interface Response_LeaveTournament {
3860
+ /**
3861
+ * @generated from protobuf field: string tournament_id = 1
3862
+ */
3863
+ tournamentId: string;
3864
+ /**
3865
+ * @generated from protobuf field: string message = 2
3866
+ */
3867
+ message: string;
3868
+ }
3869
+ /**
3870
+ * @generated MessageType for protobuf message proto.packets.Response.LeaveTournament
3871
+ */
3872
+ declare const Response_LeaveTournament: Response_LeaveTournament$Type;
3590
3873
  declare class Response_LeaderboardEntries$Type extends MessageType<Response_LeaderboardEntries> {
3591
3874
  constructor();
3592
3875
  create(value?: PartialMessage<Response_LeaderboardEntries>): Response_LeaderboardEntries;
@@ -3815,7 +4098,183 @@ interface Response_PermissionError {
3815
4098
  /**
3816
4099
  * @generated MessageType for protobuf message proto.packets.Response.PermissionError
3817
4100
  */
3818
- declare const Response_PermissionError: Response_PermissionError$Type;
4101
+ declare const Response_PermissionError: Response_PermissionError$Type;
4102
+ declare class Response_GetWebhooks$Type extends MessageType<Response_GetWebhooks> {
4103
+ constructor();
4104
+ create(value?: PartialMessage<Response_GetWebhooks>): Response_GetWebhooks;
4105
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Response_GetWebhooks): Response_GetWebhooks;
4106
+ internalBinaryWrite(message: Response_GetWebhooks, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4107
+ }
4108
+ /**
4109
+ * @generated from protobuf message proto.packets.Response.GetWebhooks
4110
+ */
4111
+ interface Response_GetWebhooks {
4112
+ /**
4113
+ * @generated from protobuf field: repeated proto.models.Webhook webhooks = 1
4114
+ */
4115
+ webhooks: Webhook[];
4116
+ }
4117
+ /**
4118
+ * @generated MessageType for protobuf message proto.packets.Response.GetWebhooks
4119
+ */
4120
+ declare const Response_GetWebhooks: Response_GetWebhooks$Type;
4121
+ declare class Response_CreateWebhook$Type extends MessageType<Response_CreateWebhook> {
4122
+ constructor();
4123
+ create(value?: PartialMessage<Response_CreateWebhook>): Response_CreateWebhook;
4124
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Response_CreateWebhook): Response_CreateWebhook;
4125
+ internalBinaryWrite(message: Response_CreateWebhook, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4126
+ }
4127
+ /**
4128
+ * @generated from protobuf message proto.packets.Response.CreateWebhook
4129
+ */
4130
+ interface Response_CreateWebhook {
4131
+ /**
4132
+ * @generated from protobuf field: proto.models.Webhook webhook = 1
4133
+ */
4134
+ webhook?: Webhook;
4135
+ /**
4136
+ * @generated from protobuf field: string message = 2
4137
+ */
4138
+ message: string;
4139
+ }
4140
+ /**
4141
+ * @generated MessageType for protobuf message proto.packets.Response.CreateWebhook
4142
+ */
4143
+ declare const Response_CreateWebhook: Response_CreateWebhook$Type;
4144
+ declare class Response_UpdateWebhook$Type extends MessageType<Response_UpdateWebhook> {
4145
+ constructor();
4146
+ create(value?: PartialMessage<Response_UpdateWebhook>): Response_UpdateWebhook;
4147
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Response_UpdateWebhook): Response_UpdateWebhook;
4148
+ internalBinaryWrite(message: Response_UpdateWebhook, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4149
+ }
4150
+ /**
4151
+ * @generated from protobuf message proto.packets.Response.UpdateWebhook
4152
+ */
4153
+ interface Response_UpdateWebhook {
4154
+ /**
4155
+ * @generated from protobuf field: proto.models.Webhook webhook = 1
4156
+ */
4157
+ webhook?: Webhook;
4158
+ /**
4159
+ * @generated from protobuf field: string message = 2
4160
+ */
4161
+ message: string;
4162
+ }
4163
+ /**
4164
+ * @generated MessageType for protobuf message proto.packets.Response.UpdateWebhook
4165
+ */
4166
+ declare const Response_UpdateWebhook: Response_UpdateWebhook$Type;
4167
+ declare class Response_DeleteWebhook$Type extends MessageType<Response_DeleteWebhook> {
4168
+ constructor();
4169
+ create(value?: PartialMessage<Response_DeleteWebhook>): Response_DeleteWebhook;
4170
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Response_DeleteWebhook): Response_DeleteWebhook;
4171
+ internalBinaryWrite(message: Response_DeleteWebhook, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4172
+ }
4173
+ /**
4174
+ * @generated from protobuf message proto.packets.Response.DeleteWebhook
4175
+ */
4176
+ interface Response_DeleteWebhook {
4177
+ /**
4178
+ * @generated from protobuf field: string webhook_guid = 1
4179
+ */
4180
+ webhookGuid: string;
4181
+ /**
4182
+ * @generated from protobuf field: string message = 2
4183
+ */
4184
+ message: string;
4185
+ }
4186
+ /**
4187
+ * @generated MessageType for protobuf message proto.packets.Response.DeleteWebhook
4188
+ */
4189
+ declare const Response_DeleteWebhook: Response_DeleteWebhook$Type;
4190
+ declare class Response_GetGlobalConfiguration$Type extends MessageType<Response_GetGlobalConfiguration> {
4191
+ constructor();
4192
+ create(value?: PartialMessage<Response_GetGlobalConfiguration>): Response_GetGlobalConfiguration;
4193
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Response_GetGlobalConfiguration): Response_GetGlobalConfiguration;
4194
+ internalBinaryWrite(message: Response_GetGlobalConfiguration, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4195
+ }
4196
+ /**
4197
+ * @generated from protobuf message proto.packets.Response.GetGlobalConfiguration
4198
+ */
4199
+ interface Response_GetGlobalConfiguration {
4200
+ /**
4201
+ * @generated from protobuf field: proto.models.GlobalConfiguration configuration = 1
4202
+ */
4203
+ configuration?: GlobalConfiguration;
4204
+ }
4205
+ /**
4206
+ * @generated MessageType for protobuf message proto.packets.Response.GetGlobalConfiguration
4207
+ */
4208
+ declare const Response_GetGlobalConfiguration: Response_GetGlobalConfiguration$Type;
4209
+ declare class Response_UpdateGlobalConfiguration$Type extends MessageType<Response_UpdateGlobalConfiguration> {
4210
+ constructor();
4211
+ create(value?: PartialMessage<Response_UpdateGlobalConfiguration>): Response_UpdateGlobalConfiguration;
4212
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Response_UpdateGlobalConfiguration): Response_UpdateGlobalConfiguration;
4213
+ internalBinaryWrite(message: Response_UpdateGlobalConfiguration, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4214
+ }
4215
+ /**
4216
+ * @generated from protobuf message proto.packets.Response.UpdateGlobalConfiguration
4217
+ */
4218
+ interface Response_UpdateGlobalConfiguration {
4219
+ /**
4220
+ * @generated from protobuf field: proto.models.GlobalConfiguration configuration = 1
4221
+ */
4222
+ configuration?: GlobalConfiguration;
4223
+ /**
4224
+ * @generated from protobuf field: string message = 2
4225
+ */
4226
+ message: string;
4227
+ }
4228
+ /**
4229
+ * @generated MessageType for protobuf message proto.packets.Response.UpdateGlobalConfiguration
4230
+ */
4231
+ declare const Response_UpdateGlobalConfiguration: Response_UpdateGlobalConfiguration$Type;
4232
+ declare class Response_SetBKTournamentLink$Type extends MessageType<Response_SetBKTournamentLink> {
4233
+ constructor();
4234
+ create(value?: PartialMessage<Response_SetBKTournamentLink>): Response_SetBKTournamentLink;
4235
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Response_SetBKTournamentLink): Response_SetBKTournamentLink;
4236
+ internalBinaryWrite(message: Response_SetBKTournamentLink, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4237
+ }
4238
+ /**
4239
+ * @generated from protobuf message proto.packets.Response.SetBKTournamentLink
4240
+ */
4241
+ interface Response_SetBKTournamentLink {
4242
+ /**
4243
+ * @generated from protobuf field: proto.models.Tournament tournament = 1
4244
+ */
4245
+ tournament?: Tournament;
4246
+ /**
4247
+ * @generated from protobuf field: string message = 2
4248
+ */
4249
+ message: string;
4250
+ }
4251
+ /**
4252
+ * @generated MessageType for protobuf message proto.packets.Response.SetBKTournamentLink
4253
+ */
4254
+ declare const Response_SetBKTournamentLink: Response_SetBKTournamentLink$Type;
4255
+ declare class Response_CreateBKTournament$Type extends MessageType<Response_CreateBKTournament> {
4256
+ constructor();
4257
+ create(value?: PartialMessage<Response_CreateBKTournament>): Response_CreateBKTournament;
4258
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Response_CreateBKTournament): Response_CreateBKTournament;
4259
+ internalBinaryWrite(message: Response_CreateBKTournament, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
4260
+ }
4261
+ /**
4262
+ * @generated from protobuf message proto.packets.Response.CreateBKTournament
4263
+ */
4264
+ interface Response_CreateBKTournament {
4265
+ /**
4266
+ * @generated from protobuf field: string beat_khana_tournament_guid = 1
4267
+ */
4268
+ beatKhanaTournamentGuid: string;
4269
+ /**
4270
+ * @generated from protobuf field: proto.models.Tournament tournament = 2
4271
+ */
4272
+ tournament?: Tournament;
4273
+ }
4274
+ /**
4275
+ * @generated MessageType for protobuf message proto.packets.Response.CreateBKTournament
4276
+ */
4277
+ declare const Response_CreateBKTournament: Response_CreateBKTournament$Type;
3819
4278
 
3820
4279
  declare class Request$Type extends MessageType<Request> {
3821
4280
  constructor();
@@ -4204,6 +4663,72 @@ interface Request {
4204
4663
  * @generated from protobuf field: proto.packets.Request.SetTournamentEnableReplayStreaming set_tournament_enable_replay_streaming = 64
4205
4664
  */
4206
4665
  setTournamentEnableReplayStreaming: Request_SetTournamentEnableReplayStreaming;
4666
+ } | {
4667
+ oneofKind: "setQualifierStartTime";
4668
+ /**
4669
+ * @generated from protobuf field: proto.packets.Request.SetQualifierStartTime set_qualifier_start_time = 65
4670
+ */
4671
+ setQualifierStartTime: Request_SetQualifierStartTime;
4672
+ } | {
4673
+ oneofKind: "setQualifierEndTime";
4674
+ /**
4675
+ * @generated from protobuf field: proto.packets.Request.SetQualifierEndTime set_qualifier_end_time = 66
4676
+ */
4677
+ setQualifierEndTime: Request_SetQualifierEndTime;
4678
+ } | {
4679
+ oneofKind: "setTournamentAllowMockClients";
4680
+ /**
4681
+ * @generated from protobuf field: proto.packets.Request.SetTournamentAllowMockClients set_tournament_allow_mock_clients = 67
4682
+ */
4683
+ setTournamentAllowMockClients: Request_SetTournamentAllowMockClients;
4684
+ } | {
4685
+ oneofKind: "leaveTournament";
4686
+ /**
4687
+ * @generated from protobuf field: proto.packets.Request.LeaveTournament leave_tournament = 68
4688
+ */
4689
+ leaveTournament: Request_LeaveTournament;
4690
+ } | {
4691
+ oneofKind: "getWebhooks";
4692
+ /**
4693
+ * @generated from protobuf field: proto.packets.Request.GetWebhooks get_webhooks = 69
4694
+ */
4695
+ getWebhooks: Request_GetWebhooks;
4696
+ } | {
4697
+ oneofKind: "createWebhook";
4698
+ /**
4699
+ * @generated from protobuf field: proto.packets.Request.CreateWebhook create_webhook = 70
4700
+ */
4701
+ createWebhook: Request_CreateWebhook;
4702
+ } | {
4703
+ oneofKind: "updateWebhook";
4704
+ /**
4705
+ * @generated from protobuf field: proto.packets.Request.UpdateWebhook update_webhook = 71
4706
+ */
4707
+ updateWebhook: Request_UpdateWebhook;
4708
+ } | {
4709
+ oneofKind: "deleteWebhook";
4710
+ /**
4711
+ * @generated from protobuf field: proto.packets.Request.DeleteWebhook delete_webhook = 72
4712
+ */
4713
+ deleteWebhook: Request_DeleteWebhook;
4714
+ } | {
4715
+ oneofKind: "getGlobalConfiguration";
4716
+ /**
4717
+ * @generated from protobuf field: proto.packets.Request.GetGlobalConfiguration get_global_configuration = 73
4718
+ */
4719
+ getGlobalConfiguration: Request_GetGlobalConfiguration;
4720
+ } | {
4721
+ oneofKind: "updateGlobalConfiguration";
4722
+ /**
4723
+ * @generated from protobuf field: proto.packets.Request.UpdateGlobalConfiguration update_global_configuration = 74
4724
+ */
4725
+ updateGlobalConfiguration: Request_UpdateGlobalConfiguration;
4726
+ } | {
4727
+ oneofKind: "setBkTournamentLink";
4728
+ /**
4729
+ * @generated from protobuf field: proto.packets.Request.SetBKTournamentLink set_bk_tournament_link = 75
4730
+ */
4731
+ setBkTournamentLink: Request_SetBKTournamentLink;
4207
4732
  } | {
4208
4733
  oneofKind: undefined;
4209
4734
  };
@@ -4553,6 +5078,60 @@ interface Request_SetQualifierLeaderboardSort {
4553
5078
  * @generated MessageType for protobuf message proto.packets.Request.SetQualifierLeaderboardSort
4554
5079
  */
4555
5080
  declare const Request_SetQualifierLeaderboardSort: Request_SetQualifierLeaderboardSort$Type;
5081
+ declare class Request_SetQualifierStartTime$Type extends MessageType<Request_SetQualifierStartTime> {
5082
+ constructor();
5083
+ create(value?: PartialMessage<Request_SetQualifierStartTime>): Request_SetQualifierStartTime;
5084
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Request_SetQualifierStartTime): Request_SetQualifierStartTime;
5085
+ internalBinaryWrite(message: Request_SetQualifierStartTime, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
5086
+ }
5087
+ /**
5088
+ * @generated from protobuf message proto.packets.Request.SetQualifierStartTime
5089
+ */
5090
+ interface Request_SetQualifierStartTime {
5091
+ /**
5092
+ * @generated from protobuf field: string tournament_id = 1
5093
+ */
5094
+ tournamentId: string;
5095
+ /**
5096
+ * @generated from protobuf field: string qualifier_id = 2
5097
+ */
5098
+ qualifierId: string;
5099
+ /**
5100
+ * @generated from protobuf field: google.protobuf.Timestamp start_time = 3
5101
+ */
5102
+ startTime?: Timestamp;
5103
+ }
5104
+ /**
5105
+ * @generated MessageType for protobuf message proto.packets.Request.SetQualifierStartTime
5106
+ */
5107
+ declare const Request_SetQualifierStartTime: Request_SetQualifierStartTime$Type;
5108
+ declare class Request_SetQualifierEndTime$Type extends MessageType<Request_SetQualifierEndTime> {
5109
+ constructor();
5110
+ create(value?: PartialMessage<Request_SetQualifierEndTime>): Request_SetQualifierEndTime;
5111
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Request_SetQualifierEndTime): Request_SetQualifierEndTime;
5112
+ internalBinaryWrite(message: Request_SetQualifierEndTime, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
5113
+ }
5114
+ /**
5115
+ * @generated from protobuf message proto.packets.Request.SetQualifierEndTime
5116
+ */
5117
+ interface Request_SetQualifierEndTime {
5118
+ /**
5119
+ * @generated from protobuf field: string tournament_id = 1
5120
+ */
5121
+ tournamentId: string;
5122
+ /**
5123
+ * @generated from protobuf field: string qualifier_id = 2
5124
+ */
5125
+ qualifierId: string;
5126
+ /**
5127
+ * @generated from protobuf field: google.protobuf.Timestamp end_time = 3
5128
+ */
5129
+ endTime?: Timestamp;
5130
+ }
5131
+ /**
5132
+ * @generated MessageType for protobuf message proto.packets.Request.SetQualifierEndTime
5133
+ */
5134
+ declare const Request_SetQualifierEndTime: Request_SetQualifierEndTime$Type;
4556
5135
  declare class Request_AddQualifierMaps$Type extends MessageType<Request_AddQualifierMaps> {
4557
5136
  constructor();
4558
5137
  create(value?: PartialMessage<Request_AddQualifierMaps>): Request_AddQualifierMaps;
@@ -4912,6 +5491,29 @@ interface Request_SetTournamentEnableReplayStreaming {
4912
5491
  * @generated MessageType for protobuf message proto.packets.Request.SetTournamentEnableReplayStreaming
4913
5492
  */
4914
5493
  declare const Request_SetTournamentEnableReplayStreaming: Request_SetTournamentEnableReplayStreaming$Type;
5494
+ declare class Request_SetTournamentAllowMockClients$Type extends MessageType<Request_SetTournamentAllowMockClients> {
5495
+ constructor();
5496
+ create(value?: PartialMessage<Request_SetTournamentAllowMockClients>): Request_SetTournamentAllowMockClients;
5497
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Request_SetTournamentAllowMockClients): Request_SetTournamentAllowMockClients;
5498
+ internalBinaryWrite(message: Request_SetTournamentAllowMockClients, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
5499
+ }
5500
+ /**
5501
+ * @generated from protobuf message proto.packets.Request.SetTournamentAllowMockClients
5502
+ */
5503
+ interface Request_SetTournamentAllowMockClients {
5504
+ /**
5505
+ * @generated from protobuf field: string tournament_id = 1
5506
+ */
5507
+ tournamentId: string;
5508
+ /**
5509
+ * @generated from protobuf field: bool allow_mock_clients = 2
5510
+ */
5511
+ allowMockClients: boolean;
5512
+ }
5513
+ /**
5514
+ * @generated MessageType for protobuf message proto.packets.Request.SetTournamentAllowMockClients
5515
+ */
5516
+ declare const Request_SetTournamentAllowMockClients: Request_SetTournamentAllowMockClients$Type;
4915
5517
  declare class Request_SetTournamentShowTournamentButton$Type extends MessageType<Request_SetTournamentShowTournamentButton> {
4916
5518
  constructor();
4917
5519
  create(value?: PartialMessage<Request_SetTournamentShowTournamentButton>): Request_SetTournamentShowTournamentButton;
@@ -5504,6 +6106,25 @@ interface Request_Join {
5504
6106
  * @generated MessageType for protobuf message proto.packets.Request.Join
5505
6107
  */
5506
6108
  declare const Request_Join: Request_Join$Type;
6109
+ declare class Request_LeaveTournament$Type extends MessageType<Request_LeaveTournament> {
6110
+ constructor();
6111
+ create(value?: PartialMessage<Request_LeaveTournament>): Request_LeaveTournament;
6112
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Request_LeaveTournament): Request_LeaveTournament;
6113
+ internalBinaryWrite(message: Request_LeaveTournament, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
6114
+ }
6115
+ /**
6116
+ * @generated from protobuf message proto.packets.Request.LeaveTournament
6117
+ */
6118
+ interface Request_LeaveTournament {
6119
+ /**
6120
+ * @generated from protobuf field: string tournament_id = 1
6121
+ */
6122
+ tournamentId: string;
6123
+ }
6124
+ /**
6125
+ * @generated MessageType for protobuf message proto.packets.Request.LeaveTournament
6126
+ */
6127
+ declare const Request_LeaveTournament: Request_LeaveTournament$Type;
5507
6128
  declare class Request_QualifierScores$Type extends MessageType<Request_QualifierScores> {
5508
6129
  constructor();
5509
6130
  create(value?: PartialMessage<Request_QualifierScores>): Request_QualifierScores;
@@ -5816,7 +6437,306 @@ interface Request_RefundAttempts {
5816
6437
  /**
5817
6438
  * @generated MessageType for protobuf message proto.packets.Request.RefundAttempts
5818
6439
  */
5819
- declare const Request_RefundAttempts: Request_RefundAttempts$Type;
6440
+ declare const Request_RefundAttempts: Request_RefundAttempts$Type;
6441
+ declare class Request_GetWebhooks$Type extends MessageType<Request_GetWebhooks> {
6442
+ constructor();
6443
+ create(value?: PartialMessage<Request_GetWebhooks>): Request_GetWebhooks;
6444
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Request_GetWebhooks): Request_GetWebhooks;
6445
+ internalBinaryWrite(message: Request_GetWebhooks, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
6446
+ }
6447
+ /**
6448
+ * @generated from protobuf message proto.packets.Request.GetWebhooks
6449
+ */
6450
+ interface Request_GetWebhooks {
6451
+ /**
6452
+ * @generated from protobuf field: string tournament_id = 1
6453
+ */
6454
+ tournamentId: string;
6455
+ }
6456
+ /**
6457
+ * @generated MessageType for protobuf message proto.packets.Request.GetWebhooks
6458
+ */
6459
+ declare const Request_GetWebhooks: Request_GetWebhooks$Type;
6460
+ declare class Request_CreateWebhook$Type extends MessageType<Request_CreateWebhook> {
6461
+ constructor();
6462
+ create(value?: PartialMessage<Request_CreateWebhook>): Request_CreateWebhook;
6463
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Request_CreateWebhook): Request_CreateWebhook;
6464
+ internalBinaryWrite(message: Request_CreateWebhook, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
6465
+ }
6466
+ /**
6467
+ * @generated from protobuf message proto.packets.Request.CreateWebhook
6468
+ */
6469
+ interface Request_CreateWebhook {
6470
+ /**
6471
+ * @generated from protobuf field: string tournament_id = 1
6472
+ */
6473
+ tournamentId: string;
6474
+ /**
6475
+ * @generated from protobuf field: string url = 2
6476
+ */
6477
+ url: string;
6478
+ /**
6479
+ * @generated from protobuf field: int64 triggers = 3
6480
+ */
6481
+ triggers: bigint;
6482
+ /**
6483
+ * @generated from protobuf field: string signing_secret = 4
6484
+ */
6485
+ signingSecret: string;
6486
+ }
6487
+ /**
6488
+ * @generated MessageType for protobuf message proto.packets.Request.CreateWebhook
6489
+ */
6490
+ declare const Request_CreateWebhook: Request_CreateWebhook$Type;
6491
+ declare class Request_UpdateWebhook$Type extends MessageType<Request_UpdateWebhook> {
6492
+ constructor();
6493
+ create(value?: PartialMessage<Request_UpdateWebhook>): Request_UpdateWebhook;
6494
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Request_UpdateWebhook): Request_UpdateWebhook;
6495
+ internalBinaryWrite(message: Request_UpdateWebhook, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
6496
+ }
6497
+ /**
6498
+ * @generated from protobuf message proto.packets.Request.UpdateWebhook
6499
+ */
6500
+ interface Request_UpdateWebhook {
6501
+ /**
6502
+ * @generated from protobuf field: string tournament_id = 1
6503
+ */
6504
+ tournamentId: string;
6505
+ /**
6506
+ * @generated from protobuf field: string webhook_guid = 2
6507
+ */
6508
+ webhookGuid: string;
6509
+ /**
6510
+ * @generated from protobuf field: string url = 3
6511
+ */
6512
+ url: string;
6513
+ /**
6514
+ * @generated from protobuf field: int64 triggers = 4
6515
+ */
6516
+ triggers: bigint;
6517
+ /**
6518
+ * @generated from protobuf field: bool replace_signing_secret = 5
6519
+ */
6520
+ replaceSigningSecret: boolean;
6521
+ /**
6522
+ * @generated from protobuf field: string signing_secret = 6
6523
+ */
6524
+ signingSecret: string;
6525
+ }
6526
+ /**
6527
+ * @generated MessageType for protobuf message proto.packets.Request.UpdateWebhook
6528
+ */
6529
+ declare const Request_UpdateWebhook: Request_UpdateWebhook$Type;
6530
+ declare class Request_DeleteWebhook$Type extends MessageType<Request_DeleteWebhook> {
6531
+ constructor();
6532
+ create(value?: PartialMessage<Request_DeleteWebhook>): Request_DeleteWebhook;
6533
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Request_DeleteWebhook): Request_DeleteWebhook;
6534
+ internalBinaryWrite(message: Request_DeleteWebhook, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
6535
+ }
6536
+ /**
6537
+ * @generated from protobuf message proto.packets.Request.DeleteWebhook
6538
+ */
6539
+ interface Request_DeleteWebhook {
6540
+ /**
6541
+ * @generated from protobuf field: string tournament_id = 1
6542
+ */
6543
+ tournamentId: string;
6544
+ /**
6545
+ * @generated from protobuf field: string webhook_guid = 2
6546
+ */
6547
+ webhookGuid: string;
6548
+ }
6549
+ /**
6550
+ * @generated MessageType for protobuf message proto.packets.Request.DeleteWebhook
6551
+ */
6552
+ declare const Request_DeleteWebhook: Request_DeleteWebhook$Type;
6553
+ declare class Request_GetGlobalConfiguration$Type extends MessageType<Request_GetGlobalConfiguration> {
6554
+ constructor();
6555
+ create(value?: PartialMessage<Request_GetGlobalConfiguration>): Request_GetGlobalConfiguration;
6556
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Request_GetGlobalConfiguration): Request_GetGlobalConfiguration;
6557
+ internalBinaryWrite(message: Request_GetGlobalConfiguration, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
6558
+ }
6559
+ /**
6560
+ * @generated from protobuf message proto.packets.Request.GetGlobalConfiguration
6561
+ */
6562
+ interface Request_GetGlobalConfiguration {
6563
+ }
6564
+ /**
6565
+ * @generated MessageType for protobuf message proto.packets.Request.GetGlobalConfiguration
6566
+ */
6567
+ declare const Request_GetGlobalConfiguration: Request_GetGlobalConfiguration$Type;
6568
+ declare class Request_UpdateGlobalConfiguration$Type extends MessageType<Request_UpdateGlobalConfiguration> {
6569
+ constructor();
6570
+ create(value?: PartialMessage<Request_UpdateGlobalConfiguration>): Request_UpdateGlobalConfiguration;
6571
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Request_UpdateGlobalConfiguration): Request_UpdateGlobalConfiguration;
6572
+ internalBinaryWrite(message: Request_UpdateGlobalConfiguration, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
6573
+ }
6574
+ /**
6575
+ * @generated from protobuf message proto.packets.Request.UpdateGlobalConfiguration
6576
+ */
6577
+ interface Request_UpdateGlobalConfiguration {
6578
+ /**
6579
+ * @generated from protobuf field: proto.models.GlobalConfiguration configuration = 1
6580
+ */
6581
+ configuration?: GlobalConfiguration;
6582
+ }
6583
+ /**
6584
+ * @generated MessageType for protobuf message proto.packets.Request.UpdateGlobalConfiguration
6585
+ */
6586
+ declare const Request_UpdateGlobalConfiguration: Request_UpdateGlobalConfiguration$Type;
6587
+ declare class Request_SetBKTournamentLink$Type extends MessageType<Request_SetBKTournamentLink> {
6588
+ constructor();
6589
+ create(value?: PartialMessage<Request_SetBKTournamentLink>): Request_SetBKTournamentLink;
6590
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Request_SetBKTournamentLink): Request_SetBKTournamentLink;
6591
+ internalBinaryWrite(message: Request_SetBKTournamentLink, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
6592
+ }
6593
+ /**
6594
+ * Links or unlinks an existing TournamentAssistant tournament to BeatKhana.
6595
+ * This operation is restricted to full-access global admins (moon and luna for now).
6596
+ *
6597
+ * @generated from protobuf message proto.packets.Request.SetBKTournamentLink
6598
+ */
6599
+ interface Request_SetBKTournamentLink {
6600
+ /**
6601
+ * @generated from protobuf field: string tournament_id = 1
6602
+ */
6603
+ tournamentId: string;
6604
+ /**
6605
+ * @generated from protobuf field: bool is_bk_tournament = 2
6606
+ */
6607
+ isBkTournament: boolean;
6608
+ /**
6609
+ * @generated from protobuf field: string beat_khana_tournament_guid = 3
6610
+ */
6611
+ beatKhanaTournamentGuid: string;
6612
+ }
6613
+ /**
6614
+ * @generated MessageType for protobuf message proto.packets.Request.SetBKTournamentLink
6615
+ */
6616
+ declare const Request_SetBKTournamentLink: Request_SetBKTournamentLink$Type;
6617
+ declare class Request_CreateBKTournament$Type extends MessageType<Request_CreateBKTournament> {
6618
+ constructor();
6619
+ create(value?: PartialMessage<Request_CreateBKTournament>): Request_CreateBKTournament;
6620
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Request_CreateBKTournament): Request_CreateBKTournament;
6621
+ internalBinaryWrite(message: Request_CreateBKTournament, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
6622
+ }
6623
+ /**
6624
+ * This message is used by the dedicated POST /bks/tournaments REST route.
6625
+ * It is intentionally not part of the general packet oneof.
6626
+ *
6627
+ * @generated from protobuf message proto.packets.Request.CreateBKTournament
6628
+ */
6629
+ interface Request_CreateBKTournament {
6630
+ /**
6631
+ * @generated from protobuf field: string beat_khana_tournament_guid = 1
6632
+ */
6633
+ beatKhanaTournamentGuid: string;
6634
+ /**
6635
+ * @generated from protobuf field: proto.models.Tournament tournament = 2
6636
+ */
6637
+ tournament?: Tournament;
6638
+ /**
6639
+ * @generated from protobuf field: proto.packets.Request.CreateBKTournament.BeatKhanaUser organizer = 3
6640
+ */
6641
+ organizer?: Request_CreateBKTournament_BeatKhanaUser;
6642
+ /**
6643
+ * @generated from protobuf field: repeated string organizer_permissions = 4
6644
+ */
6645
+ organizerPermissions: string[];
6646
+ /**
6647
+ * @generated from protobuf field: repeated proto.models.Role roles = 5
6648
+ */
6649
+ roles: Role[];
6650
+ /**
6651
+ * @generated from protobuf field: repeated proto.packets.Request.CreateBKTournament.AuthorizedUser authorized_users = 6
6652
+ */
6653
+ authorizedUsers: Request_CreateBKTournament_AuthorizedUser[];
6654
+ /**
6655
+ * @generated from protobuf field: repeated proto.packets.Request.CreateBKTournament.WebhookRegistration webhooks = 7
6656
+ */
6657
+ webhooks: Request_CreateBKTournament_WebhookRegistration[];
6658
+ }
6659
+ /**
6660
+ * @generated MessageType for protobuf message proto.packets.Request.CreateBKTournament
6661
+ */
6662
+ declare const Request_CreateBKTournament: Request_CreateBKTournament$Type;
6663
+ declare class Request_CreateBKTournament_BeatKhanaUser$Type extends MessageType<Request_CreateBKTournament_BeatKhanaUser> {
6664
+ constructor();
6665
+ create(value?: PartialMessage<Request_CreateBKTournament_BeatKhanaUser>): Request_CreateBKTournament_BeatKhanaUser;
6666
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Request_CreateBKTournament_BeatKhanaUser): Request_CreateBKTournament_BeatKhanaUser;
6667
+ internalBinaryWrite(message: Request_CreateBKTournament_BeatKhanaUser, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
6668
+ }
6669
+ /**
6670
+ * @generated from protobuf message proto.packets.Request.CreateBKTournament.BeatKhanaUser
6671
+ */
6672
+ interface Request_CreateBKTournament_BeatKhanaUser {
6673
+ /**
6674
+ * @generated from protobuf field: string discord_id = 1
6675
+ */
6676
+ discordId: string;
6677
+ /**
6678
+ * @generated from protobuf field: string preferred_name = 2
6679
+ */
6680
+ preferredName: string;
6681
+ /**
6682
+ * @generated from protobuf field: string avatar_url = 3
6683
+ */
6684
+ avatarUrl: string;
6685
+ }
6686
+ /**
6687
+ * @generated MessageType for protobuf message proto.packets.Request.CreateBKTournament.BeatKhanaUser
6688
+ */
6689
+ declare const Request_CreateBKTournament_BeatKhanaUser: Request_CreateBKTournament_BeatKhanaUser$Type;
6690
+ declare class Request_CreateBKTournament_AuthorizedUser$Type extends MessageType<Request_CreateBKTournament_AuthorizedUser> {
6691
+ constructor();
6692
+ create(value?: PartialMessage<Request_CreateBKTournament_AuthorizedUser>): Request_CreateBKTournament_AuthorizedUser;
6693
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Request_CreateBKTournament_AuthorizedUser): Request_CreateBKTournament_AuthorizedUser;
6694
+ internalBinaryWrite(message: Request_CreateBKTournament_AuthorizedUser, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
6695
+ }
6696
+ /**
6697
+ * @generated from protobuf message proto.packets.Request.CreateBKTournament.AuthorizedUser
6698
+ */
6699
+ interface Request_CreateBKTournament_AuthorizedUser {
6700
+ /**
6701
+ * @generated from protobuf field: proto.packets.Request.CreateBKTournament.BeatKhanaUser user = 1
6702
+ */
6703
+ user?: Request_CreateBKTournament_BeatKhanaUser;
6704
+ /**
6705
+ * @generated from protobuf field: repeated string role_ids = 2
6706
+ */
6707
+ roleIds: string[];
6708
+ }
6709
+ /**
6710
+ * @generated MessageType for protobuf message proto.packets.Request.CreateBKTournament.AuthorizedUser
6711
+ */
6712
+ declare const Request_CreateBKTournament_AuthorizedUser: Request_CreateBKTournament_AuthorizedUser$Type;
6713
+ declare class Request_CreateBKTournament_WebhookRegistration$Type extends MessageType<Request_CreateBKTournament_WebhookRegistration> {
6714
+ constructor();
6715
+ create(value?: PartialMessage<Request_CreateBKTournament_WebhookRegistration>): Request_CreateBKTournament_WebhookRegistration;
6716
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Request_CreateBKTournament_WebhookRegistration): Request_CreateBKTournament_WebhookRegistration;
6717
+ internalBinaryWrite(message: Request_CreateBKTournament_WebhookRegistration, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
6718
+ }
6719
+ /**
6720
+ * @generated from protobuf message proto.packets.Request.CreateBKTournament.WebhookRegistration
6721
+ */
6722
+ interface Request_CreateBKTournament_WebhookRegistration {
6723
+ /**
6724
+ * @generated from protobuf field: string url = 1
6725
+ */
6726
+ url: string;
6727
+ /**
6728
+ * @generated from protobuf field: int64 triggers = 2
6729
+ */
6730
+ triggers: bigint;
6731
+ /**
6732
+ * @generated from protobuf field: string signing_secret = 3
6733
+ */
6734
+ signingSecret: string;
6735
+ }
6736
+ /**
6737
+ * @generated MessageType for protobuf message proto.packets.Request.CreateBKTournament.WebhookRegistration
6738
+ */
6739
+ declare const Request_CreateBKTournament_WebhookRegistration: Request_CreateBKTournament_WebhookRegistration$Type;
5820
6740
 
5821
6741
  /**
5822
6742
  * @generated from protobuf enum proto.packets.Push.SongFinished.CompletionType
@@ -6389,6 +7309,7 @@ declare class TAClient extends CustomEventEmitter<TAClientEvents> {
6389
7309
  showColor: (tournamentId: string, color: string, userIds: string[]) => void;
6390
7310
  delayTestFinished: (tournamentId: string, userIds: string[]) => void;
6391
7311
  joinTournament: (tournamentId: string) => Promise<Response>;
7312
+ leaveTournament: (tournamentId: string) => Promise<Response>;
6392
7313
  getLeaderboard: (tournamentId: string, qualifierId: string, mapId: string) => Promise<Response>;
6393
7314
  loadSong: (tournamentId: string, levelId: string, userIds: string[], timeout?: number) => Promise<ResponseFromUser[]>;
6394
7315
  loadImage: (tournamentId: string, bitmap: Uint8Array, userIds: string[]) => Promise<ResponseFromUser[]>;
@@ -6402,12 +7323,14 @@ declare class TAClient extends CustomEventEmitter<TAClientEvents> {
6402
7323
  setMatchLeader: (tournamentId: string, matchId: string, userId: string) => Promise<Response>;
6403
7324
  setMatchMap: (tournamentId: string, matchId: string, map: Map) => Promise<Response>;
6404
7325
  deleteMatch: (tournamentId: string, matchId: string) => Promise<Response>;
6405
- createQualifierEvent: (tournamentId: string, name: string, infoChannelId: string, maps: Map[], flags: QualifierEvent_EventSettings, sort: QualifierEvent_LeaderboardSort, qualifierImage: Uint8Array) => Promise<Response>;
7326
+ createQualifierEvent: (tournamentId: string, name: string, infoChannelId: string, maps: Map[], flags: QualifierEvent_EventSettings, sort: QualifierEvent_LeaderboardSort, qualifierImage: Uint8Array, startTime?: Date, endTime?: Date) => Promise<Response>;
6406
7327
  setQualifierName: (tournamentId: string, qualifierId: string, qualifierName: string) => Promise<Response>;
6407
7328
  setQualifierImage: (tournamentId: string, qualifierId: string, qualifierImage: Uint8Array) => Promise<Response>;
6408
7329
  setQualifierInfoChannel: (tournamentId: string, qualifierId: string, infoChannel: Channel) => Promise<Response>;
6409
7330
  setQualifierFlags: (tournamentId: string, qualifierId: string, qualifierFlags: QualifierEvent_EventSettings) => Promise<Response>;
6410
7331
  setQualifierLeaderboardSort: (tournamentId: string, qualifierId: string, qualifierLeaderboardSort: QualifierEvent_LeaderboardSort) => Promise<Response>;
7332
+ setQualifierStartTime: (tournamentId: string, qualifierId: string, startTime?: Date) => Promise<Response>;
7333
+ setQualifierEndTime: (tournamentId: string, qualifierId: string, endTime?: Date) => Promise<Response>;
6411
7334
  addQualifierMaps: (tournamentId: string, qualifierId: string, maps: Map[]) => Promise<Response>;
6412
7335
  updateQualifierMap: (tournamentId: string, qualifierId: string, map: Map) => Promise<Response>;
6413
7336
  removeQualifierMap: (tournamentId: string, qualifierId: string, mapId: string) => Promise<Response>;
@@ -6419,12 +7342,17 @@ declare class TAClient extends CustomEventEmitter<TAClientEvents> {
6419
7342
  getBotTokensForUser: (ownerDiscordId: string) => Promise<Response>;
6420
7343
  generateBotToken: (username: string) => Promise<Response>;
6421
7344
  revokeBotToken: (botTokenGuid: string) => Promise<Response>;
6422
- createTournament: (serverAddress: string, serverName: string, serverPort: string, serverWebsocketPort: string, name: string, tournamentImage?: Uint8Array, enableTeams?: boolean, enablePools?: boolean, showTournamentButton?: boolean, showQualifierButton?: boolean, roles?: Role[], teams?: Tournament_TournamentSettings_Team[], scoreUpdateFrequency?: number, bannedMods?: string[], pools?: Tournament_TournamentSettings_Pool[], allowUnauthorizedView?: boolean, enableReplayStreaming?: boolean) => Promise<Response>;
7345
+ getWebhooks: (tournamentId: string) => Promise<Response>;
7346
+ createWebhook: (tournamentId: string, url: string, triggers: bigint, signingSecret?: string) => Promise<Response>;
7347
+ updateWebhook: (tournamentId: string, webhookGuid: string, url: string, triggers: bigint, replaceSigningSecret?: boolean, signingSecret?: string) => Promise<Response>;
7348
+ deleteWebhook: (tournamentId: string, webhookGuid: string) => Promise<Response>;
7349
+ createTournament: (serverAddress: string, serverName: string, serverPort: string, serverWebsocketPort: string, name: string, tournamentImage?: Uint8Array, enableTeams?: boolean, enablePools?: boolean, showTournamentButton?: boolean, showQualifierButton?: boolean, roles?: Role[], teams?: Tournament_TournamentSettings_Team[], scoreUpdateFrequency?: number, bannedMods?: string[], pools?: Tournament_TournamentSettings_Pool[], allowUnauthorizedView?: boolean, enableReplayStreaming?: boolean, allowMockClients?: boolean) => Promise<Response>;
6423
7350
  setTournamentName: (tournamentId: string, tournamentName: string) => Promise<Response>;
6424
7351
  setTournamentImage: (tournamentId: string, tournamentImage: Uint8Array) => Promise<Response>;
6425
7352
  setTournamentEnableTeams: (tournamentId: string, enableTeams: boolean) => Promise<Response>;
6426
7353
  setTournamentEnablePools: (tournamentId: string, enablePools: boolean) => Promise<Response>;
6427
7354
  setTournamentEnableReplayStreaming: (tournamentId: string, enableReplayStreaming: boolean) => Promise<Response>;
7355
+ setTournamentAllowMockClients: (tournamentId: string, allowMockClients: boolean) => Promise<Response>;
6428
7356
  setTournamentShowTournamentButton: (tournamentId: string, showTournamentButton: boolean) => Promise<Response>;
6429
7357
  setTournamentShowQualifierButton: (tournamentId: string, showQualifierButton: boolean) => Promise<Response>;
6430
7358
  setTournamentAllowUnauthorizedView: (tournamentId: string, allowUnauthorizedView: boolean) => Promise<Response>;
@@ -6447,13 +7375,17 @@ declare class TAClient extends CustomEventEmitter<TAClientEvents> {
6447
7375
  removeTournamentPool: (tournamentId: string, poolId: string) => Promise<Response>;
6448
7376
  deleteTournament: (tournamentId: string) => Promise<Response>;
6449
7377
  addServer: (server: CoreServer, authToken?: string) => Promise<Response>;
7378
+ getGlobalConfiguration: () => Promise<Response>;
7379
+ updateGlobalConfiguration: (configuration: GlobalConfiguration) => Promise<Response>;
7380
+ setBKTournamentLink: (tournamentId: string, isBKTournament: boolean, beatKhanaTournamentGuid: string) => Promise<Response>;
6450
7381
  }
6451
7382
 
6452
7383
  declare const masterAddress = "server.tournamentassistant.net";
6453
7384
  declare const masterPort = "8676";
6454
7385
  declare const masterApiPort = "8678";
6455
- declare const version = "1.3.1";
6456
- declare const versionCode = 1310;
6457
- type Permission = "tournament:view_tournament_in_list" | "tournament:join" | "tournament:settings:add_authorized_users" | "tournament:settings:update_authorized_user_roles" | "tournament:settings:remove_authorized_users" | "tournament:settings:get_authorized_users" | "tournament:settings:get_discord_info" | "tournament:qualifier:get_qualifier_scores" | "tournament:qualifier:submit_qualifier_scores" | "tournament:qualifier:see_hidden_qualifier_scores" | "tournament:qualifier:get_remaining_attempts" | "tournament:qualifier:refund_attempts" | "tournament:player:return_to_menu" | "tournament:player:play_song" | "tournament:player:play_with_stream_sync" | "tournament:player:modify_gameplay" | "tournament:player:load_song" | "tournament:player:show_prompt" | "tournament:match:create_match" | "tournament:match:add_user_to_match" | "tournament:match:remove_user_from_match" | "tournament:match:set_match_leader" | "tournament:match:set_match_map" | "tournament:match:delete_match" | "tournament:qualifier:create" | "tournament:qualifier:set_name" | "tournament:qualifier:set_image" | "tournament:qualifier:set_info_channel" | "tournament:qualifier:set_flags" | "tournament:qualifier:set_leaderboard_sort" | "tournament:qualifier:add_maps" | "tournament:qualifier:update_map" | "tournament:qualifier:remove_map" | "tournament:qualifier:delete" | "tournament:settings:set_name" | "tournament:settings:set_image" | "tournament:settings:set_enable_teams" | "tournament:settings:set_enable_pools" | "tournament:settings:set_show_tournament_button" | "tournament:settings:set_show_qualifier_button" | "tournament:settings:set_allow_unauthorized_view" | "tournament:settings:set_score_update_frequency" | "tournament:settings:set_banned_mods" | "tournament:settings:add_team" | "tournament:settings:set_team_name" | "tournament:settings:set_team_image" | "tournament:settings:remove_team" | "tournament:settings:add_pool" | "tournament:settings:set_pool_name" | "tournament:settings:set_pool_image" | "tournament:settings:add_pool_maps" | "tournament:settings:update_pool_maps" | "tournament:settings:remove_pool_maps" | "tournament:settings:remove_pools" | "tournament:settings:add_role" | "tournament:settings:set_role_name" | "tournament:settings:set_role_permissions" | "tournament:settings:remove_role" | "tournament:settings:delete";
7386
+ declare const version = "1.3.3";
7387
+ declare const versionCode = 1330;
7388
+ type Permission = "tournament:view_tournament_in_list" | "tournament:join" | "tournament:settings:add_authorized_users" | "tournament:settings:update_authorized_user_roles" | "tournament:settings:remove_authorized_users" | "tournament:settings:get_authorized_users" | "tournament:settings:get_discord_info" | "tournament:qualifier:get_qualifier_scores" | "tournament:qualifier:submit_qualifier_scores" | "tournament:qualifier:see_hidden_qualifier_scores" | "tournament:qualifier:get_remaining_attempts" | "tournament:qualifier:refund_attempts" | "tournament:player:return_to_menu" | "tournament:player:play_song" | "tournament:player:play_with_stream_sync" | "tournament:player:modify_gameplay" | "tournament:player:load_song" | "tournament:player:show_prompt" | "tournament:match:create_match" | "tournament:match:add_user_to_match" | "tournament:match:remove_user_from_match" | "tournament:match:set_match_leader" | "tournament:match:set_match_map" | "tournament:match:delete_match" | "tournament:qualifier:create" | "tournament:qualifier:set_name" | "tournament:qualifier:set_image" | "tournament:qualifier:set_info_channel" | "tournament:qualifier:set_flags" | "tournament:qualifier:set_leaderboard_sort" | "tournament:qualifier:set_start_time" | "tournament:qualifier:set_end_time" | "tournament:qualifier:add_maps" | "tournament:qualifier:update_map" | "tournament:qualifier:remove_map" | "tournament:qualifier:delete" | "tournament:webhooks:manage" | "tournament:settings:set_name" | "tournament:settings:set_image" | "tournament:settings:set_enable_teams" | "tournament:settings:set_enable_pools" | "tournament:settings:set_allow_mock_clients" | "tournament:settings:set_show_tournament_button" | "tournament:settings:set_show_qualifier_button" | "tournament:settings:set_allow_unauthorized_view" | "tournament:settings:set_score_update_frequency" | "tournament:settings:set_banned_mods" | "tournament:settings:add_team" | "tournament:settings:set_team_name" | "tournament:settings:set_team_image" | "tournament:settings:remove_team" | "tournament:settings:add_pool" | "tournament:settings:set_pool_name" | "tournament:settings:set_pool_image" | "tournament:settings:add_pool_maps" | "tournament:settings:update_pool_maps" | "tournament:settings:remove_pool_maps" | "tournament:settings:remove_pools" | "tournament:settings:add_role" | "tournament:settings:set_role_name" | "tournament:settings:set_role_permissions" | "tournament:settings:remove_role" | "tournament:settings:delete";
6458
7389
 
6459
- export { Acknowledgement, Acknowledgement_AcknowledgementType, Beatmap, BeatmapIdentity, Channel, Characteristic, Command, Command_ModifyGameplay, Command_ModifyGameplay_Modifier, Command_PlaySong, Command_ShowColorForStreamSync, CoreServer, CustomEventEmitter, DiscordUser, Event, Event_MatchCreated, Event_MatchDeleted, Event_MatchUpdated, Event_QualifierCreated, Event_QualifierDeleted, Event_QualifierUpdated, Event_ServerAdded, Event_ServerDeleted, Event_TournamentCreated, Event_TournamentDeleted, Event_TournamentUpdated, Event_UserAdded, Event_UserLeft, Event_UserUpdated, ForwardingPacket, GameplayModifiers, GameplayModifiers_GameOptions, GameplayParameters, Guild, LeaderboardEntry, LogLevel, Map, Match, Packet, type Permission, PlayerIdentity, PlayerSpecificSettings, PlayerSpecificSettings_ArcVisibilityType, PlayerSpecificSettings_NoteJumpDurationTypeSettings, PlayerSpecificSettings_PlayerOptions, Push, Push_QualifierScoreSubmitted, Push_SongFinished, Push_SongFinished_CompletionType, QualifierEvent, QualifierEvent_EventSettings, QualifierEvent_LeaderboardSort, RealtimeScore, ReplayChunk, ReplayColor, ReplayComboEvent, ReplayCompletion, ReplayCursor, ReplayEnergyEvent, ReplayEventCounts, ReplayExtension, ReplayHeightEvent, ReplayMultiplierEvent, ReplayNoteEvent, ReplayNoteEventType, ReplayNoteId, ReplayPauseEvent, ReplayPlatform, ReplayPose, ReplayPoseFrame, ReplayQuaternion, ReplayScoreEvent, ReplayScoreSummary, ReplayStreamEnd, ReplayStreamPacket, ReplayStreamStart, ReplayVector3, Request, Request_AddAuthorizedUser, Request_AddQualifierMaps, Request_AddServer, Request_AddTournamentPool, Request_AddTournamentPoolMaps, Request_AddTournamentRole, Request_AddTournamentTeam, Request_AddUserToMatch, Request_Connect, Request_CreateMatch, Request_CreateQualifierEvent, Request_CreateTournament, Request_DeleteMatch, Request_DeleteQualifierEvent, Request_DeleteTournament, Request_GenerateBotToken, Request_GetAuthorizedUsers, Request_GetBotTokensForUser, Request_GetDiscordInfo, Request_Join, Request_LoadSong, Request_PreloadImageForStreamSync, Request_QualifierScores, Request_RefundAttempts, Request_RemainingAttempts, Request_RemoveAuthorizedUser, Request_RemoveQualifierMap, Request_RemoveTournamentPool, Request_RemoveTournamentPoolMap, Request_RemoveTournamentRole, Request_RemoveTournamentTeam, Request_RemoveUserFromMatch, Request_RevokeBotToken, Request_SetMatchLeader, Request_SetMatchMap, Request_SetQualifierFlags, Request_SetQualifierImage, Request_SetQualifierInfoChannel, Request_SetQualifierLeaderboardSort, Request_SetQualifierName, Request_SetTournamentAllowUnauthorizedView, Request_SetTournamentBannedMods, Request_SetTournamentEnablePools, Request_SetTournamentEnableReplayStreaming, Request_SetTournamentEnableTeams, Request_SetTournamentImage, Request_SetTournamentName, Request_SetTournamentPoolImage, Request_SetTournamentPoolName, Request_SetTournamentRoleName, Request_SetTournamentRolePermissions, Request_SetTournamentScoreUpdateFrequency, Request_SetTournamentShowQualifierButton, Request_SetTournamentShowTournamentButton, Request_SetTournamentTeamImage, Request_SetTournamentTeamName, Request_ShowPrompt, Request_ShowPrompt_PromptOption, Request_SubmitQualifierScore, Request_UpdateAuthorizedUserRoles, Request_UpdateQualifierMap, Request_UpdateTournamentPoolMap, Request_UpdateUser, Response, type ResponseFromUser, Response_AddAuthorizedUser, Response_AddServer, Response_Connect, Response_Connect_ConnectFailReason, Response_CreateMatch, Response_CreateQualifierEvent, Response_CreateTournament, Response_DeleteMatch, Response_DeleteQualifierEvent, Response_DeleteTournament, Response_GenerateBotToken, Response_GetAuthorizedUsers, Response_GetAuthorizedUsers_AuthroizedUser, Response_GetBotTokensForUser, Response_GetBotTokensForUser_BotUser, Response_GetDiscordInfo, Response_Join, Response_Join_JoinFailReason, Response_LeaderboardEntries, Response_LoadSong, Response_PermissionError, Response_PreloadImageForStreamSync, Response_RefundAttempts, Response_RemainingAttempts, Response_RemoveAuthorizedUser, Response_ResponseType, Response_RevokeBotToken, Response_ShowPrompt, Response_UpdateAuthorizedUser, Response_UpdateMatch, Response_UpdateQualifierEvent, Response_UpdateTournament, Response_UpdateUser, Role, ScoreTrackerHand, State, StreamReplayEventBatch, StreamReplayMetadata, TAClient, Tournament, Tournament_TournamentSettings, Tournament_TournamentSettings_Pool, Tournament_TournamentSettings_Team, User, User_ClientTypes, User_DiscordInfo, User_DownloadStates, User_PlayStates, User_Point, getTournaments, masterAddress, masterApiPort, masterPort, version, versionCode };
7390
+ export { Acknowledgement, Acknowledgement_AcknowledgementType, Beatmap, BeatmapIdentity, Channel, Characteristic, Command, Command_ModifyGameplay, Command_ModifyGameplay_Modifier, Command_PlaySong, Command_ShowColorForStreamSync, CoreServer, CustomEventEmitter, DiscordUser, EndpointAccess, Event, Event_MatchCreated, Event_MatchDeleted, Event_MatchUpdated, Event_QualifierCreated, Event_QualifierDeleted, Event_QualifierUpdated, Event_ServerAdded, Event_ServerDeleted, Event_TournamentCreated, Event_TournamentDeleted, Event_TournamentUpdated, Event_UserAdded, Event_UserLeft, Event_UserUpdated, ForwardingPacket, GameplayModifiers, GameplayModifiers_GameOptions, GameplayParameters, GlobalConfiguration, Guild, LeaderboardEntry, LogLevel, Map, Match, Packet, PlayerIdentity, PlayerSpecificSettings, PlayerSpecificSettings_ArcVisibilityType, PlayerSpecificSettings_NoteJumpDurationTypeSettings, PlayerSpecificSettings_PlayerOptions, Push, Push_QualifierScoreSubmitted, Push_SongFinished, Push_SongFinished_CompletionType, QualifierEvent, QualifierEvent_EventSettings, QualifierEvent_LeaderboardSort, RealtimeScore, ReplayChunk, ReplayColor, ReplayComboEvent, ReplayCompletion, ReplayCursor, ReplayEnergyEvent, ReplayEventCounts, ReplayExtension, ReplayHeightEvent, ReplayMultiplierEvent, ReplayNoteEvent, ReplayNoteEventType, ReplayNoteId, ReplayPauseEvent, ReplayPlatform, ReplayPose, ReplayPoseFrame, ReplayQuaternion, ReplayScoreEvent, ReplayScoreSummary, ReplayStreamEnd, ReplayStreamPacket, ReplayStreamStart, ReplayVector3, Request, Request_AddAuthorizedUser, Request_AddQualifierMaps, Request_AddServer, Request_AddTournamentPool, Request_AddTournamentPoolMaps, Request_AddTournamentRole, Request_AddTournamentTeam, Request_AddUserToMatch, Request_Connect, Request_CreateBKTournament, Request_CreateBKTournament_AuthorizedUser, Request_CreateBKTournament_BeatKhanaUser, Request_CreateBKTournament_WebhookRegistration, Request_CreateMatch, Request_CreateQualifierEvent, Request_CreateTournament, Request_CreateWebhook, Request_DeleteMatch, Request_DeleteQualifierEvent, Request_DeleteTournament, Request_DeleteWebhook, Request_GenerateBotToken, Request_GetAuthorizedUsers, Request_GetBotTokensForUser, Request_GetDiscordInfo, Request_GetGlobalConfiguration, Request_GetWebhooks, Request_Join, Request_LeaveTournament, Request_LoadSong, Request_PreloadImageForStreamSync, Request_QualifierScores, Request_RefundAttempts, Request_RemainingAttempts, Request_RemoveAuthorizedUser, Request_RemoveQualifierMap, Request_RemoveTournamentPool, Request_RemoveTournamentPoolMap, Request_RemoveTournamentRole, Request_RemoveTournamentTeam, Request_RemoveUserFromMatch, Request_RevokeBotToken, Request_SetBKTournamentLink, Request_SetMatchLeader, Request_SetMatchMap, Request_SetQualifierEndTime, Request_SetQualifierFlags, Request_SetQualifierImage, Request_SetQualifierInfoChannel, Request_SetQualifierLeaderboardSort, Request_SetQualifierName, Request_SetQualifierStartTime, Request_SetTournamentAllowMockClients, Request_SetTournamentAllowUnauthorizedView, Request_SetTournamentBannedMods, Request_SetTournamentEnablePools, Request_SetTournamentEnableReplayStreaming, Request_SetTournamentEnableTeams, Request_SetTournamentImage, Request_SetTournamentName, Request_SetTournamentPoolImage, Request_SetTournamentPoolName, Request_SetTournamentRoleName, Request_SetTournamentRolePermissions, Request_SetTournamentScoreUpdateFrequency, Request_SetTournamentShowQualifierButton, Request_SetTournamentShowTournamentButton, Request_SetTournamentTeamImage, Request_SetTournamentTeamName, Request_ShowPrompt, Request_ShowPrompt_PromptOption, Request_SubmitQualifierScore, Request_UpdateAuthorizedUserRoles, Request_UpdateGlobalConfiguration, Request_UpdateQualifierMap, Request_UpdateTournamentPoolMap, Request_UpdateUser, Request_UpdateWebhook, Response, Response_AddAuthorizedUser, Response_AddServer, Response_Connect, Response_Connect_ConnectFailReason, Response_CreateBKTournament, Response_CreateMatch, Response_CreateQualifierEvent, Response_CreateTournament, Response_CreateWebhook, Response_DeleteMatch, Response_DeleteQualifierEvent, Response_DeleteTournament, Response_DeleteWebhook, Response_GenerateBotToken, Response_GetAuthorizedUsers, Response_GetAuthorizedUsers_AuthroizedUser, Response_GetBotTokensForUser, Response_GetBotTokensForUser_BotUser, Response_GetDiscordInfo, Response_GetGlobalConfiguration, Response_GetWebhooks, Response_Join, Response_Join_JoinFailReason, Response_LeaderboardEntries, Response_LeaveTournament, Response_LoadSong, Response_PermissionError, Response_PreloadImageForStreamSync, Response_RefundAttempts, Response_RemainingAttempts, Response_RemoveAuthorizedUser, Response_ResponseType, Response_RevokeBotToken, Response_SetBKTournamentLink, Response_ShowPrompt, Response_UpdateAuthorizedUser, Response_UpdateGlobalConfiguration, Response_UpdateMatch, Response_UpdateQualifierEvent, Response_UpdateTournament, Response_UpdateUser, Response_UpdateWebhook, Role, ScoreTrackerHand, State, StreamReplayEventBatch, StreamReplayMetadata, TAClient, Timestamp, Tournament, Tournament_TournamentSettings, Tournament_TournamentSettings_Pool, Tournament_TournamentSettings_Team, User, User_ClientTypes, User_DiscordInfo, User_DownloadStates, User_PlayStates, User_Point, Webhook, Webhook_Trigger, getTournaments, masterAddress, masterApiPort, masterPort, version, versionCode };
7391
+ export type { Permission, ResponseFromUser };