Skip to content

Variable: NotificationRecipientsSchema

ts
const NotificationRecipientsSchema: ZodObject<{
  assignee: ZodOptional<ZodBoolean>;
  groupIds: ZodOptional<ZodArray<ZodString>>;
  groups: ZodOptional<ZodArray<ZodObject<{
     groupId: ZodOptional<ZodNullable<ZodString>>;
     name: ZodOptional<ZodString>;
     self: ZodOptional<ZodURL>;
  }, $loose>>>;
  reporter: ZodOptional<ZodBoolean>;
  users: ZodOptional<ZodArray<ZodObject<{
     accountId: ZodOptional<ZodString>;
     accountType: ZodOptional<ZodString>;
     active: ZodOptional<ZodBoolean>;
     avatarUrls: ZodOptional<ZodObject<{
        16x16: ZodOptional<ZodURL>;
        24x24: ZodOptional<ZodURL>;
        32x32: ZodOptional<ZodURL>;
        48x48: ZodOptional<ZodURL>;
     }, $loose>>;
     displayName: ZodOptional<ZodString>;
     emailAddress: ZodOptional<ZodString>;
     self: ZodOptional<ZodString>;
     timeZone: ZodOptional<ZodString>;
  }, $loose>>>;
  voters: ZodOptional<ZodBoolean>;
  watchers: ZodOptional<ZodBoolean>;
}, $loose>;

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

Details of the users and groups to receive the notification.