Optional
fieldSanitizerProvider: IFieldValueSanitizerProviderAdds a field sanitizer to the evaluation list
Add a value sanitizer as a fallback sanitizer if this sanitizer can't handle the path/name.
Clear the current value sanitizer cache.
Static
getReturns a bitwise value for the FieldValueSanitizerType enum representing the decoded type of the passed value
The value to determine the type
Does this field value sanitizer handle this path / field combination
The field path
The name of the field
Optional
isReturns whether this ValueSanitizer is empty
true
if it contains no chained sanitizers or field sanitizers, otherwise false
Sanitizes the Property. It checks the that the property name and value are valid. It also checks/populates the correct type and pii of the property value.
The root path of the property
The property name.
The property value or an IEventProperty containing value, type ,pii and customer content.
Optional
stringifyObjects: booleanIf supplied tells the sanitizer that it should JSON stringify() objects
IEventProperty containing valid name, value, pii and type or null if invalid.
Removes the field sanitizer to the evaluation list if present
Removes the value sanitizer as a fallback sanitizer if this sanitizer can't handle the path/name if present.
Sanitizes the value. It checks the that the property name and value are valid. It also checks/populates the correct type and pii of the property value.
The root path of the property
The property name.
The property value or an IEventProperty containing value, type ,pii and customer content.
Optional
stringifyObjects: booleanIf supplied tells the sanitizer that it should JSON stringify() objects
IEventProperty containing valid name, value, pii and type or null if invalid.
Generated using TypeDoc
This interface is used during the serialization of events into envelope (serialized object) which is sent to the services, the format is defined via the Common Schema 4.0 specification. The path and field names used are based on how the data is serialized to the service (CS 4.0 location) and not specifically the location on the event object you pass into the track methods (unless they are the same).