@onereach/types-contacts-api 1.37.7-beta.884.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 -19
  2. package/package.json +1 -1
package/dist/index.ts CHANGED
@@ -52,14 +52,6 @@ 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
-
63
55
  export interface MergeContactParamsDto {
64
56
  contact_book: string;
65
57
  mergeContactId: string;
@@ -170,24 +162,17 @@ export interface FieldValueResponseDto {
170
162
  schemaId: string;
171
163
  }
172
164
 
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
-
182
165
  export interface CreateFilterDto {
183
166
  name: string;
184
167
  contact_book: string;
185
168
  match_all: boolean;
186
- conditions: FieldValueFilterConditionDto[] | ContactFilterConditionDto[];
169
+ conditions: FilterConditionDto[];
187
170
  }
188
171
 
189
- export interface FieldValueFilterConditionDto extends AbstractFilterCondition {
172
+ export interface FilterConditionDto {
190
173
  schema: string;
174
+ operator: string;
175
+ value: any;
191
176
  propertyPath?: string[];
192
177
  }
193
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.884.0",
4
+ "version": "1.37.7-beta.887.0",
5
5
  "author": "OneReach.ai",
6
6
  "main": "./dist/index.ts",
7
7
  "publishConfig": {