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>;
  }, ApiObjectConfig<undefined>>>>;
  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>;
     }, ApiObjectConfig<undefined>>>;
     displayName: ZodOptional<ZodString>;
     emailAddress: ZodOptional<ZodString>;
     self: ZodOptional<ZodString>;
     timeZone: ZodOptional<ZodString>;
  }, ApiObjectConfig<undefined>>>>;
  voters: ZodOptional<ZodBoolean>;
  watchers: ZodOptional<ZodBoolean>;
}, ApiObjectConfig<undefined>>;

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

Details of the users and groups to receive the notification.