@onereach/types-contacts-api 1.32.6-beta.724.0 → 1.33.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.
Files changed (2) hide show
  1. package/dist/index.ts +8 -6
  2. package/package.json +3 -2
package/dist/index.ts CHANGED
@@ -27,20 +27,19 @@ export interface ContactResponseDto {
27
27
  fieldValues?: FieldValueResponseDto[];
28
28
  }
29
29
 
30
- export interface ContactSearchParamsDto extends ListApiParams {
30
+ export interface ContactSearchParamsDto extends ReturnType<typeof IntersectionType<OrderParams, ListApiParams>> {
31
31
  contact_book: string;
32
32
  q?: string;
33
33
  filter?: string;
34
34
  }
35
35
 
36
- export interface CreateContactDto {
37
- contact_book: string;
38
- data: FieldValueRequestDto[];
36
+ export interface OrderParams {
37
+ order?: string;
39
38
  }
40
39
 
41
- export interface MergeContactParamsDto {
40
+ export interface CreateContactDto {
42
41
  contact_book: string;
43
- mergeContactId: string;
42
+ data: FieldValueRequestDto[];
44
43
  }
45
44
 
46
45
  export interface UpdateContactDto extends CreateContactDto {
@@ -76,6 +75,9 @@ export interface ContactBookListDto extends ListApiResponse {
76
75
  items: ContactBookResponseDto[];
77
76
  }
78
77
 
78
+ export interface ContactBookParamsDto extends ReturnType<typeof IntersectionType<OrderParams, ListApiParams>> {
79
+ }
80
+
79
81
  export interface ContactBookResponseDto extends CreateContactBookDto {
80
82
  id: string;
81
83
  created_at: Date;
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": "1.32.6-beta.724.0",
4
+ "version": "1.33.0",
5
5
  "author": "OneReach.ai",
6
6
  "main": "./dist/index.ts",
7
7
  "publishConfig": {
@@ -17,5 +17,6 @@
17
17
  "@types/node": "^16.0.0",
18
18
  "ts-morph": "^15.1.0",
19
19
  "ts-node": "^10.0.0"
20
- }
20
+ },
21
+ "gitHead": "cd0921c20dc1b2fc0d40058f5811180ec0b8e991"
21
22
  }