Skip to content

Variable: NotificationList ​

ts
const NotificationList: z.ZodObject<{
  items: z.ZodArray<z.ZodObject<{
     createdAt: z.ZodCoercedDate<unknown>;
     href: z.ZodNullable<z.ZodString>;
     id: z.ZodGUID;
     kind: z.ZodEnum<{
        app_degraded: "app_degraded";
        approval_requested: "approval_requested";
        assigned: "assigned";
        sla_breached: "sla_breached";
        webhook_exhausted: "webhook_exhausted";
     }>;
     readAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
     text: z.ZodString;
  }, z.core.$strip>>;
  unread: z.ZodNumber;
}, z.core.$strip>;

GET /notifications: the caller's newest notifications and how many are unread.

Released under the Apache-2.0 License.