@burdenoff/sdk-libs 2026.626.1 → 2026.627.2
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/modules/assethandler/index.cjs +286 -0
- package/dist/modules/assethandler/index.d.cts +548 -0
- package/dist/modules/assethandler/index.d.ts +548 -0
- package/dist/modules/assethandler/index.js +286 -0
- package/dist/modules/crewfoundry/index.cjs +183 -0
- package/dist/modules/crewfoundry/index.d.cts +453 -0
- package/dist/modules/crewfoundry/index.d.ts +453 -0
- package/dist/modules/crewfoundry/index.js +183 -0
- package/dist/modules/eventfullymanaged/index.cjs +666 -0
- package/dist/modules/eventfullymanaged/index.d.cts +650 -0
- package/dist/modules/eventfullymanaged/index.d.ts +650 -0
- package/dist/modules/eventfullymanaged/index.js +666 -0
- package/dist/modules/ggnomad/index.cjs +164 -0
- package/dist/modules/ggnomad/index.d.cts +282 -0
- package/dist/modules/ggnomad/index.d.ts +282 -0
- package/dist/modules/ggnomad/index.js +164 -0
- package/dist/modules/headshotmarketing/index.cjs +1205 -0
- package/dist/modules/headshotmarketing/index.d.cts +1922 -0
- package/dist/modules/headshotmarketing/index.d.ts +1922 -0
- package/dist/modules/headshotmarketing/index.js +1205 -0
- package/dist/modules/housingvista/index.cjs +174 -0
- package/dist/modules/housingvista/index.d.cts +287 -0
- package/dist/modules/housingvista/index.d.ts +287 -0
- package/dist/modules/housingvista/index.js +174 -0
- package/dist/modules/movethewheels/index.cjs +591 -0
- package/dist/modules/movethewheels/index.d.cts +1052 -0
- package/dist/modules/movethewheels/index.d.ts +1052 -0
- package/dist/modules/movethewheels/index.js +591 -0
- package/dist/modules/planmagnet/index.cjs +898 -0
- package/dist/modules/planmagnet/index.d.cts +1656 -0
- package/dist/modules/planmagnet/index.d.ts +1656 -0
- package/dist/modules/planmagnet/index.js +898 -0
- package/dist/modules/proserviceworld/index.cjs +233 -0
- package/dist/modules/proserviceworld/index.d.cts +400 -0
- package/dist/modules/proserviceworld/index.d.ts +400 -0
- package/dist/modules/proserviceworld/index.js +233 -0
- package/dist/modules/timecampus/index.cjs +519 -0
- package/dist/modules/timecampus/index.d.cts +992 -0
- package/dist/modules/timecampus/index.d.ts +992 -0
- package/dist/modules/timecampus/index.js +519 -0
- package/package.json +1 -1
|
@@ -0,0 +1,992 @@
|
|
|
1
|
+
import { J as Json, S as SdkModule } from '../../module-JDbvil5h.js';
|
|
2
|
+
import 'graphql-request';
|
|
3
|
+
|
|
4
|
+
type TimecampusApprovalStatus = 'APPROVED' | 'PENDING' | 'REJECTED' | 'REVISION_REQUESTED';
|
|
5
|
+
type TimecampusExpenseStatus = 'APPROVED' | 'PENDING' | 'REIMBURSED' | 'REJECTED';
|
|
6
|
+
type TimecampusMeetingType = 'EXTERNAL' | 'ONE_ON_ONE' | 'PLANNING' | 'RETROSPECTIVE' | 'REVIEW' | 'STANDUP' | 'TEAM';
|
|
7
|
+
type TimecampusMeetingParticipantRole = 'OPTIONAL' | 'ORGANIZER' | 'REQUIRED';
|
|
8
|
+
type TimecampusMeetingParticipantStatus = 'ACCEPTED' | 'DECLINED' | 'PENDING' | 'TENTATIVE';
|
|
9
|
+
type TimecampusMeetingActionItemStatus = 'CANCELLED' | 'COMPLETED' | 'IN_PROGRESS' | 'PENDING';
|
|
10
|
+
type TimecampusPomodoroSessionType = 'FOCUS' | 'LONG_BREAK' | 'SHORT_BREAK';
|
|
11
|
+
type TimecampusPomodoroGoalType = 'DAILY' | 'MONTHLY' | 'WEEKLY';
|
|
12
|
+
type TimecampusGeofenceTrigger = 'BOTH' | 'ENTER' | 'EXIT';
|
|
13
|
+
type TimecampusGeofenceEventType = 'ENTER' | 'EXIT';
|
|
14
|
+
type TimecampusChannelStatus = 'ACTIVE' | 'INACTIVE' | 'SETUP';
|
|
15
|
+
type TimecampusChannelType = 'API' | 'BROWSER' | 'CALENDAR' | 'CLI' | 'CUSTOM' | 'DESKTOP' | 'IDE' | 'MOBILE';
|
|
16
|
+
type TimecampusConfigScope = 'GLOBAL' | 'PROJECT' | 'USER' | 'WORKSPACE';
|
|
17
|
+
type TimecampusWorkPatternInsightType = 'NEGATIVE' | 'NEUTRAL' | 'POSITIVE' | 'RECOMMENDATION' | 'WARNING';
|
|
18
|
+
interface TimecampusTimeEntry {
|
|
19
|
+
id: string;
|
|
20
|
+
billable: boolean;
|
|
21
|
+
description?: string | null;
|
|
22
|
+
duration?: number | null;
|
|
23
|
+
startTime: string;
|
|
24
|
+
endTime?: string | null;
|
|
25
|
+
hourlyRate?: number | null;
|
|
26
|
+
isRunning: boolean;
|
|
27
|
+
notes?: string | null;
|
|
28
|
+
projectId?: string | null;
|
|
29
|
+
taskId?: string | null;
|
|
30
|
+
source: string;
|
|
31
|
+
context?: Json | null;
|
|
32
|
+
createdBy: string;
|
|
33
|
+
updatedBy?: string | null;
|
|
34
|
+
onBehalfOf?: string | null;
|
|
35
|
+
workspaceId: string;
|
|
36
|
+
createdAt: string;
|
|
37
|
+
updatedAt: string;
|
|
38
|
+
}
|
|
39
|
+
interface TimecampusTimeEntryListResponse {
|
|
40
|
+
items: TimecampusTimeEntry[];
|
|
41
|
+
total: number;
|
|
42
|
+
hasMore: boolean;
|
|
43
|
+
}
|
|
44
|
+
interface TimecampusRunningTimer {
|
|
45
|
+
elapsedSeconds: number;
|
|
46
|
+
timeEntry: TimecampusTimeEntry;
|
|
47
|
+
}
|
|
48
|
+
interface TimecampusTimeEntryStats {
|
|
49
|
+
activeTimers: number;
|
|
50
|
+
billableHours: number;
|
|
51
|
+
totalEntries: number;
|
|
52
|
+
totalHours: number;
|
|
53
|
+
}
|
|
54
|
+
interface TimecampusProject {
|
|
55
|
+
id: string;
|
|
56
|
+
name: string;
|
|
57
|
+
description?: string | null;
|
|
58
|
+
status: string;
|
|
59
|
+
color?: string | null;
|
|
60
|
+
clientId?: string | null;
|
|
61
|
+
budget?: number | null;
|
|
62
|
+
currency: string;
|
|
63
|
+
hourlyRate?: number | null;
|
|
64
|
+
estimatedHours?: number | null;
|
|
65
|
+
trackedHours: number;
|
|
66
|
+
context?: Json | null;
|
|
67
|
+
createdBy: string;
|
|
68
|
+
updatedBy?: string | null;
|
|
69
|
+
onBehalfOf?: string | null;
|
|
70
|
+
workspaceId: string;
|
|
71
|
+
createdAt: string;
|
|
72
|
+
updatedAt: string;
|
|
73
|
+
}
|
|
74
|
+
interface TimecampusProjectListResponse {
|
|
75
|
+
items: TimecampusProject[];
|
|
76
|
+
total: number;
|
|
77
|
+
hasMore: boolean;
|
|
78
|
+
}
|
|
79
|
+
interface TimecampusProjectStats {
|
|
80
|
+
budgetRemaining?: number | null;
|
|
81
|
+
budgetUsed?: number | null;
|
|
82
|
+
completedTasks: number;
|
|
83
|
+
totalHours: number;
|
|
84
|
+
totalTasks: number;
|
|
85
|
+
}
|
|
86
|
+
interface TimecampusTask {
|
|
87
|
+
id: string;
|
|
88
|
+
title: string;
|
|
89
|
+
description?: string | null;
|
|
90
|
+
status: string;
|
|
91
|
+
priority: string;
|
|
92
|
+
order: number;
|
|
93
|
+
projectId: string;
|
|
94
|
+
assigneeId?: string | null;
|
|
95
|
+
dueDate?: string | null;
|
|
96
|
+
completedAt?: string | null;
|
|
97
|
+
estimatedHours?: number | null;
|
|
98
|
+
trackedHours: number;
|
|
99
|
+
context?: Json | null;
|
|
100
|
+
createdBy: string;
|
|
101
|
+
updatedBy?: string | null;
|
|
102
|
+
onBehalfOf?: string | null;
|
|
103
|
+
workspaceId: string;
|
|
104
|
+
createdAt: string;
|
|
105
|
+
updatedAt: string;
|
|
106
|
+
}
|
|
107
|
+
interface TimecampusTaskListResponse {
|
|
108
|
+
items: TimecampusTask[];
|
|
109
|
+
total: number;
|
|
110
|
+
hasMore: boolean;
|
|
111
|
+
}
|
|
112
|
+
interface TimecampusApprovalRequest {
|
|
113
|
+
id: string;
|
|
114
|
+
userId: string;
|
|
115
|
+
approverId?: string | null;
|
|
116
|
+
period: string;
|
|
117
|
+
startDate: string;
|
|
118
|
+
endDate: string;
|
|
119
|
+
totalHours: number;
|
|
120
|
+
billableHours: number;
|
|
121
|
+
status: TimecampusApprovalStatus;
|
|
122
|
+
submittedAt: string;
|
|
123
|
+
reviewedAt?: string | null;
|
|
124
|
+
reviewer?: string | null;
|
|
125
|
+
reviewerNotes?: string | null;
|
|
126
|
+
context?: Json | null;
|
|
127
|
+
createdBy: string;
|
|
128
|
+
updatedBy?: string | null;
|
|
129
|
+
onBehalfOf?: string | null;
|
|
130
|
+
workspaceId: string;
|
|
131
|
+
createdAt: string;
|
|
132
|
+
updatedAt: string;
|
|
133
|
+
}
|
|
134
|
+
interface TimecampusApprovalRequestListResponse {
|
|
135
|
+
items: TimecampusApprovalRequest[];
|
|
136
|
+
total: number;
|
|
137
|
+
hasMore: boolean;
|
|
138
|
+
}
|
|
139
|
+
interface TimecampusApprovalStats {
|
|
140
|
+
approvedCount: number;
|
|
141
|
+
averageReviewTime?: number | null;
|
|
142
|
+
pendingCount: number;
|
|
143
|
+
rejectedCount: number;
|
|
144
|
+
totalRequests: number;
|
|
145
|
+
}
|
|
146
|
+
interface TimecampusExpenseEntry {
|
|
147
|
+
id: string;
|
|
148
|
+
amount: number;
|
|
149
|
+
currency: string;
|
|
150
|
+
category: string;
|
|
151
|
+
date: string;
|
|
152
|
+
description?: string | null;
|
|
153
|
+
notes?: string | null;
|
|
154
|
+
projectId?: string | null;
|
|
155
|
+
receiptUrl?: string | null;
|
|
156
|
+
status: TimecampusExpenseStatus;
|
|
157
|
+
approvedAt?: string | null;
|
|
158
|
+
approvedBy?: string | null;
|
|
159
|
+
context?: Json | null;
|
|
160
|
+
userId: string;
|
|
161
|
+
workspaceId: string;
|
|
162
|
+
createdAt: string;
|
|
163
|
+
updatedAt: string;
|
|
164
|
+
}
|
|
165
|
+
interface TimecampusExpenseStats {
|
|
166
|
+
approvedCount: number;
|
|
167
|
+
averageAmount: number;
|
|
168
|
+
byCategory?: Json | null;
|
|
169
|
+
pendingCount: number;
|
|
170
|
+
totalAmount: number;
|
|
171
|
+
totalExpenses: number;
|
|
172
|
+
}
|
|
173
|
+
interface TimecampusMeetingParticipant {
|
|
174
|
+
id: string;
|
|
175
|
+
userId: string;
|
|
176
|
+
role: TimecampusMeetingParticipantRole;
|
|
177
|
+
status: TimecampusMeetingParticipantStatus;
|
|
178
|
+
meetingMetaId: string;
|
|
179
|
+
context?: Json | null;
|
|
180
|
+
workspaceId: string;
|
|
181
|
+
createdAt: string;
|
|
182
|
+
updatedAt: string;
|
|
183
|
+
}
|
|
184
|
+
interface TimecampusMeetingActionItem {
|
|
185
|
+
id: string;
|
|
186
|
+
title: string;
|
|
187
|
+
notes?: string | null;
|
|
188
|
+
status: TimecampusMeetingActionItemStatus;
|
|
189
|
+
assigneeId?: string | null;
|
|
190
|
+
dueDate?: string | null;
|
|
191
|
+
completedAt?: string | null;
|
|
192
|
+
meetingMetaId: string;
|
|
193
|
+
context?: Json | null;
|
|
194
|
+
workspaceId: string;
|
|
195
|
+
createdAt: string;
|
|
196
|
+
updatedAt: string;
|
|
197
|
+
}
|
|
198
|
+
interface TimecampusMeeting {
|
|
199
|
+
id: string;
|
|
200
|
+
title: string;
|
|
201
|
+
meetingType: TimecampusMeetingType;
|
|
202
|
+
startTime: string;
|
|
203
|
+
endTime?: string | null;
|
|
204
|
+
duration?: number | null;
|
|
205
|
+
cost?: number | null;
|
|
206
|
+
rating?: number | null;
|
|
207
|
+
notes?: string | null;
|
|
208
|
+
recordingUrl?: string | null;
|
|
209
|
+
calendarEventId?: string | null;
|
|
210
|
+
participants: TimecampusMeetingParticipant[];
|
|
211
|
+
actionItems: TimecampusMeetingActionItem[];
|
|
212
|
+
context?: Json | null;
|
|
213
|
+
workspaceId: string;
|
|
214
|
+
createdAt: string;
|
|
215
|
+
updatedAt: string;
|
|
216
|
+
}
|
|
217
|
+
interface TimecampusMeetingStats {
|
|
218
|
+
actionItemsCompleted: number;
|
|
219
|
+
actionItemsTotal: number;
|
|
220
|
+
averageDuration: number;
|
|
221
|
+
averageRating: number;
|
|
222
|
+
totalCost: number;
|
|
223
|
+
totalDuration: number;
|
|
224
|
+
totalMeetings: number;
|
|
225
|
+
}
|
|
226
|
+
interface TimecampusPomodoroSession {
|
|
227
|
+
id: string;
|
|
228
|
+
type: TimecampusPomodoroSessionType;
|
|
229
|
+
startTime: string;
|
|
230
|
+
endTime?: string | null;
|
|
231
|
+
duration?: number | null;
|
|
232
|
+
completed: boolean;
|
|
233
|
+
interrupted: boolean;
|
|
234
|
+
interruptions: number;
|
|
235
|
+
notes?: string | null;
|
|
236
|
+
projectId?: string | null;
|
|
237
|
+
taskId?: string | null;
|
|
238
|
+
context?: Json | null;
|
|
239
|
+
userId: string;
|
|
240
|
+
workspaceId: string;
|
|
241
|
+
createdAt: string;
|
|
242
|
+
updatedAt: string;
|
|
243
|
+
}
|
|
244
|
+
interface TimecampusPomodoroGoal {
|
|
245
|
+
id: string;
|
|
246
|
+
type: TimecampusPomodoroGoalType;
|
|
247
|
+
period: string;
|
|
248
|
+
target: number;
|
|
249
|
+
current: number;
|
|
250
|
+
startDate: string;
|
|
251
|
+
endDate: string;
|
|
252
|
+
userId: string;
|
|
253
|
+
workspaceId: string;
|
|
254
|
+
createdAt: string;
|
|
255
|
+
updatedAt: string;
|
|
256
|
+
}
|
|
257
|
+
interface TimecampusPomodoroSettings {
|
|
258
|
+
id: string;
|
|
259
|
+
autoStartBreaks: boolean;
|
|
260
|
+
autoStartFocus: boolean;
|
|
261
|
+
focusDuration: number;
|
|
262
|
+
longBreakDuration: number;
|
|
263
|
+
shortBreakDuration: number;
|
|
264
|
+
sessionsBeforeLongBreak: number;
|
|
265
|
+
notificationsEnabled: boolean;
|
|
266
|
+
soundEnabled: boolean;
|
|
267
|
+
userId: string;
|
|
268
|
+
workspaceId: string;
|
|
269
|
+
createdAt: string;
|
|
270
|
+
updatedAt: string;
|
|
271
|
+
}
|
|
272
|
+
interface TimecampusPomodoroStats {
|
|
273
|
+
averageSessionMinutes: number;
|
|
274
|
+
completedSessions: number;
|
|
275
|
+
completionRate: number;
|
|
276
|
+
streakDays: number;
|
|
277
|
+
totalFocusMinutes: number;
|
|
278
|
+
totalSessions: number;
|
|
279
|
+
}
|
|
280
|
+
interface TimecampusApplicationUsage {
|
|
281
|
+
id: string;
|
|
282
|
+
applicationName: string;
|
|
283
|
+
category: string;
|
|
284
|
+
date: string;
|
|
285
|
+
timeSpent: number;
|
|
286
|
+
sessions: number;
|
|
287
|
+
switches: number;
|
|
288
|
+
firstUsed?: string | null;
|
|
289
|
+
lastUsed?: string | null;
|
|
290
|
+
context?: Json | null;
|
|
291
|
+
userId: string;
|
|
292
|
+
workspaceId: string;
|
|
293
|
+
createdAt: string;
|
|
294
|
+
updatedAt: string;
|
|
295
|
+
}
|
|
296
|
+
interface TimecampusAppUsageRank {
|
|
297
|
+
category: string;
|
|
298
|
+
name: string;
|
|
299
|
+
sessions: number;
|
|
300
|
+
timeSpent: number;
|
|
301
|
+
}
|
|
302
|
+
interface TimecampusAppUsageSummary {
|
|
303
|
+
distractingTime: number;
|
|
304
|
+
neutralTime: number;
|
|
305
|
+
productiveTime: number;
|
|
306
|
+
productivityRatio: number;
|
|
307
|
+
topApps: TimecampusAppUsageRank[];
|
|
308
|
+
totalApps: number;
|
|
309
|
+
}
|
|
310
|
+
interface TimecampusFocusScore {
|
|
311
|
+
id: string;
|
|
312
|
+
date: string;
|
|
313
|
+
overallScore: number;
|
|
314
|
+
consistencyScore?: number | null;
|
|
315
|
+
deepWorkScore?: number | null;
|
|
316
|
+
distractionResistanceScore?: number | null;
|
|
317
|
+
energyManagementScore?: number | null;
|
|
318
|
+
taskCompletionScore?: number | null;
|
|
319
|
+
factors?: Json | null;
|
|
320
|
+
context?: Json | null;
|
|
321
|
+
userId: string;
|
|
322
|
+
workspaceId: string;
|
|
323
|
+
createdAt: string;
|
|
324
|
+
updatedAt: string;
|
|
325
|
+
}
|
|
326
|
+
interface TimecampusFocusScoreSummary {
|
|
327
|
+
averageScore: number;
|
|
328
|
+
highestScore: number;
|
|
329
|
+
lowestScore: number;
|
|
330
|
+
improvementArea?: string | null;
|
|
331
|
+
topFactor?: string | null;
|
|
332
|
+
trend?: string | null;
|
|
333
|
+
}
|
|
334
|
+
interface TimecampusFocusScoreTrend {
|
|
335
|
+
change: number;
|
|
336
|
+
date: string;
|
|
337
|
+
score: number;
|
|
338
|
+
}
|
|
339
|
+
interface TimecampusWorkPattern {
|
|
340
|
+
id: string;
|
|
341
|
+
date: string;
|
|
342
|
+
breakHours: number;
|
|
343
|
+
focusHours: number;
|
|
344
|
+
meetingHours: number;
|
|
345
|
+
deepWorkSessions: number;
|
|
346
|
+
interruptions: number;
|
|
347
|
+
energyLevel?: string | null;
|
|
348
|
+
mood?: string | null;
|
|
349
|
+
stressLevel?: string | null;
|
|
350
|
+
peakHours?: Json | null;
|
|
351
|
+
productivityScore?: number | null;
|
|
352
|
+
context?: Json | null;
|
|
353
|
+
userId: string;
|
|
354
|
+
workspaceId: string;
|
|
355
|
+
createdAt: string;
|
|
356
|
+
updatedAt: string;
|
|
357
|
+
}
|
|
358
|
+
interface TimecampusWorkPatternInsight {
|
|
359
|
+
description: string;
|
|
360
|
+
impact?: string | null;
|
|
361
|
+
recommendation?: string | null;
|
|
362
|
+
title: string;
|
|
363
|
+
type: TimecampusWorkPatternInsightType;
|
|
364
|
+
}
|
|
365
|
+
interface TimecampusWorkPatternSummary {
|
|
366
|
+
averageFocusHours: number;
|
|
367
|
+
averageMeetingHours: number;
|
|
368
|
+
averageProductivity: number;
|
|
369
|
+
insights: TimecampusWorkPatternInsight[];
|
|
370
|
+
leastProductiveDay?: string | null;
|
|
371
|
+
mostProductiveDay?: string | null;
|
|
372
|
+
}
|
|
373
|
+
interface TimecampusGeofenceEvent {
|
|
374
|
+
id: string;
|
|
375
|
+
geofenceId: string;
|
|
376
|
+
type: TimecampusGeofenceEventType;
|
|
377
|
+
locationLatitude: number;
|
|
378
|
+
locationLongitude: number;
|
|
379
|
+
timestamp: string;
|
|
380
|
+
userId: string;
|
|
381
|
+
context?: Json | null;
|
|
382
|
+
createdBy: string;
|
|
383
|
+
updatedBy?: string | null;
|
|
384
|
+
onBehalfOf?: string | null;
|
|
385
|
+
workspaceId: string;
|
|
386
|
+
createdAt: string;
|
|
387
|
+
updatedAt: string;
|
|
388
|
+
}
|
|
389
|
+
interface TimecampusGeofence {
|
|
390
|
+
id: string;
|
|
391
|
+
name: string;
|
|
392
|
+
address?: string | null;
|
|
393
|
+
latitude: number;
|
|
394
|
+
longitude: number;
|
|
395
|
+
radius: number;
|
|
396
|
+
trigger: TimecampusGeofenceTrigger;
|
|
397
|
+
isActive: boolean;
|
|
398
|
+
linkedProjectId?: string | null;
|
|
399
|
+
events: TimecampusGeofenceEvent[];
|
|
400
|
+
context?: Json | null;
|
|
401
|
+
createdBy: string;
|
|
402
|
+
updatedBy?: string | null;
|
|
403
|
+
onBehalfOf?: string | null;
|
|
404
|
+
workspaceId: string;
|
|
405
|
+
createdAt: string;
|
|
406
|
+
updatedAt: string;
|
|
407
|
+
}
|
|
408
|
+
interface TimecampusGeofenceListResponse {
|
|
409
|
+
items: TimecampusGeofence[];
|
|
410
|
+
total: number;
|
|
411
|
+
hasMore: boolean;
|
|
412
|
+
}
|
|
413
|
+
interface TimecampusLocationEntry {
|
|
414
|
+
id: string;
|
|
415
|
+
latitude: number;
|
|
416
|
+
longitude: number;
|
|
417
|
+
accuracy?: number | null;
|
|
418
|
+
address?: string | null;
|
|
419
|
+
startTime: string;
|
|
420
|
+
endTime?: string | null;
|
|
421
|
+
duration?: number | null;
|
|
422
|
+
geofenceId?: string | null;
|
|
423
|
+
projectId?: string | null;
|
|
424
|
+
context?: Json | null;
|
|
425
|
+
createdBy: string;
|
|
426
|
+
updatedBy?: string | null;
|
|
427
|
+
onBehalfOf?: string | null;
|
|
428
|
+
userId: string;
|
|
429
|
+
workspaceId: string;
|
|
430
|
+
createdAt: string;
|
|
431
|
+
updatedAt: string;
|
|
432
|
+
}
|
|
433
|
+
interface TimecampusLocationEntryListResponse {
|
|
434
|
+
items: TimecampusLocationEntry[];
|
|
435
|
+
total: number;
|
|
436
|
+
hasMore: boolean;
|
|
437
|
+
}
|
|
438
|
+
interface TimecampusChannelConfig {
|
|
439
|
+
id: string;
|
|
440
|
+
name: string;
|
|
441
|
+
type: string;
|
|
442
|
+
status: string;
|
|
443
|
+
syncInterval?: number | null;
|
|
444
|
+
lastSync?: string | null;
|
|
445
|
+
settings?: Json | null;
|
|
446
|
+
context?: Json | null;
|
|
447
|
+
workspaceId: string;
|
|
448
|
+
createdAt: string;
|
|
449
|
+
updatedAt: string;
|
|
450
|
+
}
|
|
451
|
+
interface TimecampusChannelStatusInfo {
|
|
452
|
+
channelId: string;
|
|
453
|
+
isHealthy: boolean;
|
|
454
|
+
lastSync?: string | null;
|
|
455
|
+
name: string;
|
|
456
|
+
status: string;
|
|
457
|
+
type: string;
|
|
458
|
+
}
|
|
459
|
+
interface TimecampusClientPortalConfig {
|
|
460
|
+
id: string;
|
|
461
|
+
clientName: string;
|
|
462
|
+
contactEmail?: string | null;
|
|
463
|
+
contactPhone?: string | null;
|
|
464
|
+
description?: string | null;
|
|
465
|
+
logoUrl?: string | null;
|
|
466
|
+
isActive: boolean;
|
|
467
|
+
permissions?: Json | null;
|
|
468
|
+
settings?: Json | null;
|
|
469
|
+
context?: Json | null;
|
|
470
|
+
createdBy: string;
|
|
471
|
+
updatedBy?: string | null;
|
|
472
|
+
onBehalfOf?: string | null;
|
|
473
|
+
workspaceId: string;
|
|
474
|
+
createdAt: string;
|
|
475
|
+
updatedAt: string;
|
|
476
|
+
}
|
|
477
|
+
interface TimecampusClientPortalConfigListResponse {
|
|
478
|
+
items: TimecampusClientPortalConfig[];
|
|
479
|
+
total: number;
|
|
480
|
+
hasMore: boolean;
|
|
481
|
+
}
|
|
482
|
+
interface TimecampusResourceAllocation {
|
|
483
|
+
id: string;
|
|
484
|
+
resourcePlanId: string;
|
|
485
|
+
userId: string;
|
|
486
|
+
projectId?: string | null;
|
|
487
|
+
allocatedHours: number;
|
|
488
|
+
actualHours: number;
|
|
489
|
+
utilizationRate?: number | null;
|
|
490
|
+
startDate: string;
|
|
491
|
+
endDate: string;
|
|
492
|
+
notes?: string | null;
|
|
493
|
+
context?: Json | null;
|
|
494
|
+
createdBy: string;
|
|
495
|
+
updatedBy?: string | null;
|
|
496
|
+
onBehalfOf?: string | null;
|
|
497
|
+
workspaceId: string;
|
|
498
|
+
createdAt: string;
|
|
499
|
+
updatedAt: string;
|
|
500
|
+
}
|
|
501
|
+
interface TimecampusResourcePlan {
|
|
502
|
+
id: string;
|
|
503
|
+
name: string;
|
|
504
|
+
description?: string | null;
|
|
505
|
+
status: string;
|
|
506
|
+
startDate: string;
|
|
507
|
+
endDate: string;
|
|
508
|
+
totalAllocatedHours: number;
|
|
509
|
+
totalActualHours: number;
|
|
510
|
+
allocations: TimecampusResourceAllocation[];
|
|
511
|
+
context?: Json | null;
|
|
512
|
+
createdBy: string;
|
|
513
|
+
updatedBy?: string | null;
|
|
514
|
+
onBehalfOf?: string | null;
|
|
515
|
+
workspaceId: string;
|
|
516
|
+
createdAt: string;
|
|
517
|
+
updatedAt: string;
|
|
518
|
+
}
|
|
519
|
+
interface TimecampusResourcePlanListResponse {
|
|
520
|
+
items: TimecampusResourcePlan[];
|
|
521
|
+
total: number;
|
|
522
|
+
hasMore: boolean;
|
|
523
|
+
}
|
|
524
|
+
interface TimecampusCapacityOverview {
|
|
525
|
+
allocatedCapacity: number;
|
|
526
|
+
availableCapacity: number;
|
|
527
|
+
overallocatedUsers: string[];
|
|
528
|
+
totalCapacity: number;
|
|
529
|
+
utilizationRate: number;
|
|
530
|
+
}
|
|
531
|
+
interface TimecampusConfiguration {
|
|
532
|
+
id: string;
|
|
533
|
+
key: string;
|
|
534
|
+
value: Json;
|
|
535
|
+
scope: string;
|
|
536
|
+
scopeId?: string | null;
|
|
537
|
+
description?: string | null;
|
|
538
|
+
isSecret: boolean;
|
|
539
|
+
context?: Json | null;
|
|
540
|
+
workspaceId: string;
|
|
541
|
+
createdAt: string;
|
|
542
|
+
updatedAt: string;
|
|
543
|
+
}
|
|
544
|
+
interface TimecampusUISession {
|
|
545
|
+
id: string;
|
|
546
|
+
activeView?: string | null;
|
|
547
|
+
preferences: Json;
|
|
548
|
+
state: Json;
|
|
549
|
+
context?: Json | null;
|
|
550
|
+
userId: string;
|
|
551
|
+
workspaceId: string;
|
|
552
|
+
createdAt: string;
|
|
553
|
+
updatedAt: string;
|
|
554
|
+
}
|
|
555
|
+
interface TimecampusContextInput {
|
|
556
|
+
appId?: string;
|
|
557
|
+
custom?: Json;
|
|
558
|
+
projectId?: string;
|
|
559
|
+
userId?: string;
|
|
560
|
+
workspaceId?: string;
|
|
561
|
+
}
|
|
562
|
+
interface TimecampusTimeEntryFilterInput {
|
|
563
|
+
billable?: boolean;
|
|
564
|
+
createdBy?: string;
|
|
565
|
+
endDate?: string;
|
|
566
|
+
isRunning?: boolean;
|
|
567
|
+
projectId?: string;
|
|
568
|
+
search?: string;
|
|
569
|
+
source?: string;
|
|
570
|
+
startDate?: string;
|
|
571
|
+
taskId?: string;
|
|
572
|
+
}
|
|
573
|
+
interface TimecampusCreateTimeEntryInput {
|
|
574
|
+
startTime: string;
|
|
575
|
+
billable?: boolean;
|
|
576
|
+
context?: TimecampusContextInput;
|
|
577
|
+
description?: string;
|
|
578
|
+
duration?: number;
|
|
579
|
+
endTime?: string;
|
|
580
|
+
hourlyRate?: number;
|
|
581
|
+
notes?: string;
|
|
582
|
+
projectId?: string;
|
|
583
|
+
source?: string;
|
|
584
|
+
tags?: Json;
|
|
585
|
+
taskId?: string;
|
|
586
|
+
}
|
|
587
|
+
interface TimecampusStartTimerInput {
|
|
588
|
+
billable?: boolean;
|
|
589
|
+
context?: TimecampusContextInput;
|
|
590
|
+
description?: string;
|
|
591
|
+
hourlyRate?: number;
|
|
592
|
+
notes?: string;
|
|
593
|
+
projectId?: string;
|
|
594
|
+
source?: string;
|
|
595
|
+
tags?: Json;
|
|
596
|
+
taskId?: string;
|
|
597
|
+
}
|
|
598
|
+
interface TimecampusProjectFilterInput {
|
|
599
|
+
clientId?: string;
|
|
600
|
+
createdBy?: string;
|
|
601
|
+
search?: string;
|
|
602
|
+
status?: string;
|
|
603
|
+
}
|
|
604
|
+
interface TimecampusCreateProjectInput {
|
|
605
|
+
name: string;
|
|
606
|
+
budget?: number;
|
|
607
|
+
clientId?: string;
|
|
608
|
+
color?: string;
|
|
609
|
+
context?: TimecampusContextInput;
|
|
610
|
+
currency?: string;
|
|
611
|
+
description?: string;
|
|
612
|
+
estimatedHours?: number;
|
|
613
|
+
hourlyRate?: number;
|
|
614
|
+
status?: string;
|
|
615
|
+
}
|
|
616
|
+
interface TimecampusUpdateProjectInput {
|
|
617
|
+
budget?: number;
|
|
618
|
+
clientId?: string;
|
|
619
|
+
color?: string;
|
|
620
|
+
context?: TimecampusContextInput;
|
|
621
|
+
currency?: string;
|
|
622
|
+
description?: string;
|
|
623
|
+
estimatedHours?: number;
|
|
624
|
+
hourlyRate?: number;
|
|
625
|
+
name?: string;
|
|
626
|
+
status?: string;
|
|
627
|
+
}
|
|
628
|
+
interface TimecampusTaskFilterInput {
|
|
629
|
+
assigneeId?: string;
|
|
630
|
+
hasDueDate?: boolean;
|
|
631
|
+
overdue?: boolean;
|
|
632
|
+
priority?: string;
|
|
633
|
+
search?: string;
|
|
634
|
+
status?: string;
|
|
635
|
+
}
|
|
636
|
+
interface TimecampusCreateTaskInput {
|
|
637
|
+
projectId: string;
|
|
638
|
+
title: string;
|
|
639
|
+
assigneeId?: string;
|
|
640
|
+
context?: TimecampusContextInput;
|
|
641
|
+
description?: string;
|
|
642
|
+
dueDate?: string;
|
|
643
|
+
estimatedHours?: number;
|
|
644
|
+
order?: number;
|
|
645
|
+
priority?: string;
|
|
646
|
+
status?: string;
|
|
647
|
+
}
|
|
648
|
+
interface TimecampusApprovalRequestFilterInput {
|
|
649
|
+
approverId?: string;
|
|
650
|
+
endDate?: string;
|
|
651
|
+
startDate?: string;
|
|
652
|
+
status?: TimecampusApprovalStatus;
|
|
653
|
+
userId?: string;
|
|
654
|
+
}
|
|
655
|
+
interface TimecampusSubmitApprovalRequestInput {
|
|
656
|
+
period: string;
|
|
657
|
+
startDate: string;
|
|
658
|
+
endDate: string;
|
|
659
|
+
totalHours: number;
|
|
660
|
+
approverId?: string;
|
|
661
|
+
billableHours?: number;
|
|
662
|
+
context?: TimecampusContextInput;
|
|
663
|
+
}
|
|
664
|
+
interface TimecampusExpenseFilterInput {
|
|
665
|
+
category?: string;
|
|
666
|
+
currency?: string;
|
|
667
|
+
dateFrom?: string;
|
|
668
|
+
dateTo?: string;
|
|
669
|
+
maxAmount?: number;
|
|
670
|
+
minAmount?: number;
|
|
671
|
+
projectId?: string;
|
|
672
|
+
status?: TimecampusExpenseStatus;
|
|
673
|
+
userId?: string;
|
|
674
|
+
}
|
|
675
|
+
interface TimecampusCreateExpenseInput {
|
|
676
|
+
amount: number;
|
|
677
|
+
category: string;
|
|
678
|
+
date: string;
|
|
679
|
+
workspaceId: string;
|
|
680
|
+
context?: Json;
|
|
681
|
+
currency?: string;
|
|
682
|
+
description?: string;
|
|
683
|
+
notes?: string;
|
|
684
|
+
projectId?: string;
|
|
685
|
+
receiptUrl?: string;
|
|
686
|
+
}
|
|
687
|
+
interface TimecampusMeetingFilterInput {
|
|
688
|
+
hasActionItems?: boolean;
|
|
689
|
+
meetingType?: TimecampusMeetingType;
|
|
690
|
+
minRating?: number;
|
|
691
|
+
participantUserId?: string;
|
|
692
|
+
startDateFrom?: string;
|
|
693
|
+
startDateTo?: string;
|
|
694
|
+
}
|
|
695
|
+
interface TimecampusCreateMeetingInput {
|
|
696
|
+
meetingType: TimecampusMeetingType;
|
|
697
|
+
startTime: string;
|
|
698
|
+
title: string;
|
|
699
|
+
workspaceId: string;
|
|
700
|
+
calendarEventId?: string;
|
|
701
|
+
context?: Json;
|
|
702
|
+
cost?: number;
|
|
703
|
+
endTime?: string;
|
|
704
|
+
notes?: string;
|
|
705
|
+
recordingUrl?: string;
|
|
706
|
+
}
|
|
707
|
+
interface TimecampusPomodoroSessionFilterInput {
|
|
708
|
+
completed?: boolean;
|
|
709
|
+
interrupted?: boolean;
|
|
710
|
+
projectId?: string;
|
|
711
|
+
startDateFrom?: string;
|
|
712
|
+
startDateTo?: string;
|
|
713
|
+
taskId?: string;
|
|
714
|
+
type?: TimecampusPomodoroSessionType;
|
|
715
|
+
userId?: string;
|
|
716
|
+
}
|
|
717
|
+
interface TimecampusStartPomodoroSessionInput {
|
|
718
|
+
type: TimecampusPomodoroSessionType;
|
|
719
|
+
workspaceId: string;
|
|
720
|
+
context?: Json;
|
|
721
|
+
notes?: string;
|
|
722
|
+
projectId?: string;
|
|
723
|
+
taskId?: string;
|
|
724
|
+
}
|
|
725
|
+
interface TimecampusUpdatePomodoroSettingsInput {
|
|
726
|
+
workspaceId: string;
|
|
727
|
+
autoStartBreaks?: boolean;
|
|
728
|
+
autoStartFocus?: boolean;
|
|
729
|
+
focusDuration?: number;
|
|
730
|
+
longBreakDuration?: number;
|
|
731
|
+
notificationsEnabled?: boolean;
|
|
732
|
+
sessionsBeforeLongBreak?: number;
|
|
733
|
+
shortBreakDuration?: number;
|
|
734
|
+
soundEnabled?: boolean;
|
|
735
|
+
}
|
|
736
|
+
interface TimecampusRecordApplicationUsageInput {
|
|
737
|
+
applicationName: string;
|
|
738
|
+
date: string;
|
|
739
|
+
timeSpent: number;
|
|
740
|
+
category?: string;
|
|
741
|
+
context?: TimecampusContextInput;
|
|
742
|
+
firstUsed?: string;
|
|
743
|
+
lastUsed?: string;
|
|
744
|
+
sessions?: number;
|
|
745
|
+
switches?: number;
|
|
746
|
+
}
|
|
747
|
+
interface TimecampusRecordFocusScoreInput {
|
|
748
|
+
date: string;
|
|
749
|
+
overallScore: number;
|
|
750
|
+
consistencyScore?: number;
|
|
751
|
+
context?: TimecampusContextInput;
|
|
752
|
+
deepWorkScore?: number;
|
|
753
|
+
distractionResistanceScore?: number;
|
|
754
|
+
energyManagementScore?: number;
|
|
755
|
+
factors?: Json;
|
|
756
|
+
taskCompletionScore?: number;
|
|
757
|
+
}
|
|
758
|
+
interface TimecampusRecordWorkPatternInput {
|
|
759
|
+
breakHours: number;
|
|
760
|
+
date: string;
|
|
761
|
+
focusHours: number;
|
|
762
|
+
meetingHours: number;
|
|
763
|
+
context?: TimecampusContextInput;
|
|
764
|
+
deepWorkSessions?: number;
|
|
765
|
+
energyLevel?: string;
|
|
766
|
+
interruptions?: number;
|
|
767
|
+
mood?: string;
|
|
768
|
+
peakHours?: Json;
|
|
769
|
+
productivityScore?: number;
|
|
770
|
+
stressLevel?: string;
|
|
771
|
+
}
|
|
772
|
+
interface TimecampusGeofenceFilterInput {
|
|
773
|
+
isActive?: boolean;
|
|
774
|
+
search?: string;
|
|
775
|
+
}
|
|
776
|
+
interface TimecampusCreateGeofenceInput {
|
|
777
|
+
latitude: number;
|
|
778
|
+
longitude: number;
|
|
779
|
+
name: string;
|
|
780
|
+
radius: number;
|
|
781
|
+
address?: string;
|
|
782
|
+
context?: TimecampusContextInput;
|
|
783
|
+
isActive?: boolean;
|
|
784
|
+
linkedProjectId?: string;
|
|
785
|
+
trigger?: TimecampusGeofenceTrigger;
|
|
786
|
+
}
|
|
787
|
+
interface TimecampusRecordGeofenceEventInput {
|
|
788
|
+
geofenceId: string;
|
|
789
|
+
locationLatitude: number;
|
|
790
|
+
locationLongitude: number;
|
|
791
|
+
type: TimecampusGeofenceEventType;
|
|
792
|
+
userId: string;
|
|
793
|
+
context?: TimecampusContextInput;
|
|
794
|
+
}
|
|
795
|
+
interface TimecampusLocationEntryFilterInput {
|
|
796
|
+
endDate?: string;
|
|
797
|
+
geofenceId?: string;
|
|
798
|
+
projectId?: string;
|
|
799
|
+
search?: string;
|
|
800
|
+
startDate?: string;
|
|
801
|
+
userId?: string;
|
|
802
|
+
}
|
|
803
|
+
interface TimecampusCreateLocationEntryInput {
|
|
804
|
+
latitude: number;
|
|
805
|
+
longitude: number;
|
|
806
|
+
startTime: string;
|
|
807
|
+
userId: string;
|
|
808
|
+
accuracy?: number;
|
|
809
|
+
address?: string;
|
|
810
|
+
context?: TimecampusContextInput;
|
|
811
|
+
duration?: number;
|
|
812
|
+
endTime?: string;
|
|
813
|
+
geofenceId?: string;
|
|
814
|
+
projectId?: string;
|
|
815
|
+
}
|
|
816
|
+
interface TimecampusCreateChannelConfigInput {
|
|
817
|
+
name: string;
|
|
818
|
+
type: TimecampusChannelType;
|
|
819
|
+
context?: TimecampusContextInput;
|
|
820
|
+
settings?: Json;
|
|
821
|
+
status?: TimecampusChannelStatus;
|
|
822
|
+
syncInterval?: number;
|
|
823
|
+
}
|
|
824
|
+
interface TimecampusCreateClientPortalConfigInput {
|
|
825
|
+
clientName: string;
|
|
826
|
+
contactEmail?: string;
|
|
827
|
+
contactPhone?: string;
|
|
828
|
+
context?: TimecampusContextInput;
|
|
829
|
+
description?: string;
|
|
830
|
+
isActive?: boolean;
|
|
831
|
+
logoUrl?: string;
|
|
832
|
+
permissions?: Json;
|
|
833
|
+
settings?: Json;
|
|
834
|
+
}
|
|
835
|
+
interface TimecampusResourcePlanFilterInput {
|
|
836
|
+
endDate?: string;
|
|
837
|
+
search?: string;
|
|
838
|
+
startDate?: string;
|
|
839
|
+
status?: string;
|
|
840
|
+
}
|
|
841
|
+
interface TimecampusCreateResourcePlanInput {
|
|
842
|
+
name: string;
|
|
843
|
+
startDate: string;
|
|
844
|
+
endDate: string;
|
|
845
|
+
context?: TimecampusContextInput;
|
|
846
|
+
description?: string;
|
|
847
|
+
}
|
|
848
|
+
interface TimecampusCreateAllocationInput {
|
|
849
|
+
resourcePlanId: string;
|
|
850
|
+
userId: string;
|
|
851
|
+
allocatedHours: number;
|
|
852
|
+
startDate: string;
|
|
853
|
+
endDate: string;
|
|
854
|
+
context?: TimecampusContextInput;
|
|
855
|
+
notes?: string;
|
|
856
|
+
projectId?: string;
|
|
857
|
+
}
|
|
858
|
+
interface TimecampusSetConfigurationInput {
|
|
859
|
+
key: string;
|
|
860
|
+
value: Json;
|
|
861
|
+
context?: TimecampusContextInput;
|
|
862
|
+
description?: string;
|
|
863
|
+
isSecret?: boolean;
|
|
864
|
+
scope?: TimecampusConfigScope;
|
|
865
|
+
scopeId?: string;
|
|
866
|
+
}
|
|
867
|
+
interface TimecampusSaveUISessionInput {
|
|
868
|
+
activeView?: string;
|
|
869
|
+
context?: TimecampusContextInput;
|
|
870
|
+
preferences?: Json;
|
|
871
|
+
state?: Json;
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
interface TimecampusTimeEntriesApi {
|
|
875
|
+
get(id: string): Promise<TimecampusTimeEntry | null>;
|
|
876
|
+
list(filter?: TimecampusTimeEntryFilterInput, limit?: number, offset?: number): Promise<TimecampusTimeEntryListResponse>;
|
|
877
|
+
byDate(date: string): Promise<TimecampusTimeEntry[]>;
|
|
878
|
+
stats(startDate?: string, endDate?: string): Promise<TimecampusTimeEntryStats>;
|
|
879
|
+
runningTimers(): Promise<TimecampusRunningTimer[]>;
|
|
880
|
+
create(input: TimecampusCreateTimeEntryInput): Promise<TimecampusTimeEntry>;
|
|
881
|
+
startTimer(input: TimecampusStartTimerInput): Promise<TimecampusTimeEntry>;
|
|
882
|
+
stopTimer(id: string): Promise<TimecampusTimeEntry>;
|
|
883
|
+
}
|
|
884
|
+
interface TimecampusProjectsApi {
|
|
885
|
+
get(id: string): Promise<TimecampusProject | null>;
|
|
886
|
+
list(filter?: TimecampusProjectFilterInput, limit?: number, offset?: number): Promise<TimecampusProjectListResponse>;
|
|
887
|
+
stats(id: string): Promise<TimecampusProjectStats>;
|
|
888
|
+
create(input: TimecampusCreateProjectInput): Promise<TimecampusProject>;
|
|
889
|
+
update(id: string, input: TimecampusUpdateProjectInput): Promise<TimecampusProject>;
|
|
890
|
+
}
|
|
891
|
+
interface TimecampusTasksApi {
|
|
892
|
+
list(projectId: string, filter?: TimecampusTaskFilterInput, limit?: number, offset?: number): Promise<TimecampusTaskListResponse>;
|
|
893
|
+
create(input: TimecampusCreateTaskInput): Promise<TimecampusTask>;
|
|
894
|
+
updateStatus(id: string, status: string): Promise<TimecampusTask>;
|
|
895
|
+
}
|
|
896
|
+
interface TimecampusApprovalsApi {
|
|
897
|
+
list(filter?: TimecampusApprovalRequestFilterInput, limit?: number, offset?: number): Promise<TimecampusApprovalRequestListResponse>;
|
|
898
|
+
pending(): Promise<TimecampusApprovalRequest[]>;
|
|
899
|
+
submit(input: TimecampusSubmitApprovalRequestInput): Promise<TimecampusApprovalRequest>;
|
|
900
|
+
approve(id: string, notes?: string): Promise<TimecampusApprovalRequest>;
|
|
901
|
+
}
|
|
902
|
+
interface TimecampusExpensesApi {
|
|
903
|
+
list(workspaceId: string, filter?: TimecampusExpenseFilterInput, limit?: number, offset?: number): Promise<TimecampusExpenseEntry[]>;
|
|
904
|
+
stats(workspaceId: string, startDate?: string, endDate?: string): Promise<TimecampusExpenseStats>;
|
|
905
|
+
create(input: TimecampusCreateExpenseInput): Promise<TimecampusExpenseEntry>;
|
|
906
|
+
approve(id: string, workspaceId: string): Promise<TimecampusExpenseEntry>;
|
|
907
|
+
}
|
|
908
|
+
interface TimecampusMeetingsApi {
|
|
909
|
+
get(id: string, workspaceId: string): Promise<TimecampusMeeting | null>;
|
|
910
|
+
list(workspaceId: string, filter?: TimecampusMeetingFilterInput, limit?: number, offset?: number): Promise<TimecampusMeeting[]>;
|
|
911
|
+
stats(workspaceId: string, startDate?: string, endDate?: string): Promise<TimecampusMeetingStats>;
|
|
912
|
+
create(input: TimecampusCreateMeetingInput): Promise<TimecampusMeeting>;
|
|
913
|
+
rate(id: string, rating: number, workspaceId: string): Promise<TimecampusMeeting>;
|
|
914
|
+
}
|
|
915
|
+
interface TimecampusPomodoroApi {
|
|
916
|
+
sessions(workspaceId: string, filter?: TimecampusPomodoroSessionFilterInput, limit?: number, offset?: number): Promise<TimecampusPomodoroSession[]>;
|
|
917
|
+
stats(workspaceId: string, startDate?: string, endDate?: string): Promise<TimecampusPomodoroStats>;
|
|
918
|
+
start(input: TimecampusStartPomodoroSessionInput): Promise<TimecampusPomodoroSession>;
|
|
919
|
+
complete(id: string, workspaceId: string): Promise<TimecampusPomodoroSession>;
|
|
920
|
+
settings(workspaceId: string): Promise<TimecampusPomodoroSettings | null>;
|
|
921
|
+
updateSettings(input: TimecampusUpdatePomodoroSettingsInput): Promise<TimecampusPomodoroSettings>;
|
|
922
|
+
}
|
|
923
|
+
interface TimecampusAppUsageApi {
|
|
924
|
+
list(userId?: string, date?: string, category?: string, limit?: number, offset?: number): Promise<TimecampusApplicationUsage[]>;
|
|
925
|
+
summary(userId?: string, startDate?: string, endDate?: string): Promise<TimecampusAppUsageSummary>;
|
|
926
|
+
record(input: TimecampusRecordApplicationUsageInput): Promise<TimecampusApplicationUsage>;
|
|
927
|
+
}
|
|
928
|
+
interface TimecampusFocusScoresApi {
|
|
929
|
+
list(userId?: string, startDate?: string, endDate?: string, limit?: number, offset?: number): Promise<TimecampusFocusScore[]>;
|
|
930
|
+
today(): Promise<TimecampusFocusScore | null>;
|
|
931
|
+
record(input: TimecampusRecordFocusScoreInput): Promise<TimecampusFocusScore>;
|
|
932
|
+
}
|
|
933
|
+
interface TimecampusWorkPatternsApi {
|
|
934
|
+
list(userId?: string, startDate?: string, endDate?: string, limit?: number, offset?: number): Promise<TimecampusWorkPattern[]>;
|
|
935
|
+
today(): Promise<TimecampusWorkPattern | null>;
|
|
936
|
+
record(input: TimecampusRecordWorkPatternInput): Promise<TimecampusWorkPattern>;
|
|
937
|
+
}
|
|
938
|
+
interface TimecampusGeofencesApi {
|
|
939
|
+
list(filter?: TimecampusGeofenceFilterInput, limit?: number, offset?: number): Promise<TimecampusGeofenceListResponse>;
|
|
940
|
+
create(input: TimecampusCreateGeofenceInput): Promise<TimecampusGeofence>;
|
|
941
|
+
recordEvent(input: TimecampusRecordGeofenceEventInput): Promise<TimecampusGeofenceEvent>;
|
|
942
|
+
}
|
|
943
|
+
interface TimecampusLocationsApi {
|
|
944
|
+
list(filter?: TimecampusLocationEntryFilterInput, limit?: number, offset?: number): Promise<TimecampusLocationEntryListResponse>;
|
|
945
|
+
create(input: TimecampusCreateLocationEntryInput): Promise<TimecampusLocationEntry>;
|
|
946
|
+
}
|
|
947
|
+
interface TimecampusChannelsApi {
|
|
948
|
+
list(limit?: number, offset?: number): Promise<TimecampusChannelConfig[]>;
|
|
949
|
+
create(input: TimecampusCreateChannelConfigInput): Promise<TimecampusChannelConfig>;
|
|
950
|
+
toggle(id: string, status: TimecampusChannelStatus): Promise<TimecampusChannelConfig>;
|
|
951
|
+
}
|
|
952
|
+
interface TimecampusClientPortalsApi {
|
|
953
|
+
list(limit?: number, offset?: number): Promise<TimecampusClientPortalConfigListResponse>;
|
|
954
|
+
create(input: TimecampusCreateClientPortalConfigInput): Promise<TimecampusClientPortalConfig>;
|
|
955
|
+
}
|
|
956
|
+
interface TimecampusResourcePlansApi {
|
|
957
|
+
list(filter?: TimecampusResourcePlanFilterInput, limit?: number, offset?: number): Promise<TimecampusResourcePlanListResponse>;
|
|
958
|
+
capacityOverview(startDate: string, endDate: string): Promise<TimecampusCapacityOverview>;
|
|
959
|
+
create(input: TimecampusCreateResourcePlanInput): Promise<TimecampusResourcePlan>;
|
|
960
|
+
createAllocation(input: TimecampusCreateAllocationInput): Promise<TimecampusResourcePlan['allocations'][number]>;
|
|
961
|
+
}
|
|
962
|
+
interface TimecampusConfigurationsApi {
|
|
963
|
+
list(scope?: TimecampusConfigScope, scopeId?: string, limit?: number, offset?: number): Promise<TimecampusConfiguration[]>;
|
|
964
|
+
set(input: TimecampusSetConfigurationInput): Promise<TimecampusConfiguration>;
|
|
965
|
+
}
|
|
966
|
+
interface TimecampusUISessionsApi {
|
|
967
|
+
get(): Promise<TimecampusUISession | null>;
|
|
968
|
+
save(input: TimecampusSaveUISessionInput): Promise<TimecampusUISession>;
|
|
969
|
+
}
|
|
970
|
+
interface TimecampusApi {
|
|
971
|
+
timeEntries: TimecampusTimeEntriesApi;
|
|
972
|
+
projects: TimecampusProjectsApi;
|
|
973
|
+
tasks: TimecampusTasksApi;
|
|
974
|
+
approvals: TimecampusApprovalsApi;
|
|
975
|
+
expenses: TimecampusExpensesApi;
|
|
976
|
+
meetings: TimecampusMeetingsApi;
|
|
977
|
+
pomodoro: TimecampusPomodoroApi;
|
|
978
|
+
appUsage: TimecampusAppUsageApi;
|
|
979
|
+
focusScores: TimecampusFocusScoresApi;
|
|
980
|
+
workPatterns: TimecampusWorkPatternsApi;
|
|
981
|
+
geofences: TimecampusGeofencesApi;
|
|
982
|
+
locations: TimecampusLocationsApi;
|
|
983
|
+
channels: TimecampusChannelsApi;
|
|
984
|
+
clientPortals: TimecampusClientPortalsApi;
|
|
985
|
+
resourcePlans: TimecampusResourcePlansApi;
|
|
986
|
+
configurations: TimecampusConfigurationsApi;
|
|
987
|
+
uiSessions: TimecampusUISessionsApi;
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
declare const timecampusModule: SdkModule<TimecampusApi>;
|
|
991
|
+
|
|
992
|
+
export { type TimecampusApi, type TimecampusAppUsageApi, type TimecampusAppUsageRank, type TimecampusAppUsageSummary, type TimecampusApplicationUsage, type TimecampusApprovalRequest, type TimecampusApprovalRequestFilterInput, type TimecampusApprovalRequestListResponse, type TimecampusApprovalStats, type TimecampusApprovalStatus, type TimecampusApprovalsApi, type TimecampusCapacityOverview, type TimecampusChannelConfig, type TimecampusChannelStatus, type TimecampusChannelStatusInfo, type TimecampusChannelType, type TimecampusChannelsApi, type TimecampusClientPortalConfig, type TimecampusClientPortalConfigListResponse, type TimecampusClientPortalsApi, type TimecampusConfigScope, type TimecampusConfiguration, type TimecampusConfigurationsApi, type TimecampusContextInput, type TimecampusCreateAllocationInput, type TimecampusCreateChannelConfigInput, type TimecampusCreateClientPortalConfigInput, type TimecampusCreateExpenseInput, type TimecampusCreateGeofenceInput, type TimecampusCreateLocationEntryInput, type TimecampusCreateMeetingInput, type TimecampusCreateProjectInput, type TimecampusCreateResourcePlanInput, type TimecampusCreateTaskInput, type TimecampusCreateTimeEntryInput, type TimecampusExpenseEntry, type TimecampusExpenseFilterInput, type TimecampusExpenseStats, type TimecampusExpenseStatus, type TimecampusExpensesApi, type TimecampusFocusScore, type TimecampusFocusScoreSummary, type TimecampusFocusScoreTrend, type TimecampusFocusScoresApi, type TimecampusGeofence, type TimecampusGeofenceEvent, type TimecampusGeofenceEventType, type TimecampusGeofenceFilterInput, type TimecampusGeofenceListResponse, type TimecampusGeofenceTrigger, type TimecampusGeofencesApi, type TimecampusLocationEntry, type TimecampusLocationEntryFilterInput, type TimecampusLocationEntryListResponse, type TimecampusLocationsApi, type TimecampusMeeting, type TimecampusMeetingActionItem, type TimecampusMeetingActionItemStatus, type TimecampusMeetingFilterInput, type TimecampusMeetingParticipant, type TimecampusMeetingParticipantRole, type TimecampusMeetingParticipantStatus, type TimecampusMeetingStats, type TimecampusMeetingType, type TimecampusMeetingsApi, type TimecampusPomodoroApi, type TimecampusPomodoroGoal, type TimecampusPomodoroGoalType, type TimecampusPomodoroSession, type TimecampusPomodoroSessionFilterInput, type TimecampusPomodoroSessionType, type TimecampusPomodoroSettings, type TimecampusPomodoroStats, type TimecampusProject, type TimecampusProjectFilterInput, type TimecampusProjectListResponse, type TimecampusProjectStats, type TimecampusProjectsApi, type TimecampusRecordApplicationUsageInput, type TimecampusRecordFocusScoreInput, type TimecampusRecordGeofenceEventInput, type TimecampusRecordWorkPatternInput, type TimecampusResourceAllocation, type TimecampusResourcePlan, type TimecampusResourcePlanFilterInput, type TimecampusResourcePlanListResponse, type TimecampusResourcePlansApi, type TimecampusRunningTimer, type TimecampusSaveUISessionInput, type TimecampusSetConfigurationInput, type TimecampusStartPomodoroSessionInput, type TimecampusStartTimerInput, type TimecampusSubmitApprovalRequestInput, type TimecampusTask, type TimecampusTaskFilterInput, type TimecampusTaskListResponse, type TimecampusTasksApi, type TimecampusTimeEntriesApi, type TimecampusTimeEntry, type TimecampusTimeEntryFilterInput, type TimecampusTimeEntryListResponse, type TimecampusTimeEntryStats, type TimecampusUISession, type TimecampusUISessionsApi, type TimecampusUpdatePomodoroSettingsInput, type TimecampusUpdateProjectInput, type TimecampusWorkPattern, type TimecampusWorkPatternInsight, type TimecampusWorkPatternInsightType, type TimecampusWorkPatternSummary, type TimecampusWorkPatternsApi, timecampusModule as default };
|