@onereach/types-contacts-api 1.37.7-beta.876.0 → 1.37.7-beta.881.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
|
@@ -162,17 +162,24 @@ 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
|
+
|
|
165
174
|
export interface CreateFilterDto {
|
|
166
175
|
name: string;
|
|
167
176
|
contact_book: string;
|
|
168
177
|
match_all: boolean;
|
|
169
|
-
conditions:
|
|
178
|
+
conditions: FieldValueFilterConditionDto[] | ContactFilterConditionDto[];
|
|
170
179
|
}
|
|
171
180
|
|
|
172
|
-
export interface
|
|
181
|
+
export interface FieldValueFilterConditionDto extends AbstractFilterCondition {
|
|
173
182
|
schema: string;
|
|
174
|
-
operator: string;
|
|
175
|
-
value: any;
|
|
176
183
|
propertyPath?: string[];
|
|
177
184
|
}
|
|
178
185
|
|
package/package.json
CHANGED