@openmeter/sdk 1.0.0-beta.236 → 1.0.0-beta.237

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.
@@ -2672,9 +2672,7 @@ export declare const ListEventsQueryParams: zod.ZodObject<{
2672
2672
  export declare const ingestEventsBodySpecversionDefault = "1.0";
2673
2673
  export declare const IngestEventsBody: zod.ZodObject<{
2674
2674
  data: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>>;
2675
- datacontenttype: zod.ZodOptional<zod.ZodNullable<zod.ZodEnum<{
2676
- "application/json": "application/json";
2677
- }>>>;
2675
+ datacontenttype: zod.ZodOptional<zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"application/json">, zod.ZodLiteral<null>]>>>;
2678
2676
  dataschema: zod.ZodOptional<zod.ZodNullable<zod.ZodURL>>;
2679
2677
  id: zod.z.ZodCoercedString<unknown>;
2680
2678
  source: zod.z.ZodCoercedString<unknown>;
@@ -2672,9 +2672,7 @@ export declare const ListEventsQueryParams: zod.ZodObject<{
2672
2672
  export declare const ingestEventsBodySpecversionDefault = "1.0";
2673
2673
  export declare const IngestEventsBody: zod.ZodObject<{
2674
2674
  data: zod.ZodOptional<zod.ZodNullable<zod.ZodRecord<zod.ZodString, zod.ZodUnknown>>>;
2675
- datacontenttype: zod.ZodOptional<zod.ZodNullable<zod.ZodEnum<{
2676
- "application/json": "application/json";
2677
- }>>>;
2675
+ datacontenttype: zod.ZodOptional<zod.ZodNullable<zod.ZodUnion<readonly [zod.ZodLiteral<"application/json">, zod.ZodLiteral<null>]>>>;
2678
2676
  dataschema: zod.ZodOptional<zod.ZodNullable<zod.ZodURL>>;
2679
2677
  id: zod.z.ZodCoercedString<unknown>;
2680
2678
  source: zod.z.ZodCoercedString<unknown>;
@@ -5662,7 +5662,7 @@ export const IngestEventsBody = zod
5662
5662
  .nullish()
5663
5663
  .describe('The event payload.\nOptional, if present it must be a JSON object.'),
5664
5664
  datacontenttype: zod
5665
- .enum(['application/json'])
5665
+ .union([zod.literal('application/json'), zod.literal(null)])
5666
5666
  .nullish()
5667
5667
  .describe('Content type of the CloudEvents data value. Only the value "application/json" is allowed over HTTP.'),
5668
5668
  dataschema: zod