Skip to content
24 changes: 24 additions & 0 deletions src/types/CommunicationEvent.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
export interface CommunicationEvent {
communicationEventId: string,
communicationEventTypeId?: string,
contactMechTypeEnumId?: string,
statusId?: string,
parentCommEventId?: string,
rootCommEventId?: string,
fromContactMechId?: string,
toContactMechId?: string,
fromPartyId?: string,
fromRoleTypeId?: string,
toPartyId?: string,
toRoleTypeId?: string,
entryDate?: string,
datetimeStarted?: string,
datetimeEnded?: string,
subject?: string,
contentType?: string,
body?: string,
note?: string,
reasonEnumId?: string,
contactListId?: string,
emailMessageId?: string
}
51 changes: 51 additions & 0 deletions src/types/ContactMech.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
import { Geo } from "./index"

export interface ContactMech {
contactMechId: string,
contactMechTypeEnumId?: string,
dataSourceId?: string,
infoString?: string,
gatewayCimId?: string,
trustLevelEnumId?: string,
validateMessage?: string,
paymentFraudEvidenceId?: string,
replacesContactMechId?: string,
telecomNumber?: {
contactMechId: string,
countryCode?: string,
areaCode?: string,
contactNumber?: string,
askForName?: string,
},
postalAddress?: {
contactMechId: string,
toName?: string,
attnName?: string,
address1?: string,
address2?: string,
unitNumber?: string,
directions?: string,
city?: string,
cityGeoId?: string,
schoolDistrictGeoId?: string,
countyGeoId?: string,
stateProvinceGeoId?: string,
countryGeoId?: string,
postalCode?: string,
postalCodeExt?: string,
postalCodeGeoId?: string,
geoPointId?: string,
commercial?: string,
accessCode?: string,
telecomContactMechId?: string,
emailContactMechId?: string,
shipGatewayAddressId?: string,
cityGeo?: Geo,
countyGeo?: Geo,
stateProvinceGeo?: Geo,
postalCodeGeo?: Geo,
countryGeo?: Geo,
telecomContactMech?: string,
emailContactMech?: string
}
}
13 changes: 13 additions & 0 deletions src/types/Enumeration.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
export interface Enumeration {
enumId: string,
enumTypeId?: string,
parentEnumId?: string,
enumCode?: string,
sequenceNum?: number,
description?: string,
optionValue?: string,
optionIndicator?: string,
relatedEnumId?: string,
relatedEnumTypeId?: string,
statusFlowId?: string,
}
10 changes: 10 additions & 0 deletions src/types/Geo.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
export interface Geo {
geoId: string,
geoTypeEnumId?: string,
geoName?: string,
geoNameLocal?: string,
geoCodeAlpha2?: string,
geoCodeAlpha3?: string,
geoCodeNumeric?: string,
wellKnownText?: string,
}
Loading