SieveScriptBody
The SieveScriptBody type of the TypeScript SDK, which sieve.getScript take or answer.
type SieveScriptBody = {
active: boolean
name: string
script: string
updatedAt: number
}Fields
| Field | Type | Description |
|---|---|---|
active | boolean | True if this script is currently active |
name | string | Script name |
script | string | Sieve script source code text |
updatedAt | number | Last updated timestamp in epoch seconds |
Used by
| Method | What it does |
|---|---|
sieve.getScript | Get Sieve filter script source |