@onereach/types-contacts-api 4.9.2-beta.2343.0 → 4.9.2-beta.2345.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.
@@ -106,11 +106,11 @@ export interface ContactBookFieldSchemaDto extends CreateFieldSchemaDto {
106
106
  }
107
107
  export interface CreateFieldSchemaDto extends MachineNameParamDto {
108
108
  label: string;
109
- type: ColumnTypes;
110
109
  singular_label?: string;
111
110
  properties?: Record<string, string>;
112
- schemaPresets?: string[];
111
+ type: ColumnTypes;
113
112
  readonly?: boolean;
113
+ schemaPresets?: SchemaPresetResponseDto[];
114
114
  }
115
115
  export declare enum ColumnTypes {
116
116
  string = "string",
@@ -246,6 +246,9 @@ export interface CreateSchemaPresetDto {
246
246
  label: string;
247
247
  fieldSchemas?: FieldSchemaResponseDto[];
248
248
  }
249
+ export interface PresetSearchParamsDto extends ReturnType<typeof IntersectionType<OrderParams, ListApiParams>> {
250
+ ids?: string[];
251
+ }
249
252
  export interface SchemaPresetListDto extends ListApiResponse {
250
253
  items: SchemaPresetResponseDto[];
251
254
  }
@@ -106,11 +106,11 @@ export interface ContactBookFieldSchemaDto extends CreateFieldSchemaDto {
106
106
  }
107
107
  export interface CreateFieldSchemaDto extends MachineNameParamDto {
108
108
  label: string;
109
- type: ColumnTypes;
110
109
  singular_label?: string;
111
110
  properties?: Record<string, string>;
112
- schemaPresets?: string[];
111
+ type: ColumnTypes;
113
112
  readonly?: boolean;
113
+ schemaPresets?: SchemaPresetResponseDto[];
114
114
  }
115
115
  export declare enum ColumnTypes {
116
116
  string = "string",
@@ -246,6 +246,9 @@ export interface CreateSchemaPresetDto {
246
246
  label: string;
247
247
  fieldSchemas?: FieldSchemaResponseDto[];
248
248
  }
249
+ export interface PresetSearchParamsDto extends ReturnType<typeof IntersectionType<OrderParams, ListApiParams>> {
250
+ ids?: string[];
251
+ }
249
252
  export interface SchemaPresetListDto extends ListApiResponse {
250
253
  items: SchemaPresetResponseDto[];
251
254
  }
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.9.2-beta.2343.0",
4
+ "version": "4.9.2-beta.2345.0",
5
5
  "author": "OneReach.ai",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/esm/index.js",