@onereach/types-contacts-api 1.41.2 → 1.41.3-beta.1297.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.
- package/dist/index.ts +6 -2
- package/package.json +2 -3
package/dist/index.ts
CHANGED
|
@@ -85,7 +85,7 @@ export interface ContactBookFieldSchemaDto extends CreateFieldSchemaDto {
|
|
|
85
85
|
id?: string;
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
export interface CreateFieldSchemaDto {
|
|
88
|
+
export interface CreateFieldSchemaDto extends MachineNameParamDto {
|
|
89
89
|
label: string;
|
|
90
90
|
singular_label?: string;
|
|
91
91
|
properties?: Record<string, string>;
|
|
@@ -107,6 +107,10 @@ export enum ColumnTypes {
|
|
|
107
107
|
|
|
108
108
|
export type ColumnValueName = 'string_values' | 'object_values' | 'number_values' | 'date_values' | 'double_values';
|
|
109
109
|
|
|
110
|
+
export interface MachineNameParamDto {
|
|
111
|
+
machine_name: string;
|
|
112
|
+
}
|
|
113
|
+
|
|
110
114
|
export interface ContactBookListDto extends ListApiResponse {
|
|
111
115
|
items: ContactBookResponseDto[];
|
|
112
116
|
}
|
|
@@ -165,7 +169,7 @@ export interface FieldSchemaResponseDto extends CreateFieldSchemaDto {
|
|
|
165
169
|
id: string;
|
|
166
170
|
}
|
|
167
171
|
|
|
168
|
-
export interface UpdateFieldSchemaDto extends ReturnType<typeof PartialType<ReturnType<typeof OmitType<CreateFieldSchemaDto, 'type'>>>> {
|
|
172
|
+
export interface UpdateFieldSchemaDto extends ReturnType<typeof PartialType<ReturnType<typeof OmitType<CreateFieldSchemaDto, 'type' | 'machine_name'>>>> {
|
|
169
173
|
}
|
|
170
174
|
|
|
171
175
|
export interface FieldValueRequestDto {
|
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.41.
|
|
4
|
+
"version": "1.41.3-beta.1297.0",
|
|
5
5
|
"author": "OneReach.ai",
|
|
6
6
|
"main": "./dist/index.ts",
|
|
7
7
|
"publishConfig": {
|
|
@@ -17,6 +17,5 @@
|
|
|
17
17
|
"@types/node": "^18.11.10",
|
|
18
18
|
"ts-morph": "^17.0.1",
|
|
19
19
|
"ts-node": "^10.9.1"
|
|
20
|
-
}
|
|
21
|
-
"gitHead": "4076ac3ef7fa3bfc4f5c0fbf5cbdc6137a79d333"
|
|
20
|
+
}
|
|
22
21
|
}
|