: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.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
/**
* Auto-generated Zod validation schemas from the Django backend OpenAPI schema.
* To modify these schemas, update the Django serializers or views, then run:
* hogli build:openapi
* Questions or issues? #team-devex on Slack
*
* PostHog API - generated
* OpenAPI spec version: 1.0.0
*/
import * as zod from 'zod'
export const notificationsArchiveBulkCreateBodyNotificationIdsMax = 500
export const NotificationsArchiveBulkCreateBody = /* @__PURE__ */ zod.object({
notification_ids: zod
.array(zod.uuid())
.max(notificationsArchiveBulkCreateBodyNotificationIdsMax)
.describe(
'UUIDs of notification events to mark in bulk (max 500). Events the user is not a recipient of are silently skipped.'
),
})
export const notificationsMarkReadBulkCreateBodyNotificationIdsMax = 500
export const NotificationsMarkReadBulkCreateBody = /* @__PURE__ */ zod.object({
notification_ids: zod
.array(zod.uuid())
.max(notificationsMarkReadBulkCreateBodyNotificationIdsMax)
.describe(
'UUIDs of notification events to mark in bulk (max 500). Events the user is not a recipient of are silently skipped.'
),
})
export const notificationsMarkUnreadBulkCreateBodyNotificationIdsMax = 500
export const NotificationsMarkUnreadBulkCreateBody = /* @__PURE__ */ zod.object({
notification_ids: zod
.array(zod.uuid())
.max(notificationsMarkUnreadBulkCreateBodyNotificationIdsMax)
.describe(
'UUIDs of notification events to mark in bulk (max 500). Events the user is not a recipient of are silently skipped.'
),
})