@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,519 @@
|
|
|
1
|
+
'use strict';var n=`
|
|
2
|
+
fragment TimeEntryFields on TimeEntry {
|
|
3
|
+
id billable description duration startTime endTime hourlyRate isRunning
|
|
4
|
+
notes projectId taskId source context createdBy updatedBy onBehalfOf
|
|
5
|
+
workspaceId createdAt updatedAt
|
|
6
|
+
}
|
|
7
|
+
`,r=`
|
|
8
|
+
fragment ProjectFields on TimeCampusProject {
|
|
9
|
+
id name description status color clientId budget currency hourlyRate
|
|
10
|
+
estimatedHours trackedHours context createdBy updatedBy onBehalfOf
|
|
11
|
+
workspaceId createdAt updatedAt
|
|
12
|
+
}
|
|
13
|
+
`,u=`
|
|
14
|
+
fragment TaskFields on Task {
|
|
15
|
+
id title description status priority order projectId assigneeId dueDate
|
|
16
|
+
completedAt estimatedHours trackedHours context createdBy updatedBy
|
|
17
|
+
onBehalfOf workspaceId createdAt updatedAt
|
|
18
|
+
}
|
|
19
|
+
`,m=`
|
|
20
|
+
fragment ApprovalFields on TimeApprovalRequest {
|
|
21
|
+
id userId approverId period startDate endDate totalHours billableHours
|
|
22
|
+
status submittedAt reviewedAt reviewer reviewerNotes context createdBy
|
|
23
|
+
updatedBy onBehalfOf workspaceId createdAt updatedAt
|
|
24
|
+
}
|
|
25
|
+
`,T=`
|
|
26
|
+
fragment ExpenseFields on ExpenseEntry {
|
|
27
|
+
id amount currency category date description notes projectId receiptUrl
|
|
28
|
+
status approvedAt approvedBy context userId workspaceId createdAt updatedAt
|
|
29
|
+
}
|
|
30
|
+
`,p=`
|
|
31
|
+
fragment MeetingFields on MeetingMeta {
|
|
32
|
+
id title meetingType startTime endTime duration cost rating notes
|
|
33
|
+
recordingUrl calendarEventId context workspaceId createdAt updatedAt
|
|
34
|
+
participants {
|
|
35
|
+
id userId role status meetingMetaId context workspaceId createdAt updatedAt
|
|
36
|
+
}
|
|
37
|
+
actionItems {
|
|
38
|
+
id title notes status assigneeId dueDate completedAt meetingMetaId
|
|
39
|
+
context workspaceId createdAt updatedAt
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
`,d=`
|
|
43
|
+
fragment PomodoroSessionFields on PomodoroSession {
|
|
44
|
+
id type startTime endTime duration completed interrupted interruptions
|
|
45
|
+
notes projectId taskId context userId workspaceId createdAt updatedAt
|
|
46
|
+
}
|
|
47
|
+
`,A=`
|
|
48
|
+
fragment PomodoroSettingsFields on PomodoroSettings {
|
|
49
|
+
id autoStartBreaks autoStartFocus focusDuration longBreakDuration
|
|
50
|
+
shortBreakDuration sessionsBeforeLongBreak notificationsEnabled soundEnabled
|
|
51
|
+
userId workspaceId createdAt updatedAt
|
|
52
|
+
}
|
|
53
|
+
`,f=`
|
|
54
|
+
fragment AppUsageFields on ApplicationUsage {
|
|
55
|
+
id applicationName category date timeSpent sessions switches firstUsed
|
|
56
|
+
lastUsed context userId workspaceId createdAt updatedAt
|
|
57
|
+
}
|
|
58
|
+
`,l=`
|
|
59
|
+
fragment FocusScoreFields on FocusScore {
|
|
60
|
+
id date overallScore consistencyScore deepWorkScore distractionResistanceScore
|
|
61
|
+
energyManagementScore taskCompletionScore factors context userId workspaceId
|
|
62
|
+
createdAt updatedAt
|
|
63
|
+
}
|
|
64
|
+
`,I=`
|
|
65
|
+
fragment WorkPatternFields on WorkPattern {
|
|
66
|
+
id date breakHours focusHours meetingHours deepWorkSessions interruptions
|
|
67
|
+
energyLevel mood stressLevel peakHours productivityScore context userId
|
|
68
|
+
workspaceId createdAt updatedAt
|
|
69
|
+
}
|
|
70
|
+
`,g=`
|
|
71
|
+
fragment GeofenceFields on Geofence {
|
|
72
|
+
id name address latitude longitude radius trigger isActive linkedProjectId
|
|
73
|
+
context createdBy updatedBy onBehalfOf workspaceId createdAt updatedAt
|
|
74
|
+
events {
|
|
75
|
+
id geofenceId type locationLatitude locationLongitude timestamp userId
|
|
76
|
+
context createdBy updatedBy onBehalfOf workspaceId createdAt updatedAt
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
`,Ue=`
|
|
80
|
+
fragment GeofenceEventFields on GeofenceEvent {
|
|
81
|
+
id geofenceId type locationLatitude locationLongitude timestamp userId
|
|
82
|
+
context createdBy updatedBy onBehalfOf workspaceId createdAt updatedAt
|
|
83
|
+
}
|
|
84
|
+
`,C=`
|
|
85
|
+
fragment LocationFields on LocationEntry {
|
|
86
|
+
id latitude longitude accuracy address startTime endTime duration geofenceId
|
|
87
|
+
projectId context createdBy updatedBy onBehalfOf userId workspaceId
|
|
88
|
+
createdAt updatedAt
|
|
89
|
+
}
|
|
90
|
+
`,E=`
|
|
91
|
+
fragment ChannelFields on ChannelConfig {
|
|
92
|
+
id name type status syncInterval lastSync settings context workspaceId
|
|
93
|
+
createdAt updatedAt
|
|
94
|
+
}
|
|
95
|
+
`,y=`
|
|
96
|
+
fragment ClientPortalFields on ClientPortalConfig {
|
|
97
|
+
id clientName contactEmail contactPhone description logoUrl isActive
|
|
98
|
+
permissions settings context createdBy updatedBy onBehalfOf workspaceId
|
|
99
|
+
createdAt updatedAt
|
|
100
|
+
}
|
|
101
|
+
`,R=`
|
|
102
|
+
fragment AllocationFields on ResourceAllocation {
|
|
103
|
+
id resourcePlanId userId projectId allocatedHours actualHours utilizationRate
|
|
104
|
+
startDate endDate notes context createdBy updatedBy onBehalfOf workspaceId
|
|
105
|
+
createdAt updatedAt
|
|
106
|
+
}
|
|
107
|
+
`,$=`
|
|
108
|
+
${R}
|
|
109
|
+
fragment ResourcePlanFields on ResourcePlan {
|
|
110
|
+
id name description status startDate endDate totalAllocatedHours
|
|
111
|
+
totalActualHours context createdBy updatedBy onBehalfOf workspaceId
|
|
112
|
+
createdAt updatedAt
|
|
113
|
+
allocations { ...AllocationFields }
|
|
114
|
+
}
|
|
115
|
+
`,_=`
|
|
116
|
+
fragment ConfigurationFields on TimeCampusConfiguration {
|
|
117
|
+
id key value scope scopeId description isSecret context workspaceId
|
|
118
|
+
createdAt updatedAt
|
|
119
|
+
}
|
|
120
|
+
`,O=`
|
|
121
|
+
fragment UISessionFields on TimeCampusUISession {
|
|
122
|
+
id activeView preferences state context userId workspaceId createdAt updatedAt
|
|
123
|
+
}
|
|
124
|
+
`,F=`
|
|
125
|
+
${n}
|
|
126
|
+
query GetTimeEntry($id: ID!) { timeEntry(id: $id) { ...TimeEntryFields } }
|
|
127
|
+
`,L=`
|
|
128
|
+
${n}
|
|
129
|
+
query ListTimeEntries($filter: TimeEntryFilterInput, $limit: Int, $offset: Int) {
|
|
130
|
+
timeEntries(filter: $filter, limit: $limit, offset: $offset) {
|
|
131
|
+
items { ...TimeEntryFields }
|
|
132
|
+
total
|
|
133
|
+
hasMore
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
`,D=`
|
|
137
|
+
${n}
|
|
138
|
+
query ListTimeEntriesByDate($date: DateTime!) {
|
|
139
|
+
timeEntriesByDate(date: $date) { ...TimeEntryFields }
|
|
140
|
+
}
|
|
141
|
+
`,k=`
|
|
142
|
+
query GetTimeEntryStats($startDate: DateTime, $endDate: DateTime) {
|
|
143
|
+
timeEntryStats(startDate: $startDate, endDate: $endDate) {
|
|
144
|
+
activeTimers billableHours totalEntries totalHours
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
`,x=`
|
|
148
|
+
${n}
|
|
149
|
+
query ListRunningTimers {
|
|
150
|
+
runningTimers { elapsedSeconds timeEntry { ...TimeEntryFields } }
|
|
151
|
+
}
|
|
152
|
+
`,w=`
|
|
153
|
+
${n}
|
|
154
|
+
mutation CreateTimeEntry($input: CreateTimeEntryInput!) {
|
|
155
|
+
createTimeEntry(input: $input) { ...TimeEntryFields }
|
|
156
|
+
}
|
|
157
|
+
`,G=`
|
|
158
|
+
${n}
|
|
159
|
+
mutation StartTimer($input: StartTimerInput!) {
|
|
160
|
+
startTimer(input: $input) { ...TimeEntryFields }
|
|
161
|
+
}
|
|
162
|
+
`,N=`
|
|
163
|
+
${n}
|
|
164
|
+
mutation StopTimer($id: ID!) { stopTimer(id: $id) { ...TimeEntryFields } }
|
|
165
|
+
`,v=`
|
|
166
|
+
${r}
|
|
167
|
+
query GetTimeCampusProject($id: ID!) { timeCampusProject(id: $id) { ...ProjectFields } }
|
|
168
|
+
`,U=`
|
|
169
|
+
${r}
|
|
170
|
+
query ListTimeCampusProjects($filter: TimeCampusProjectFilterInput, $limit: Int, $offset: Int) {
|
|
171
|
+
timeCampusProjects(filter: $filter, limit: $limit, offset: $offset) {
|
|
172
|
+
items { ...ProjectFields }
|
|
173
|
+
total
|
|
174
|
+
hasMore
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
`,q=`
|
|
178
|
+
query GetTimeCampusProjectStats($id: ID!) {
|
|
179
|
+
timeCampusProjectStats(id: $id) {
|
|
180
|
+
budgetRemaining budgetUsed completedTasks totalHours totalTasks
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
`,M=`
|
|
184
|
+
${r}
|
|
185
|
+
mutation CreateTimeCampusProject($input: CreateTimeCampusProjectInput!) {
|
|
186
|
+
createTimeCampusProject(input: $input) { ...ProjectFields }
|
|
187
|
+
}
|
|
188
|
+
`,j=`
|
|
189
|
+
${r}
|
|
190
|
+
mutation UpdateTimeCampusProject($id: ID!, $input: UpdateTimeCampusProjectInput!) {
|
|
191
|
+
updateTimeCampusProject(id: $id, input: $input) { ...ProjectFields }
|
|
192
|
+
}
|
|
193
|
+
`,h=`
|
|
194
|
+
${u}
|
|
195
|
+
query ListTasks($projectId: ID!, $filter: TaskFilterInput, $limit: Int, $offset: Int) {
|
|
196
|
+
tasks(projectId: $projectId, filter: $filter, limit: $limit, offset: $offset) {
|
|
197
|
+
items { ...TaskFields }
|
|
198
|
+
total
|
|
199
|
+
hasMore
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
`,b=`
|
|
203
|
+
${u}
|
|
204
|
+
mutation CreateTask($input: CreateTaskInput!) {
|
|
205
|
+
createTask(input: $input) { ...TaskFields }
|
|
206
|
+
}
|
|
207
|
+
`,B=`
|
|
208
|
+
${u}
|
|
209
|
+
mutation UpdateTaskStatus($id: ID!, $status: String!) {
|
|
210
|
+
updateTaskStatus(id: $id, status: $status) { ...TaskFields }
|
|
211
|
+
}
|
|
212
|
+
`,W=`
|
|
213
|
+
${m}
|
|
214
|
+
query ListApprovalRequests($filter: ApprovalRequestFilterInput, $limit: Int, $offset: Int) {
|
|
215
|
+
approvalRequests(filter: $filter, limit: $limit, offset: $offset) {
|
|
216
|
+
items { ...ApprovalFields }
|
|
217
|
+
total
|
|
218
|
+
hasMore
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
`,H=`
|
|
222
|
+
${m}
|
|
223
|
+
query ListPendingApprovals { pendingApprovals { ...ApprovalFields } }
|
|
224
|
+
`,V=`
|
|
225
|
+
${m}
|
|
226
|
+
mutation SubmitApprovalRequest($input: SubmitApprovalRequestInput!) {
|
|
227
|
+
submitApprovalRequest(input: $input) { ...ApprovalFields }
|
|
228
|
+
}
|
|
229
|
+
`,Y=`
|
|
230
|
+
${m}
|
|
231
|
+
mutation ApproveRequest($id: ID!, $notes: String) {
|
|
232
|
+
approveRequest(id: $id, notes: $notes) { ...ApprovalFields }
|
|
233
|
+
}
|
|
234
|
+
`,K=`
|
|
235
|
+
${T}
|
|
236
|
+
query ListExpenses($workspaceId: ID!, $filter: ExpenseFilterInput, $limit: Int, $offset: Int) {
|
|
237
|
+
expenses(workspaceId: $workspaceId, filter: $filter, limit: $limit, offset: $offset) {
|
|
238
|
+
...ExpenseFields
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
`,J=`
|
|
242
|
+
query GetExpenseStats($workspaceId: ID!, $startDate: DateTime, $endDate: DateTime) {
|
|
243
|
+
expenseStats(workspaceId: $workspaceId, startDate: $startDate, endDate: $endDate) {
|
|
244
|
+
approvedCount averageAmount byCategory pendingCount totalAmount totalExpenses
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
`,X=`
|
|
248
|
+
${T}
|
|
249
|
+
mutation CreateExpense($input: CreateExpenseInput!) {
|
|
250
|
+
createExpense(input: $input) { ...ExpenseFields }
|
|
251
|
+
}
|
|
252
|
+
`,Q=`
|
|
253
|
+
${T}
|
|
254
|
+
mutation ApproveExpense($id: ID!, $workspaceId: ID!) {
|
|
255
|
+
approveExpense(id: $id, workspaceId: $workspaceId) { ...ExpenseFields }
|
|
256
|
+
}
|
|
257
|
+
`,z=`
|
|
258
|
+
${p}
|
|
259
|
+
query GetMeeting($id: ID!, $workspaceId: ID!) {
|
|
260
|
+
meeting(id: $id, workspaceId: $workspaceId) { ...MeetingFields }
|
|
261
|
+
}
|
|
262
|
+
`,Z=`
|
|
263
|
+
${p}
|
|
264
|
+
query ListMeetings($workspaceId: ID!, $filter: MeetingFilterInput, $limit: Int, $offset: Int) {
|
|
265
|
+
meetings(workspaceId: $workspaceId, filter: $filter, limit: $limit, offset: $offset) {
|
|
266
|
+
...MeetingFields
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
`,ee=`
|
|
270
|
+
query GetMeetingStats($workspaceId: ID!, $startDate: DateTime, $endDate: DateTime) {
|
|
271
|
+
meetingStats(workspaceId: $workspaceId, startDate: $startDate, endDate: $endDate) {
|
|
272
|
+
actionItemsCompleted actionItemsTotal averageDuration averageRating
|
|
273
|
+
totalCost totalDuration totalMeetings
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
`,te=`
|
|
277
|
+
${p}
|
|
278
|
+
mutation CreateMeeting($input: CreateMeetingInput!) {
|
|
279
|
+
createMeeting(input: $input) { ...MeetingFields }
|
|
280
|
+
}
|
|
281
|
+
`,se=`
|
|
282
|
+
${p}
|
|
283
|
+
mutation RateMeeting($id: ID!, $rating: Int!, $workspaceId: ID!) {
|
|
284
|
+
rateMeeting(id: $id, rating: $rating, workspaceId: $workspaceId) { ...MeetingFields }
|
|
285
|
+
}
|
|
286
|
+
`,ae=`
|
|
287
|
+
${d}
|
|
288
|
+
query ListPomodoroSessions(
|
|
289
|
+
$workspaceId: ID!
|
|
290
|
+
$filter: PomodoroSessionFilterInput
|
|
291
|
+
$limit: Int
|
|
292
|
+
$offset: Int
|
|
293
|
+
) {
|
|
294
|
+
pomodoroSessions(
|
|
295
|
+
workspaceId: $workspaceId
|
|
296
|
+
filter: $filter
|
|
297
|
+
limit: $limit
|
|
298
|
+
offset: $offset
|
|
299
|
+
) { ...PomodoroSessionFields }
|
|
300
|
+
}
|
|
301
|
+
`,ie=`
|
|
302
|
+
query GetPomodoroStats($workspaceId: ID!, $startDate: DateTime, $endDate: DateTime) {
|
|
303
|
+
pomodoroStats(workspaceId: $workspaceId, startDate: $startDate, endDate: $endDate) {
|
|
304
|
+
averageSessionMinutes completedSessions completionRate streakDays
|
|
305
|
+
totalFocusMinutes totalSessions
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
`,oe=`
|
|
309
|
+
${d}
|
|
310
|
+
mutation StartPomodoroSession($input: StartPomodoroSessionInput!) {
|
|
311
|
+
startPomodoroSession(input: $input) { ...PomodoroSessionFields }
|
|
312
|
+
}
|
|
313
|
+
`,ne=`
|
|
314
|
+
${d}
|
|
315
|
+
mutation CompletePomodoroSession($id: ID!, $workspaceId: ID!) {
|
|
316
|
+
completePomodoroSession(id: $id, workspaceId: $workspaceId) { ...PomodoroSessionFields }
|
|
317
|
+
}
|
|
318
|
+
`,re=`
|
|
319
|
+
${A}
|
|
320
|
+
query GetPomodoroSettings($workspaceId: ID!) {
|
|
321
|
+
pomodoroSettings(workspaceId: $workspaceId) { ...PomodoroSettingsFields }
|
|
322
|
+
}
|
|
323
|
+
`,me=`
|
|
324
|
+
${A}
|
|
325
|
+
mutation UpdatePomodoroSettings($input: UpdatePomodoroSettingsInput!) {
|
|
326
|
+
updatePomodoroSettings(input: $input) { ...PomodoroSettingsFields }
|
|
327
|
+
}
|
|
328
|
+
`,pe=`
|
|
329
|
+
${f}
|
|
330
|
+
query ListApplicationUsages(
|
|
331
|
+
$userId: ID
|
|
332
|
+
$date: DateTime
|
|
333
|
+
$category: String
|
|
334
|
+
$limit: Int
|
|
335
|
+
$offset: Int
|
|
336
|
+
) {
|
|
337
|
+
applicationUsages(
|
|
338
|
+
userId: $userId
|
|
339
|
+
date: $date
|
|
340
|
+
category: $category
|
|
341
|
+
limit: $limit
|
|
342
|
+
offset: $offset
|
|
343
|
+
) { ...AppUsageFields }
|
|
344
|
+
}
|
|
345
|
+
`,ce=`
|
|
346
|
+
query GetAppUsageSummary($userId: ID, $startDate: DateTime, $endDate: DateTime) {
|
|
347
|
+
appUsageSummary(userId: $userId, startDate: $startDate, endDate: $endDate) {
|
|
348
|
+
distractingTime neutralTime productiveTime productivityRatio totalApps
|
|
349
|
+
topApps { category name sessions timeSpent }
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
`,ue=`
|
|
353
|
+
${f}
|
|
354
|
+
mutation RecordApplicationUsage($input: RecordApplicationUsageInput!) {
|
|
355
|
+
recordApplicationUsage(input: $input) { ...AppUsageFields }
|
|
356
|
+
}
|
|
357
|
+
`,Te=`
|
|
358
|
+
${l}
|
|
359
|
+
query ListFocusScores(
|
|
360
|
+
$userId: ID
|
|
361
|
+
$startDate: DateTime
|
|
362
|
+
$endDate: DateTime
|
|
363
|
+
$limit: Int
|
|
364
|
+
$offset: Int
|
|
365
|
+
) {
|
|
366
|
+
focusScores(
|
|
367
|
+
userId: $userId
|
|
368
|
+
startDate: $startDate
|
|
369
|
+
endDate: $endDate
|
|
370
|
+
limit: $limit
|
|
371
|
+
offset: $offset
|
|
372
|
+
) { ...FocusScoreFields }
|
|
373
|
+
}
|
|
374
|
+
`,de=`
|
|
375
|
+
${l}
|
|
376
|
+
query GetTodayFocusScore { todayFocusScore { ...FocusScoreFields } }
|
|
377
|
+
`,le=`
|
|
378
|
+
${l}
|
|
379
|
+
mutation RecordFocusScore($input: RecordFocusScoreInput!) {
|
|
380
|
+
recordFocusScore(input: $input) { ...FocusScoreFields }
|
|
381
|
+
}
|
|
382
|
+
`,Ie=`
|
|
383
|
+
${I}
|
|
384
|
+
query ListWorkPatterns(
|
|
385
|
+
$userId: ID
|
|
386
|
+
$startDate: DateTime
|
|
387
|
+
$endDate: DateTime
|
|
388
|
+
$limit: Int
|
|
389
|
+
$offset: Int
|
|
390
|
+
) {
|
|
391
|
+
workPatterns(
|
|
392
|
+
userId: $userId
|
|
393
|
+
startDate: $startDate
|
|
394
|
+
endDate: $endDate
|
|
395
|
+
limit: $limit
|
|
396
|
+
offset: $offset
|
|
397
|
+
) { ...WorkPatternFields }
|
|
398
|
+
}
|
|
399
|
+
`,Ee=`
|
|
400
|
+
${I}
|
|
401
|
+
query GetTodayWorkPattern { todayWorkPattern { ...WorkPatternFields } }
|
|
402
|
+
`,Se=`
|
|
403
|
+
${I}
|
|
404
|
+
mutation RecordWorkPattern($input: RecordWorkPatternInput!) {
|
|
405
|
+
recordWorkPattern(input: $input) { ...WorkPatternFields }
|
|
406
|
+
}
|
|
407
|
+
`,Pe=`
|
|
408
|
+
${g}
|
|
409
|
+
query ListGeofences($filter: GeofenceFilterInput, $limit: Int, $offset: Int) {
|
|
410
|
+
geofences(filter: $filter, limit: $limit, offset: $offset) {
|
|
411
|
+
items { ...GeofenceFields }
|
|
412
|
+
total
|
|
413
|
+
hasMore
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
`,Ae=`
|
|
417
|
+
${g}
|
|
418
|
+
mutation CreateGeofence($input: CreateGeofenceInput!) {
|
|
419
|
+
createGeofence(input: $input) { ...GeofenceFields }
|
|
420
|
+
}
|
|
421
|
+
`,fe=`
|
|
422
|
+
${Ue}
|
|
423
|
+
mutation RecordGeofenceEvent($input: RecordGeofenceEventInput!) {
|
|
424
|
+
recordGeofenceEvent(input: $input) { ...GeofenceEventFields }
|
|
425
|
+
}
|
|
426
|
+
`,ge=`
|
|
427
|
+
${C}
|
|
428
|
+
query ListLocationEntries($filter: LocationEntryFilterInput, $limit: Int, $offset: Int) {
|
|
429
|
+
locationEntries(filter: $filter, limit: $limit, offset: $offset) {
|
|
430
|
+
items { ...LocationFields }
|
|
431
|
+
total
|
|
432
|
+
hasMore
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
`,Ce=`
|
|
436
|
+
${C}
|
|
437
|
+
mutation CreateLocationEntry($input: CreateLocationEntryInput!) {
|
|
438
|
+
createLocationEntry(input: $input) { ...LocationFields }
|
|
439
|
+
}
|
|
440
|
+
`,ye=`
|
|
441
|
+
${E}
|
|
442
|
+
query ListChannelConfigs($limit: Int, $offset: Int) {
|
|
443
|
+
channelConfigs(limit: $limit, offset: $offset) { ...ChannelFields }
|
|
444
|
+
}
|
|
445
|
+
`,Re=`
|
|
446
|
+
${E}
|
|
447
|
+
mutation CreateChannelConfig($input: CreateChannelConfigInput!) {
|
|
448
|
+
createChannelConfig(input: $input) { ...ChannelFields }
|
|
449
|
+
}
|
|
450
|
+
`,$e=`
|
|
451
|
+
${E}
|
|
452
|
+
mutation ToggleChannel($id: ID!, $status: ChannelStatus!) {
|
|
453
|
+
toggleChannel(id: $id, status: $status) { ...ChannelFields }
|
|
454
|
+
}
|
|
455
|
+
`,_e=`
|
|
456
|
+
${y}
|
|
457
|
+
query ListClientPortalConfigs($limit: Int, $offset: Int) {
|
|
458
|
+
clientPortalConfigs(limit: $limit, offset: $offset) {
|
|
459
|
+
items { ...ClientPortalFields }
|
|
460
|
+
total
|
|
461
|
+
hasMore
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
`,Oe=`
|
|
465
|
+
${y}
|
|
466
|
+
mutation CreateClientPortalConfig($input: CreateClientPortalConfigInput!) {
|
|
467
|
+
createClientPortalConfig(input: $input) { ...ClientPortalFields }
|
|
468
|
+
}
|
|
469
|
+
`,Fe=`
|
|
470
|
+
${$}
|
|
471
|
+
query ListResourcePlans($filter: ResourcePlanFilterInput, $limit: Int, $offset: Int) {
|
|
472
|
+
resourcePlans(filter: $filter, limit: $limit, offset: $offset) {
|
|
473
|
+
items { ...ResourcePlanFields }
|
|
474
|
+
total
|
|
475
|
+
hasMore
|
|
476
|
+
}
|
|
477
|
+
}
|
|
478
|
+
`,Le=`
|
|
479
|
+
query GetCapacityOverview($startDate: DateTime!, $endDate: DateTime!) {
|
|
480
|
+
capacityOverview(startDate: $startDate, endDate: $endDate) {
|
|
481
|
+
allocatedCapacity availableCapacity overallocatedUsers totalCapacity utilizationRate
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
`,De=`
|
|
485
|
+
${$}
|
|
486
|
+
mutation CreateResourcePlan($input: CreateResourcePlanInput!) {
|
|
487
|
+
createResourcePlan(input: $input) { ...ResourcePlanFields }
|
|
488
|
+
}
|
|
489
|
+
`,ke=`
|
|
490
|
+
${R}
|
|
491
|
+
mutation CreateAllocation($input: CreateAllocationInput!) {
|
|
492
|
+
createAllocation(input: $input) { ...AllocationFields }
|
|
493
|
+
}
|
|
494
|
+
`,xe=`
|
|
495
|
+
${_}
|
|
496
|
+
query ListTimeCampusConfigurations(
|
|
497
|
+
$scope: TimeCampusConfigScope
|
|
498
|
+
$scopeId: String
|
|
499
|
+
$limit: Int
|
|
500
|
+
$offset: Int
|
|
501
|
+
) {
|
|
502
|
+
timeCampusConfigurations(scope: $scope, scopeId: $scopeId, limit: $limit, offset: $offset) {
|
|
503
|
+
...ConfigurationFields
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
`,we=`
|
|
507
|
+
${_}
|
|
508
|
+
mutation SetTimeCampusConfiguration($input: SetTimeCampusConfigurationInput!) {
|
|
509
|
+
setTimeCampusConfiguration(input: $input) { ...ConfigurationFields }
|
|
510
|
+
}
|
|
511
|
+
`,Ge=`
|
|
512
|
+
${O}
|
|
513
|
+
query GetTimeCampusUISession { timeCampusUISession { ...UISessionFields } }
|
|
514
|
+
`,Ne=`
|
|
515
|
+
${O}
|
|
516
|
+
mutation SaveTimeCampusUISession($input: SaveTimeCampusUISessionInput!) {
|
|
517
|
+
saveTimeCampusUISession(input: $input) { ...UISessionFields }
|
|
518
|
+
}
|
|
519
|
+
`;function ve(c){let{workspace:s}=c.gql;return {timeEntries:{async get(e){return (await s.request(F,{id:e})).timeEntry},async list(e,t,a){return (await s.request(L,{filter:e,limit:t,offset:a})).timeEntries},async byDate(e){return (await s.request(D,{date:e})).timeEntriesByDate},async stats(e,t){return (await s.request(k,{startDate:e,endDate:t})).timeEntryStats},async runningTimers(){return (await s.request(x)).runningTimers},async create(e){return (await s.request(w,{input:e})).createTimeEntry},async startTimer(e){return (await s.request(G,{input:e})).startTimer},async stopTimer(e){return (await s.request(N,{id:e})).stopTimer}},projects:{async get(e){return (await s.request(v,{id:e})).timeCampusProject},async list(e,t,a){return (await s.request(U,{filter:e,limit:t,offset:a})).timeCampusProjects},async stats(e){return (await s.request(q,{id:e})).timeCampusProjectStats},async create(e){return (await s.request(M,{input:e})).createTimeCampusProject},async update(e,t){return (await s.request(j,{id:e,input:t})).updateTimeCampusProject}},tasks:{async list(e,t,a,i){return (await s.request(h,{projectId:e,filter:t,limit:a,offset:i})).tasks},async create(e){return (await s.request(b,{input:e})).createTask},async updateStatus(e,t){return (await s.request(B,{id:e,status:t})).updateTaskStatus}},approvals:{async list(e,t,a){return (await s.request(W,{filter:e,limit:t,offset:a})).approvalRequests},async pending(){return (await s.request(H)).pendingApprovals},async submit(e){return (await s.request(V,{input:e})).submitApprovalRequest},async approve(e,t){return (await s.request(Y,{id:e,notes:t})).approveRequest}},expenses:{async list(e,t,a,i){return (await s.request(K,{workspaceId:e,filter:t,limit:a,offset:i})).expenses},async stats(e,t,a){return (await s.request(J,{workspaceId:e,startDate:t,endDate:a})).expenseStats},async create(e){return (await s.request(X,{input:e})).createExpense},async approve(e,t){return (await s.request(Q,{id:e,workspaceId:t})).approveExpense}},meetings:{async get(e,t){return (await s.request(z,{id:e,workspaceId:t})).meeting},async list(e,t,a,i){return (await s.request(Z,{workspaceId:e,filter:t,limit:a,offset:i})).meetings},async stats(e,t,a){return (await s.request(ee,{workspaceId:e,startDate:t,endDate:a})).meetingStats},async create(e){return (await s.request(te,{input:e})).createMeeting},async rate(e,t,a){return (await s.request(se,{id:e,rating:t,workspaceId:a})).rateMeeting}},pomodoro:{async sessions(e,t,a,i){return (await s.request(ae,{workspaceId:e,filter:t,limit:a,offset:i})).pomodoroSessions},async stats(e,t,a){return (await s.request(ie,{workspaceId:e,startDate:t,endDate:a})).pomodoroStats},async start(e){return (await s.request(oe,{input:e})).startPomodoroSession},async complete(e,t){return (await s.request(ne,{id:e,workspaceId:t})).completePomodoroSession},async settings(e){return (await s.request(re,{workspaceId:e})).pomodoroSettings},async updateSettings(e){return (await s.request(me,{input:e})).updatePomodoroSettings}},appUsage:{async list(e,t,a,i,o){return (await s.request(pe,{userId:e,date:t,category:a,limit:i,offset:o})).applicationUsages},async summary(e,t,a){return (await s.request(ce,{userId:e,startDate:t,endDate:a})).appUsageSummary},async record(e){return (await s.request(ue,{input:e})).recordApplicationUsage}},focusScores:{async list(e,t,a,i,o){return (await s.request(Te,{userId:e,startDate:t,endDate:a,limit:i,offset:o})).focusScores},async today(){return (await s.request(de)).todayFocusScore},async record(e){return (await s.request(le,{input:e})).recordFocusScore}},workPatterns:{async list(e,t,a,i,o){return (await s.request(Ie,{userId:e,startDate:t,endDate:a,limit:i,offset:o})).workPatterns},async today(){return (await s.request(Ee)).todayWorkPattern},async record(e){return (await s.request(Se,{input:e})).recordWorkPattern}},geofences:{async list(e,t,a){return (await s.request(Pe,{filter:e,limit:t,offset:a})).geofences},async create(e){return (await s.request(Ae,{input:e})).createGeofence},async recordEvent(e){return (await s.request(fe,{input:e})).recordGeofenceEvent}},locations:{async list(e,t,a){return (await s.request(ge,{filter:e,limit:t,offset:a})).locationEntries},async create(e){return (await s.request(Ce,{input:e})).createLocationEntry}},channels:{async list(e,t){return (await s.request(ye,{limit:e,offset:t})).channelConfigs},async create(e){return (await s.request(Re,{input:e})).createChannelConfig},async toggle(e,t){return (await s.request($e,{id:e,status:t})).toggleChannel}},clientPortals:{async list(e,t){return (await s.request(_e,{limit:e,offset:t})).clientPortalConfigs},async create(e){return (await s.request(Oe,{input:e})).createClientPortalConfig}},resourcePlans:{async list(e,t,a){return (await s.request(Fe,{filter:e,limit:t,offset:a})).resourcePlans},async capacityOverview(e,t){return (await s.request(Le,{startDate:e,endDate:t})).capacityOverview},async create(e){return (await s.request(De,{input:e})).createResourcePlan},async createAllocation(e){return (await s.request(ke,{input:e})).createAllocation}},configurations:{async list(e,t,a,i){return (await s.request(xe,{scope:e,scopeId:t,limit:a,offset:i})).timeCampusConfigurations},async set(e){return (await s.request(we,{input:e})).setTimeCampusConfiguration}},uiSessions:{async get(){return (await s.request(Ge)).timeCampusUISession},async save(e){return (await s.request(Ne,{input:e})).saveTimeCampusUISession}}}}var qe={id:"timecampus",version:"1.0.0",displayName:"Timecampus",dependsOn:["auth"],attach(c){return ve(c)}},mt=qe;module.exports=mt;
|