UNPKG

@namiml/web-sdk

Version:

Nami Web SDK makes subscriptions & in-app purchases easy, with powerful built-in paywalls and A/B testing

23 lines (22 loc) 539 B
export declare enum LogicalOperator { NONE = "none", AND = "and", OR = "or" } export declare enum FilterOperator { I_CONTAINS = "i_contains", EQUALS = "equals", I_EQUALS = "i_equals", NOT_EQUALS = "not_equals", NOT_I_EQUALS = "not_i_equals", NOT_CONTAINS = "not_contains" } export interface NamiConditionFilter { identifier: string; operator: FilterOperator; values: string[]; } export interface NamiConditions { filter?: NamiConditionFilter[]; operatorType: `${LogicalOperator}`; }