Skip to content

Commit 7d9a383

Browse files
feat(api): api update
1 parent 12b342c commit 7d9a383

5 files changed

Lines changed: 16 additions & 8 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 139
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-6d5fe70daa99c4f8480b388e828d125c42f6ff501f5b8030832ec487c6c929f0.yml
3-
openapi_spec_hash: 3ba772cb9926acc8b92881b311fd8685
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-eeffebaca8ce42919ea1e0b3b088c0adc197088c8cd6f46cd6339ed72a9e5058.yml
3+
openapi_spec_hash: a9669b75ec8e699410f2dacd164168e4
44
config_hash: c01c1191b1cd696c7ca855ff6d28a8df

src/Orb/Models/Customers/Credits/Ledger/LedgerCreateEntryByExternalIDParams.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2225,9 +2225,9 @@ public JsonElement EntryType
22252225
}
22262226

22272227
/// <summary>
2228-
/// A future date (specified in YYYY-MM-DD format) used for expiration change,
2229-
/// denoting when credits transferred (as part of a partial block expiration)
2230-
/// should expire.
2228+
/// A date (specified in YYYY-MM-DD format) used for expiration change, denoting
2229+
/// when credits transferred (as part of a partial block expiration) should expire.
2230+
/// This date must be on or after the effective date of the credit block.
22312231
/// </summary>
22322232
public required string TargetExpiryDate
22332233
{

src/Orb/Models/Customers/Credits/Ledger/LedgerCreateEntryParams.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2008,9 +2008,9 @@ public JsonElement EntryType
20082008
}
20092009

20102010
/// <summary>
2011-
/// A future date (specified in YYYY-MM-DD format) used for expiration change,
2012-
/// denoting when credits transferred (as part of a partial block expiration)
2013-
/// should expire.
2011+
/// A date (specified in YYYY-MM-DD format) used for expiration change, denoting
2012+
/// when credits transferred (as part of a partial block expiration) should expire.
2013+
/// This date must be on or after the effective date of the credit block.
20142014
/// </summary>
20152015
public required string TargetExpiryDate
20162016
{

src/Orb/Models/Invoices/InvoiceListParams.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ namespace Orb.Models.Invoices;
2525
/// values for each draft invoice, which may not always be up-to-date since Orb regularly
2626
/// refreshes invoices asynchronously.</para>
2727
///
28+
/// <para>If you don't need line item details, minimums, maximums, or discounts, prefer
29+
/// the [list invoices summary](/api-reference/invoice/list-invoices-summary) endpoint
30+
/// for better performance.</para>
31+
///
2832
/// <para>NOTE: Do not inherit from this type outside the SDK unless you're okay with
2933
/// breaking changes in non-major versions. We may add new methods in the future that
3034
/// cause existing derived classes to break.</para>

src/Orb/Services/IInvoiceService.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@ Task<Invoice> Update(
7878
/// <para>When fetching any `draft` invoices, this returns the last-computed invoice
7979
/// values for each draft invoice, which may not always be up-to-date since Orb
8080
/// regularly refreshes invoices asynchronously.</para>
81+
///
82+
/// <para>If you don't need line item details, minimums, maximums, or discounts,
83+
/// prefer the [list invoices summary](/api-reference/invoice/list-invoices-summary)
84+
/// endpoint for better performance.</para>
8185
/// </summary>
8286
Task<InvoiceListPage> List(
8387
InvoiceListParams? parameters = null,

0 commit comments

Comments
 (0)