@openmeter/client 1.0.0-beta-8cdf8adc7fc0 → 1.0.0-beta-fab8c28a6017
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/lib/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.0.0-beta-
|
|
1
|
+
export declare const SDK_VERSION = "1.0.0-beta-fab8c28a6017";
|
package/dist/lib/version.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
// The committed value is a dev placeholder. The publish flow
|
|
3
3
|
// (`make -C api/spec publish-aip-sdk`) stamps the real release version here
|
|
4
4
|
// before `pnpm publish`, after `pnpm version` updates package.json.
|
|
5
|
-
export const SDK_VERSION = '1.0.0-beta-
|
|
5
|
+
export const SDK_VERSION = '1.0.0-beta-fab8c28a6017';
|
|
@@ -92,7 +92,8 @@ export interface GetCustomerCreditBalanceQuery {
|
|
|
92
92
|
/**
|
|
93
93
|
* Return the credit balance as of this timestamp.
|
|
94
94
|
*
|
|
95
|
-
* Defaults to the current time.
|
|
95
|
+
* Defaults to the current time. Historical responses return `live` as zero because
|
|
96
|
+
* live charge impacts are only available for current balances.
|
|
96
97
|
*/
|
|
97
98
|
timestamp?: Date;
|
|
98
99
|
filter?: GetCreditBalanceParamsFilter;
|
package/dist/models/types.d.ts
CHANGED
|
@@ -2145,7 +2145,12 @@ export interface CreditAdjustment {
|
|
|
2145
2145
|
/** The credit balance by currency. */
|
|
2146
2146
|
export interface CreditBalance {
|
|
2147
2147
|
currency: BillingCurrencyCode;
|
|
2148
|
-
/**
|
|
2148
|
+
/**
|
|
2149
|
+
* Credits available after applying currently live charge impacts.
|
|
2150
|
+
*
|
|
2151
|
+
* Always zero for historical balance queries using the `timestamp` parameter
|
|
2152
|
+
* because live charge impacts cannot be reconstructed historically.
|
|
2153
|
+
*/
|
|
2149
2154
|
live: string;
|
|
2150
2155
|
/** Credits that have been booked on the ledger as of the balance timestamp. */
|
|
2151
2156
|
settled: string;
|