@onereach/types-contacts-api 4.2.0 → 4.2.2-beta.2123.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 +3 -3
  2. package/package.json +2 -3
package/dist/index.ts CHANGED
@@ -72,18 +72,18 @@ export interface CreateContactDto {
72
72
  }
73
73
 
74
74
  export interface CreateMultipleContactsDto {
75
- contact_book?: string;
75
+ contact_book: string;
76
76
  contacts: ContactRequestDto[];
77
77
  }
78
78
 
79
79
  export interface DeleteContactMultiParamsDto extends DeleteContactParamsDto {
80
80
  ids?: string[];
81
- contact_book: string;
81
+ contact_book?: string;
82
82
  all?: true;
83
83
  }
84
84
 
85
85
  export interface DeleteContactParamsDto {
86
- contact_book: string;
86
+ contact_book?: string;
87
87
  }
88
88
 
89
89
  export interface FindAllParamsDto extends ReturnType<typeof OmitType<ContactSearchParamsDto, 'order' | 'take' | 'skip'>> {
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": "4.2.0",
4
+ "version": "4.2.2-beta.2123.0",
5
5
  "author": "OneReach.ai",
6
6
  "main": "./dist/index.ts",
7
7
  "publishConfig": {
@@ -14,6 +14,5 @@
14
14
  "@types/node": "^18.11.10",
15
15
  "ts-morph": "^17.0.1",
16
16
  "ts-node": "^10.9.1"
17
- },
18
- "gitHead": "eb9f8f40c6271f87a36a08b91684c15896e8b88e"
17
+ }
19
18
  }