From 8036698e3190207c5199106c23a9aff38d641ac7 Mon Sep 17 00:00:00 2001 From: gregorylavery <100631366+gregorylavery@users.noreply.github.com> Date: Mon, 28 Oct 2024 10:26:49 -0700 Subject: [PATCH] Expanding the list of entries in basecomplaint. --- dist/complaint.d.ts | 37 +++++++++++++++++++++---------------- src/complaint.ts | 5 +++++ 2 files changed, 26 insertions(+), 16 deletions(-) diff --git a/dist/complaint.d.ts b/dist/complaint.d.ts index c8a6647..7a97d0f 100644 --- a/dist/complaint.d.ts +++ b/dist/complaint.d.ts @@ -1,23 +1,28 @@ export interface BaseComplaint { - complaint_identifier: string; - detail_text: string; - caller_name: string; - caller_address: string; - caller_email: string; - caller_phone_1: string; - caller_phone_2: string; - caller_phone_3: string; + id: string; + details: string; + name: string; + address: string; + email: string; + phone1: string; + phone2: string; + phone3: string; location: { type: string; coordinates: Array; }; - location_summary_text: string; - location_detailed_text: string; - reported_by_code: string; - reported_by_other_text: string; - incident_utc_datetime?: Date; - create_user_id: string; - update_user_id: string; - webeoc_identifier: string; + locationSummary: string; + locationDetail: string; + reportedBy?: string; + reportedByOther: string; + incidentDateTime?: Date; + createdBy: string; + updatedBy: string; + webeocId: string; isPrivacyRequested: string; + status: string; + ownedBy: string; + reportedOn: Date; + updatedOn: Date; + complaintMethodReceivedCode: string; } diff --git a/src/complaint.ts b/src/complaint.ts index 3d49a52..e69d00b 100644 --- a/src/complaint.ts +++ b/src/complaint.ts @@ -20,4 +20,9 @@ export interface BaseComplaint { updatedBy: string; webeocId: string; isPrivacyRequested: string; + status: string; + ownedBy: string; + reportedOn: Date; + updatedOn: Date; + complaintMethodReceivedCode: string; }