@onereach/types-contacts-api 2.2.13 → 2.2.14
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 +18 -2
- package/package.json +2 -2
package/dist/index.ts
CHANGED
|
@@ -3,6 +3,23 @@ declare function IntersectionType<A, B>(classARef: A, classBRef: B): A & B;
|
|
|
3
3
|
declare function PartialType<T>(classRef: T): Partial<T>;
|
|
4
4
|
declare function PickType<T, K extends keyof T>(classRef: T, keys: readonly K[]): Pick<T, typeof keys[number]>;
|
|
5
5
|
|
|
6
|
+
export interface BatchProcessResponseDto {
|
|
7
|
+
id: string;
|
|
8
|
+
created_at: Date;
|
|
9
|
+
updated_at: Date;
|
|
10
|
+
status: BatchProcessStatus;
|
|
11
|
+
results: string[];
|
|
12
|
+
messages: string[];
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export enum BatchProcessStatus {
|
|
16
|
+
pending = 'pending',
|
|
17
|
+
success = 'success',
|
|
18
|
+
failed = 'failed'
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export type ColumnValueName = 'string_values' | 'object_values' | 'number_values' | 'date_values' | 'double_values';
|
|
22
|
+
|
|
6
23
|
export interface ContactListDto extends ListApiResponse {
|
|
7
24
|
items: ContactResponseDto[];
|
|
8
25
|
}
|
|
@@ -31,6 +48,7 @@ export interface ContactSearchParamsDto extends ReturnType<typeof IntersectionTy
|
|
|
31
48
|
contact_book?: string;
|
|
32
49
|
q?: string;
|
|
33
50
|
filter?: string | DynamicFilterDto;
|
|
51
|
+
contactIds?: string[];
|
|
34
52
|
}
|
|
35
53
|
|
|
36
54
|
export interface OrderParams {
|
|
@@ -111,8 +129,6 @@ export enum ColumnTypes {
|
|
|
111
129
|
'array of strings' = 'array of strings'
|
|
112
130
|
}
|
|
113
131
|
|
|
114
|
-
export type ColumnValueName = 'string_values' | 'object_values' | 'number_values' | 'date_values' | 'double_values';
|
|
115
|
-
|
|
116
132
|
export interface MachineNameParamDto {
|
|
117
133
|
machine_name: string;
|
|
118
134
|
}
|
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": "2.2.
|
|
4
|
+
"version": "2.2.14",
|
|
5
5
|
"author": "OneReach.ai",
|
|
6
6
|
"main": "./dist/index.ts",
|
|
7
7
|
"publishConfig": {
|
|
@@ -15,5 +15,5 @@
|
|
|
15
15
|
"ts-morph": "^17.0.1",
|
|
16
16
|
"ts-node": "^10.9.1"
|
|
17
17
|
},
|
|
18
|
-
"gitHead": "
|
|
18
|
+
"gitHead": "8db4af86a320017c516e577dad696610a8bf00f3"
|
|
19
19
|
}
|