EOIArchiveSearchInputs
eyesonit-typescript-sdk / EOIArchiveSearchInputs
Class: EOIArchiveSearchInputs
Request payload for archive search queries.
Extends
Constructors
Constructor
new EOIArchiveSearchInputs():
EOIArchiveSearchInputs
Returns
EOIArchiveSearchInputs
Overrides
Properties
start_date_time
start_date_time:
string
Optional inclusive start timestamp in ISO format.
Must be on or after 2020-01-01T00:00:00Z.
end_date_time
end_date_time:
string
Optional exclusive end timestamp in ISO format.
Must be on or after 2020-01-01T00:00:00Z and after start_date_time.
class_name
class_name:
string
Object class to search for.
Valid values include: person, face, vehicle, bag, animal, unknown.
Inherited from
search_type
search_type:
string|null=null
Search strategy.
Supported values: class_name, natural_language, face_recognition, similarity.
Inherited from
object_description
object_description:
string
Natural-language query used for object/event matching.
Inherited from
EOISearchInputs.object_description
face_match_type
face_match_type:
string
Face recognition match type: person or group
Inherited from
EOISearchInputs.face_match_type
face_person_id
face_person_id:
string
Face recognition person ID for targeted face search.
Inherited from
EOISearchInputs.face_person_id
face_group_id
face_group_id:
string
Face recognition group ID for targeted face search.
Inherited from
alert_threshold
alert_threshold:
number
Alert threshold for search confidence.
Expected range: greater than 0 and less than 100 for live search.
Inherited from
EOISearchInputs.alert_threshold
similarity
similarity:
EOISimilarityConfig|undefined=undefined
Similarity matching configuration.
Inherited from
stream_list
stream_list:
string[] |undefined
Optional list of stream URLs to constrain search scope.
Inherited from
Methods
fromJsonObj()
staticfromJsonObj(obj):EOIArchiveSearchInputs|null
Parameters
obj
any
Returns
EOIArchiveSearchInputs | null
validate()
validate():
EOIResponse
Validates this payload against SDK-side constraints.
Returns
setBaseProperties()
setBaseProperties(
obj):void
Copies shared search properties from a plain object.
Used by fromJsonObj helper methods in derived classes.
Parameters
obj
any
Returns
void