@onereach/types-contacts-api 1.44.7-beta.1381.0 → 1.45.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 +13 -16
- package/package.json +3 -2
package/dist/index.ts
CHANGED
|
@@ -11,8 +11,13 @@ export interface ListApiResponse {
|
|
|
11
11
|
total: number;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
export interface ContactParamsDto {
|
|
15
|
-
contact_book
|
|
14
|
+
export interface ContactParamsDto extends ListApiParams {
|
|
15
|
+
contact_book: string;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export interface ListApiParams {
|
|
19
|
+
take?: number;
|
|
20
|
+
skip?: number;
|
|
16
21
|
}
|
|
17
22
|
|
|
18
23
|
export interface ContactRequestDto {
|
|
@@ -28,20 +33,15 @@ export interface ContactResponseDto {
|
|
|
28
33
|
}
|
|
29
34
|
|
|
30
35
|
export interface ContactSearchParamsDto extends ReturnType<typeof IntersectionType<OrderParams, ListApiParams>> {
|
|
31
|
-
contact_book
|
|
36
|
+
contact_book: string;
|
|
32
37
|
q?: string;
|
|
33
|
-
filter?: string
|
|
38
|
+
filter?: string;
|
|
34
39
|
}
|
|
35
40
|
|
|
36
41
|
export interface OrderParams {
|
|
37
42
|
order?: string;
|
|
38
43
|
}
|
|
39
44
|
|
|
40
|
-
export interface ListApiParams {
|
|
41
|
-
take?: number;
|
|
42
|
-
skip?: number;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
45
|
export interface CreateContactDto {
|
|
46
46
|
contact_book: string;
|
|
47
47
|
data: FieldValueRequestDto[];
|
|
@@ -163,7 +163,7 @@ export interface CrossAccountMetaDto {
|
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
export interface FieldSchemaDeleteParamsDto {
|
|
166
|
-
softDelete
|
|
166
|
+
softDelete: boolean;
|
|
167
167
|
}
|
|
168
168
|
|
|
169
169
|
export interface FieldSchemaListParamsDto extends ReturnType<typeof IntersectionType<OrderParams, ListApiParams>> {
|
|
@@ -213,21 +213,18 @@ export interface AbstractFilterCondition {
|
|
|
213
213
|
|
|
214
214
|
export interface CreateFilterDto {
|
|
215
215
|
name: string;
|
|
216
|
-
contact_book
|
|
216
|
+
contact_book: string;
|
|
217
217
|
match_all: boolean;
|
|
218
218
|
conditions: FieldValueFilterConditionDto[] | ContactFilterConditionDto[];
|
|
219
219
|
}
|
|
220
220
|
|
|
221
|
-
export interface DynamicFilterDto extends ReturnType<typeof OmitType<CreateFilterDto, 'name'>> {
|
|
222
|
-
}
|
|
223
|
-
|
|
224
221
|
export interface FieldValueFilterConditionDto extends AbstractFilterCondition {
|
|
225
|
-
|
|
222
|
+
schema: string;
|
|
226
223
|
propertyPath?: string[];
|
|
227
224
|
}
|
|
228
225
|
|
|
229
226
|
export interface FilterListParamsDto extends ListApiParams {
|
|
230
|
-
contact_book
|
|
227
|
+
contact_book: string;
|
|
231
228
|
}
|
|
232
229
|
|
|
233
230
|
export interface FilterListDto extends ListApiResponse {
|
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.
|
|
4
|
+
"version": "1.45.0",
|
|
5
5
|
"author": "OneReach.ai",
|
|
6
6
|
"main": "./dist/index.ts",
|
|
7
7
|
"publishConfig": {
|
|
@@ -17,5 +17,6 @@
|
|
|
17
17
|
"@types/node": "^18.11.10",
|
|
18
18
|
"ts-morph": "^17.0.1",
|
|
19
19
|
"ts-node": "^10.9.1"
|
|
20
|
-
}
|
|
20
|
+
},
|
|
21
|
+
"gitHead": "07a55b8c25293a33c48b910600bdf7b64ed8c0cb"
|
|
21
22
|
}
|