Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(error-tracking): regen api.zod.ts for grouping rules update body (#59447)

Catalin Irimie38e18a1f8282
diff --git a/products/error_tracking/frontend/generated/api.zod.ts b/products/error_tracking/frontend/generated/api.zod.ts
index f13c0dded327..d87154800e82 100644
--- a/products/error_tracking/frontend/generated/api.zod.ts
+++ b/products/error_tracking/frontend/generated/api.zod.ts
@@ -134,13 +134,33 @@ export const ErrorTrackingGroupingRulesCreateBody = /* @__PURE__ */ zod.object({
.describe('Optional human-readable description of what this grouping rule is for.'),
})
-export const ErrorTrackingGroupingRulesUpdateBody = /* @__PURE__ */ zod
- .record(zod.string(), zod.unknown())
- .describe('Deep\/recursive schema (opaque in Zod — use TypeScript types for full shape)')
+export const ErrorTrackingGroupingRulesUpdateBody = /* @__PURE__ */ zod.object({
+ filters: zod
+ .union([
+ zod
+ .record(zod.string(), zod.unknown())
+ .describe('Deep\/recursive schema (opaque in Zod — use TypeScript types for full shape)'),
+ zod.null(),
+ ])
+ .optional()
+ .describe(
+ 'Property-group filters that define which exceptions should be grouped into the same issue. Omit to preserve the existing filters.'
+ ),
+})
-export const ErrorTrackingGroupingRulesPartialUpdateBody = /* @__PURE__ */ zod
- .record(zod.string(), zod.unknown())
- .describe('Deep\/recursive schema (opaque in Zod — use TypeScript types for full shape)')
+export const ErrorTrackingGroupingRulesPartialUpdateBody = /* @__PURE__ */ zod.object({
+ filters: zod
+ .union([
+ zod
+ .record(zod.string(), zod.unknown())
+ .describe('Deep\/recursive schema (opaque in Zod — use TypeScript types for full shape)'),
+ zod.null(),
+ ])
+ .optional()
+ .describe(
+ 'Property-group filters that define which exceptions should be grouped into the same issue. Omit to preserve the existing filters.'
+ ),
+})
export const errorTrackingGroupingRulesReorderPartialUpdateBodyOrderKeyMin = -2147483648
export const errorTrackingGroupingRulesReorderPartialUpdateBodyOrderKeyMax = 2147483647