@onereach/types-contacts-api 1.37.7-beta.863.0 → 1.37.7-beta.864.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 +5 -16
  2. package/package.json +1 -1
package/dist/index.ts CHANGED
@@ -99,6 +99,7 @@ export interface ContactBookResponseDto extends CreateContactBookDto {
99
99
  updated_at: Date;
100
100
  contactsCount: number;
101
101
  status?: SharedBookStatus;
102
+ sharedBy?: string;
102
103
  }
103
104
 
104
105
  export interface CreateContactBookDto {
@@ -123,11 +124,6 @@ export interface ShareContactBookParamsDto {
123
124
  targetAccountId: string;
124
125
  }
125
126
 
126
- export interface SharedBookMetaParamsDto {
127
- accountId: string;
128
- bookIds: string;
129
- }
130
-
131
127
  export interface SharedBookResponseDto {
132
128
  approved_by?: string;
133
129
  status: SharedBookStatus;
@@ -166,24 +162,17 @@ export interface FieldValueResponseDto {
166
162
  schemaId: string;
167
163
  }
168
164
 
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
-
178
165
  export interface CreateFilterDto {
179
166
  name: string;
180
167
  contact_book: string;
181
168
  match_all: boolean;
182
- conditions: FieldValueFilterConditionDto[] | ContactFilterConditionDto[];
169
+ conditions: FilterConditionDto[];
183
170
  }
184
171
 
185
- export interface FieldValueFilterConditionDto extends AbstractFilterCondition {
172
+ export interface FilterConditionDto {
186
173
  schema: string;
174
+ operator: string;
175
+ value: any;
187
176
  propertyPath?: string[];
188
177
  }
189
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.863.0",
4
+ "version": "1.37.7-beta.864.0",
5
5
  "author": "OneReach.ai",
6
6
  "main": "./dist/index.ts",
7
7
  "publishConfig": {