-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FilterOperatorEnum is required, but looks like it's not exported #172
Comments
Just ran into this today as well |
This works using 5.0 (not tried in latest release):
|
It seems that the Filter type was changed between 5.0 and 6.0 Current version:
and previously we had:
Was the change intentional? It was a lot easier to use operators, when one could reference them (like |
Hi @deiga . |
Thanks for sharing context! Are there plans to allow access to Filters easily? |
Hi everyone. |
Hi everyone. |
I've published it in the latest stable version(11.0.0). |
Example of code:
I could do such thing:
import { FilterOperatorEnum } from '@hubspot/api-client/lib/codegen/crm/companies/models/Filter';
But then I see
'FilterOperatorEnum' only refers to a type, but is being used as a value here.ts(2693)
That's because of
export declare type FilterOperatorEnum = "EQ" | "NEQ" | "LT" | "LTE" | "GT" | "GTE" | "BETWEEN" | "IN" | "NOT_IN" | "HAS_PROPERTY" | "NOT_HAS_PROPERTY" | "CONTAINS_TOKEN" | "NOT_CONTAINS_TOKEN";
The text was updated successfully, but these errors were encountered: