@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,37 +1,32 @@
|
|
|
1
1
|
import { gql } from 'graphql-tag';
|
|
2
2
|
import {
|
|
3
|
+
scheduleActivityAssignmentFragment,
|
|
3
4
|
scheduleActivityFragment,
|
|
4
|
-
|
|
5
|
-
scheduleOccurrenceFragment,
|
|
5
|
+
scheduleBaselineFragment,
|
|
6
6
|
scheduleProjectFragment,
|
|
7
7
|
scheduleProjectRunFragment,
|
|
8
|
-
schedulePublicationFragment,
|
|
9
8
|
scheduleRelationshipFragment,
|
|
10
|
-
|
|
9
|
+
scheduleResourceCapacityFragment,
|
|
11
10
|
scheduleResourceFragment,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
scheduleViolationFragment,
|
|
11
|
+
scheduleWbsNodeFragment,
|
|
12
|
+
scheduleWorkCalendarExceptionFragment,
|
|
15
13
|
scheduleWorkCalendarFragment,
|
|
16
14
|
} from '../fragments/scheduleFragments.ts';
|
|
17
15
|
|
|
16
|
+
// Shift-side writes (shifts, roles, rules, requests, time off, publishing)
|
|
17
|
+
// belong to the agent tools; the web reads them only.
|
|
18
|
+
|
|
18
19
|
export const createScheduleWorkCalendarMtn = gql`
|
|
19
20
|
mutation createScheduleWorkCalendar($input: CreateScheduleWorkCalendarInput!) {
|
|
20
21
|
createScheduleWorkCalendar(input: $input) {
|
|
21
22
|
...scheduleWorkCalendarFragment
|
|
22
23
|
exceptions {
|
|
23
|
-
|
|
24
|
-
workCalendarId
|
|
25
|
-
date
|
|
26
|
-
ranges {
|
|
27
|
-
start
|
|
28
|
-
end
|
|
29
|
-
}
|
|
30
|
-
note
|
|
24
|
+
...scheduleWorkCalendarExceptionFragment
|
|
31
25
|
}
|
|
32
26
|
}
|
|
33
27
|
}
|
|
34
28
|
${scheduleWorkCalendarFragment}
|
|
29
|
+
${scheduleWorkCalendarExceptionFragment}
|
|
35
30
|
`;
|
|
36
31
|
|
|
37
32
|
export const updateScheduleWorkCalendarMtn = gql`
|
|
@@ -39,18 +34,12 @@ mutation updateScheduleWorkCalendar($input: UpdateScheduleWorkCalendarInput!) {
|
|
|
39
34
|
updateScheduleWorkCalendar(input: $input) {
|
|
40
35
|
...scheduleWorkCalendarFragment
|
|
41
36
|
exceptions {
|
|
42
|
-
|
|
43
|
-
workCalendarId
|
|
44
|
-
date
|
|
45
|
-
ranges {
|
|
46
|
-
start
|
|
47
|
-
end
|
|
48
|
-
}
|
|
49
|
-
note
|
|
37
|
+
...scheduleWorkCalendarExceptionFragment
|
|
50
38
|
}
|
|
51
39
|
}
|
|
52
40
|
}
|
|
53
41
|
${scheduleWorkCalendarFragment}
|
|
42
|
+
${scheduleWorkCalendarExceptionFragment}
|
|
54
43
|
`;
|
|
55
44
|
|
|
56
45
|
export const setScheduleWorkCalendarExceptionMtn = gql`
|
|
@@ -58,18 +47,12 @@ mutation setScheduleWorkCalendarException($input: SetScheduleWorkCalendarExcepti
|
|
|
58
47
|
setScheduleWorkCalendarException(input: $input) {
|
|
59
48
|
...scheduleWorkCalendarFragment
|
|
60
49
|
exceptions {
|
|
61
|
-
|
|
62
|
-
workCalendarId
|
|
63
|
-
date
|
|
64
|
-
ranges {
|
|
65
|
-
start
|
|
66
|
-
end
|
|
67
|
-
}
|
|
68
|
-
note
|
|
50
|
+
...scheduleWorkCalendarExceptionFragment
|
|
69
51
|
}
|
|
70
52
|
}
|
|
71
53
|
}
|
|
72
54
|
${scheduleWorkCalendarFragment}
|
|
55
|
+
${scheduleWorkCalendarExceptionFragment}
|
|
73
56
|
`;
|
|
74
57
|
|
|
75
58
|
export const deleteScheduleWorkCalendarMtn = gql`
|
|
@@ -85,18 +68,15 @@ createScheduleResource(input: $input) {
|
|
|
85
68
|
...scheduleResourceFragment
|
|
86
69
|
viewerNotify {
|
|
87
70
|
channels
|
|
71
|
+
inherited
|
|
88
72
|
}
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
resourceId
|
|
92
|
-
startsOn
|
|
93
|
-
endsOn
|
|
94
|
-
maxUnitsPerDay
|
|
95
|
-
note
|
|
73
|
+
capacityPeriods {
|
|
74
|
+
...scheduleResourceCapacityFragment
|
|
96
75
|
}
|
|
97
76
|
}
|
|
98
77
|
}
|
|
99
78
|
${scheduleResourceFragment}
|
|
79
|
+
${scheduleResourceCapacityFragment}
|
|
100
80
|
`;
|
|
101
81
|
|
|
102
82
|
export const updateScheduleResourceMtn = gql`
|
|
@@ -105,58 +85,49 @@ updateScheduleResource(input: $input) {
|
|
|
105
85
|
...scheduleResourceFragment
|
|
106
86
|
viewerNotify {
|
|
107
87
|
channels
|
|
88
|
+
inherited
|
|
108
89
|
}
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
resourceId
|
|
112
|
-
startsOn
|
|
113
|
-
endsOn
|
|
114
|
-
maxUnitsPerDay
|
|
115
|
-
note
|
|
90
|
+
capacityPeriods {
|
|
91
|
+
...scheduleResourceCapacityFragment
|
|
116
92
|
}
|
|
117
93
|
}
|
|
118
94
|
}
|
|
119
95
|
${scheduleResourceFragment}
|
|
96
|
+
${scheduleResourceCapacityFragment}
|
|
120
97
|
`;
|
|
121
98
|
|
|
122
|
-
export const
|
|
123
|
-
mutation
|
|
124
|
-
|
|
99
|
+
export const createScheduleResourceCapacityMtn = gql`
|
|
100
|
+
mutation createScheduleResourceCapacity($input: CreateScheduleResourceCapacityInput!) {
|
|
101
|
+
createScheduleResourceCapacity(input: $input) {
|
|
125
102
|
...scheduleResourceFragment
|
|
126
103
|
viewerNotify {
|
|
127
104
|
channels
|
|
105
|
+
inherited
|
|
128
106
|
}
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
resourceId
|
|
132
|
-
startsOn
|
|
133
|
-
endsOn
|
|
134
|
-
maxUnitsPerDay
|
|
135
|
-
note
|
|
107
|
+
capacityPeriods {
|
|
108
|
+
...scheduleResourceCapacityFragment
|
|
136
109
|
}
|
|
137
110
|
}
|
|
138
111
|
}
|
|
139
112
|
${scheduleResourceFragment}
|
|
113
|
+
${scheduleResourceCapacityFragment}
|
|
140
114
|
`;
|
|
141
115
|
|
|
142
|
-
export const
|
|
143
|
-
mutation
|
|
144
|
-
|
|
116
|
+
export const deleteScheduleResourceCapacityMtn = gql`
|
|
117
|
+
mutation deleteScheduleResourceCapacity($input: DeleteScheduleResourceCapacityInput!) {
|
|
118
|
+
deleteScheduleResourceCapacity(input: $input) {
|
|
145
119
|
...scheduleResourceFragment
|
|
146
120
|
viewerNotify {
|
|
147
121
|
channels
|
|
122
|
+
inherited
|
|
148
123
|
}
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
resourceId
|
|
152
|
-
startsOn
|
|
153
|
-
endsOn
|
|
154
|
-
maxUnitsPerDay
|
|
155
|
-
note
|
|
124
|
+
capacityPeriods {
|
|
125
|
+
...scheduleResourceCapacityFragment
|
|
156
126
|
}
|
|
157
127
|
}
|
|
158
128
|
}
|
|
159
129
|
${scheduleResourceFragment}
|
|
130
|
+
${scheduleResourceCapacityFragment}
|
|
160
131
|
`;
|
|
161
132
|
|
|
162
133
|
export const updateMyScheduleNotifyPrefsMtn = gql`
|
|
@@ -165,595 +136,15 @@ updateMyScheduleNotifyPrefs(input: $input) {
|
|
|
165
136
|
...scheduleResourceFragment
|
|
166
137
|
viewerNotify {
|
|
167
138
|
channels
|
|
139
|
+
inherited
|
|
168
140
|
}
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
resourceId
|
|
172
|
-
startsOn
|
|
173
|
-
endsOn
|
|
174
|
-
maxUnitsPerDay
|
|
175
|
-
note
|
|
141
|
+
capacityPeriods {
|
|
142
|
+
...scheduleResourceCapacityFragment
|
|
176
143
|
}
|
|
177
144
|
}
|
|
178
145
|
}
|
|
179
146
|
${scheduleResourceFragment}
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
export const createScheduleCalendarMtn = gql`
|
|
183
|
-
mutation createScheduleCalendar($input: CreateScheduleCalendarInput!) {
|
|
184
|
-
createScheduleCalendar(input: $input) {
|
|
185
|
-
...scheduleCalendarFragment
|
|
186
|
-
viewerPermission
|
|
187
|
-
viewerCanEdit
|
|
188
|
-
viewerCanEditAccess
|
|
189
|
-
viewerIsManager
|
|
190
|
-
viewerResourceId
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
${scheduleCalendarFragment}
|
|
194
|
-
`;
|
|
195
|
-
|
|
196
|
-
export const updateScheduleCalendarMtn = gql`
|
|
197
|
-
mutation updateScheduleCalendar($input: UpdateScheduleCalendarInput!) {
|
|
198
|
-
updateScheduleCalendar(input: $input) {
|
|
199
|
-
...scheduleCalendarFragment
|
|
200
|
-
viewerPermission
|
|
201
|
-
viewerCanEdit
|
|
202
|
-
viewerCanEditAccess
|
|
203
|
-
viewerIsManager
|
|
204
|
-
viewerResourceId
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
${scheduleCalendarFragment}
|
|
208
|
-
`;
|
|
209
|
-
|
|
210
|
-
export const updateScheduleCalendarAccessMtn = gql`
|
|
211
|
-
mutation updateScheduleCalendarAccess($input: UpdateScheduleCalendarAccessInput!) {
|
|
212
|
-
updateScheduleCalendarAccess(input: $input) {
|
|
213
|
-
...scheduleCalendarFragment
|
|
214
|
-
viewerPermission
|
|
215
|
-
viewerCanEdit
|
|
216
|
-
viewerCanEditAccess
|
|
217
|
-
viewerIsManager
|
|
218
|
-
viewerResourceId
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
${scheduleCalendarFragment}
|
|
222
|
-
`;
|
|
223
|
-
|
|
224
|
-
export const deleteScheduleCalendarMtn = gql`
|
|
225
|
-
mutation deleteScheduleCalendar($input: DeleteScheduleCalendarInput!) {
|
|
226
|
-
deleteScheduleCalendar(input: $input)
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
`;
|
|
230
|
-
|
|
231
|
-
export const createScheduleSeriesMtn = gql`
|
|
232
|
-
mutation createScheduleSeries($input: CreateScheduleSeriesInput!) {
|
|
233
|
-
createScheduleSeries(input: $input) {
|
|
234
|
-
series {
|
|
235
|
-
...scheduleSeriesFragment
|
|
236
|
-
}
|
|
237
|
-
createdCount
|
|
238
|
-
updatedCount
|
|
239
|
-
propagatedCount
|
|
240
|
-
skippedCount
|
|
241
|
-
deletedCount
|
|
242
|
-
detached {
|
|
243
|
-
...scheduleOccurrenceFragment
|
|
244
|
-
}
|
|
245
|
-
unslottedAssignmentIds
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
${scheduleSeriesFragment}
|
|
249
|
-
${scheduleOccurrenceFragment}
|
|
250
|
-
`;
|
|
251
|
-
|
|
252
|
-
export const updateScheduleSeriesMtn = gql`
|
|
253
|
-
mutation updateScheduleSeries($input: UpdateScheduleSeriesInput!) {
|
|
254
|
-
updateScheduleSeries(input: $input) {
|
|
255
|
-
series {
|
|
256
|
-
...scheduleSeriesFragment
|
|
257
|
-
}
|
|
258
|
-
createdCount
|
|
259
|
-
updatedCount
|
|
260
|
-
propagatedCount
|
|
261
|
-
skippedCount
|
|
262
|
-
deletedCount
|
|
263
|
-
detached {
|
|
264
|
-
...scheduleOccurrenceFragment
|
|
265
|
-
}
|
|
266
|
-
unslottedAssignmentIds
|
|
267
|
-
}
|
|
268
|
-
}
|
|
269
|
-
${scheduleSeriesFragment}
|
|
270
|
-
${scheduleOccurrenceFragment}
|
|
271
|
-
`;
|
|
272
|
-
|
|
273
|
-
export const deleteScheduleSeriesMtn = gql`
|
|
274
|
-
mutation deleteScheduleSeries($input: DeleteScheduleSeriesInput!) {
|
|
275
|
-
deleteScheduleSeries(input: $input)
|
|
276
|
-
}
|
|
277
|
-
|
|
278
|
-
`;
|
|
279
|
-
|
|
280
|
-
export const createScheduleOccurrenceMtn = gql`
|
|
281
|
-
mutation createScheduleOccurrence($input: CreateScheduleOccurrenceInput!) {
|
|
282
|
-
createScheduleOccurrence(input: $input) {
|
|
283
|
-
...scheduleOccurrenceFragment
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
${scheduleOccurrenceFragment}
|
|
287
|
-
`;
|
|
288
|
-
|
|
289
|
-
export const updateScheduleOccurrenceMtn = gql`
|
|
290
|
-
mutation updateScheduleOccurrence($input: UpdateScheduleOccurrenceInput!) {
|
|
291
|
-
updateScheduleOccurrence(input: $input) {
|
|
292
|
-
...scheduleOccurrenceFragment
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
${scheduleOccurrenceFragment}
|
|
296
|
-
`;
|
|
297
|
-
|
|
298
|
-
export const cancelScheduleOccurrenceMtn = gql`
|
|
299
|
-
mutation cancelScheduleOccurrence($input: CancelScheduleOccurrenceInput!) {
|
|
300
|
-
cancelScheduleOccurrence(input: $input) {
|
|
301
|
-
...scheduleOccurrenceFragment
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
${scheduleOccurrenceFragment}
|
|
305
|
-
`;
|
|
306
|
-
|
|
307
|
-
export const deleteScheduleOccurrenceMtn = gql`
|
|
308
|
-
mutation deleteScheduleOccurrence($input: DeleteScheduleOccurrenceInput!) {
|
|
309
|
-
deleteScheduleOccurrence(input: $input)
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
`;
|
|
313
|
-
|
|
314
|
-
export const assignScheduleOccurrenceMtn = gql`
|
|
315
|
-
mutation assignScheduleOccurrence($input: AssignScheduleOccurrenceInput!) {
|
|
316
|
-
assignScheduleOccurrence(input: $input) {
|
|
317
|
-
occurrence {
|
|
318
|
-
...scheduleOccurrenceFragment
|
|
319
|
-
}
|
|
320
|
-
assignment {
|
|
321
|
-
id
|
|
322
|
-
occurrenceId
|
|
323
|
-
resourceId
|
|
324
|
-
accountId
|
|
325
|
-
resourceName
|
|
326
|
-
slotKey
|
|
327
|
-
status
|
|
328
|
-
note
|
|
329
|
-
assignedByAccountId
|
|
330
|
-
source {
|
|
331
|
-
kind
|
|
332
|
-
requestId
|
|
333
|
-
timeOffId
|
|
334
|
-
workflowId
|
|
335
|
-
}
|
|
336
|
-
releasedAt
|
|
337
|
-
createdAt
|
|
338
|
-
updatedAt
|
|
339
|
-
}
|
|
340
|
-
eligibility {
|
|
341
|
-
eligible
|
|
342
|
-
slotKey
|
|
343
|
-
reasons {
|
|
344
|
-
code
|
|
345
|
-
severity
|
|
346
|
-
ruleId
|
|
347
|
-
startAt
|
|
348
|
-
endAt
|
|
349
|
-
message
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
|
-
}
|
|
354
|
-
${scheduleOccurrenceFragment}
|
|
355
|
-
`;
|
|
356
|
-
|
|
357
|
-
export const releaseScheduleAssignmentMtn = gql`
|
|
358
|
-
mutation releaseScheduleAssignment($input: ReleaseScheduleAssignmentInput!) {
|
|
359
|
-
releaseScheduleAssignment(input: $input) {
|
|
360
|
-
occurrence {
|
|
361
|
-
...scheduleOccurrenceFragment
|
|
362
|
-
}
|
|
363
|
-
assignment {
|
|
364
|
-
id
|
|
365
|
-
occurrenceId
|
|
366
|
-
resourceId
|
|
367
|
-
accountId
|
|
368
|
-
resourceName
|
|
369
|
-
slotKey
|
|
370
|
-
status
|
|
371
|
-
note
|
|
372
|
-
assignedByAccountId
|
|
373
|
-
source {
|
|
374
|
-
kind
|
|
375
|
-
requestId
|
|
376
|
-
timeOffId
|
|
377
|
-
workflowId
|
|
378
|
-
}
|
|
379
|
-
releasedAt
|
|
380
|
-
createdAt
|
|
381
|
-
updatedAt
|
|
382
|
-
}
|
|
383
|
-
eligibility {
|
|
384
|
-
eligible
|
|
385
|
-
slotKey
|
|
386
|
-
reasons {
|
|
387
|
-
code
|
|
388
|
-
severity
|
|
389
|
-
ruleId
|
|
390
|
-
startAt
|
|
391
|
-
endAt
|
|
392
|
-
message
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
|
-
}
|
|
397
|
-
${scheduleOccurrenceFragment}
|
|
398
|
-
`;
|
|
399
|
-
|
|
400
|
-
export const publishScheduleWindowMtn = gql`
|
|
401
|
-
mutation publishScheduleWindow($input: PublishScheduleWindowInput!) {
|
|
402
|
-
publishScheduleWindow(input: $input) {
|
|
403
|
-
refusal {
|
|
404
|
-
code
|
|
405
|
-
blockingCount
|
|
406
|
-
unacknowledgedKeys
|
|
407
|
-
}
|
|
408
|
-
publication {
|
|
409
|
-
...schedulePublicationFragment
|
|
410
|
-
viewerAcknowledgedAt
|
|
411
|
-
}
|
|
412
|
-
publishedCount
|
|
413
|
-
violations {
|
|
414
|
-
...scheduleViolationFragment
|
|
415
|
-
}
|
|
416
|
-
unacknowledgedKeys
|
|
417
|
-
diagnostics {
|
|
418
|
-
code
|
|
419
|
-
message
|
|
420
|
-
resourceId
|
|
421
|
-
ruleId
|
|
422
|
-
}
|
|
423
|
-
}
|
|
424
|
-
}
|
|
425
|
-
${schedulePublicationFragment}
|
|
426
|
-
${scheduleViolationFragment}
|
|
427
|
-
`;
|
|
428
|
-
|
|
429
|
-
export const acknowledgeSchedulePublicationMtn = gql`
|
|
430
|
-
mutation acknowledgeSchedulePublication($input: AcknowledgeSchedulePublicationInput!) {
|
|
431
|
-
acknowledgeSchedulePublication(input: $input) {
|
|
432
|
-
...schedulePublicationFragment
|
|
433
|
-
viewerAcknowledgedAt
|
|
434
|
-
}
|
|
435
|
-
}
|
|
436
|
-
${schedulePublicationFragment}
|
|
437
|
-
`;
|
|
438
|
-
|
|
439
|
-
export const evaluateScheduleWindowMtn = gql`
|
|
440
|
-
mutation evaluateScheduleWindow($input: EvaluateScheduleWindowInput!) {
|
|
441
|
-
evaluateScheduleWindow(input: $input) {
|
|
442
|
-
complete
|
|
443
|
-
violations {
|
|
444
|
-
...scheduleViolationFragment
|
|
445
|
-
}
|
|
446
|
-
diagnostics {
|
|
447
|
-
code
|
|
448
|
-
message
|
|
449
|
-
resourceId
|
|
450
|
-
ruleId
|
|
451
|
-
}
|
|
452
|
-
}
|
|
453
|
-
}
|
|
454
|
-
${scheduleViolationFragment}
|
|
455
|
-
`;
|
|
456
|
-
|
|
457
|
-
export const createScheduleRuleMtn = gql`
|
|
458
|
-
mutation createScheduleRule($input: CreateScheduleRuleInput!) {
|
|
459
|
-
createScheduleRule(input: $input) {
|
|
460
|
-
key
|
|
461
|
-
id
|
|
462
|
-
organizationId
|
|
463
|
-
calendarId
|
|
464
|
-
resourceId
|
|
465
|
-
kind
|
|
466
|
-
label
|
|
467
|
-
config {
|
|
468
|
-
ratios {
|
|
469
|
-
key
|
|
470
|
-
childrenPerAdult
|
|
471
|
-
}
|
|
472
|
-
predicate {
|
|
473
|
-
roles
|
|
474
|
-
qualifications
|
|
475
|
-
tags
|
|
476
|
-
}
|
|
477
|
-
minAdults
|
|
478
|
-
windowDays
|
|
479
|
-
maxMinutes
|
|
480
|
-
minRestMinutes
|
|
481
|
-
}
|
|
482
|
-
severity
|
|
483
|
-
active
|
|
484
|
-
ordinal
|
|
485
|
-
}
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
`;
|
|
489
|
-
|
|
490
|
-
export const updateScheduleRuleMtn = gql`
|
|
491
|
-
mutation updateScheduleRule($input: UpdateScheduleRuleInput!) {
|
|
492
|
-
updateScheduleRule(input: $input) {
|
|
493
|
-
key
|
|
494
|
-
id
|
|
495
|
-
organizationId
|
|
496
|
-
calendarId
|
|
497
|
-
resourceId
|
|
498
|
-
kind
|
|
499
|
-
label
|
|
500
|
-
config {
|
|
501
|
-
ratios {
|
|
502
|
-
key
|
|
503
|
-
childrenPerAdult
|
|
504
|
-
}
|
|
505
|
-
predicate {
|
|
506
|
-
roles
|
|
507
|
-
qualifications
|
|
508
|
-
tags
|
|
509
|
-
}
|
|
510
|
-
minAdults
|
|
511
|
-
windowDays
|
|
512
|
-
maxMinutes
|
|
513
|
-
minRestMinutes
|
|
514
|
-
}
|
|
515
|
-
severity
|
|
516
|
-
active
|
|
517
|
-
ordinal
|
|
518
|
-
}
|
|
519
|
-
}
|
|
520
|
-
|
|
521
|
-
`;
|
|
522
|
-
|
|
523
|
-
export const deleteScheduleRuleMtn = gql`
|
|
524
|
-
mutation deleteScheduleRule($input: DeleteScheduleRuleInput!) {
|
|
525
|
-
deleteScheduleRule(input: $input)
|
|
526
|
-
}
|
|
527
|
-
|
|
528
|
-
`;
|
|
529
|
-
|
|
530
|
-
export const createScheduleDemandMtn = gql`
|
|
531
|
-
mutation createScheduleDemand($input: CreateScheduleDemandInput!) {
|
|
532
|
-
createScheduleDemand(input: $input) {
|
|
533
|
-
id
|
|
534
|
-
calendarId
|
|
535
|
-
resourceId
|
|
536
|
-
key
|
|
537
|
-
quantity
|
|
538
|
-
startAt
|
|
539
|
-
endAt
|
|
540
|
-
note
|
|
541
|
-
}
|
|
542
|
-
}
|
|
543
|
-
|
|
544
|
-
`;
|
|
545
|
-
|
|
546
|
-
export const deleteScheduleDemandMtn = gql`
|
|
547
|
-
mutation deleteScheduleDemand($input: DeleteScheduleDemandInput!) {
|
|
548
|
-
deleteScheduleDemand(input: $input)
|
|
549
|
-
}
|
|
550
|
-
|
|
551
|
-
`;
|
|
552
|
-
|
|
553
|
-
export const createScheduleRequestMtn = gql`
|
|
554
|
-
mutation createScheduleRequest($input: CreateScheduleRequestInput!) {
|
|
555
|
-
createScheduleRequest(input: $input) {
|
|
556
|
-
request {
|
|
557
|
-
...scheduleRequestFragment
|
|
558
|
-
occurrence {
|
|
559
|
-
...scheduleOccurrenceFragment
|
|
560
|
-
}
|
|
561
|
-
targetOccurrence {
|
|
562
|
-
...scheduleOccurrenceFragment
|
|
563
|
-
}
|
|
564
|
-
eligibility {
|
|
565
|
-
eligible
|
|
566
|
-
slotKey
|
|
567
|
-
reasons {
|
|
568
|
-
code
|
|
569
|
-
severity
|
|
570
|
-
ruleId
|
|
571
|
-
startAt
|
|
572
|
-
endAt
|
|
573
|
-
message
|
|
574
|
-
}
|
|
575
|
-
}
|
|
576
|
-
viewerIsRequester
|
|
577
|
-
viewerIsCounterparty
|
|
578
|
-
viewerCanDecide
|
|
579
|
-
}
|
|
580
|
-
eligibility {
|
|
581
|
-
eligible
|
|
582
|
-
slotKey
|
|
583
|
-
reasons {
|
|
584
|
-
code
|
|
585
|
-
severity
|
|
586
|
-
ruleId
|
|
587
|
-
startAt
|
|
588
|
-
endAt
|
|
589
|
-
message
|
|
590
|
-
}
|
|
591
|
-
}
|
|
592
|
-
occurrence {
|
|
593
|
-
...scheduleOccurrenceFragment
|
|
594
|
-
}
|
|
595
|
-
}
|
|
596
|
-
}
|
|
597
|
-
${scheduleRequestFragment}
|
|
598
|
-
${scheduleOccurrenceFragment}
|
|
599
|
-
`;
|
|
600
|
-
|
|
601
|
-
export const respondScheduleRequestMtn = gql`
|
|
602
|
-
mutation respondScheduleRequest($input: RespondScheduleRequestInput!) {
|
|
603
|
-
respondScheduleRequest(input: $input) {
|
|
604
|
-
...scheduleRequestFragment
|
|
605
|
-
occurrence {
|
|
606
|
-
...scheduleOccurrenceFragment
|
|
607
|
-
}
|
|
608
|
-
targetOccurrence {
|
|
609
|
-
...scheduleOccurrenceFragment
|
|
610
|
-
}
|
|
611
|
-
eligibility {
|
|
612
|
-
eligible
|
|
613
|
-
slotKey
|
|
614
|
-
reasons {
|
|
615
|
-
code
|
|
616
|
-
severity
|
|
617
|
-
ruleId
|
|
618
|
-
startAt
|
|
619
|
-
endAt
|
|
620
|
-
message
|
|
621
|
-
}
|
|
622
|
-
}
|
|
623
|
-
viewerIsRequester
|
|
624
|
-
viewerIsCounterparty
|
|
625
|
-
viewerCanDecide
|
|
626
|
-
}
|
|
627
|
-
}
|
|
628
|
-
${scheduleRequestFragment}
|
|
629
|
-
${scheduleOccurrenceFragment}
|
|
630
|
-
`;
|
|
631
|
-
|
|
632
|
-
export const withdrawScheduleRequestMtn = gql`
|
|
633
|
-
mutation withdrawScheduleRequest($input: WithdrawScheduleRequestInput!) {
|
|
634
|
-
withdrawScheduleRequest(input: $input) {
|
|
635
|
-
...scheduleRequestFragment
|
|
636
|
-
occurrence {
|
|
637
|
-
...scheduleOccurrenceFragment
|
|
638
|
-
}
|
|
639
|
-
targetOccurrence {
|
|
640
|
-
...scheduleOccurrenceFragment
|
|
641
|
-
}
|
|
642
|
-
eligibility {
|
|
643
|
-
eligible
|
|
644
|
-
slotKey
|
|
645
|
-
reasons {
|
|
646
|
-
code
|
|
647
|
-
severity
|
|
648
|
-
ruleId
|
|
649
|
-
startAt
|
|
650
|
-
endAt
|
|
651
|
-
message
|
|
652
|
-
}
|
|
653
|
-
}
|
|
654
|
-
viewerIsRequester
|
|
655
|
-
viewerIsCounterparty
|
|
656
|
-
viewerCanDecide
|
|
657
|
-
}
|
|
658
|
-
}
|
|
659
|
-
${scheduleRequestFragment}
|
|
660
|
-
${scheduleOccurrenceFragment}
|
|
661
|
-
`;
|
|
662
|
-
|
|
663
|
-
export const decideScheduleRequestMtn = gql`
|
|
664
|
-
mutation decideScheduleRequest($input: DecideScheduleRequestInput!) {
|
|
665
|
-
decideScheduleRequest(input: $input) {
|
|
666
|
-
request {
|
|
667
|
-
...scheduleRequestFragment
|
|
668
|
-
occurrence {
|
|
669
|
-
...scheduleOccurrenceFragment
|
|
670
|
-
}
|
|
671
|
-
targetOccurrence {
|
|
672
|
-
...scheduleOccurrenceFragment
|
|
673
|
-
}
|
|
674
|
-
eligibility {
|
|
675
|
-
eligible
|
|
676
|
-
slotKey
|
|
677
|
-
reasons {
|
|
678
|
-
code
|
|
679
|
-
severity
|
|
680
|
-
ruleId
|
|
681
|
-
startAt
|
|
682
|
-
endAt
|
|
683
|
-
message
|
|
684
|
-
}
|
|
685
|
-
}
|
|
686
|
-
viewerIsRequester
|
|
687
|
-
viewerIsCounterparty
|
|
688
|
-
viewerCanDecide
|
|
689
|
-
}
|
|
690
|
-
eligibility {
|
|
691
|
-
eligible
|
|
692
|
-
slotKey
|
|
693
|
-
reasons {
|
|
694
|
-
code
|
|
695
|
-
severity
|
|
696
|
-
ruleId
|
|
697
|
-
startAt
|
|
698
|
-
endAt
|
|
699
|
-
message
|
|
700
|
-
}
|
|
701
|
-
}
|
|
702
|
-
occurrence {
|
|
703
|
-
...scheduleOccurrenceFragment
|
|
704
|
-
}
|
|
705
|
-
}
|
|
706
|
-
}
|
|
707
|
-
${scheduleRequestFragment}
|
|
708
|
-
${scheduleOccurrenceFragment}
|
|
709
|
-
`;
|
|
710
|
-
|
|
711
|
-
export const createScheduleTimeOffMtn = gql`
|
|
712
|
-
mutation createScheduleTimeOff($input: CreateScheduleTimeOffInput!) {
|
|
713
|
-
createScheduleTimeOff(input: $input) {
|
|
714
|
-
...scheduleTimeOffFragment
|
|
715
|
-
conflictingAssignments {
|
|
716
|
-
...scheduleOccurrenceFragment
|
|
717
|
-
}
|
|
718
|
-
releasedAssignmentIds
|
|
719
|
-
viewerIsRequester
|
|
720
|
-
viewerCanDecide
|
|
721
|
-
}
|
|
722
|
-
}
|
|
723
|
-
${scheduleTimeOffFragment}
|
|
724
|
-
${scheduleOccurrenceFragment}
|
|
725
|
-
`;
|
|
726
|
-
|
|
727
|
-
export const decideScheduleTimeOffMtn = gql`
|
|
728
|
-
mutation decideScheduleTimeOff($input: DecideScheduleTimeOffInput!) {
|
|
729
|
-
decideScheduleTimeOff(input: $input) {
|
|
730
|
-
...scheduleTimeOffFragment
|
|
731
|
-
conflictingAssignments {
|
|
732
|
-
...scheduleOccurrenceFragment
|
|
733
|
-
}
|
|
734
|
-
releasedAssignmentIds
|
|
735
|
-
viewerIsRequester
|
|
736
|
-
viewerCanDecide
|
|
737
|
-
}
|
|
738
|
-
}
|
|
739
|
-
${scheduleTimeOffFragment}
|
|
740
|
-
${scheduleOccurrenceFragment}
|
|
741
|
-
`;
|
|
742
|
-
|
|
743
|
-
export const cancelScheduleTimeOffMtn = gql`
|
|
744
|
-
mutation cancelScheduleTimeOff($input: CancelScheduleTimeOffInput!) {
|
|
745
|
-
cancelScheduleTimeOff(input: $input) {
|
|
746
|
-
...scheduleTimeOffFragment
|
|
747
|
-
conflictingAssignments {
|
|
748
|
-
...scheduleOccurrenceFragment
|
|
749
|
-
}
|
|
750
|
-
releasedAssignmentIds
|
|
751
|
-
viewerIsRequester
|
|
752
|
-
viewerCanDecide
|
|
753
|
-
}
|
|
754
|
-
}
|
|
755
|
-
${scheduleTimeOffFragment}
|
|
756
|
-
${scheduleOccurrenceFragment}
|
|
147
|
+
${scheduleResourceCapacityFragment}
|
|
757
148
|
`;
|
|
758
149
|
|
|
759
150
|
export const createScheduleProjectMtn = gql`
|
|
@@ -788,22 +179,6 @@ ${scheduleProjectFragment}
|
|
|
788
179
|
${scheduleProjectRunFragment}
|
|
789
180
|
`;
|
|
790
181
|
|
|
791
|
-
export const updateScheduleProjectAccessMtn = gql`
|
|
792
|
-
mutation updateScheduleProjectAccess($input: UpdateScheduleProjectAccessInput!) {
|
|
793
|
-
updateScheduleProjectAccess(input: $input) {
|
|
794
|
-
...scheduleProjectFragment
|
|
795
|
-
activityCount
|
|
796
|
-
unreviewedCount
|
|
797
|
-
viewerPermission
|
|
798
|
-
viewerCanEdit
|
|
799
|
-
viewerCanEditAccess
|
|
800
|
-
viewerIsManager
|
|
801
|
-
}
|
|
802
|
-
}
|
|
803
|
-
${scheduleProjectFragment}
|
|
804
|
-
${scheduleProjectRunFragment}
|
|
805
|
-
`;
|
|
806
|
-
|
|
807
182
|
export const deleteScheduleProjectMtn = gql`
|
|
808
183
|
mutation deleteScheduleProject($input: DeleteScheduleProjectInput!) {
|
|
809
184
|
deleteScheduleProject(input: $input)
|
|
@@ -814,39 +189,19 @@ deleteScheduleProject(input: $input)
|
|
|
814
189
|
export const createScheduleWbsNodeMtn = gql`
|
|
815
190
|
mutation createScheduleWbsNode($input: CreateScheduleWbsNodeInput!) {
|
|
816
191
|
createScheduleWbsNode(input: $input) {
|
|
817
|
-
|
|
818
|
-
projectId
|
|
819
|
-
parentId
|
|
820
|
-
code
|
|
821
|
-
name
|
|
822
|
-
path
|
|
823
|
-
depth
|
|
824
|
-
ordinal
|
|
825
|
-
startAt
|
|
826
|
-
finishAt
|
|
827
|
-
percentComplete
|
|
192
|
+
...scheduleWbsNodeFragment
|
|
828
193
|
}
|
|
829
194
|
}
|
|
830
|
-
|
|
195
|
+
${scheduleWbsNodeFragment}
|
|
831
196
|
`;
|
|
832
197
|
|
|
833
198
|
export const updateScheduleWbsNodeMtn = gql`
|
|
834
199
|
mutation updateScheduleWbsNode($input: UpdateScheduleWbsNodeInput!) {
|
|
835
200
|
updateScheduleWbsNode(input: $input) {
|
|
836
|
-
|
|
837
|
-
projectId
|
|
838
|
-
parentId
|
|
839
|
-
code
|
|
840
|
-
name
|
|
841
|
-
path
|
|
842
|
-
depth
|
|
843
|
-
ordinal
|
|
844
|
-
startAt
|
|
845
|
-
finishAt
|
|
846
|
-
percentComplete
|
|
201
|
+
...scheduleWbsNodeFragment
|
|
847
202
|
}
|
|
848
203
|
}
|
|
849
|
-
|
|
204
|
+
${scheduleWbsNodeFragment}
|
|
850
205
|
`;
|
|
851
206
|
|
|
852
207
|
export const deleteScheduleWbsNodeMtn = gql`
|
|
@@ -856,15 +211,6 @@ deleteScheduleWbsNode(input: $input)
|
|
|
856
211
|
|
|
857
212
|
`;
|
|
858
213
|
|
|
859
|
-
export const createScheduleActivityMtn = gql`
|
|
860
|
-
mutation createScheduleActivity($input: CreateScheduleActivityInput!) {
|
|
861
|
-
createScheduleActivity(input: $input) {
|
|
862
|
-
...scheduleActivityFragment
|
|
863
|
-
}
|
|
864
|
-
}
|
|
865
|
-
${scheduleActivityFragment}
|
|
866
|
-
`;
|
|
867
|
-
|
|
868
214
|
export const createScheduleActivitiesMtn = gql`
|
|
869
215
|
mutation createScheduleActivities($input: CreateScheduleActivitiesInput!) {
|
|
870
216
|
createScheduleActivities(input: $input) {
|
|
@@ -883,15 +229,6 @@ updateScheduleActivity(input: $input) {
|
|
|
883
229
|
${scheduleActivityFragment}
|
|
884
230
|
`;
|
|
885
231
|
|
|
886
|
-
export const updateScheduleActivitiesProgressMtn = gql`
|
|
887
|
-
mutation updateScheduleActivitiesProgress($input: UpdateScheduleActivitiesProgressInput!) {
|
|
888
|
-
updateScheduleActivitiesProgress(input: $input) {
|
|
889
|
-
...scheduleActivityFragment
|
|
890
|
-
}
|
|
891
|
-
}
|
|
892
|
-
${scheduleActivityFragment}
|
|
893
|
-
`;
|
|
894
|
-
|
|
895
232
|
export const deleteScheduleActivitiesMtn = gql`
|
|
896
233
|
mutation deleteScheduleActivities($input: DeleteScheduleActivitiesInput!) {
|
|
897
234
|
deleteScheduleActivities(input: $input)
|
|
@@ -917,31 +254,31 @@ reviewScheduleActivities(input: $input) {
|
|
|
917
254
|
${scheduleActivityFragment}
|
|
918
255
|
`;
|
|
919
256
|
|
|
920
|
-
export const
|
|
921
|
-
mutation
|
|
922
|
-
|
|
257
|
+
export const replaceScheduleActivityPredecessorsMtn = gql`
|
|
258
|
+
mutation replaceScheduleActivityPredecessors($input: ReplaceScheduleActivityPredecessorsInput!) {
|
|
259
|
+
replaceScheduleActivityPredecessors(input: $input) {
|
|
260
|
+
activity {
|
|
261
|
+
...scheduleActivityFragment
|
|
262
|
+
}
|
|
923
263
|
relationships {
|
|
924
264
|
...scheduleRelationshipFragment
|
|
925
265
|
}
|
|
926
|
-
cycleActivityIds
|
|
927
|
-
duplicateCount
|
|
928
266
|
}
|
|
929
267
|
}
|
|
268
|
+
${scheduleActivityFragment}
|
|
930
269
|
${scheduleRelationshipFragment}
|
|
931
270
|
`;
|
|
932
271
|
|
|
933
|
-
export const
|
|
934
|
-
mutation
|
|
935
|
-
|
|
936
|
-
activity {
|
|
937
|
-
...scheduleActivityFragment
|
|
938
|
-
}
|
|
272
|
+
export const createScheduleRelationshipsMtn = gql`
|
|
273
|
+
mutation createScheduleRelationships($input: CreateScheduleRelationshipsInput!) {
|
|
274
|
+
createScheduleRelationships(input: $input) {
|
|
939
275
|
relationships {
|
|
940
276
|
...scheduleRelationshipFragment
|
|
941
277
|
}
|
|
278
|
+
cycleActivityIds
|
|
279
|
+
duplicateCount
|
|
942
280
|
}
|
|
943
281
|
}
|
|
944
|
-
${scheduleActivityFragment}
|
|
945
282
|
${scheduleRelationshipFragment}
|
|
946
283
|
`;
|
|
947
284
|
|
|
@@ -964,17 +301,10 @@ deleteScheduleRelationships(input: $input)
|
|
|
964
301
|
export const replaceScheduleActivityAssignmentMtn = gql`
|
|
965
302
|
mutation replaceScheduleActivityAssignment($input: ReplaceScheduleActivityAssignmentInput!) {
|
|
966
303
|
replaceScheduleActivityAssignment(input: $input) {
|
|
967
|
-
|
|
968
|
-
projectId
|
|
969
|
-
activityId
|
|
970
|
-
resourceId
|
|
971
|
-
plannedUnits
|
|
972
|
-
unitsPerDay
|
|
973
|
-
actualUnits
|
|
974
|
-
remainingUnits
|
|
304
|
+
...scheduleActivityAssignmentFragment
|
|
975
305
|
}
|
|
976
306
|
}
|
|
977
|
-
|
|
307
|
+
${scheduleActivityAssignmentFragment}
|
|
978
308
|
`;
|
|
979
309
|
|
|
980
310
|
export const deleteScheduleActivityAssignmentMtn = gql`
|
|
@@ -1005,18 +335,10 @@ ${scheduleProjectRunFragment}
|
|
|
1005
335
|
export const createScheduleBaselineMtn = gql`
|
|
1006
336
|
mutation createScheduleBaseline($input: CreateScheduleBaselineInput!) {
|
|
1007
337
|
createScheduleBaseline(input: $input) {
|
|
1008
|
-
|
|
1009
|
-
projectId
|
|
1010
|
-
name
|
|
1011
|
-
note
|
|
1012
|
-
dataDateAt
|
|
1013
|
-
isCurrent
|
|
1014
|
-
createdByAccountId
|
|
1015
|
-
createdAt
|
|
1016
|
-
cursor
|
|
338
|
+
...scheduleBaselineFragment
|
|
1017
339
|
}
|
|
1018
340
|
}
|
|
1019
|
-
|
|
341
|
+
${scheduleBaselineFragment}
|
|
1020
342
|
`;
|
|
1021
343
|
|
|
1022
344
|
export const setScheduleCurrentBaselineMtn = gql`
|
|
@@ -1042,32 +364,6 @@ deleteScheduleBaseline(input: $input)
|
|
|
1042
364
|
|
|
1043
365
|
`;
|
|
1044
366
|
|
|
1045
|
-
export const replaceScheduleCodeTypeMtn = gql`
|
|
1046
|
-
mutation replaceScheduleCodeType($input: ReplaceScheduleCodeTypeInput!) {
|
|
1047
|
-
replaceScheduleCodeType(input: $input) {
|
|
1048
|
-
id
|
|
1049
|
-
organizationId
|
|
1050
|
-
projectId
|
|
1051
|
-
key
|
|
1052
|
-
name
|
|
1053
|
-
values {
|
|
1054
|
-
key
|
|
1055
|
-
label
|
|
1056
|
-
color
|
|
1057
|
-
}
|
|
1058
|
-
ordinal
|
|
1059
|
-
}
|
|
1060
|
-
}
|
|
1061
|
-
|
|
1062
|
-
`;
|
|
1063
|
-
|
|
1064
|
-
export const deleteScheduleCodeTypeMtn = gql`
|
|
1065
|
-
mutation deleteScheduleCodeType($input: DeleteScheduleCodeTypeInput!) {
|
|
1066
|
-
deleteScheduleCodeType(input: $input)
|
|
1067
|
-
}
|
|
1068
|
-
|
|
1069
|
-
`;
|
|
1070
|
-
|
|
1071
367
|
export const importScheduleProjectPlanMtn = gql`
|
|
1072
368
|
mutation importScheduleProjectPlan($input: ScheduleImportPlanInput!) {
|
|
1073
369
|
importScheduleProjectPlan(input: $input) {
|
|
@@ -1089,6 +385,7 @@ rowCode
|
|
|
1089
385
|
message
|
|
1090
386
|
}
|
|
1091
387
|
cycleCodes
|
|
388
|
+
dataDateAt
|
|
1092
389
|
run {
|
|
1093
390
|
...scheduleProjectRunFragment
|
|
1094
391
|
}
|
|
@@ -1096,26 +393,3 @@ run {
|
|
|
1096
393
|
}
|
|
1097
394
|
${scheduleProjectRunFragment}
|
|
1098
395
|
`;
|
|
1099
|
-
|
|
1100
|
-
export const deleteScheduleActivityMtn = gql`
|
|
1101
|
-
mutation deleteScheduleActivity($input: DeleteScheduleActivityInput!) {
|
|
1102
|
-
deleteScheduleActivity(input: $input)
|
|
1103
|
-
}
|
|
1104
|
-
|
|
1105
|
-
`;
|
|
1106
|
-
|
|
1107
|
-
export const createScheduleRelationshipMtn = gql`
|
|
1108
|
-
mutation createScheduleRelationship($input: CreateScheduleRelationshipInput!) {
|
|
1109
|
-
createScheduleRelationship(input: $input) {
|
|
1110
|
-
...scheduleRelationshipFragment
|
|
1111
|
-
}
|
|
1112
|
-
}
|
|
1113
|
-
${scheduleRelationshipFragment}
|
|
1114
|
-
`;
|
|
1115
|
-
|
|
1116
|
-
export const deleteScheduleRelationshipMtn = gql`
|
|
1117
|
-
mutation deleteScheduleRelationship($input: DeleteScheduleRelationshipInput!) {
|
|
1118
|
-
deleteScheduleRelationship(input: $input)
|
|
1119
|
-
}
|
|
1120
|
-
|
|
1121
|
-
`;
|