# @generated by generate_proto_mypy_stubs.py. Do not edit! import sys from abc import ( ABCMeta as abc___ABCMeta, abstractmethod as abc___abstractmethod, ) from concurrent.futures import ( Future as concurrent___futures___Future, ) from google.protobuf.descriptor import ( Descriptor as google___protobuf___descriptor___Descriptor, FileDescriptor as google___protobuf___descriptor___FileDescriptor, ) from google.protobuf.internal.containers import ( RepeatedCompositeFieldContainer as google___protobuf___internal___containers___RepeatedCompositeFieldContainer, RepeatedScalarFieldContainer as google___protobuf___internal___containers___RepeatedScalarFieldContainer, ) from google.protobuf.message import ( Message as google___protobuf___message___Message, ) from google.protobuf.service import ( RpcChannel as google___protobuf___service___RpcChannel, RpcController as google___protobuf___service___RpcController, Service as google___protobuf___service___Service, ) from typing import ( Callable as typing___Callable, Iterable as typing___Iterable, Optional as typing___Optional, Text as typing___Text, ) from typing_extensions import ( Literal as typing_extensions___Literal, ) builtin___bool = bool builtin___bytes = bytes builtin___float = float builtin___int = int DESCRIPTOR: google___protobuf___descriptor___FileDescriptor = ... class CEcon_GetTradeOfferAccessToken_Request(google___protobuf___message___Message): DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... generate_new_token: builtin___bool = ... def __init__(self, *, generate_new_token : typing___Optional[builtin___bool] = None, ) -> None: ... def HasField(self, field_name: typing_extensions___Literal[u"generate_new_token",b"generate_new_token"]) -> builtin___bool: ... def ClearField(self, field_name: typing_extensions___Literal[u"generate_new_token",b"generate_new_token"]) -> None: ... type___CEcon_GetTradeOfferAccessToken_Request = CEcon_GetTradeOfferAccessToken_Request class CEcon_GetTradeOfferAccessToken_Response(google___protobuf___message___Message): DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... trade_offer_access_token: typing___Text = ... def __init__(self, *, trade_offer_access_token : typing___Optional[typing___Text] = None, ) -> None: ... def HasField(self, field_name: typing_extensions___Literal[u"trade_offer_access_token",b"trade_offer_access_token"]) -> builtin___bool: ... def ClearField(self, field_name: typing_extensions___Literal[u"trade_offer_access_token",b"trade_offer_access_token"]) -> None: ... type___CEcon_GetTradeOfferAccessToken_Response = CEcon_GetTradeOfferAccessToken_Response class CEcon_ClientGetItemShopOverlayAuthURL_Request(google___protobuf___message___Message): DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... return_url: typing___Text = ... def __init__(self, *, return_url : typing___Optional[typing___Text] = None, ) -> None: ... def HasField(self, field_name: typing_extensions___Literal[u"return_url",b"return_url"]) -> builtin___bool: ... def ClearField(self, field_name: typing_extensions___Literal[u"return_url",b"return_url"]) -> None: ... type___CEcon_ClientGetItemShopOverlayAuthURL_Request = CEcon_ClientGetItemShopOverlayAuthURL_Request class CEcon_ClientGetItemShopOverlayAuthURL_Response(google___protobuf___message___Message): DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... url: typing___Text = ... def __init__(self, *, url : typing___Optional[typing___Text] = None, ) -> None: ... def HasField(self, field_name: typing_extensions___Literal[u"url",b"url"]) -> builtin___bool: ... def ClearField(self, field_name: typing_extensions___Literal[u"url",b"url"]) -> None: ... type___CEcon_ClientGetItemShopOverlayAuthURL_Response = CEcon_ClientGetItemShopOverlayAuthURL_Response class CEcon_GetAssetClassInfo_Request(google___protobuf___message___Message): DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... class Class(google___protobuf___message___Message): DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... classid: builtin___int = ... instanceid: builtin___int = ... def __init__(self, *, classid : typing___Optional[builtin___int] = None, instanceid : typing___Optional[builtin___int] = None, ) -> None: ... def HasField(self, field_name: typing_extensions___Literal[u"classid",b"classid",u"instanceid",b"instanceid"]) -> builtin___bool: ... def ClearField(self, field_name: typing_extensions___Literal[u"classid",b"classid",u"instanceid",b"instanceid"]) -> None: ... type___Class = Class language: typing___Text = ... appid: builtin___int = ... @property def classes(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___CEcon_GetAssetClassInfo_Request.Class]: ... def __init__(self, *, language : typing___Optional[typing___Text] = None, appid : typing___Optional[builtin___int] = None, classes : typing___Optional[typing___Iterable[type___CEcon_GetAssetClassInfo_Request.Class]] = None, ) -> None: ... def HasField(self, field_name: typing_extensions___Literal[u"appid",b"appid",u"language",b"language"]) -> builtin___bool: ... def ClearField(self, field_name: typing_extensions___Literal[u"appid",b"appid",u"classes",b"classes",u"language",b"language"]) -> None: ... type___CEcon_GetAssetClassInfo_Request = CEcon_GetAssetClassInfo_Request class CEconItem_DescriptionLine(google___protobuf___message___Message): DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... type: typing___Text = ... value: typing___Text = ... color: typing___Text = ... label: typing___Text = ... def __init__(self, *, type : typing___Optional[typing___Text] = None, value : typing___Optional[typing___Text] = None, color : typing___Optional[typing___Text] = None, label : typing___Optional[typing___Text] = None, ) -> None: ... def HasField(self, field_name: typing_extensions___Literal[u"color",b"color",u"label",b"label",u"type",b"type",u"value",b"value"]) -> builtin___bool: ... def ClearField(self, field_name: typing_extensions___Literal[u"color",b"color",u"label",b"label",u"type",b"type",u"value",b"value"]) -> None: ... type___CEconItem_DescriptionLine = CEconItem_DescriptionLine class CEconItem_Action(google___protobuf___message___Message): DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... link: typing___Text = ... name: typing___Text = ... def __init__(self, *, link : typing___Optional[typing___Text] = None, name : typing___Optional[typing___Text] = None, ) -> None: ... def HasField(self, field_name: typing_extensions___Literal[u"link",b"link",u"name",b"name"]) -> builtin___bool: ... def ClearField(self, field_name: typing_extensions___Literal[u"link",b"link",u"name",b"name"]) -> None: ... type___CEconItem_Action = CEconItem_Action class CEconItem_Description(google___protobuf___message___Message): DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... appid: builtin___int = ... classid: builtin___int = ... instanceid: builtin___int = ... currency: builtin___bool = ... background_color: typing___Text = ... icon_url: typing___Text = ... icon_url_large: typing___Text = ... tradable: builtin___bool = ... fraudwarnings: google___protobuf___internal___containers___RepeatedScalarFieldContainer[typing___Text] = ... name: typing___Text = ... name_color: typing___Text = ... type: typing___Text = ... market_name: typing___Text = ... market_hash_name: typing___Text = ... market_fee: typing___Text = ... market_fee_app: builtin___int = ... commodity: builtin___bool = ... market_tradable_restriction: builtin___int = ... market_marketable_restriction: builtin___int = ... marketable: builtin___bool = ... item_expiration: typing___Text = ... market_buy_country_restriction: typing___Text = ... market_sell_country_restriction: typing___Text = ... @property def descriptions(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___CEconItem_DescriptionLine]: ... @property def actions(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___CEconItem_Action]: ... @property def owner_descriptions(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___CEconItem_DescriptionLine]: ... @property def owner_actions(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___CEconItem_Action]: ... @property def contained_item(self) -> type___CEconItem_Description: ... @property def market_actions(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___CEconItem_Action]: ... @property def tags(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___CEconItem_Tag]: ... def __init__(self, *, appid : typing___Optional[builtin___int] = None, classid : typing___Optional[builtin___int] = None, instanceid : typing___Optional[builtin___int] = None, currency : typing___Optional[builtin___bool] = None, background_color : typing___Optional[typing___Text] = None, icon_url : typing___Optional[typing___Text] = None, icon_url_large : typing___Optional[typing___Text] = None, descriptions : typing___Optional[typing___Iterable[type___CEconItem_DescriptionLine]] = None, tradable : typing___Optional[builtin___bool] = None, actions : typing___Optional[typing___Iterable[type___CEconItem_Action]] = None, owner_descriptions : typing___Optional[typing___Iterable[type___CEconItem_DescriptionLine]] = None, owner_actions : typing___Optional[typing___Iterable[type___CEconItem_Action]] = None, fraudwarnings : typing___Optional[typing___Iterable[typing___Text]] = None, name : typing___Optional[typing___Text] = None, name_color : typing___Optional[typing___Text] = None, type : typing___Optional[typing___Text] = None, market_name : typing___Optional[typing___Text] = None, market_hash_name : typing___Optional[typing___Text] = None, market_fee : typing___Optional[typing___Text] = None, market_fee_app : typing___Optional[builtin___int] = None, contained_item : typing___Optional[type___CEconItem_Description] = None, market_actions : typing___Optional[typing___Iterable[type___CEconItem_Action]] = None, commodity : typing___Optional[builtin___bool] = None, market_tradable_restriction : typing___Optional[builtin___int] = None, market_marketable_restriction : typing___Optional[builtin___int] = None, marketable : typing___Optional[builtin___bool] = None, tags : typing___Optional[typing___Iterable[type___CEconItem_Tag]] = None, item_expiration : typing___Optional[typing___Text] = None, market_buy_country_restriction : typing___Optional[typing___Text] = None, market_sell_country_restriction : typing___Optional[typing___Text] = None, ) -> None: ... def HasField(self, field_name: typing_extensions___Literal[u"appid",b"appid",u"background_color",b"background_color",u"classid",b"classid",u"commodity",b"commodity",u"contained_item",b"contained_item",u"currency",b"currency",u"icon_url",b"icon_url",u"icon_url_large",b"icon_url_large",u"instanceid",b"instanceid",u"item_expiration",b"item_expiration",u"market_buy_country_restriction",b"market_buy_country_restriction",u"market_fee",b"market_fee",u"market_fee_app",b"market_fee_app",u"market_hash_name",b"market_hash_name",u"market_marketable_restriction",b"market_marketable_restriction",u"market_name",b"market_name",u"market_sell_country_restriction",b"market_sell_country_restriction",u"market_tradable_restriction",b"market_tradable_restriction",u"marketable",b"marketable",u"name",b"name",u"name_color",b"name_color",u"tradable",b"tradable",u"type",b"type"]) -> builtin___bool: ... def ClearField(self, field_name: typing_extensions___Literal[u"actions",b"actions",u"appid",b"appid",u"background_color",b"background_color",u"classid",b"classid",u"commodity",b"commodity",u"contained_item",b"contained_item",u"currency",b"currency",u"descriptions",b"descriptions",u"fraudwarnings",b"fraudwarnings",u"icon_url",b"icon_url",u"icon_url_large",b"icon_url_large",u"instanceid",b"instanceid",u"item_expiration",b"item_expiration",u"market_actions",b"market_actions",u"market_buy_country_restriction",b"market_buy_country_restriction",u"market_fee",b"market_fee",u"market_fee_app",b"market_fee_app",u"market_hash_name",b"market_hash_name",u"market_marketable_restriction",b"market_marketable_restriction",u"market_name",b"market_name",u"market_sell_country_restriction",b"market_sell_country_restriction",u"market_tradable_restriction",b"market_tradable_restriction",u"marketable",b"marketable",u"name",b"name",u"name_color",b"name_color",u"owner_actions",b"owner_actions",u"owner_descriptions",b"owner_descriptions",u"tags",b"tags",u"tradable",b"tradable",u"type",b"type"]) -> None: ... type___CEconItem_Description = CEconItem_Description class CEconItem_Tag(google___protobuf___message___Message): DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... appid: builtin___int = ... category: typing___Text = ... internal_name: typing___Text = ... localized_category_name: typing___Text = ... localized_tag_name: typing___Text = ... color: typing___Text = ... def __init__(self, *, appid : typing___Optional[builtin___int] = None, category : typing___Optional[typing___Text] = None, internal_name : typing___Optional[typing___Text] = None, localized_category_name : typing___Optional[typing___Text] = None, localized_tag_name : typing___Optional[typing___Text] = None, color : typing___Optional[typing___Text] = None, ) -> None: ... def HasField(self, field_name: typing_extensions___Literal[u"appid",b"appid",u"category",b"category",u"color",b"color",u"internal_name",b"internal_name",u"localized_category_name",b"localized_category_name",u"localized_tag_name",b"localized_tag_name"]) -> builtin___bool: ... def ClearField(self, field_name: typing_extensions___Literal[u"appid",b"appid",u"category",b"category",u"color",b"color",u"internal_name",b"internal_name",u"localized_category_name",b"localized_category_name",u"localized_tag_name",b"localized_tag_name"]) -> None: ... type___CEconItem_Tag = CEconItem_Tag class CEcon_GetAssetClassInfo_Response(google___protobuf___message___Message): DESCRIPTOR: google___protobuf___descriptor___Descriptor = ... @property def descriptions(self) -> google___protobuf___internal___containers___RepeatedCompositeFieldContainer[type___CEconItem_Description]: ... def __init__(self, *, descriptions : typing___Optional[typing___Iterable[type___CEconItem_Description]] = None, ) -> None: ... def ClearField(self, field_name: typing_extensions___Literal[u"descriptions",b"descriptions"]) -> None: ... type___CEcon_GetAssetClassInfo_Response = CEcon_GetAssetClassInfo_Response class Econ(google___protobuf___service___Service, metaclass=abc___ABCMeta): @abc___abstractmethod def GetTradeOfferAccessToken(self, rpc_controller: google___protobuf___service___RpcController, request: type___CEcon_GetTradeOfferAccessToken_Request, done: typing___Optional[typing___Callable[[type___CEcon_GetTradeOfferAccessToken_Response], None]], ) -> concurrent___futures___Future[type___CEcon_GetTradeOfferAccessToken_Response]: ... @abc___abstractmethod def ClientGetItemShopOverlayAuthURL(self, rpc_controller: google___protobuf___service___RpcController, request: type___CEcon_ClientGetItemShopOverlayAuthURL_Request, done: typing___Optional[typing___Callable[[type___CEcon_ClientGetItemShopOverlayAuthURL_Response], None]], ) -> concurrent___futures___Future[type___CEcon_ClientGetItemShopOverlayAuthURL_Response]: ... @abc___abstractmethod def GetAssetClassInfo(self, rpc_controller: google___protobuf___service___RpcController, request: type___CEcon_GetAssetClassInfo_Request, done: typing___Optional[typing___Callable[[type___CEcon_GetAssetClassInfo_Response], None]], ) -> concurrent___futures___Future[type___CEcon_GetAssetClassInfo_Response]: ... class Econ_Stub(Econ): def __init__(self, rpc_channel: google___protobuf___service___RpcChannel) -> None: ... def GetTradeOfferAccessToken(self, rpc_controller: google___protobuf___service___RpcController, request: type___CEcon_GetTradeOfferAccessToken_Request, done: typing___Optional[typing___Callable[[type___CEcon_GetTradeOfferAccessToken_Response], None]], ) -> concurrent___futures___Future[type___CEcon_GetTradeOfferAccessToken_Response]: ... def ClientGetItemShopOverlayAuthURL(self, rpc_controller: google___protobuf___service___RpcController, request: type___CEcon_ClientGetItemShopOverlayAuthURL_Request, done: typing___Optional[typing___Callable[[type___CEcon_ClientGetItemShopOverlayAuthURL_Response], None]], ) -> concurrent___futures___Future[type___CEcon_ClientGetItemShopOverlayAuthURL_Response]: ... def GetAssetClassInfo(self, rpc_controller: google___protobuf___service___RpcController, request: type___CEcon_GetAssetClassInfo_Request, done: typing___Optional[typing___Callable[[type___CEcon_GetAssetClassInfo_Response], None]], ) -> concurrent___futures___Future[type___CEcon_GetAssetClassInfo_Response]: ...