theragist-ts 1.0.44 → 1.0.46
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/admin/analytics_extended.d.ts +474 -0
- package/dist/admin/analytics_extended.js +6699 -0
- package/dist/admin/service.d.ts +265 -0
- package/dist/admin/service.js +1293 -0
- package/dist/call/message.d.ts +3 -0
- package/dist/call/message.js +82 -31
- package/dist/chat/message.d.ts +51 -0
- package/dist/chat/message.js +756 -2
- package/dist/chat/service.d.ts +25 -1
- package/dist/chat/service.js +111 -0
- package/dist/group/message.d.ts +21 -0
- package/dist/group/message.js +323 -4
- package/dist/index.d.ts +2 -1
- package/dist/index.js +167 -98
- package/dist/post/message.d.ts +9 -0
- package/dist/post/message.js +141 -5
- package/package.json +1 -1
|
@@ -0,0 +1,474 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
+
import { AnalyticsPeriod } from "./message";
|
|
3
|
+
export declare const protobufPackage = "pb";
|
|
4
|
+
export interface MoodTrendsRequest {
|
|
5
|
+
from: string;
|
|
6
|
+
to: string;
|
|
7
|
+
}
|
|
8
|
+
export interface MoodTrendDataPoint {
|
|
9
|
+
date: string;
|
|
10
|
+
moodName: string;
|
|
11
|
+
moodSlug: string;
|
|
12
|
+
moodEmoji: string;
|
|
13
|
+
count: number;
|
|
14
|
+
}
|
|
15
|
+
export interface MoodTrendsResponse {
|
|
16
|
+
period: AnalyticsPeriod | undefined;
|
|
17
|
+
dataPoints: MoodTrendDataPoint[];
|
|
18
|
+
generatedAt: string;
|
|
19
|
+
}
|
|
20
|
+
export interface MoodDistributionByRoleRequest {
|
|
21
|
+
from: string;
|
|
22
|
+
to: string;
|
|
23
|
+
}
|
|
24
|
+
export interface MoodDistributionByRoleEntry {
|
|
25
|
+
role: string;
|
|
26
|
+
moodName: string;
|
|
27
|
+
moodSlug: string;
|
|
28
|
+
moodEmoji: string;
|
|
29
|
+
count: number;
|
|
30
|
+
uniqueUsers: number;
|
|
31
|
+
}
|
|
32
|
+
export interface MoodDistributionByRoleResponse {
|
|
33
|
+
period: AnalyticsPeriod | undefined;
|
|
34
|
+
entries: MoodDistributionByRoleEntry[];
|
|
35
|
+
generatedAt: string;
|
|
36
|
+
}
|
|
37
|
+
export interface MoodSummaryRequest {
|
|
38
|
+
from: string;
|
|
39
|
+
to: string;
|
|
40
|
+
}
|
|
41
|
+
export interface MoodSummaryResponse {
|
|
42
|
+
period: AnalyticsPeriod | undefined;
|
|
43
|
+
totalUsersTracking: number;
|
|
44
|
+
totalEntries: number;
|
|
45
|
+
daysWithEntries: number;
|
|
46
|
+
avgEntriesPerUser: number;
|
|
47
|
+
mostCommonMood: string;
|
|
48
|
+
generatedAt: string;
|
|
49
|
+
}
|
|
50
|
+
export interface MoodUserEngagementRequest {
|
|
51
|
+
from: string;
|
|
52
|
+
to: string;
|
|
53
|
+
limit: number;
|
|
54
|
+
}
|
|
55
|
+
export interface MoodUserEngagementEntry {
|
|
56
|
+
userId: string;
|
|
57
|
+
username: string;
|
|
58
|
+
fullName: string;
|
|
59
|
+
role: string;
|
|
60
|
+
totalEntries: number;
|
|
61
|
+
firstEntry: string;
|
|
62
|
+
latestEntry: string;
|
|
63
|
+
daysTracked: number;
|
|
64
|
+
mostFrequentMood: string;
|
|
65
|
+
}
|
|
66
|
+
export interface MoodUserEngagementResponse {
|
|
67
|
+
period: AnalyticsPeriod | undefined;
|
|
68
|
+
users: MoodUserEngagementEntry[];
|
|
69
|
+
generatedAt: string;
|
|
70
|
+
}
|
|
71
|
+
export interface K10AnalyticsOverviewRequest {
|
|
72
|
+
from: string;
|
|
73
|
+
to: string;
|
|
74
|
+
}
|
|
75
|
+
export interface K10AnalyticsOverviewResponse {
|
|
76
|
+
period: AnalyticsPeriod | undefined;
|
|
77
|
+
totalUsersAssessed: number;
|
|
78
|
+
totalAssessments: number;
|
|
79
|
+
avgScore: number;
|
|
80
|
+
minScore: number;
|
|
81
|
+
maxScore: number;
|
|
82
|
+
lowSeverityCount: number;
|
|
83
|
+
moderateSeverityCount: number;
|
|
84
|
+
highSeverityCount: number;
|
|
85
|
+
veryHighSeverityCount: number;
|
|
86
|
+
improvingCount: number;
|
|
87
|
+
worseningCount: number;
|
|
88
|
+
stableCount: number;
|
|
89
|
+
generatedAt: string;
|
|
90
|
+
}
|
|
91
|
+
export interface K10TimeSeriesRequest {
|
|
92
|
+
from: string;
|
|
93
|
+
to: string;
|
|
94
|
+
}
|
|
95
|
+
export interface K10TimeSeriesDataPoint {
|
|
96
|
+
date: string;
|
|
97
|
+
assessmentsTaken: number;
|
|
98
|
+
avgScore: number;
|
|
99
|
+
uniqueUsers: number;
|
|
100
|
+
lowSeverity: number;
|
|
101
|
+
moderateSeverity: number;
|
|
102
|
+
highSeverity: number;
|
|
103
|
+
veryHighSeverity: number;
|
|
104
|
+
}
|
|
105
|
+
export interface K10TimeSeriesResponse {
|
|
106
|
+
period: AnalyticsPeriod | undefined;
|
|
107
|
+
dataPoints: K10TimeSeriesDataPoint[];
|
|
108
|
+
generatedAt: string;
|
|
109
|
+
}
|
|
110
|
+
export interface K10ByRoleRequest {
|
|
111
|
+
from: string;
|
|
112
|
+
to: string;
|
|
113
|
+
}
|
|
114
|
+
export interface K10ByRoleEntry {
|
|
115
|
+
role: string;
|
|
116
|
+
totalAssessments: number;
|
|
117
|
+
uniqueUsers: number;
|
|
118
|
+
avgScore: number;
|
|
119
|
+
lowSeverity: number;
|
|
120
|
+
moderateSeverity: number;
|
|
121
|
+
highSeverity: number;
|
|
122
|
+
veryHighSeverity: number;
|
|
123
|
+
}
|
|
124
|
+
export interface K10ByRoleResponse {
|
|
125
|
+
period: AnalyticsPeriod | undefined;
|
|
126
|
+
entries: K10ByRoleEntry[];
|
|
127
|
+
generatedAt: string;
|
|
128
|
+
}
|
|
129
|
+
export interface K10UserProgressRequest {
|
|
130
|
+
from: string;
|
|
131
|
+
to: string;
|
|
132
|
+
limit: number;
|
|
133
|
+
}
|
|
134
|
+
export interface K10UserProgressEntry {
|
|
135
|
+
userId: string;
|
|
136
|
+
username: string;
|
|
137
|
+
fullName: string;
|
|
138
|
+
role: string;
|
|
139
|
+
totalAssessments: number;
|
|
140
|
+
bestScore: number;
|
|
141
|
+
worstScore: number;
|
|
142
|
+
avgScore: number;
|
|
143
|
+
latestScore: number;
|
|
144
|
+
latestSeverity: string;
|
|
145
|
+
latestTrend: string;
|
|
146
|
+
}
|
|
147
|
+
export interface K10UserProgressResponse {
|
|
148
|
+
period: AnalyticsPeriod | undefined;
|
|
149
|
+
users: K10UserProgressEntry[];
|
|
150
|
+
generatedAt: string;
|
|
151
|
+
}
|
|
152
|
+
export interface K10RiskDistributionRequest {
|
|
153
|
+
from: string;
|
|
154
|
+
to: string;
|
|
155
|
+
}
|
|
156
|
+
export interface K10RiskDistributionEntry {
|
|
157
|
+
severity: string;
|
|
158
|
+
userCount: number;
|
|
159
|
+
assessmentCount: number;
|
|
160
|
+
avgScore: number;
|
|
161
|
+
}
|
|
162
|
+
export interface K10RiskDistributionResponse {
|
|
163
|
+
period: AnalyticsPeriod | undefined;
|
|
164
|
+
distribution: K10RiskDistributionEntry[];
|
|
165
|
+
generatedAt: string;
|
|
166
|
+
}
|
|
167
|
+
export interface CallAnalyticsOverviewRequest {
|
|
168
|
+
from: string;
|
|
169
|
+
to: string;
|
|
170
|
+
}
|
|
171
|
+
export interface CallAnalyticsOverviewResponse {
|
|
172
|
+
period: AnalyticsPeriod | undefined;
|
|
173
|
+
totalCalls: number;
|
|
174
|
+
completedCalls: number;
|
|
175
|
+
videoCalls: number;
|
|
176
|
+
audioCalls: number;
|
|
177
|
+
screenShareCalls: number;
|
|
178
|
+
uniqueParticipants: number;
|
|
179
|
+
totalDurationSeconds: number;
|
|
180
|
+
avgDurationSeconds: number;
|
|
181
|
+
maxDurationSeconds: number;
|
|
182
|
+
recordedCalls: number;
|
|
183
|
+
avgParticipantsPerCall: number;
|
|
184
|
+
generatedAt: string;
|
|
185
|
+
}
|
|
186
|
+
export interface CallTimeSeriesRequest {
|
|
187
|
+
from: string;
|
|
188
|
+
to: string;
|
|
189
|
+
}
|
|
190
|
+
export interface CallTimeSeriesDataPoint {
|
|
191
|
+
date: string;
|
|
192
|
+
totalCalls: number;
|
|
193
|
+
completedCalls: number;
|
|
194
|
+
videoCalls: number;
|
|
195
|
+
audioCalls: number;
|
|
196
|
+
totalDurationSeconds: number;
|
|
197
|
+
avgDurationSeconds: number;
|
|
198
|
+
uniqueParticipants: number;
|
|
199
|
+
}
|
|
200
|
+
export interface CallTimeSeriesResponse {
|
|
201
|
+
period: AnalyticsPeriod | undefined;
|
|
202
|
+
dataPoints: CallTimeSeriesDataPoint[];
|
|
203
|
+
generatedAt: string;
|
|
204
|
+
}
|
|
205
|
+
export interface CallByTypeRequest {
|
|
206
|
+
from: string;
|
|
207
|
+
to: string;
|
|
208
|
+
}
|
|
209
|
+
export interface CallByTypeEntry {
|
|
210
|
+
callType: string;
|
|
211
|
+
roomType: string;
|
|
212
|
+
callCount: number;
|
|
213
|
+
totalDurationSeconds: number;
|
|
214
|
+
avgDurationSeconds: number;
|
|
215
|
+
uniqueParticipants: number;
|
|
216
|
+
}
|
|
217
|
+
export interface CallByTypeResponse {
|
|
218
|
+
period: AnalyticsPeriod | undefined;
|
|
219
|
+
entries: CallByTypeEntry[];
|
|
220
|
+
generatedAt: string;
|
|
221
|
+
}
|
|
222
|
+
export interface CallParticipationRequest {
|
|
223
|
+
from: string;
|
|
224
|
+
to: string;
|
|
225
|
+
limit: number;
|
|
226
|
+
}
|
|
227
|
+
export interface CallParticipationEntry {
|
|
228
|
+
userId: string;
|
|
229
|
+
username: string;
|
|
230
|
+
fullName: string;
|
|
231
|
+
role: string;
|
|
232
|
+
callsParticipated: number;
|
|
233
|
+
totalDurationSeconds: number;
|
|
234
|
+
avgDurationSeconds: number;
|
|
235
|
+
excellentQualityCount: number;
|
|
236
|
+
goodQualityCount: number;
|
|
237
|
+
poorQualityCount: number;
|
|
238
|
+
}
|
|
239
|
+
export interface CallParticipationResponse {
|
|
240
|
+
period: AnalyticsPeriod | undefined;
|
|
241
|
+
participants: CallParticipationEntry[];
|
|
242
|
+
generatedAt: string;
|
|
243
|
+
}
|
|
244
|
+
export interface CallQualityMetricsRequest {
|
|
245
|
+
from: string;
|
|
246
|
+
to: string;
|
|
247
|
+
}
|
|
248
|
+
export interface CallQualityMetricsResponse {
|
|
249
|
+
period: AnalyticsPeriod | undefined;
|
|
250
|
+
totalParticipants: number;
|
|
251
|
+
excellentQuality: number;
|
|
252
|
+
goodQuality: number;
|
|
253
|
+
fairQuality: number;
|
|
254
|
+
poorQuality: number;
|
|
255
|
+
qualitySuccessRate: number;
|
|
256
|
+
generatedAt: string;
|
|
257
|
+
}
|
|
258
|
+
export interface UserRetentionRequest {
|
|
259
|
+
from: string;
|
|
260
|
+
}
|
|
261
|
+
export interface UserRetentionCohort {
|
|
262
|
+
cohortWeek: string;
|
|
263
|
+
cohortSize: number;
|
|
264
|
+
week0: number;
|
|
265
|
+
week1: number;
|
|
266
|
+
week2: number;
|
|
267
|
+
week3: number;
|
|
268
|
+
week4: number;
|
|
269
|
+
}
|
|
270
|
+
export interface UserRetentionResponse {
|
|
271
|
+
cohorts: UserRetentionCohort[];
|
|
272
|
+
generatedAt: string;
|
|
273
|
+
}
|
|
274
|
+
export interface UserEngagementScoreRequest {
|
|
275
|
+
from: string;
|
|
276
|
+
to: string;
|
|
277
|
+
limit: number;
|
|
278
|
+
}
|
|
279
|
+
export interface UserEngagementScoreEntry {
|
|
280
|
+
userId: string;
|
|
281
|
+
username: string;
|
|
282
|
+
fullName: string;
|
|
283
|
+
role: string;
|
|
284
|
+
joinedAt: string;
|
|
285
|
+
engagementScore: number;
|
|
286
|
+
postsCount: number;
|
|
287
|
+
commentsCount: number;
|
|
288
|
+
messagesCount: number;
|
|
289
|
+
moodEntriesCount: number;
|
|
290
|
+
sessionsCount: number;
|
|
291
|
+
}
|
|
292
|
+
export interface UserEngagementScoreResponse {
|
|
293
|
+
period: AnalyticsPeriod | undefined;
|
|
294
|
+
users: UserEngagementScoreEntry[];
|
|
295
|
+
generatedAt: string;
|
|
296
|
+
}
|
|
297
|
+
export interface UserActivityHeatmapRequest {
|
|
298
|
+
from: string;
|
|
299
|
+
to: string;
|
|
300
|
+
}
|
|
301
|
+
export interface UserActivityHeatmapEntry {
|
|
302
|
+
dayOfWeek: number;
|
|
303
|
+
hourOfDay: number;
|
|
304
|
+
activityCount: number;
|
|
305
|
+
}
|
|
306
|
+
export interface UserActivityHeatmapResponse {
|
|
307
|
+
period: AnalyticsPeriod | undefined;
|
|
308
|
+
heatmap: UserActivityHeatmapEntry[];
|
|
309
|
+
generatedAt: string;
|
|
310
|
+
}
|
|
311
|
+
export interface MentalHealthOutcomesRequest {
|
|
312
|
+
from: string;
|
|
313
|
+
to: string;
|
|
314
|
+
}
|
|
315
|
+
export interface MentalHealthOutcomesResponse {
|
|
316
|
+
period: AnalyticsPeriod | undefined;
|
|
317
|
+
totalUsers: number;
|
|
318
|
+
usersTrackingMood: number;
|
|
319
|
+
usersWithK10: number;
|
|
320
|
+
usersInTherapy: number;
|
|
321
|
+
avgMoodEntriesPerUser: number;
|
|
322
|
+
avgK10Score: number;
|
|
323
|
+
usersImproving: number;
|
|
324
|
+
avgSessionsPerUser: number;
|
|
325
|
+
avgSessionRating: number;
|
|
326
|
+
generatedAt: string;
|
|
327
|
+
}
|
|
328
|
+
export interface TherapyEffectivenessRequest {
|
|
329
|
+
from: string;
|
|
330
|
+
to: string;
|
|
331
|
+
limit: number;
|
|
332
|
+
}
|
|
333
|
+
export interface TherapyEffectivenessEntry {
|
|
334
|
+
userId: string;
|
|
335
|
+
username: string;
|
|
336
|
+
sessionsCompleted: number;
|
|
337
|
+
avgSessionRating: number;
|
|
338
|
+
firstK10Score: number;
|
|
339
|
+
latestK10Score: number;
|
|
340
|
+
k10Improvement: number;
|
|
341
|
+
moodEntriesCount: number;
|
|
342
|
+
}
|
|
343
|
+
export interface TherapyEffectivenessResponse {
|
|
344
|
+
period: AnalyticsPeriod | undefined;
|
|
345
|
+
users: TherapyEffectivenessEntry[];
|
|
346
|
+
generatedAt: string;
|
|
347
|
+
}
|
|
348
|
+
export interface JournalAnalyticsOverviewRequest {
|
|
349
|
+
from: string;
|
|
350
|
+
to: string;
|
|
351
|
+
}
|
|
352
|
+
export interface JournalAnalyticsOverviewResponse {
|
|
353
|
+
period: AnalyticsPeriod | undefined;
|
|
354
|
+
totalUsersJournaling: number;
|
|
355
|
+
totalJournals: number;
|
|
356
|
+
avgJournalLength: number;
|
|
357
|
+
daysWithJournals: number;
|
|
358
|
+
avgJournalsPerUser: number;
|
|
359
|
+
generatedAt: string;
|
|
360
|
+
}
|
|
361
|
+
export interface JournalTimeSeriesRequest {
|
|
362
|
+
from: string;
|
|
363
|
+
to: string;
|
|
364
|
+
}
|
|
365
|
+
export interface JournalTimeSeriesDataPoint {
|
|
366
|
+
date: string;
|
|
367
|
+
journalCount: number;
|
|
368
|
+
uniqueUsers: number;
|
|
369
|
+
avgLength: number;
|
|
370
|
+
}
|
|
371
|
+
export interface JournalTimeSeriesResponse {
|
|
372
|
+
period: AnalyticsPeriod | undefined;
|
|
373
|
+
dataPoints: JournalTimeSeriesDataPoint[];
|
|
374
|
+
generatedAt: string;
|
|
375
|
+
}
|
|
376
|
+
export interface TopJournalersRequest {
|
|
377
|
+
from: string;
|
|
378
|
+
to: string;
|
|
379
|
+
limit: number;
|
|
380
|
+
}
|
|
381
|
+
export interface TopJournalersEntry {
|
|
382
|
+
userId: string;
|
|
383
|
+
username: string;
|
|
384
|
+
fullName: string;
|
|
385
|
+
role: string;
|
|
386
|
+
journalCount: number;
|
|
387
|
+
avgLength: number;
|
|
388
|
+
firstJournal: string;
|
|
389
|
+
latestJournal: string;
|
|
390
|
+
}
|
|
391
|
+
export interface TopJournalersResponse {
|
|
392
|
+
period: AnalyticsPeriod | undefined;
|
|
393
|
+
journalers: TopJournalersEntry[];
|
|
394
|
+
generatedAt: string;
|
|
395
|
+
}
|
|
396
|
+
export declare const MoodTrendsRequest: MessageFns<MoodTrendsRequest>;
|
|
397
|
+
export declare const MoodTrendDataPoint: MessageFns<MoodTrendDataPoint>;
|
|
398
|
+
export declare const MoodTrendsResponse: MessageFns<MoodTrendsResponse>;
|
|
399
|
+
export declare const MoodDistributionByRoleRequest: MessageFns<MoodDistributionByRoleRequest>;
|
|
400
|
+
export declare const MoodDistributionByRoleEntry: MessageFns<MoodDistributionByRoleEntry>;
|
|
401
|
+
export declare const MoodDistributionByRoleResponse: MessageFns<MoodDistributionByRoleResponse>;
|
|
402
|
+
export declare const MoodSummaryRequest: MessageFns<MoodSummaryRequest>;
|
|
403
|
+
export declare const MoodSummaryResponse: MessageFns<MoodSummaryResponse>;
|
|
404
|
+
export declare const MoodUserEngagementRequest: MessageFns<MoodUserEngagementRequest>;
|
|
405
|
+
export declare const MoodUserEngagementEntry: MessageFns<MoodUserEngagementEntry>;
|
|
406
|
+
export declare const MoodUserEngagementResponse: MessageFns<MoodUserEngagementResponse>;
|
|
407
|
+
export declare const K10AnalyticsOverviewRequest: MessageFns<K10AnalyticsOverviewRequest>;
|
|
408
|
+
export declare const K10AnalyticsOverviewResponse: MessageFns<K10AnalyticsOverviewResponse>;
|
|
409
|
+
export declare const K10TimeSeriesRequest: MessageFns<K10TimeSeriesRequest>;
|
|
410
|
+
export declare const K10TimeSeriesDataPoint: MessageFns<K10TimeSeriesDataPoint>;
|
|
411
|
+
export declare const K10TimeSeriesResponse: MessageFns<K10TimeSeriesResponse>;
|
|
412
|
+
export declare const K10ByRoleRequest: MessageFns<K10ByRoleRequest>;
|
|
413
|
+
export declare const K10ByRoleEntry: MessageFns<K10ByRoleEntry>;
|
|
414
|
+
export declare const K10ByRoleResponse: MessageFns<K10ByRoleResponse>;
|
|
415
|
+
export declare const K10UserProgressRequest: MessageFns<K10UserProgressRequest>;
|
|
416
|
+
export declare const K10UserProgressEntry: MessageFns<K10UserProgressEntry>;
|
|
417
|
+
export declare const K10UserProgressResponse: MessageFns<K10UserProgressResponse>;
|
|
418
|
+
export declare const K10RiskDistributionRequest: MessageFns<K10RiskDistributionRequest>;
|
|
419
|
+
export declare const K10RiskDistributionEntry: MessageFns<K10RiskDistributionEntry>;
|
|
420
|
+
export declare const K10RiskDistributionResponse: MessageFns<K10RiskDistributionResponse>;
|
|
421
|
+
export declare const CallAnalyticsOverviewRequest: MessageFns<CallAnalyticsOverviewRequest>;
|
|
422
|
+
export declare const CallAnalyticsOverviewResponse: MessageFns<CallAnalyticsOverviewResponse>;
|
|
423
|
+
export declare const CallTimeSeriesRequest: MessageFns<CallTimeSeriesRequest>;
|
|
424
|
+
export declare const CallTimeSeriesDataPoint: MessageFns<CallTimeSeriesDataPoint>;
|
|
425
|
+
export declare const CallTimeSeriesResponse: MessageFns<CallTimeSeriesResponse>;
|
|
426
|
+
export declare const CallByTypeRequest: MessageFns<CallByTypeRequest>;
|
|
427
|
+
export declare const CallByTypeEntry: MessageFns<CallByTypeEntry>;
|
|
428
|
+
export declare const CallByTypeResponse: MessageFns<CallByTypeResponse>;
|
|
429
|
+
export declare const CallParticipationRequest: MessageFns<CallParticipationRequest>;
|
|
430
|
+
export declare const CallParticipationEntry: MessageFns<CallParticipationEntry>;
|
|
431
|
+
export declare const CallParticipationResponse: MessageFns<CallParticipationResponse>;
|
|
432
|
+
export declare const CallQualityMetricsRequest: MessageFns<CallQualityMetricsRequest>;
|
|
433
|
+
export declare const CallQualityMetricsResponse: MessageFns<CallQualityMetricsResponse>;
|
|
434
|
+
export declare const UserRetentionRequest: MessageFns<UserRetentionRequest>;
|
|
435
|
+
export declare const UserRetentionCohort: MessageFns<UserRetentionCohort>;
|
|
436
|
+
export declare const UserRetentionResponse: MessageFns<UserRetentionResponse>;
|
|
437
|
+
export declare const UserEngagementScoreRequest: MessageFns<UserEngagementScoreRequest>;
|
|
438
|
+
export declare const UserEngagementScoreEntry: MessageFns<UserEngagementScoreEntry>;
|
|
439
|
+
export declare const UserEngagementScoreResponse: MessageFns<UserEngagementScoreResponse>;
|
|
440
|
+
export declare const UserActivityHeatmapRequest: MessageFns<UserActivityHeatmapRequest>;
|
|
441
|
+
export declare const UserActivityHeatmapEntry: MessageFns<UserActivityHeatmapEntry>;
|
|
442
|
+
export declare const UserActivityHeatmapResponse: MessageFns<UserActivityHeatmapResponse>;
|
|
443
|
+
export declare const MentalHealthOutcomesRequest: MessageFns<MentalHealthOutcomesRequest>;
|
|
444
|
+
export declare const MentalHealthOutcomesResponse: MessageFns<MentalHealthOutcomesResponse>;
|
|
445
|
+
export declare const TherapyEffectivenessRequest: MessageFns<TherapyEffectivenessRequest>;
|
|
446
|
+
export declare const TherapyEffectivenessEntry: MessageFns<TherapyEffectivenessEntry>;
|
|
447
|
+
export declare const TherapyEffectivenessResponse: MessageFns<TherapyEffectivenessResponse>;
|
|
448
|
+
export declare const JournalAnalyticsOverviewRequest: MessageFns<JournalAnalyticsOverviewRequest>;
|
|
449
|
+
export declare const JournalAnalyticsOverviewResponse: MessageFns<JournalAnalyticsOverviewResponse>;
|
|
450
|
+
export declare const JournalTimeSeriesRequest: MessageFns<JournalTimeSeriesRequest>;
|
|
451
|
+
export declare const JournalTimeSeriesDataPoint: MessageFns<JournalTimeSeriesDataPoint>;
|
|
452
|
+
export declare const JournalTimeSeriesResponse: MessageFns<JournalTimeSeriesResponse>;
|
|
453
|
+
export declare const TopJournalersRequest: MessageFns<TopJournalersRequest>;
|
|
454
|
+
export declare const TopJournalersEntry: MessageFns<TopJournalersEntry>;
|
|
455
|
+
export declare const TopJournalersResponse: MessageFns<TopJournalersResponse>;
|
|
456
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
457
|
+
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
458
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
459
|
+
} : Partial<T>;
|
|
460
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
461
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
462
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
463
|
+
} & {
|
|
464
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
465
|
+
};
|
|
466
|
+
export interface MessageFns<T> {
|
|
467
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
468
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
469
|
+
fromJSON(object: any): T;
|
|
470
|
+
toJSON(message: T): unknown;
|
|
471
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
472
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
473
|
+
}
|
|
474
|
+
export {};
|