@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
package/schedule.d.ts
CHANGED
|
@@ -1,129 +1,62 @@
|
|
|
1
|
-
// Typed schedule API values. IDs are transport IDs; dates are ISO strings
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
// Typed schedule API values. IDs are transport IDs; dates are ISO strings;
|
|
2
|
+
// calendar-local dates (shiftDate, fromDate, toDate, preparedThrough) are
|
|
3
|
+
// 'YYYY-MM-DD' keys. Enums come from the engine, which also builds the SDL
|
|
4
|
+
// enums from the same constants.
|
|
5
|
+
import type {
|
|
6
|
+
ScheduleActivityStatusEnum,
|
|
7
|
+
ScheduleActivityTypeEnum,
|
|
8
|
+
ScheduleConstraintTypeEnum,
|
|
9
|
+
ScheduleCriticalityModeEnum,
|
|
10
|
+
ScheduleDiagnosticSeverityEnum,
|
|
11
|
+
ScheduleLagCalendarEnum,
|
|
12
|
+
ScheduleLevelingPriorityRuleEnum,
|
|
13
|
+
ScheduleNotifyChannelEnum,
|
|
14
|
+
ScheduleProgressLogicEnum,
|
|
15
|
+
ScheduleProjectRunKindEnum,
|
|
16
|
+
ScheduleProjectRunStatusEnum,
|
|
17
|
+
ScheduleProjectRunTriggerEnum,
|
|
18
|
+
ScheduleProjectStatusEnum,
|
|
19
|
+
ScheduleRelationshipTypeEnum,
|
|
20
|
+
ScheduleResourceKindEnum,
|
|
21
|
+
ScheduleRuleKindEnum,
|
|
22
|
+
ScheduleRuleSeverityEnum,
|
|
23
|
+
ScheduleShiftCreatedViaEnum,
|
|
24
|
+
ScheduleShiftStatusEnum,
|
|
25
|
+
ScheduleSourceKindEnum,
|
|
26
|
+
ScheduleSourceReviewStatusEnum,
|
|
27
|
+
ScheduleStaffVisibilityEnum,
|
|
28
|
+
ScheduleTaskCreatedViaEnum,
|
|
29
|
+
ScheduleTaskStatusEnum,
|
|
30
|
+
ScheduleTimeOffStatusEnum,
|
|
31
|
+
} from '@jsb188/schedule/types/schedule.d.ts';
|
|
12
32
|
|
|
13
|
-
export type
|
|
14
|
-
export type
|
|
15
|
-
export type
|
|
16
|
-
export type
|
|
17
|
-
export type
|
|
18
|
-
export type
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
export type
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
export type
|
|
31
|
-
export type
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
export type
|
|
37
|
-
export type
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
| 'RESOURCE_RETIRED'
|
|
41
|
-
| 'OCCURRENCE_NOT_SHIFT'
|
|
42
|
-
| 'OCCURRENCE_ENDED'
|
|
43
|
-
| 'ALREADY_ASSIGNED'
|
|
44
|
-
| 'SLOT_UNKNOWN'
|
|
45
|
-
| 'SLOT_FULL'
|
|
46
|
-
| 'NO_MATCHING_SLOT'
|
|
47
|
-
| 'PREDICATE_MISMATCH'
|
|
48
|
-
| 'QUALIFICATION_EXPIRED'
|
|
49
|
-
| 'QUALIFICATION_EXPIRES_DURING_SHIFT'
|
|
50
|
-
| 'TIME_OFF'
|
|
51
|
-
| 'OVERLAP'
|
|
52
|
-
| 'WINDOW_HOURS_EXCEEDED'
|
|
53
|
-
| 'MIN_REST';
|
|
54
|
-
export type ScheduleCoverageDiagnosticCode =
|
|
55
|
-
| 'RATIO_NOT_CONFIGURED'
|
|
56
|
-
| 'OPERATING_HOURS_NOT_CONFIGURED'
|
|
57
|
-
| 'QUALIFICATION_EXPIRY_INVALID'
|
|
58
|
-
| 'UNKNOWN_RESOURCE'
|
|
59
|
-
| 'UNKNOWN_SLOT_KEY'
|
|
60
|
-
| 'RULE_CONFIG_INVALID'
|
|
61
|
-
| 'RULE_SUBJECT_KIND_MISMATCH'
|
|
62
|
-
| 'VIOLATION_CAP';
|
|
63
|
-
export type ScheduleRequestKind = 'CLAIM' | 'DROP' | 'SWAP';
|
|
64
|
-
export type ScheduleRequestStatus =
|
|
65
|
-
| 'PENDING'
|
|
66
|
-
| 'ACCEPTED_BY_COUNTERPARTY'
|
|
67
|
-
| 'APPROVED'
|
|
68
|
-
| 'DECLINED'
|
|
69
|
-
| 'CANCELLED'
|
|
70
|
-
| 'EXPIRED';
|
|
71
|
-
export type ScheduleDecision = 'APPROVE' | 'DECLINE';
|
|
72
|
-
export type ScheduleTimeOffStatus =
|
|
73
|
-
| 'PENDING'
|
|
74
|
-
| 'APPROVED'
|
|
75
|
-
| 'DECLINED'
|
|
76
|
-
| 'CANCELLED';
|
|
77
|
-
export type ScheduleProjectStatus =
|
|
78
|
-
| 'PLANNING'
|
|
79
|
-
| 'ACTIVE'
|
|
80
|
-
| 'ON_HOLD'
|
|
81
|
-
| 'COMPLETE'
|
|
82
|
-
| 'ARCHIVED';
|
|
83
|
-
export type ScheduleActivityType =
|
|
84
|
-
| 'TASK'
|
|
85
|
-
| 'START_MILESTONE'
|
|
86
|
-
| 'FINISH_MILESTONE'
|
|
87
|
-
| 'LEVEL_OF_EFFORT'
|
|
88
|
-
| 'WBS_SUMMARY';
|
|
89
|
-
export type ScheduleActivityStatus = 'NOT_STARTED' | 'IN_PROGRESS' | 'COMPLETE';
|
|
90
|
-
export type ScheduleRelationshipType = 'FS' | 'SS' | 'FF' | 'SF';
|
|
91
|
-
export type ScheduleConstraintType =
|
|
92
|
-
| 'START_ON'
|
|
93
|
-
| 'START_ON_OR_AFTER'
|
|
94
|
-
| 'START_ON_OR_BEFORE'
|
|
95
|
-
| 'FINISH_ON'
|
|
96
|
-
| 'FINISH_ON_OR_AFTER'
|
|
97
|
-
| 'FINISH_ON_OR_BEFORE'
|
|
98
|
-
| 'MANDATORY_START'
|
|
99
|
-
| 'MANDATORY_FINISH'
|
|
100
|
-
| 'AS_LATE_AS_POSSIBLE';
|
|
101
|
-
export type ScheduleProgressLogic = 'RETAINED' | 'OVERRIDE';
|
|
102
|
-
export type ScheduleLagCalendar =
|
|
103
|
-
| 'PREDECESSOR'
|
|
104
|
-
| 'SUCCESSOR'
|
|
105
|
-
| 'PROJECT'
|
|
106
|
-
| 'CONTINUOUS';
|
|
107
|
-
export type ScheduleCriticalityMode = 'FLOAT' | 'LONGEST_PATH';
|
|
108
|
-
export type ScheduleLevelingPriorityRule =
|
|
109
|
-
| 'TOTAL_FLOAT'
|
|
110
|
-
| 'LATE_START'
|
|
111
|
-
| 'EARLY_START'
|
|
112
|
-
| 'PRIORITY'
|
|
113
|
-
| 'ORDINAL'
|
|
114
|
-
| 'DURATION';
|
|
115
|
-
export type ScheduleProjectRunKind = 'CPM' | 'LEVEL';
|
|
116
|
-
export type ScheduleProjectRunStatus =
|
|
117
|
-
| 'QUEUED'
|
|
118
|
-
| 'RUNNING'
|
|
119
|
-
| 'COMPLETE'
|
|
120
|
-
| 'FAILED'
|
|
121
|
-
| 'CANCELLED'
|
|
122
|
-
| 'SUPERSEDED';
|
|
123
|
-
export type ScheduleProjectRunTrigger = 'MANUAL' | 'AUTO' | 'IMPORT' | 'AGENT';
|
|
124
|
-
export type ScheduleDiagnosticSeverity = 'ERROR' | 'WARN' | 'INFO';
|
|
125
|
-
export type ScheduleSourceKind = 'MANUAL' | 'IMPORT' | 'EXTRACTION' | 'AGENT';
|
|
126
|
-
export type ScheduleSourceReviewStatus = 'UNREVIEWED' | 'ACCEPTED' | 'REJECTED';
|
|
33
|
+
export type ScheduleResourceKind = ScheduleResourceKindEnum;
|
|
34
|
+
export type ScheduleShiftStatus = ScheduleShiftStatusEnum;
|
|
35
|
+
export type ScheduleShiftCreatedVia = ScheduleShiftCreatedViaEnum;
|
|
36
|
+
export type ScheduleRuleKind = ScheduleRuleKindEnum;
|
|
37
|
+
export type ScheduleRuleSeverity = ScheduleRuleSeverityEnum;
|
|
38
|
+
export type ScheduleNotifyChannel = ScheduleNotifyChannelEnum;
|
|
39
|
+
export type ScheduleStaffVisibility = ScheduleStaffVisibilityEnum;
|
|
40
|
+
export type ScheduleTimeOffStatus = ScheduleTimeOffStatusEnum;
|
|
41
|
+
export type ScheduleTaskStatus = ScheduleTaskStatusEnum;
|
|
42
|
+
export type ScheduleTaskCreatedVia = ScheduleTaskCreatedViaEnum;
|
|
43
|
+
export type ScheduleProjectStatus = ScheduleProjectStatusEnum;
|
|
44
|
+
export type ScheduleActivityType = ScheduleActivityTypeEnum;
|
|
45
|
+
export type ScheduleActivityStatus = ScheduleActivityStatusEnum;
|
|
46
|
+
export type ScheduleRelationshipType = ScheduleRelationshipTypeEnum;
|
|
47
|
+
export type ScheduleConstraintType = ScheduleConstraintTypeEnum;
|
|
48
|
+
export type ScheduleProgressLogic = ScheduleProgressLogicEnum;
|
|
49
|
+
export type ScheduleLagCalendar = ScheduleLagCalendarEnum;
|
|
50
|
+
export type ScheduleCriticalityMode = ScheduleCriticalityModeEnum;
|
|
51
|
+
export type ScheduleLevelingPriorityRule = ScheduleLevelingPriorityRuleEnum;
|
|
52
|
+
export type ScheduleProjectRunKind = ScheduleProjectRunKindEnum;
|
|
53
|
+
export type ScheduleProjectRunStatus = ScheduleProjectRunStatusEnum;
|
|
54
|
+
export type ScheduleProjectRunTrigger = ScheduleProjectRunTriggerEnum;
|
|
55
|
+
export type ScheduleDiagnosticSeverity = ScheduleDiagnosticSeverityEnum;
|
|
56
|
+
export type ScheduleSourceKind = ScheduleSourceKindEnum;
|
|
57
|
+
export type ScheduleSourceReviewStatus = ScheduleSourceReviewStatusEnum;
|
|
58
|
+
|
|
59
|
+
// The SDL spells these two out; the engine has no constant for them
|
|
127
60
|
export type ScheduleImportMode = 'MERGE' | 'REPLACE';
|
|
128
61
|
export type ScheduleImportErrorCode =
|
|
129
62
|
| 'DUPLICATE_CODE'
|
|
@@ -137,11 +70,23 @@ export type ScheduleImportErrorCode =
|
|
|
137
70
|
| 'INVALID_FIELD'
|
|
138
71
|
| 'PROTECTED_ACTUALS'
|
|
139
72
|
| 'WBS_CYCLE';
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
|
144
|
-
|
|
|
73
|
+
|
|
74
|
+
export type ScheduleDocPermission = 'NONE' | 'VIEW' | 'EDIT';
|
|
75
|
+
export interface ScheduleDocAccessGQL {
|
|
76
|
+
team?: ScheduleDocPermission | null;
|
|
77
|
+
public?: ScheduleDocPermission | null;
|
|
78
|
+
network?: ScheduleDocPermission | null;
|
|
79
|
+
}
|
|
80
|
+
export interface ScheduleDocAccessGrantGQL {
|
|
81
|
+
granteeType: string;
|
|
82
|
+
granteeId: string;
|
|
83
|
+
permission: ScheduleDocPermission;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Work calendars
|
|
88
|
+
*/
|
|
89
|
+
|
|
145
90
|
export interface ScheduleTimeRangeGQL {
|
|
146
91
|
start: string;
|
|
147
92
|
end: string;
|
|
@@ -218,6 +163,12 @@ export interface SetScheduleWorkCalendarExceptionInput {
|
|
|
218
163
|
ranges?: Array<ScheduleTimeRangeInput> | null;
|
|
219
164
|
note?: string | null;
|
|
220
165
|
}
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Resources (PERSON = a team member with an account; LABOR, EQUIPMENT,
|
|
169
|
+
* MATERIAL and SPACE carry no account) and their dated leveling capacity
|
|
170
|
+
*/
|
|
171
|
+
|
|
221
172
|
export interface ScheduleQualificationGQL {
|
|
222
173
|
key: string;
|
|
223
174
|
expiresAt: string | null;
|
|
@@ -227,26 +178,29 @@ export interface ScheduleQualificationInput {
|
|
|
227
178
|
expiresAt?: string | null;
|
|
228
179
|
}
|
|
229
180
|
export interface ScheduleNotifyPrefsGQL {
|
|
230
|
-
channels: Array<ScheduleNotifyChannel>;
|
|
181
|
+
channels: Array<ScheduleNotifyChannel>; // SMS only while the person agrees to shift texts
|
|
182
|
+
inherited: boolean; // no choice of their own: each location's default channels apply (these are the usual default)
|
|
231
183
|
}
|
|
232
184
|
export interface ScheduleNotifyPrefsInput {
|
|
233
185
|
channels: Array<ScheduleNotifyChannel>;
|
|
234
186
|
}
|
|
187
|
+
export interface ScheduleResourcePreferencesGQL {
|
|
188
|
+
targetWeeklyMinutes: number | null;
|
|
189
|
+
}
|
|
190
|
+
export interface ScheduleResourcePreferencesInput {
|
|
191
|
+
targetWeeklyMinutes?: number | null;
|
|
192
|
+
}
|
|
235
193
|
export interface ScheduleResourceConfigGQL {
|
|
236
194
|
qualifications: Array<ScheduleQualificationGQL>;
|
|
237
|
-
roles: Array<string>;
|
|
238
195
|
tags: Array<string>;
|
|
239
|
-
|
|
240
|
-
notify: ScheduleNotifyPrefsGQL | null;
|
|
196
|
+
preferences: ScheduleResourcePreferencesGQL;
|
|
241
197
|
}
|
|
242
198
|
export interface ScheduleResourceConfigInput {
|
|
243
199
|
qualifications?: Array<ScheduleQualificationInput> | null;
|
|
244
|
-
roles?: Array<string> | null;
|
|
245
200
|
tags?: Array<string> | null;
|
|
246
|
-
|
|
247
|
-
notify?: ScheduleNotifyPrefsInput | null;
|
|
201
|
+
preferences?: ScheduleResourcePreferencesInput | null;
|
|
248
202
|
}
|
|
249
|
-
export interface
|
|
203
|
+
export interface ScheduleResourceCapacityGQL {
|
|
250
204
|
id: string;
|
|
251
205
|
resourceId: string;
|
|
252
206
|
startsOn: string;
|
|
@@ -264,13 +218,13 @@ export interface ScheduleResourceGQL {
|
|
|
264
218
|
key: string;
|
|
265
219
|
name: string;
|
|
266
220
|
maxUnitsPerDay: number | null;
|
|
267
|
-
capacity: number | null;
|
|
221
|
+
capacity: number | null; // SPACE headcount
|
|
268
222
|
unitOfMeasure: string | null;
|
|
269
223
|
canLevel: boolean;
|
|
270
|
-
config: ScheduleResourceConfigGQL;
|
|
224
|
+
config: ScheduleResourceConfigGQL | null; // managers (org schedule_edit) only
|
|
271
225
|
ordinal: number;
|
|
272
226
|
viewerNotify: ScheduleNotifyPrefsGQL | null;
|
|
273
|
-
|
|
227
|
+
capacityPeriods: Array<ScheduleResourceCapacityGQL>;
|
|
274
228
|
retiredAt: string | null;
|
|
275
229
|
version: string;
|
|
276
230
|
createdAt: string;
|
|
@@ -282,7 +236,7 @@ export interface CreateScheduleResourceInput {
|
|
|
282
236
|
key: string;
|
|
283
237
|
name: string;
|
|
284
238
|
siteId?: string | null;
|
|
285
|
-
accountId?: string | null;
|
|
239
|
+
accountId?: string | null; // required for PERSON, refused otherwise
|
|
286
240
|
workCalendarId?: string | null;
|
|
287
241
|
maxUnitsPerDay?: number | null;
|
|
288
242
|
capacity?: number | null;
|
|
@@ -297,7 +251,6 @@ export interface UpdateScheduleResourceInput {
|
|
|
297
251
|
expectedVersion?: string | null;
|
|
298
252
|
name?: string | null;
|
|
299
253
|
siteId?: string | null;
|
|
300
|
-
accountId?: string | null;
|
|
301
254
|
workCalendarId?: string | null;
|
|
302
255
|
maxUnitsPerDay?: number | null;
|
|
303
256
|
capacity?: number | null;
|
|
@@ -307,7 +260,7 @@ export interface UpdateScheduleResourceInput {
|
|
|
307
260
|
ordinal?: number | null;
|
|
308
261
|
retired?: boolean | null;
|
|
309
262
|
}
|
|
310
|
-
export interface
|
|
263
|
+
export interface CreateScheduleResourceCapacityInput {
|
|
311
264
|
organizationId: string;
|
|
312
265
|
resourceId: string;
|
|
313
266
|
startsOn: string;
|
|
@@ -315,15 +268,38 @@ export interface CreateScheduleResourceAvailabilityInput {
|
|
|
315
268
|
maxUnitsPerDay: number;
|
|
316
269
|
note?: string | null;
|
|
317
270
|
}
|
|
318
|
-
export interface
|
|
271
|
+
export interface DeleteScheduleResourceCapacityInput {
|
|
319
272
|
organizationId: string;
|
|
320
273
|
resourceId: string;
|
|
321
|
-
|
|
274
|
+
capacityId: string;
|
|
322
275
|
}
|
|
323
276
|
export interface UpdateMyScheduleNotifyPrefsInput {
|
|
324
277
|
organizationId: string;
|
|
325
278
|
notify: ScheduleNotifyPrefsInput;
|
|
279
|
+
smsOptIn?: boolean | null; // the person turned SMS on in this save: their agreement to shift texts
|
|
326
280
|
}
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* Roles
|
|
284
|
+
*/
|
|
285
|
+
|
|
286
|
+
export interface ScheduleRoleGQL {
|
|
287
|
+
id: string;
|
|
288
|
+
organizationId: string;
|
|
289
|
+
key: string;
|
|
290
|
+
name: string;
|
|
291
|
+
color: string | null;
|
|
292
|
+
requiredQualifications: Array<string>;
|
|
293
|
+
ordinal: number;
|
|
294
|
+
archivedAt: string | null; // archived roles stay on existing shifts
|
|
295
|
+
createdAt: string;
|
|
296
|
+
updatedAt: string;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* Provenance
|
|
301
|
+
*/
|
|
302
|
+
|
|
327
303
|
export interface ScheduleSourceGQL {
|
|
328
304
|
kind: ScheduleSourceKind;
|
|
329
305
|
documentId: string | null;
|
|
@@ -341,54 +317,51 @@ export interface ScheduleSourceInput {
|
|
|
341
317
|
quote?: string | null;
|
|
342
318
|
confidence?: number | null;
|
|
343
319
|
}
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
startAt: string | null;
|
|
355
|
-
endAt: string | null;
|
|
356
|
-
message: string;
|
|
357
|
-
}
|
|
358
|
-
export interface ScheduleEligibilityGQL {
|
|
359
|
-
eligible: boolean;
|
|
360
|
-
slotKey: string | null;
|
|
361
|
-
reasons: Array<ScheduleEligibilityReasonRowGQL>;
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* Calendars (one location)
|
|
323
|
+
*/
|
|
324
|
+
|
|
325
|
+
export interface ScheduleCycleSettingsGQL {
|
|
326
|
+
enabled: boolean;
|
|
327
|
+
weeks: number;
|
|
328
|
+
prepareDaysBefore: number;
|
|
329
|
+
prepareAtHour: number;
|
|
362
330
|
}
|
|
363
|
-
export interface
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
resourceId: string | null;
|
|
367
|
-
ruleId: string | null;
|
|
331
|
+
export interface ScheduleInstructionGQL {
|
|
332
|
+
key: string;
|
|
333
|
+
text: string;
|
|
368
334
|
}
|
|
369
335
|
export interface ScheduleRequestPolicyGQL {
|
|
370
336
|
autoApproveClaims: boolean;
|
|
371
337
|
autoApproveDrops: boolean;
|
|
372
|
-
|
|
373
|
-
|
|
338
|
+
autoApproveCallOuts: boolean;
|
|
339
|
+
autoApproveSwaps: boolean;
|
|
374
340
|
minNoticeHours: number;
|
|
341
|
+
requestExpiryHours: number;
|
|
375
342
|
}
|
|
376
|
-
export interface
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
requireCounterpartyConsent?: boolean | null;
|
|
380
|
-
requestExpiryHours?: number | null;
|
|
381
|
-
minNoticeHours?: number | null;
|
|
343
|
+
export interface ScheduleQuietHoursGQL {
|
|
344
|
+
start: string;
|
|
345
|
+
end: string;
|
|
382
346
|
}
|
|
383
|
-
export interface
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
347
|
+
export interface ScheduleOfferDefaultsGQL {
|
|
348
|
+
waveSize: number;
|
|
349
|
+
responseWindowMinutes: number;
|
|
350
|
+
autoApprove: boolean;
|
|
351
|
+
autoOfferOnOpen: boolean;
|
|
352
|
+
quietHours: ScheduleQuietHoursGQL | null;
|
|
387
353
|
}
|
|
388
|
-
export interface
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
354
|
+
export interface ScheduleCalendarNotifyGQL {
|
|
355
|
+
defaultChannels: Array<ScheduleNotifyChannel>;
|
|
356
|
+
}
|
|
357
|
+
export interface ScheduleCalendarSettingsGQL {
|
|
358
|
+
cycle: ScheduleCycleSettingsGQL;
|
|
359
|
+
instructions: Array<ScheduleInstructionGQL> | null; // the calendar's managers only; null for anyone else
|
|
360
|
+
requestPolicy: ScheduleRequestPolicyGQL;
|
|
361
|
+
offerDefaults: ScheduleOfferDefaultsGQL;
|
|
362
|
+
decisionMakers: Array<string> | null; // account ids, [] = the calendar's managers; null for anyone but a manager
|
|
363
|
+
staffVisibility: ScheduleStaffVisibility;
|
|
364
|
+
notify: ScheduleCalendarNotifyGQL;
|
|
392
365
|
}
|
|
393
366
|
export interface ScheduleCalendarGQL {
|
|
394
367
|
revision: string;
|
|
@@ -401,12 +374,11 @@ export interface ScheduleCalendarGQL {
|
|
|
401
374
|
workCalendarId: string | null;
|
|
402
375
|
color: string | null;
|
|
403
376
|
settings: ScheduleCalendarSettingsGQL;
|
|
377
|
+
preparedThrough: string | null;
|
|
404
378
|
ordinal: number;
|
|
405
379
|
access: ScheduleDocAccessGQL | null;
|
|
406
380
|
accessGrants: Array<ScheduleDocAccessGrantGQL> | null;
|
|
407
|
-
viewerPermission:
|
|
408
|
-
viewerCanEdit: boolean;
|
|
409
|
-
viewerCanEditAccess: boolean;
|
|
381
|
+
viewerPermission: ScheduleDocPermission;
|
|
410
382
|
viewerIsManager: boolean;
|
|
411
383
|
viewerResourceId: string | null;
|
|
412
384
|
version: string;
|
|
@@ -414,374 +386,65 @@ export interface ScheduleCalendarGQL {
|
|
|
414
386
|
createdAt: string;
|
|
415
387
|
updatedAt: string;
|
|
416
388
|
}
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
workCalendarId?: string | null;
|
|
424
|
-
color?: string | null;
|
|
425
|
-
settings?: ScheduleCalendarSettingsInput | null;
|
|
426
|
-
}
|
|
427
|
-
export interface UpdateScheduleCalendarInput {
|
|
428
|
-
organizationId: string;
|
|
429
|
-
calendarId: string;
|
|
430
|
-
expectedVersion?: string | null;
|
|
431
|
-
name?: string | null;
|
|
432
|
-
description?: string | null;
|
|
433
|
-
timeZone?: string | null;
|
|
434
|
-
siteId?: string | null;
|
|
435
|
-
workCalendarId?: string | null;
|
|
436
|
-
color?: string | null;
|
|
437
|
-
ordinal?: number | null;
|
|
438
|
-
settings?: ScheduleCalendarSettingsInput | null;
|
|
439
|
-
}
|
|
440
|
-
export interface UpdateScheduleCalendarAccessInput {
|
|
441
|
-
organizationId: string;
|
|
442
|
-
calendarId: string;
|
|
443
|
-
access: ScheduleDocAccessGQL;
|
|
444
|
-
}
|
|
445
|
-
export interface DeleteScheduleCalendarInput {
|
|
446
|
-
organizationId: string;
|
|
447
|
-
calendarId: string;
|
|
448
|
-
}
|
|
449
|
-
export interface ScheduleRecurrenceGQL {
|
|
450
|
-
freq: ScheduleRecurrenceFrequency;
|
|
451
|
-
interval: number;
|
|
452
|
-
byWeekday: Array<number> | null;
|
|
453
|
-
byMonthDay: Array<number> | null;
|
|
454
|
-
byMonth: Array<number> | null;
|
|
455
|
-
count: number | null;
|
|
456
|
-
until: string | null;
|
|
457
|
-
}
|
|
458
|
-
export interface ScheduleRecurrenceInput {
|
|
459
|
-
freq: ScheduleRecurrenceFrequency;
|
|
460
|
-
interval?: number | null;
|
|
461
|
-
byWeekday?: Array<number> | null;
|
|
462
|
-
byMonthDay?: Array<number> | null;
|
|
463
|
-
byMonth?: Array<number> | null;
|
|
464
|
-
count?: number | null;
|
|
465
|
-
until?: string | null;
|
|
466
|
-
}
|
|
467
|
-
export interface ScheduleSlotPredicateGQL {
|
|
468
|
-
roles: Array<string>;
|
|
469
|
-
qualifications: Array<string>;
|
|
470
|
-
tags: Array<string>;
|
|
471
|
-
}
|
|
472
|
-
export interface ScheduleSlotPredicateInput {
|
|
473
|
-
roles?: Array<string> | null;
|
|
474
|
-
qualifications?: Array<string> | null;
|
|
475
|
-
tags?: Array<string> | null;
|
|
476
|
-
}
|
|
477
|
-
export interface ScheduleSlotGQL {
|
|
478
|
-
id: string;
|
|
479
|
-
occurrenceId: string;
|
|
480
|
-
key: string;
|
|
481
|
-
label: string | null;
|
|
482
|
-
requiredCount: number;
|
|
483
|
-
predicate: ScheduleSlotPredicateGQL | null;
|
|
484
|
-
ordinal: number;
|
|
485
|
-
}
|
|
486
|
-
export interface ScheduleSlotTemplateGQL {
|
|
487
|
-
key: string;
|
|
488
|
-
label: string | null;
|
|
489
|
-
requiredCount: number;
|
|
490
|
-
predicate: ScheduleSlotPredicateGQL | null;
|
|
491
|
-
ordinal: number;
|
|
492
|
-
}
|
|
493
|
-
export interface ScheduleSlotInput {
|
|
494
|
-
key: string;
|
|
495
|
-
label?: string | null;
|
|
496
|
-
requiredCount: number;
|
|
497
|
-
predicate?: ScheduleSlotPredicateInput | null;
|
|
498
|
-
ordinal?: number | null;
|
|
499
|
-
}
|
|
500
|
-
export interface ScheduleSeriesGQL {
|
|
501
|
-
id: string;
|
|
502
|
-
organizationId: string;
|
|
503
|
-
calendarId: string;
|
|
504
|
-
resourceId: string | null;
|
|
505
|
-
kind: ScheduleOccurrenceKind;
|
|
506
|
-
title: string;
|
|
507
|
-
note: string | null;
|
|
508
|
-
location: string | null;
|
|
509
|
-
recurrence: ScheduleRecurrenceGQL;
|
|
510
|
-
timeZone: string;
|
|
511
|
-
startsAt: string;
|
|
512
|
-
endsAt: string | null;
|
|
513
|
-
durationMinutes: number;
|
|
514
|
-
allDay: boolean;
|
|
515
|
-
slotTemplate: Array<ScheduleSlotTemplateGQL>;
|
|
516
|
-
active: boolean;
|
|
517
|
-
materializedThrough: string | null;
|
|
518
|
-
finishedAt: string | null;
|
|
519
|
-
version: string;
|
|
520
|
-
createdAt: string;
|
|
521
|
-
updatedAt: string;
|
|
522
|
-
}
|
|
523
|
-
export interface CreateScheduleSeriesInput {
|
|
524
|
-
organizationId: string;
|
|
525
|
-
calendarId: string;
|
|
526
|
-
resourceId?: string | null;
|
|
527
|
-
kind?: ScheduleOccurrenceKind | null;
|
|
528
|
-
title: string;
|
|
529
|
-
note?: string | null;
|
|
530
|
-
location?: string | null;
|
|
531
|
-
recurrence: ScheduleRecurrenceInput;
|
|
532
|
-
timeZone?: string | null;
|
|
533
|
-
startsAt: string;
|
|
534
|
-
endsAt?: string | null;
|
|
535
|
-
durationMinutes: number;
|
|
536
|
-
allDay?: boolean | null;
|
|
537
|
-
slots?: Array<ScheduleSlotInput> | null;
|
|
538
|
-
}
|
|
539
|
-
export interface UpdateScheduleSeriesInput {
|
|
540
|
-
organizationId: string;
|
|
541
|
-
seriesId: string;
|
|
542
|
-
expectedVersion: string;
|
|
543
|
-
title?: string | null;
|
|
544
|
-
note?: string | null;
|
|
545
|
-
location?: string | null;
|
|
546
|
-
resourceId?: string | null;
|
|
547
|
-
recurrence?: ScheduleRecurrenceInput | null;
|
|
548
|
-
timeZone?: string | null;
|
|
549
|
-
startsAt?: string | null;
|
|
550
|
-
endsAt?: string | null;
|
|
551
|
-
durationMinutes?: number | null;
|
|
552
|
-
allDay?: boolean | null;
|
|
553
|
-
slots?: Array<ScheduleSlotInput> | null;
|
|
554
|
-
active?: boolean | null;
|
|
555
|
-
fromDate?: string | null;
|
|
556
|
-
}
|
|
557
|
-
export interface DeleteScheduleSeriesInput {
|
|
558
|
-
organizationId: string;
|
|
559
|
-
seriesId: string;
|
|
560
|
-
expectedVersion: string;
|
|
561
|
-
}
|
|
562
|
-
export interface ScheduleSeriesEditPayloadGQL {
|
|
563
|
-
series: ScheduleSeriesGQL;
|
|
564
|
-
createdCount: number;
|
|
565
|
-
updatedCount: number;
|
|
566
|
-
propagatedCount: number;
|
|
567
|
-
skippedCount: number;
|
|
568
|
-
deletedCount: number;
|
|
569
|
-
detached: Array<ScheduleOccurrenceGQL>;
|
|
570
|
-
unslottedAssignmentIds: Array<string>;
|
|
571
|
-
}
|
|
572
|
-
export interface ScheduleAssignmentGQL {
|
|
573
|
-
id: string;
|
|
574
|
-
occurrenceId: string;
|
|
575
|
-
resourceId: string;
|
|
576
|
-
accountId: string | null;
|
|
577
|
-
resourceName: string;
|
|
578
|
-
slotKey: string | null;
|
|
579
|
-
status: ScheduleAssignmentStatus;
|
|
580
|
-
note: string | null;
|
|
581
|
-
assignedByAccountId: string | null;
|
|
582
|
-
source: ScheduleAssignmentSourceGQL;
|
|
583
|
-
releasedAt: string | null;
|
|
584
|
-
createdAt: string;
|
|
585
|
-
updatedAt: string;
|
|
586
|
-
}
|
|
587
|
-
export interface ScheduleOccurrenceGQL {
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* Shifts (one row = one seat; assigneeResourceId null = open)
|
|
392
|
+
*/
|
|
393
|
+
|
|
394
|
+
export interface ScheduleShiftGQL {
|
|
588
395
|
id: string;
|
|
589
396
|
organizationId: string;
|
|
590
397
|
calendarId: string;
|
|
591
|
-
|
|
592
|
-
recurrenceDate: string | null;
|
|
593
|
-
resourceId: string | null;
|
|
594
|
-
kind: ScheduleOccurrenceKind;
|
|
595
|
-
title: string;
|
|
596
|
-
note: string | null;
|
|
597
|
-
location: string | null;
|
|
398
|
+
shiftDate: string; // calendar-local date of startAt
|
|
598
399
|
startAt: string;
|
|
599
400
|
endAt: string;
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
401
|
+
roleId: string | null;
|
|
402
|
+
locationResourceId: string | null;
|
|
403
|
+
assigneeResourceId: string | null;
|
|
404
|
+
unpaidBreakMinutes: number;
|
|
405
|
+
label: string | null;
|
|
406
|
+
note: string | null;
|
|
407
|
+
status: ScheduleShiftStatus;
|
|
408
|
+
createdVia: ScheduleShiftCreatedVia;
|
|
409
|
+
templateItemId: string | null;
|
|
410
|
+
copiedFromShiftId: string | null;
|
|
604
411
|
version: string;
|
|
605
|
-
slots: Array<ScheduleSlotGQL>;
|
|
606
|
-
assignments: Array<ScheduleAssignmentGQL>;
|
|
607
|
-
openCount: number;
|
|
608
412
|
publishedAt: string | null;
|
|
609
413
|
canceledAt: string | null;
|
|
610
|
-
deletedAt: string | null;
|
|
611
414
|
createdAt: string;
|
|
612
415
|
updatedAt: string;
|
|
613
416
|
}
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
note?: string | null;
|
|
634
|
-
location?: string | null;
|
|
635
|
-
resourceId?: string | null;
|
|
636
|
-
startAt?: string | null;
|
|
637
|
-
endAt?: string | null;
|
|
638
|
-
timeZone?: string | null;
|
|
639
|
-
allDay?: boolean | null;
|
|
640
|
-
slots?: Array<ScheduleSlotInput> | null;
|
|
641
|
-
}
|
|
642
|
-
export interface CancelScheduleOccurrenceInput {
|
|
643
|
-
organizationId: string;
|
|
644
|
-
occurrenceId: string;
|
|
645
|
-
expectedVersion: string;
|
|
646
|
-
reason?: string | null;
|
|
647
|
-
}
|
|
648
|
-
export interface DeleteScheduleOccurrenceInput {
|
|
649
|
-
organizationId: string;
|
|
650
|
-
occurrenceId: string;
|
|
651
|
-
expectedVersion: string;
|
|
652
|
-
}
|
|
653
|
-
export interface ScheduleOccurrenceWindowGQL {
|
|
654
|
-
occurrences: Array<ScheduleOccurrenceGQL>;
|
|
655
|
-
hasMore: boolean;
|
|
656
|
-
from: string;
|
|
657
|
-
to: string;
|
|
658
|
-
}
|
|
659
|
-
export interface AssignScheduleOccurrenceInput {
|
|
660
|
-
organizationId: string;
|
|
661
|
-
occurrenceId: string;
|
|
662
|
-
expectedVersion: string;
|
|
663
|
-
resourceId: string;
|
|
664
|
-
slotKey?: string | null;
|
|
665
|
-
note?: string | null;
|
|
666
|
-
acknowledgeWarnings?: boolean | null;
|
|
667
|
-
}
|
|
668
|
-
export interface ReleaseScheduleAssignmentInput {
|
|
669
|
-
organizationId: string;
|
|
670
|
-
occurrenceId: string;
|
|
671
|
-
expectedVersion: string;
|
|
672
|
-
assignmentId: string;
|
|
673
|
-
note?: string | null;
|
|
674
|
-
}
|
|
675
|
-
export interface ScheduleAssignPayloadGQL {
|
|
676
|
-
occurrence: ScheduleOccurrenceGQL;
|
|
677
|
-
assignment: ScheduleAssignmentGQL | null;
|
|
678
|
-
eligibility: ScheduleEligibilityGQL;
|
|
679
|
-
}
|
|
680
|
-
export interface ScheduleShiftCandidateGQL {
|
|
681
|
-
resource: ScheduleResourceGQL;
|
|
682
|
-
eligibility: ScheduleEligibilityGQL;
|
|
683
|
-
}
|
|
684
|
-
export interface ScheduleOpenShiftGQL {
|
|
685
|
-
occurrence: ScheduleOccurrenceGQL;
|
|
686
|
-
slotKey: string;
|
|
687
|
-
openCount: number;
|
|
688
|
-
eligibility: ScheduleEligibilityGQL | null;
|
|
689
|
-
}
|
|
690
|
-
export interface ScheduleDemandGQL {
|
|
691
|
-
id: string;
|
|
692
|
-
calendarId: string;
|
|
693
|
-
resourceId: string;
|
|
694
|
-
key: string;
|
|
695
|
-
quantity: number;
|
|
696
|
-
startAt: string;
|
|
697
|
-
endAt: string;
|
|
698
|
-
note: string | null;
|
|
699
|
-
}
|
|
700
|
-
export interface CreateScheduleDemandInput {
|
|
701
|
-
organizationId: string;
|
|
702
|
-
calendarId: string;
|
|
703
|
-
resourceId: string;
|
|
704
|
-
key: string;
|
|
705
|
-
quantity: number;
|
|
706
|
-
startAt: string;
|
|
707
|
-
endAt: string;
|
|
708
|
-
note?: string | null;
|
|
709
|
-
}
|
|
710
|
-
export interface DeleteScheduleDemandInput {
|
|
711
|
-
organizationId: string;
|
|
712
|
-
calendarId: string;
|
|
713
|
-
demandId: string;
|
|
714
|
-
}
|
|
715
|
-
export interface ScheduleRatioGQL {
|
|
716
|
-
key: string;
|
|
717
|
-
childrenPerAdult: number;
|
|
718
|
-
}
|
|
719
|
-
export interface ScheduleRatioInput {
|
|
720
|
-
key: string;
|
|
721
|
-
childrenPerAdult: number;
|
|
722
|
-
}
|
|
723
|
-
export interface ScheduleRuleConfigGQL {
|
|
724
|
-
ratios: Array<ScheduleRatioGQL> | null;
|
|
725
|
-
predicate: ScheduleSlotPredicateGQL | null;
|
|
726
|
-
minAdults: number | null;
|
|
727
|
-
windowDays: number | null;
|
|
728
|
-
maxMinutes: number | null;
|
|
729
|
-
minRestMinutes: number | null;
|
|
730
|
-
}
|
|
731
|
-
export interface ScheduleRuleConfigInput {
|
|
732
|
-
ratios?: Array<ScheduleRatioInput> | null;
|
|
733
|
-
predicate?: ScheduleSlotPredicateInput | null;
|
|
734
|
-
minAdults?: number | null;
|
|
735
|
-
windowDays?: number | null;
|
|
736
|
-
maxMinutes?: number | null;
|
|
737
|
-
minRestMinutes?: number | null;
|
|
738
|
-
}
|
|
739
|
-
export interface ScheduleRuleGQL {
|
|
740
|
-
key: string;
|
|
741
|
-
id: string;
|
|
742
|
-
organizationId: string;
|
|
743
|
-
calendarId: string | null;
|
|
744
|
-
resourceId: string | null;
|
|
745
|
-
kind: ScheduleRuleKind;
|
|
746
|
-
label: string;
|
|
747
|
-
config: ScheduleRuleConfigGQL;
|
|
748
|
-
severity: ScheduleRuleSeverity;
|
|
749
|
-
active: boolean;
|
|
750
|
-
ordinal: number;
|
|
751
|
-
}
|
|
752
|
-
export interface CreateScheduleRuleInput {
|
|
753
|
-
key?: string | null;
|
|
754
|
-
organizationId: string;
|
|
755
|
-
calendarId?: string | null;
|
|
756
|
-
resourceId?: string | null;
|
|
757
|
-
kind: ScheduleRuleKind;
|
|
758
|
-
label: string;
|
|
759
|
-
config: ScheduleRuleConfigInput;
|
|
760
|
-
severity: ScheduleRuleSeverity;
|
|
761
|
-
active?: boolean | null;
|
|
762
|
-
ordinal?: number | null;
|
|
763
|
-
}
|
|
764
|
-
export interface UpdateScheduleRuleInput {
|
|
765
|
-
key?: string | null;
|
|
766
|
-
organizationId: string;
|
|
767
|
-
ruleId: string;
|
|
768
|
-
label?: string | null;
|
|
769
|
-
config?: ScheduleRuleConfigInput | null;
|
|
770
|
-
severity?: ScheduleRuleSeverity | null;
|
|
771
|
-
active?: boolean | null;
|
|
772
|
-
ordinal?: number | null;
|
|
773
|
-
}
|
|
774
|
-
export interface DeleteScheduleRuleInput {
|
|
775
|
-
organizationId: string;
|
|
776
|
-
ruleId: string;
|
|
417
|
+
// scheduleMyShifts: the seats plus the calendars, roles and locations they name, and the viewer's own staff record
|
|
418
|
+
export interface ScheduleShiftWindowGQL {
|
|
419
|
+
shifts: Array<ScheduleShiftGQL>;
|
|
420
|
+
calendars: Array<ScheduleCalendarGQL>;
|
|
421
|
+
roles: Array<ScheduleRoleGQL>;
|
|
422
|
+
locations: Array<ScheduleResourceGQL>;
|
|
423
|
+
me: ScheduleResourceGQL | null;
|
|
424
|
+
fromDate: string;
|
|
425
|
+
toDate: string;
|
|
426
|
+
}
|
|
427
|
+
// scheduleShifts: one calendar's roster window, the seats plus the roles, rooms and people they name (people also
|
|
428
|
+
// holds the viewer's own staff record, and every person on the schedule for the calendar's managers)
|
|
429
|
+
export interface ScheduleRosterWindowGQL {
|
|
430
|
+
shifts: Array<ScheduleShiftGQL>;
|
|
431
|
+
roles: Array<ScheduleRoleGQL>;
|
|
432
|
+
locations: Array<ScheduleResourceGQL>;
|
|
433
|
+
people: Array<ScheduleResourceGQL>;
|
|
434
|
+
fromDate: string;
|
|
435
|
+
toDate: string;
|
|
777
436
|
}
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* Violations and time off
|
|
440
|
+
*/
|
|
441
|
+
|
|
778
442
|
export interface ScheduleViolationGQL {
|
|
779
443
|
id: string | null;
|
|
780
444
|
calendarId: string;
|
|
781
445
|
ruleId: string | null;
|
|
782
|
-
|
|
446
|
+
shiftId: string | null;
|
|
783
447
|
resourceId: string | null;
|
|
784
|
-
slotKey: string | null;
|
|
785
448
|
kind: ScheduleRuleKind;
|
|
786
449
|
code: string;
|
|
787
450
|
severity: ScheduleRuleSeverity;
|
|
@@ -794,132 +457,6 @@ export interface ScheduleViolationGQL {
|
|
|
794
457
|
detail: string | null;
|
|
795
458
|
evaluatedAt: string;
|
|
796
459
|
}
|
|
797
|
-
export interface ScheduleCoverageEvaluationPayloadGQL {
|
|
798
|
-
complete: boolean;
|
|
799
|
-
violations: Array<ScheduleViolationGQL>;
|
|
800
|
-
diagnostics: Array<ScheduleCoverageDiagnosticGQL>;
|
|
801
|
-
}
|
|
802
|
-
export interface EvaluateScheduleWindowInput {
|
|
803
|
-
organizationId: string;
|
|
804
|
-
calendarId: string;
|
|
805
|
-
from: string;
|
|
806
|
-
to: string;
|
|
807
|
-
}
|
|
808
|
-
export interface SchedulePublicationGQL {
|
|
809
|
-
id: string;
|
|
810
|
-
calendarId: string;
|
|
811
|
-
windowStart: string;
|
|
812
|
-
windowEnd: string;
|
|
813
|
-
occurrenceCount: number;
|
|
814
|
-
acknowledgedWarningCount: number;
|
|
815
|
-
acknowledgedViolationKeys: Array<string>;
|
|
816
|
-
publishedByAccountId: string | null;
|
|
817
|
-
publishedAt: string;
|
|
818
|
-
notificationId: string | null;
|
|
819
|
-
viewerAcknowledgedAt: string | null;
|
|
820
|
-
acknowledgedCount: number;
|
|
821
|
-
cursor: string | number[];
|
|
822
|
-
}
|
|
823
|
-
export interface SchedulePublishRefusalGQL {
|
|
824
|
-
code: SchedulePublishRefusalCode;
|
|
825
|
-
blockingCount: number;
|
|
826
|
-
unacknowledgedKeys: Array<string>;
|
|
827
|
-
}
|
|
828
|
-
export interface SchedulePublishPayloadGQL {
|
|
829
|
-
refusal: SchedulePublishRefusalGQL | null;
|
|
830
|
-
publication: SchedulePublicationGQL | null;
|
|
831
|
-
publishedCount: number;
|
|
832
|
-
violations: Array<ScheduleViolationGQL>;
|
|
833
|
-
unacknowledgedKeys: Array<string>;
|
|
834
|
-
diagnostics: Array<ScheduleCoverageDiagnosticGQL>;
|
|
835
|
-
}
|
|
836
|
-
export interface PublishScheduleWindowInput {
|
|
837
|
-
organizationId: string;
|
|
838
|
-
calendarId: string;
|
|
839
|
-
from: string;
|
|
840
|
-
to: string;
|
|
841
|
-
acknowledgedViolationKeys?: Array<string> | null;
|
|
842
|
-
}
|
|
843
|
-
export interface SchedulePublishPreflightGQL {
|
|
844
|
-
draftCount: number;
|
|
845
|
-
blockingCount: number;
|
|
846
|
-
warningKeys: Array<string>;
|
|
847
|
-
violations: Array<ScheduleViolationGQL>;
|
|
848
|
-
diagnostics: Array<ScheduleCoverageDiagnosticGQL>;
|
|
849
|
-
}
|
|
850
|
-
export interface AcknowledgeSchedulePublicationInput {
|
|
851
|
-
organizationId: string;
|
|
852
|
-
publicationId: string;
|
|
853
|
-
}
|
|
854
|
-
export interface ScheduleRequestGQL {
|
|
855
|
-
id: string;
|
|
856
|
-
organizationId: string;
|
|
857
|
-
calendarId: string;
|
|
858
|
-
kind: ScheduleRequestKind;
|
|
859
|
-
status: ScheduleRequestStatus;
|
|
860
|
-
requesterResourceId: string;
|
|
861
|
-
requesterAccountId: string | null;
|
|
862
|
-
occurrenceId: string;
|
|
863
|
-
slotKey: string | null;
|
|
864
|
-
sourceAssignmentId: string | null;
|
|
865
|
-
targetOccurrenceId: string | null;
|
|
866
|
-
targetAssignmentId: string | null;
|
|
867
|
-
counterpartyResourceId: string | null;
|
|
868
|
-
subjectStartAt: string;
|
|
869
|
-
reason: string | null;
|
|
870
|
-
counterpartyRespondedAt: string | null;
|
|
871
|
-
autoApproved: boolean;
|
|
872
|
-
deciderAccountId: string | null;
|
|
873
|
-
decidedAt: string | null;
|
|
874
|
-
decisionNote: string | null;
|
|
875
|
-
resultAssignmentId: string | null;
|
|
876
|
-
expiresAt: string;
|
|
877
|
-
version: string;
|
|
878
|
-
occurrence: ScheduleOccurrenceGQL;
|
|
879
|
-
targetOccurrence: ScheduleOccurrenceGQL | null;
|
|
880
|
-
eligibility: ScheduleEligibilityGQL | null;
|
|
881
|
-
viewerIsRequester: boolean;
|
|
882
|
-
viewerIsCounterparty: boolean;
|
|
883
|
-
viewerCanDecide: boolean;
|
|
884
|
-
createdAt: string;
|
|
885
|
-
updatedAt: string;
|
|
886
|
-
cursor: string | number[];
|
|
887
|
-
}
|
|
888
|
-
export interface CreateScheduleRequestInput {
|
|
889
|
-
organizationId: string;
|
|
890
|
-
kind: ScheduleRequestKind;
|
|
891
|
-
occurrenceId?: string | null;
|
|
892
|
-
slotKey?: string | null;
|
|
893
|
-
sourceAssignmentId?: string | null;
|
|
894
|
-
targetAssignmentId?: string | null;
|
|
895
|
-
reason?: string | null;
|
|
896
|
-
onBehalfOfResourceId?: string | null;
|
|
897
|
-
}
|
|
898
|
-
export interface ScheduleRequestPayloadGQL {
|
|
899
|
-
request: ScheduleRequestGQL | null;
|
|
900
|
-
eligibility: ScheduleEligibilityGQL;
|
|
901
|
-
occurrence: ScheduleOccurrenceGQL | null;
|
|
902
|
-
}
|
|
903
|
-
export interface RespondScheduleRequestInput {
|
|
904
|
-
organizationId: string;
|
|
905
|
-
requestId: string;
|
|
906
|
-
expectedVersion: string;
|
|
907
|
-
accept: boolean;
|
|
908
|
-
note?: string | null;
|
|
909
|
-
}
|
|
910
|
-
export interface WithdrawScheduleRequestInput {
|
|
911
|
-
organizationId: string;
|
|
912
|
-
requestId: string;
|
|
913
|
-
expectedVersion: string;
|
|
914
|
-
}
|
|
915
|
-
export interface DecideScheduleRequestInput {
|
|
916
|
-
organizationId: string;
|
|
917
|
-
requestId: string;
|
|
918
|
-
expectedVersion: string;
|
|
919
|
-
decision: ScheduleDecision;
|
|
920
|
-
note?: string | null;
|
|
921
|
-
acknowledgeWarnings?: boolean | null;
|
|
922
|
-
}
|
|
923
460
|
export interface ScheduleTimeOffGQL {
|
|
924
461
|
id: string;
|
|
925
462
|
organizationId: string;
|
|
@@ -936,36 +473,51 @@ export interface ScheduleTimeOffGQL {
|
|
|
936
473
|
decidedAt: string | null;
|
|
937
474
|
decisionNote: string | null;
|
|
938
475
|
version: string;
|
|
939
|
-
|
|
940
|
-
|
|
476
|
+
conflictingShifts: Array<ScheduleShiftGQL>;
|
|
477
|
+
releasedShiftIds: Array<string>;
|
|
941
478
|
viewerIsRequester: boolean;
|
|
942
479
|
viewerCanDecide: boolean;
|
|
943
480
|
createdAt: string;
|
|
944
481
|
updatedAt: string;
|
|
945
482
|
cursor: string | number[];
|
|
946
483
|
}
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
organizationId: string;
|
|
958
|
-
timeOffId: string;
|
|
959
|
-
expectedVersion: string;
|
|
960
|
-
decision: ScheduleDecision;
|
|
961
|
-
note?: string | null;
|
|
962
|
-
releaseConflicting?: boolean | null;
|
|
963
|
-
}
|
|
964
|
-
export interface CancelScheduleTimeOffInput {
|
|
484
|
+
|
|
485
|
+
/**
|
|
486
|
+
* To-dos
|
|
487
|
+
*/
|
|
488
|
+
|
|
489
|
+
// One to-do of a location (calendarId) or a project (projectId). dueAt is the
|
|
490
|
+
// local midnight of the due date in timeZone when dueAllDay. priority is the
|
|
491
|
+
// index in SCHEDULE_TASK_PRIORITY_ENUMS (0 NONE ... 3 HIGH).
|
|
492
|
+
export interface ScheduleTaskGQL {
|
|
493
|
+
id: string;
|
|
965
494
|
organizationId: string;
|
|
966
|
-
|
|
967
|
-
|
|
495
|
+
calendarId: string | null;
|
|
496
|
+
projectId: string | null;
|
|
497
|
+
activityId: string | null;
|
|
498
|
+
shiftId: string | null;
|
|
499
|
+
title: string;
|
|
500
|
+
note: string | null;
|
|
501
|
+
assigneeResourceId: string | null;
|
|
502
|
+
dueAt: string | null;
|
|
503
|
+
dueAllDay: boolean;
|
|
504
|
+
timeZone: string;
|
|
505
|
+
status: ScheduleTaskStatus;
|
|
506
|
+
priority: number;
|
|
507
|
+
completedAt: string | null;
|
|
508
|
+
completedByAccountId: string | null;
|
|
509
|
+
createdVia: ScheduleTaskCreatedVia;
|
|
510
|
+
ordinal: number;
|
|
511
|
+
version: string;
|
|
512
|
+
createdByAccountId: string | null;
|
|
513
|
+
createdAt: string;
|
|
514
|
+
updatedAt: string;
|
|
968
515
|
}
|
|
516
|
+
|
|
517
|
+
/**
|
|
518
|
+
* Projects
|
|
519
|
+
*/
|
|
520
|
+
|
|
969
521
|
export interface ScheduleLevelingOptionsGQL {
|
|
970
522
|
enabled: boolean;
|
|
971
523
|
priorityRule: Array<ScheduleLevelingPriorityRule>;
|
|
@@ -1027,7 +579,7 @@ export interface ScheduleProjectGQL {
|
|
|
1027
579
|
source: ScheduleSourceGQL;
|
|
1028
580
|
version: string;
|
|
1029
581
|
revision: string;
|
|
1030
|
-
viewerPermission:
|
|
582
|
+
viewerPermission: ScheduleDocPermission;
|
|
1031
583
|
viewerCanEdit: boolean;
|
|
1032
584
|
viewerCanEditAccess: boolean;
|
|
1033
585
|
viewerIsManager: boolean;
|
|
@@ -1064,11 +616,6 @@ export interface UpdateScheduleProjectInput {
|
|
|
1064
616
|
dataDateAt?: string | null;
|
|
1065
617
|
schedulingOptions?: ScheduleSchedulingOptionsInput | null;
|
|
1066
618
|
}
|
|
1067
|
-
export interface UpdateScheduleProjectAccessInput {
|
|
1068
|
-
organizationId: string;
|
|
1069
|
-
projectId: string;
|
|
1070
|
-
access: ScheduleDocAccessGQL;
|
|
1071
|
-
}
|
|
1072
619
|
export interface DeleteScheduleProjectInput {
|
|
1073
620
|
organizationId: string;
|
|
1074
621
|
projectId: string;
|
|
@@ -1192,11 +739,6 @@ export interface ScheduleActivityPatchInput {
|
|
|
1192
739
|
actualFinishAt?: string | null;
|
|
1193
740
|
remainingDurationMinutes?: number | null;
|
|
1194
741
|
}
|
|
1195
|
-
export interface CreateScheduleActivityInput {
|
|
1196
|
-
organizationId: string;
|
|
1197
|
-
projectId: string;
|
|
1198
|
-
activity: ScheduleActivityInput;
|
|
1199
|
-
}
|
|
1200
742
|
export interface CreateScheduleActivitiesInput {
|
|
1201
743
|
organizationId: string;
|
|
1202
744
|
projectId: string;
|
|
@@ -1209,19 +751,6 @@ export interface UpdateScheduleActivityInput {
|
|
|
1209
751
|
expectedVersion: string;
|
|
1210
752
|
patch: ScheduleActivityPatchInput;
|
|
1211
753
|
}
|
|
1212
|
-
export interface ScheduleActivityProgressInput {
|
|
1213
|
-
activityId: string;
|
|
1214
|
-
expectedVersion: string;
|
|
1215
|
-
actualStartAt?: string | null;
|
|
1216
|
-
actualFinishAt?: string | null;
|
|
1217
|
-
remainingDurationMinutes?: number | null;
|
|
1218
|
-
}
|
|
1219
|
-
export interface UpdateScheduleActivitiesProgressInput {
|
|
1220
|
-
organizationId: string;
|
|
1221
|
-
projectId: string;
|
|
1222
|
-
dataDateAt?: string | null;
|
|
1223
|
-
rows: Array<ScheduleActivityProgressInput>;
|
|
1224
|
-
}
|
|
1225
754
|
export interface DeleteScheduleActivitiesInput {
|
|
1226
755
|
organizationId: string;
|
|
1227
756
|
projectId: string;
|
|
@@ -1358,26 +887,6 @@ export interface DeleteScheduleBaselineInput {
|
|
|
1358
887
|
projectId: string;
|
|
1359
888
|
baselineId: string;
|
|
1360
889
|
}
|
|
1361
|
-
export interface ScheduleBaselineVarianceRowGQL {
|
|
1362
|
-
activityId: string;
|
|
1363
|
-
code: string;
|
|
1364
|
-
baselineStartAt: string | null;
|
|
1365
|
-
baselineFinishAt: string | null;
|
|
1366
|
-
startAt: string | null;
|
|
1367
|
-
finishAt: string | null;
|
|
1368
|
-
startVarianceMinutes: number | null;
|
|
1369
|
-
finishVarianceMinutes: number | null;
|
|
1370
|
-
durationVarianceMinutes: number;
|
|
1371
|
-
floatVarianceMinutes: number | null;
|
|
1372
|
-
}
|
|
1373
|
-
export interface ScheduleBaselineVarianceGQL {
|
|
1374
|
-
baseline: ScheduleBaselineGQL;
|
|
1375
|
-
rows: Array<ScheduleBaselineVarianceRowGQL>;
|
|
1376
|
-
slippedCount: number;
|
|
1377
|
-
addedCount: number;
|
|
1378
|
-
removedCount: number;
|
|
1379
|
-
finishVarianceMinutes: number | null;
|
|
1380
|
-
}
|
|
1381
890
|
export interface ScheduleProjectRunProgressGQL {
|
|
1382
891
|
stage: string;
|
|
1383
892
|
percent: number | null;
|
|
@@ -1466,11 +975,6 @@ export interface ScheduleCodeTypeValueGQL {
|
|
|
1466
975
|
label: string;
|
|
1467
976
|
color: string | null;
|
|
1468
977
|
}
|
|
1469
|
-
export interface ScheduleCodeTypeValueInput {
|
|
1470
|
-
key: string;
|
|
1471
|
-
label: string;
|
|
1472
|
-
color?: string | null;
|
|
1473
|
-
}
|
|
1474
978
|
export interface ScheduleCodeTypeGQL {
|
|
1475
979
|
id: string;
|
|
1476
980
|
organizationId: string;
|
|
@@ -1480,18 +984,6 @@ export interface ScheduleCodeTypeGQL {
|
|
|
1480
984
|
values: Array<ScheduleCodeTypeValueGQL>;
|
|
1481
985
|
ordinal: number;
|
|
1482
986
|
}
|
|
1483
|
-
export interface ReplaceScheduleCodeTypeInput {
|
|
1484
|
-
organizationId: string;
|
|
1485
|
-
projectId?: string | null;
|
|
1486
|
-
key: string;
|
|
1487
|
-
name: string;
|
|
1488
|
-
values: Array<ScheduleCodeTypeValueInput>;
|
|
1489
|
-
ordinal?: number | null;
|
|
1490
|
-
}
|
|
1491
|
-
export interface DeleteScheduleCodeTypeInput {
|
|
1492
|
-
organizationId: string;
|
|
1493
|
-
codeTypeId: string;
|
|
1494
|
-
}
|
|
1495
987
|
export interface ScheduleNetworkFilter {
|
|
1496
988
|
wbsId?: string | null;
|
|
1497
989
|
criticalOnly?: boolean | null;
|
|
@@ -1540,6 +1032,8 @@ export interface ScheduleImportActivityInput {
|
|
|
1540
1032
|
primaryConstraintAt?: string | null;
|
|
1541
1033
|
secondaryConstraintType?: ScheduleConstraintType | null;
|
|
1542
1034
|
secondaryConstraintAt?: string | null;
|
|
1035
|
+
actualStartAt?: string | null;
|
|
1036
|
+
actualFinishAt?: string | null;
|
|
1543
1037
|
levelingPriority?: number | null;
|
|
1544
1038
|
codes?: Array<ScheduleCodeValueInput> | null;
|
|
1545
1039
|
ordinal?: number | null;
|
|
@@ -1588,34 +1082,22 @@ export interface ScheduleImportPayloadGQL {
|
|
|
1588
1082
|
assignmentsWritten: number;
|
|
1589
1083
|
errors: Array<ScheduleImportErrorGQL>;
|
|
1590
1084
|
cycleCodes: Array<string>;
|
|
1085
|
+
dataDateAt: string | null;
|
|
1591
1086
|
run: ScheduleProjectRunGQL | null;
|
|
1592
1087
|
}
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
organizationId: string;
|
|
1600
|
-
projectId: string;
|
|
1601
|
-
predecessorId: string;
|
|
1602
|
-
successorId: string;
|
|
1603
|
-
type?: ScheduleRelationshipType | null;
|
|
1604
|
-
lagMinutes?: number | null;
|
|
1605
|
-
}
|
|
1606
|
-
export interface DeleteScheduleRelationshipInput {
|
|
1607
|
-
organizationId: string;
|
|
1608
|
-
projectId: string;
|
|
1609
|
-
relationshipId: string;
|
|
1610
|
-
}
|
|
1088
|
+
|
|
1089
|
+
/**
|
|
1090
|
+
* Query variables. Realtime changes match them by scope key: calendar-scoped
|
|
1091
|
+
* queries carry organizationId and calendarId, org-scoped ones organizationId.
|
|
1092
|
+
*/
|
|
1093
|
+
|
|
1611
1094
|
export interface ScheduleWorkCalendarsVariables {
|
|
1612
1095
|
organizationId: string;
|
|
1613
1096
|
}
|
|
1614
1097
|
export interface ScheduleResourcesVariables {
|
|
1615
1098
|
organizationId: string;
|
|
1616
|
-
|
|
1099
|
+
kinds?: Array<ScheduleResourceKind> | null;
|
|
1617
1100
|
includeRetired?: boolean | null;
|
|
1618
|
-
search?: string | null;
|
|
1619
1101
|
}
|
|
1620
1102
|
export interface ScheduleCodeTypesVariables {
|
|
1621
1103
|
organizationId: string;
|
|
@@ -1631,94 +1113,22 @@ export interface ScheduleResourceUsageVariables {
|
|
|
1631
1113
|
export interface ScheduleCalendarsVariables {
|
|
1632
1114
|
organizationId: string;
|
|
1633
1115
|
}
|
|
1634
|
-
export interface
|
|
1635
|
-
calendarId: string;
|
|
1636
|
-
}
|
|
1637
|
-
export interface ScheduleOccurrencesVariables {
|
|
1116
|
+
export interface ScheduleShiftsVariables {
|
|
1638
1117
|
organizationId: string;
|
|
1639
1118
|
calendarId: string;
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
publishedOnly?: boolean | null;
|
|
1643
|
-
mineOnly?: boolean | null;
|
|
1644
|
-
kinds?: Array<ScheduleOccurrenceKind> | null;
|
|
1645
|
-
}
|
|
1646
|
-
export interface ScheduleOccurrenceVariables {
|
|
1647
|
-
organizationId: string;
|
|
1648
|
-
occurrenceId: string;
|
|
1119
|
+
fromDate: string;
|
|
1120
|
+
toDate: string;
|
|
1649
1121
|
}
|
|
1650
1122
|
export interface ScheduleMyShiftsVariables {
|
|
1651
1123
|
organizationId: string;
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
}
|
|
1655
|
-
export interface ScheduleOpenShiftsVariables {
|
|
1656
|
-
organizationId: string;
|
|
1657
|
-
calendarId?: string | null;
|
|
1658
|
-
from: string;
|
|
1659
|
-
to: string;
|
|
1660
|
-
forMe?: boolean | null;
|
|
1661
|
-
}
|
|
1662
|
-
export interface ScheduleShiftEligibilityVariables {
|
|
1663
|
-
organizationId: string;
|
|
1664
|
-
occurrenceId: string;
|
|
1665
|
-
slotKey?: string | null;
|
|
1666
|
-
resourceId?: string | null;
|
|
1667
|
-
}
|
|
1668
|
-
export interface ScheduleShiftCandidatesVariables {
|
|
1669
|
-
organizationId: string;
|
|
1670
|
-
occurrenceId: string;
|
|
1671
|
-
slotKey?: string | null;
|
|
1672
|
-
}
|
|
1673
|
-
export interface ScheduleSeriesListVariables {
|
|
1674
|
-
organizationId: string;
|
|
1675
|
-
calendarId: string;
|
|
1676
|
-
includeInactive?: boolean | null;
|
|
1677
|
-
}
|
|
1678
|
-
export interface ScheduleDemandsVariables {
|
|
1679
|
-
organizationId: string;
|
|
1680
|
-
calendarId: string;
|
|
1681
|
-
from: string;
|
|
1682
|
-
to: string;
|
|
1683
|
-
}
|
|
1684
|
-
export interface ScheduleRulesVariables {
|
|
1685
|
-
organizationId: string;
|
|
1686
|
-
calendarId?: string | null;
|
|
1124
|
+
fromDate: string;
|
|
1125
|
+
toDate: string;
|
|
1687
1126
|
}
|
|
1688
1127
|
export interface ScheduleViolationsVariables {
|
|
1689
1128
|
organizationId: string;
|
|
1690
1129
|
calendarId: string;
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
}
|
|
1694
|
-
export interface SchedulePublishPreflightVariables {
|
|
1695
|
-
organizationId: string;
|
|
1696
|
-
calendarId: string;
|
|
1697
|
-
from: string;
|
|
1698
|
-
to: string;
|
|
1699
|
-
}
|
|
1700
|
-
export interface SchedulePublicationsVariables {
|
|
1701
|
-
organizationId: string;
|
|
1702
|
-
calendarId: string;
|
|
1703
|
-
cursor?: string | number[] | null;
|
|
1704
|
-
after?: boolean | null;
|
|
1705
|
-
limit?: number | null;
|
|
1706
|
-
}
|
|
1707
|
-
export interface ScheduleRequestsVariables {
|
|
1708
|
-
organizationId: string;
|
|
1709
|
-
calendarId?: string | null;
|
|
1710
|
-
kinds?: Array<ScheduleRequestKind> | null;
|
|
1711
|
-
statuses?: Array<ScheduleRequestStatus> | null;
|
|
1712
|
-
involvingMe?: boolean | null;
|
|
1713
|
-
from?: string | null;
|
|
1714
|
-
to?: string | null;
|
|
1715
|
-
cursor?: string | number[] | null;
|
|
1716
|
-
after?: boolean | null;
|
|
1717
|
-
limit?: number | null;
|
|
1718
|
-
}
|
|
1719
|
-
export interface ScheduleRequestVariables {
|
|
1720
|
-
organizationId: string;
|
|
1721
|
-
requestId: string;
|
|
1130
|
+
fromDate: string;
|
|
1131
|
+
toDate: string;
|
|
1722
1132
|
}
|
|
1723
1133
|
export interface ScheduleTimeOffListVariables {
|
|
1724
1134
|
organizationId: string;
|
|
@@ -1731,15 +1141,22 @@ export interface ScheduleTimeOffListVariables {
|
|
|
1731
1141
|
after?: boolean | null;
|
|
1732
1142
|
limit?: number | null;
|
|
1733
1143
|
}
|
|
1144
|
+
export interface ScheduleTasksVariables {
|
|
1145
|
+
organizationId: string;
|
|
1146
|
+
calendarId?: string | null;
|
|
1147
|
+
projectId?: string | null;
|
|
1148
|
+
statuses?: Array<ScheduleTaskStatus> | null;
|
|
1149
|
+
}
|
|
1150
|
+
export interface ScheduleMyTasksVariables {
|
|
1151
|
+
organizationId: string;
|
|
1152
|
+
statuses?: Array<ScheduleTaskStatus> | null;
|
|
1153
|
+
}
|
|
1734
1154
|
export interface ScheduleProjectsVariables {
|
|
1735
1155
|
organizationId: string;
|
|
1736
1156
|
statuses?: Array<ScheduleProjectStatus> | null;
|
|
1737
1157
|
includeArchived?: boolean | null;
|
|
1738
1158
|
search?: string | null;
|
|
1739
1159
|
}
|
|
1740
|
-
export interface ScheduleProjectVariables {
|
|
1741
|
-
projectId: string;
|
|
1742
|
-
}
|
|
1743
1160
|
export interface ScheduleProjectNetworkVariables {
|
|
1744
1161
|
projectId: string;
|
|
1745
1162
|
filter?: ScheduleNetworkFilter | null;
|
|
@@ -1750,24 +1167,12 @@ export interface ScheduleProjectRunsVariables {
|
|
|
1750
1167
|
after?: boolean | null;
|
|
1751
1168
|
limit?: number | null;
|
|
1752
1169
|
}
|
|
1753
|
-
export interface ScheduleProjectRunVariables {
|
|
1754
|
-
projectId: string;
|
|
1755
|
-
runId: string;
|
|
1756
|
-
}
|
|
1757
1170
|
export interface ScheduleBaselinesVariables {
|
|
1758
1171
|
projectId: string;
|
|
1759
1172
|
cursor?: string | number[] | null;
|
|
1760
1173
|
after?: boolean | null;
|
|
1761
1174
|
limit?: number | null;
|
|
1762
1175
|
}
|
|
1763
|
-
export interface ScheduleBaselineActivitiesVariables {
|
|
1764
|
-
projectId: string;
|
|
1765
|
-
baselineId: string;
|
|
1766
|
-
}
|
|
1767
|
-
export interface ScheduleBaselineVarianceVariables {
|
|
1768
|
-
projectId: string;
|
|
1769
|
-
baselineId?: string | null;
|
|
1770
|
-
}
|
|
1771
1176
|
export interface ScheduleWorkCalendarVariables {
|
|
1772
1177
|
organizationId: string;
|
|
1773
1178
|
workCalendarId: string;
|
|
@@ -1776,15 +1181,3 @@ export interface ScheduleResourceVariables {
|
|
|
1776
1181
|
organizationId: string;
|
|
1777
1182
|
resourceId: string;
|
|
1778
1183
|
}
|
|
1779
|
-
export interface ScheduleSeriesVariables {
|
|
1780
|
-
organizationId: string;
|
|
1781
|
-
seriesId: string;
|
|
1782
|
-
}
|
|
1783
|
-
export interface ScheduleCalendarAccessGrantsVariables {
|
|
1784
|
-
organizationId: string;
|
|
1785
|
-
calendarId: string;
|
|
1786
|
-
}
|
|
1787
|
-
export interface ScheduleProjectAccessGrantsVariables {
|
|
1788
|
-
organizationId: string;
|
|
1789
|
-
projectId: string;
|
|
1790
|
-
}
|