@openmeter/client 1.0.0-beta-61c6db45b393 → 1.0.0-beta-705cc6b8e5c9

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-61c6db45b393";
1
+ export declare const SDK_VERSION = "1.0.0-beta-705cc6b8e5c9";
@@ -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-61c6db45b393';
5
+ export const SDK_VERSION = '1.0.0-beta-705cc6b8e5c9';
@@ -1570,6 +1570,18 @@ export declare const listCreditGrantsParamsFilter: z.ZodObject<{
1570
1570
  lte: z.ZodOptional<z.ZodString>;
1571
1571
  exists: z.ZodOptional<z.ZodBoolean>;
1572
1572
  }, z.core.$strip>]>>;
1573
+ featureKey: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
1574
+ eq: z.ZodOptional<z.ZodString>;
1575
+ neq: z.ZodOptional<z.ZodString>;
1576
+ contains: z.ZodOptional<z.ZodString>;
1577
+ ocontains: z.ZodOptional<z.ZodArray<z.ZodString>>;
1578
+ oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
1579
+ gt: z.ZodOptional<z.ZodString>;
1580
+ gte: z.ZodOptional<z.ZodString>;
1581
+ lt: z.ZodOptional<z.ZodString>;
1582
+ lte: z.ZodOptional<z.ZodString>;
1583
+ exists: z.ZodOptional<z.ZodBoolean>;
1584
+ }, z.core.$strip>]>>;
1573
1585
  }, z.core.$strip>;
1574
1586
  export declare const validationIssue: z.ZodObject<{
1575
1587
  code: z.ZodString;
@@ -21076,6 +21088,18 @@ export declare const listCreditGrantsQueryParams: z.ZodObject<{
21076
21088
  lte: z.ZodOptional<z.ZodString>;
21077
21089
  exists: z.ZodOptional<z.ZodBoolean>;
21078
21090
  }, z.core.$strip>]>>;
21091
+ featureKey: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
21092
+ eq: z.ZodOptional<z.ZodString>;
21093
+ neq: z.ZodOptional<z.ZodString>;
21094
+ contains: z.ZodOptional<z.ZodString>;
21095
+ ocontains: z.ZodOptional<z.ZodArray<z.ZodString>>;
21096
+ oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
21097
+ gt: z.ZodOptional<z.ZodString>;
21098
+ gte: z.ZodOptional<z.ZodString>;
21099
+ lt: z.ZodOptional<z.ZodString>;
21100
+ lte: z.ZodOptional<z.ZodString>;
21101
+ exists: z.ZodOptional<z.ZodBoolean>;
21102
+ }, z.core.$strip>]>>;
21079
21103
  }, z.core.$strip>>;
21080
21104
  }, z.core.$strip>;
21081
21105
  export declare const listCreditGrantsResponse: z.ZodObject<{
@@ -38610,6 +38634,18 @@ export declare const listCreditGrantsParamsFilterWire: z.ZodObject<{
38610
38634
  lte: z.ZodOptional<z.ZodString>;
38611
38635
  exists: z.ZodOptional<z.ZodBoolean>;
38612
38636
  }, z.core.$strict>]>>;
38637
+ feature_key: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
38638
+ eq: z.ZodOptional<z.ZodString>;
38639
+ neq: z.ZodOptional<z.ZodString>;
38640
+ contains: z.ZodOptional<z.ZodString>;
38641
+ ocontains: z.ZodOptional<z.ZodArray<z.ZodString>>;
38642
+ oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
38643
+ gt: z.ZodOptional<z.ZodString>;
38644
+ gte: z.ZodOptional<z.ZodString>;
38645
+ lt: z.ZodOptional<z.ZodString>;
38646
+ lte: z.ZodOptional<z.ZodString>;
38647
+ exists: z.ZodOptional<z.ZodBoolean>;
38648
+ }, z.core.$strict>]>>;
38613
38649
  }, z.core.$strict>;
38614
38650
  export declare const validationIssueWire: z.ZodObject<{
38615
38651
  code: z.ZodString;
@@ -58095,6 +58131,18 @@ export declare const listCreditGrantsQueryParamsWire: z.ZodObject<{
58095
58131
  lte: z.ZodOptional<z.ZodString>;
58096
58132
  exists: z.ZodOptional<z.ZodBoolean>;
58097
58133
  }, z.core.$strict>]>>;
58134
+ feature_key: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
58135
+ eq: z.ZodOptional<z.ZodString>;
58136
+ neq: z.ZodOptional<z.ZodString>;
58137
+ contains: z.ZodOptional<z.ZodString>;
58138
+ ocontains: z.ZodOptional<z.ZodArray<z.ZodString>>;
58139
+ oeq: z.ZodOptional<z.ZodArray<z.ZodString>>;
58140
+ gt: z.ZodOptional<z.ZodString>;
58141
+ gte: z.ZodOptional<z.ZodString>;
58142
+ lt: z.ZodOptional<z.ZodString>;
58143
+ lte: z.ZodOptional<z.ZodString>;
58144
+ exists: z.ZodOptional<z.ZodBoolean>;
58145
+ }, z.core.$strict>]>>;
58098
58146
  }, z.core.$strict>>;
58099
58147
  }, z.core.$strip>;
58100
58148
  export declare const listCreditGrantsResponseWire: z.ZodObject<{
@@ -2425,6 +2425,7 @@ export const listCreditGrantsParamsFilter = z
2425
2425
  status: creditGrantStatus.optional(),
2426
2426
  currency: currencyCode.optional(),
2427
2427
  key: stringFieldFilter.optional(),
2428
+ featureKey: stringFieldFilter.optional(),
2428
2429
  })
2429
2430
  .describe('Filter options for listing credit grants.');
2430
2431
  export const validationIssue = z
@@ -9647,6 +9648,7 @@ export const listCreditGrantsParamsFilterWire = z
9647
9648
  status: creditGrantStatusWire.optional(),
9648
9649
  currency: currencyCodeWire.optional(),
9649
9650
  key: stringFieldFilterWire.optional(),
9651
+ feature_key: stringFieldFilterWire.optional(),
9650
9652
  })
9651
9653
  .describe('Filter options for listing credit grants.');
9652
9654
  export const validationIssueWire = z
@@ -2030,6 +2030,13 @@ export interface ListCreditGrantsParamsFilter {
2030
2030
  currency?: string;
2031
2031
  /** Filter credit grants by key. */
2032
2032
  key?: StringFieldFilter;
2033
+ /**
2034
+ * Select grants spendable on any requested feature, including grants without
2035
+ * feature restrictions. Keys are case-sensitive. Supports `eq` (or shorthand) and
2036
+ * `oeq` with comma-separated keys. Omit to include all features; use
2037
+ * `exists=false` for grants without feature restrictions.
2038
+ */
2039
+ featureKey?: StringFieldFilter;
2033
2040
  }
2034
2041
  /** A validation issue found while processing a billing resource. */
2035
2042
  export interface ValidationIssue {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmeter/client",
3
- "version": "1.0.0-beta-61c6db45b393",
3
+ "version": "1.0.0-beta-705cc6b8e5c9",
4
4
  "description": "Official TypeScript SDK for the OpenMeter API — usage metering and billing",
5
5
  "keywords": [
6
6
  "openmeter",