elasticsearch-mcp-vsee 0.5.12 → 0.5.13
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/build/server.d.ts +2 -1
- package/build/server.d.ts.map +1 -1
- package/build/server.js +65 -9
- package/build/server.js.map +1 -1
- package/build/tools/base-tool.d.ts +38 -0
- package/build/tools/base-tool.d.ts.map +1 -0
- package/build/tools/base-tool.js +67 -0
- package/build/tools/base-tool.js.map +1 -0
- package/build/tools/find-entities-by-metric.d.ts +314 -24
- package/build/tools/find-entities-by-metric.d.ts.map +1 -1
- package/build/tools/find-entities-by-metric.js +277 -284
- package/build/tools/find-entities-by-metric.js.map +1 -1
- package/build/tools/get-platform-breakdown.d.ts +60 -22
- package/build/tools/get-platform-breakdown.d.ts.map +1 -1
- package/build/tools/get-platform-breakdown.js +220 -266
- package/build/tools/get-platform-breakdown.js.map +1 -1
- package/build/tools/get-rating-distribution.d.ts +65 -25
- package/build/tools/get-rating-distribution.d.ts.map +1 -1
- package/build/tools/get-rating-distribution.js +206 -245
- package/build/tools/get-rating-distribution.js.map +1 -1
- package/build/tools/get-subscription-breakdown.d.ts +30 -15
- package/build/tools/get-subscription-breakdown.d.ts.map +1 -1
- package/build/tools/get-subscription-breakdown.js +140 -155
- package/build/tools/get-subscription-breakdown.js.map +1 -1
- package/build/tools/get-usage-leaderboard.d.ts +114 -0
- package/build/tools/get-usage-leaderboard.d.ts.map +1 -0
- package/build/tools/get-usage-leaderboard.js +169 -0
- package/build/tools/get-usage-leaderboard.js.map +1 -0
- package/build/tools/get-usage-profile.d.ts +83 -0
- package/build/tools/get-usage-profile.d.ts.map +1 -0
- package/build/tools/get-usage-profile.js +235 -0
- package/build/tools/get-usage-profile.js.map +1 -0
- package/build/tools/get-visit-trends.d.ts +59 -25
- package/build/tools/get-visit-trends.d.ts.map +1 -1
- package/build/tools/get-visit-trends.js +175 -242
- package/build/tools/get-visit-trends.js.map +1 -1
- package/build/tools/index.d.ts +4 -2
- package/build/tools/index.d.ts.map +1 -1
- package/build/tools/index.js +5 -3
- package/build/tools/index.js.map +1 -1
- package/build/tools/top-change.d.ts +56 -23
- package/build/tools/top-change.d.ts.map +1 -1
- package/build/tools/top-change.js +177 -193
- package/build/tools/top-change.js.map +1 -1
- package/build/tools/types.d.ts +24 -0
- package/build/tools/types.d.ts.map +1 -0
- package/build/tools/types.js +3 -0
- package/build/tools/types.js.map +1 -0
- package/build/utils/query-helpers.d.ts +10 -0
- package/build/utils/query-helpers.d.ts.map +1 -0
- package/build/utils/query-helpers.js +48 -0
- package/build/utils/query-helpers.js.map +1 -0
- package/package.json +1 -1
- package/build/tools/get-usage-summary.d.ts +0 -52
- package/build/tools/get-usage-summary.d.ts.map +0 -1
- package/build/tools/get-usage-summary.js +0 -273
- package/build/tools/get-usage-summary.js.map +0 -1
|
@@ -1,22 +1,164 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { BaseTool } from './base-tool.js';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
import { StandardResponse } from './types.js';
|
|
4
|
+
declare const FindEntitiesByMetricArgsSchema: z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
5
|
+
entityType: z.ZodEnum<["group", "account"]>;
|
|
6
|
+
metric: z.ZodOptional<z.ZodEnum<["account_count", "visit_count", "provider_rating", "patient_rating", "avg_call_duration", "unique_providers", "unique_patients", "provider_rating_count", "patient_rating_count"]>>;
|
|
7
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
9
|
+
metrics: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
10
|
+
metric: z.ZodEnum<["account_count", "visit_count", "provider_rating", "patient_rating", "avg_call_duration", "unique_providers", "unique_patients", "provider_rating_count", "patient_rating_count"]>;
|
|
11
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
12
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
13
|
+
}, "strip", z.ZodTypeAny, {
|
|
14
|
+
metric: "provider_rating" | "patient_rating" | "unique_providers" | "unique_patients" | "provider_rating_count" | "patient_rating_count" | "account_count" | "visit_count" | "avg_call_duration";
|
|
15
|
+
min?: number | undefined;
|
|
16
|
+
max?: number | undefined;
|
|
17
|
+
}, {
|
|
18
|
+
metric: "provider_rating" | "patient_rating" | "unique_providers" | "unique_patients" | "provider_rating_count" | "patient_rating_count" | "account_count" | "visit_count" | "avg_call_duration";
|
|
19
|
+
min?: number | undefined;
|
|
20
|
+
max?: number | undefined;
|
|
21
|
+
}>, {
|
|
22
|
+
metric: "provider_rating" | "patient_rating" | "unique_providers" | "unique_patients" | "provider_rating_count" | "patient_rating_count" | "account_count" | "visit_count" | "avg_call_duration";
|
|
23
|
+
min?: number | undefined;
|
|
24
|
+
max?: number | undefined;
|
|
25
|
+
}, {
|
|
26
|
+
metric: "provider_rating" | "patient_rating" | "unique_providers" | "unique_patients" | "provider_rating_count" | "patient_rating_count" | "account_count" | "visit_count" | "avg_call_duration";
|
|
27
|
+
min?: number | undefined;
|
|
28
|
+
max?: number | undefined;
|
|
29
|
+
}>, "many">>;
|
|
30
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
31
|
+
endDate: z.ZodOptional<z.ZodString>;
|
|
32
|
+
subscription: z.ZodOptional<z.ZodEnum<["Enterprise", "Premium", "FVC", "BVC", "Plus"]>>;
|
|
33
|
+
group: z.ZodOptional<z.ZodString>;
|
|
34
|
+
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
35
|
+
}, "strict", z.ZodTypeAny, {
|
|
36
|
+
entityType: "account" | "group";
|
|
37
|
+
limit: number;
|
|
38
|
+
metric?: "provider_rating" | "patient_rating" | "unique_providers" | "unique_patients" | "provider_rating_count" | "patient_rating_count" | "account_count" | "visit_count" | "avg_call_duration" | undefined;
|
|
39
|
+
startDate?: string | undefined;
|
|
40
|
+
endDate?: string | undefined;
|
|
41
|
+
subscription?: "Enterprise" | "Premium" | "FVC" | "BVC" | "Plus" | undefined;
|
|
42
|
+
group?: string | undefined;
|
|
43
|
+
min?: number | undefined;
|
|
44
|
+
max?: number | undefined;
|
|
45
|
+
metrics?: {
|
|
46
|
+
metric: "provider_rating" | "patient_rating" | "unique_providers" | "unique_patients" | "provider_rating_count" | "patient_rating_count" | "account_count" | "visit_count" | "avg_call_duration";
|
|
47
|
+
min?: number | undefined;
|
|
48
|
+
max?: number | undefined;
|
|
49
|
+
}[] | undefined;
|
|
50
|
+
}, {
|
|
51
|
+
entityType: "account" | "group";
|
|
52
|
+
metric?: "provider_rating" | "patient_rating" | "unique_providers" | "unique_patients" | "provider_rating_count" | "patient_rating_count" | "account_count" | "visit_count" | "avg_call_duration" | undefined;
|
|
53
|
+
startDate?: string | undefined;
|
|
54
|
+
endDate?: string | undefined;
|
|
55
|
+
subscription?: "Enterprise" | "Premium" | "FVC" | "BVC" | "Plus" | undefined;
|
|
56
|
+
group?: string | undefined;
|
|
57
|
+
min?: number | undefined;
|
|
58
|
+
max?: number | undefined;
|
|
59
|
+
metrics?: {
|
|
60
|
+
metric: "provider_rating" | "patient_rating" | "unique_providers" | "unique_patients" | "provider_rating_count" | "patient_rating_count" | "account_count" | "visit_count" | "avg_call_duration";
|
|
61
|
+
min?: number | undefined;
|
|
62
|
+
max?: number | undefined;
|
|
63
|
+
}[] | undefined;
|
|
64
|
+
limit?: number | undefined;
|
|
65
|
+
}>, {
|
|
66
|
+
entityType: "account" | "group";
|
|
67
|
+
limit: number;
|
|
68
|
+
metric?: "provider_rating" | "patient_rating" | "unique_providers" | "unique_patients" | "provider_rating_count" | "patient_rating_count" | "account_count" | "visit_count" | "avg_call_duration" | undefined;
|
|
69
|
+
startDate?: string | undefined;
|
|
70
|
+
endDate?: string | undefined;
|
|
71
|
+
subscription?: "Enterprise" | "Premium" | "FVC" | "BVC" | "Plus" | undefined;
|
|
72
|
+
group?: string | undefined;
|
|
73
|
+
min?: number | undefined;
|
|
74
|
+
max?: number | undefined;
|
|
75
|
+
metrics?: {
|
|
76
|
+
metric: "provider_rating" | "patient_rating" | "unique_providers" | "unique_patients" | "provider_rating_count" | "patient_rating_count" | "account_count" | "visit_count" | "avg_call_duration";
|
|
77
|
+
min?: number | undefined;
|
|
78
|
+
max?: number | undefined;
|
|
79
|
+
}[] | undefined;
|
|
80
|
+
}, {
|
|
81
|
+
entityType: "account" | "group";
|
|
82
|
+
metric?: "provider_rating" | "patient_rating" | "unique_providers" | "unique_patients" | "provider_rating_count" | "patient_rating_count" | "account_count" | "visit_count" | "avg_call_duration" | undefined;
|
|
83
|
+
startDate?: string | undefined;
|
|
84
|
+
endDate?: string | undefined;
|
|
85
|
+
subscription?: "Enterprise" | "Premium" | "FVC" | "BVC" | "Plus" | undefined;
|
|
86
|
+
group?: string | undefined;
|
|
87
|
+
min?: number | undefined;
|
|
88
|
+
max?: number | undefined;
|
|
89
|
+
metrics?: {
|
|
90
|
+
metric: "provider_rating" | "patient_rating" | "unique_providers" | "unique_patients" | "provider_rating_count" | "patient_rating_count" | "account_count" | "visit_count" | "avg_call_duration";
|
|
91
|
+
min?: number | undefined;
|
|
92
|
+
max?: number | undefined;
|
|
93
|
+
}[] | undefined;
|
|
94
|
+
limit?: number | undefined;
|
|
95
|
+
}>, {
|
|
96
|
+
entityType: "account" | "group";
|
|
97
|
+
limit: number;
|
|
98
|
+
metric?: "provider_rating" | "patient_rating" | "unique_providers" | "unique_patients" | "provider_rating_count" | "patient_rating_count" | "account_count" | "visit_count" | "avg_call_duration" | undefined;
|
|
99
|
+
startDate?: string | undefined;
|
|
100
|
+
endDate?: string | undefined;
|
|
101
|
+
subscription?: "Enterprise" | "Premium" | "FVC" | "BVC" | "Plus" | undefined;
|
|
102
|
+
group?: string | undefined;
|
|
103
|
+
min?: number | undefined;
|
|
104
|
+
max?: number | undefined;
|
|
105
|
+
metrics?: {
|
|
106
|
+
metric: "provider_rating" | "patient_rating" | "unique_providers" | "unique_patients" | "provider_rating_count" | "patient_rating_count" | "account_count" | "visit_count" | "avg_call_duration";
|
|
107
|
+
min?: number | undefined;
|
|
108
|
+
max?: number | undefined;
|
|
109
|
+
}[] | undefined;
|
|
110
|
+
}, {
|
|
111
|
+
entityType: "account" | "group";
|
|
112
|
+
metric?: "provider_rating" | "patient_rating" | "unique_providers" | "unique_patients" | "provider_rating_count" | "patient_rating_count" | "account_count" | "visit_count" | "avg_call_duration" | undefined;
|
|
113
|
+
startDate?: string | undefined;
|
|
114
|
+
endDate?: string | undefined;
|
|
115
|
+
subscription?: "Enterprise" | "Premium" | "FVC" | "BVC" | "Plus" | undefined;
|
|
116
|
+
group?: string | undefined;
|
|
117
|
+
min?: number | undefined;
|
|
118
|
+
max?: number | undefined;
|
|
119
|
+
metrics?: {
|
|
120
|
+
metric: "provider_rating" | "patient_rating" | "unique_providers" | "unique_patients" | "provider_rating_count" | "patient_rating_count" | "account_count" | "visit_count" | "avg_call_duration";
|
|
121
|
+
min?: number | undefined;
|
|
122
|
+
max?: number | undefined;
|
|
123
|
+
}[] | undefined;
|
|
124
|
+
limit?: number | undefined;
|
|
125
|
+
}>, {
|
|
126
|
+
entityType: "account" | "group";
|
|
127
|
+
limit: number;
|
|
128
|
+
metric?: "provider_rating" | "patient_rating" | "unique_providers" | "unique_patients" | "provider_rating_count" | "patient_rating_count" | "account_count" | "visit_count" | "avg_call_duration" | undefined;
|
|
129
|
+
startDate?: string | undefined;
|
|
130
|
+
endDate?: string | undefined;
|
|
131
|
+
subscription?: "Enterprise" | "Premium" | "FVC" | "BVC" | "Plus" | undefined;
|
|
132
|
+
group?: string | undefined;
|
|
133
|
+
min?: number | undefined;
|
|
134
|
+
max?: number | undefined;
|
|
135
|
+
metrics?: {
|
|
136
|
+
metric: "provider_rating" | "patient_rating" | "unique_providers" | "unique_patients" | "provider_rating_count" | "patient_rating_count" | "account_count" | "visit_count" | "avg_call_duration";
|
|
137
|
+
min?: number | undefined;
|
|
138
|
+
max?: number | undefined;
|
|
139
|
+
}[] | undefined;
|
|
140
|
+
}, {
|
|
141
|
+
entityType: "account" | "group";
|
|
142
|
+
metric?: "provider_rating" | "patient_rating" | "unique_providers" | "unique_patients" | "provider_rating_count" | "patient_rating_count" | "account_count" | "visit_count" | "avg_call_duration" | undefined;
|
|
143
|
+
startDate?: string | undefined;
|
|
144
|
+
endDate?: string | undefined;
|
|
145
|
+
subscription?: "Enterprise" | "Premium" | "FVC" | "BVC" | "Plus" | undefined;
|
|
146
|
+
group?: string | undefined;
|
|
147
|
+
min?: number | undefined;
|
|
148
|
+
max?: number | undefined;
|
|
149
|
+
metrics?: {
|
|
150
|
+
metric: "provider_rating" | "patient_rating" | "unique_providers" | "unique_patients" | "provider_rating_count" | "patient_rating_count" | "account_count" | "visit_count" | "avg_call_duration";
|
|
151
|
+
min?: number | undefined;
|
|
152
|
+
max?: number | undefined;
|
|
153
|
+
}[] | undefined;
|
|
154
|
+
limit?: number | undefined;
|
|
155
|
+
}>;
|
|
3
156
|
export interface MetricFilter {
|
|
4
157
|
metric: 'account_count' | 'visit_count' | 'provider_rating' | 'patient_rating' | 'avg_call_duration' | 'unique_providers' | 'unique_patients' | 'provider_rating_count' | 'patient_rating_count';
|
|
5
158
|
min?: number;
|
|
6
159
|
max?: number;
|
|
7
160
|
}
|
|
8
|
-
export
|
|
9
|
-
entityType: 'group' | 'account';
|
|
10
|
-
metric?: 'account_count' | 'visit_count' | 'provider_rating' | 'patient_rating' | 'avg_call_duration' | 'unique_providers' | 'unique_patients' | 'provider_rating_count' | 'patient_rating_count';
|
|
11
|
-
min?: number;
|
|
12
|
-
max?: number;
|
|
13
|
-
metrics?: MetricFilter[];
|
|
14
|
-
startDate?: string;
|
|
15
|
-
endDate?: string;
|
|
16
|
-
subscription?: 'Enterprise' | 'Premium' | 'FVC' | 'BVC' | 'Plus';
|
|
17
|
-
group?: string;
|
|
18
|
-
limit?: number;
|
|
19
|
-
}
|
|
161
|
+
export type FindEntitiesByMetricArgs = z.infer<typeof FindEntitiesByMetricArgsSchema>;
|
|
20
162
|
export interface EntityMetricResult {
|
|
21
163
|
entity: string;
|
|
22
164
|
metric_value: number;
|
|
@@ -30,22 +172,170 @@ export interface EntityMetricResult {
|
|
|
30
172
|
provider_rating_count?: number;
|
|
31
173
|
patient_rating_count?: number;
|
|
32
174
|
}
|
|
33
|
-
export
|
|
34
|
-
startDate: string;
|
|
35
|
-
endDate: string;
|
|
175
|
+
export type FindEntitiesByMetricResult = StandardResponse<{
|
|
36
176
|
entityType: string;
|
|
37
177
|
metric: string;
|
|
38
178
|
min?: number;
|
|
39
179
|
max?: number;
|
|
40
180
|
metrics?: MetricFilter[];
|
|
41
|
-
period: string;
|
|
42
181
|
results: EntityMetricResult[];
|
|
43
182
|
total_found: number;
|
|
183
|
+
}>;
|
|
184
|
+
export declare class FindEntitiesByMetricTool extends BaseTool<typeof FindEntitiesByMetricArgsSchema, FindEntitiesByMetricResult> {
|
|
185
|
+
constructor(elasticsearch: any, logger: any);
|
|
186
|
+
get schema(): z.ZodEffects<z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
187
|
+
entityType: z.ZodEnum<["group", "account"]>;
|
|
188
|
+
metric: z.ZodOptional<z.ZodEnum<["account_count", "visit_count", "provider_rating", "patient_rating", "avg_call_duration", "unique_providers", "unique_patients", "provider_rating_count", "patient_rating_count"]>>;
|
|
189
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
190
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
191
|
+
metrics: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
192
|
+
metric: z.ZodEnum<["account_count", "visit_count", "provider_rating", "patient_rating", "avg_call_duration", "unique_providers", "unique_patients", "provider_rating_count", "patient_rating_count"]>;
|
|
193
|
+
min: z.ZodOptional<z.ZodNumber>;
|
|
194
|
+
max: z.ZodOptional<z.ZodNumber>;
|
|
195
|
+
}, "strip", z.ZodTypeAny, {
|
|
196
|
+
metric: "provider_rating" | "patient_rating" | "unique_providers" | "unique_patients" | "provider_rating_count" | "patient_rating_count" | "account_count" | "visit_count" | "avg_call_duration";
|
|
197
|
+
min?: number | undefined;
|
|
198
|
+
max?: number | undefined;
|
|
199
|
+
}, {
|
|
200
|
+
metric: "provider_rating" | "patient_rating" | "unique_providers" | "unique_patients" | "provider_rating_count" | "patient_rating_count" | "account_count" | "visit_count" | "avg_call_duration";
|
|
201
|
+
min?: number | undefined;
|
|
202
|
+
max?: number | undefined;
|
|
203
|
+
}>, {
|
|
204
|
+
metric: "provider_rating" | "patient_rating" | "unique_providers" | "unique_patients" | "provider_rating_count" | "patient_rating_count" | "account_count" | "visit_count" | "avg_call_duration";
|
|
205
|
+
min?: number | undefined;
|
|
206
|
+
max?: number | undefined;
|
|
207
|
+
}, {
|
|
208
|
+
metric: "provider_rating" | "patient_rating" | "unique_providers" | "unique_patients" | "provider_rating_count" | "patient_rating_count" | "account_count" | "visit_count" | "avg_call_duration";
|
|
209
|
+
min?: number | undefined;
|
|
210
|
+
max?: number | undefined;
|
|
211
|
+
}>, "many">>;
|
|
212
|
+
startDate: z.ZodOptional<z.ZodString>;
|
|
213
|
+
endDate: z.ZodOptional<z.ZodString>;
|
|
214
|
+
subscription: z.ZodOptional<z.ZodEnum<["Enterprise", "Premium", "FVC", "BVC", "Plus"]>>;
|
|
215
|
+
group: z.ZodOptional<z.ZodString>;
|
|
216
|
+
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
217
|
+
}, "strict", z.ZodTypeAny, {
|
|
218
|
+
entityType: "account" | "group";
|
|
219
|
+
limit: number;
|
|
220
|
+
metric?: "provider_rating" | "patient_rating" | "unique_providers" | "unique_patients" | "provider_rating_count" | "patient_rating_count" | "account_count" | "visit_count" | "avg_call_duration" | undefined;
|
|
221
|
+
startDate?: string | undefined;
|
|
222
|
+
endDate?: string | undefined;
|
|
223
|
+
subscription?: "Enterprise" | "Premium" | "FVC" | "BVC" | "Plus" | undefined;
|
|
224
|
+
group?: string | undefined;
|
|
225
|
+
min?: number | undefined;
|
|
226
|
+
max?: number | undefined;
|
|
227
|
+
metrics?: {
|
|
228
|
+
metric: "provider_rating" | "patient_rating" | "unique_providers" | "unique_patients" | "provider_rating_count" | "patient_rating_count" | "account_count" | "visit_count" | "avg_call_duration";
|
|
229
|
+
min?: number | undefined;
|
|
230
|
+
max?: number | undefined;
|
|
231
|
+
}[] | undefined;
|
|
232
|
+
}, {
|
|
233
|
+
entityType: "account" | "group";
|
|
234
|
+
metric?: "provider_rating" | "patient_rating" | "unique_providers" | "unique_patients" | "provider_rating_count" | "patient_rating_count" | "account_count" | "visit_count" | "avg_call_duration" | undefined;
|
|
235
|
+
startDate?: string | undefined;
|
|
236
|
+
endDate?: string | undefined;
|
|
237
|
+
subscription?: "Enterprise" | "Premium" | "FVC" | "BVC" | "Plus" | undefined;
|
|
238
|
+
group?: string | undefined;
|
|
239
|
+
min?: number | undefined;
|
|
240
|
+
max?: number | undefined;
|
|
241
|
+
metrics?: {
|
|
242
|
+
metric: "provider_rating" | "patient_rating" | "unique_providers" | "unique_patients" | "provider_rating_count" | "patient_rating_count" | "account_count" | "visit_count" | "avg_call_duration";
|
|
243
|
+
min?: number | undefined;
|
|
244
|
+
max?: number | undefined;
|
|
245
|
+
}[] | undefined;
|
|
246
|
+
limit?: number | undefined;
|
|
247
|
+
}>, {
|
|
248
|
+
entityType: "account" | "group";
|
|
249
|
+
limit: number;
|
|
250
|
+
metric?: "provider_rating" | "patient_rating" | "unique_providers" | "unique_patients" | "provider_rating_count" | "patient_rating_count" | "account_count" | "visit_count" | "avg_call_duration" | undefined;
|
|
251
|
+
startDate?: string | undefined;
|
|
252
|
+
endDate?: string | undefined;
|
|
253
|
+
subscription?: "Enterprise" | "Premium" | "FVC" | "BVC" | "Plus" | undefined;
|
|
254
|
+
group?: string | undefined;
|
|
255
|
+
min?: number | undefined;
|
|
256
|
+
max?: number | undefined;
|
|
257
|
+
metrics?: {
|
|
258
|
+
metric: "provider_rating" | "patient_rating" | "unique_providers" | "unique_patients" | "provider_rating_count" | "patient_rating_count" | "account_count" | "visit_count" | "avg_call_duration";
|
|
259
|
+
min?: number | undefined;
|
|
260
|
+
max?: number | undefined;
|
|
261
|
+
}[] | undefined;
|
|
262
|
+
}, {
|
|
263
|
+
entityType: "account" | "group";
|
|
264
|
+
metric?: "provider_rating" | "patient_rating" | "unique_providers" | "unique_patients" | "provider_rating_count" | "patient_rating_count" | "account_count" | "visit_count" | "avg_call_duration" | undefined;
|
|
265
|
+
startDate?: string | undefined;
|
|
266
|
+
endDate?: string | undefined;
|
|
267
|
+
subscription?: "Enterprise" | "Premium" | "FVC" | "BVC" | "Plus" | undefined;
|
|
268
|
+
group?: string | undefined;
|
|
269
|
+
min?: number | undefined;
|
|
270
|
+
max?: number | undefined;
|
|
271
|
+
metrics?: {
|
|
272
|
+
metric: "provider_rating" | "patient_rating" | "unique_providers" | "unique_patients" | "provider_rating_count" | "patient_rating_count" | "account_count" | "visit_count" | "avg_call_duration";
|
|
273
|
+
min?: number | undefined;
|
|
274
|
+
max?: number | undefined;
|
|
275
|
+
}[] | undefined;
|
|
276
|
+
limit?: number | undefined;
|
|
277
|
+
}>, {
|
|
278
|
+
entityType: "account" | "group";
|
|
279
|
+
limit: number;
|
|
280
|
+
metric?: "provider_rating" | "patient_rating" | "unique_providers" | "unique_patients" | "provider_rating_count" | "patient_rating_count" | "account_count" | "visit_count" | "avg_call_duration" | undefined;
|
|
281
|
+
startDate?: string | undefined;
|
|
282
|
+
endDate?: string | undefined;
|
|
283
|
+
subscription?: "Enterprise" | "Premium" | "FVC" | "BVC" | "Plus" | undefined;
|
|
284
|
+
group?: string | undefined;
|
|
285
|
+
min?: number | undefined;
|
|
286
|
+
max?: number | undefined;
|
|
287
|
+
metrics?: {
|
|
288
|
+
metric: "provider_rating" | "patient_rating" | "unique_providers" | "unique_patients" | "provider_rating_count" | "patient_rating_count" | "account_count" | "visit_count" | "avg_call_duration";
|
|
289
|
+
min?: number | undefined;
|
|
290
|
+
max?: number | undefined;
|
|
291
|
+
}[] | undefined;
|
|
292
|
+
}, {
|
|
293
|
+
entityType: "account" | "group";
|
|
294
|
+
metric?: "provider_rating" | "patient_rating" | "unique_providers" | "unique_patients" | "provider_rating_count" | "patient_rating_count" | "account_count" | "visit_count" | "avg_call_duration" | undefined;
|
|
295
|
+
startDate?: string | undefined;
|
|
296
|
+
endDate?: string | undefined;
|
|
297
|
+
subscription?: "Enterprise" | "Premium" | "FVC" | "BVC" | "Plus" | undefined;
|
|
298
|
+
group?: string | undefined;
|
|
299
|
+
min?: number | undefined;
|
|
300
|
+
max?: number | undefined;
|
|
301
|
+
metrics?: {
|
|
302
|
+
metric: "provider_rating" | "patient_rating" | "unique_providers" | "unique_patients" | "provider_rating_count" | "patient_rating_count" | "account_count" | "visit_count" | "avg_call_duration";
|
|
303
|
+
min?: number | undefined;
|
|
304
|
+
max?: number | undefined;
|
|
305
|
+
}[] | undefined;
|
|
306
|
+
limit?: number | undefined;
|
|
307
|
+
}>, {
|
|
308
|
+
entityType: "account" | "group";
|
|
309
|
+
limit: number;
|
|
310
|
+
metric?: "provider_rating" | "patient_rating" | "unique_providers" | "unique_patients" | "provider_rating_count" | "patient_rating_count" | "account_count" | "visit_count" | "avg_call_duration" | undefined;
|
|
311
|
+
startDate?: string | undefined;
|
|
312
|
+
endDate?: string | undefined;
|
|
313
|
+
subscription?: "Enterprise" | "Premium" | "FVC" | "BVC" | "Plus" | undefined;
|
|
314
|
+
group?: string | undefined;
|
|
315
|
+
min?: number | undefined;
|
|
316
|
+
max?: number | undefined;
|
|
317
|
+
metrics?: {
|
|
318
|
+
metric: "provider_rating" | "patient_rating" | "unique_providers" | "unique_patients" | "provider_rating_count" | "patient_rating_count" | "account_count" | "visit_count" | "avg_call_duration";
|
|
319
|
+
min?: number | undefined;
|
|
320
|
+
max?: number | undefined;
|
|
321
|
+
}[] | undefined;
|
|
322
|
+
}, {
|
|
323
|
+
entityType: "account" | "group";
|
|
324
|
+
metric?: "provider_rating" | "patient_rating" | "unique_providers" | "unique_patients" | "provider_rating_count" | "patient_rating_count" | "account_count" | "visit_count" | "avg_call_duration" | undefined;
|
|
325
|
+
startDate?: string | undefined;
|
|
326
|
+
endDate?: string | undefined;
|
|
327
|
+
subscription?: "Enterprise" | "Premium" | "FVC" | "BVC" | "Plus" | undefined;
|
|
328
|
+
group?: string | undefined;
|
|
329
|
+
min?: number | undefined;
|
|
330
|
+
max?: number | undefined;
|
|
331
|
+
metrics?: {
|
|
332
|
+
metric: "provider_rating" | "patient_rating" | "unique_providers" | "unique_patients" | "provider_rating_count" | "patient_rating_count" | "account_count" | "visit_count" | "avg_call_duration";
|
|
333
|
+
min?: number | undefined;
|
|
334
|
+
max?: number | undefined;
|
|
335
|
+
}[] | undefined;
|
|
336
|
+
limit?: number | undefined;
|
|
337
|
+
}>;
|
|
338
|
+
protected run(args: FindEntitiesByMetricArgs): Promise<FindEntitiesByMetricResult>;
|
|
44
339
|
}
|
|
45
|
-
export
|
|
46
|
-
private elasticsearch;
|
|
47
|
-
private logger;
|
|
48
|
-
constructor(elasticsearch: ElasticsearchManager, logger: Logger);
|
|
49
|
-
execute(args: unknown): Promise<FindEntitiesByMetricResult>;
|
|
50
|
-
}
|
|
340
|
+
export {};
|
|
51
341
|
//# sourceMappingURL=find-entities-by-metric.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-entities-by-metric.d.ts","sourceRoot":"","sources":["../../src/tools/find-entities-by-metric.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"find-entities-by-metric.d.ts","sourceRoot":"","sources":["../../src/tools/find-entities-by-metric.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAC1C,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAe9C,QAAA,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2DnC,CAAC;AAEF,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,eAAe,GAAG,aAAa,GAAG,iBAAiB,GAAG,gBAAgB,GAAG,mBAAmB,GAAG,kBAAkB,GAAG,iBAAiB,GAAG,uBAAuB,GAAG,sBAAsB,CAAC;IACjM,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,8BAA8B,CAAC,CAAC;AAEtF,MAAM,WAAW,kBAAkB;IACjC,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,oBAAoB,CAAC,EAAE,MAAM,CAAC;CAC/B;AAED,MAAM,MAAM,0BAA0B,GAAG,gBAAgB,CAAC;IACxD,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,YAAY,EAAE,CAAC;IACzB,OAAO,EAAE,kBAAkB,EAAE,CAAC;IAC9B,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC,CAAC;AAEH,qBAAa,wBAAyB,SAAQ,QAAQ,CAAC,OAAO,8BAA8B,EAAE,0BAA0B,CAAC;gBAC3G,aAAa,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG;IAI3C,IAAI,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAET;cAEe,GAAG,CAAC,IAAI,EAAE,wBAAwB,GAAG,OAAO,CAAC,0BAA0B,CAAC;CA2TzF"}
|