Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 0 additions & 47 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -18485,53 +18485,6 @@ information.
</dl>


</dd>
</dl>
</details>

## Mobile
<details><summary><code>client.mobile.<a href="src/square/mobile/client.py">authorization_code</a>() -> AsyncHttpResponse[None]</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```python
from square import Square

client = Square(
token="YOUR_TOKEN",
)
client.mobile.authorization_code()

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.

</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>
Expand Down
3 changes: 0 additions & 3 deletions src/square/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
locations,
loyalty,
merchants,
mobile,
o_auth,
orders,
payments,
Expand Down Expand Up @@ -70,7 +69,6 @@
"locations": ".locations",
"loyalty": ".loyalty",
"merchants": ".merchants",
"mobile": ".mobile",
"o_auth": ".o_auth",
"orders": ".orders",
"payments": ".payments",
Expand Down Expand Up @@ -134,7 +132,6 @@ def __dir__():
"locations",
"loyalty",
"merchants",
"mobile",
"o_auth",
"orders",
"payments",
Expand Down
19 changes: 0 additions & 19 deletions src/square/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
from .locations.client import AsyncLocationsClient, LocationsClient
from .loyalty.client import AsyncLoyaltyClient, LoyaltyClient
from .merchants.client import AsyncMerchantsClient, MerchantsClient
from .mobile.client import AsyncMobileClient, MobileClient
from .o_auth.client import AsyncOAuthClient, OAuthClient
from .orders.client import AsyncOrdersClient, OrdersClient
from .payments.client import AsyncPaymentsClient, PaymentsClient
Expand Down Expand Up @@ -149,7 +148,6 @@ def __init__(
self._terminal: typing.Optional[TerminalClient] = None
self._transfer_orders: typing.Optional[TransferOrdersClient] = None
self._vendors: typing.Optional[VendorsClient] = None
self._mobile: typing.Optional[MobileClient] = None
self._cash_drawers: typing.Optional[CashDrawersClient] = None
self._webhooks: typing.Optional[WebhooksClient] = None

Expand Down Expand Up @@ -417,14 +415,6 @@ def vendors(self):
self._vendors = VendorsClient(client_wrapper=self._client_wrapper)
return self._vendors

@property
def mobile(self):
if self._mobile is None:
from .mobile.client import MobileClient # noqa: E402

self._mobile = MobileClient(client_wrapper=self._client_wrapper)
return self._mobile

@property
def cash_drawers(self):
if self._cash_drawers is None:
Expand Down Expand Up @@ -543,7 +533,6 @@ def __init__(
self._terminal: typing.Optional[AsyncTerminalClient] = None
self._transfer_orders: typing.Optional[AsyncTransferOrdersClient] = None
self._vendors: typing.Optional[AsyncVendorsClient] = None
self._mobile: typing.Optional[AsyncMobileClient] = None
self._cash_drawers: typing.Optional[AsyncCashDrawersClient] = None
self._webhooks: typing.Optional[AsyncWebhooksClient] = None

Expand Down Expand Up @@ -811,14 +800,6 @@ def vendors(self):
self._vendors = AsyncVendorsClient(client_wrapper=self._client_wrapper)
return self._vendors

@property
def mobile(self):
if self._mobile is None:
from .mobile.client import AsyncMobileClient # noqa: E402

self._mobile = AsyncMobileClient(client_wrapper=self._client_wrapper)
return self._mobile

@property
def cash_drawers(self):
if self._cash_drawers is None:
Expand Down
4 changes: 0 additions & 4 deletions src/square/mobile/__init__.py

This file was deleted.

93 changes: 0 additions & 93 deletions src/square/mobile/client.py

This file was deleted.

69 changes: 0 additions & 69 deletions src/square/mobile/raw_client.py

This file was deleted.

Loading