moons-ta-client 1.3.2 → 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.
@@ -758,6 +758,68 @@ export declare enum Webhook_Trigger {
758
758
  */
759
759
  All = 8191
760
760
  }
761
+ /**
762
+ * @generated from protobuf message proto.models.EndpointAccess
763
+ */
764
+ export interface EndpointAccess {
765
+ /**
766
+ * @generated from protobuf field: string endpoint_id = 1
767
+ */
768
+ endpointId: string;
769
+ /**
770
+ * @generated from protobuf field: string display_name = 2
771
+ */
772
+ displayName: string;
773
+ /**
774
+ * @generated from protobuf field: string route = 3
775
+ */
776
+ route: string;
777
+ /**
778
+ * @generated from protobuf field: bool supports_websocket = 4
779
+ */
780
+ supportsWebsocket: boolean;
781
+ /**
782
+ * @generated from protobuf field: bool supports_rest = 5
783
+ */
784
+ supportsRest: boolean;
785
+ /**
786
+ * @generated from protobuf field: bool supports_player = 6
787
+ */
788
+ supportsPlayer: boolean;
789
+ /**
790
+ * @generated from protobuf field: bool websocket_enabled = 7
791
+ */
792
+ websocketEnabled: boolean;
793
+ /**
794
+ * @generated from protobuf field: bool rest_enabled = 8
795
+ */
796
+ restEnabled: boolean;
797
+ /**
798
+ * @generated from protobuf field: bool player_enabled = 9
799
+ */
800
+ playerEnabled: boolean;
801
+ /**
802
+ * @generated from protobuf field: bool is_core = 10
803
+ */
804
+ isCore: boolean;
805
+ }
806
+ /**
807
+ * @generated from protobuf message proto.models.GlobalConfiguration
808
+ */
809
+ export interface GlobalConfiguration {
810
+ /**
811
+ * @generated from protobuf field: repeated string full_access_discord_ids = 1
812
+ */
813
+ fullAccessDiscordIds: string[];
814
+ /**
815
+ * @generated from protobuf field: repeated string endpoint_manager_discord_ids = 2
816
+ */
817
+ endpointManagerDiscordIds: string[];
818
+ /**
819
+ * @generated from protobuf field: repeated proto.models.EndpointAccess endpoints = 3
820
+ */
821
+ endpoints: EndpointAccess[];
822
+ }
761
823
  /**
762
824
  * @generated from protobuf message proto.models.Tournament
763
825
  */
@@ -851,6 +913,14 @@ export interface Tournament_TournamentSettings {
851
913
  * @generated from protobuf field: bool allow_mock_clients = 15
852
914
  */
853
915
  allowMockClients: boolean;
916
+ /**
917
+ * @generated from protobuf field: bool is_bk_tournament = 16
918
+ */
919
+ isBkTournament: boolean;
920
+ /**
921
+ * @generated from protobuf field: string beat_khana_tournament_guid = 17
922
+ */
923
+ beatKhanaTournamentGuid: string;
854
924
  }
855
925
  /**
856
926
  * @generated from protobuf message proto.models.Tournament.TournamentSettings.Pool
@@ -1206,6 +1276,26 @@ declare class Webhook$Type extends MessageType<Webhook> {
1206
1276
  * @generated MessageType for protobuf message proto.models.Webhook
1207
1277
  */
1208
1278
  export declare const Webhook: Webhook$Type;
1279
+ declare class EndpointAccess$Type extends MessageType<EndpointAccess> {
1280
+ constructor();
1281
+ create(value?: PartialMessage<EndpointAccess>): EndpointAccess;
1282
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EndpointAccess): EndpointAccess;
1283
+ internalBinaryWrite(message: EndpointAccess, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1284
+ }
1285
+ /**
1286
+ * @generated MessageType for protobuf message proto.models.EndpointAccess
1287
+ */
1288
+ export declare const EndpointAccess: EndpointAccess$Type;
1289
+ declare class GlobalConfiguration$Type extends MessageType<GlobalConfiguration> {
1290
+ constructor();
1291
+ create(value?: PartialMessage<GlobalConfiguration>): GlobalConfiguration;
1292
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GlobalConfiguration): GlobalConfiguration;
1293
+ internalBinaryWrite(message: GlobalConfiguration, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1294
+ }
1295
+ /**
1296
+ * @generated MessageType for protobuf message proto.models.GlobalConfiguration
1297
+ */
1298
+ export declare const GlobalConfiguration: GlobalConfiguration$Type;
1209
1299
  declare class Tournament$Type extends MessageType<Tournament> {
1210
1300
  constructor();
1211
1301
  create(value?: PartialMessage<Tournament>): Tournament;
@@ -1532,6 +1532,188 @@ class Webhook$Type extends MessageType {
1532
1532
  */
1533
1533
  export const Webhook = new Webhook$Type();
1534
1534
  // @generated message type with reflection information, may provide speed optimized methods
1535
+ class EndpointAccess$Type extends MessageType {
1536
+ constructor() {
1537
+ super("proto.models.EndpointAccess", [
1538
+ { no: 1, name: "endpoint_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1539
+ { no: 2, name: "display_name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1540
+ { no: 3, name: "route", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
1541
+ { no: 4, name: "supports_websocket", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
1542
+ { no: 5, name: "supports_rest", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
1543
+ { no: 6, name: "supports_player", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
1544
+ { no: 7, name: "websocket_enabled", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
1545
+ { no: 8, name: "rest_enabled", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
1546
+ { no: 9, name: "player_enabled", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
1547
+ { no: 10, name: "is_core", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
1548
+ ]);
1549
+ }
1550
+ create(value) {
1551
+ const message = globalThis.Object.create((this.messagePrototype));
1552
+ message.endpointId = "";
1553
+ message.displayName = "";
1554
+ message.route = "";
1555
+ message.supportsWebsocket = false;
1556
+ message.supportsRest = false;
1557
+ message.supportsPlayer = false;
1558
+ message.websocketEnabled = false;
1559
+ message.restEnabled = false;
1560
+ message.playerEnabled = false;
1561
+ message.isCore = false;
1562
+ if (value !== undefined)
1563
+ reflectionMergePartial(this, message, value);
1564
+ return message;
1565
+ }
1566
+ internalBinaryRead(reader, length, options, target) {
1567
+ let message = target ?? this.create(), end = reader.pos + length;
1568
+ while (reader.pos < end) {
1569
+ let [fieldNo, wireType] = reader.tag();
1570
+ switch (fieldNo) {
1571
+ case /* string endpoint_id */ 1:
1572
+ message.endpointId = reader.string();
1573
+ break;
1574
+ case /* string display_name */ 2:
1575
+ message.displayName = reader.string();
1576
+ break;
1577
+ case /* string route */ 3:
1578
+ message.route = reader.string();
1579
+ break;
1580
+ case /* bool supports_websocket */ 4:
1581
+ message.supportsWebsocket = reader.bool();
1582
+ break;
1583
+ case /* bool supports_rest */ 5:
1584
+ message.supportsRest = reader.bool();
1585
+ break;
1586
+ case /* bool supports_player */ 6:
1587
+ message.supportsPlayer = reader.bool();
1588
+ break;
1589
+ case /* bool websocket_enabled */ 7:
1590
+ message.websocketEnabled = reader.bool();
1591
+ break;
1592
+ case /* bool rest_enabled */ 8:
1593
+ message.restEnabled = reader.bool();
1594
+ break;
1595
+ case /* bool player_enabled */ 9:
1596
+ message.playerEnabled = reader.bool();
1597
+ break;
1598
+ case /* bool is_core */ 10:
1599
+ message.isCore = reader.bool();
1600
+ break;
1601
+ default:
1602
+ let u = options.readUnknownField;
1603
+ if (u === "throw")
1604
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1605
+ let d = reader.skip(wireType);
1606
+ if (u !== false)
1607
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1608
+ }
1609
+ }
1610
+ return message;
1611
+ }
1612
+ internalBinaryWrite(message, writer, options) {
1613
+ /* string endpoint_id = 1; */
1614
+ if (message.endpointId !== "")
1615
+ writer.tag(1, WireType.LengthDelimited).string(message.endpointId);
1616
+ /* string display_name = 2; */
1617
+ if (message.displayName !== "")
1618
+ writer.tag(2, WireType.LengthDelimited).string(message.displayName);
1619
+ /* string route = 3; */
1620
+ if (message.route !== "")
1621
+ writer.tag(3, WireType.LengthDelimited).string(message.route);
1622
+ /* bool supports_websocket = 4; */
1623
+ if (message.supportsWebsocket !== false)
1624
+ writer.tag(4, WireType.Varint).bool(message.supportsWebsocket);
1625
+ /* bool supports_rest = 5; */
1626
+ if (message.supportsRest !== false)
1627
+ writer.tag(5, WireType.Varint).bool(message.supportsRest);
1628
+ /* bool supports_player = 6; */
1629
+ if (message.supportsPlayer !== false)
1630
+ writer.tag(6, WireType.Varint).bool(message.supportsPlayer);
1631
+ /* bool websocket_enabled = 7; */
1632
+ if (message.websocketEnabled !== false)
1633
+ writer.tag(7, WireType.Varint).bool(message.websocketEnabled);
1634
+ /* bool rest_enabled = 8; */
1635
+ if (message.restEnabled !== false)
1636
+ writer.tag(8, WireType.Varint).bool(message.restEnabled);
1637
+ /* bool player_enabled = 9; */
1638
+ if (message.playerEnabled !== false)
1639
+ writer.tag(9, WireType.Varint).bool(message.playerEnabled);
1640
+ /* bool is_core = 10; */
1641
+ if (message.isCore !== false)
1642
+ writer.tag(10, WireType.Varint).bool(message.isCore);
1643
+ let u = options.writeUnknownFields;
1644
+ if (u !== false)
1645
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1646
+ return writer;
1647
+ }
1648
+ }
1649
+ /**
1650
+ * @generated MessageType for protobuf message proto.models.EndpointAccess
1651
+ */
1652
+ export const EndpointAccess = new EndpointAccess$Type();
1653
+ // @generated message type with reflection information, may provide speed optimized methods
1654
+ class GlobalConfiguration$Type extends MessageType {
1655
+ constructor() {
1656
+ super("proto.models.GlobalConfiguration", [
1657
+ { no: 1, name: "full_access_discord_ids", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
1658
+ { no: 2, name: "endpoint_manager_discord_ids", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
1659
+ { no: 3, name: "endpoints", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => EndpointAccess }
1660
+ ]);
1661
+ }
1662
+ create(value) {
1663
+ const message = globalThis.Object.create((this.messagePrototype));
1664
+ message.fullAccessDiscordIds = [];
1665
+ message.endpointManagerDiscordIds = [];
1666
+ message.endpoints = [];
1667
+ if (value !== undefined)
1668
+ reflectionMergePartial(this, message, value);
1669
+ return message;
1670
+ }
1671
+ internalBinaryRead(reader, length, options, target) {
1672
+ let message = target ?? this.create(), end = reader.pos + length;
1673
+ while (reader.pos < end) {
1674
+ let [fieldNo, wireType] = reader.tag();
1675
+ switch (fieldNo) {
1676
+ case /* repeated string full_access_discord_ids */ 1:
1677
+ message.fullAccessDiscordIds.push(reader.string());
1678
+ break;
1679
+ case /* repeated string endpoint_manager_discord_ids */ 2:
1680
+ message.endpointManagerDiscordIds.push(reader.string());
1681
+ break;
1682
+ case /* repeated proto.models.EndpointAccess endpoints */ 3:
1683
+ message.endpoints.push(EndpointAccess.internalBinaryRead(reader, reader.uint32(), options));
1684
+ break;
1685
+ default:
1686
+ let u = options.readUnknownField;
1687
+ if (u === "throw")
1688
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
1689
+ let d = reader.skip(wireType);
1690
+ if (u !== false)
1691
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
1692
+ }
1693
+ }
1694
+ return message;
1695
+ }
1696
+ internalBinaryWrite(message, writer, options) {
1697
+ /* repeated string full_access_discord_ids = 1; */
1698
+ for (let i = 0; i < message.fullAccessDiscordIds.length; i++)
1699
+ writer.tag(1, WireType.LengthDelimited).string(message.fullAccessDiscordIds[i]);
1700
+ /* repeated string endpoint_manager_discord_ids = 2; */
1701
+ for (let i = 0; i < message.endpointManagerDiscordIds.length; i++)
1702
+ writer.tag(2, WireType.LengthDelimited).string(message.endpointManagerDiscordIds[i]);
1703
+ /* repeated proto.models.EndpointAccess endpoints = 3; */
1704
+ for (let i = 0; i < message.endpoints.length; i++)
1705
+ EndpointAccess.internalBinaryWrite(message.endpoints[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
1706
+ let u = options.writeUnknownFields;
1707
+ if (u !== false)
1708
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
1709
+ return writer;
1710
+ }
1711
+ }
1712
+ /**
1713
+ * @generated MessageType for protobuf message proto.models.GlobalConfiguration
1714
+ */
1715
+ export const GlobalConfiguration = new GlobalConfiguration$Type();
1716
+ // @generated message type with reflection information, may provide speed optimized methods
1535
1717
  class Tournament$Type extends MessageType {
1536
1718
  constructor() {
1537
1719
  super("proto.models.Tournament", [
@@ -1634,7 +1816,9 @@ class Tournament_TournamentSettings$Type extends MessageType {
1634
1816
  { no: 12, name: "roles", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Role },
1635
1817
  { no: 13, name: "my_permissions", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
1636
1818
  { no: 14, name: "enable_replay_streaming", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
1637
- { no: 15, name: "allow_mock_clients", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
1819
+ { no: 15, name: "allow_mock_clients", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
1820
+ { no: 16, name: "is_bk_tournament", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
1821
+ { no: 17, name: "beat_khana_tournament_guid", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
1638
1822
  ]);
1639
1823
  }
1640
1824
  create(value) {
@@ -1654,6 +1838,8 @@ class Tournament_TournamentSettings$Type extends MessageType {
1654
1838
  message.myPermissions = [];
1655
1839
  message.enableReplayStreaming = false;
1656
1840
  message.allowMockClients = false;
1841
+ message.isBkTournament = false;
1842
+ message.beatKhanaTournamentGuid = "";
1657
1843
  if (value !== undefined)
1658
1844
  reflectionMergePartial(this, message, value);
1659
1845
  return message;
@@ -1708,6 +1894,12 @@ class Tournament_TournamentSettings$Type extends MessageType {
1708
1894
  case /* bool allow_mock_clients */ 15:
1709
1895
  message.allowMockClients = reader.bool();
1710
1896
  break;
1897
+ case /* bool is_bk_tournament */ 16:
1898
+ message.isBkTournament = reader.bool();
1899
+ break;
1900
+ case /* string beat_khana_tournament_guid */ 17:
1901
+ message.beatKhanaTournamentGuid = reader.string();
1902
+ break;
1711
1903
  default:
1712
1904
  let u = options.readUnknownField;
1713
1905
  if (u === "throw")
@@ -1765,6 +1957,12 @@ class Tournament_TournamentSettings$Type extends MessageType {
1765
1957
  /* bool allow_mock_clients = 15; */
1766
1958
  if (message.allowMockClients !== false)
1767
1959
  writer.tag(15, WireType.Varint).bool(message.allowMockClients);
1960
+ /* bool is_bk_tournament = 16; */
1961
+ if (message.isBkTournament !== false)
1962
+ writer.tag(16, WireType.Varint).bool(message.isBkTournament);
1963
+ /* string beat_khana_tournament_guid = 17; */
1964
+ if (message.beatKhanaTournamentGuid !== "")
1965
+ writer.tag(17, WireType.LengthDelimited).string(message.beatKhanaTournamentGuid);
1768
1966
  let u = options.writeUnknownFields;
1769
1967
  if (u !== false)
1770
1968
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -4,6 +4,7 @@ import type { BinaryReadOptions } from "@protobuf-ts/runtime";
4
4
  import type { IBinaryReader } from "@protobuf-ts/runtime";
5
5
  import type { PartialMessage } from "@protobuf-ts/runtime";
6
6
  import { MessageType } from "@protobuf-ts/runtime";
7
+ import { GlobalConfiguration } from './models.js';
7
8
  import { GameplayParameters } from './models.js';
8
9
  import { LeaderboardEntry } from './models.js';
9
10
  import { CoreServer } from './models.js';
@@ -448,6 +449,24 @@ export interface Request {
448
449
  * @generated from protobuf field: proto.packets.Request.DeleteWebhook delete_webhook = 72
449
450
  */
450
451
  deleteWebhook: Request_DeleteWebhook;
452
+ } | {
453
+ oneofKind: "getGlobalConfiguration";
454
+ /**
455
+ * @generated from protobuf field: proto.packets.Request.GetGlobalConfiguration get_global_configuration = 73
456
+ */
457
+ getGlobalConfiguration: Request_GetGlobalConfiguration;
458
+ } | {
459
+ oneofKind: "updateGlobalConfiguration";
460
+ /**
461
+ * @generated from protobuf field: proto.packets.Request.UpdateGlobalConfiguration update_global_configuration = 74
462
+ */
463
+ updateGlobalConfiguration: Request_UpdateGlobalConfiguration;
464
+ } | {
465
+ oneofKind: "setBkTournamentLink";
466
+ /**
467
+ * @generated from protobuf field: proto.packets.Request.SetBKTournamentLink set_bk_tournament_link = 75
468
+ */
469
+ setBkTournamentLink: Request_SetBKTournamentLink;
451
470
  } | {
452
471
  oneofKind: undefined;
453
472
  };
@@ -1555,6 +1574,123 @@ export interface Request_DeleteWebhook {
1555
1574
  */
1556
1575
  webhookGuid: string;
1557
1576
  }
1577
+ /**
1578
+ * @generated from protobuf message proto.packets.Request.GetGlobalConfiguration
1579
+ */
1580
+ export interface Request_GetGlobalConfiguration {
1581
+ }
1582
+ /**
1583
+ * @generated from protobuf message proto.packets.Request.UpdateGlobalConfiguration
1584
+ */
1585
+ export interface Request_UpdateGlobalConfiguration {
1586
+ /**
1587
+ * @generated from protobuf field: proto.models.GlobalConfiguration configuration = 1
1588
+ */
1589
+ configuration?: GlobalConfiguration;
1590
+ }
1591
+ /**
1592
+ * Links or unlinks an existing TournamentAssistant tournament to BeatKhana.
1593
+ * This operation is restricted to full-access global admins (moon and luna for now).
1594
+ *
1595
+ * @generated from protobuf message proto.packets.Request.SetBKTournamentLink
1596
+ */
1597
+ export interface Request_SetBKTournamentLink {
1598
+ /**
1599
+ * @generated from protobuf field: string tournament_id = 1
1600
+ */
1601
+ tournamentId: string;
1602
+ /**
1603
+ * @generated from protobuf field: bool is_bk_tournament = 2
1604
+ */
1605
+ isBkTournament: boolean;
1606
+ /**
1607
+ * @generated from protobuf field: string beat_khana_tournament_guid = 3
1608
+ */
1609
+ beatKhanaTournamentGuid: string;
1610
+ }
1611
+ /**
1612
+ * This message is used by the dedicated POST /bks/tournaments REST route.
1613
+ * It is intentionally not part of the general packet oneof.
1614
+ *
1615
+ * @generated from protobuf message proto.packets.Request.CreateBKTournament
1616
+ */
1617
+ export interface Request_CreateBKTournament {
1618
+ /**
1619
+ * @generated from protobuf field: string beat_khana_tournament_guid = 1
1620
+ */
1621
+ beatKhanaTournamentGuid: string;
1622
+ /**
1623
+ * @generated from protobuf field: proto.models.Tournament tournament = 2
1624
+ */
1625
+ tournament?: Tournament;
1626
+ /**
1627
+ * @generated from protobuf field: proto.packets.Request.CreateBKTournament.BeatKhanaUser organizer = 3
1628
+ */
1629
+ organizer?: Request_CreateBKTournament_BeatKhanaUser;
1630
+ /**
1631
+ * @generated from protobuf field: repeated string organizer_permissions = 4
1632
+ */
1633
+ organizerPermissions: string[];
1634
+ /**
1635
+ * @generated from protobuf field: repeated proto.models.Role roles = 5
1636
+ */
1637
+ roles: Role[];
1638
+ /**
1639
+ * @generated from protobuf field: repeated proto.packets.Request.CreateBKTournament.AuthorizedUser authorized_users = 6
1640
+ */
1641
+ authorizedUsers: Request_CreateBKTournament_AuthorizedUser[];
1642
+ /**
1643
+ * @generated from protobuf field: repeated proto.packets.Request.CreateBKTournament.WebhookRegistration webhooks = 7
1644
+ */
1645
+ webhooks: Request_CreateBKTournament_WebhookRegistration[];
1646
+ }
1647
+ /**
1648
+ * @generated from protobuf message proto.packets.Request.CreateBKTournament.BeatKhanaUser
1649
+ */
1650
+ export interface Request_CreateBKTournament_BeatKhanaUser {
1651
+ /**
1652
+ * @generated from protobuf field: string discord_id = 1
1653
+ */
1654
+ discordId: string;
1655
+ /**
1656
+ * @generated from protobuf field: string preferred_name = 2
1657
+ */
1658
+ preferredName: string;
1659
+ /**
1660
+ * @generated from protobuf field: string avatar_url = 3
1661
+ */
1662
+ avatarUrl: string;
1663
+ }
1664
+ /**
1665
+ * @generated from protobuf message proto.packets.Request.CreateBKTournament.AuthorizedUser
1666
+ */
1667
+ export interface Request_CreateBKTournament_AuthorizedUser {
1668
+ /**
1669
+ * @generated from protobuf field: proto.packets.Request.CreateBKTournament.BeatKhanaUser user = 1
1670
+ */
1671
+ user?: Request_CreateBKTournament_BeatKhanaUser;
1672
+ /**
1673
+ * @generated from protobuf field: repeated string role_ids = 2
1674
+ */
1675
+ roleIds: string[];
1676
+ }
1677
+ /**
1678
+ * @generated from protobuf message proto.packets.Request.CreateBKTournament.WebhookRegistration
1679
+ */
1680
+ export interface Request_CreateBKTournament_WebhookRegistration {
1681
+ /**
1682
+ * @generated from protobuf field: string url = 1
1683
+ */
1684
+ url: string;
1685
+ /**
1686
+ * @generated from protobuf field: int64 triggers = 2
1687
+ */
1688
+ triggers: bigint;
1689
+ /**
1690
+ * @generated from protobuf field: string signing_secret = 3
1691
+ */
1692
+ signingSecret: string;
1693
+ }
1558
1694
  declare class Request$Type extends MessageType<Request> {
1559
1695
  constructor();
1560
1696
  create(value?: PartialMessage<Request>): Request;
@@ -2275,4 +2411,74 @@ declare class Request_DeleteWebhook$Type extends MessageType<Request_DeleteWebho
2275
2411
  * @generated MessageType for protobuf message proto.packets.Request.DeleteWebhook
2276
2412
  */
2277
2413
  export declare const Request_DeleteWebhook: Request_DeleteWebhook$Type;
2414
+ declare class Request_GetGlobalConfiguration$Type extends MessageType<Request_GetGlobalConfiguration> {
2415
+ constructor();
2416
+ create(value?: PartialMessage<Request_GetGlobalConfiguration>): Request_GetGlobalConfiguration;
2417
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Request_GetGlobalConfiguration): Request_GetGlobalConfiguration;
2418
+ internalBinaryWrite(message: Request_GetGlobalConfiguration, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2419
+ }
2420
+ /**
2421
+ * @generated MessageType for protobuf message proto.packets.Request.GetGlobalConfiguration
2422
+ */
2423
+ export declare const Request_GetGlobalConfiguration: Request_GetGlobalConfiguration$Type;
2424
+ declare class Request_UpdateGlobalConfiguration$Type extends MessageType<Request_UpdateGlobalConfiguration> {
2425
+ constructor();
2426
+ create(value?: PartialMessage<Request_UpdateGlobalConfiguration>): Request_UpdateGlobalConfiguration;
2427
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Request_UpdateGlobalConfiguration): Request_UpdateGlobalConfiguration;
2428
+ internalBinaryWrite(message: Request_UpdateGlobalConfiguration, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2429
+ }
2430
+ /**
2431
+ * @generated MessageType for protobuf message proto.packets.Request.UpdateGlobalConfiguration
2432
+ */
2433
+ export declare const Request_UpdateGlobalConfiguration: Request_UpdateGlobalConfiguration$Type;
2434
+ declare class Request_SetBKTournamentLink$Type extends MessageType<Request_SetBKTournamentLink> {
2435
+ constructor();
2436
+ create(value?: PartialMessage<Request_SetBKTournamentLink>): Request_SetBKTournamentLink;
2437
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Request_SetBKTournamentLink): Request_SetBKTournamentLink;
2438
+ internalBinaryWrite(message: Request_SetBKTournamentLink, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2439
+ }
2440
+ /**
2441
+ * @generated MessageType for protobuf message proto.packets.Request.SetBKTournamentLink
2442
+ */
2443
+ export declare const Request_SetBKTournamentLink: Request_SetBKTournamentLink$Type;
2444
+ declare class Request_CreateBKTournament$Type extends MessageType<Request_CreateBKTournament> {
2445
+ constructor();
2446
+ create(value?: PartialMessage<Request_CreateBKTournament>): Request_CreateBKTournament;
2447
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Request_CreateBKTournament): Request_CreateBKTournament;
2448
+ internalBinaryWrite(message: Request_CreateBKTournament, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2449
+ }
2450
+ /**
2451
+ * @generated MessageType for protobuf message proto.packets.Request.CreateBKTournament
2452
+ */
2453
+ export declare const Request_CreateBKTournament: Request_CreateBKTournament$Type;
2454
+ declare class Request_CreateBKTournament_BeatKhanaUser$Type extends MessageType<Request_CreateBKTournament_BeatKhanaUser> {
2455
+ constructor();
2456
+ create(value?: PartialMessage<Request_CreateBKTournament_BeatKhanaUser>): Request_CreateBKTournament_BeatKhanaUser;
2457
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Request_CreateBKTournament_BeatKhanaUser): Request_CreateBKTournament_BeatKhanaUser;
2458
+ internalBinaryWrite(message: Request_CreateBKTournament_BeatKhanaUser, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2459
+ }
2460
+ /**
2461
+ * @generated MessageType for protobuf message proto.packets.Request.CreateBKTournament.BeatKhanaUser
2462
+ */
2463
+ export declare const Request_CreateBKTournament_BeatKhanaUser: Request_CreateBKTournament_BeatKhanaUser$Type;
2464
+ declare class Request_CreateBKTournament_AuthorizedUser$Type extends MessageType<Request_CreateBKTournament_AuthorizedUser> {
2465
+ constructor();
2466
+ create(value?: PartialMessage<Request_CreateBKTournament_AuthorizedUser>): Request_CreateBKTournament_AuthorizedUser;
2467
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Request_CreateBKTournament_AuthorizedUser): Request_CreateBKTournament_AuthorizedUser;
2468
+ internalBinaryWrite(message: Request_CreateBKTournament_AuthorizedUser, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2469
+ }
2470
+ /**
2471
+ * @generated MessageType for protobuf message proto.packets.Request.CreateBKTournament.AuthorizedUser
2472
+ */
2473
+ export declare const Request_CreateBKTournament_AuthorizedUser: Request_CreateBKTournament_AuthorizedUser$Type;
2474
+ declare class Request_CreateBKTournament_WebhookRegistration$Type extends MessageType<Request_CreateBKTournament_WebhookRegistration> {
2475
+ constructor();
2476
+ create(value?: PartialMessage<Request_CreateBKTournament_WebhookRegistration>): Request_CreateBKTournament_WebhookRegistration;
2477
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Request_CreateBKTournament_WebhookRegistration): Request_CreateBKTournament_WebhookRegistration;
2478
+ internalBinaryWrite(message: Request_CreateBKTournament_WebhookRegistration, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2479
+ }
2480
+ /**
2481
+ * @generated MessageType for protobuf message proto.packets.Request.CreateBKTournament.WebhookRegistration
2482
+ */
2483
+ export declare const Request_CreateBKTournament_WebhookRegistration: Request_CreateBKTournament_WebhookRegistration$Type;
2278
2484
  export {};