@onereach/types-contacts-api 1.34.4-beta.772.0 → 1.35.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 +15 -0
  2. package/package.json +3 -2
package/dist/index.ts CHANGED
@@ -88,6 +88,7 @@ export interface ContactBookResponseDto extends CreateContactBookDto {
88
88
  created_at: Date;
89
89
  updated_at: Date;
90
90
  contacts?: ContactResponseDto[];
91
+ crossAccountMeta: CrossAccountMetaDto | null;
91
92
  }
92
93
 
93
94
  export interface CreateContactBookDto {
@@ -96,6 +97,20 @@ export interface CreateContactBookDto {
96
97
  schemaPresets?: SchemaPresetResponseDto[];
97
98
  }
98
99
 
100
+ export interface CrossAccountMetaDto {
101
+ id: string;
102
+ created_at: Date;
103
+ is_approved: boolean;
104
+ account_name: string;
105
+ account_id: string;
106
+ approved_by: string;
107
+ original_book_id: string;
108
+ }
109
+
110
+ export interface ShareContactBookParamsDto {
111
+ targetAccountId: string;
112
+ }
113
+
99
114
  export interface UpdateContactBookDto extends ReturnType<typeof PartialType<CreateContactBookDto>> {
100
115
  }
101
116
 
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.34.4-beta.772.0",
4
+ "version": "1.35.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": "0b7609aacef41e77e85efa36b101d4fb587e7c0b"
21
22
  }