def set_all_config(self, json: bytes) -> pb.Empty: input = pb.Json(json=json) output = pb.Empty() output.ParseFromString(self._run_command(67, input)) return output
def get_all_config(self) -> bytes: input = pb.Empty() output = pb.Json() output.ParseFromString(self._run_command(68, 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(48, 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(64, input)) return output.json
def new_deck_config_legacy(self) -> bytes: input = pb.Empty() output = pb.Json() output.ParseFromString(self._run_command(32, input)) return output.json
def get_stock_notetype_legacy(self, kind: pb.StockNoteType) -> bytes: input = pb.GetStockNotetypeIn(kind=kind) output = pb.Json() output.ParseFromString(self._run_command(47, 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(31, 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(27, 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(25, input)) return output.json
def get_all_decks_legacy(self) -> bytes: input = pb.Empty() output = pb.Json() output.ParseFromString(self._run_command(23, input)) return output.json
def deck_tree_legacy(self) -> bytes: input = pb.Empty() output = pb.Json() output.ParseFromString(self._run_command(22, input)) return output.json