@onereach/types-contacts-api 1.26.1-beta.625.0 → 1.26.1-beta.666.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 -1
- package/package.json +1 -1
package/dist/index.ts
CHANGED
|
@@ -29,6 +29,7 @@ export interface ContactResponseDto {
|
|
|
29
29
|
|
|
30
30
|
export interface ContactSearchParamsDto extends ListApiParams {
|
|
31
31
|
contact_book: string;
|
|
32
|
+
order?: { by: string; order: 'asc' | 'desc'; };
|
|
32
33
|
q?: string;
|
|
33
34
|
filter?: string;
|
|
34
35
|
}
|
|
@@ -43,7 +44,6 @@ export interface UpdateContactDto extends CreateContactDto {
|
|
|
43
44
|
|
|
44
45
|
export interface ContactBookFieldSchemaDto extends CreateFieldSchemaDto {
|
|
45
46
|
id?: string;
|
|
46
|
-
delete?: boolean;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
export interface CreateFieldSchemaDto {
|
|
@@ -71,6 +71,10 @@ export interface ContactBookListDto extends ListApiResponse {
|
|
|
71
71
|
items: ContactBookResponseDto[];
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
+
export interface ContactBookParamsDto extends ListApiParams {
|
|
75
|
+
order?: { by: string; order: 'asc' | 'desc'; };
|
|
76
|
+
}
|
|
77
|
+
|
|
74
78
|
export interface ContactBookResponseDto extends CreateContactBookDto {
|
|
75
79
|
id: string;
|
|
76
80
|
created_at: Date;
|
package/package.json
CHANGED