@onereach/types-contacts-api 5.24.8-beta.3267.0 → 5.25.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.
@@ -1,6 +1,21 @@
1
1
  declare function OmitType<T, K extends keyof T>(classRef: T, keys: readonly K[]): Omit<T, typeof keys[number]>;
2
2
  declare function IntersectionType<A, B>(classARef: A, classBRef: B): A & B;
3
3
  declare function PartialType<T>(classRef: T): Partial<T>;
4
+ export interface DbIndicesDto {
5
+ index: string;
6
+ table: string;
7
+ column: string;
8
+ method: 'hash' | 'btree' | 'gin';
9
+ query: string;
10
+ }
11
+ export interface IndexOperationDto {
12
+ batchId: string;
13
+ index: DbIndicesDto;
14
+ }
15
+ export interface IndexStatusDto extends DbIndicesDto {
16
+ toBeRemoved: boolean;
17
+ exists: boolean;
18
+ }
4
19
  export interface BatchProcessResponseDto {
5
20
  id: string;
6
21
  created_at: Date;
@@ -107,11 +122,6 @@ export type OrderType = {
107
122
  by: string;
108
123
  order: 'asc' | 'desc';
109
124
  };
110
- export interface FindContactByValueDto {
111
- contact_book?: string;
112
- machine_name: string;
113
- value: unknown;
114
- }
115
125
  export interface LinkContactMultiParamsDto {
116
126
  ids: string[];
117
127
  contact_books: string[];
@@ -1,6 +1,21 @@
1
1
  declare function OmitType<T, K extends keyof T>(classRef: T, keys: readonly K[]): Omit<T, typeof keys[number]>;
2
2
  declare function IntersectionType<A, B>(classARef: A, classBRef: B): A & B;
3
3
  declare function PartialType<T>(classRef: T): Partial<T>;
4
+ export interface DbIndicesDto {
5
+ index: string;
6
+ table: string;
7
+ column: string;
8
+ method: 'hash' | 'btree' | 'gin';
9
+ query: string;
10
+ }
11
+ export interface IndexOperationDto {
12
+ batchId: string;
13
+ index: DbIndicesDto;
14
+ }
15
+ export interface IndexStatusDto extends DbIndicesDto {
16
+ toBeRemoved: boolean;
17
+ exists: boolean;
18
+ }
4
19
  export interface BatchProcessResponseDto {
5
20
  id: string;
6
21
  created_at: Date;
@@ -107,11 +122,6 @@ export type OrderType = {
107
122
  by: string;
108
123
  order: 'asc' | 'desc';
109
124
  };
110
- export interface FindContactByValueDto {
111
- contact_book?: string;
112
- machine_name: string;
113
- value: unknown;
114
- }
115
125
  export interface LinkContactMultiParamsDto {
116
126
  ids: string[];
117
127
  contact_books: 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": "5.24.8-beta.3267.0",
4
+ "version": "5.25.0",
5
5
  "author": "OneReach.ai",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/esm/index.js",
@@ -24,5 +24,6 @@
24
24
  "rimraf": "5.0.1",
25
25
  "ts-morph": "17.0.1",
26
26
  "ts-node": "10.9.1"
27
- }
27
+ },
28
+ "gitHead": "c0e640b0b341f5c479d84ade8ff3eb2902b20a6f"
28
29
  }