Skip to content

Commit

Permalink
feat(api): updates (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored May 1, 2024
1 parent 3869a1d commit a451491
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -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
6 changes: 6 additions & 0 deletions src/resources/customers/credits/credits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ export class Credits extends APIResource {

/**
* 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.
*/
list(
customerId: string,
Expand All @@ -40,6 +43,9 @@ export class Credits extends APIResource {

/**
* 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.
*/
listByExternalId(
externalCustomerId: string,
Expand Down
2 changes: 1 addition & 1 deletion src/resources/invoices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export class Invoices extends APIResource {

/**
* 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
Expand Down

0 comments on commit a451491

Please sign in to comment.