@openmeter/client 1.0.0-beta-d74dfced779e → 1.0.0-beta-04f7c68183de

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.
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.0.0-beta-d74dfced779e";
1
+ export declare const SDK_VERSION = "1.0.0-beta-04f7c68183de";
@@ -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-d74dfced779e';
5
+ export const SDK_VERSION = '1.0.0-beta-04f7c68183de';
@@ -25,7 +25,7 @@ export interface ListCurrenciesQuery {
25
25
  /**
26
26
  * Expand the currencies returned in the response.
27
27
  *
28
- * To include the currently-active cost basis add: expand=cost_basis
28
+ * To include the active and scheduled cost basis add: expand=cost_basis
29
29
  */
30
30
  expand?: 'cost_basis'[];
31
31
  }
@@ -693,7 +693,7 @@ export const currencyType = z
693
693
  .describe('Currency type for custom currencies. It should be a unique code but not conflicting with any existing standard currency codes.');
694
694
  export const currencyExpand = z
695
695
  .enum(['cost_basis'])
696
- .describe("Expands for currencies. Values: - `cost_basis`: The currency's currently-active cost basis.");
696
+ .describe("Expands for currencies. Values: - `cost_basis`: The currency's active and scheduled cost basis.");
697
697
  export const featureLlmTokenType = z
698
698
  .enum([
699
699
  'input',
@@ -2728,7 +2728,7 @@ export const currencyCustom = z
2728
2728
  costBasis: z
2729
2729
  .array(costBasis)
2730
2730
  .optional()
2731
- .describe('The list of active cost basis for the custom currency.'),
2731
+ .describe('The list of active and scheduled cost bases for the custom currency. Expired and deleted cost bases are excluded.'),
2732
2732
  })
2733
2733
  .describe('Describes custom currency.');
2734
2734
  export const featureCostQueryResult = z
@@ -4876,7 +4876,7 @@ export const listCurrenciesQueryParams = z.object({
4876
4876
  expand: z
4877
4877
  .array(currencyExpand)
4878
4878
  .optional()
4879
- .describe('Expand the currencies returned in the response. To include the currently-active cost basis add: expand=cost_basis'),
4879
+ .describe('Expand the currencies returned in the response. To include the active and scheduled cost basis add: expand=cost_basis'),
4880
4880
  });
4881
4881
  export const listCurrenciesResponse = z.object({
4882
4882
  data: z.array(currency),
@@ -5814,7 +5814,7 @@ export const currencyTypeWire = z
5814
5814
  .describe('Currency type for custom currencies. It should be a unique code but not conflicting with any existing standard currency codes.');
5815
5815
  export const currencyExpandWire = z
5816
5816
  .enum(['cost_basis'])
5817
- .describe("Expands for currencies. Values: - `cost_basis`: The currency's currently-active cost basis.");
5817
+ .describe("Expands for currencies. Values: - `cost_basis`: The currency's active and scheduled cost basis.");
5818
5818
  export const featureLlmTokenTypeWire = z
5819
5819
  .enum([
5820
5820
  'input',
@@ -7825,7 +7825,7 @@ export const currencyCustomWire = z
7825
7825
  cost_basis: z
7826
7826
  .array(costBasisWire)
7827
7827
  .optional()
7828
- .describe('The list of active cost basis for the custom currency.'),
7828
+ .describe('The list of active and scheduled cost bases for the custom currency. Expired and deleted cost bases are excluded.'),
7829
7829
  })
7830
7830
  .describe('Describes custom currency.');
7831
7831
  export const featureCostQueryResultWire = z
@@ -10000,7 +10000,7 @@ export const listCurrenciesQueryParamsWire = z.object({
10000
10000
  expand: z
10001
10001
  .array(currencyExpandWire)
10002
10002
  .optional()
10003
- .describe('Expand the currencies returned in the response. To include the currently-active cost basis add: expand=cost_basis'),
10003
+ .describe('Expand the currencies returned in the response. To include the active and scheduled cost basis add: expand=cost_basis'),
10004
10004
  });
10005
10005
  export const listCurrenciesResponseWire = z.strictObject({
10006
10006
  data: z.array(currencyWire),
@@ -2693,7 +2693,10 @@ export interface CurrencyCustom {
2693
2693
  code: string;
2694
2694
  /** An ISO-8601 timestamp representation of the custom currency creation date. */
2695
2695
  createdAt: Date;
2696
- /** The list of active cost basis for the custom currency. */
2696
+ /**
2697
+ * The list of active and scheduled cost bases for the custom currency. Expired and
2698
+ * deleted cost bases are excluded.
2699
+ */
2697
2700
  costBasis?: CostBasis[];
2698
2701
  }
2699
2702
  /** Result of a feature cost query. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmeter/client",
3
- "version": "1.0.0-beta-d74dfced779e",
3
+ "version": "1.0.0-beta-04f7c68183de",
4
4
  "description": "Official TypeScript SDK for the OpenMeter API — usage metering and billing",
5
5
  "keywords": [
6
6
  "openmeter",