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