@onereach/types-contacts-api 4.9.2-beta.2343.0 → 4.10.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.
@@ -61,12 +61,12 @@ export interface CreateMultipleContactsDto {
61
61
  contacts: ContactRequestDto[];
62
62
  }
63
63
  export interface DeleteContactMultiParamsDto extends DeleteContactParamsDto {
64
- ids?: string[];
65
- contact_book?: string;
66
- all?: true;
64
+ ids: string[];
65
+ batchId?: string;
67
66
  }
68
67
  export interface DeleteContactParamsDto {
69
68
  contact_book?: string;
69
+ notifyEventProxy?: boolean;
70
70
  }
71
71
  export interface FindAllParamsDto extends ReturnType<typeof OmitType<ContactSearchParamsDto, 'order' | 'take' | 'skip'>> {
72
72
  size?: number;
@@ -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",
@@ -61,12 +61,12 @@ export interface CreateMultipleContactsDto {
61
61
  contacts: ContactRequestDto[];
62
62
  }
63
63
  export interface DeleteContactMultiParamsDto extends DeleteContactParamsDto {
64
- ids?: string[];
65
- contact_book?: string;
66
- all?: true;
64
+ ids: string[];
65
+ batchId?: string;
67
66
  }
68
67
  export interface DeleteContactParamsDto {
69
68
  contact_book?: string;
69
+ notifyEventProxy?: boolean;
70
70
  }
71
71
  export interface FindAllParamsDto extends ReturnType<typeof OmitType<ContactSearchParamsDto, 'order' | 'take' | 'skip'>> {
72
72
  size?: number;
@@ -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",
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.10.0",
5
5
  "author": "OneReach.ai",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/esm/index.js",
@@ -22,5 +22,6 @@
22
22
  "rimraf": "5.0.1",
23
23
  "ts-morph": "17.0.1",
24
24
  "ts-node": "10.9.1"
25
- }
25
+ },
26
+ "gitHead": "b913a165298229042a31a169b848d94d16d75c46"
26
27
  }