Types used for handling time-sensitive data, communication, and external service responses.
📅 Dates & Times (DateTime)
A specific point in time used for scheduling and data timestamping.
Properties
| Property | Description |
|---|
GetYear, GetMonth, GetDay | Returns the individual date components. |
GetHour, GetMinute, GetSecond | Returns the individual time components. |
GetDayName | Returns the name of the day (e.g., "Monday"). |
GetMonthName | Returns the name of the month (e.g., "January"). |
IsDST | Returns true if Daylight Savings Time is currently active. |
GetDateTimeFormat | Returns the current display format for this value. |
GetType | Returns "datetime". |
Functions
| Function | Description |
|---|
ParseDateTime(text, format) | Converts a text string into a date using the specified format. |
SetDateTimeFormat(format) | Sets the preferred display format for this date value. |
📧 Emails (Email)
Represents an email message received by the Talos agent.
Properties
| Property | Description |
|---|
GetSubject | The subject line of the email. |
GetSender | The sender's email address. |
GetRecipients | The list of email addresses that received the message. |
GetBodyPlainText | The email's main body in plain text format. |
GetBodyHTML | The email's main body in HTML format. |
GetBCC, GetCC | Returns the BCC and CC recipients. |
GetAttachments | Returns a List of all file attachments. |
GetImages | Returns a List of all inline images in the email. |
GetType | Returns "email". |
📎 Email Attachments (EmailAttachment)
Properties
| Property | Description |
|---|
GetFileName | The name of the attached file. |
GetFileType | The type of the attached file. |
GetFileURL | The system path where the attachment is temporarily stored. |
GetType | Returns "email_attachment". |
🌐 Web Responses (WebServiceResponse)
Represents the data returned by a web service or API request.
Properties
| Property | Description |
|---|
GetStatusLine | The HTTP status line returned by the server (e.g., "HTTP/1.1 200 OK"). |
GetStatusCode | The numeric HTTP status code (e.g., 200). |
GetStatusMessage | The reason phrase (e.g., "OK"). |
GetHeaders | Returns an Object containing all response headers. |
GetBody | Returns the content of the response (can be an Object if JSON, or Text). |
GetUrl | The final URL after any redirects. |
GetCookies | Returns an Object containing all cookies received. |
GetElapsed | The total time taken for the request in seconds. |
IsReady | Returns true if the asynchronous request has finished. |
GetRedirectCount | The number of redirects followed. |
GetError | Returns an Object with code and message if the request failed. |
GetType | Returns "web_service_response". |
Functions
| Function | Description |
|---|
Wait() | Blocks execution until the response is fully received. |
Used for handling information like HTTP headers or settings.
Properties
| Property | Description |
|---|
GetKey | Returns the name/key of the data pair. |
GetValue | Returns the value associated with the key. |
GetType | Returns "key_value_pairs". |