@onereach/types-contacts-api 4.10.0 → 4.11.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,10 +106,10 @@ export interface ContactBookFieldSchemaDto extends CreateFieldSchemaDto {
106
106
  }
107
107
  export interface CreateFieldSchemaDto extends MachineNameParamDto {
108
108
  label: string;
109
- singular_label?: string;
110
- properties?: Record<string, string>;
111
109
  type: ColumnTypes;
112
110
  readonly?: boolean;
111
+ singular_label?: string;
112
+ properties?: Record<string, string>;
113
113
  schemaPresets?: SchemaPresetResponseDto[];
114
114
  }
115
115
  export declare enum ColumnTypes {
@@ -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,10 +106,10 @@ export interface ContactBookFieldSchemaDto extends CreateFieldSchemaDto {
106
106
  }
107
107
  export interface CreateFieldSchemaDto extends MachineNameParamDto {
108
108
  label: string;
109
- singular_label?: string;
110
- properties?: Record<string, string>;
111
109
  type: ColumnTypes;
112
110
  readonly?: boolean;
111
+ singular_label?: string;
112
+ properties?: Record<string, string>;
113
113
  schemaPresets?: SchemaPresetResponseDto[];
114
114
  }
115
115
  export declare enum ColumnTypes {
@@ -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.10.0",
4
+ "version": "4.11.0",
5
5
  "author": "OneReach.ai",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/esm/index.js",
@@ -23,5 +23,5 @@
23
23
  "ts-morph": "17.0.1",
24
24
  "ts-node": "10.9.1"
25
25
  },
26
- "gitHead": "b913a165298229042a31a169b848d94d16d75c46"
26
+ "gitHead": "b31186fb37e8229f88aec594f30250131ee47a34"
27
27
  }