@jsb188/graphql 1.1.10 → 1.1.12
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/audience.d.ts +343 -0
- package/cache/config.ts +98 -50
- package/cache/index.chat-activity.test.ts +119 -0
- package/cache/index.chat.test.ts +92 -0
- package/cache/index.helpers.ts +96 -0
- package/cache/index.regression.test.ts +149 -0
- package/cache/index.test.ts +1017 -127
- package/cache/index.ts +1256 -1269
- package/cache/optimistic-ui-runtime.ts +46 -0
- package/cache/optimistic-ui.ts +401 -0
- package/cache/persist.ts +800 -0
- package/cache/store.ts +395 -0
- package/cache/value.helpers.ts +17 -0
- package/client/draft-persistence-indexed-db.ts +413 -0
- package/client/draft-persistence.ts +152 -0
- package/client/index.ts +3 -0
- package/client/request.helpers.ts +14 -0
- package/client/request.ts +870 -164
- package/deno.lock +187 -0
- package/deno.test.json +10 -4
- package/gql/eagerQueryMap.ts +12 -0
- package/gql/fragments/accountAuthFragments.ts +5 -0
- package/gql/fragments/accountFragments.ts +0 -3
- package/gql/fragments/accountSessionFragments.ts +16 -0
- package/gql/fragments/agentMemoryFragments.ts +23 -0
- package/gql/fragments/agentNoteFragments.ts +150 -0
- package/gql/fragments/aiChatFragments.ts +42 -0
- package/gql/fragments/audienceFragments.ts +141 -0
- package/gql/fragments/campaignFragments.ts +566 -0
- package/gql/fragments/dataTableFragments.ts +50 -192
- package/gql/fragments/emailFragments.ts +32 -17
- package/gql/fragments/fieldDocFragments.ts +264 -0
- package/gql/fragments/inboundContactFragments.ts +2 -0
- package/gql/fragments/logFragments.ts +101 -69
- package/gql/fragments/organizationFragments.ts +53 -5
- package/gql/fragments/qrCodeFragments.ts +29 -0
- package/gql/fragments/scheduleFragments.ts +667 -0
- package/gql/fragments/sheetFragments.ts +304 -63
- package/gql/fragments/storageFragments.ts +45 -0
- package/gql/fragments/workflowFragments.ts +41 -5
- package/gql/mutations/accountMutations.ts +0 -2
- package/gql/mutations/agentMemoryMutations.ts +68 -0
- package/gql/mutations/agentNoteMutations.ts +62 -0
- package/gql/mutations/aiChatMutations.ts +49 -4
- package/gql/mutations/audienceMutations.ts +71 -0
- package/gql/mutations/authMutations.ts +203 -18
- package/gql/mutations/billingMutations.ts +17 -27
- package/gql/mutations/campaignMutations.ts +258 -0
- package/gql/mutations/contactMutations.ts +23 -0
- package/gql/mutations/dataTableMutations.ts +19 -54
- package/gql/mutations/fieldDocMutations.ts +173 -0
- package/gql/mutations/index.ts +10 -2
- package/gql/mutations/logMutations.ts +6 -29
- package/gql/mutations/organizationMutations.ts +19 -4
- package/gql/mutations/qrCodeMutations.ts +20 -0
- package/gql/mutations/scheduleMutations.ts +1121 -0
- package/gql/mutations/sheetMutations.ts +221 -60
- package/gql/mutations/storageMutations.ts +19 -0
- package/gql/mutations/workflowMutations.ts +60 -0
- package/gql/queries/agentMemoryQueries.ts +28 -0
- package/gql/queries/agentNoteQueries.ts +89 -0
- package/gql/queries/aiChatQueries.ts +70 -2
- package/gql/queries/audienceQueries.ts +128 -0
- package/gql/queries/authQueries.ts +47 -0
- package/gql/queries/billingQueries.ts +118 -6
- package/gql/queries/campaignQueries.ts +236 -0
- package/gql/queries/dataTableQueries.ts +61 -13
- package/gql/queries/emailQueries.ts +26 -17
- package/gql/queries/emailReplyReportQueries.ts +76 -0
- package/gql/queries/fieldDocQueries.ts +166 -0
- package/gql/queries/inboundContactQueries.ts +4 -0
- package/gql/queries/index.ts +10 -2
- package/gql/queries/logQueries.ts +68 -30
- package/gql/queries/organizationQueries.ts +65 -1
- package/gql/queries/qrCodeQueries.ts +20 -0
- package/gql/queries/scheduleQueries.ts +691 -0
- package/gql/queries/sheetQueries.ts +244 -26
- package/gql/queries/storageQueries.ts +38 -0
- package/gql/queries/workflowQueries.ts +77 -2
- package/hooks/index.helpers.test.ts +50 -0
- package/hooks/index.helpers.ts +52 -0
- package/hooks/index.ts +2254 -982
- package/hooks/use-account-mtn.ts +76 -81
- package/hooks/use-agentMemory-mtn.ts +71 -0
- package/hooks/use-agentMemory-qry.ts +56 -0
- package/hooks/use-agentNote-mtn.ts +82 -0
- package/hooks/use-agentNote-qry.ts +190 -0
- package/hooks/use-agentNote-recovery.helpers.test.ts +68 -0
- package/hooks/use-agentNote-recovery.helpers.ts +58 -0
- package/hooks/use-agentNote-recovery.ts +72 -0
- package/hooks/use-aiChat-mtn.ts +220 -141
- package/hooks/use-aiChat-qry.helpers.test.ts +63 -0
- package/hooks/use-aiChat-qry.helpers.ts +124 -0
- package/hooks/use-aiChat-qry.ts +341 -237
- package/hooks/use-aiChat-stream-mtn.ts +14 -0
- package/hooks/use-app-qry.ts +12 -9
- package/hooks/use-audience-mtn.ts +194 -0
- package/hooks/use-audience-qry.helpers.test.ts +80 -0
- package/hooks/use-audience-qry.helpers.ts +63 -0
- package/hooks/use-audience-qry.ts +330 -0
- package/hooks/use-auth-mtn.ts +435 -252
- package/hooks/use-auth-qry.ts +51 -0
- package/hooks/use-billing-mtn.ts +31 -0
- package/hooks/use-billing-qry.ts +76 -0
- package/hooks/use-campaign-generation-recovery.ts +53 -0
- package/hooks/use-campaign-mtn.ts +436 -0
- package/hooks/use-campaign-qry.helpers.ts +40 -0
- package/hooks/use-campaign-qry.ts +834 -0
- package/hooks/use-dataTable-mtn.ts +37 -46
- package/hooks/use-dataTable-qry.ts +102 -128
- package/hooks/use-email-qry.helpers.ts +37 -0
- package/hooks/use-email-qry.ts +56 -86
- package/hooks/use-emailCampaignReplyReport-qry.ts +27 -0
- package/hooks/use-fieldDoc-mtn.ts +262 -0
- package/hooks/use-fieldDoc-qry.helpers.test.ts +65 -0
- package/hooks/use-fieldDoc-qry.helpers.ts +49 -0
- package/hooks/use-fieldDoc-qry.ts +212 -0
- package/hooks/use-inboundContact-mtn.ts +19 -16
- package/hooks/use-inboundContact-qry.ts +62 -56
- package/hooks/use-integration-mtn.ts +56 -38
- package/hooks/use-integration-qry.ts +24 -9
- package/hooks/use-log-mtn.ts +88 -59
- package/hooks/use-log-qry.ts +150 -73
- package/hooks/use-organization-mtn.ts +334 -277
- package/hooks/use-organization-qry.ts +155 -129
- package/hooks/use-publicFormEmail-mtn.ts +27 -0
- package/hooks/use-qrCode-mtn.ts +40 -0
- package/hooks/use-qrCode-qry.ts +78 -0
- package/hooks/use-schedule-mtn.ts +589 -0
- package/hooks/use-schedule-qry.ts +738 -0
- package/hooks/use-schedule-reactive.ts +486 -0
- package/hooks/use-sheet-mtn.ts +157 -79
- package/hooks/use-sheet-qry.ts +221 -92
- package/hooks/use-storage-mtn.ts +81 -41
- package/hooks/use-storage-qry.ts +128 -14
- package/hooks/use-workflow-mtn.ts +72 -0
- package/hooks/use-workflow-qry.ts +184 -47
- package/libs/ai-chat-outgoing.helpers.ts +153 -0
- package/libs/ai-chat-outgoing.ts +11 -0
- package/libs/ai-chat-outgoing.types.ts +25 -0
- package/libs/ai-chat-run-realtime.ts +20 -0
- package/libs/ai-chat-submission-realtime.ts +150 -0
- package/libs/fragment-realtime-sequence.ts +55 -0
- package/libs/fragment-recovery.test.ts +326 -0
- package/libs/fragment-recovery.ts +325 -0
- package/libs/open-sheet.ts +138 -0
- package/libs/orchestrator-realtime.helpers.test.ts +229 -0
- package/libs/orchestrator-realtime.helpers.ts +317 -0
- package/libs/orchestrator-realtime.ts +433 -0
- package/libs/request-cache-regression.test.ts +122 -0
- package/libs/request-managed-session.test.ts +574 -0
- package/libs/request-no-store.test.ts +419 -0
- package/libs/sheet-command-batch.ts +44 -0
- package/libs/sheet-view-realtime-router.test.ts +214 -0
- package/libs/sheet-view-realtime-router.ts +99 -0
- package/libs/sse-ticket.test.ts +26 -0
- package/loaders/campaign.test.ts +186 -0
- package/loaders/campaign.ts +110 -0
- package/loaders/emailPreference.ts +75 -0
- package/loaders/rest.ts +12 -0
- package/package.json +119 -71
- package/schedule.d.ts +1790 -0
- package/sse.helpers.ts +19 -0
- package/sse.ts +70 -106
- package/tests/agent-note-detail-cache.test.ts +120 -0
- package/tests/agent-note-search.test.ts +444 -0
- package/tsconfig.json +11 -10
- package/types.d.ts +77 -26
- package/utils.ts +78 -49
- package/gql/fragments/billingFragments.ts +0 -25
- package/gql/fragments/productFragments.ts +0 -39
- package/gql/fragments/reportFragments.ts +0 -90
- package/gql/queries/productQueries.ts +0 -31
- package/gql/queries/reportQueries.ts +0 -134
- package/hooks/use-product-qry.ts +0 -67
- package/hooks/use-report-qry.ts +0 -153
|
@@ -0,0 +1,589 @@
|
|
|
1
|
+
import type { UseMutationParams } from '../types.d.ts';
|
|
2
|
+
import type { OpenModalPopUpFn } from '@jsb188/react/states';
|
|
3
|
+
import type { DocumentNode } from 'graphql';
|
|
4
|
+
import * as documents from '../gql/mutations/scheduleMutations.ts';
|
|
5
|
+
import { useMutation } from './index.ts';
|
|
6
|
+
|
|
7
|
+
/*
|
|
8
|
+
* Compose the standard mutation lifecycle. Server fragments and membership resets
|
|
9
|
+
* reach the writer, so mutation hooks do not mutate the client cache themselves.
|
|
10
|
+
*/
|
|
11
|
+
function composeScheduleMutationHook<K extends string>(
|
|
12
|
+
mutation: DocumentNode,
|
|
13
|
+
resultKey: K,
|
|
14
|
+
) {
|
|
15
|
+
/*
|
|
16
|
+
* Execute one schedule command and deliver its domain payload to the caller.
|
|
17
|
+
*/
|
|
18
|
+
return function useScheduleMutation(
|
|
19
|
+
params: UseMutationParams = {},
|
|
20
|
+
openModalPopUp?: OpenModalPopUpFn,
|
|
21
|
+
) {
|
|
22
|
+
const { onCompleted, ...rest } = params;
|
|
23
|
+
const [mutate, values, handlers, updateObservers] = useMutation(mutation, {
|
|
24
|
+
openModalPopUp,
|
|
25
|
+
...rest,
|
|
26
|
+
onCompleted: (data, error, variables) => {
|
|
27
|
+
onCompleted?.(data?.[resultKey], error, variables);
|
|
28
|
+
},
|
|
29
|
+
});
|
|
30
|
+
return {
|
|
31
|
+
...values,
|
|
32
|
+
...handlers,
|
|
33
|
+
mutate,
|
|
34
|
+
updateObservers,
|
|
35
|
+
[resultKey]: mutate,
|
|
36
|
+
} as typeof values &
|
|
37
|
+
typeof handlers & {
|
|
38
|
+
mutate: typeof mutate;
|
|
39
|
+
updateObservers: typeof updateObservers;
|
|
40
|
+
} & Record<K, typeof mutate>;
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/*
|
|
45
|
+
* Submit createScheduleWorkCalendar through the shared mutation lifecycle.
|
|
46
|
+
*/
|
|
47
|
+
export const useCreateScheduleWorkCalendar = composeScheduleMutationHook(
|
|
48
|
+
documents.createScheduleWorkCalendarMtn,
|
|
49
|
+
'createScheduleWorkCalendar',
|
|
50
|
+
);
|
|
51
|
+
|
|
52
|
+
/*
|
|
53
|
+
* Submit updateScheduleWorkCalendar through the shared mutation lifecycle.
|
|
54
|
+
*/
|
|
55
|
+
export const useUpdateScheduleWorkCalendar = composeScheduleMutationHook(
|
|
56
|
+
documents.updateScheduleWorkCalendarMtn,
|
|
57
|
+
'updateScheduleWorkCalendar',
|
|
58
|
+
);
|
|
59
|
+
|
|
60
|
+
/*
|
|
61
|
+
* Submit setScheduleWorkCalendarException through the shared mutation lifecycle.
|
|
62
|
+
*/
|
|
63
|
+
export const useSetScheduleWorkCalendarException = composeScheduleMutationHook(
|
|
64
|
+
documents.setScheduleWorkCalendarExceptionMtn,
|
|
65
|
+
'setScheduleWorkCalendarException',
|
|
66
|
+
);
|
|
67
|
+
|
|
68
|
+
/*
|
|
69
|
+
* Submit deleteScheduleWorkCalendar through the shared mutation lifecycle.
|
|
70
|
+
*/
|
|
71
|
+
export const useDeleteScheduleWorkCalendar = composeScheduleMutationHook(
|
|
72
|
+
documents.deleteScheduleWorkCalendarMtn,
|
|
73
|
+
'deleteScheduleWorkCalendar',
|
|
74
|
+
);
|
|
75
|
+
|
|
76
|
+
/*
|
|
77
|
+
* Submit createScheduleResource through the shared mutation lifecycle.
|
|
78
|
+
*/
|
|
79
|
+
export const useCreateScheduleResource = composeScheduleMutationHook(
|
|
80
|
+
documents.createScheduleResourceMtn,
|
|
81
|
+
'createScheduleResource',
|
|
82
|
+
);
|
|
83
|
+
|
|
84
|
+
/*
|
|
85
|
+
* Submit updateScheduleResource through the shared mutation lifecycle.
|
|
86
|
+
*/
|
|
87
|
+
export const useUpdateScheduleResource = composeScheduleMutationHook(
|
|
88
|
+
documents.updateScheduleResourceMtn,
|
|
89
|
+
'updateScheduleResource',
|
|
90
|
+
);
|
|
91
|
+
|
|
92
|
+
/*
|
|
93
|
+
* Submit createScheduleResourceAvailability through the shared mutation lifecycle.
|
|
94
|
+
*/
|
|
95
|
+
export const useCreateScheduleResourceAvailability =
|
|
96
|
+
composeScheduleMutationHook(
|
|
97
|
+
documents.createScheduleResourceAvailabilityMtn,
|
|
98
|
+
'createScheduleResourceAvailability',
|
|
99
|
+
);
|
|
100
|
+
|
|
101
|
+
/*
|
|
102
|
+
* Submit deleteScheduleResourceAvailability through the shared mutation lifecycle.
|
|
103
|
+
*/
|
|
104
|
+
export const useDeleteScheduleResourceAvailability =
|
|
105
|
+
composeScheduleMutationHook(
|
|
106
|
+
documents.deleteScheduleResourceAvailabilityMtn,
|
|
107
|
+
'deleteScheduleResourceAvailability',
|
|
108
|
+
);
|
|
109
|
+
|
|
110
|
+
/*
|
|
111
|
+
* Submit updateMyScheduleNotifyPrefs through the shared mutation lifecycle.
|
|
112
|
+
*/
|
|
113
|
+
export const useUpdateMyScheduleNotifyPrefs = composeScheduleMutationHook(
|
|
114
|
+
documents.updateMyScheduleNotifyPrefsMtn,
|
|
115
|
+
'updateMyScheduleNotifyPrefs',
|
|
116
|
+
);
|
|
117
|
+
|
|
118
|
+
/*
|
|
119
|
+
* Submit createScheduleCalendar through the shared mutation lifecycle.
|
|
120
|
+
*/
|
|
121
|
+
export const useCreateScheduleCalendar = composeScheduleMutationHook(
|
|
122
|
+
documents.createScheduleCalendarMtn,
|
|
123
|
+
'createScheduleCalendar',
|
|
124
|
+
);
|
|
125
|
+
|
|
126
|
+
/*
|
|
127
|
+
* Submit updateScheduleCalendar through the shared mutation lifecycle.
|
|
128
|
+
*/
|
|
129
|
+
export const useUpdateScheduleCalendar = composeScheduleMutationHook(
|
|
130
|
+
documents.updateScheduleCalendarMtn,
|
|
131
|
+
'updateScheduleCalendar',
|
|
132
|
+
);
|
|
133
|
+
|
|
134
|
+
/*
|
|
135
|
+
* Submit updateScheduleCalendarAccess through the shared mutation lifecycle.
|
|
136
|
+
*/
|
|
137
|
+
export const useUpdateScheduleCalendarAccess = composeScheduleMutationHook(
|
|
138
|
+
documents.updateScheduleCalendarAccessMtn,
|
|
139
|
+
'updateScheduleCalendarAccess',
|
|
140
|
+
);
|
|
141
|
+
|
|
142
|
+
/*
|
|
143
|
+
* Submit deleteScheduleCalendar through the shared mutation lifecycle.
|
|
144
|
+
*/
|
|
145
|
+
export const useDeleteScheduleCalendar = composeScheduleMutationHook(
|
|
146
|
+
documents.deleteScheduleCalendarMtn,
|
|
147
|
+
'deleteScheduleCalendar',
|
|
148
|
+
);
|
|
149
|
+
|
|
150
|
+
/*
|
|
151
|
+
* Submit createScheduleSeries through the shared mutation lifecycle.
|
|
152
|
+
*/
|
|
153
|
+
export const useCreateScheduleSeries = composeScheduleMutationHook(
|
|
154
|
+
documents.createScheduleSeriesMtn,
|
|
155
|
+
'createScheduleSeries',
|
|
156
|
+
);
|
|
157
|
+
|
|
158
|
+
/*
|
|
159
|
+
* Submit updateScheduleSeries through the shared mutation lifecycle.
|
|
160
|
+
*/
|
|
161
|
+
export const useUpdateScheduleSeries = composeScheduleMutationHook(
|
|
162
|
+
documents.updateScheduleSeriesMtn,
|
|
163
|
+
'updateScheduleSeries',
|
|
164
|
+
);
|
|
165
|
+
|
|
166
|
+
/*
|
|
167
|
+
* Submit deleteScheduleSeries through the shared mutation lifecycle.
|
|
168
|
+
*/
|
|
169
|
+
export const useDeleteScheduleSeries = composeScheduleMutationHook(
|
|
170
|
+
documents.deleteScheduleSeriesMtn,
|
|
171
|
+
'deleteScheduleSeries',
|
|
172
|
+
);
|
|
173
|
+
|
|
174
|
+
/*
|
|
175
|
+
* Submit createScheduleOccurrence through the shared mutation lifecycle.
|
|
176
|
+
*/
|
|
177
|
+
export const useCreateScheduleOccurrence = composeScheduleMutationHook(
|
|
178
|
+
documents.createScheduleOccurrenceMtn,
|
|
179
|
+
'createScheduleOccurrence',
|
|
180
|
+
);
|
|
181
|
+
|
|
182
|
+
/*
|
|
183
|
+
* Submit updateScheduleOccurrence through the shared mutation lifecycle.
|
|
184
|
+
*/
|
|
185
|
+
export const useUpdateScheduleOccurrence = composeScheduleMutationHook(
|
|
186
|
+
documents.updateScheduleOccurrenceMtn,
|
|
187
|
+
'updateScheduleOccurrence',
|
|
188
|
+
);
|
|
189
|
+
|
|
190
|
+
/*
|
|
191
|
+
* Submit cancelScheduleOccurrence through the shared mutation lifecycle.
|
|
192
|
+
*/
|
|
193
|
+
export const useCancelScheduleOccurrence = composeScheduleMutationHook(
|
|
194
|
+
documents.cancelScheduleOccurrenceMtn,
|
|
195
|
+
'cancelScheduleOccurrence',
|
|
196
|
+
);
|
|
197
|
+
|
|
198
|
+
/*
|
|
199
|
+
* Submit deleteScheduleOccurrence through the shared mutation lifecycle.
|
|
200
|
+
*/
|
|
201
|
+
export const useDeleteScheduleOccurrence = composeScheduleMutationHook(
|
|
202
|
+
documents.deleteScheduleOccurrenceMtn,
|
|
203
|
+
'deleteScheduleOccurrence',
|
|
204
|
+
);
|
|
205
|
+
|
|
206
|
+
/*
|
|
207
|
+
* Submit assignScheduleOccurrence through the shared mutation lifecycle.
|
|
208
|
+
*/
|
|
209
|
+
export const useAssignScheduleOccurrence = composeScheduleMutationHook(
|
|
210
|
+
documents.assignScheduleOccurrenceMtn,
|
|
211
|
+
'assignScheduleOccurrence',
|
|
212
|
+
);
|
|
213
|
+
|
|
214
|
+
/*
|
|
215
|
+
* Submit releaseScheduleAssignment through the shared mutation lifecycle.
|
|
216
|
+
*/
|
|
217
|
+
export const useReleaseScheduleAssignment = composeScheduleMutationHook(
|
|
218
|
+
documents.releaseScheduleAssignmentMtn,
|
|
219
|
+
'releaseScheduleAssignment',
|
|
220
|
+
);
|
|
221
|
+
|
|
222
|
+
/*
|
|
223
|
+
* Submit publishScheduleWindow through the shared mutation lifecycle.
|
|
224
|
+
*/
|
|
225
|
+
export const usePublishScheduleWindow = composeScheduleMutationHook(
|
|
226
|
+
documents.publishScheduleWindowMtn,
|
|
227
|
+
'publishScheduleWindow',
|
|
228
|
+
);
|
|
229
|
+
|
|
230
|
+
/*
|
|
231
|
+
* Submit acknowledgeSchedulePublication through the shared mutation lifecycle.
|
|
232
|
+
*/
|
|
233
|
+
export const useAcknowledgeSchedulePublication = composeScheduleMutationHook(
|
|
234
|
+
documents.acknowledgeSchedulePublicationMtn,
|
|
235
|
+
'acknowledgeSchedulePublication',
|
|
236
|
+
);
|
|
237
|
+
|
|
238
|
+
/*
|
|
239
|
+
* Submit evaluateScheduleWindow through the shared mutation lifecycle.
|
|
240
|
+
*/
|
|
241
|
+
export const useEvaluateScheduleWindow = composeScheduleMutationHook(
|
|
242
|
+
documents.evaluateScheduleWindowMtn,
|
|
243
|
+
'evaluateScheduleWindow',
|
|
244
|
+
);
|
|
245
|
+
|
|
246
|
+
/*
|
|
247
|
+
* Submit createScheduleRule through the shared mutation lifecycle.
|
|
248
|
+
*/
|
|
249
|
+
export const useCreateScheduleRule = composeScheduleMutationHook(
|
|
250
|
+
documents.createScheduleRuleMtn,
|
|
251
|
+
'createScheduleRule',
|
|
252
|
+
);
|
|
253
|
+
|
|
254
|
+
/*
|
|
255
|
+
* Submit updateScheduleRule through the shared mutation lifecycle.
|
|
256
|
+
*/
|
|
257
|
+
export const useUpdateScheduleRule = composeScheduleMutationHook(
|
|
258
|
+
documents.updateScheduleRuleMtn,
|
|
259
|
+
'updateScheduleRule',
|
|
260
|
+
);
|
|
261
|
+
|
|
262
|
+
/*
|
|
263
|
+
* Submit deleteScheduleRule through the shared mutation lifecycle.
|
|
264
|
+
*/
|
|
265
|
+
export const useDeleteScheduleRule = composeScheduleMutationHook(
|
|
266
|
+
documents.deleteScheduleRuleMtn,
|
|
267
|
+
'deleteScheduleRule',
|
|
268
|
+
);
|
|
269
|
+
|
|
270
|
+
/*
|
|
271
|
+
* Submit createScheduleDemand through the shared mutation lifecycle.
|
|
272
|
+
*/
|
|
273
|
+
export const useCreateScheduleDemand = composeScheduleMutationHook(
|
|
274
|
+
documents.createScheduleDemandMtn,
|
|
275
|
+
'createScheduleDemand',
|
|
276
|
+
);
|
|
277
|
+
|
|
278
|
+
/*
|
|
279
|
+
* Submit deleteScheduleDemand through the shared mutation lifecycle.
|
|
280
|
+
*/
|
|
281
|
+
export const useDeleteScheduleDemand = composeScheduleMutationHook(
|
|
282
|
+
documents.deleteScheduleDemandMtn,
|
|
283
|
+
'deleteScheduleDemand',
|
|
284
|
+
);
|
|
285
|
+
|
|
286
|
+
/*
|
|
287
|
+
* Submit createScheduleRequest through the shared mutation lifecycle.
|
|
288
|
+
*/
|
|
289
|
+
export const useCreateScheduleRequest = composeScheduleMutationHook(
|
|
290
|
+
documents.createScheduleRequestMtn,
|
|
291
|
+
'createScheduleRequest',
|
|
292
|
+
);
|
|
293
|
+
|
|
294
|
+
/*
|
|
295
|
+
* Submit respondScheduleRequest through the shared mutation lifecycle.
|
|
296
|
+
*/
|
|
297
|
+
export const useRespondScheduleRequest = composeScheduleMutationHook(
|
|
298
|
+
documents.respondScheduleRequestMtn,
|
|
299
|
+
'respondScheduleRequest',
|
|
300
|
+
);
|
|
301
|
+
|
|
302
|
+
/*
|
|
303
|
+
* Submit withdrawScheduleRequest through the shared mutation lifecycle.
|
|
304
|
+
*/
|
|
305
|
+
export const useWithdrawScheduleRequest = composeScheduleMutationHook(
|
|
306
|
+
documents.withdrawScheduleRequestMtn,
|
|
307
|
+
'withdrawScheduleRequest',
|
|
308
|
+
);
|
|
309
|
+
|
|
310
|
+
/*
|
|
311
|
+
* Submit decideScheduleRequest through the shared mutation lifecycle.
|
|
312
|
+
*/
|
|
313
|
+
export const useDecideScheduleRequest = composeScheduleMutationHook(
|
|
314
|
+
documents.decideScheduleRequestMtn,
|
|
315
|
+
'decideScheduleRequest',
|
|
316
|
+
);
|
|
317
|
+
|
|
318
|
+
/*
|
|
319
|
+
* Submit createScheduleTimeOff through the shared mutation lifecycle.
|
|
320
|
+
*/
|
|
321
|
+
export const useCreateScheduleTimeOff = composeScheduleMutationHook(
|
|
322
|
+
documents.createScheduleTimeOffMtn,
|
|
323
|
+
'createScheduleTimeOff',
|
|
324
|
+
);
|
|
325
|
+
|
|
326
|
+
/*
|
|
327
|
+
* Submit decideScheduleTimeOff through the shared mutation lifecycle.
|
|
328
|
+
*/
|
|
329
|
+
export const useDecideScheduleTimeOff = composeScheduleMutationHook(
|
|
330
|
+
documents.decideScheduleTimeOffMtn,
|
|
331
|
+
'decideScheduleTimeOff',
|
|
332
|
+
);
|
|
333
|
+
|
|
334
|
+
/*
|
|
335
|
+
* Submit cancelScheduleTimeOff through the shared mutation lifecycle.
|
|
336
|
+
*/
|
|
337
|
+
export const useCancelScheduleTimeOff = composeScheduleMutationHook(
|
|
338
|
+
documents.cancelScheduleTimeOffMtn,
|
|
339
|
+
'cancelScheduleTimeOff',
|
|
340
|
+
);
|
|
341
|
+
|
|
342
|
+
/*
|
|
343
|
+
* Submit createScheduleProject through the shared mutation lifecycle.
|
|
344
|
+
*/
|
|
345
|
+
export const useCreateScheduleProject = composeScheduleMutationHook(
|
|
346
|
+
documents.createScheduleProjectMtn,
|
|
347
|
+
'createScheduleProject',
|
|
348
|
+
);
|
|
349
|
+
|
|
350
|
+
/*
|
|
351
|
+
* Submit updateScheduleProject through the shared mutation lifecycle.
|
|
352
|
+
*/
|
|
353
|
+
export const useUpdateScheduleProject = composeScheduleMutationHook(
|
|
354
|
+
documents.updateScheduleProjectMtn,
|
|
355
|
+
'updateScheduleProject',
|
|
356
|
+
);
|
|
357
|
+
|
|
358
|
+
/*
|
|
359
|
+
* Submit updateScheduleProjectAccess through the shared mutation lifecycle.
|
|
360
|
+
*/
|
|
361
|
+
export const useUpdateScheduleProjectAccess = composeScheduleMutationHook(
|
|
362
|
+
documents.updateScheduleProjectAccessMtn,
|
|
363
|
+
'updateScheduleProjectAccess',
|
|
364
|
+
);
|
|
365
|
+
|
|
366
|
+
/*
|
|
367
|
+
* Submit deleteScheduleProject through the shared mutation lifecycle.
|
|
368
|
+
*/
|
|
369
|
+
export const useDeleteScheduleProject = composeScheduleMutationHook(
|
|
370
|
+
documents.deleteScheduleProjectMtn,
|
|
371
|
+
'deleteScheduleProject',
|
|
372
|
+
);
|
|
373
|
+
|
|
374
|
+
/*
|
|
375
|
+
* Submit createScheduleWbsNode through the shared mutation lifecycle.
|
|
376
|
+
*/
|
|
377
|
+
export const useCreateScheduleWbsNode = composeScheduleMutationHook(
|
|
378
|
+
documents.createScheduleWbsNodeMtn,
|
|
379
|
+
'createScheduleWbsNode',
|
|
380
|
+
);
|
|
381
|
+
|
|
382
|
+
/*
|
|
383
|
+
* Submit updateScheduleWbsNode through the shared mutation lifecycle.
|
|
384
|
+
*/
|
|
385
|
+
export const useUpdateScheduleWbsNode = composeScheduleMutationHook(
|
|
386
|
+
documents.updateScheduleWbsNodeMtn,
|
|
387
|
+
'updateScheduleWbsNode',
|
|
388
|
+
);
|
|
389
|
+
|
|
390
|
+
/*
|
|
391
|
+
* Submit deleteScheduleWbsNode through the shared mutation lifecycle.
|
|
392
|
+
*/
|
|
393
|
+
export const useDeleteScheduleWbsNode = composeScheduleMutationHook(
|
|
394
|
+
documents.deleteScheduleWbsNodeMtn,
|
|
395
|
+
'deleteScheduleWbsNode',
|
|
396
|
+
);
|
|
397
|
+
|
|
398
|
+
/*
|
|
399
|
+
* Submit createScheduleActivity through the shared mutation lifecycle.
|
|
400
|
+
*/
|
|
401
|
+
export const useCreateScheduleActivity = composeScheduleMutationHook(
|
|
402
|
+
documents.createScheduleActivityMtn,
|
|
403
|
+
'createScheduleActivity',
|
|
404
|
+
);
|
|
405
|
+
|
|
406
|
+
/*
|
|
407
|
+
* Submit createScheduleActivities through the shared mutation lifecycle.
|
|
408
|
+
*/
|
|
409
|
+
export const useCreateScheduleActivities = composeScheduleMutationHook(
|
|
410
|
+
documents.createScheduleActivitiesMtn,
|
|
411
|
+
'createScheduleActivities',
|
|
412
|
+
);
|
|
413
|
+
|
|
414
|
+
/*
|
|
415
|
+
* Submit updateScheduleActivity through the shared mutation lifecycle.
|
|
416
|
+
*/
|
|
417
|
+
export const useUpdateScheduleActivity = composeScheduleMutationHook(
|
|
418
|
+
documents.updateScheduleActivityMtn,
|
|
419
|
+
'updateScheduleActivity',
|
|
420
|
+
);
|
|
421
|
+
|
|
422
|
+
/*
|
|
423
|
+
* Submit updateScheduleActivitiesProgress through the shared mutation lifecycle.
|
|
424
|
+
*/
|
|
425
|
+
export const useUpdateScheduleActivitiesProgress = composeScheduleMutationHook(
|
|
426
|
+
documents.updateScheduleActivitiesProgressMtn,
|
|
427
|
+
'updateScheduleActivitiesProgress',
|
|
428
|
+
);
|
|
429
|
+
|
|
430
|
+
/*
|
|
431
|
+
* Submit deleteScheduleActivities through the shared mutation lifecycle.
|
|
432
|
+
*/
|
|
433
|
+
export const useDeleteScheduleActivities = composeScheduleMutationHook(
|
|
434
|
+
documents.deleteScheduleActivitiesMtn,
|
|
435
|
+
'deleteScheduleActivities',
|
|
436
|
+
);
|
|
437
|
+
|
|
438
|
+
/*
|
|
439
|
+
* Submit moveScheduleActivities through the shared mutation lifecycle.
|
|
440
|
+
*/
|
|
441
|
+
export const useMoveScheduleActivities = composeScheduleMutationHook(
|
|
442
|
+
documents.moveScheduleActivitiesMtn,
|
|
443
|
+
'moveScheduleActivities',
|
|
444
|
+
);
|
|
445
|
+
|
|
446
|
+
/*
|
|
447
|
+
* Submit reviewScheduleActivities through the shared mutation lifecycle.
|
|
448
|
+
*/
|
|
449
|
+
export const useReviewScheduleActivities = composeScheduleMutationHook(
|
|
450
|
+
documents.reviewScheduleActivitiesMtn,
|
|
451
|
+
'reviewScheduleActivities',
|
|
452
|
+
);
|
|
453
|
+
|
|
454
|
+
/*
|
|
455
|
+
* Submit createScheduleRelationships through the shared mutation lifecycle.
|
|
456
|
+
*/
|
|
457
|
+
export const useCreateScheduleRelationships = composeScheduleMutationHook(
|
|
458
|
+
documents.createScheduleRelationshipsMtn,
|
|
459
|
+
'createScheduleRelationships',
|
|
460
|
+
);
|
|
461
|
+
|
|
462
|
+
/*
|
|
463
|
+
* Replace incoming relationships in one versioned transaction.
|
|
464
|
+
*/
|
|
465
|
+
export const useReplaceScheduleActivityPredecessors =
|
|
466
|
+
composeScheduleMutationHook(
|
|
467
|
+
documents.replaceScheduleActivityPredecessorsMtn,
|
|
468
|
+
'replaceScheduleActivityPredecessors',
|
|
469
|
+
);
|
|
470
|
+
|
|
471
|
+
/*
|
|
472
|
+
* Submit updateScheduleRelationship through the shared mutation lifecycle.
|
|
473
|
+
*/
|
|
474
|
+
export const useUpdateScheduleRelationship = composeScheduleMutationHook(
|
|
475
|
+
documents.updateScheduleRelationshipMtn,
|
|
476
|
+
'updateScheduleRelationship',
|
|
477
|
+
);
|
|
478
|
+
|
|
479
|
+
/*
|
|
480
|
+
* Submit deleteScheduleRelationships through the shared mutation lifecycle.
|
|
481
|
+
*/
|
|
482
|
+
export const useDeleteScheduleRelationships = composeScheduleMutationHook(
|
|
483
|
+
documents.deleteScheduleRelationshipsMtn,
|
|
484
|
+
'deleteScheduleRelationships',
|
|
485
|
+
);
|
|
486
|
+
|
|
487
|
+
/*
|
|
488
|
+
* Submit replaceScheduleActivityAssignment through the shared mutation lifecycle.
|
|
489
|
+
*/
|
|
490
|
+
export const useReplaceScheduleActivityAssignment = composeScheduleMutationHook(
|
|
491
|
+
documents.replaceScheduleActivityAssignmentMtn,
|
|
492
|
+
'replaceScheduleActivityAssignment',
|
|
493
|
+
);
|
|
494
|
+
|
|
495
|
+
/*
|
|
496
|
+
* Submit deleteScheduleActivityAssignment through the shared mutation lifecycle.
|
|
497
|
+
*/
|
|
498
|
+
export const useDeleteScheduleActivityAssignment = composeScheduleMutationHook(
|
|
499
|
+
documents.deleteScheduleActivityAssignmentMtn,
|
|
500
|
+
'deleteScheduleActivityAssignment',
|
|
501
|
+
);
|
|
502
|
+
|
|
503
|
+
/*
|
|
504
|
+
* Submit runScheduleProject through the shared mutation lifecycle.
|
|
505
|
+
*/
|
|
506
|
+
export const useRunScheduleProject = composeScheduleMutationHook(
|
|
507
|
+
documents.runScheduleProjectMtn,
|
|
508
|
+
'runScheduleProject',
|
|
509
|
+
);
|
|
510
|
+
|
|
511
|
+
/*
|
|
512
|
+
* Submit cancelScheduleProjectRun through the shared mutation lifecycle.
|
|
513
|
+
*/
|
|
514
|
+
export const useCancelScheduleProjectRun = composeScheduleMutationHook(
|
|
515
|
+
documents.cancelScheduleProjectRunMtn,
|
|
516
|
+
'cancelScheduleProjectRun',
|
|
517
|
+
);
|
|
518
|
+
|
|
519
|
+
/*
|
|
520
|
+
* Submit createScheduleBaseline through the shared mutation lifecycle.
|
|
521
|
+
*/
|
|
522
|
+
export const useCreateScheduleBaseline = composeScheduleMutationHook(
|
|
523
|
+
documents.createScheduleBaselineMtn,
|
|
524
|
+
'createScheduleBaseline',
|
|
525
|
+
);
|
|
526
|
+
|
|
527
|
+
/*
|
|
528
|
+
* Submit setScheduleCurrentBaseline through the shared mutation lifecycle.
|
|
529
|
+
*/
|
|
530
|
+
export const useSetScheduleCurrentBaseline = composeScheduleMutationHook(
|
|
531
|
+
documents.setScheduleCurrentBaselineMtn,
|
|
532
|
+
'setScheduleCurrentBaseline',
|
|
533
|
+
);
|
|
534
|
+
|
|
535
|
+
/*
|
|
536
|
+
* Submit deleteScheduleBaseline through the shared mutation lifecycle.
|
|
537
|
+
*/
|
|
538
|
+
export const useDeleteScheduleBaseline = composeScheduleMutationHook(
|
|
539
|
+
documents.deleteScheduleBaselineMtn,
|
|
540
|
+
'deleteScheduleBaseline',
|
|
541
|
+
);
|
|
542
|
+
|
|
543
|
+
/*
|
|
544
|
+
* Submit replaceScheduleCodeType through the shared mutation lifecycle.
|
|
545
|
+
*/
|
|
546
|
+
export const useReplaceScheduleCodeType = composeScheduleMutationHook(
|
|
547
|
+
documents.replaceScheduleCodeTypeMtn,
|
|
548
|
+
'replaceScheduleCodeType',
|
|
549
|
+
);
|
|
550
|
+
|
|
551
|
+
/*
|
|
552
|
+
* Submit deleteScheduleCodeType through the shared mutation lifecycle.
|
|
553
|
+
*/
|
|
554
|
+
export const useDeleteScheduleCodeType = composeScheduleMutationHook(
|
|
555
|
+
documents.deleteScheduleCodeTypeMtn,
|
|
556
|
+
'deleteScheduleCodeType',
|
|
557
|
+
);
|
|
558
|
+
|
|
559
|
+
/*
|
|
560
|
+
* Submit importScheduleProjectPlan through the shared mutation lifecycle.
|
|
561
|
+
*/
|
|
562
|
+
export const useImportScheduleProjectPlan = composeScheduleMutationHook(
|
|
563
|
+
documents.importScheduleProjectPlanMtn,
|
|
564
|
+
'importScheduleProjectPlan',
|
|
565
|
+
);
|
|
566
|
+
|
|
567
|
+
/*
|
|
568
|
+
* Submit deleteScheduleActivity through the shared mutation lifecycle.
|
|
569
|
+
*/
|
|
570
|
+
export const useDeleteScheduleActivity = composeScheduleMutationHook(
|
|
571
|
+
documents.deleteScheduleActivityMtn,
|
|
572
|
+
'deleteScheduleActivity',
|
|
573
|
+
);
|
|
574
|
+
|
|
575
|
+
/*
|
|
576
|
+
* Submit createScheduleRelationship through the shared mutation lifecycle.
|
|
577
|
+
*/
|
|
578
|
+
export const useCreateScheduleRelationship = composeScheduleMutationHook(
|
|
579
|
+
documents.createScheduleRelationshipMtn,
|
|
580
|
+
'createScheduleRelationship',
|
|
581
|
+
);
|
|
582
|
+
|
|
583
|
+
/*
|
|
584
|
+
* Submit deleteScheduleRelationship through the shared mutation lifecycle.
|
|
585
|
+
*/
|
|
586
|
+
export const useDeleteScheduleRelationship = composeScheduleMutationHook(
|
|
587
|
+
documents.deleteScheduleRelationshipMtn,
|
|
588
|
+
'deleteScheduleRelationship',
|
|
589
|
+
);
|