department-of-veterans-affairs/vets-website

View on GitHub
src/platform/mhv/api/mocks/secure-messaging/threads/inboxThreads.js

Summary

Maintainability
F
1 mo
Test Coverage
const { sub, formatISO } = require('date-fns');
const {
  senderInfo,
  categoryInfo,
  triageGroupNames,
} = require('../../constants');

const sampleId = 3601000;

const inboxThreads = {
  data: [
    {
      id: '3550425',
      type: 'message_threads',
      attributes: {
        threadId: 3550425,
        folderId: 0,
        messageId: 3550426,
        threadPageSize: 54,
        messageCount: 2,
        category: categoryInfo.OTHER,
        subject: 'General Inquiry',
        triageGroupName: triageGroupNames.DERMATOLOGY,
        sentDate: `${formatISO(new Date())}`,
        draftDate: null,
        senderId: senderInfo.cb.id,
        senderName: senderInfo.cb.name,
        recipientName: 'LEE, JAMIE',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: false,
        unreadMessages: false,
      },
      links: {
        self: 'http://127.0.0.1:3000/my_health/v1/messaging/threads/3550425',
      },
    },
    {
      id: '3549573',
      type: 'message_threads',
      attributes: {
        threadId: 3549573,
        folderId: 0,
        messageId: 3549585,
        threadPageSize: 54,
        messageCount: 3,
        category: categoryInfo.OTHER,
        subject: 'TEST',
        triageGroupName: triageGroupNames.MHVCOORD,
        sentDate: `${formatISO(new Date())}`,
        draftDate: null,
        senderId: senderInfo.ay.id,
        senderName: senderInfo.ay.name,
        recipientName: 'LEE, JAMIE',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: false,
        unreadMessages: false,
      },
      links: {
        self: 'http://127.0.0.1:3000/my_health/v1/messaging/threads/3549573',
      },
    },
    {
      id: '3400518',
      type: 'message_threads',
      attributes: {
        threadId: 3400518,
        folderId: 0,
        messageId: 3400519,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.OTHER,
        subject: 'General Inquiry',
        triageGroupName: triageGroupNames.CARDIOLOGY,
        sentDate: `${formatISO(new Date())}`,
        draftDate: null,
        senderId: senderInfo.do.id,
        senderName: senderInfo.do.name,
        recipientName: 'LEE, JAMIE',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: false,
        unreadMessages: false,
      },
      links: {
        self: 'http://127.0.0.1:3000/my_health/v1/messaging/threads/3400518',
      },
    },
    {
      id: '3258312',
      type: 'message_threads',
      attributes: {
        threadId: 3258312,
        folderId: 0,
        messageId: 3258313,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.OTHER,
        subject: 'General Inquiry',
        triageGroupName: triageGroupNames.AUDIOLOGY,
        sentDate: `${formatISO(new Date())}`,
        draftDate: null,
        senderId: senderInfo.cb.id,
        senderName: senderInfo.cb.name,
        recipientName: 'LEE, JAMIE',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: false,
        unreadMessages: false,
      },
      links: {
        self: 'http://127.0.0.1:3000/my_health/v1/messaging/threads/3258312',
      },
    },
    {
      id: '3258247',
      type: 'message_threads',
      attributes: {
        threadId: 3258247,
        folderId: 0,
        messageId: 3258248,
        threadPageSize: 54,
        messageCount: 2,
        category: categoryInfo.OTHER,
        subject: 'General Inquiry',
        triageGroupName: triageGroupNames.AUDIOLOGY,
        sentDate: `${formatISO(sub(new Date(), { days: 20 }))}`,
        draftDate: null,
        senderId: senderInfo.do.id,
        senderName: senderInfo.do.name,
        recipientName: 'LEE, JAMIE',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: false,
        unreadMessages: false,
      },
      links: {
        self: 'http://127.0.0.1:3000/my_health/v1/messaging/threads/3258247',
      },
    },
    {
      id: '3004675',
      type: 'message_threads',
      attributes: {
        threadId: 3004675,
        folderId: 0,
        messageId: 3004701,
        threadPageSize: 54,
        messageCount: 5,
        category: categoryInfo.TEST_RESULTS,
        subject: 'Test Results',
        triageGroupName: triageGroupNames.PRIMARY,
        sentDate: '2024-09-17T14:55:42.000Z',
        draftDate: null,
        senderId: senderInfo.cw.id,
        senderName: senderInfo.cw.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: true,
        unsentDrafts: false,
        unreadMessages: false,
      },
      links: {
        self: 'http://127.0.0.1:3000/my_health/v1/messaging/threads/3004675',
      },
    },
    {
      id: '3004666',
      type: 'message_threads',
      attributes: {
        threadId: 3004666,
        folderId: 0,
        messageId: 3004667,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.TEST_RESULTS,
        subject: 'Test Result',
        triageGroupName: triageGroupNames.PRIMARY,
        sentDate: '2024-09-17T14:50:00.000Z',
        draftDate: null,
        senderId: senderInfo.cb.id,
        senderName: senderInfo.cb.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: false,
        unreadMessages: false,
      },
      links: {
        self: 'http://127.0.0.1:3000/my_health/v1/messaging/threads/3004666',
      },
    },
    {
      id: '3004660',
      type: 'message_threads',
      attributes: {
        threadId: 3004660,
        folderId: 0,
        messageId: 3004661,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.APPOINTMENT,
        subject: 'Appointment Follow-up',
        triageGroupName: triageGroupNames.CARDIOLOGY,
        sentDate: '2024-07-24T14:48:34.000Z',
        draftDate: null,
        senderId: senderInfo.do.id,
        senderName: senderInfo.do.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: false,
        unreadMessages: false,
      },
      links: {
        self: 'http://127.0.0.1:3000/my_health/v1/messaging/threads/3004660',
      },
    },
    {
      id: '3004640',
      type: 'message_threads',
      attributes: {
        threadId: 3004640,
        folderId: 0,
        messageId: 3004641,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.APPOINTMENT,
        subject: 'Annual physical',
        triageGroupName: triageGroupNames.PRIMARY,
        sentDate: '2024-06-05T14:40:52.000Z',
        draftDate: null,
        senderId: senderInfo.do.id,
        senderName: senderInfo.do.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: false,
        unreadMessages: false,
      },
      links: {
        self: 'http://127.0.0.1:3000/my_health/v1/messaging/threads/3004640',
      },
    },
    {
      id: '3004631',
      type: 'message_threads',
      attributes: {
        threadId: 3004631,
        folderId: 0,
        messageId: 3004632,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.MEDICATIONS,
        subject: 'LOSARTAN 25MG: PRESCRIPTION READY',
        triageGroupName: 'DETROIT: Pharmacy',
        sentDate: '2024-04-29T14:37:44.000Z',
        draftDate: null,
        senderId: senderInfo.cw.id,
        senderName: senderInfo.cw.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: false,
        unreadMessages: false,
      },
      links: {
        self: 'http://127.0.0.1:3000/my_health/v1/messaging/threads/3004631',
      },
    },
    {
      id: '3004623',
      type: 'message_threads',
      attributes: {
        threadId: 3004623,
        folderId: 0,
        messageId: 3004624,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.MEDICATIONS,
        subject: 'LOSARTAN 25MG: DELAYED',
        triageGroupName: 'DETROIT: Pharmacy',
        sentDate: '2024-04-22T14:35:32.000Z',
        draftDate: null,
        senderId: senderInfo.cw.id,
        senderName: senderInfo.cw.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: false,
        unreadMessages: false,
      },
      links: {
        self: 'http://127.0.0.1:3000/my_health/v1/messaging/threads/3004623',
      },
    },
    {
      id: '3004604',
      type: 'message_threads',
      attributes: {
        threadId: 3004604,
        folderId: 0,
        messageId: 3004605,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.MEDICATIONS,
        subject: 'Losartan Refill Sent',
        triageGroupName: triageGroupNames.CARDIOLOGY,
        sentDate: '2024-04-15T14:30:46.000Z',
        draftDate: null,
        senderId: senderInfo.cb.id,
        senderName: senderInfo.cb.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: false,
        unreadMessages: false,
      },
      links: {
        self: 'http://127.0.0.1:3000/my_health/v1/messaging/threads/3004604',
      },
    },
    {
      id: '3004592',
      type: 'message_threads',
      attributes: {
        threadId: 3004592,
        folderId: 0,
        messageId: 3004593,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.MEDICATIONS,
        subject: 'Losartan Refill Request',
        triageGroupName: triageGroupNames.PRIMARY,
        sentDate: '2024-04-10T14:23:25.000Z',
        draftDate: null,
        senderId: senderInfo.cb.id,
        senderName: senderInfo.cb.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: false,
        unreadMessages: false,
      },
      links: {
        self: 'http://127.0.0.1:3000/my_health/v1/messaging/threads/3004592',
      },
    },
    {
      id: '3004580',
      type: 'message_threads',
      attributes: {
        threadId: 3004580,
        folderId: 0,
        messageId: 3004581,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.EDUCATION,
        subject: 'MOVE Program',
        triageGroupName: triageGroupNames.MHVCOORD,
        sentDate: '2024-04-08T14:12:32.000Z',
        draftDate: null,
        senderId: senderInfo.do.id,
        senderName: senderInfo.do.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: false,
        unreadMessages: false,
      },
      links: {
        self: 'http://127.0.0.1:3000/my_health/v1/messaging/threads/3004580',
      },
    },
    {
      id: '3004564',
      type: 'message_threads',
      attributes: {
        threadId: 3004564,
        folderId: 0,
        messageId: 3004565,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.COVID,
        subject: 'Covid Cases Increasing',
        triageGroupName: triageGroupNames.PRIMARY,
        sentDate: '2024-03-09T14:08:22.000Z',
        draftDate: null,
        senderId: senderInfo.do.id,
        senderName: senderInfo.do.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: false,
        unreadMessages: false,
      },
      links: {
        self: 'http://127.0.0.1:3000/my_health/v1/messaging/threads/3004564',
      },
    },
    {
      id: '3004550',
      type: 'message_threads',
      attributes: {
        threadId: 3004550,
        folderId: 0,
        messageId: 3004551,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.OTHER,
        subject: 'Flu Shot Clinic',
        triageGroupName: triageGroupNames.PRIMARY,
        sentDate: '2024-02-16T14:01:58.000Z',
        draftDate: null,
        senderId: senderInfo.ay.id,
        senderName: senderInfo.ay.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: false,
        unreadMessages: false,
      },
      links: {
        self: 'http://127.0.0.1:3000/my_health/v1/messaging/threads/3004550',
      },
    },
    {
      id: '3004544',
      type: 'message_threads',
      attributes: {
        threadId: 3004544,
        folderId: 0,
        messageId: 3004545,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.OTHER,
        subject: 'Flu Shot Clinic',
        triageGroupName: triageGroupNames.PRIMARY,
        sentDate: '2024-02-09T14:00:24.000Z',
        draftDate: null,
        senderId: senderInfo.ay.id,
        senderName: senderInfo.ay.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: false,
        unreadMessages: false,
      },
      links: {
        self: 'http://127.0.0.1:3000/my_health/v1/messaging/threads/3004544',
      },
    },
    {
      id: '3004521',
      type: 'message_threads',
      attributes: {
        threadId: 3004521,
        folderId: 0,
        messageId: 3004536,
        threadPageSize: 54,
        messageCount: 22,
        category: categoryInfo.TEST_RESULTS,
        subject: 'EKG Results',
        triageGroupName: triageGroupNames.CARDIOLOGY,
        sentDate: '2024-02-02T13:57:20.000Z',
        draftDate: null,
        senderId: senderInfo.cb.id,
        senderName: senderInfo.cb.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: true,
        unsentDrafts: false,
        unreadMessages: false,
      },
      links: {
        self: 'http://127.0.0.1:3000/my_health/v1/messaging/threads/3004521',
      },
    },
    {
      id: '3004415',
      type: 'message_threads',
      attributes: {
        threadId: 3004415,
        folderId: 0,
        messageId: 3004527,
        threadPageSize: 54,
        messageCount: 2,
        category: categoryInfo.APPOINTMENT,
        subject: 'Appointment Request',
        triageGroupName: triageGroupNames.AUDIOLOGY,
        sentDate: '2024-02-01T13:55:13.000Z',
        draftDate: null,
        senderId: senderInfo.cb.id,
        senderName: senderInfo.cb.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: true,
        unreadMessages: false,
      },
      links: {
        self: 'http://127.0.0.1:3000/my_health/v1/messaging/threads/3004415',
      },
    },
    {
      id: (sampleId + 1).toString(),
      type: 'message_threads',
      attributes: {
        threadId: sampleId + 1,
        folderId: 0,
        messageId: sampleId + 3,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.MEDICATIONS,
        subject: 'Joelitol 25MG',
        triageGroupName: triageGroupNames.PHARMACY,
        sentDate: '2024-01-19T20:34:40.711Z',
        draftDate: null,
        senderId: senderInfo.jc.id,
        senderName: senderInfo.jc.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: true,
        unreadMessages: false,
      },
      links: {
        self: `http://127.0.0.1:3000/my_health/v1/messaging/threads/${sampleId +
          1}`,
      },
    },
    {
      id: (sampleId + 11).toString(),
      type: 'message_threads',
      attributes: {
        threadId: sampleId + 11,
        folderId: 0,
        messageId: sampleId + 13,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.APPOINTMENT,
        subject: 'Appointment Request',
        triageGroupName: triageGroupNames.DERMATOLOGY,
        sentDate: '2024-01-11T20:34:40.711Z',
        draftDate: null,
        senderId: senderInfo.jc.id,
        senderName: senderInfo.jc.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: true,
        unreadMessages: false,
      },
      links: {
        self: `http://127.0.0.1:3000/my_health/v1/messaging/threads/${sampleId +
          11}`,
      },
    },
    {
      id: `${sampleId + 21}`,
      type: 'message_threads',
      attributes: {
        threadId: sampleId + 21,
        folderId: 0,
        messageId: sampleId + 23,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.TEST_RESULTS,
        subject: 'Lab Results',
        triageGroupName: triageGroupNames.AUDIOLOGY,
        sentDate: '2024-01-05T14:41:18.401Z',
        draftDate: null,
        senderId: senderInfo.cw.id,
        senderName: senderInfo.cw.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: true,
        unreadMessages: false,
      },
      links: {
        self: `http://127.0.0.1:3000/my_health/v1/messaging/threads/${sampleId +
          21}`,
      },
    },
    {
      id: `${sampleId + 31}`,
      type: 'message_threads',
      attributes: {
        threadId: sampleId + 31,
        folderId: 0,
        messageId: sampleId + 33,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.APPOINTMENT,
        subject: 'Cancellation',
        triageGroupName: triageGroupNames.DERMATOLOGY,
        sentDate: '2023-12-13T20:41:07.627Z',
        draftDate: null,
        senderId: senderInfo.cb.id,
        senderName: senderInfo.cb.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: true,
        unreadMessages: false,
      },
      links: {
        self: `http://127.0.0.1:3000/my_health/v1/messaging/threads/${sampleId +
          31}`,
      },
    },
    {
      id: `${sampleId + 41}`,
      type: 'message_threads',
      attributes: {
        threadId: sampleId + 41,
        folderId: 0,
        messageId: sampleId + 43,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.APPOINTMENT,
        subject: 'Appointment Request',
        triageGroupName: triageGroupNames.AUDIOLOGY,
        sentDate: '2023-12-11T13:09:36.611Z',
        draftDate: null,
        senderId: senderInfo.cb.id,
        senderName: senderInfo.cb.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: true,
        unreadMessages: false,
      },
      links: {
        self: `http://127.0.0.1:3000/my_health/v1/messaging/threads/${sampleId +
          41}`,
      },
    },
    {
      id: `${sampleId + 51}`,
      type: 'message_threads',
      attributes: {
        threadId: sampleId + 51,
        folderId: 0,
        messageId: sampleId + 53,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.APPOINTMENT,
        subject: 'Appointment Request',
        triageGroupName: triageGroupNames.CARDIOLOGY,
        sentDate: '2023-10-18T19:13:27.910Z',
        draftDate: null,
        senderId: senderInfo.do.id,
        senderName: senderInfo.do.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: true,
        unreadMessages: false,
      },
      links: {
        self: `http://127.0.0.1:3000/my_health/v1/messaging/threads/${sampleId +
          51}`,
      },
    },
    {
      id: `${sampleId + 61}`,
      type: 'message_threads',
      attributes: {
        threadId: sampleId + 61,
        folderId: 0,
        messageId: sampleId + 63,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.OTHER,
        subject: 'Flu Shot Clinic',
        triageGroupName: triageGroupNames.PRIMARY,
        sentDate: '2023-11-28T08:22:39.203Z',
        draftDate: null,
        senderId: senderInfo.ay.id,
        senderName: senderInfo.ay.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: true,
        unreadMessages: false,
      },
      links: {
        self: `http://127.0.0.1:3000/my_health/v1/messaging/threads/${sampleId +
          61}`,
      },
    },
    {
      id: `${sampleId + 71}`,
      type: 'message_threads',
      attributes: {
        threadId: sampleId + 71,
        folderId: 0,
        messageId: sampleId + 73,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.OTHER,
        subject: 'Flu Shot Clinic',
        triageGroupName: triageGroupNames.PRIMARY,
        sentDate: '2023-11-14T04:18:29.217Z',
        draftDate: null,
        senderId: senderInfo.ay.id,
        senderName: senderInfo.ay.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: true,
        unreadMessages: false,
      },
      links: {
        self: `http://127.0.0.1:3000/my_health/v1/messaging/threads/${sampleId +
          71}`,
      },
    },
    {
      id: `${sampleId + 81}`,
      type: 'message_threads',
      attributes: {
        threadId: sampleId + 81,
        folderId: 0,
        messageId: sampleId + 83,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.APPOINTMENT,
        subject: 'Appointment Request',
        triageGroupName: triageGroupNames.PRIMARY,
        sentDate: '2023-10-18T12:50:51.434Z',
        draftDate: null,
        senderId: senderInfo.do.id,
        senderName: senderInfo.do.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: true,
        unreadMessages: false,
      },
      links: {
        self: `http://127.0.0.1:3000/my_health/v1/messaging/threads/${sampleId +
          81}`,
      },
    },
    {
      id: `${sampleId + 91}`,
      type: 'message_threads',
      attributes: {
        threadId: sampleId + 91,
        folderId: 0,
        messageId: sampleId + 93,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.EDUCATION,
        subject: 'Nutrition',
        triageGroupName: triageGroupNames.PRIMARY,
        sentDate: '2023-10-14T12:03:36.071Z',
        draftDate: null,
        senderId: senderInfo.mm.id,
        senderName: senderInfo.mm.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: true,
        unreadMessages: false,
      },
      links: {
        self: `http://127.0.0.1:3000/my_health/v1/messaging/threads/${sampleId +
          91}`,
      },
    },
    {
      id: `${sampleId + 101}`,
      type: 'message_threads',
      attributes: {
        threadId: sampleId + 101,
        folderId: 0,
        messageId: sampleId + 103,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.OTHER,
        subject: 'Appointment Follow-up',
        triageGroupName: triageGroupNames.PRIMARY,
        sentDate: '2023-08-18T13:13:33.754Z',
        draftDate: null,
        senderId: senderInfo.cb.id,
        senderName: senderInfo.cb.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: true,
        unreadMessages: false,
      },
      links: {
        self: `http://127.0.0.1:3000/my_health/v1/messaging/threads/${sampleId +
          101}`,
      },
    },
    {
      id: `${sampleId + 111}`,
      type: 'message_threads',
      attributes: {
        threadId: sampleId + 111,
        folderId: 0,
        messageId: sampleId + 113,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.TEST_RESULTS,
        subject: 'EKG Results',
        triageGroupName: triageGroupNames.CARDIOLOGY,
        sentDate: '2023-08-14T04:25:05.811Z',
        draftDate: null,
        senderId: senderInfo.cb.id,
        senderName: senderInfo.cb.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: true,
        unreadMessages: false,
      },
      links: {
        self: `http://127.0.0.1:3000/my_health/v1/messaging/threads/${sampleId +
          111}`,
      },
    },
    {
      id: `${sampleId + 121}`,
      type: 'message_threads',
      attributes: {
        threadId: sampleId + 121,
        folderId: 0,
        messageId: sampleId + 123,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.APPOINTMENT,
        subject: 'Appointment Request',
        triageGroupName: triageGroupNames.AUDIOLOGY,
        sentDate: '2023-07-27T01:43:19.682Z',
        draftDate: null,
        senderId: senderInfo.cb.id,
        senderName: senderInfo.cb.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: true,
        unreadMessages: false,
      },
      links: {
        self: `http://127.0.0.1:3000/my_health/v1/messaging/threads/${sampleId +
          121}`,
      },
    },
    {
      id: `${sampleId + 131}`,
      type: 'message_threads',
      attributes: {
        threadId: sampleId + 131,
        folderId: 0,
        messageId: sampleId + 133,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.MEDICATIONS,
        subject: 'Joelitol 25MG',
        triageGroupName: triageGroupNames.PRIMARY,
        sentDate: '2023-07-14T07:35:53.309Z',
        draftDate: null,
        senderId: senderInfo.jc.id,
        senderName: senderInfo.jc.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: true,
        unreadMessages: false,
      },
      links: {
        self: `http://127.0.0.1:3000/my_health/v1/messaging/threads/${sampleId +
          131}`,
      },
    },
    {
      id: `${sampleId + 141}`,
      type: 'message_threads',
      attributes: {
        threadId: sampleId + 141,
        folderId: 0,
        messageId: sampleId + 143,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.APPOINTMENT,
        subject: 'Appointment Request',
        triageGroupName: triageGroupNames.PRIMARY,
        sentDate: '2023-07-06T03:46:36.128Z',
        draftDate: null,
        senderId: senderInfo.jc.id,
        senderName: senderInfo.jc.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: true,
        unreadMessages: false,
      },
      links: {
        self: `http://127.0.0.1:3000/my_health/v1/messaging/threads/${sampleId +
          141}`,
      },
    },
    {
      id: `${sampleId + 151}`,
      type: 'message_threads',
      attributes: {
        threadId: sampleId + 151,
        folderId: 0,
        messageId: sampleId + 153,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.OTHER,
        subject: 'New Office Hours',
        triageGroupName: triageGroupNames.PRIMARY,
        sentDate: '2023-05-31T06:25:56.729Z',
        draftDate: null,
        senderId: senderInfo.do.id,
        senderName: senderInfo.do.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: true,
        unreadMessages: false,
      },
      links: {
        self: `http://127.0.0.1:3000/my_health/v1/messaging/threads/${sampleId +
          151}`,
      },
    },
    {
      id: `${sampleId + 161}`,
      type: 'message_threads',
      attributes: {
        threadId: sampleId + 161,
        folderId: 0,
        messageId: sampleId + 163,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.MEDICATIONS,
        subject: 'Renewal Request',
        triageGroupName: triageGroupNames.PRIMARY,
        sentDate: '2023-05-17T15:16:02.138Z',
        draftDate: null,
        senderId: senderInfo.do.id,
        senderName: senderInfo.do.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: true,
        unreadMessages: false,
      },
      links: {
        self: `http://127.0.0.1:3000/my_health/v1/messaging/threads/${sampleId +
          161}`,
      },
    },
    {
      id: `${sampleId + 171}`,
      type: 'message_threads',
      attributes: {
        threadId: sampleId + 171,
        folderId: 0,
        messageId: sampleId + 173,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.OTHER,
        subject: 'Contact information update',
        triageGroupName: triageGroupNames.PRIMARY,
        sentDate: '2023-05-05T15:06:34.079Z',
        draftDate: null,
        senderId: senderInfo.cb.id,
        senderName: senderInfo.cb.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: true,
        unreadMessages: false,
      },
      links: {
        self: `http://127.0.0.1:3000/my_health/v1/messaging/threads/${sampleId +
          171}`,
      },
    },
    {
      id: `${sampleId + 181}`,
      type: 'message_threads',
      attributes: {
        threadId: sampleId + 181,
        folderId: 0,
        messageId: sampleId + 183,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.TEST_RESULTS,
        subject: 'Test Results',
        triageGroupName: triageGroupNames.CARDIOLOGY,
        sentDate: '2023-04-28T18:30:38.309Z',
        draftDate: null,
        senderId: senderInfo.cw.id,
        senderName: senderInfo.cw.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: true,
        unreadMessages: false,
      },
      links: {
        self: `http://127.0.0.1:3000/my_health/v1/messaging/threads/${sampleId +
          181}`,
      },
    },
    {
      id: `${sampleId + 191}`,
      type: 'message_threads',
      attributes: {
        threadId: sampleId + 191,
        folderId: 0,
        messageId: sampleId + 193,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.APPOINTMENT,
        subject: 'Appointment Follow-up',
        triageGroupName: triageGroupNames.MHVCOORD,
        sentDate: '2023-04-25T16:18:46.088Z',
        draftDate: null,
        senderId: senderInfo.cw.id,
        senderName: senderInfo.cw.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: true,
        unreadMessages: false,
      },
      links: {
        self: `http://127.0.0.1:3000/my_health/v1/messaging/threads/${sampleId +
          191}`,
      },
    },
    {
      id: `${sampleId + 201}`,
      type: 'message_threads',
      attributes: {
        threadId: sampleId + 201,
        folderId: 0,
        messageId: sampleId + 203,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.MEDICATIONS,
        subject: 'Medication Renewal',
        triageGroupName: triageGroupNames.PHARMACY,
        sentDate: '2023-04-13T11:34:00.048Z',
        draftDate: null,
        senderId: senderInfo.do.id,
        senderName: senderInfo.do.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: true,
        unreadMessages: false,
      },
      links: {
        self: `http://127.0.0.1:3000/my_health/v1/messaging/threads/${sampleId +
          201}`,
      },
    },
    {
      id: `${sampleId + 211}`,
      type: 'message_threads',
      attributes: {
        threadId: sampleId + 211,
        folderId: 0,
        messageId: sampleId + 213,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.MEDICATIONS,
        subject: 'Joelitol 25MG',
        triageGroupName: triageGroupNames.PHARMACY,
        sentDate: '2023-01-19T19:03:50.922Z',
        draftDate: null,
        senderId: senderInfo.jc.id,
        senderName: senderInfo.jc.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: true,
        unreadMessages: false,
      },
      links: {
        self: `http://127.0.0.1:3000/my_health/v1/messaging/threads/${sampleId +
          211}`,
      },
    },
    {
      id: `${sampleId + 221}`,
      type: 'message_threads',
      attributes: {
        threadId: sampleId + 221,
        folderId: 0,
        messageId: sampleId + 223,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.APPOINTMENT,
        subject: 'Appointment Request',
        triageGroupName: triageGroupNames.CARDIOLOGY,
        sentDate: '2023-01-10T11:45:27.037Z',
        draftDate: null,
        senderId: senderInfo.jc.id,
        senderName: senderInfo.jc.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: true,
        unreadMessages: false,
      },
      links: {
        self: `http://127.0.0.1:3000/my_health/v1/messaging/threads/${sampleId +
          221}`,
      },
    },
    {
      id: `${sampleId + 231}`,
      type: 'message_threads',
      attributes: {
        threadId: sampleId + 231,
        folderId: 0,
        messageId: sampleId + 233,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.TEST_RESULTS,
        subject: 'EKG Results',
        triageGroupName: triageGroupNames.CARDIOLOGY,
        sentDate: '2022-12-13T09:09:06.828Z',
        draftDate: null,
        senderId: senderInfo.cb.id,
        senderName: senderInfo.cb.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: true,
        unreadMessages: false,
      },
      links: {
        self: `http://127.0.0.1:3000/my_health/v1/messaging/threads/${sampleId +
          231}`,
      },
    },
    {
      id: `${sampleId + 241}`,
      type: 'message_threads',
      attributes: {
        threadId: sampleId + 241,
        folderId: 0,
        messageId: sampleId + 243,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.TEST_RESULTS,
        subject: 'Test Results',
        triageGroupName: triageGroupNames.CARDIOLOGY,
        sentDate: '2022-12-02T18:45:31.656Z',
        draftDate: null,
        senderId: senderInfo.cw.id,
        senderName: senderInfo.cw.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: true,
        unreadMessages: false,
      },
      links: {
        self: `http://127.0.0.1:3000/my_health/v1/messaging/threads/${sampleId +
          241}`,
      },
    },
    {
      id: `${sampleId + 251}`,
      type: 'message_threads',
      attributes: {
        threadId: sampleId + 251,
        folderId: 0,
        messageId: sampleId + 253,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.OTHER,
        subject: 'Flu Shot Clinic',
        triageGroupName: triageGroupNames.PRIMARY,
        sentDate: '2022-11-28T19:03:55.111Z',
        draftDate: null,
        senderId: senderInfo.ay.id,
        senderName: senderInfo.ay.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: true,
        unreadMessages: false,
      },
      links: {
        self: `http://127.0.0.1:3000/my_health/v1/messaging/threads/${sampleId +
          251}`,
      },
    },
    {
      id: `${sampleId + 261}`,
      type: 'message_threads',
      attributes: {
        threadId: sampleId + 261,
        folderId: 0,
        messageId: sampleId + 263,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.APPOINTMENT,
        subject: 'Appointment Request',
        triageGroupName: triageGroupNames.PRIMARY,
        sentDate: '2022-11-15T02:35:46.687Z',
        draftDate: null,
        senderId: senderInfo.cw.id,
        senderName: senderInfo.cw.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: true,
        unreadMessages: false,
      },
      links: {
        self: `http://127.0.0.1:3000/my_health/v1/messaging/threads/${sampleId +
          261}`,
      },
    },
    {
      id: `${sampleId + 271}`,
      type: 'message_threads',
      attributes: {
        threadId: sampleId + 271,
        folderId: 0,
        messageId: sampleId + 273,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.APPOINTMENT,
        subject: 'Appointment Request',
        triageGroupName: triageGroupNames.PRIMARY,
        sentDate: '2022-11-15T12:19:41.464Z',
        draftDate: null,
        senderId: senderInfo.cb.id,
        senderName: senderInfo.cb.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: true,
        unreadMessages: false,
      },
      links: {
        self: `http://127.0.0.1:3000/my_health/v1/messaging/threads/${sampleId +
          271}`,
      },
    },
    {
      id: `${sampleId + 281}`,
      type: 'message_threads',
      attributes: {
        threadId: sampleId + 281,
        folderId: 0,
        messageId: sampleId + 283,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.OTHER,
        subject: 'Flu Shot Clinic',
        triageGroupName: triageGroupNames.PRIMARY,
        sentDate: '2022-11-14T19:25:26.194Z',
        draftDate: null,
        senderId: senderInfo.cy.id,
        senderName: senderInfo.cy.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: true,
        unreadMessages: false,
      },
      links: {
        self: `http://127.0.0.1:3000/my_health/v1/messaging/threads/${sampleId +
          281}`,
      },
    },
    {
      id: `${sampleId + 291}`,
      type: 'message_threads',
      attributes: {
        threadId: sampleId + 291,
        folderId: 0,
        messageId: sampleId + 293,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.APPOINTMENT,
        subject: 'Appointment Request',
        triageGroupName: triageGroupNames.PRIMARY,
        sentDate: '2022-10-18T08:21:45.629Z',
        draftDate: null,
        senderId: senderInfo.do.id,
        senderName: senderInfo.do.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: true,
        unreadMessages: false,
      },
      links: {
        self: `http://127.0.0.1:3000/my_health/v1/messaging/threads/${sampleId +
          291}`,
      },
    },
    {
      id: `${sampleId + 301}`,
      type: 'message_threads',
      attributes: {
        threadId: sampleId + 301,
        folderId: 0,
        messageId: sampleId + 303,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.APPOINTMENT,
        subject: 'Appointment Request',
        triageGroupName: triageGroupNames.PRIMARY,
        sentDate: '2022-09-15T13:10:31.933Z',
        draftDate: null,
        senderId: senderInfo.cw.id,
        senderName: senderInfo.cw.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: true,
        unreadMessages: false,
      },
      links: {
        self: `http://127.0.0.1:3000/my_health/v1/messaging/threads/${sampleId +
          301}`,
      },
    },
    {
      id: `${sampleId + 311}`,
      type: 'message_threads',
      attributes: {
        threadId: sampleId + 311,
        folderId: 0,
        messageId: sampleId + 313,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.TEST_RESULTS,
        subject: 'Test Results',
        triageGroupName: triageGroupNames.AUDIOLOGY,
        sentDate: '2022-08-17T22:47:36.276Z',
        draftDate: null,
        senderId: senderInfo.cb.id,
        senderName: senderInfo.cb.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: true,
        unreadMessages: false,
      },
      links: {
        self: `http://127.0.0.1:3000/my_health/v1/messaging/threads/${sampleId +
          311}`,
      },
    },
    {
      id: `${sampleId + 321}`,
      type: 'message_threads',
      attributes: {
        threadId: sampleId + 321,
        folderId: 0,
        messageId: sampleId + 323,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.OTHER,
        subject: 'Bug Bite',
        triageGroupName: triageGroupNames.PRIMARY,
        sentDate: '2022-07-05T09:12:50.714Z',
        draftDate: null,
        senderId: senderInfo.do.id,
        senderName: senderInfo.do.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: true,
        unreadMessages: false,
      },
      links: {
        self: `http://127.0.0.1:3000/my_health/v1/messaging/threads/${sampleId +
          321}`,
      },
    },
    {
      id: `${sampleId + 331}`,
      type: 'message_threads',
      attributes: {
        threadId: sampleId + 331,
        folderId: 0,
        messageId: sampleId + 333,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.MEDICATIONS,
        subject: 'Joelitol 25MG',
        triageGroupName: triageGroupNames.PRIMARY,
        sentDate: '2022-07-14T01:22:37.859Z',
        draftDate: null,
        senderId: senderInfo.jc.id,
        senderName: senderInfo.jc.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: true,
        unreadMessages: false,
      },
      links: {
        self: `http://127.0.0.1:3000/my_health/v1/messaging/threads/${sampleId +
          331}`,
      },
    },
    {
      id: `${sampleId + 341}`,
      type: 'message_threads',
      attributes: {
        threadId: sampleId + 341,
        folderId: 0,
        messageId: sampleId + 343,
        threadPageSize: 54,
        messageCount: 1,
        category: categoryInfo.APPOINTMENT,
        subject: 'Appointment Request',
        triageGroupName: triageGroupNames.PRIMARY,
        sentDate: '2022-07-06T10:17:06.028Z',
        draftDate: null,
        senderId: senderInfo.jc.id,
        senderName: senderInfo.jc.name,
        recipientName: 'LEE, JAMIE ',
        recipientId: 2991831,
        proxySenderName: null,
        hasAttachment: false,
        unsentDrafts: true,
        unreadMessages: false,
      },
      links: {
        self: `http://127.0.0.1:3000/my_health/v1/messaging/threads/${sampleId +
          341}`,
      },
    },
  ],
};

module.exports = {
  inboxThreads,
};