@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
package/schedule.d.ts
ADDED
|
@@ -0,0 +1,1790 @@
|
|
|
1
|
+
// Typed schedule API values. IDs are transport IDs; dates are ISO strings.
|
|
2
|
+
export interface ScheduleDocAccessGQL {
|
|
3
|
+
team?: 'NONE' | 'VIEW' | 'EDIT' | null;
|
|
4
|
+
public?: 'NONE' | 'VIEW' | 'EDIT' | null;
|
|
5
|
+
network?: 'NONE' | 'VIEW' | 'EDIT' | null;
|
|
6
|
+
}
|
|
7
|
+
export interface ScheduleDocAccessGrantGQL {
|
|
8
|
+
granteeType: string;
|
|
9
|
+
granteeId: string;
|
|
10
|
+
permission: 'NONE' | 'VIEW' | 'EDIT';
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export type ScheduleSurface = 'PROJECT' | 'COVERAGE';
|
|
14
|
+
export type ScheduleResourceKind = 'LABOR' | 'EQUIPMENT' | 'MATERIAL' | 'SPACE';
|
|
15
|
+
export type ScheduleOccurrenceKind = 'SHIFT' | 'EVENT' | 'BLOCK';
|
|
16
|
+
export type ScheduleOccurrenceStatus = 'DRAFT' | 'PUBLISHED' | 'CANCELED';
|
|
17
|
+
export type ScheduleAssignmentStatus = 'ASSIGNED' | 'RELEASED';
|
|
18
|
+
export type ScheduleAssignmentSourceKind =
|
|
19
|
+
| 'MANUAL'
|
|
20
|
+
| 'REQUEST'
|
|
21
|
+
| 'IMPORT'
|
|
22
|
+
| 'AGENT';
|
|
23
|
+
export type ScheduleRuleKind =
|
|
24
|
+
| 'REQUIRED_COUNT'
|
|
25
|
+
| 'DERIVED_COUNT'
|
|
26
|
+
| 'ROOM_CAPACITY'
|
|
27
|
+
| 'OPERATING_HOURS'
|
|
28
|
+
| 'ELIGIBILITY'
|
|
29
|
+
| 'ACTOR_WINDOW_AGGREGATE';
|
|
30
|
+
export type ScheduleRuleSeverity = 'BLOCK' | 'WARN';
|
|
31
|
+
export type ScheduleRecurrenceFrequency =
|
|
32
|
+
| 'DAILY'
|
|
33
|
+
| 'WEEKLY'
|
|
34
|
+
| 'MONTHLY'
|
|
35
|
+
| 'YEARLY';
|
|
36
|
+
export type ScheduleNotifyChannel = 'IN_APP' | 'EMAIL' | 'SMS';
|
|
37
|
+
export type ScheduleEligibilityReason =
|
|
38
|
+
| 'COVERAGE_IMPACT'
|
|
39
|
+
| 'NOT_LABOR'
|
|
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';
|
|
127
|
+
export type ScheduleImportMode = 'MERGE' | 'REPLACE';
|
|
128
|
+
export type ScheduleImportErrorCode =
|
|
129
|
+
| 'DUPLICATE_CODE'
|
|
130
|
+
| 'UNKNOWN_WBS'
|
|
131
|
+
| 'UNKNOWN_ACTIVITY'
|
|
132
|
+
| 'UNKNOWN_RESOURCE'
|
|
133
|
+
| 'UNKNOWN_WORK_CALENDAR'
|
|
134
|
+
| 'SELF_LINK'
|
|
135
|
+
| 'DUPLICATE_LINK'
|
|
136
|
+
| 'CYCLE'
|
|
137
|
+
| 'INVALID_FIELD'
|
|
138
|
+
| 'PROTECTED_ACTUALS'
|
|
139
|
+
| 'WBS_CYCLE';
|
|
140
|
+
export type SchedulePublishRefusalCode =
|
|
141
|
+
| 'EVALUATION_INCOMPLETE'
|
|
142
|
+
| 'BLOCKING_VIOLATIONS'
|
|
143
|
+
| 'UNACKNOWLEDGED_WARNINGS'
|
|
144
|
+
| 'NOTHING_TO_PUBLISH';
|
|
145
|
+
export interface ScheduleTimeRangeGQL {
|
|
146
|
+
start: string;
|
|
147
|
+
end: string;
|
|
148
|
+
}
|
|
149
|
+
export interface ScheduleTimeRangeInput {
|
|
150
|
+
start: string;
|
|
151
|
+
end: string;
|
|
152
|
+
}
|
|
153
|
+
export interface ScheduleDayHoursGQL {
|
|
154
|
+
weekday: number;
|
|
155
|
+
ranges: Array<ScheduleTimeRangeGQL>;
|
|
156
|
+
}
|
|
157
|
+
export interface ScheduleDayHoursInput {
|
|
158
|
+
weekday: number;
|
|
159
|
+
ranges: Array<ScheduleTimeRangeInput>;
|
|
160
|
+
}
|
|
161
|
+
export interface ScheduleWeekHoursGQL {
|
|
162
|
+
days: Array<ScheduleDayHoursGQL>;
|
|
163
|
+
}
|
|
164
|
+
export interface ScheduleWeekHoursInput {
|
|
165
|
+
days: Array<ScheduleDayHoursInput>;
|
|
166
|
+
}
|
|
167
|
+
export interface ScheduleWorkCalendarExceptionGQL {
|
|
168
|
+
id: string;
|
|
169
|
+
workCalendarId: string;
|
|
170
|
+
date: string;
|
|
171
|
+
ranges: Array<ScheduleTimeRangeGQL>;
|
|
172
|
+
note: string | null;
|
|
173
|
+
}
|
|
174
|
+
export interface ScheduleWorkCalendarGQL {
|
|
175
|
+
id: string;
|
|
176
|
+
organizationId: string;
|
|
177
|
+
key: string | null;
|
|
178
|
+
name: string;
|
|
179
|
+
description: string | null;
|
|
180
|
+
timeZone: string;
|
|
181
|
+
weekHours: ScheduleWeekHoursGQL;
|
|
182
|
+
minutesPerDay: number;
|
|
183
|
+
isDefault: boolean;
|
|
184
|
+
exceptions: Array<ScheduleWorkCalendarExceptionGQL>;
|
|
185
|
+
version: string;
|
|
186
|
+
createdAt: string;
|
|
187
|
+
updatedAt: string;
|
|
188
|
+
}
|
|
189
|
+
export interface CreateScheduleWorkCalendarInput {
|
|
190
|
+
organizationId: string;
|
|
191
|
+
name: string;
|
|
192
|
+
key?: string | null;
|
|
193
|
+
description?: string | null;
|
|
194
|
+
timeZone?: string | null;
|
|
195
|
+
weekHours: ScheduleWeekHoursInput;
|
|
196
|
+
minutesPerDay?: number | null;
|
|
197
|
+
isDefault?: boolean | null;
|
|
198
|
+
}
|
|
199
|
+
export interface UpdateScheduleWorkCalendarInput {
|
|
200
|
+
organizationId: string;
|
|
201
|
+
workCalendarId: string;
|
|
202
|
+
expectedVersion?: string | null;
|
|
203
|
+
name?: string | null;
|
|
204
|
+
description?: string | null;
|
|
205
|
+
timeZone?: string | null;
|
|
206
|
+
weekHours?: ScheduleWeekHoursInput | null;
|
|
207
|
+
minutesPerDay?: number | null;
|
|
208
|
+
isDefault?: boolean | null;
|
|
209
|
+
}
|
|
210
|
+
export interface DeleteScheduleWorkCalendarInput {
|
|
211
|
+
organizationId: string;
|
|
212
|
+
workCalendarId: string;
|
|
213
|
+
}
|
|
214
|
+
export interface SetScheduleWorkCalendarExceptionInput {
|
|
215
|
+
organizationId: string;
|
|
216
|
+
workCalendarId: string;
|
|
217
|
+
date: string;
|
|
218
|
+
ranges?: Array<ScheduleTimeRangeInput> | null;
|
|
219
|
+
note?: string | null;
|
|
220
|
+
}
|
|
221
|
+
export interface ScheduleQualificationGQL {
|
|
222
|
+
key: string;
|
|
223
|
+
expiresAt: string | null;
|
|
224
|
+
}
|
|
225
|
+
export interface ScheduleQualificationInput {
|
|
226
|
+
key: string;
|
|
227
|
+
expiresAt?: string | null;
|
|
228
|
+
}
|
|
229
|
+
export interface ScheduleNotifyPrefsGQL {
|
|
230
|
+
channels: Array<ScheduleNotifyChannel>;
|
|
231
|
+
}
|
|
232
|
+
export interface ScheduleNotifyPrefsInput {
|
|
233
|
+
channels: Array<ScheduleNotifyChannel>;
|
|
234
|
+
}
|
|
235
|
+
export interface ScheduleResourceConfigGQL {
|
|
236
|
+
qualifications: Array<ScheduleQualificationGQL>;
|
|
237
|
+
roles: Array<string>;
|
|
238
|
+
tags: Array<string>;
|
|
239
|
+
ageGroup: string | null;
|
|
240
|
+
notify: ScheduleNotifyPrefsGQL | null;
|
|
241
|
+
}
|
|
242
|
+
export interface ScheduleResourceConfigInput {
|
|
243
|
+
qualifications?: Array<ScheduleQualificationInput> | null;
|
|
244
|
+
roles?: Array<string> | null;
|
|
245
|
+
tags?: Array<string> | null;
|
|
246
|
+
ageGroup?: string | null;
|
|
247
|
+
notify?: ScheduleNotifyPrefsInput | null;
|
|
248
|
+
}
|
|
249
|
+
export interface ScheduleResourceAvailabilityGQL {
|
|
250
|
+
id: string;
|
|
251
|
+
resourceId: string;
|
|
252
|
+
startsOn: string;
|
|
253
|
+
endsOn: string | null;
|
|
254
|
+
maxUnitsPerDay: number;
|
|
255
|
+
note: string | null;
|
|
256
|
+
}
|
|
257
|
+
export interface ScheduleResourceGQL {
|
|
258
|
+
id: string;
|
|
259
|
+
organizationId: string;
|
|
260
|
+
siteId: string | null;
|
|
261
|
+
accountId: string | null;
|
|
262
|
+
workCalendarId: string | null;
|
|
263
|
+
kind: ScheduleResourceKind;
|
|
264
|
+
key: string;
|
|
265
|
+
name: string;
|
|
266
|
+
maxUnitsPerDay: number | null;
|
|
267
|
+
capacity: number | null;
|
|
268
|
+
unitOfMeasure: string | null;
|
|
269
|
+
canLevel: boolean;
|
|
270
|
+
config: ScheduleResourceConfigGQL;
|
|
271
|
+
ordinal: number;
|
|
272
|
+
viewerNotify: ScheduleNotifyPrefsGQL | null;
|
|
273
|
+
availability: Array<ScheduleResourceAvailabilityGQL>;
|
|
274
|
+
retiredAt: string | null;
|
|
275
|
+
version: string;
|
|
276
|
+
createdAt: string;
|
|
277
|
+
updatedAt: string;
|
|
278
|
+
}
|
|
279
|
+
export interface CreateScheduleResourceInput {
|
|
280
|
+
organizationId: string;
|
|
281
|
+
kind: ScheduleResourceKind;
|
|
282
|
+
key: string;
|
|
283
|
+
name: string;
|
|
284
|
+
siteId?: string | null;
|
|
285
|
+
accountId?: string | null;
|
|
286
|
+
workCalendarId?: string | null;
|
|
287
|
+
maxUnitsPerDay?: number | null;
|
|
288
|
+
capacity?: number | null;
|
|
289
|
+
unitOfMeasure?: string | null;
|
|
290
|
+
canLevel?: boolean | null;
|
|
291
|
+
config?: ScheduleResourceConfigInput | null;
|
|
292
|
+
ordinal?: number | null;
|
|
293
|
+
}
|
|
294
|
+
export interface UpdateScheduleResourceInput {
|
|
295
|
+
organizationId: string;
|
|
296
|
+
resourceId: string;
|
|
297
|
+
expectedVersion?: string | null;
|
|
298
|
+
name?: string | null;
|
|
299
|
+
siteId?: string | null;
|
|
300
|
+
accountId?: string | null;
|
|
301
|
+
workCalendarId?: string | null;
|
|
302
|
+
maxUnitsPerDay?: number | null;
|
|
303
|
+
capacity?: number | null;
|
|
304
|
+
unitOfMeasure?: string | null;
|
|
305
|
+
canLevel?: boolean | null;
|
|
306
|
+
config?: ScheduleResourceConfigInput | null;
|
|
307
|
+
ordinal?: number | null;
|
|
308
|
+
retired?: boolean | null;
|
|
309
|
+
}
|
|
310
|
+
export interface CreateScheduleResourceAvailabilityInput {
|
|
311
|
+
organizationId: string;
|
|
312
|
+
resourceId: string;
|
|
313
|
+
startsOn: string;
|
|
314
|
+
endsOn?: string | null;
|
|
315
|
+
maxUnitsPerDay: number;
|
|
316
|
+
note?: string | null;
|
|
317
|
+
}
|
|
318
|
+
export interface DeleteScheduleResourceAvailabilityInput {
|
|
319
|
+
organizationId: string;
|
|
320
|
+
resourceId: string;
|
|
321
|
+
availabilityId: string;
|
|
322
|
+
}
|
|
323
|
+
export interface UpdateMyScheduleNotifyPrefsInput {
|
|
324
|
+
organizationId: string;
|
|
325
|
+
notify: ScheduleNotifyPrefsInput;
|
|
326
|
+
}
|
|
327
|
+
export interface ScheduleSourceGQL {
|
|
328
|
+
kind: ScheduleSourceKind;
|
|
329
|
+
documentId: string | null;
|
|
330
|
+
reference: string | null;
|
|
331
|
+
quote: string | null;
|
|
332
|
+
confidence: number | null;
|
|
333
|
+
reviewStatus: ScheduleSourceReviewStatus | null;
|
|
334
|
+
reviewedByAccountId: string | null;
|
|
335
|
+
reviewedAt: string | null;
|
|
336
|
+
}
|
|
337
|
+
export interface ScheduleSourceInput {
|
|
338
|
+
kind: ScheduleSourceKind;
|
|
339
|
+
documentId?: string | null;
|
|
340
|
+
reference?: string | null;
|
|
341
|
+
quote?: string | null;
|
|
342
|
+
confidence?: number | null;
|
|
343
|
+
}
|
|
344
|
+
export interface ScheduleAssignmentSourceGQL {
|
|
345
|
+
kind: ScheduleAssignmentSourceKind;
|
|
346
|
+
requestId: string | null;
|
|
347
|
+
timeOffId: string | null;
|
|
348
|
+
workflowId: string | null;
|
|
349
|
+
}
|
|
350
|
+
export interface ScheduleEligibilityReasonRowGQL {
|
|
351
|
+
code: ScheduleEligibilityReason;
|
|
352
|
+
severity: ScheduleRuleSeverity;
|
|
353
|
+
ruleId: string | null;
|
|
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>;
|
|
362
|
+
}
|
|
363
|
+
export interface ScheduleCoverageDiagnosticGQL {
|
|
364
|
+
code: ScheduleCoverageDiagnosticCode;
|
|
365
|
+
message: string;
|
|
366
|
+
resourceId: string | null;
|
|
367
|
+
ruleId: string | null;
|
|
368
|
+
}
|
|
369
|
+
export interface ScheduleRequestPolicyGQL {
|
|
370
|
+
autoApproveClaims: boolean;
|
|
371
|
+
autoApproveDrops: boolean;
|
|
372
|
+
requireCounterpartyConsent: boolean;
|
|
373
|
+
requestExpiryHours: number;
|
|
374
|
+
minNoticeHours: number;
|
|
375
|
+
}
|
|
376
|
+
export interface ScheduleRequestPolicyInput {
|
|
377
|
+
autoApproveClaims?: boolean | null;
|
|
378
|
+
autoApproveDrops?: boolean | null;
|
|
379
|
+
requireCounterpartyConsent?: boolean | null;
|
|
380
|
+
requestExpiryHours?: number | null;
|
|
381
|
+
minNoticeHours?: number | null;
|
|
382
|
+
}
|
|
383
|
+
export interface ScheduleCalendarSettingsGQL {
|
|
384
|
+
weekStartsOn: number;
|
|
385
|
+
requests: ScheduleRequestPolicyGQL;
|
|
386
|
+
notify: ScheduleNotifyPrefsGQL;
|
|
387
|
+
}
|
|
388
|
+
export interface ScheduleCalendarSettingsInput {
|
|
389
|
+
weekStartsOn?: number | null;
|
|
390
|
+
requests?: ScheduleRequestPolicyInput | null;
|
|
391
|
+
notify?: ScheduleNotifyPrefsInput | null;
|
|
392
|
+
}
|
|
393
|
+
export interface ScheduleCalendarGQL {
|
|
394
|
+
revision: string;
|
|
395
|
+
id: string;
|
|
396
|
+
organizationId: string;
|
|
397
|
+
name: string;
|
|
398
|
+
description: string | null;
|
|
399
|
+
timeZone: string;
|
|
400
|
+
siteId: string | null;
|
|
401
|
+
workCalendarId: string | null;
|
|
402
|
+
color: string | null;
|
|
403
|
+
settings: ScheduleCalendarSettingsGQL;
|
|
404
|
+
ordinal: number;
|
|
405
|
+
access: ScheduleDocAccessGQL | null;
|
|
406
|
+
accessGrants: Array<ScheduleDocAccessGrantGQL> | null;
|
|
407
|
+
viewerPermission: 'NONE' | 'VIEW' | 'EDIT';
|
|
408
|
+
viewerCanEdit: boolean;
|
|
409
|
+
viewerCanEditAccess: boolean;
|
|
410
|
+
viewerIsManager: boolean;
|
|
411
|
+
viewerResourceId: string | null;
|
|
412
|
+
version: string;
|
|
413
|
+
deletedAt: string | null;
|
|
414
|
+
createdAt: string;
|
|
415
|
+
updatedAt: string;
|
|
416
|
+
}
|
|
417
|
+
export interface CreateScheduleCalendarInput {
|
|
418
|
+
organizationId: string;
|
|
419
|
+
name: string;
|
|
420
|
+
description?: string | null;
|
|
421
|
+
timeZone?: string | null;
|
|
422
|
+
siteId?: string | null;
|
|
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 {
|
|
588
|
+
id: string;
|
|
589
|
+
organizationId: string;
|
|
590
|
+
calendarId: string;
|
|
591
|
+
seriesId: string | null;
|
|
592
|
+
recurrenceDate: string | null;
|
|
593
|
+
resourceId: string | null;
|
|
594
|
+
kind: ScheduleOccurrenceKind;
|
|
595
|
+
title: string;
|
|
596
|
+
note: string | null;
|
|
597
|
+
location: string | null;
|
|
598
|
+
startAt: string;
|
|
599
|
+
endAt: string;
|
|
600
|
+
timeZone: string;
|
|
601
|
+
allDay: boolean;
|
|
602
|
+
status: ScheduleOccurrenceStatus;
|
|
603
|
+
detached: boolean;
|
|
604
|
+
version: string;
|
|
605
|
+
slots: Array<ScheduleSlotGQL>;
|
|
606
|
+
assignments: Array<ScheduleAssignmentGQL>;
|
|
607
|
+
openCount: number;
|
|
608
|
+
publishedAt: string | null;
|
|
609
|
+
canceledAt: string | null;
|
|
610
|
+
deletedAt: string | null;
|
|
611
|
+
createdAt: string;
|
|
612
|
+
updatedAt: string;
|
|
613
|
+
}
|
|
614
|
+
export interface CreateScheduleOccurrenceInput {
|
|
615
|
+
organizationId: string;
|
|
616
|
+
calendarId: string;
|
|
617
|
+
resourceId?: string | null;
|
|
618
|
+
kind?: ScheduleOccurrenceKind | null;
|
|
619
|
+
title: string;
|
|
620
|
+
note?: string | null;
|
|
621
|
+
location?: string | null;
|
|
622
|
+
startAt: string;
|
|
623
|
+
endAt: string;
|
|
624
|
+
timeZone?: string | null;
|
|
625
|
+
allDay?: boolean | null;
|
|
626
|
+
slots?: Array<ScheduleSlotInput> | null;
|
|
627
|
+
}
|
|
628
|
+
export interface UpdateScheduleOccurrenceInput {
|
|
629
|
+
organizationId: string;
|
|
630
|
+
occurrenceId: string;
|
|
631
|
+
expectedVersion: string;
|
|
632
|
+
title?: string | null;
|
|
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;
|
|
777
|
+
}
|
|
778
|
+
export interface ScheduleViolationGQL {
|
|
779
|
+
id: string | null;
|
|
780
|
+
calendarId: string;
|
|
781
|
+
ruleId: string | null;
|
|
782
|
+
occurrenceId: string | null;
|
|
783
|
+
resourceId: string | null;
|
|
784
|
+
slotKey: string | null;
|
|
785
|
+
kind: ScheduleRuleKind;
|
|
786
|
+
code: string;
|
|
787
|
+
severity: ScheduleRuleSeverity;
|
|
788
|
+
violationKey: string;
|
|
789
|
+
identityKey: string;
|
|
790
|
+
startAt: string;
|
|
791
|
+
endAt: string;
|
|
792
|
+
degree: number;
|
|
793
|
+
message: string;
|
|
794
|
+
detail: string | null;
|
|
795
|
+
evaluatedAt: string;
|
|
796
|
+
}
|
|
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
|
+
export interface ScheduleTimeOffGQL {
|
|
924
|
+
id: string;
|
|
925
|
+
organizationId: string;
|
|
926
|
+
resourceId: string;
|
|
927
|
+
accountId: string | null;
|
|
928
|
+
requesterAccountId: string | null;
|
|
929
|
+
startAt: string;
|
|
930
|
+
endAt: string;
|
|
931
|
+
allDay: boolean;
|
|
932
|
+
timeZone: string;
|
|
933
|
+
status: ScheduleTimeOffStatus;
|
|
934
|
+
reason: string | null;
|
|
935
|
+
deciderAccountId: string | null;
|
|
936
|
+
decidedAt: string | null;
|
|
937
|
+
decisionNote: string | null;
|
|
938
|
+
version: string;
|
|
939
|
+
conflictingAssignments: Array<ScheduleOccurrenceGQL>;
|
|
940
|
+
releasedAssignmentIds: Array<string>;
|
|
941
|
+
viewerIsRequester: boolean;
|
|
942
|
+
viewerCanDecide: boolean;
|
|
943
|
+
createdAt: string;
|
|
944
|
+
updatedAt: string;
|
|
945
|
+
cursor: string | number[];
|
|
946
|
+
}
|
|
947
|
+
export interface CreateScheduleTimeOffInput {
|
|
948
|
+
organizationId: string;
|
|
949
|
+
resourceId?: string | null;
|
|
950
|
+
startAt: string;
|
|
951
|
+
endAt: string;
|
|
952
|
+
allDay?: boolean | null;
|
|
953
|
+
timeZone?: string | null;
|
|
954
|
+
reason?: string | null;
|
|
955
|
+
}
|
|
956
|
+
export interface DecideScheduleTimeOffInput {
|
|
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 {
|
|
965
|
+
organizationId: string;
|
|
966
|
+
timeOffId: string;
|
|
967
|
+
expectedVersion: string;
|
|
968
|
+
}
|
|
969
|
+
export interface ScheduleLevelingOptionsGQL {
|
|
970
|
+
enabled: boolean;
|
|
971
|
+
priorityRule: Array<ScheduleLevelingPriorityRule>;
|
|
972
|
+
levelWithinFloat: boolean;
|
|
973
|
+
maxOverallocationPercent: number;
|
|
974
|
+
considerOtherProjects: boolean;
|
|
975
|
+
horizonDays: number;
|
|
976
|
+
}
|
|
977
|
+
export interface ScheduleLevelingOptionsInput {
|
|
978
|
+
enabled?: boolean | null;
|
|
979
|
+
priorityRule?: Array<ScheduleLevelingPriorityRule> | null;
|
|
980
|
+
levelWithinFloat?: boolean | null;
|
|
981
|
+
maxOverallocationPercent?: number | null;
|
|
982
|
+
considerOtherProjects?: boolean | null;
|
|
983
|
+
horizonDays?: number | null;
|
|
984
|
+
}
|
|
985
|
+
export interface ScheduleSchedulingOptionsGQL {
|
|
986
|
+
autoSchedule: boolean;
|
|
987
|
+
progressLogic: ScheduleProgressLogic;
|
|
988
|
+
lagCalendar: ScheduleLagCalendar;
|
|
989
|
+
criticalityMode: ScheduleCriticalityMode;
|
|
990
|
+
criticalFloatThresholdMinutes: number;
|
|
991
|
+
leveling: ScheduleLevelingOptionsGQL;
|
|
992
|
+
}
|
|
993
|
+
export interface ScheduleSchedulingOptionsInput {
|
|
994
|
+
autoSchedule?: boolean | null;
|
|
995
|
+
progressLogic?: ScheduleProgressLogic | null;
|
|
996
|
+
lagCalendar?: ScheduleLagCalendar | null;
|
|
997
|
+
criticalityMode?: ScheduleCriticalityMode | null;
|
|
998
|
+
criticalFloatThresholdMinutes?: number | null;
|
|
999
|
+
leveling?: ScheduleLevelingOptionsInput | null;
|
|
1000
|
+
}
|
|
1001
|
+
export interface ScheduleProjectGQL {
|
|
1002
|
+
id: string;
|
|
1003
|
+
organizationId: string;
|
|
1004
|
+
siteId: string | null;
|
|
1005
|
+
workCalendarId: string;
|
|
1006
|
+
currentBaselineId: string | null;
|
|
1007
|
+
code: string;
|
|
1008
|
+
name: string;
|
|
1009
|
+
description: string | null;
|
|
1010
|
+
status: ScheduleProjectStatus;
|
|
1011
|
+
timeZone: string;
|
|
1012
|
+
plannedStartAt: string;
|
|
1013
|
+
mustFinishByAt: string | null;
|
|
1014
|
+
dataDateAt: string;
|
|
1015
|
+
schedulingOptions: ScheduleSchedulingOptionsGQL;
|
|
1016
|
+
scheduledFinishAt: string | null;
|
|
1017
|
+
lastScheduledAt: string | null;
|
|
1018
|
+
networkRevision: string;
|
|
1019
|
+
scheduledRevision: string;
|
|
1020
|
+
needsReschedule: boolean;
|
|
1021
|
+
runSequence: string;
|
|
1022
|
+
latestRun: ScheduleProjectRunGQL | null;
|
|
1023
|
+
activityCount: number;
|
|
1024
|
+
unreviewedCount: number;
|
|
1025
|
+
access: ScheduleDocAccessGQL | null;
|
|
1026
|
+
accessGrants: Array<ScheduleDocAccessGrantGQL> | null;
|
|
1027
|
+
source: ScheduleSourceGQL;
|
|
1028
|
+
version: string;
|
|
1029
|
+
revision: string;
|
|
1030
|
+
viewerPermission: 'NONE' | 'VIEW' | 'EDIT';
|
|
1031
|
+
viewerCanEdit: boolean;
|
|
1032
|
+
viewerCanEditAccess: boolean;
|
|
1033
|
+
viewerIsManager: boolean;
|
|
1034
|
+
deletedAt: string | null;
|
|
1035
|
+
createdAt: string;
|
|
1036
|
+
updatedAt: string;
|
|
1037
|
+
}
|
|
1038
|
+
export interface CreateScheduleProjectInput {
|
|
1039
|
+
organizationId: string;
|
|
1040
|
+
code?: string | null;
|
|
1041
|
+
name: string;
|
|
1042
|
+
description?: string | null;
|
|
1043
|
+
timeZone?: string | null;
|
|
1044
|
+
siteId?: string | null;
|
|
1045
|
+
workCalendarId?: string | null;
|
|
1046
|
+
plannedStartAt: string;
|
|
1047
|
+
mustFinishByAt?: string | null;
|
|
1048
|
+
dataDateAt?: string | null;
|
|
1049
|
+
schedulingOptions?: ScheduleSchedulingOptionsInput | null;
|
|
1050
|
+
}
|
|
1051
|
+
export interface UpdateScheduleProjectInput {
|
|
1052
|
+
organizationId: string;
|
|
1053
|
+
projectId: string;
|
|
1054
|
+
expectedVersion: string;
|
|
1055
|
+
code?: string | null;
|
|
1056
|
+
name?: string | null;
|
|
1057
|
+
description?: string | null;
|
|
1058
|
+
status?: ScheduleProjectStatus | null;
|
|
1059
|
+
timeZone?: string | null;
|
|
1060
|
+
siteId?: string | null;
|
|
1061
|
+
workCalendarId?: string | null;
|
|
1062
|
+
plannedStartAt?: string | null;
|
|
1063
|
+
mustFinishByAt?: string | null;
|
|
1064
|
+
dataDateAt?: string | null;
|
|
1065
|
+
schedulingOptions?: ScheduleSchedulingOptionsInput | null;
|
|
1066
|
+
}
|
|
1067
|
+
export interface UpdateScheduleProjectAccessInput {
|
|
1068
|
+
organizationId: string;
|
|
1069
|
+
projectId: string;
|
|
1070
|
+
access: ScheduleDocAccessGQL;
|
|
1071
|
+
}
|
|
1072
|
+
export interface DeleteScheduleProjectInput {
|
|
1073
|
+
organizationId: string;
|
|
1074
|
+
projectId: string;
|
|
1075
|
+
expectedVersion: string;
|
|
1076
|
+
}
|
|
1077
|
+
export interface ScheduleWbsNodeGQL {
|
|
1078
|
+
id: string;
|
|
1079
|
+
projectId: string;
|
|
1080
|
+
parentId: string | null;
|
|
1081
|
+
code: string;
|
|
1082
|
+
name: string;
|
|
1083
|
+
path: string;
|
|
1084
|
+
depth: number;
|
|
1085
|
+
ordinal: number;
|
|
1086
|
+
startAt: string | null;
|
|
1087
|
+
finishAt: string | null;
|
|
1088
|
+
percentComplete: number | null;
|
|
1089
|
+
}
|
|
1090
|
+
export interface CreateScheduleWbsNodeInput {
|
|
1091
|
+
organizationId: string;
|
|
1092
|
+
projectId: string;
|
|
1093
|
+
parentId?: string | null;
|
|
1094
|
+
code?: string | null;
|
|
1095
|
+
name: string;
|
|
1096
|
+
ordinal?: number | null;
|
|
1097
|
+
}
|
|
1098
|
+
export interface UpdateScheduleWbsNodeInput {
|
|
1099
|
+
organizationId: string;
|
|
1100
|
+
projectId: string;
|
|
1101
|
+
wbsId: string;
|
|
1102
|
+
parentId?: string | null;
|
|
1103
|
+
code?: string | null;
|
|
1104
|
+
name?: string | null;
|
|
1105
|
+
ordinal?: number | null;
|
|
1106
|
+
}
|
|
1107
|
+
export interface DeleteScheduleWbsNodeInput {
|
|
1108
|
+
organizationId: string;
|
|
1109
|
+
projectId: string;
|
|
1110
|
+
wbsId: string;
|
|
1111
|
+
}
|
|
1112
|
+
export interface ScheduleCodeValueGQL {
|
|
1113
|
+
typeKey: string;
|
|
1114
|
+
valueKey: string;
|
|
1115
|
+
}
|
|
1116
|
+
export interface ScheduleCodeValueInput {
|
|
1117
|
+
typeKey: string;
|
|
1118
|
+
valueKey: string;
|
|
1119
|
+
}
|
|
1120
|
+
export interface ScheduleActivityGQL {
|
|
1121
|
+
id: string;
|
|
1122
|
+
organizationId: string;
|
|
1123
|
+
projectId: string;
|
|
1124
|
+
wbsId: string | null;
|
|
1125
|
+
workCalendarId: string | null;
|
|
1126
|
+
code: string;
|
|
1127
|
+
name: string;
|
|
1128
|
+
description: string | null;
|
|
1129
|
+
type: ScheduleActivityType;
|
|
1130
|
+
status: ScheduleActivityStatus;
|
|
1131
|
+
plannedDurationMinutes: number;
|
|
1132
|
+
remainingDurationMinutes: number;
|
|
1133
|
+
percentComplete: number;
|
|
1134
|
+
primaryConstraintType: ScheduleConstraintType | null;
|
|
1135
|
+
primaryConstraintAt: string | null;
|
|
1136
|
+
secondaryConstraintType: ScheduleConstraintType | null;
|
|
1137
|
+
secondaryConstraintAt: string | null;
|
|
1138
|
+
actualStartAt: string | null;
|
|
1139
|
+
actualFinishAt: string | null;
|
|
1140
|
+
earlyStartAt: string | null;
|
|
1141
|
+
earlyFinishAt: string | null;
|
|
1142
|
+
lateStartAt: string | null;
|
|
1143
|
+
lateFinishAt: string | null;
|
|
1144
|
+
startAt: string | null;
|
|
1145
|
+
finishAt: string | null;
|
|
1146
|
+
totalFloatMinutes: number | null;
|
|
1147
|
+
freeFloatMinutes: number | null;
|
|
1148
|
+
isCritical: boolean;
|
|
1149
|
+
levelingPriority: number;
|
|
1150
|
+
levelingDelayMinutes: number;
|
|
1151
|
+
levelingConstrainedByResourceId: string | null;
|
|
1152
|
+
codes: Array<ScheduleCodeValueGQL>;
|
|
1153
|
+
source: ScheduleSourceGQL;
|
|
1154
|
+
ordinal: number;
|
|
1155
|
+
version: string;
|
|
1156
|
+
createdAt: string;
|
|
1157
|
+
updatedAt: string;
|
|
1158
|
+
}
|
|
1159
|
+
export interface ScheduleActivityInput {
|
|
1160
|
+
code?: string | null;
|
|
1161
|
+
name: string;
|
|
1162
|
+
description?: string | null;
|
|
1163
|
+
type?: ScheduleActivityType | null;
|
|
1164
|
+
wbsId?: string | null;
|
|
1165
|
+
workCalendarId?: string | null;
|
|
1166
|
+
plannedDurationMinutes?: number | null;
|
|
1167
|
+
primaryConstraintType?: ScheduleConstraintType | null;
|
|
1168
|
+
primaryConstraintAt?: string | null;
|
|
1169
|
+
secondaryConstraintType?: ScheduleConstraintType | null;
|
|
1170
|
+
secondaryConstraintAt?: string | null;
|
|
1171
|
+
levelingPriority?: number | null;
|
|
1172
|
+
codes?: Array<ScheduleCodeValueInput> | null;
|
|
1173
|
+
source?: ScheduleSourceInput | null;
|
|
1174
|
+
ordinal?: number | null;
|
|
1175
|
+
}
|
|
1176
|
+
export interface ScheduleActivityPatchInput {
|
|
1177
|
+
code?: string | null;
|
|
1178
|
+
name?: string | null;
|
|
1179
|
+
description?: string | null;
|
|
1180
|
+
type?: ScheduleActivityType | null;
|
|
1181
|
+
wbsId?: string | null;
|
|
1182
|
+
workCalendarId?: string | null;
|
|
1183
|
+
plannedDurationMinutes?: number | null;
|
|
1184
|
+
primaryConstraintType?: ScheduleConstraintType | null;
|
|
1185
|
+
primaryConstraintAt?: string | null;
|
|
1186
|
+
secondaryConstraintType?: ScheduleConstraintType | null;
|
|
1187
|
+
secondaryConstraintAt?: string | null;
|
|
1188
|
+
levelingPriority?: number | null;
|
|
1189
|
+
codes?: Array<ScheduleCodeValueInput> | null;
|
|
1190
|
+
ordinal?: number | null;
|
|
1191
|
+
actualStartAt?: string | null;
|
|
1192
|
+
actualFinishAt?: string | null;
|
|
1193
|
+
remainingDurationMinutes?: number | null;
|
|
1194
|
+
}
|
|
1195
|
+
export interface CreateScheduleActivityInput {
|
|
1196
|
+
organizationId: string;
|
|
1197
|
+
projectId: string;
|
|
1198
|
+
activity: ScheduleActivityInput;
|
|
1199
|
+
}
|
|
1200
|
+
export interface CreateScheduleActivitiesInput {
|
|
1201
|
+
organizationId: string;
|
|
1202
|
+
projectId: string;
|
|
1203
|
+
activities: Array<ScheduleActivityInput>;
|
|
1204
|
+
}
|
|
1205
|
+
export interface UpdateScheduleActivityInput {
|
|
1206
|
+
organizationId: string;
|
|
1207
|
+
projectId: string;
|
|
1208
|
+
activityId: string;
|
|
1209
|
+
expectedVersion: string;
|
|
1210
|
+
patch: ScheduleActivityPatchInput;
|
|
1211
|
+
}
|
|
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
|
+
export interface DeleteScheduleActivitiesInput {
|
|
1226
|
+
organizationId: string;
|
|
1227
|
+
projectId: string;
|
|
1228
|
+
activityIds: Array<string>;
|
|
1229
|
+
}
|
|
1230
|
+
export interface MoveScheduleActivitiesInput {
|
|
1231
|
+
organizationId: string;
|
|
1232
|
+
projectId: string;
|
|
1233
|
+
activityIds: Array<string>;
|
|
1234
|
+
wbsId?: string | null;
|
|
1235
|
+
afterActivityId?: string | null;
|
|
1236
|
+
}
|
|
1237
|
+
export interface ReviewScheduleActivitiesInput {
|
|
1238
|
+
organizationId: string;
|
|
1239
|
+
projectId: string;
|
|
1240
|
+
activityIds: Array<string>;
|
|
1241
|
+
reviewStatus: ScheduleSourceReviewStatus;
|
|
1242
|
+
}
|
|
1243
|
+
export interface ScheduleRelationshipGQL {
|
|
1244
|
+
id: string;
|
|
1245
|
+
projectId: string;
|
|
1246
|
+
predecessorId: string;
|
|
1247
|
+
successorId: string;
|
|
1248
|
+
type: ScheduleRelationshipType;
|
|
1249
|
+
lagMinutes: number;
|
|
1250
|
+
isDriving: boolean;
|
|
1251
|
+
createdAt: string;
|
|
1252
|
+
updatedAt: string;
|
|
1253
|
+
}
|
|
1254
|
+
export interface ScheduleRelationshipInput {
|
|
1255
|
+
predecessorId: string;
|
|
1256
|
+
successorId: string;
|
|
1257
|
+
type?: ScheduleRelationshipType | null;
|
|
1258
|
+
lagMinutes?: number | null;
|
|
1259
|
+
}
|
|
1260
|
+
export interface CreateScheduleRelationshipsInput {
|
|
1261
|
+
organizationId: string;
|
|
1262
|
+
projectId: string;
|
|
1263
|
+
relationships: Array<ScheduleRelationshipInput>;
|
|
1264
|
+
}
|
|
1265
|
+
export interface ReplaceScheduleActivityPredecessorsInput {
|
|
1266
|
+
organizationId: string;
|
|
1267
|
+
projectId: string;
|
|
1268
|
+
activityId: string;
|
|
1269
|
+
expectedActivityVersion: string;
|
|
1270
|
+
relationships: Array<Omit<ScheduleRelationshipInput, 'successorId'>>;
|
|
1271
|
+
}
|
|
1272
|
+
export interface ScheduleActivityPredecessorsPayloadGQL {
|
|
1273
|
+
activity: ScheduleActivityGQL;
|
|
1274
|
+
relationships: Array<ScheduleRelationshipGQL>;
|
|
1275
|
+
}
|
|
1276
|
+
export interface ScheduleRelationshipsPayloadGQL {
|
|
1277
|
+
relationships: Array<ScheduleRelationshipGQL>;
|
|
1278
|
+
cycleActivityIds: Array<string>;
|
|
1279
|
+
duplicateCount: number;
|
|
1280
|
+
}
|
|
1281
|
+
export interface UpdateScheduleRelationshipInput {
|
|
1282
|
+
organizationId: string;
|
|
1283
|
+
projectId: string;
|
|
1284
|
+
relationshipId: string;
|
|
1285
|
+
type?: ScheduleRelationshipType | null;
|
|
1286
|
+
lagMinutes?: number | null;
|
|
1287
|
+
}
|
|
1288
|
+
export interface DeleteScheduleRelationshipsInput {
|
|
1289
|
+
organizationId: string;
|
|
1290
|
+
projectId: string;
|
|
1291
|
+
relationshipIds: Array<string>;
|
|
1292
|
+
}
|
|
1293
|
+
export interface ScheduleActivityAssignmentGQL {
|
|
1294
|
+
id: string;
|
|
1295
|
+
projectId: string;
|
|
1296
|
+
activityId: string;
|
|
1297
|
+
resourceId: string;
|
|
1298
|
+
plannedUnits: number;
|
|
1299
|
+
unitsPerDay: number | null;
|
|
1300
|
+
actualUnits: number;
|
|
1301
|
+
remainingUnits: number;
|
|
1302
|
+
}
|
|
1303
|
+
export interface ReplaceScheduleActivityAssignmentInput {
|
|
1304
|
+
organizationId: string;
|
|
1305
|
+
projectId: string;
|
|
1306
|
+
activityId: string;
|
|
1307
|
+
resourceId: string;
|
|
1308
|
+
plannedUnits: number;
|
|
1309
|
+
unitsPerDay?: number | null;
|
|
1310
|
+
actualUnits?: number | null;
|
|
1311
|
+
remainingUnits?: number | null;
|
|
1312
|
+
}
|
|
1313
|
+
export interface DeleteScheduleActivityAssignmentInput {
|
|
1314
|
+
organizationId: string;
|
|
1315
|
+
projectId: string;
|
|
1316
|
+
assignmentId: string;
|
|
1317
|
+
}
|
|
1318
|
+
export interface ScheduleBaselineGQL {
|
|
1319
|
+
id: string;
|
|
1320
|
+
projectId: string;
|
|
1321
|
+
name: string;
|
|
1322
|
+
note: string | null;
|
|
1323
|
+
dataDateAt: string;
|
|
1324
|
+
isCurrent: boolean;
|
|
1325
|
+
createdByAccountId: string | null;
|
|
1326
|
+
createdAt: string;
|
|
1327
|
+
cursor: string | number[];
|
|
1328
|
+
}
|
|
1329
|
+
export interface ScheduleBaselineActivityGQL {
|
|
1330
|
+
plannedStartAt: string | null;
|
|
1331
|
+
plannedFinishAt: string | null;
|
|
1332
|
+
id: string;
|
|
1333
|
+
baselineId: string;
|
|
1334
|
+
activityId: string | null;
|
|
1335
|
+
code: string;
|
|
1336
|
+
name: string;
|
|
1337
|
+
startAt: string | null;
|
|
1338
|
+
finishAt: string | null;
|
|
1339
|
+
plannedDurationMinutes: number;
|
|
1340
|
+
totalFloatMinutes: number | null;
|
|
1341
|
+
plannedUnits: number;
|
|
1342
|
+
percentComplete: number;
|
|
1343
|
+
}
|
|
1344
|
+
export interface CreateScheduleBaselineInput {
|
|
1345
|
+
organizationId: string;
|
|
1346
|
+
projectId: string;
|
|
1347
|
+
name: string;
|
|
1348
|
+
note?: string | null;
|
|
1349
|
+
setCurrent?: boolean | null;
|
|
1350
|
+
}
|
|
1351
|
+
export interface SetScheduleCurrentBaselineInput {
|
|
1352
|
+
organizationId: string;
|
|
1353
|
+
projectId: string;
|
|
1354
|
+
baselineId?: string | null;
|
|
1355
|
+
}
|
|
1356
|
+
export interface DeleteScheduleBaselineInput {
|
|
1357
|
+
organizationId: string;
|
|
1358
|
+
projectId: string;
|
|
1359
|
+
baselineId: string;
|
|
1360
|
+
}
|
|
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
|
+
export interface ScheduleProjectRunProgressGQL {
|
|
1382
|
+
stage: string;
|
|
1383
|
+
percent: number | null;
|
|
1384
|
+
message: string | null;
|
|
1385
|
+
updatedAt: string;
|
|
1386
|
+
}
|
|
1387
|
+
export interface ScheduleProjectRunStatsGQL {
|
|
1388
|
+
activityCount: number;
|
|
1389
|
+
relationshipCount: number;
|
|
1390
|
+
criticalCount: number;
|
|
1391
|
+
openStartCount: number;
|
|
1392
|
+
openFinishCount: number;
|
|
1393
|
+
negativeFloatCount: number;
|
|
1394
|
+
constraintOverrideCount: number;
|
|
1395
|
+
cycleCount: number;
|
|
1396
|
+
longestPathCount: number;
|
|
1397
|
+
scheduledFinishAt: string | null;
|
|
1398
|
+
earlyFinishAt: string | null;
|
|
1399
|
+
leveled: boolean;
|
|
1400
|
+
leveledCount: number;
|
|
1401
|
+
totalLevelingDelayMinutes: number;
|
|
1402
|
+
finishDelayMinutes: number;
|
|
1403
|
+
overallocatedResourceDayCount: number;
|
|
1404
|
+
levelingExceededFloatCount: number;
|
|
1405
|
+
levelingExceededHorizonCount: number;
|
|
1406
|
+
diagnosticsTruncated: boolean;
|
|
1407
|
+
diagnosticCounts: string;
|
|
1408
|
+
}
|
|
1409
|
+
export interface ScheduleDiagnosticGQL {
|
|
1410
|
+
code: string;
|
|
1411
|
+
severity: ScheduleDiagnosticSeverity;
|
|
1412
|
+
message: string;
|
|
1413
|
+
activityId: string | null;
|
|
1414
|
+
relatedActivityId: string | null;
|
|
1415
|
+
activityIds: Array<string> | null;
|
|
1416
|
+
resourceId: string | null;
|
|
1417
|
+
calendarId: string | null;
|
|
1418
|
+
fromDate: string | null;
|
|
1419
|
+
toDate: string | null;
|
|
1420
|
+
demandUnits: number | null;
|
|
1421
|
+
availableUnits: number | null;
|
|
1422
|
+
minutes: number | null;
|
|
1423
|
+
}
|
|
1424
|
+
export interface ScheduleProjectRunGQL {
|
|
1425
|
+
organizationId: string;
|
|
1426
|
+
revision: string;
|
|
1427
|
+
scheduledFinishAt: string | null;
|
|
1428
|
+
createdAt: string;
|
|
1429
|
+
id: string;
|
|
1430
|
+
projectId: string;
|
|
1431
|
+
sequence: string;
|
|
1432
|
+
kind: ScheduleProjectRunKind;
|
|
1433
|
+
trigger: ScheduleProjectRunTrigger;
|
|
1434
|
+
status: ScheduleProjectRunStatus;
|
|
1435
|
+
options: ScheduleSchedulingOptionsGQL;
|
|
1436
|
+
networkRevision: string | null;
|
|
1437
|
+
dataDateAt: string;
|
|
1438
|
+
progress: ScheduleProjectRunProgressGQL | null;
|
|
1439
|
+
stats: ScheduleProjectRunStatsGQL | null;
|
|
1440
|
+
diagnostics: Array<ScheduleDiagnosticGQL>;
|
|
1441
|
+
triggeredByAccountId: string | null;
|
|
1442
|
+
cancelRequestedAt: string | null;
|
|
1443
|
+
queuedAt: string;
|
|
1444
|
+
startedAt: string | null;
|
|
1445
|
+
finishedAt: string | null;
|
|
1446
|
+
lastError: string | null;
|
|
1447
|
+
version: string;
|
|
1448
|
+
updatedAt: string;
|
|
1449
|
+
cursor: string | number[];
|
|
1450
|
+
}
|
|
1451
|
+
export interface RunScheduleProjectInput {
|
|
1452
|
+
options?: ScheduleSchedulingOptionsInput | null;
|
|
1453
|
+
organizationId: string;
|
|
1454
|
+
projectId: string;
|
|
1455
|
+
kind?: ScheduleProjectRunKind | null;
|
|
1456
|
+
dataDateAt?: string | null;
|
|
1457
|
+
leveling?: ScheduleLevelingOptionsInput | null;
|
|
1458
|
+
}
|
|
1459
|
+
export interface CancelScheduleProjectRunInput {
|
|
1460
|
+
organizationId: string;
|
|
1461
|
+
projectId: string;
|
|
1462
|
+
runId: string;
|
|
1463
|
+
}
|
|
1464
|
+
export interface ScheduleCodeTypeValueGQL {
|
|
1465
|
+
key: string;
|
|
1466
|
+
label: string;
|
|
1467
|
+
color: string | null;
|
|
1468
|
+
}
|
|
1469
|
+
export interface ScheduleCodeTypeValueInput {
|
|
1470
|
+
key: string;
|
|
1471
|
+
label: string;
|
|
1472
|
+
color?: string | null;
|
|
1473
|
+
}
|
|
1474
|
+
export interface ScheduleCodeTypeGQL {
|
|
1475
|
+
id: string;
|
|
1476
|
+
organizationId: string;
|
|
1477
|
+
projectId: string | null;
|
|
1478
|
+
key: string;
|
|
1479
|
+
name: string;
|
|
1480
|
+
values: Array<ScheduleCodeTypeValueGQL>;
|
|
1481
|
+
ordinal: number;
|
|
1482
|
+
}
|
|
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
|
+
export interface ScheduleNetworkFilter {
|
|
1496
|
+
wbsId?: string | null;
|
|
1497
|
+
criticalOnly?: boolean | null;
|
|
1498
|
+
from?: string | null;
|
|
1499
|
+
to?: string | null;
|
|
1500
|
+
codes?: Array<ScheduleCodeValueInput> | null;
|
|
1501
|
+
search?: string | null;
|
|
1502
|
+
reviewStatus?: ScheduleSourceReviewStatus | null;
|
|
1503
|
+
}
|
|
1504
|
+
export interface ScheduleProjectNetworkGQL {
|
|
1505
|
+
project: ScheduleProjectGQL;
|
|
1506
|
+
wbsNodes: Array<ScheduleWbsNodeGQL>;
|
|
1507
|
+
activities: Array<ScheduleActivityGQL>;
|
|
1508
|
+
relationships: Array<ScheduleRelationshipGQL>;
|
|
1509
|
+
assignments: Array<ScheduleActivityAssignmentGQL>;
|
|
1510
|
+
baselineActivities: Array<ScheduleBaselineActivityGQL>;
|
|
1511
|
+
resources: Array<ScheduleResourceGQL>;
|
|
1512
|
+
workCalendars: Array<ScheduleWorkCalendarGQL>;
|
|
1513
|
+
networkRevision: string;
|
|
1514
|
+
totalActivityCount: number;
|
|
1515
|
+
filtered: boolean;
|
|
1516
|
+
truncated: boolean;
|
|
1517
|
+
}
|
|
1518
|
+
export interface ScheduleResourceUsageDayGQL {
|
|
1519
|
+
resourceId: string;
|
|
1520
|
+
date: string;
|
|
1521
|
+
demandUnits: number;
|
|
1522
|
+
externalUnits: number;
|
|
1523
|
+
availableUnits: number | null;
|
|
1524
|
+
overallocated: boolean;
|
|
1525
|
+
}
|
|
1526
|
+
export interface ScheduleImportWbsInput {
|
|
1527
|
+
code: string;
|
|
1528
|
+
parentCode?: string | null;
|
|
1529
|
+
name: string;
|
|
1530
|
+
ordinal?: number | null;
|
|
1531
|
+
}
|
|
1532
|
+
export interface ScheduleImportActivityInput {
|
|
1533
|
+
code: string;
|
|
1534
|
+
wbsCode?: string | null;
|
|
1535
|
+
name: string;
|
|
1536
|
+
type?: ScheduleActivityType | null;
|
|
1537
|
+
workCalendarKey?: string | null;
|
|
1538
|
+
plannedDurationMinutes?: number | null;
|
|
1539
|
+
primaryConstraintType?: ScheduleConstraintType | null;
|
|
1540
|
+
primaryConstraintAt?: string | null;
|
|
1541
|
+
secondaryConstraintType?: ScheduleConstraintType | null;
|
|
1542
|
+
secondaryConstraintAt?: string | null;
|
|
1543
|
+
levelingPriority?: number | null;
|
|
1544
|
+
codes?: Array<ScheduleCodeValueInput> | null;
|
|
1545
|
+
ordinal?: number | null;
|
|
1546
|
+
source?: ScheduleSourceInput | null;
|
|
1547
|
+
}
|
|
1548
|
+
export interface ScheduleImportRelationshipInput {
|
|
1549
|
+
predecessorCode: string;
|
|
1550
|
+
successorCode: string;
|
|
1551
|
+
type?: ScheduleRelationshipType | null;
|
|
1552
|
+
lagMinutes?: number | null;
|
|
1553
|
+
}
|
|
1554
|
+
export interface ScheduleImportAssignmentInput {
|
|
1555
|
+
activityCode: string;
|
|
1556
|
+
resourceKey: string;
|
|
1557
|
+
plannedUnits?: number | null;
|
|
1558
|
+
unitsPerDay?: number | null;
|
|
1559
|
+
}
|
|
1560
|
+
export interface ScheduleImportPlanInput {
|
|
1561
|
+
organizationId: string;
|
|
1562
|
+
projectId: string;
|
|
1563
|
+
mode: ScheduleImportMode;
|
|
1564
|
+
dryRun?: boolean | null;
|
|
1565
|
+
source?: ScheduleSourceInput | null;
|
|
1566
|
+
wbs?: Array<ScheduleImportWbsInput> | null;
|
|
1567
|
+
activities?: Array<ScheduleImportActivityInput> | null;
|
|
1568
|
+
relationships?: Array<ScheduleImportRelationshipInput> | null;
|
|
1569
|
+
assignments?: Array<ScheduleImportAssignmentInput> | null;
|
|
1570
|
+
}
|
|
1571
|
+
export interface ScheduleImportErrorGQL {
|
|
1572
|
+
code: ScheduleImportErrorCode;
|
|
1573
|
+
section: string;
|
|
1574
|
+
index: number;
|
|
1575
|
+
rowCode: string | null;
|
|
1576
|
+
message: string;
|
|
1577
|
+
}
|
|
1578
|
+
export interface ScheduleImportPayloadGQL {
|
|
1579
|
+
applied: boolean;
|
|
1580
|
+
dryRun: boolean;
|
|
1581
|
+
wbsCreated: number;
|
|
1582
|
+
wbsUpdated: number;
|
|
1583
|
+
activitiesCreated: number;
|
|
1584
|
+
activitiesUpdated: number;
|
|
1585
|
+
activitiesSkipped: number;
|
|
1586
|
+
activitiesDeleted: number;
|
|
1587
|
+
relationshipsCreated: number;
|
|
1588
|
+
assignmentsWritten: number;
|
|
1589
|
+
errors: Array<ScheduleImportErrorGQL>;
|
|
1590
|
+
cycleCodes: Array<string>;
|
|
1591
|
+
run: ScheduleProjectRunGQL | null;
|
|
1592
|
+
}
|
|
1593
|
+
export interface DeleteScheduleActivityInput {
|
|
1594
|
+
organizationId: string;
|
|
1595
|
+
projectId: string;
|
|
1596
|
+
activityId: string;
|
|
1597
|
+
}
|
|
1598
|
+
export interface CreateScheduleRelationshipInput {
|
|
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
|
+
}
|
|
1611
|
+
export interface ScheduleWorkCalendarsVariables {
|
|
1612
|
+
organizationId: string;
|
|
1613
|
+
}
|
|
1614
|
+
export interface ScheduleResourcesVariables {
|
|
1615
|
+
organizationId: string;
|
|
1616
|
+
kind?: ScheduleResourceKind | null;
|
|
1617
|
+
includeRetired?: boolean | null;
|
|
1618
|
+
search?: string | null;
|
|
1619
|
+
}
|
|
1620
|
+
export interface ScheduleCodeTypesVariables {
|
|
1621
|
+
organizationId: string;
|
|
1622
|
+
projectId?: string | null;
|
|
1623
|
+
}
|
|
1624
|
+
export interface ScheduleResourceUsageVariables {
|
|
1625
|
+
organizationId: string;
|
|
1626
|
+
projectId: string;
|
|
1627
|
+
resourceIds?: Array<string> | null;
|
|
1628
|
+
from: string;
|
|
1629
|
+
to: string;
|
|
1630
|
+
}
|
|
1631
|
+
export interface ScheduleCalendarsVariables {
|
|
1632
|
+
organizationId: string;
|
|
1633
|
+
}
|
|
1634
|
+
export interface ScheduleCalendarVariables {
|
|
1635
|
+
calendarId: string;
|
|
1636
|
+
}
|
|
1637
|
+
export interface ScheduleOccurrencesVariables {
|
|
1638
|
+
organizationId: string;
|
|
1639
|
+
calendarId: string;
|
|
1640
|
+
from: string;
|
|
1641
|
+
to: string;
|
|
1642
|
+
publishedOnly?: boolean | null;
|
|
1643
|
+
mineOnly?: boolean | null;
|
|
1644
|
+
kinds?: Array<ScheduleOccurrenceKind> | null;
|
|
1645
|
+
}
|
|
1646
|
+
export interface ScheduleOccurrenceVariables {
|
|
1647
|
+
organizationId: string;
|
|
1648
|
+
occurrenceId: string;
|
|
1649
|
+
}
|
|
1650
|
+
export interface ScheduleMyShiftsVariables {
|
|
1651
|
+
organizationId: string;
|
|
1652
|
+
from: string;
|
|
1653
|
+
to: string;
|
|
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;
|
|
1687
|
+
}
|
|
1688
|
+
export interface ScheduleViolationsVariables {
|
|
1689
|
+
organizationId: string;
|
|
1690
|
+
calendarId: string;
|
|
1691
|
+
from: string;
|
|
1692
|
+
to: string;
|
|
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;
|
|
1722
|
+
}
|
|
1723
|
+
export interface ScheduleTimeOffListVariables {
|
|
1724
|
+
organizationId: string;
|
|
1725
|
+
resourceIds?: Array<string> | null;
|
|
1726
|
+
statuses?: Array<ScheduleTimeOffStatus> | null;
|
|
1727
|
+
mine?: boolean | null;
|
|
1728
|
+
from?: string | null;
|
|
1729
|
+
to?: string | null;
|
|
1730
|
+
cursor?: string | number[] | null;
|
|
1731
|
+
after?: boolean | null;
|
|
1732
|
+
limit?: number | null;
|
|
1733
|
+
}
|
|
1734
|
+
export interface ScheduleProjectsVariables {
|
|
1735
|
+
organizationId: string;
|
|
1736
|
+
statuses?: Array<ScheduleProjectStatus> | null;
|
|
1737
|
+
includeArchived?: boolean | null;
|
|
1738
|
+
search?: string | null;
|
|
1739
|
+
}
|
|
1740
|
+
export interface ScheduleProjectVariables {
|
|
1741
|
+
projectId: string;
|
|
1742
|
+
}
|
|
1743
|
+
export interface ScheduleProjectNetworkVariables {
|
|
1744
|
+
projectId: string;
|
|
1745
|
+
filter?: ScheduleNetworkFilter | null;
|
|
1746
|
+
}
|
|
1747
|
+
export interface ScheduleProjectRunsVariables {
|
|
1748
|
+
projectId: string;
|
|
1749
|
+
cursor?: string | number[] | null;
|
|
1750
|
+
after?: boolean | null;
|
|
1751
|
+
limit?: number | null;
|
|
1752
|
+
}
|
|
1753
|
+
export interface ScheduleProjectRunVariables {
|
|
1754
|
+
projectId: string;
|
|
1755
|
+
runId: string;
|
|
1756
|
+
}
|
|
1757
|
+
export interface ScheduleBaselinesVariables {
|
|
1758
|
+
projectId: string;
|
|
1759
|
+
cursor?: string | number[] | null;
|
|
1760
|
+
after?: boolean | null;
|
|
1761
|
+
limit?: number | null;
|
|
1762
|
+
}
|
|
1763
|
+
export interface ScheduleBaselineActivitiesVariables {
|
|
1764
|
+
projectId: string;
|
|
1765
|
+
baselineId: string;
|
|
1766
|
+
}
|
|
1767
|
+
export interface ScheduleBaselineVarianceVariables {
|
|
1768
|
+
projectId: string;
|
|
1769
|
+
baselineId?: string | null;
|
|
1770
|
+
}
|
|
1771
|
+
export interface ScheduleWorkCalendarVariables {
|
|
1772
|
+
organizationId: string;
|
|
1773
|
+
workCalendarId: string;
|
|
1774
|
+
}
|
|
1775
|
+
export interface ScheduleResourceVariables {
|
|
1776
|
+
organizationId: string;
|
|
1777
|
+
resourceId: string;
|
|
1778
|
+
}
|
|
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
|
+
}
|