@onereach/types-contacts-api 1.37.7-beta.862.0 → 1.37.7-beta.863.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.
- package/dist/index.ts +11 -4
- package/package.json +1 -1
package/dist/index.ts
CHANGED
|
@@ -166,17 +166,24 @@ export interface FieldValueResponseDto {
|
|
|
166
166
|
schemaId: string;
|
|
167
167
|
}
|
|
168
168
|
|
|
169
|
+
export interface ContactFilterConditionDto extends AbstractFilterCondition {
|
|
170
|
+
contactField: 'created_at' | 'updated_at';
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
export interface AbstractFilterCondition {
|
|
174
|
+
operator: string;
|
|
175
|
+
value: any;
|
|
176
|
+
}
|
|
177
|
+
|
|
169
178
|
export interface CreateFilterDto {
|
|
170
179
|
name: string;
|
|
171
180
|
contact_book: string;
|
|
172
181
|
match_all: boolean;
|
|
173
|
-
conditions:
|
|
182
|
+
conditions: FieldValueFilterConditionDto[] | ContactFilterConditionDto[];
|
|
174
183
|
}
|
|
175
184
|
|
|
176
|
-
export interface
|
|
185
|
+
export interface FieldValueFilterConditionDto extends AbstractFilterCondition {
|
|
177
186
|
schema: string;
|
|
178
|
-
operator: string;
|
|
179
|
-
value: any;
|
|
180
187
|
propertyPath?: string[];
|
|
181
188
|
}
|
|
182
189
|
|
package/package.json
CHANGED