@onereach/types-contacts-api 5.24.8 → 5.25.1-beta.3270.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.
- package/dist/cjs/index.d.ts +20 -0
- package/dist/esm/index.d.ts +20 -0
- package/package.json +2 -3
package/dist/cjs/index.d.ts
CHANGED
|
@@ -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,6 +122,11 @@ export type OrderType = {
|
|
|
107
122
|
by: string;
|
|
108
123
|
order: 'asc' | 'desc';
|
|
109
124
|
};
|
|
125
|
+
export interface FindContactByValueDto {
|
|
126
|
+
contact_book?: string;
|
|
127
|
+
machine_name: string;
|
|
128
|
+
value: unknown;
|
|
129
|
+
}
|
|
110
130
|
export interface LinkContactMultiParamsDto {
|
|
111
131
|
ids: string[];
|
|
112
132
|
contact_books: string[];
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -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,6 +122,11 @@ export type OrderType = {
|
|
|
107
122
|
by: string;
|
|
108
123
|
order: 'asc' | 'desc';
|
|
109
124
|
};
|
|
125
|
+
export interface FindContactByValueDto {
|
|
126
|
+
contact_book?: string;
|
|
127
|
+
machine_name: string;
|
|
128
|
+
value: unknown;
|
|
129
|
+
}
|
|
110
130
|
export interface LinkContactMultiParamsDto {
|
|
111
131
|
ids: string[];
|
|
112
132
|
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.
|
|
4
|
+
"version": "5.25.1-beta.3270.0",
|
|
5
5
|
"author": "OneReach.ai",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
7
7
|
"module": "dist/esm/index.js",
|
|
@@ -24,6 +24,5 @@
|
|
|
24
24
|
"rimraf": "5.0.1",
|
|
25
25
|
"ts-morph": "17.0.1",
|
|
26
26
|
"ts-node": "10.9.1"
|
|
27
|
-
}
|
|
28
|
-
"gitHead": "d7c0e8e0f0ea1b95e998dadc4c5825a2078b4428"
|
|
27
|
+
}
|
|
29
28
|
}
|