def get_all_config(self) -> bytes: input = pb.Empty() output = pb.Json() output.ParseFromString(self._run_command(113, input)) return output.json
def i18n_resources(self) -> bytes: input = pb.Empty() output = pb.Json() output.ParseFromString(self._run_command(102, input)) return output.json
def get_config_json(self, val: str) -> bytes: input = pb.String(val=val) output = pb.Json() output.ParseFromString(self._run_command(110, input)) return output.json
def get_notetype_legacy(self, ntid: int) -> bytes: input = pb.NoteTypeID(ntid=ntid) output = pb.Json() output.ParseFromString(self._run_command(82, input)) return output.json
def sync_server_method(self, *, method: pb.SyncServerMethodIn.Method.V, data: bytes) -> bytes: input = pb.SyncServerMethodIn(method=method, data=data) output = pb.Json() output.ParseFromString(self._run_command(99, input)) return output.json
def new_deck_config_legacy(self) -> bytes: input = pb.Empty() output = pb.Json() output.ParseFromString(self._run_command(61, input)) return output.json
def get_stock_notetype_legacy(self, kind: pb.StockNoteType.Kind.V) -> bytes: input = pb.StockNoteType(kind=kind) output = pb.Json() output.ParseFromString(self._run_command(81, input)) return output.json
def get_deck_config_legacy(self, dcid: int) -> bytes: input = pb.DeckConfigID(dcid=dcid) output = pb.Json() output.ParseFromString(self._run_command(60, input)) return output.json
def new_deck_legacy(self, val: bool) -> bytes: input = pb.Bool(val=val) output = pb.Json() output.ParseFromString(self._run_command(55, input)) return output.json
def get_deck_legacy(self, did: int) -> bytes: input = pb.DeckID(did=did) output = pb.Json() output.ParseFromString(self._run_command(53, input)) return output.json
def get_all_decks_legacy(self) -> bytes: input = pb.Empty() output = pb.Json() output.ParseFromString(self._run_command(51, input)) return output.json
def deck_tree_legacy(self) -> bytes: input = pb.Empty() output = pb.Json() output.ParseFromString(self._run_command(50, input)) return output.json