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
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 93
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb-e620baef7c2e237e0f03f462c688ba7bb1215d6481139b56b0074b6022d0ce6e.yml
configured_endpoints: 91
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb-83ae433113181f3839cc63db01cc7c815de1fff597a1cbaf8ffda48ba98268c9.yml
13 changes: 0 additions & 13 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,19 +81,6 @@ Methods:
- <code title="get /customers/{customer_id}/costs">client.customers.costs.<a href="./src/orb/resources/customers/costs.py">list</a>(customer_id, \*\*<a href="src/orb/types/customers/cost_list_params.py">params</a>) -> <a href="./src/orb/types/customers/cost_list_response.py">CostListResponse</a></code>
- <code title="get /customers/external_customer_id/{external_customer_id}/costs">client.customers.costs.<a href="./src/orb/resources/customers/costs.py">list_by_external_id</a>(external_customer_id, \*\*<a href="src/orb/types/customers/cost_list_by_external_id_params.py">params</a>) -> <a href="./src/orb/types/customers/cost_list_by_external_id_response.py">CostListByExternalIDResponse</a></code>

## Usage

Types:

```python
from orb.types.customers import UsageUpdateResponse, UsageUpdateByExternalIDResponse
```

Methods:

- <code title="patch /customers/{customer_id}/usage">client.customers.usage.<a href="./src/orb/resources/customers/usage.py">update</a>(id, \*\*<a href="src/orb/types/customers/usage_update_params.py">params</a>) -> <a href="./src/orb/types/customers/usage_update_response.py">UsageUpdateResponse</a></code>
- <code title="patch /customers/external_customer_id/{external_customer_id}/usage">client.customers.usage.<a href="./src/orb/resources/customers/usage.py">update_by_external_id</a>(id, \*\*<a href="src/orb/types/customers/usage_update_by_external_id_params.py">params</a>) -> <a href="./src/orb/types/customers/usage_update_by_external_id_response.py">UsageUpdateByExternalIDResponse</a></code>

## Credits

Types:
Expand Down
14 changes: 0 additions & 14 deletions src/orb/resources/customers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,6 @@
CostsWithStreamingResponse,
AsyncCostsWithStreamingResponse,
)
from .usage import (
Usage,
AsyncUsage,
UsageWithRawResponse,
AsyncUsageWithRawResponse,
UsageWithStreamingResponse,
AsyncUsageWithStreamingResponse,
)
from .credits import (
Credits,
AsyncCredits,
Expand Down Expand Up @@ -48,12 +40,6 @@
"AsyncCostsWithRawResponse",
"CostsWithStreamingResponse",
"AsyncCostsWithStreamingResponse",
"Usage",
"AsyncUsage",
"UsageWithRawResponse",
"AsyncUsageWithRawResponse",
"UsageWithStreamingResponse",
"AsyncUsageWithStreamingResponse",
"Credits",
"AsyncCredits",
"CreditsWithRawResponse",
Expand Down
32 changes: 0 additions & 32 deletions src/orb/resources/customers/customers.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,6 @@
CostsWithStreamingResponse,
AsyncCostsWithStreamingResponse,
)
from .usage import (
Usage,
AsyncUsage,
UsageWithRawResponse,
AsyncUsageWithRawResponse,
UsageWithStreamingResponse,
AsyncUsageWithStreamingResponse,
)
from ...types import (
customer_list_params,
customer_create_params,
Expand Down Expand Up @@ -68,10 +60,6 @@ class Customers(SyncAPIResource):
def costs(self) -> Costs:
return Costs(self._client)

@cached_property
def usage(self) -> Usage:
return Usage(self._client)

@cached_property
def credits(self) -> Credits:
return Credits(self._client)
Expand Down Expand Up @@ -953,10 +941,6 @@ class AsyncCustomers(AsyncAPIResource):
def costs(self) -> AsyncCosts:
return AsyncCosts(self._client)

@cached_property
def usage(self) -> AsyncUsage:
return AsyncUsage(self._client)

@cached_property
def credits(self) -> AsyncCredits:
return AsyncCredits(self._client)
Expand Down Expand Up @@ -1863,10 +1847,6 @@ def __init__(self, customers: Customers) -> None:
def costs(self) -> CostsWithRawResponse:
return CostsWithRawResponse(self._customers.costs)

@cached_property
def usage(self) -> UsageWithRawResponse:
return UsageWithRawResponse(self._customers.usage)

@cached_property
def credits(self) -> CreditsWithRawResponse:
return CreditsWithRawResponse(self._customers.credits)
Expand Down Expand Up @@ -1906,10 +1886,6 @@ def __init__(self, customers: AsyncCustomers) -> None:
def costs(self) -> AsyncCostsWithRawResponse:
return AsyncCostsWithRawResponse(self._customers.costs)

@cached_property
def usage(self) -> AsyncUsageWithRawResponse:
return AsyncUsageWithRawResponse(self._customers.usage)

@cached_property
def credits(self) -> AsyncCreditsWithRawResponse:
return AsyncCreditsWithRawResponse(self._customers.credits)
Expand Down Expand Up @@ -1949,10 +1925,6 @@ def __init__(self, customers: Customers) -> None:
def costs(self) -> CostsWithStreamingResponse:
return CostsWithStreamingResponse(self._customers.costs)

@cached_property
def usage(self) -> UsageWithStreamingResponse:
return UsageWithStreamingResponse(self._customers.usage)

@cached_property
def credits(self) -> CreditsWithStreamingResponse:
return CreditsWithStreamingResponse(self._customers.credits)
Expand Down Expand Up @@ -1992,10 +1964,6 @@ def __init__(self, customers: AsyncCustomers) -> None:
def costs(self) -> AsyncCostsWithStreamingResponse:
return AsyncCostsWithStreamingResponse(self._customers.costs)

@cached_property
def usage(self) -> AsyncUsageWithStreamingResponse:
return AsyncUsageWithStreamingResponse(self._customers.usage)

@cached_property
def credits(self) -> AsyncCreditsWithStreamingResponse:
return AsyncCreditsWithStreamingResponse(self._customers.credits)
Expand Down
Loading