We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1844b31 commit 068ade5Copy full SHA for 068ade5
src/types/api/contact-imports.ts
@@ -0,0 +1,21 @@
1
+export type ContactImportResponse = {
2
+ id: number;
3
+ status: "created" | "started" | "finished" | "failed";
4
+ created_contacts_count?: number;
5
+ updated_contacts_count?: number;
6
+ contacts_over_limit_count?: number;
7
+};
8
+
9
+export type ImportContactsRequest = {
10
+ contacts: {
11
+ email: string;
12
+ fields?: {
13
+ first_name?: string;
14
+ last_name?: string;
15
+ zip_code?: number;
16
+ [key: string]: string | number | undefined;
17
+ };
18
+ list_ids_included?: number[];
19
+ list_ids_excluded?: number[];
20
+ }[];
21
0 commit comments