@openmeter/sdk 1.0.0-beta-630904f17fa9 → 1.0.0-beta-ea9fea10d99e

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.
@@ -6615,12 +6615,17 @@ export interface components {
6615
6615
  /**
6616
6616
  * @description Simple filter for group bys with exact match.
6617
6617
  * @example {
6618
- * "model": "gpt-4-turbo",
6619
- * "type": "prompt"
6618
+ * "model": [
6619
+ * "gpt-4-turbo",
6620
+ * "gpt-4o"
6621
+ * ],
6622
+ * "type": [
6623
+ * "prompt"
6624
+ * ]
6620
6625
  * }
6621
6626
  */
6622
6627
  filterGroupBy?: {
6623
- [key: string]: string;
6628
+ [key: string]: string[];
6624
6629
  };
6625
6630
  /**
6626
6631
  * @description If not specified a single aggregate will be returned for each subject and time window.
@@ -6176,7 +6176,7 @@ exports.queryMeterPostBody = zod_1.z
6176
6176
  .optional()
6177
6177
  .describe('Client ID\nUseful to track progress of a query.'),
6178
6178
  filterGroupBy: zod_1.z
6179
- .record(zod_1.z.string(), zod_1.z.string())
6179
+ .record(zod_1.z.string(), zod_1.z.array(zod_1.z.string()))
6180
6180
  .optional()
6181
6181
  .describe('Simple filter for group bys with exact match.'),
6182
6182
  from: zod_1.z
@@ -10892,7 +10892,7 @@ export declare const queryMeterPostBodySubjectMax = 100;
10892
10892
  export declare const queryMeterPostBodyGroupByMax = 100;
10893
10893
  export declare const queryMeterPostBody: zod.ZodObject<{
10894
10894
  clientId: zod.ZodOptional<zod.ZodString>;
10895
- filterGroupBy: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodString>>;
10895
+ filterGroupBy: zod.ZodOptional<zod.ZodRecord<zod.ZodString, zod.ZodArray<zod.ZodString, "many">>>;
10896
10896
  from: zod.ZodOptional<zod.ZodDate>;
10897
10897
  groupBy: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
10898
10898
  subject: zod.ZodOptional<zod.ZodArray<zod.ZodString, "many">>;
@@ -10907,7 +10907,7 @@ export declare const queryMeterPostBody: zod.ZodObject<{
10907
10907
  windowSize?: "HOUR" | "DAY" | "MINUTE" | undefined;
10908
10908
  groupBy?: string[] | undefined;
10909
10909
  clientId?: string | undefined;
10910
- filterGroupBy?: Record<string, string> | undefined;
10910
+ filterGroupBy?: Record<string, string[]> | undefined;
10911
10911
  }, {
10912
10912
  subject?: string[] | undefined;
10913
10913
  from?: Date | undefined;
@@ -10916,7 +10916,7 @@ export declare const queryMeterPostBody: zod.ZodObject<{
10916
10916
  windowTimeZone?: string | undefined;
10917
10917
  groupBy?: string[] | undefined;
10918
10918
  clientId?: string | undefined;
10919
- filterGroupBy?: Record<string, string> | undefined;
10919
+ filterGroupBy?: Record<string, string[]> | undefined;
10920
10920
  }>;
10921
10921
  /**
10922
10922
  * List subjects for a meter.