Skip to content

Variable: NotificationRecipientsRestrictionsSchema

ts
const NotificationRecipientsRestrictionsSchema: ZodObject<{
  groupIds: ZodOptional<ZodArray<ZodString>>;
  groups: ZodOptional<ZodArray<ZodObject<{
     groupId: ZodOptional<ZodNullable<ZodString>>;
     name: ZodOptional<ZodString>;
     self: ZodOptional<ZodURL>;
  }, $loose>>>;
  permissions: ZodOptional<ZodArray<ZodObject<{
     id: ZodOptional<ZodString>;
     key: ZodOptional<ZodString>;
  }, $loose>>>;
}, $loose>;

Defined in: src/cloud/models/notificationRecipientsRestrictions.ts:7

Details of the group membership or permissions needed to receive the notification.