@onereach/types-contacts-api 1.37.7-beta.876.0 → 1.37.7-beta.884.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 +19 -4
- package/package.json +1 -1
package/dist/index.ts
CHANGED
|
@@ -52,6 +52,14 @@ export interface DeleteContactParamsDto {
|
|
|
52
52
|
contact_book: string;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
+
export interface LinkContactMultiParamsDto extends LinkContactParamsDto {
|
|
56
|
+
ids: string[];
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export interface LinkContactParamsDto {
|
|
60
|
+
contact_book: string;
|
|
61
|
+
}
|
|
62
|
+
|
|
55
63
|
export interface MergeContactParamsDto {
|
|
56
64
|
contact_book: string;
|
|
57
65
|
mergeContactId: string;
|
|
@@ -162,17 +170,24 @@ export interface FieldValueResponseDto {
|
|
|
162
170
|
schemaId: string;
|
|
163
171
|
}
|
|
164
172
|
|
|
173
|
+
export interface ContactFilterConditionDto extends AbstractFilterCondition {
|
|
174
|
+
contactField: 'created_at' | 'updated_at';
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
export interface AbstractFilterCondition {
|
|
178
|
+
operator: string;
|
|
179
|
+
value: any;
|
|
180
|
+
}
|
|
181
|
+
|
|
165
182
|
export interface CreateFilterDto {
|
|
166
183
|
name: string;
|
|
167
184
|
contact_book: string;
|
|
168
185
|
match_all: boolean;
|
|
169
|
-
conditions:
|
|
186
|
+
conditions: FieldValueFilterConditionDto[] | ContactFilterConditionDto[];
|
|
170
187
|
}
|
|
171
188
|
|
|
172
|
-
export interface
|
|
189
|
+
export interface FieldValueFilterConditionDto extends AbstractFilterCondition {
|
|
173
190
|
schema: string;
|
|
174
|
-
operator: string;
|
|
175
|
-
value: any;
|
|
176
191
|
propertyPath?: string[];
|
|
177
192
|
}
|
|
178
193
|
|
package/package.json
CHANGED