@onereach/types-contacts-api 2.2.6 → 2.2.7-beta.1631.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.
@@ -43,12 +43,12 @@ export interface ListApiParams {
43
43
  }
44
44
 
45
45
  export interface CreateContactDto {
46
- contact_book: string;
46
+ contact_book?: string;
47
47
  data: FieldValueRequestDto[];
48
48
  }
49
49
 
50
50
  export interface CreateMultipleContactsDto {
51
- contact_book: string;
51
+ contact_book?: string;
52
52
  contacts: ContactRequestDto[];
53
53
  }
54
54
 
@@ -192,7 +192,8 @@ export interface UpsertFieldValueByMachineNameDto {
192
192
 
193
193
  export interface FieldValueRequestDto {
194
194
  value: any;
195
- schemaId: string;
195
+ schemaId?: string;
196
+ machine_name?: string;
196
197
  id?: string;
197
198
  }
198
199
 
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "@onereach/types-contacts-api",
3
3
  "description": "Generated types for Contacts Api",
4
- "version": "2.2.6",
4
+ "version": "2.2.7-beta.1631.0",
5
5
  "author": "OneReach.ai",
6
- "types": "./dist/index.ts",
6
+ "main": "",
7
+ "types": "./dist/index.d.ts",
7
8
  "publishConfig": {
8
9
  "access": "public"
9
10
  },
@@ -18,5 +19,10 @@
18
19
  "ts-morph": "^17.0.1",
19
20
  "ts-node": "^10.9.1"
20
21
  },
21
- "gitHead": "650fd6380973fb6f386da0aedd6d59d9e60cb011"
22
+ "exports": {
23
+ ".": {
24
+ "types": "./index.d.ts"
25
+ },
26
+ "./package.json": "./package.json"
27
+ }
22
28
  }