@onereach/types-contacts-api 1.33.2-beta.734.0 → 1.33.2-beta.735.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 +5 -15
- package/package.json +1 -1
package/dist/index.ts
CHANGED
|
@@ -42,6 +42,11 @@ export interface CreateContactDto {
|
|
|
42
42
|
data: FieldValueRequestDto[];
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
+
export interface MergeContactParamsDto {
|
|
46
|
+
contact_book: string;
|
|
47
|
+
mergeContactId: string;
|
|
48
|
+
}
|
|
49
|
+
|
|
45
50
|
export interface UpdateContactDto extends CreateContactDto {
|
|
46
51
|
}
|
|
47
52
|
|
|
@@ -83,7 +88,6 @@ export interface ContactBookResponseDto extends CreateContactBookDto {
|
|
|
83
88
|
created_at: Date;
|
|
84
89
|
updated_at: Date;
|
|
85
90
|
contacts?: ContactResponseDto[];
|
|
86
|
-
crossAccountMeta: CrossAccountMetaDto | null;
|
|
87
91
|
}
|
|
88
92
|
|
|
89
93
|
export interface CreateContactBookDto {
|
|
@@ -92,20 +96,6 @@ export interface CreateContactBookDto {
|
|
|
92
96
|
schemaPresets?: SchemaPresetResponseDto[];
|
|
93
97
|
}
|
|
94
98
|
|
|
95
|
-
export interface CrossAccountMetaDto {
|
|
96
|
-
id: string;
|
|
97
|
-
created_at: Date;
|
|
98
|
-
is_approved: boolean;
|
|
99
|
-
account_name: string;
|
|
100
|
-
account_id: string;
|
|
101
|
-
approved_by: string;
|
|
102
|
-
original_book_id: string;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
export interface ShareContactBookParamsDto {
|
|
106
|
-
targetAccountId: string;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
99
|
export interface UpdateContactBookDto extends ReturnType<typeof PartialType<CreateContactBookDto>> {
|
|
110
100
|
}
|
|
111
101
|
|
package/package.json
CHANGED