@onereach/types-contacts-api 1.37.7-beta.885.0 → 1.37.7-beta.887.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.ts +4 -11
  2. package/package.json +1 -1
package/dist/index.ts CHANGED
@@ -162,24 +162,17 @@ export interface FieldValueResponseDto {
162
162
  schemaId: string;
163
163
  }
164
164
 
165
- export interface ContactFilterConditionDto extends AbstractFilterCondition {
166
- contactField: 'created_at' | 'updated_at';
167
- }
168
-
169
- export interface AbstractFilterCondition {
170
- operator: string;
171
- value: any;
172
- }
173
-
174
165
  export interface CreateFilterDto {
175
166
  name: string;
176
167
  contact_book: string;
177
168
  match_all: boolean;
178
- conditions: FieldValueFilterConditionDto[] | ContactFilterConditionDto[];
169
+ conditions: FilterConditionDto[];
179
170
  }
180
171
 
181
- export interface FieldValueFilterConditionDto extends AbstractFilterCondition {
172
+ export interface FilterConditionDto {
182
173
  schema: string;
174
+ operator: string;
175
+ value: any;
183
176
  propertyPath?: string[];
184
177
  }
185
178
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@onereach/types-contacts-api",
3
3
  "description": "Generated types for Contacts Api",
4
- "version": "1.37.7-beta.885.0",
4
+ "version": "1.37.7-beta.887.0",
5
5
  "author": "OneReach.ai",
6
6
  "main": "./dist/index.ts",
7
7
  "publishConfig": {