Type Alias: FilterBuilderPayload

FilterBuilderPayload: object

Defines the payload structure for building filters.

Type declaration 

dataSource? 

optional dataSource: string

The source of the data to filter.

fieldName 

fieldName: string

Required. The field name to filter.

operator 

operator: FilterOperator

Required. The operator value to use for filtering.

values? 

optional values: FilterValues

A list of values to use for filtering.

Example 

1const filterPayload: FilterBuilderPayload = {
2  dataSource: "SalesData",
3  fieldName: "Opportunity.Amount",
4  operator: FilterOperator.GreaterThan,
5  values: [50000]
6};