diff --git a/.stats.yml b/.stats.yml index 74549510..25fa5f0b 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 82 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb-05f09f77c63744e86cb2b03330b994964f8319c0d69f41f964f9f57de969257c.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb-e0338fed09226882fc7e89ae7249ca67d95217701cba0c91b68c7a6cc102fd7f.yml diff --git a/src/orb/resources/customers/credits/credits.py b/src/orb/resources/customers/credits/credits.py index babb1ed3..f2f43bde 100644 --- a/src/orb/resources/customers/credits/credits.py +++ b/src/orb/resources/customers/credits/credits.py @@ -74,6 +74,9 @@ def list( """ Returns a paginated list of unexpired, non-zero credit blocks for a customer. + Note that `currency` defaults to credits if not specified. To use a real world + currency, set `currency` to an ISO 4217 string. + Args: currency: The ledger currency or custom pricing unit to use. @@ -129,6 +132,9 @@ def list_by_external_id( """ Returns a paginated list of unexpired, non-zero credit blocks for a customer. + Note that `currency` defaults to credits if not specified. To use a real world + currency, set `currency` to an ISO 4217 string. + Args: currency: The ledger currency or custom pricing unit to use. @@ -204,6 +210,9 @@ def list( """ Returns a paginated list of unexpired, non-zero credit blocks for a customer. + Note that `currency` defaults to credits if not specified. To use a real world + currency, set `currency` to an ISO 4217 string. + Args: currency: The ledger currency or custom pricing unit to use. @@ -259,6 +268,9 @@ def list_by_external_id( """ Returns a paginated list of unexpired, non-zero credit blocks for a customer. + Note that `currency` defaults to credits if not specified. To use a real world + currency, set `currency` to an ISO 4217 string. + Args: currency: The ledger currency or custom pricing unit to use. diff --git a/src/orb/resources/invoices.py b/src/orb/resources/invoices.py index 5290db5b..5da67aa6 100644 --- a/src/orb/resources/invoices.py +++ b/src/orb/resources/invoices.py @@ -307,7 +307,7 @@ def issue( """This endpoint allows an eligible invoice to be issued manually. This is only - possible with invoices where status is `draft`, `will_auto_issue` is true, and + possible with invoices where status is `draft`, `will_auto_issue` is false, and an `eligible_to_issue_at` is a time in the past. Issuing an invoice could possibly trigger side effects, some of which could be customer-visible (e.g. sending emails, auto-collecting payment, syncing the invoice to external @@ -718,7 +718,7 @@ async def issue( """This endpoint allows an eligible invoice to be issued manually. This is only - possible with invoices where status is `draft`, `will_auto_issue` is true, and + possible with invoices where status is `draft`, `will_auto_issue` is false, and an `eligible_to_issue_at` is a time in the past. Issuing an invoice could possibly trigger side effects, some of which could be customer-visible (e.g. sending emails, auto-collecting payment, syncing the invoice to external