@onereach/types-contacts-api 2.2.11-beta.1691.0 → 2.2.11
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 +2 -18
- package/package.json +3 -2
package/dist/index.ts
CHANGED
|
@@ -3,23 +3,6 @@ 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
|
-
|
|
23
6
|
export interface ContactListDto extends ListApiResponse {
|
|
24
7
|
items: ContactResponseDto[];
|
|
25
8
|
}
|
|
@@ -48,7 +31,6 @@ export interface ContactSearchParamsDto extends ReturnType<typeof IntersectionTy
|
|
|
48
31
|
contact_book?: string;
|
|
49
32
|
q?: string;
|
|
50
33
|
filter?: string | DynamicFilterDto;
|
|
51
|
-
contactIds?: string[];
|
|
52
34
|
}
|
|
53
35
|
|
|
54
36
|
export interface OrderParams {
|
|
@@ -129,6 +111,8 @@ export enum ColumnTypes {
|
|
|
129
111
|
'array of strings' = 'array of strings'
|
|
130
112
|
}
|
|
131
113
|
|
|
114
|
+
export type ColumnValueName = 'string_values' | 'object_values' | 'number_values' | 'date_values' | 'double_values';
|
|
115
|
+
|
|
132
116
|
export interface MachineNameParamDto {
|
|
133
117
|
machine_name: string;
|
|
134
118
|
}
|
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.11
|
|
4
|
+
"version": "2.2.11",
|
|
5
5
|
"author": "OneReach.ai",
|
|
6
6
|
"main": "./dist/index.ts",
|
|
7
7
|
"publishConfig": {
|
|
@@ -14,5 +14,6 @@
|
|
|
14
14
|
"@types/node": "^18.11.10",
|
|
15
15
|
"ts-morph": "^17.0.1",
|
|
16
16
|
"ts-node": "^10.9.1"
|
|
17
|
-
}
|
|
17
|
+
},
|
|
18
|
+
"gitHead": "6c2e88c947dbddb286c6040916a544009746ac0f"
|
|
18
19
|
}
|