@openmeter/sdk 1.0.0-beta-c4593ed2e314 → 1.0.0-beta-d848161d313f

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.
@@ -6494,7 +6494,7 @@ export interface components {
6494
6494
  * @description The aggregation type to use for the meter.
6495
6495
  * @enum {string}
6496
6496
  */
6497
- MeterAggregation: 'SUM' | 'COUNT' | 'UNIQUE_COUNT' | 'AVG' | 'MIN' | 'MAX';
6497
+ MeterAggregation: 'SUM' | 'COUNT' | 'UNIQUE_COUNT' | 'AVG' | 'MIN' | 'MAX' | 'LATEST';
6498
6498
  /**
6499
6499
  * @description A meter create model.
6500
6500
  * @example {
@@ -6031,7 +6031,7 @@ exports.createMeterBodySlugRegExp = new RegExp('^[a-z0-9]+(?:_[a-z0-9]+)*$');
6031
6031
  exports.createMeterBody = zod_1.z
6032
6032
  .object({
6033
6033
  aggregation: zod_1.z
6034
- .enum(['SUM', 'COUNT', 'UNIQUE_COUNT', 'AVG', 'MIN', 'MAX'])
6034
+ .enum(['SUM', 'COUNT', 'UNIQUE_COUNT', 'AVG', 'MIN', 'MAX', 'LATEST'])
6035
6035
  .describe('The aggregation type to use for the meter.')
6036
6036
  .describe('The aggregation type to use for the meter.'),
6037
6037
  description: zod_1.z
@@ -10075,7 +10075,7 @@ export declare const createMeterBodyNameMax = 256;
10075
10075
  export declare const createMeterBodySlugMax = 64;
10076
10076
  export declare const createMeterBodySlugRegExp: RegExp;
10077
10077
  export declare const createMeterBody: zod.ZodObject<{
10078
- aggregation: zod.ZodEnum<["SUM", "COUNT", "UNIQUE_COUNT", "AVG", "MIN", "MAX"]>;
10078
+ aggregation: zod.ZodEnum<["SUM", "COUNT", "UNIQUE_COUNT", "AVG", "MIN", "MAX", "LATEST"]>;
10079
10079
  description: zod.ZodOptional<zod.ZodString>;
10080
10080
  eventFrom: zod.ZodOptional<zod.ZodDate>;
10081
10081
  eventType: zod.ZodString;
@@ -10085,7 +10085,7 @@ export declare const createMeterBody: zod.ZodObject<{
10085
10085
  slug: zod.ZodString;
10086
10086
  valueProperty: zod.ZodOptional<zod.ZodString>;
10087
10087
  }, "strip", zod.ZodTypeAny, {
10088
- aggregation: "SUM" | "COUNT" | "UNIQUE_COUNT" | "AVG" | "MIN" | "MAX";
10088
+ aggregation: "SUM" | "COUNT" | "UNIQUE_COUNT" | "AVG" | "MIN" | "MAX" | "LATEST";
10089
10089
  eventType: string;
10090
10090
  slug: string;
10091
10091
  name?: string | undefined;
@@ -10095,7 +10095,7 @@ export declare const createMeterBody: zod.ZodObject<{
10095
10095
  groupBy?: Record<string, string> | undefined;
10096
10096
  valueProperty?: string | undefined;
10097
10097
  }, {
10098
- aggregation: "SUM" | "COUNT" | "UNIQUE_COUNT" | "AVG" | "MIN" | "MAX";
10098
+ aggregation: "SUM" | "COUNT" | "UNIQUE_COUNT" | "AVG" | "MIN" | "MAX" | "LATEST";
10099
10099
  eventType: string;
10100
10100
  slug: string;
10101
10101
  name?: string | undefined;