Flow
Defined in: src/types/flows.ts:51
A Flow as returned by the Graph API. Only commonly used fields are typed; an index signature allows any additional Graph fields.
Indexable
Section titled “Indexable”[
key:string]:unknown
Additional Graph fields not explicitly typed above.
Properties
Section titled “Properties”categories
Section titled “categories”categories:
string[]
Defined in: src/types/flows.ts:59
The categories this Flow is tagged with.
data_api_version?
Section titled “data_api_version?”
optionaldata_api_version?:string
Defined in: src/types/flows.ts:65
The Flow data-exchange endpoint API version.
endpoint_uri?
Section titled “endpoint_uri?”
optionalendpoint_uri?:string
Defined in: src/types/flows.ts:67
The configured data-exchange endpoint URI.
health_status?
Section titled “health_status?”
optionalhealth_status?:unknown
Defined in: src/types/flows.ts:71
Health status details reported by Graph.
id:
string
Defined in: src/types/flows.ts:53
The Flow id used in {FLOW_ID} paths.
json_version?
Section titled “json_version?”
optionaljson_version?:string
Defined in: src/types/flows.ts:63
The Flow JSON schema version.
name:
string
Defined in: src/types/flows.ts:55
Display name of the Flow.
preview?
Section titled “preview?”
optionalpreview?:object
Defined in: src/types/flows.ts:69
A short-lived preview URL and its expiry, when requested.
expires_at
Section titled “expires_at”expires_at:
string
preview_url
Section titled “preview_url”preview_url:
string
status
Section titled “status”status:
string
Defined in: src/types/flows.ts:57
Current lifecycle status.
validation_errors?
Section titled “validation_errors?”
optionalvalidation_errors?:FlowValidationError[]
Defined in: src/types/flows.ts:61
Validation errors against the current Flow JSON, when present.
Independent open-source project. Not affiliated with, endorsed by or sponsored by Meta or WhatsApp. Released under the MIT licence. Source on GitHub.