@onereach/types-contacts-api 5.2.0 → 5.3.1-beta.2471.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/cjs/index.d.ts +18 -3
- package/dist/esm/index.d.ts +18 -3
- package/package.json +2 -3
package/dist/cjs/index.d.ts
CHANGED
|
@@ -15,6 +15,24 @@ export declare enum BatchProcessStatus {
|
|
|
15
15
|
failed = "failed"
|
|
16
16
|
}
|
|
17
17
|
export type ColumnValueName = 'number_values' | 'double_values' | 'string_values' | 'object_values' | 'date_values' | 'array_of_objects' | 'arr_obj_identifiers_values';
|
|
18
|
+
export interface BulkContactFieldValueDto {
|
|
19
|
+
value: unknown;
|
|
20
|
+
schemaId?: string;
|
|
21
|
+
machine_name?: string;
|
|
22
|
+
}
|
|
23
|
+
export interface BulkContactDto {
|
|
24
|
+
contactKey: string;
|
|
25
|
+
id?: string;
|
|
26
|
+
updated_at?: string;
|
|
27
|
+
created_at?: string;
|
|
28
|
+
data: BulkContactFieldValueDto[];
|
|
29
|
+
}
|
|
30
|
+
export interface BulkCreateRequestDto {
|
|
31
|
+
batchId: string;
|
|
32
|
+
batchGroupId: string;
|
|
33
|
+
contact_book?: string;
|
|
34
|
+
contacts: BulkContactDto[];
|
|
35
|
+
}
|
|
18
36
|
export interface ContactListDto extends ListApiResponse {
|
|
19
37
|
items: ContactResponseDto[];
|
|
20
38
|
}
|
|
@@ -173,9 +191,6 @@ export declare enum MigrationState {
|
|
|
173
191
|
ToDo = "ToDo",
|
|
174
192
|
Done = "Done"
|
|
175
193
|
}
|
|
176
|
-
export interface FieldSchemaDeleteParamsDto {
|
|
177
|
-
softDelete?: boolean;
|
|
178
|
-
}
|
|
179
194
|
export interface FieldSchemaListParamsDto extends ReturnType<typeof IntersectionType<OrderParams, ListApiParams>> {
|
|
180
195
|
q?: string;
|
|
181
196
|
}
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -15,6 +15,24 @@ export declare enum BatchProcessStatus {
|
|
|
15
15
|
failed = "failed"
|
|
16
16
|
}
|
|
17
17
|
export type ColumnValueName = 'number_values' | 'double_values' | 'string_values' | 'object_values' | 'date_values' | 'array_of_objects' | 'arr_obj_identifiers_values';
|
|
18
|
+
export interface BulkContactFieldValueDto {
|
|
19
|
+
value: unknown;
|
|
20
|
+
schemaId?: string;
|
|
21
|
+
machine_name?: string;
|
|
22
|
+
}
|
|
23
|
+
export interface BulkContactDto {
|
|
24
|
+
contactKey: string;
|
|
25
|
+
id?: string;
|
|
26
|
+
updated_at?: string;
|
|
27
|
+
created_at?: string;
|
|
28
|
+
data: BulkContactFieldValueDto[];
|
|
29
|
+
}
|
|
30
|
+
export interface BulkCreateRequestDto {
|
|
31
|
+
batchId: string;
|
|
32
|
+
batchGroupId: string;
|
|
33
|
+
contact_book?: string;
|
|
34
|
+
contacts: BulkContactDto[];
|
|
35
|
+
}
|
|
18
36
|
export interface ContactListDto extends ListApiResponse {
|
|
19
37
|
items: ContactResponseDto[];
|
|
20
38
|
}
|
|
@@ -173,9 +191,6 @@ export declare enum MigrationState {
|
|
|
173
191
|
ToDo = "ToDo",
|
|
174
192
|
Done = "Done"
|
|
175
193
|
}
|
|
176
|
-
export interface FieldSchemaDeleteParamsDto {
|
|
177
|
-
softDelete?: boolean;
|
|
178
|
-
}
|
|
179
194
|
export interface FieldSchemaListParamsDto extends ReturnType<typeof IntersectionType<OrderParams, ListApiParams>> {
|
|
180
195
|
q?: string;
|
|
181
196
|
}
|
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": "5.
|
|
4
|
+
"version": "5.3.1-beta.2471.0",
|
|
5
5
|
"author": "OneReach.ai",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
7
7
|
"module": "dist/esm/index.js",
|
|
@@ -22,6 +22,5 @@
|
|
|
22
22
|
"rimraf": "5.0.1",
|
|
23
23
|
"ts-morph": "17.0.1",
|
|
24
24
|
"ts-node": "10.9.1"
|
|
25
|
-
}
|
|
26
|
-
"gitHead": "7e65d191c71ab27063efe63f0cb90c172e1f6271"
|
|
25
|
+
}
|
|
27
26
|
}
|