@onereach/types-contacts-api 2.2.8 → 2.2.10

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 +7 -1
  2. package/package.json +2 -2
package/dist/index.ts CHANGED
@@ -95,6 +95,7 @@ export interface CreateFieldSchemaDto extends MachineNameParamDto {
95
95
  singular_label?: string;
96
96
  properties?: Record<string, string>;
97
97
  type: ColumnTypes;
98
+ readonly?: boolean;
98
99
  schemaPresets?: SchemaPresetResponseDto[];
99
100
  }
100
101
 
@@ -174,11 +175,16 @@ export interface FieldSchemaListDto extends ListApiResponse {
174
175
  items: FieldSchemaResponseDto[];
175
176
  }
176
177
 
178
+ export interface FieldSchemaReadonlyParamsDto {
179
+ readonly: boolean;
180
+ fields: string[];
181
+ }
182
+
177
183
  export interface FieldSchemaResponseDto extends CreateFieldSchemaDto {
178
184
  id: string;
179
185
  }
180
186
 
181
- export interface UpdateFieldSchemaDto extends ReturnType<typeof PartialType<ReturnType<typeof OmitType<CreateFieldSchemaDto, 'type' | 'machine_name'>>>> {
187
+ export interface UpdateFieldSchemaDto extends ReturnType<typeof PartialType<ReturnType<typeof OmitType<CreateFieldSchemaDto, 'type' | 'machine_name' | 'readonly'>>>> {
182
188
  }
183
189
 
184
190
  export interface DeleteFieldValueByMachineNameDto extends ReturnType<typeof OmitType<UpsertFieldValueByMachineNameDto, 'value'>> {
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": "2.2.8",
4
+ "version": "2.2.10",
5
5
  "author": "OneReach.ai",
6
6
  "main": "./dist/index.ts",
7
7
  "publishConfig": {
@@ -15,5 +15,5 @@
15
15
  "ts-morph": "^17.0.1",
16
16
  "ts-node": "^10.9.1"
17
17
  },
18
- "gitHead": "4abd8d284720bf9e68cd12f344a70a39750de655"
18
+ "gitHead": "921b86ca7b67b94e3e5a0597beb36b575320b368"
19
19
  }