@jsb188/graphql 1.1.12 → 1.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/audience.d.ts +14 -152
- package/cache/config.ts +35 -32
- package/cache/index.helpers.ts +1 -1
- package/cache/index.ts +73 -44
- package/cache/mounted-queries.ts +33 -0
- package/cache/persist.ts +10 -4
- package/cache/realtime-fence.ts +47 -0
- package/cache/realtime-live.ts +17 -0
- package/client/draft-persistence.ts +10 -39
- package/client/index.ts +2 -1
- package/client/request.ts +9 -34
- package/client/storage-asset.ts +58 -0
- package/gql/fragments/accountAuthFragments.ts +0 -4
- package/gql/fragments/agentNoteFragments.ts +8 -2
- package/gql/fragments/aiChatFragments.ts +0 -2
- package/gql/fragments/aiChatLinkFragments.ts +8 -0
- package/gql/fragments/audienceFragments.ts +1 -66
- package/gql/fragments/emailFragments.ts +27 -4
- package/gql/fragments/emailOutreachFragments.ts +281 -0
- package/gql/fragments/inboundContactFragments.ts +1 -1
- package/gql/fragments/libraryFragments.ts +120 -0
- package/gql/fragments/organizationFragments.ts +4 -2
- package/gql/fragments/scheduleFragments.ts +241 -324
- package/gql/fragments/sheetFragments.ts +4 -53
- package/gql/fragments/workWaitFragments.ts +13 -0
- package/gql/fragments/workflowFragments.ts +20 -4
- package/gql/mutations/agentNoteMutations.ts +2 -0
- package/gql/mutations/aiChatLinkMutations.ts +13 -0
- package/gql/mutations/aiChatMutations.ts +4 -6
- package/gql/mutations/audienceMutations.ts +0 -13
- package/gql/mutations/authMutations.ts +12 -60
- package/gql/mutations/emailMutations.ts +22 -0
- package/gql/mutations/emailOutreachMutations.ts +139 -0
- package/gql/mutations/index.ts +3 -1
- package/gql/mutations/organizationMutations.ts +2 -2
- package/gql/mutations/scheduleMutations.ts +61 -787
- package/gql/mutations/storageMutations.ts +1 -0
- package/gql/mutations/workflowMutations.ts +76 -0
- package/gql/queries/agentMemoryQueries.ts +6 -2
- package/gql/queries/agentNoteQueries.ts +26 -29
- package/gql/queries/aiChatQueries.ts +39 -40
- package/gql/queries/audienceQueries.ts +31 -55
- package/gql/queries/authQueries.ts +16 -6
- package/gql/queries/billingQueries.ts +26 -10
- package/gql/queries/dataTableQueries.ts +24 -15
- package/gql/queries/emailOutreachQueries.ts +282 -0
- package/gql/queries/emailQueries.ts +39 -12
- package/gql/queries/emailReplyReportQueries.ts +60 -9
- package/gql/queries/fieldDocQueries.ts +36 -14
- package/gql/queries/inboundContactQueries.ts +11 -4
- package/gql/queries/index.ts +2 -2
- package/gql/queries/libraryQueries.ts +112 -0
- package/gql/queries/logQueries.ts +31 -12
- package/gql/queries/organizationQueries.ts +31 -12
- package/gql/queries/qrCodeQueries.ts +11 -4
- package/gql/queries/scheduleQueries.ts +252 -505
- package/gql/queries/sheetQueries.ts +36 -14
- package/gql/queries/storageQueries.ts +11 -4
- package/gql/queries/workflowQueries.ts +53 -10
- package/gql/reactivity.ts +98 -0
- package/gql/recordReads.ts +171 -0
- package/hooks/index.ts +79 -52
- package/hooks/use-agentNote-mtn.ts +7 -0
- package/hooks/use-agentNote-qry.ts +30 -58
- package/hooks/use-agentNote-recovery.ts +6 -21
- package/hooks/use-aiChat-mtn.ts +9 -4
- package/hooks/use-aiChat-qry.ts +28 -7
- package/hooks/use-audience-mtn.ts +0 -24
- package/hooks/use-audience-qry.helpers.ts +0 -24
- package/hooks/use-audience-qry.ts +1 -86
- package/hooks/use-dataTable-mtn.ts +3 -3
- package/hooks/use-dataTable-qry.ts +7 -2
- package/hooks/use-email-mtn.ts +26 -0
- package/hooks/use-email-qry.helpers.ts +1 -1
- package/hooks/use-email-qry.ts +18 -3
- package/hooks/use-emailOutreach-mtn.ts +211 -0
- package/hooks/use-emailOutreach-qry.helpers.ts +25 -0
- package/hooks/use-emailOutreach-qry.ts +367 -0
- package/hooks/use-emailOutreachReplyReport-qry.ts +46 -0
- package/hooks/use-fieldDoc-qry.ts +1 -1
- package/hooks/use-library-qry.ts +233 -0
- package/hooks/use-qrCode-qry.ts +1 -1
- package/hooks/use-schedule-mtn.ts +10 -300
- package/hooks/use-schedule-qry.ts +168 -680
- package/hooks/use-schedule-reactive.ts +71 -339
- package/hooks/use-sheet-qry.ts +6 -1
- package/hooks/use-workflow-mtn.ts +45 -1
- package/hooks/use-workflow-qry.ts +22 -2
- package/libs/ai-chat-link-events.ts +78 -0
- package/libs/data-changes.helpers.ts +161 -0
- package/libs/data-changes.ts +382 -0
- package/libs/fragment-realtime-sequence.ts +3 -3
- package/libs/record-read.ts +327 -0
- package/libs/sheet-command-batch.ts +3 -2
- package/libs/sheet-realtime-packet.ts +53 -0
- package/loaders/emailPreference.ts +18 -24
- package/package.json +44 -17
- package/schedule.d.ts +267 -874
- package/types.d.ts +3 -1
- package/cache/index.chat-activity.test.ts +0 -119
- package/cache/index.chat.test.ts +0 -92
- package/cache/index.regression.test.ts +0 -149
- package/cache/index.test.ts +0 -1209
- package/deno.lock +0 -187
- package/deno.test.json +0 -12
- package/gql/fragments/campaignFragments.ts +0 -566
- package/gql/mutations/campaignMutations.ts +0 -258
- package/gql/queries/appQueries.ts +0 -14
- package/gql/queries/campaignQueries.ts +0 -236
- package/hooks/index.helpers.test.ts +0 -50
- package/hooks/use-agentNote-recovery.helpers.test.ts +0 -68
- package/hooks/use-aiChat-qry.helpers.test.ts +0 -63
- package/hooks/use-app-qry.ts +0 -22
- package/hooks/use-audience-qry.helpers.test.ts +0 -80
- package/hooks/use-campaign-generation-recovery.ts +0 -53
- package/hooks/use-campaign-mtn.ts +0 -436
- package/hooks/use-campaign-qry.helpers.ts +0 -40
- package/hooks/use-campaign-qry.ts +0 -834
- package/hooks/use-emailCampaignReplyReport-qry.ts +0 -27
- package/hooks/use-fieldDoc-qry.helpers.test.ts +0 -65
- package/hooks/use-publicFormEmail-mtn.ts +0 -27
- package/libs/fragment-recovery.test.ts +0 -326
- package/libs/fragment-recovery.ts +0 -325
- package/libs/orchestrator-realtime.helpers.test.ts +0 -229
- package/libs/orchestrator-realtime.helpers.ts +0 -317
- package/libs/orchestrator-realtime.ts +0 -433
- package/libs/request-cache-regression.test.ts +0 -122
- package/libs/request-managed-session.test.ts +0 -574
- package/libs/request-no-store.test.ts +0 -419
- package/libs/sheet-view-realtime-router.test.ts +0 -214
- package/libs/sse-ticket.test.ts +0 -26
- package/loaders/campaign.test.ts +0 -186
- package/loaders/campaign.ts +0 -110
- package/tests/agent-note-detail-cache.test.ts +0 -120
- package/tests/agent-note-search.test.ts +0 -444
- package/tsconfig.json +0 -13
|
@@ -1,5 +1,10 @@
|
|
|
1
|
-
//
|
|
2
|
-
//
|
|
1
|
+
// One fragment per schedule row type; every query and mutation selects a row
|
|
2
|
+
// through its fragment. Shared row selections exclude viewer permissions and
|
|
3
|
+
// private notification preferences.
|
|
4
|
+
// Keep server realtime projections (SCHEDULE_PROJECTIONS in
|
|
5
|
+
// server/src/utils/graphql-data.helpers.ts) aligned with these fields.
|
|
6
|
+
// Value types without an id (eligibility, usage days, variance rows, windows
|
|
7
|
+
// and payloads) stay inline: the cache keys a fragment by its id.
|
|
3
8
|
|
|
4
9
|
export const scheduleCalendarFragment = `fragment scheduleCalendarFragment on ScheduleCalendar {
|
|
5
10
|
revision
|
|
@@ -12,18 +17,41 @@ siteId
|
|
|
12
17
|
workCalendarId
|
|
13
18
|
color
|
|
14
19
|
settings {
|
|
15
|
-
|
|
16
|
-
|
|
20
|
+
cycle {
|
|
21
|
+
enabled
|
|
22
|
+
weeks
|
|
23
|
+
prepareDaysBefore
|
|
24
|
+
prepareAtHour
|
|
25
|
+
}
|
|
26
|
+
instructions {
|
|
27
|
+
key
|
|
28
|
+
text
|
|
29
|
+
}
|
|
30
|
+
requestPolicy {
|
|
17
31
|
autoApproveClaims
|
|
18
32
|
autoApproveDrops
|
|
19
|
-
|
|
20
|
-
|
|
33
|
+
autoApproveCallOuts
|
|
34
|
+
autoApproveSwaps
|
|
21
35
|
minNoticeHours
|
|
36
|
+
requestExpiryHours
|
|
22
37
|
}
|
|
38
|
+
offerDefaults {
|
|
39
|
+
waveSize
|
|
40
|
+
responseWindowMinutes
|
|
41
|
+
autoApprove
|
|
42
|
+
autoOfferOnOpen
|
|
43
|
+
quietHours {
|
|
44
|
+
start
|
|
45
|
+
end
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
decisionMakers
|
|
49
|
+
staffVisibility
|
|
23
50
|
notify {
|
|
24
|
-
|
|
51
|
+
defaultChannels
|
|
25
52
|
}
|
|
26
53
|
}
|
|
54
|
+
preparedThrough
|
|
27
55
|
ordinal
|
|
28
56
|
access {
|
|
29
57
|
team public network
|
|
@@ -34,6 +62,17 @@ createdAt
|
|
|
34
62
|
updatedAt
|
|
35
63
|
}`;
|
|
36
64
|
|
|
65
|
+
export const scheduleWorkCalendarExceptionFragment = `fragment scheduleWorkCalendarExceptionFragment on ScheduleWorkCalendarException {
|
|
66
|
+
id
|
|
67
|
+
workCalendarId
|
|
68
|
+
date
|
|
69
|
+
ranges {
|
|
70
|
+
start
|
|
71
|
+
end
|
|
72
|
+
}
|
|
73
|
+
note
|
|
74
|
+
}`;
|
|
75
|
+
|
|
37
76
|
export const scheduleWorkCalendarFragment = `fragment scheduleWorkCalendarFragment on ScheduleWorkCalendar {
|
|
38
77
|
id
|
|
39
78
|
organizationId
|
|
@@ -57,6 +96,15 @@ createdAt
|
|
|
57
96
|
updatedAt
|
|
58
97
|
}`;
|
|
59
98
|
|
|
99
|
+
export const scheduleResourceCapacityFragment = `fragment scheduleResourceCapacityFragment on ScheduleResourceCapacity {
|
|
100
|
+
id
|
|
101
|
+
resourceId
|
|
102
|
+
startsOn
|
|
103
|
+
endsOn
|
|
104
|
+
maxUnitsPerDay
|
|
105
|
+
note
|
|
106
|
+
}`;
|
|
107
|
+
|
|
60
108
|
export const scheduleResourceFragment = `fragment scheduleResourceFragment on ScheduleResource {
|
|
61
109
|
id
|
|
62
110
|
organizationId
|
|
@@ -75,9 +123,10 @@ qualifications {
|
|
|
75
123
|
key
|
|
76
124
|
expiresAt
|
|
77
125
|
}
|
|
78
|
-
roles
|
|
79
126
|
tags
|
|
80
|
-
|
|
127
|
+
preferences {
|
|
128
|
+
targetWeeklyMinutes
|
|
129
|
+
}
|
|
81
130
|
}
|
|
82
131
|
ordinal
|
|
83
132
|
retiredAt
|
|
@@ -86,107 +135,183 @@ createdAt
|
|
|
86
135
|
updatedAt
|
|
87
136
|
}`;
|
|
88
137
|
|
|
89
|
-
export const
|
|
138
|
+
export const scheduleRoleFragment = `fragment scheduleRoleFragment on ScheduleRole {
|
|
90
139
|
id
|
|
91
140
|
organizationId
|
|
92
|
-
calendarId
|
|
93
|
-
resourceId
|
|
94
|
-
kind
|
|
95
|
-
title
|
|
96
|
-
note
|
|
97
|
-
location
|
|
98
|
-
recurrence {
|
|
99
|
-
freq
|
|
100
|
-
interval
|
|
101
|
-
byWeekday
|
|
102
|
-
byMonthDay
|
|
103
|
-
byMonth
|
|
104
|
-
count
|
|
105
|
-
until
|
|
106
|
-
}
|
|
107
|
-
timeZone
|
|
108
|
-
startsAt
|
|
109
|
-
endsAt
|
|
110
|
-
durationMinutes
|
|
111
|
-
allDay
|
|
112
|
-
slotTemplate {
|
|
113
141
|
key
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
roles
|
|
118
|
-
qualifications
|
|
119
|
-
tags
|
|
120
|
-
}
|
|
142
|
+
name
|
|
143
|
+
color
|
|
144
|
+
requiredQualifications
|
|
121
145
|
ordinal
|
|
122
|
-
|
|
123
|
-
active
|
|
124
|
-
materializedThrough
|
|
125
|
-
finishedAt
|
|
126
|
-
version
|
|
146
|
+
archivedAt
|
|
127
147
|
createdAt
|
|
128
148
|
updatedAt
|
|
129
149
|
}`;
|
|
130
150
|
|
|
131
|
-
export const
|
|
151
|
+
export const scheduleShiftFragment = `fragment scheduleShiftFragment on ScheduleShift {
|
|
132
152
|
id
|
|
133
153
|
organizationId
|
|
134
154
|
calendarId
|
|
135
|
-
|
|
136
|
-
recurrenceDate
|
|
137
|
-
resourceId
|
|
138
|
-
kind
|
|
139
|
-
title
|
|
140
|
-
note
|
|
141
|
-
location
|
|
155
|
+
shiftDate
|
|
142
156
|
startAt
|
|
143
157
|
endAt
|
|
144
|
-
|
|
145
|
-
|
|
158
|
+
roleId
|
|
159
|
+
locationResourceId
|
|
160
|
+
assigneeResourceId
|
|
161
|
+
unpaidBreakMinutes
|
|
162
|
+
label
|
|
163
|
+
note
|
|
146
164
|
status
|
|
147
|
-
|
|
165
|
+
createdVia
|
|
166
|
+
templateItemId
|
|
167
|
+
copiedFromShiftId
|
|
148
168
|
version
|
|
149
|
-
|
|
169
|
+
publishedAt
|
|
170
|
+
canceledAt
|
|
171
|
+
createdAt
|
|
172
|
+
updatedAt
|
|
173
|
+
}`;
|
|
174
|
+
|
|
175
|
+
export const scheduleShiftChangeFragment = `fragment scheduleShiftChangeFragment on ScheduleShiftChange {
|
|
150
176
|
id
|
|
151
|
-
|
|
152
|
-
|
|
177
|
+
shiftId
|
|
178
|
+
kind
|
|
179
|
+
via
|
|
180
|
+
fromResourceId
|
|
181
|
+
toResourceId
|
|
182
|
+
previousValues {
|
|
183
|
+
startAt
|
|
184
|
+
endAt
|
|
185
|
+
shiftDate
|
|
186
|
+
roleId
|
|
187
|
+
locationResourceId
|
|
188
|
+
unpaidBreakMinutes
|
|
153
189
|
label
|
|
154
|
-
|
|
155
|
-
predicate {
|
|
156
|
-
roles
|
|
157
|
-
qualifications
|
|
158
|
-
tags
|
|
190
|
+
note
|
|
159
191
|
}
|
|
160
|
-
|
|
192
|
+
nextValues {
|
|
193
|
+
startAt
|
|
194
|
+
endAt
|
|
195
|
+
shiftDate
|
|
196
|
+
roleId
|
|
197
|
+
locationResourceId
|
|
198
|
+
unpaidBreakMinutes
|
|
199
|
+
label
|
|
200
|
+
note
|
|
161
201
|
}
|
|
162
|
-
|
|
202
|
+
requestId
|
|
203
|
+
actorAccountId
|
|
204
|
+
createdAt
|
|
205
|
+
}`;
|
|
206
|
+
|
|
207
|
+
export const scheduleRequestFragment = `fragment scheduleRequestFragment on ScheduleRequest {
|
|
163
208
|
id
|
|
164
|
-
|
|
209
|
+
organizationId
|
|
210
|
+
calendarId
|
|
211
|
+
kind
|
|
212
|
+
status
|
|
213
|
+
requesterResourceId
|
|
214
|
+
requesterAccountId
|
|
215
|
+
shiftId
|
|
216
|
+
targetShiftId
|
|
217
|
+
counterpartyResourceId
|
|
218
|
+
proposedStartAt
|
|
219
|
+
proposedEndAt
|
|
220
|
+
subjectStartAt
|
|
221
|
+
via
|
|
222
|
+
reason
|
|
223
|
+
counterpartyRespondedAt
|
|
224
|
+
autoApproved
|
|
225
|
+
deciderAccountId
|
|
226
|
+
decidedAt
|
|
227
|
+
decisionNote
|
|
228
|
+
expiresAt
|
|
229
|
+
closedAt
|
|
230
|
+
version
|
|
231
|
+
createdAt
|
|
232
|
+
updatedAt
|
|
233
|
+
cursor
|
|
234
|
+
}`;
|
|
235
|
+
|
|
236
|
+
export const scheduleTimeOffFragment = `fragment scheduleTimeOffFragment on ScheduleTimeOff {
|
|
237
|
+
id
|
|
238
|
+
organizationId
|
|
165
239
|
resourceId
|
|
166
240
|
accountId
|
|
167
|
-
|
|
168
|
-
|
|
241
|
+
requesterAccountId
|
|
242
|
+
startAt
|
|
243
|
+
endAt
|
|
244
|
+
allDay
|
|
245
|
+
timeZone
|
|
169
246
|
status
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
timeOffId
|
|
176
|
-
workflowId
|
|
177
|
-
}
|
|
178
|
-
releasedAt
|
|
247
|
+
reason
|
|
248
|
+
deciderAccountId
|
|
249
|
+
decidedAt
|
|
250
|
+
decisionNote
|
|
251
|
+
version
|
|
179
252
|
createdAt
|
|
180
253
|
updatedAt
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
254
|
+
cursor
|
|
255
|
+
}`;
|
|
256
|
+
|
|
257
|
+
export const scheduleTaskFragment = `fragment scheduleTaskFragment on ScheduleTask {
|
|
258
|
+
id
|
|
259
|
+
organizationId
|
|
260
|
+
calendarId
|
|
261
|
+
projectId
|
|
262
|
+
activityId
|
|
263
|
+
shiftId
|
|
264
|
+
title
|
|
265
|
+
note
|
|
266
|
+
assigneeResourceId
|
|
267
|
+
dueAt
|
|
268
|
+
dueAllDay
|
|
269
|
+
timeZone
|
|
270
|
+
status
|
|
271
|
+
priority
|
|
272
|
+
completedAt
|
|
273
|
+
completedByAccountId
|
|
274
|
+
createdVia
|
|
275
|
+
ordinal
|
|
276
|
+
version
|
|
277
|
+
createdByAccountId
|
|
186
278
|
createdAt
|
|
187
279
|
updatedAt
|
|
188
280
|
}`;
|
|
189
281
|
|
|
282
|
+
export const scheduleViolationFragment = `fragment scheduleViolationFragment on ScheduleViolation {
|
|
283
|
+
id
|
|
284
|
+
calendarId
|
|
285
|
+
ruleId
|
|
286
|
+
shiftId
|
|
287
|
+
resourceId
|
|
288
|
+
kind
|
|
289
|
+
code
|
|
290
|
+
severity
|
|
291
|
+
violationKey
|
|
292
|
+
identityKey
|
|
293
|
+
startAt
|
|
294
|
+
endAt
|
|
295
|
+
degree
|
|
296
|
+
message
|
|
297
|
+
detail
|
|
298
|
+
evaluatedAt
|
|
299
|
+
}`;
|
|
300
|
+
|
|
301
|
+
export const schedulePublicationFragment = `fragment schedulePublicationFragment on SchedulePublication {
|
|
302
|
+
id
|
|
303
|
+
calendarId
|
|
304
|
+
windowStart
|
|
305
|
+
windowEnd
|
|
306
|
+
shiftCount
|
|
307
|
+
acknowledgedWarningCount
|
|
308
|
+
acknowledgedViolationKeys
|
|
309
|
+
publishedByAccountId
|
|
310
|
+
publishedAt
|
|
311
|
+
notificationId
|
|
312
|
+
cursor
|
|
313
|
+
}`;
|
|
314
|
+
|
|
190
315
|
export const scheduleProjectFragment = `fragment scheduleProjectFragment on ScheduleProject {
|
|
191
316
|
id
|
|
192
317
|
organizationId
|
|
@@ -245,6 +370,20 @@ createdAt
|
|
|
245
370
|
updatedAt
|
|
246
371
|
}`;
|
|
247
372
|
|
|
373
|
+
export const scheduleWbsNodeFragment = `fragment scheduleWbsNodeFragment on ScheduleWbsNode {
|
|
374
|
+
id
|
|
375
|
+
projectId
|
|
376
|
+
parentId
|
|
377
|
+
code
|
|
378
|
+
name
|
|
379
|
+
path
|
|
380
|
+
depth
|
|
381
|
+
ordinal
|
|
382
|
+
startAt
|
|
383
|
+
finishAt
|
|
384
|
+
percentComplete
|
|
385
|
+
}`;
|
|
386
|
+
|
|
248
387
|
export const scheduleActivityFragment = `fragment scheduleActivityFragment on ScheduleActivity {
|
|
249
388
|
id
|
|
250
389
|
organizationId
|
|
@@ -309,6 +448,17 @@ createdAt
|
|
|
309
448
|
updatedAt
|
|
310
449
|
}`;
|
|
311
450
|
|
|
451
|
+
export const scheduleActivityAssignmentFragment = `fragment scheduleActivityAssignmentFragment on ScheduleActivityAssignment {
|
|
452
|
+
id
|
|
453
|
+
projectId
|
|
454
|
+
activityId
|
|
455
|
+
resourceId
|
|
456
|
+
plannedUnits
|
|
457
|
+
unitsPerDay
|
|
458
|
+
actualUnits
|
|
459
|
+
remainingUnits
|
|
460
|
+
}`;
|
|
461
|
+
|
|
312
462
|
export const scheduleProjectRunFragment = `fragment scheduleProjectRunFragment on ScheduleProjectRun {
|
|
313
463
|
organizationId
|
|
314
464
|
revision
|
|
@@ -391,113 +541,8 @@ updatedAt
|
|
|
391
541
|
cursor
|
|
392
542
|
}`;
|
|
393
543
|
|
|
394
|
-
export const
|
|
395
|
-
id
|
|
396
|
-
organizationId
|
|
397
|
-
calendarId
|
|
398
|
-
kind
|
|
399
|
-
status
|
|
400
|
-
requesterResourceId
|
|
401
|
-
requesterAccountId
|
|
402
|
-
occurrenceId
|
|
403
|
-
slotKey
|
|
404
|
-
sourceAssignmentId
|
|
405
|
-
targetOccurrenceId
|
|
406
|
-
targetAssignmentId
|
|
407
|
-
counterpartyResourceId
|
|
408
|
-
subjectStartAt
|
|
409
|
-
reason
|
|
410
|
-
counterpartyRespondedAt
|
|
411
|
-
autoApproved
|
|
412
|
-
deciderAccountId
|
|
413
|
-
decidedAt
|
|
414
|
-
decisionNote
|
|
415
|
-
resultAssignmentId
|
|
416
|
-
expiresAt
|
|
417
|
-
version
|
|
418
|
-
createdAt
|
|
419
|
-
updatedAt
|
|
420
|
-
cursor
|
|
421
|
-
}`;
|
|
422
|
-
|
|
423
|
-
export const scheduleTimeOffFragment = `fragment scheduleTimeOffFragment on ScheduleTimeOff {
|
|
424
|
-
id
|
|
425
|
-
organizationId
|
|
426
|
-
resourceId
|
|
427
|
-
accountId
|
|
428
|
-
requesterAccountId
|
|
429
|
-
startAt
|
|
430
|
-
endAt
|
|
431
|
-
allDay
|
|
432
|
-
timeZone
|
|
433
|
-
status
|
|
434
|
-
reason
|
|
435
|
-
deciderAccountId
|
|
436
|
-
decidedAt
|
|
437
|
-
decisionNote
|
|
438
|
-
version
|
|
439
|
-
createdAt
|
|
440
|
-
updatedAt
|
|
441
|
-
cursor
|
|
442
|
-
}`;
|
|
443
|
-
|
|
444
|
-
export const scheduleViolationFragment = `fragment scheduleViolationFragment on ScheduleViolation {
|
|
445
|
-
id
|
|
446
|
-
calendarId
|
|
447
|
-
ruleId
|
|
448
|
-
occurrenceId
|
|
449
|
-
resourceId
|
|
450
|
-
slotKey
|
|
451
|
-
kind
|
|
452
|
-
code
|
|
453
|
-
severity
|
|
454
|
-
violationKey
|
|
455
|
-
identityKey
|
|
456
|
-
startAt
|
|
457
|
-
endAt
|
|
458
|
-
degree
|
|
459
|
-
message
|
|
460
|
-
detail
|
|
461
|
-
evaluatedAt
|
|
462
|
-
}`;
|
|
463
|
-
|
|
464
|
-
export const schedulePublicationFragment = `fragment schedulePublicationFragment on SchedulePublication {
|
|
544
|
+
export const scheduleBaselineFragment = `fragment scheduleBaselineFragment on ScheduleBaseline {
|
|
465
545
|
id
|
|
466
|
-
calendarId
|
|
467
|
-
windowStart
|
|
468
|
-
windowEnd
|
|
469
|
-
occurrenceCount
|
|
470
|
-
acknowledgedWarningCount
|
|
471
|
-
acknowledgedViolationKeys
|
|
472
|
-
publishedByAccountId
|
|
473
|
-
publishedAt
|
|
474
|
-
notificationId
|
|
475
|
-
acknowledgedCount
|
|
476
|
-
cursor
|
|
477
|
-
}`;
|
|
478
|
-
|
|
479
|
-
export const scheduleWbsNodeSelection = `id
|
|
480
|
-
projectId
|
|
481
|
-
parentId
|
|
482
|
-
code
|
|
483
|
-
name
|
|
484
|
-
path
|
|
485
|
-
depth
|
|
486
|
-
ordinal
|
|
487
|
-
startAt
|
|
488
|
-
finishAt
|
|
489
|
-
percentComplete`;
|
|
490
|
-
|
|
491
|
-
export const scheduleActivityAssignmentSelection = `id
|
|
492
|
-
projectId
|
|
493
|
-
activityId
|
|
494
|
-
resourceId
|
|
495
|
-
plannedUnits
|
|
496
|
-
unitsPerDay
|
|
497
|
-
actualUnits
|
|
498
|
-
remainingUnits`;
|
|
499
|
-
|
|
500
|
-
export const scheduleBaselineSelection = `id
|
|
501
546
|
projectId
|
|
502
547
|
name
|
|
503
548
|
note
|
|
@@ -505,9 +550,11 @@ dataDateAt
|
|
|
505
550
|
isCurrent
|
|
506
551
|
createdByAccountId
|
|
507
552
|
createdAt
|
|
508
|
-
cursor
|
|
553
|
+
cursor
|
|
554
|
+
}`;
|
|
509
555
|
|
|
510
|
-
export const
|
|
556
|
+
export const scheduleBaselineActivityFragment = `fragment scheduleBaselineActivityFragment on ScheduleBaselineActivity {
|
|
557
|
+
plannedStartAt
|
|
511
558
|
plannedFinishAt
|
|
512
559
|
id
|
|
513
560
|
baselineId
|
|
@@ -519,143 +566,12 @@ finishAt
|
|
|
519
566
|
plannedDurationMinutes
|
|
520
567
|
totalFloatMinutes
|
|
521
568
|
plannedUnits
|
|
522
|
-
percentComplete
|
|
523
|
-
|
|
524
|
-
export const scheduleProjectRunSelection = `organizationId
|
|
525
|
-
revision
|
|
526
|
-
scheduledFinishAt
|
|
527
|
-
createdAt
|
|
528
|
-
id
|
|
529
|
-
projectId
|
|
530
|
-
sequence
|
|
531
|
-
kind
|
|
532
|
-
trigger
|
|
533
|
-
status
|
|
534
|
-
options {
|
|
535
|
-
autoSchedule
|
|
536
|
-
progressLogic
|
|
537
|
-
lagCalendar
|
|
538
|
-
criticalityMode
|
|
539
|
-
criticalFloatThresholdMinutes
|
|
540
|
-
leveling {
|
|
541
|
-
enabled
|
|
542
|
-
priorityRule
|
|
543
|
-
levelWithinFloat
|
|
544
|
-
maxOverallocationPercent
|
|
545
|
-
considerOtherProjects
|
|
546
|
-
horizonDays
|
|
547
|
-
}
|
|
548
|
-
}
|
|
549
|
-
networkRevision
|
|
550
|
-
dataDateAt
|
|
551
|
-
progress {
|
|
552
|
-
stage
|
|
553
|
-
percent
|
|
554
|
-
message
|
|
555
|
-
updatedAt
|
|
556
|
-
}
|
|
557
|
-
stats {
|
|
558
|
-
activityCount
|
|
559
|
-
relationshipCount
|
|
560
|
-
criticalCount
|
|
561
|
-
openStartCount
|
|
562
|
-
openFinishCount
|
|
563
|
-
negativeFloatCount
|
|
564
|
-
constraintOverrideCount
|
|
565
|
-
cycleCount
|
|
566
|
-
longestPathCount
|
|
567
|
-
scheduledFinishAt
|
|
568
|
-
earlyFinishAt
|
|
569
|
-
leveled
|
|
570
|
-
leveledCount
|
|
571
|
-
totalLevelingDelayMinutes
|
|
572
|
-
finishDelayMinutes
|
|
573
|
-
overallocatedResourceDayCount
|
|
574
|
-
levelingExceededFloatCount
|
|
575
|
-
levelingExceededHorizonCount
|
|
576
|
-
diagnosticsTruncated
|
|
577
|
-
diagnosticCounts
|
|
578
|
-
}
|
|
579
|
-
diagnostics {
|
|
580
|
-
code
|
|
581
|
-
severity
|
|
582
|
-
message
|
|
583
|
-
activityId
|
|
584
|
-
relatedActivityId
|
|
585
|
-
activityIds
|
|
586
|
-
resourceId
|
|
587
|
-
calendarId
|
|
588
|
-
fromDate
|
|
589
|
-
toDate
|
|
590
|
-
demandUnits
|
|
591
|
-
availableUnits
|
|
592
|
-
minutes
|
|
593
|
-
}
|
|
594
|
-
triggeredByAccountId
|
|
595
|
-
cancelRequestedAt
|
|
596
|
-
queuedAt
|
|
597
|
-
startedAt
|
|
598
|
-
finishedAt
|
|
599
|
-
lastError
|
|
600
|
-
version
|
|
601
|
-
updatedAt
|
|
602
|
-
cursor`;
|
|
603
|
-
|
|
604
|
-
export const scheduleViolationSelection = `id
|
|
605
|
-
calendarId
|
|
606
|
-
ruleId
|
|
607
|
-
occurrenceId
|
|
608
|
-
resourceId
|
|
609
|
-
slotKey
|
|
610
|
-
kind
|
|
611
|
-
code
|
|
612
|
-
severity
|
|
613
|
-
violationKey
|
|
614
|
-
identityKey
|
|
615
|
-
startAt
|
|
616
|
-
endAt
|
|
617
|
-
degree
|
|
618
|
-
message
|
|
619
|
-
detail
|
|
620
|
-
evaluatedAt`;
|
|
569
|
+
percentComplete
|
|
570
|
+
}`;
|
|
621
571
|
|
|
622
|
-
export const
|
|
572
|
+
export const scheduleCodeTypeFragment = `fragment scheduleCodeTypeFragment on ScheduleCodeType {
|
|
623
573
|
id
|
|
624
574
|
organizationId
|
|
625
|
-
calendarId
|
|
626
|
-
resourceId
|
|
627
|
-
kind
|
|
628
|
-
label
|
|
629
|
-
config {
|
|
630
|
-
ratios {
|
|
631
|
-
key
|
|
632
|
-
childrenPerAdult
|
|
633
|
-
}
|
|
634
|
-
predicate {
|
|
635
|
-
roles
|
|
636
|
-
qualifications
|
|
637
|
-
tags
|
|
638
|
-
}
|
|
639
|
-
minAdults
|
|
640
|
-
windowDays
|
|
641
|
-
maxMinutes
|
|
642
|
-
minRestMinutes
|
|
643
|
-
}
|
|
644
|
-
severity
|
|
645
|
-
active
|
|
646
|
-
ordinal`;
|
|
647
|
-
|
|
648
|
-
export const scheduleDemandSelection = `id
|
|
649
|
-
calendarId
|
|
650
|
-
resourceId
|
|
651
|
-
key
|
|
652
|
-
quantity
|
|
653
|
-
startAt
|
|
654
|
-
endAt
|
|
655
|
-
note`;
|
|
656
|
-
|
|
657
|
-
export const scheduleCodeTypeSelection = `id
|
|
658
|
-
organizationId
|
|
659
575
|
projectId
|
|
660
576
|
key
|
|
661
577
|
name
|
|
@@ -664,4 +580,5 @@ key
|
|
|
664
580
|
label
|
|
665
581
|
color
|
|
666
582
|
}
|
|
667
|
-
ordinal
|
|
583
|
+
ordinal
|
|
584
|
+
}`;
|