@onereach/types-contacts-api
Advanced tools
Comparing version 1.32.6-beta.724.0 to 1.32.6-beta.725.0
@@ -30,3 +30,3 @@ declare function OmitType<T, K extends keyof T>(classRef: T, keys: readonly K[]): Omit<T, typeof keys[number]>; | ||
export interface ContactSearchParamsDto extends ListApiParams { | ||
export interface ContactSearchParamsDto extends ReturnType<typeof IntersectionType<OrderParams, ListApiParams>> { | ||
contact_book: string; | ||
@@ -37,2 +37,6 @@ q?: string; | ||
export interface OrderParams { | ||
order?: string; | ||
} | ||
export interface CreateContactDto { | ||
@@ -43,7 +47,2 @@ contact_book: string; | ||
export interface MergeContactParamsDto { | ||
contact_book: string; | ||
mergeContactId: string; | ||
} | ||
export interface UpdateContactDto extends CreateContactDto { | ||
@@ -82,2 +81,5 @@ } | ||
export interface ContactBookParamsDto extends ReturnType<typeof IntersectionType<OrderParams, ListApiParams>> { | ||
} | ||
export interface ContactBookResponseDto extends CreateContactBookDto { | ||
@@ -84,0 +86,0 @@ id: string; |
{ | ||
"name": "@onereach/types-contacts-api", | ||
"description": "Generated types for Contacts Api", | ||
"version": "1.32.6-beta.724.0", | ||
"version": "1.32.6-beta.725.0", | ||
"author": "OneReach.ai", | ||
@@ -6,0 +6,0 @@ "main": "./dist/index.ts", |
4617
133