@epilot/sdk 2.16.0 → 2.16.1
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/definitions/calendar-runtime.json +1 -1
- package/definitions/calendar.json +1994 -148
- package/dist/apis/access-token.cjs +6 -6
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +6 -6
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +6 -6
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +6 -6
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +6 -6
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +6 -6
- package/dist/apis/blueprint-manifest.js +1 -1
- package/dist/apis/calendar.cjs +8 -8
- package/dist/apis/calendar.d.cts +2 -2
- package/dist/apis/calendar.d.ts +2 -2
- package/dist/apis/calendar.js +2 -2
- package/dist/apis/configuration-hub.cjs +6 -6
- package/dist/apis/configuration-hub.js +1 -1
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +6 -6
- package/dist/apis/customer-portal.js +1 -1
- package/dist/apis/dashboard.cjs +6 -6
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-governance.cjs +6 -6
- package/dist/apis/data-governance.js +1 -1
- package/dist/apis/deduplication.cjs +6 -6
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +6 -6
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +6 -6
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +6 -6
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.js +1 -1
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +6 -6
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/integration-toolkit.cjs +6 -6
- package/dist/apis/integration-toolkit.js +1 -1
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +6 -6
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +6 -6
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +6 -6
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/query.cjs +6 -6
- package/dist/apis/query.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +6 -6
- package/dist/apis/sharing.js +1 -1
- package/dist/apis/snapshot.cjs +6 -6
- package/dist/apis/snapshot.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +6 -6
- package/dist/apis/target.js +1 -1
- package/dist/apis/targeting.cjs +6 -6
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +6 -6
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +6 -6
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +6 -6
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.js +1 -1
- package/dist/calendar-QAOHESA6.cjs +7 -0
- package/dist/calendar-ZKM3KI45.js +7 -0
- package/dist/{calendar-runtime-6CMMEQMG.js → calendar-runtime-25OCRSQL.js} +1 -1
- package/dist/{calendar-runtime-G4SN5PDY.cjs → calendar-runtime-IOURSAQT.cjs} +2 -2
- package/dist/calendar.d-DQaUSVGa.d.cts +2047 -0
- package/dist/calendar.d-DQaUSVGa.d.ts +2047 -0
- package/dist/chunk-EWGYF4WD.js +14 -0
- package/dist/chunk-IFELBEXN.cjs +14 -0
- package/dist/{chunk-X3MPAK4C.cjs → chunk-K7MOYBJB.cjs} +2 -2
- package/dist/{chunk-UCCKYJMU.js → chunk-KFR23DXN.js} +2 -2
- package/dist/index.cjs +10 -10
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/js-yaml-DLCVPJ7G.js +0 -0
- package/docs/calendar.md +1082 -70
- package/package.json +11 -12
- package/dist/calendar-2YDAYG7S.cjs +0 -7
- package/dist/calendar-ACFIHQ2N.js +0 -7
- package/dist/calendar.d-BEjLDagH.d.cts +0 -353
- package/dist/calendar.d-BEjLDagH.d.ts +0 -353
- package/dist/chunk-CKLEBO4K.cjs +0 -14
- package/dist/chunk-JNH37UUH.js +0 -14
|
@@ -0,0 +1,2047 @@
|
|
|
1
|
+
import { OpenAPIClient, Parameters, AxiosRequestConfig, OperationResponse, UnknownParamsObject } from 'openapi-client-axios';
|
|
2
|
+
|
|
3
|
+
/* Auto-copied from calendar-client */
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
declare namespace Components {
|
|
7
|
+
namespace Schemas {
|
|
8
|
+
export interface AbsenceAdjustment {
|
|
9
|
+
/**
|
|
10
|
+
* Adjustment start. Maximum adjustment duration: 7 days.
|
|
11
|
+
*/
|
|
12
|
+
from: string; // date-time
|
|
13
|
+
/**
|
|
14
|
+
* Adjustment end. Must be after from.
|
|
15
|
+
*/
|
|
16
|
+
to: string; // date-time
|
|
17
|
+
/**
|
|
18
|
+
* Manual override state: true means absent, false means not absent.
|
|
19
|
+
*/
|
|
20
|
+
absent: boolean;
|
|
21
|
+
status: /* Calendar status targeted by the absence adjustment. */ AbsenceStatus;
|
|
22
|
+
type?: /* Optional producer-defined reference stored with an absence adjustment. */ AbsenceType;
|
|
23
|
+
reason?: string | null;
|
|
24
|
+
adjustment_id: string;
|
|
25
|
+
user_id: string;
|
|
26
|
+
created_by: string;
|
|
27
|
+
created_at: string; // date-time
|
|
28
|
+
updated_at: string; // date-time
|
|
29
|
+
}
|
|
30
|
+
export interface AbsenceInterval {
|
|
31
|
+
/**
|
|
32
|
+
* Absence interval start clipped to the requested window.
|
|
33
|
+
*/
|
|
34
|
+
from: string; // date-time
|
|
35
|
+
/**
|
|
36
|
+
* Absence interval end clipped to the requested window.
|
|
37
|
+
*/
|
|
38
|
+
to: string; // date-time
|
|
39
|
+
/**
|
|
40
|
+
* Original absence interval start before clipping.
|
|
41
|
+
*/
|
|
42
|
+
original_from: string; // date-time
|
|
43
|
+
/**
|
|
44
|
+
* Original absence interval end before clipping.
|
|
45
|
+
*/
|
|
46
|
+
original_to: string; // date-time
|
|
47
|
+
/**
|
|
48
|
+
* Effective absence state for this interval.
|
|
49
|
+
*/
|
|
50
|
+
absent: boolean;
|
|
51
|
+
source: AbsenceIntervalSource;
|
|
52
|
+
/**
|
|
53
|
+
* calendar_event ID for calendar-derived intervals.
|
|
54
|
+
*/
|
|
55
|
+
calendar_event_id?: string;
|
|
56
|
+
/**
|
|
57
|
+
* absence adjustment ID for manual intervals.
|
|
58
|
+
*/
|
|
59
|
+
absence_adjustment_id?: string;
|
|
60
|
+
reason?: string | null;
|
|
61
|
+
}
|
|
62
|
+
export type AbsenceIntervalSource = "calendar_event" | "absence_adjustment";
|
|
63
|
+
/**
|
|
64
|
+
* Calendar status targeted by the absence adjustment.
|
|
65
|
+
*/
|
|
66
|
+
export type AbsenceStatus = "busy" | "oof";
|
|
67
|
+
/**
|
|
68
|
+
* Optional producer-defined reference stored with an absence adjustment.
|
|
69
|
+
*/
|
|
70
|
+
export type AbsenceType = string;
|
|
71
|
+
export interface AddOutlookCalendarRequest {
|
|
72
|
+
provider_calendar_id: string;
|
|
73
|
+
/**
|
|
74
|
+
* Optional override; defaults to the provider calendar name.
|
|
75
|
+
*/
|
|
76
|
+
name?: string;
|
|
77
|
+
}
|
|
78
|
+
export interface Attendee {
|
|
79
|
+
email: string; // email
|
|
80
|
+
name?: string | null;
|
|
81
|
+
response: /* Caller's response to the invite */ ResponseStatus;
|
|
82
|
+
type: "required" | "optional" | "resource";
|
|
83
|
+
}
|
|
84
|
+
export interface AvailableOutlookCalendar {
|
|
85
|
+
/**
|
|
86
|
+
* Microsoft Graph calendar id (immutable, e.g. base64-encoded)
|
|
87
|
+
*/
|
|
88
|
+
provider_calendar_id: string;
|
|
89
|
+
name: string;
|
|
90
|
+
color?: string | null;
|
|
91
|
+
is_default?: boolean;
|
|
92
|
+
can_edit?: boolean;
|
|
93
|
+
/**
|
|
94
|
+
* Owner email address on the Microsoft side
|
|
95
|
+
*/
|
|
96
|
+
owner?: string | null;
|
|
97
|
+
}
|
|
98
|
+
export interface Calendar {
|
|
99
|
+
/**
|
|
100
|
+
* epilot calendar ID
|
|
101
|
+
*/
|
|
102
|
+
_id: string;
|
|
103
|
+
_schema: "calendar";
|
|
104
|
+
/**
|
|
105
|
+
* Organization the calendar belongs to
|
|
106
|
+
*/
|
|
107
|
+
_org: string;
|
|
108
|
+
/**
|
|
109
|
+
* Computed display title
|
|
110
|
+
*/
|
|
111
|
+
_title?: string;
|
|
112
|
+
name: string;
|
|
113
|
+
description?: string | null;
|
|
114
|
+
/**
|
|
115
|
+
* Hex color (e.g. "#3b82f6") or provider-defined named color
|
|
116
|
+
*/
|
|
117
|
+
color?: string | null;
|
|
118
|
+
/**
|
|
119
|
+
* True if this is the user's primary calendar
|
|
120
|
+
*/
|
|
121
|
+
is_default: boolean;
|
|
122
|
+
/**
|
|
123
|
+
* True if the caller cannot modify events in this calendar
|
|
124
|
+
*/
|
|
125
|
+
read_only: boolean;
|
|
126
|
+
owner_email?: string | null; // email
|
|
127
|
+
source: CalendarSource;
|
|
128
|
+
_created_at?: string; // date-time
|
|
129
|
+
_updated_at?: string; // date-time
|
|
130
|
+
}
|
|
131
|
+
export interface CalendarCreateBody {
|
|
132
|
+
name: string;
|
|
133
|
+
description?: string | null;
|
|
134
|
+
/**
|
|
135
|
+
* Hex color (e.g. "#3b82f6") or provider-defined named color
|
|
136
|
+
*/
|
|
137
|
+
color?: string | null;
|
|
138
|
+
}
|
|
139
|
+
export interface CalendarEvent {
|
|
140
|
+
/**
|
|
141
|
+
* epilot event ID
|
|
142
|
+
*/
|
|
143
|
+
_id: string;
|
|
144
|
+
_schema: "calendar_event";
|
|
145
|
+
_org: string;
|
|
146
|
+
/**
|
|
147
|
+
* Null when sensitivity is private or confidential
|
|
148
|
+
*/
|
|
149
|
+
_title?: string | null;
|
|
150
|
+
/**
|
|
151
|
+
* Provider categories (Outlook) or colours (Google) as epilot tags
|
|
152
|
+
*/
|
|
153
|
+
_tags?: string[];
|
|
154
|
+
/**
|
|
155
|
+
* epilot calendar this event belongs to
|
|
156
|
+
*/
|
|
157
|
+
calendar_id: string;
|
|
158
|
+
event_type: EventType;
|
|
159
|
+
/**
|
|
160
|
+
* Preview of the event body, truncated to 255 chars
|
|
161
|
+
*/
|
|
162
|
+
description?: string | null;
|
|
163
|
+
/**
|
|
164
|
+
* Event start in UTC
|
|
165
|
+
*/
|
|
166
|
+
start_time: string; // date-time
|
|
167
|
+
/**
|
|
168
|
+
* Event end in UTC
|
|
169
|
+
*/
|
|
170
|
+
end_time: string; // date-time
|
|
171
|
+
/**
|
|
172
|
+
* IANA timezone of the original event (for display)
|
|
173
|
+
*/
|
|
174
|
+
timezone: string;
|
|
175
|
+
is_all_day: boolean;
|
|
176
|
+
location?: string | null;
|
|
177
|
+
status: /* Free/busy state derived from provider `showAs` */ EventStatus;
|
|
178
|
+
/**
|
|
179
|
+
* Convenience flag, true when status is busy/oof/tentative
|
|
180
|
+
*/
|
|
181
|
+
busy: boolean;
|
|
182
|
+
is_cancelled: boolean;
|
|
183
|
+
sensitivity: Sensitivity;
|
|
184
|
+
importance: Importance;
|
|
185
|
+
is_online_meeting: boolean;
|
|
186
|
+
/**
|
|
187
|
+
* Teams, Meet, Zoom, or similar join URL
|
|
188
|
+
*/
|
|
189
|
+
online_meeting_url?: string | null; // uri
|
|
190
|
+
/**
|
|
191
|
+
* Deep link to open the event in the originating provider
|
|
192
|
+
*/
|
|
193
|
+
web_link?: string | null; // uri
|
|
194
|
+
response_status: /* Caller's response to the invite */ ResponseStatus;
|
|
195
|
+
organizer_email?: string | null; // email
|
|
196
|
+
/**
|
|
197
|
+
* Null when sensitivity is private or confidential
|
|
198
|
+
*/
|
|
199
|
+
attendees?: Attendee[] | null;
|
|
200
|
+
is_recurring: boolean;
|
|
201
|
+
/**
|
|
202
|
+
* ID of the recurring series this occurrence belongs to
|
|
203
|
+
*/
|
|
204
|
+
series_master_id?: string | null;
|
|
205
|
+
source: EventSource;
|
|
206
|
+
_created_at?: string; // date-time
|
|
207
|
+
_updated_at?: string; // date-time
|
|
208
|
+
}
|
|
209
|
+
export interface CalendarEventCreateBody {
|
|
210
|
+
/**
|
|
211
|
+
* epilot calendar this event belongs to
|
|
212
|
+
*/
|
|
213
|
+
calendar_id: string;
|
|
214
|
+
/**
|
|
215
|
+
* Preview of the event body, truncated to 255 chars
|
|
216
|
+
*/
|
|
217
|
+
description?: string | null;
|
|
218
|
+
/**
|
|
219
|
+
* Event start in UTC
|
|
220
|
+
*/
|
|
221
|
+
start_time: string; // date-time
|
|
222
|
+
/**
|
|
223
|
+
* Event end in UTC
|
|
224
|
+
*/
|
|
225
|
+
end_time: string; // date-time
|
|
226
|
+
/**
|
|
227
|
+
* IANA timezone of the original event (for display)
|
|
228
|
+
*/
|
|
229
|
+
timezone: string;
|
|
230
|
+
is_all_day: boolean;
|
|
231
|
+
location?: string | null;
|
|
232
|
+
status: /* Free/busy state derived from provider `showAs` */ EventStatus;
|
|
233
|
+
sensitivity: Sensitivity;
|
|
234
|
+
_title: string;
|
|
235
|
+
}
|
|
236
|
+
export interface CalendarEventPatchBody {
|
|
237
|
+
/**
|
|
238
|
+
* Preview of the event body, truncated to 255 chars
|
|
239
|
+
*/
|
|
240
|
+
description?: string | null;
|
|
241
|
+
/**
|
|
242
|
+
* Event start in UTC
|
|
243
|
+
*/
|
|
244
|
+
start_time?: string; // date-time
|
|
245
|
+
/**
|
|
246
|
+
* Event end in UTC
|
|
247
|
+
*/
|
|
248
|
+
end_time?: string; // date-time
|
|
249
|
+
/**
|
|
250
|
+
* IANA timezone of the original event (for display)
|
|
251
|
+
*/
|
|
252
|
+
timezone?: string;
|
|
253
|
+
is_all_day?: boolean;
|
|
254
|
+
location?: string | null;
|
|
255
|
+
status?: /* Free/busy state derived from provider `showAs` */ EventStatus;
|
|
256
|
+
sensitivity?: Sensitivity;
|
|
257
|
+
_title?: string;
|
|
258
|
+
}
|
|
259
|
+
export interface CalendarPatchBody {
|
|
260
|
+
name?: string;
|
|
261
|
+
description?: string | null;
|
|
262
|
+
/**
|
|
263
|
+
* Hex color (e.g. "#3b82f6") or provider-defined named color
|
|
264
|
+
*/
|
|
265
|
+
color?: string | null;
|
|
266
|
+
}
|
|
267
|
+
export interface CalendarSource {
|
|
268
|
+
/**
|
|
269
|
+
* `native` = hosted by epilot. `synced` = mirrored from an external provider.
|
|
270
|
+
*/
|
|
271
|
+
type: "native" | "synced";
|
|
272
|
+
provider?: /* Null for native epilot calendars */ Provider;
|
|
273
|
+
provider_calendar_id?: string | null;
|
|
274
|
+
last_synced_at?: string | null; // date-time
|
|
275
|
+
}
|
|
276
|
+
export interface CreateAbsenceAdjustmentBody {
|
|
277
|
+
/**
|
|
278
|
+
* Adjustment start. Maximum adjustment duration: 7 days.
|
|
279
|
+
*/
|
|
280
|
+
from: string; // date-time
|
|
281
|
+
/**
|
|
282
|
+
* Adjustment end. Must be after from.
|
|
283
|
+
*/
|
|
284
|
+
to: string; // date-time
|
|
285
|
+
/**
|
|
286
|
+
* Manual override state: true means absent, false means not absent.
|
|
287
|
+
*/
|
|
288
|
+
absent: boolean;
|
|
289
|
+
status: /* Calendar status targeted by the absence adjustment. */ AbsenceStatus;
|
|
290
|
+
type?: /* Optional producer-defined reference stored with an absence adjustment. */ AbsenceType;
|
|
291
|
+
reason?: string | null;
|
|
292
|
+
}
|
|
293
|
+
export interface Error {
|
|
294
|
+
status: number;
|
|
295
|
+
error: string | any[];
|
|
296
|
+
}
|
|
297
|
+
export interface EventSource {
|
|
298
|
+
/**
|
|
299
|
+
* `native` = hosted by epilot. `synced` = mirrored from an external provider.
|
|
300
|
+
*/
|
|
301
|
+
type: "native" | "synced";
|
|
302
|
+
provider?: /* Null for native epilot calendars */ Provider;
|
|
303
|
+
provider_event_id?: string | null;
|
|
304
|
+
/**
|
|
305
|
+
* Deep link to open the event in the originating provider
|
|
306
|
+
*/
|
|
307
|
+
provider_event_url?: string | null; // uri
|
|
308
|
+
last_synced_at?: string | null; // date-time
|
|
309
|
+
/**
|
|
310
|
+
* Provider-supplied version tag used for conflict detection
|
|
311
|
+
*/
|
|
312
|
+
etag?: string | null;
|
|
313
|
+
}
|
|
314
|
+
/**
|
|
315
|
+
* Free/busy state derived from provider `showAs`
|
|
316
|
+
*/
|
|
317
|
+
export type EventStatus = "free" | "tentative" | "busy" | "oof" | "workingElsewhere" | "unknown";
|
|
318
|
+
export type EventType = "singleInstance" | "occurrence" | "exception" | "seriesMaster";
|
|
319
|
+
export interface ExternalCalendar {
|
|
320
|
+
/**
|
|
321
|
+
* External calendar provider.
|
|
322
|
+
*/
|
|
323
|
+
provider: "outlook" | "google";
|
|
324
|
+
/**
|
|
325
|
+
* Last successful sync of this provider calendar, if any.
|
|
326
|
+
*/
|
|
327
|
+
last_synced_at: string | null; // date-time
|
|
328
|
+
}
|
|
329
|
+
export type Importance = "low" | "normal" | "high";
|
|
330
|
+
export interface PatchAbsenceAdjustmentBody {
|
|
331
|
+
/**
|
|
332
|
+
* Adjustment start. Maximum adjustment duration: 7 days.
|
|
333
|
+
*/
|
|
334
|
+
from?: string; // date-time
|
|
335
|
+
/**
|
|
336
|
+
* Adjustment end. Must be after from.
|
|
337
|
+
*/
|
|
338
|
+
to?: string; // date-time
|
|
339
|
+
/**
|
|
340
|
+
* Manual override state: true means absent, false means not absent.
|
|
341
|
+
*/
|
|
342
|
+
absent?: boolean;
|
|
343
|
+
status?: /* Calendar status targeted by the absence adjustment. */ AbsenceStatus;
|
|
344
|
+
type?: /* Optional producer-defined reference stored with an absence adjustment. */ AbsenceType;
|
|
345
|
+
reason?: string | null;
|
|
346
|
+
}
|
|
347
|
+
/**
|
|
348
|
+
* Null for native epilot calendars
|
|
349
|
+
*/
|
|
350
|
+
export type Provider = "outlook" | "google" | null;
|
|
351
|
+
/**
|
|
352
|
+
* Caller's response to the invite
|
|
353
|
+
*/
|
|
354
|
+
export type ResponseStatus = "none" | "organizer" | "tentativelyAccepted" | "accepted" | "declined" | "notResponded";
|
|
355
|
+
export interface SearchAbsenceBody {
|
|
356
|
+
/**
|
|
357
|
+
* Start of the time window (inclusive). Maximum window: 31 days.
|
|
358
|
+
*/
|
|
359
|
+
from: string; // date-time
|
|
360
|
+
/**
|
|
361
|
+
* End of the time window (exclusive). Must be after from.
|
|
362
|
+
*/
|
|
363
|
+
to: string; // date-time
|
|
364
|
+
/**
|
|
365
|
+
* Candidate users to check for absence inside the caller organization.
|
|
366
|
+
*/
|
|
367
|
+
user_ids: [
|
|
368
|
+
string,
|
|
369
|
+
string?,
|
|
370
|
+
string?,
|
|
371
|
+
string?,
|
|
372
|
+
string?,
|
|
373
|
+
string?,
|
|
374
|
+
string?,
|
|
375
|
+
string?,
|
|
376
|
+
string?,
|
|
377
|
+
string?,
|
|
378
|
+
string?,
|
|
379
|
+
string?,
|
|
380
|
+
string?,
|
|
381
|
+
string?,
|
|
382
|
+
string?,
|
|
383
|
+
string?,
|
|
384
|
+
string?,
|
|
385
|
+
string?,
|
|
386
|
+
string?,
|
|
387
|
+
string?,
|
|
388
|
+
string?,
|
|
389
|
+
string?,
|
|
390
|
+
string?,
|
|
391
|
+
string?,
|
|
392
|
+
string?,
|
|
393
|
+
string?,
|
|
394
|
+
string?,
|
|
395
|
+
string?,
|
|
396
|
+
string?,
|
|
397
|
+
string?,
|
|
398
|
+
string?,
|
|
399
|
+
string?,
|
|
400
|
+
string?,
|
|
401
|
+
string?,
|
|
402
|
+
string?,
|
|
403
|
+
string?,
|
|
404
|
+
string?,
|
|
405
|
+
string?,
|
|
406
|
+
string?,
|
|
407
|
+
string?,
|
|
408
|
+
string?,
|
|
409
|
+
string?,
|
|
410
|
+
string?,
|
|
411
|
+
string?,
|
|
412
|
+
string?,
|
|
413
|
+
string?,
|
|
414
|
+
string?,
|
|
415
|
+
string?,
|
|
416
|
+
string?,
|
|
417
|
+
string?,
|
|
418
|
+
string?,
|
|
419
|
+
string?,
|
|
420
|
+
string?,
|
|
421
|
+
string?,
|
|
422
|
+
string?,
|
|
423
|
+
string?,
|
|
424
|
+
string?,
|
|
425
|
+
string?,
|
|
426
|
+
string?,
|
|
427
|
+
string?,
|
|
428
|
+
string?,
|
|
429
|
+
string?,
|
|
430
|
+
string?,
|
|
431
|
+
string?,
|
|
432
|
+
string?,
|
|
433
|
+
string?,
|
|
434
|
+
string?,
|
|
435
|
+
string?,
|
|
436
|
+
string?,
|
|
437
|
+
string?,
|
|
438
|
+
string?,
|
|
439
|
+
string?,
|
|
440
|
+
string?,
|
|
441
|
+
string?,
|
|
442
|
+
string?,
|
|
443
|
+
string?,
|
|
444
|
+
string?,
|
|
445
|
+
string?,
|
|
446
|
+
string?,
|
|
447
|
+
string?,
|
|
448
|
+
string?,
|
|
449
|
+
string?,
|
|
450
|
+
string?,
|
|
451
|
+
string?,
|
|
452
|
+
string?,
|
|
453
|
+
string?,
|
|
454
|
+
string?,
|
|
455
|
+
string?,
|
|
456
|
+
string?,
|
|
457
|
+
string?,
|
|
458
|
+
string?,
|
|
459
|
+
string?,
|
|
460
|
+
string?,
|
|
461
|
+
string?,
|
|
462
|
+
string?,
|
|
463
|
+
string?,
|
|
464
|
+
string?,
|
|
465
|
+
string?,
|
|
466
|
+
string?,
|
|
467
|
+
string?,
|
|
468
|
+
string?,
|
|
469
|
+
string?,
|
|
470
|
+
string?,
|
|
471
|
+
string?,
|
|
472
|
+
string?,
|
|
473
|
+
string?,
|
|
474
|
+
string?,
|
|
475
|
+
string?,
|
|
476
|
+
string?,
|
|
477
|
+
string?,
|
|
478
|
+
string?,
|
|
479
|
+
string?,
|
|
480
|
+
string?,
|
|
481
|
+
string?,
|
|
482
|
+
string?,
|
|
483
|
+
string?,
|
|
484
|
+
string?,
|
|
485
|
+
string?,
|
|
486
|
+
string?,
|
|
487
|
+
string?,
|
|
488
|
+
string?,
|
|
489
|
+
string?,
|
|
490
|
+
string?,
|
|
491
|
+
string?,
|
|
492
|
+
string?,
|
|
493
|
+
string?,
|
|
494
|
+
string?,
|
|
495
|
+
string?,
|
|
496
|
+
string?,
|
|
497
|
+
string?,
|
|
498
|
+
string?,
|
|
499
|
+
string?,
|
|
500
|
+
string?,
|
|
501
|
+
string?,
|
|
502
|
+
string?,
|
|
503
|
+
string?,
|
|
504
|
+
string?,
|
|
505
|
+
string?,
|
|
506
|
+
string?,
|
|
507
|
+
string?,
|
|
508
|
+
string?,
|
|
509
|
+
string?,
|
|
510
|
+
string?,
|
|
511
|
+
string?,
|
|
512
|
+
string?,
|
|
513
|
+
string?,
|
|
514
|
+
string?,
|
|
515
|
+
string?,
|
|
516
|
+
string?,
|
|
517
|
+
string?,
|
|
518
|
+
string?,
|
|
519
|
+
string?,
|
|
520
|
+
string?,
|
|
521
|
+
string?,
|
|
522
|
+
string?,
|
|
523
|
+
string?,
|
|
524
|
+
string?,
|
|
525
|
+
string?,
|
|
526
|
+
string?,
|
|
527
|
+
string?,
|
|
528
|
+
string?,
|
|
529
|
+
string?,
|
|
530
|
+
string?,
|
|
531
|
+
string?,
|
|
532
|
+
string?,
|
|
533
|
+
string?,
|
|
534
|
+
string?,
|
|
535
|
+
string?,
|
|
536
|
+
string?,
|
|
537
|
+
string?,
|
|
538
|
+
string?,
|
|
539
|
+
string?,
|
|
540
|
+
string?,
|
|
541
|
+
string?,
|
|
542
|
+
string?,
|
|
543
|
+
string?,
|
|
544
|
+
string?,
|
|
545
|
+
string?,
|
|
546
|
+
string?,
|
|
547
|
+
string?,
|
|
548
|
+
string?,
|
|
549
|
+
string?,
|
|
550
|
+
string?,
|
|
551
|
+
string?,
|
|
552
|
+
string?,
|
|
553
|
+
string?,
|
|
554
|
+
string?,
|
|
555
|
+
string?,
|
|
556
|
+
string?,
|
|
557
|
+
string?,
|
|
558
|
+
string?,
|
|
559
|
+
string?,
|
|
560
|
+
string?,
|
|
561
|
+
string?,
|
|
562
|
+
string?,
|
|
563
|
+
string?,
|
|
564
|
+
string?,
|
|
565
|
+
string?,
|
|
566
|
+
string?,
|
|
567
|
+
string?,
|
|
568
|
+
string?,
|
|
569
|
+
string?,
|
|
570
|
+
string?,
|
|
571
|
+
string?,
|
|
572
|
+
string?,
|
|
573
|
+
string?,
|
|
574
|
+
string?,
|
|
575
|
+
string?,
|
|
576
|
+
string?,
|
|
577
|
+
string?,
|
|
578
|
+
string?,
|
|
579
|
+
string?,
|
|
580
|
+
string?,
|
|
581
|
+
string?,
|
|
582
|
+
string?,
|
|
583
|
+
string?,
|
|
584
|
+
string?,
|
|
585
|
+
string?,
|
|
586
|
+
string?,
|
|
587
|
+
string?,
|
|
588
|
+
string?,
|
|
589
|
+
string?,
|
|
590
|
+
string?,
|
|
591
|
+
string?,
|
|
592
|
+
string?,
|
|
593
|
+
string?,
|
|
594
|
+
string?,
|
|
595
|
+
string?,
|
|
596
|
+
string?,
|
|
597
|
+
string?,
|
|
598
|
+
string?,
|
|
599
|
+
string?,
|
|
600
|
+
string?,
|
|
601
|
+
string?,
|
|
602
|
+
string?,
|
|
603
|
+
string?,
|
|
604
|
+
string?,
|
|
605
|
+
string?,
|
|
606
|
+
string?,
|
|
607
|
+
string?,
|
|
608
|
+
string?,
|
|
609
|
+
string?,
|
|
610
|
+
string?,
|
|
611
|
+
string?,
|
|
612
|
+
string?,
|
|
613
|
+
string?,
|
|
614
|
+
string?,
|
|
615
|
+
string?,
|
|
616
|
+
string?,
|
|
617
|
+
string?,
|
|
618
|
+
string?,
|
|
619
|
+
string?,
|
|
620
|
+
string?,
|
|
621
|
+
string?,
|
|
622
|
+
string?,
|
|
623
|
+
string?,
|
|
624
|
+
string?,
|
|
625
|
+
string?,
|
|
626
|
+
string?,
|
|
627
|
+
string?,
|
|
628
|
+
string?,
|
|
629
|
+
string?,
|
|
630
|
+
string?,
|
|
631
|
+
string?,
|
|
632
|
+
string?,
|
|
633
|
+
string?,
|
|
634
|
+
string?,
|
|
635
|
+
string?,
|
|
636
|
+
string?,
|
|
637
|
+
string?,
|
|
638
|
+
string?,
|
|
639
|
+
string?,
|
|
640
|
+
string?,
|
|
641
|
+
string?,
|
|
642
|
+
string?,
|
|
643
|
+
string?,
|
|
644
|
+
string?,
|
|
645
|
+
string?,
|
|
646
|
+
string?,
|
|
647
|
+
string?,
|
|
648
|
+
string?,
|
|
649
|
+
string?,
|
|
650
|
+
string?,
|
|
651
|
+
string?,
|
|
652
|
+
string?,
|
|
653
|
+
string?,
|
|
654
|
+
string?,
|
|
655
|
+
string?,
|
|
656
|
+
string?,
|
|
657
|
+
string?,
|
|
658
|
+
string?,
|
|
659
|
+
string?,
|
|
660
|
+
string?,
|
|
661
|
+
string?,
|
|
662
|
+
string?,
|
|
663
|
+
string?,
|
|
664
|
+
string?,
|
|
665
|
+
string?,
|
|
666
|
+
string?,
|
|
667
|
+
string?
|
|
668
|
+
];
|
|
669
|
+
/**
|
|
670
|
+
* Include busy inputs in addition to out-of-office absence. Defaults to false.
|
|
671
|
+
*/
|
|
672
|
+
include_busy?: boolean;
|
|
673
|
+
}
|
|
674
|
+
export interface SearchNowAbsenceBody {
|
|
675
|
+
/**
|
|
676
|
+
* Candidate users to check for absence at the current server time inside the caller organization.
|
|
677
|
+
*/
|
|
678
|
+
user_ids: [
|
|
679
|
+
string,
|
|
680
|
+
string?,
|
|
681
|
+
string?,
|
|
682
|
+
string?,
|
|
683
|
+
string?,
|
|
684
|
+
string?,
|
|
685
|
+
string?,
|
|
686
|
+
string?,
|
|
687
|
+
string?,
|
|
688
|
+
string?,
|
|
689
|
+
string?,
|
|
690
|
+
string?,
|
|
691
|
+
string?,
|
|
692
|
+
string?,
|
|
693
|
+
string?,
|
|
694
|
+
string?,
|
|
695
|
+
string?,
|
|
696
|
+
string?,
|
|
697
|
+
string?,
|
|
698
|
+
string?,
|
|
699
|
+
string?,
|
|
700
|
+
string?,
|
|
701
|
+
string?,
|
|
702
|
+
string?,
|
|
703
|
+
string?,
|
|
704
|
+
string?,
|
|
705
|
+
string?,
|
|
706
|
+
string?,
|
|
707
|
+
string?,
|
|
708
|
+
string?,
|
|
709
|
+
string?,
|
|
710
|
+
string?,
|
|
711
|
+
string?,
|
|
712
|
+
string?,
|
|
713
|
+
string?,
|
|
714
|
+
string?,
|
|
715
|
+
string?,
|
|
716
|
+
string?,
|
|
717
|
+
string?,
|
|
718
|
+
string?,
|
|
719
|
+
string?,
|
|
720
|
+
string?,
|
|
721
|
+
string?,
|
|
722
|
+
string?,
|
|
723
|
+
string?,
|
|
724
|
+
string?,
|
|
725
|
+
string?,
|
|
726
|
+
string?,
|
|
727
|
+
string?,
|
|
728
|
+
string?,
|
|
729
|
+
string?,
|
|
730
|
+
string?,
|
|
731
|
+
string?,
|
|
732
|
+
string?,
|
|
733
|
+
string?,
|
|
734
|
+
string?,
|
|
735
|
+
string?,
|
|
736
|
+
string?,
|
|
737
|
+
string?,
|
|
738
|
+
string?,
|
|
739
|
+
string?,
|
|
740
|
+
string?,
|
|
741
|
+
string?,
|
|
742
|
+
string?,
|
|
743
|
+
string?,
|
|
744
|
+
string?,
|
|
745
|
+
string?,
|
|
746
|
+
string?,
|
|
747
|
+
string?,
|
|
748
|
+
string?,
|
|
749
|
+
string?,
|
|
750
|
+
string?,
|
|
751
|
+
string?,
|
|
752
|
+
string?,
|
|
753
|
+
string?,
|
|
754
|
+
string?,
|
|
755
|
+
string?,
|
|
756
|
+
string?,
|
|
757
|
+
string?,
|
|
758
|
+
string?,
|
|
759
|
+
string?,
|
|
760
|
+
string?,
|
|
761
|
+
string?,
|
|
762
|
+
string?,
|
|
763
|
+
string?,
|
|
764
|
+
string?,
|
|
765
|
+
string?,
|
|
766
|
+
string?,
|
|
767
|
+
string?,
|
|
768
|
+
string?,
|
|
769
|
+
string?,
|
|
770
|
+
string?,
|
|
771
|
+
string?,
|
|
772
|
+
string?,
|
|
773
|
+
string?,
|
|
774
|
+
string?,
|
|
775
|
+
string?,
|
|
776
|
+
string?,
|
|
777
|
+
string?,
|
|
778
|
+
string?,
|
|
779
|
+
string?,
|
|
780
|
+
string?,
|
|
781
|
+
string?,
|
|
782
|
+
string?,
|
|
783
|
+
string?,
|
|
784
|
+
string?,
|
|
785
|
+
string?,
|
|
786
|
+
string?,
|
|
787
|
+
string?,
|
|
788
|
+
string?,
|
|
789
|
+
string?,
|
|
790
|
+
string?,
|
|
791
|
+
string?,
|
|
792
|
+
string?,
|
|
793
|
+
string?,
|
|
794
|
+
string?,
|
|
795
|
+
string?,
|
|
796
|
+
string?,
|
|
797
|
+
string?,
|
|
798
|
+
string?,
|
|
799
|
+
string?,
|
|
800
|
+
string?,
|
|
801
|
+
string?,
|
|
802
|
+
string?,
|
|
803
|
+
string?,
|
|
804
|
+
string?,
|
|
805
|
+
string?,
|
|
806
|
+
string?,
|
|
807
|
+
string?,
|
|
808
|
+
string?,
|
|
809
|
+
string?,
|
|
810
|
+
string?,
|
|
811
|
+
string?,
|
|
812
|
+
string?,
|
|
813
|
+
string?,
|
|
814
|
+
string?,
|
|
815
|
+
string?,
|
|
816
|
+
string?,
|
|
817
|
+
string?,
|
|
818
|
+
string?,
|
|
819
|
+
string?,
|
|
820
|
+
string?,
|
|
821
|
+
string?,
|
|
822
|
+
string?,
|
|
823
|
+
string?,
|
|
824
|
+
string?,
|
|
825
|
+
string?,
|
|
826
|
+
string?,
|
|
827
|
+
string?,
|
|
828
|
+
string?,
|
|
829
|
+
string?,
|
|
830
|
+
string?,
|
|
831
|
+
string?,
|
|
832
|
+
string?,
|
|
833
|
+
string?,
|
|
834
|
+
string?,
|
|
835
|
+
string?,
|
|
836
|
+
string?,
|
|
837
|
+
string?,
|
|
838
|
+
string?,
|
|
839
|
+
string?,
|
|
840
|
+
string?,
|
|
841
|
+
string?,
|
|
842
|
+
string?,
|
|
843
|
+
string?,
|
|
844
|
+
string?,
|
|
845
|
+
string?,
|
|
846
|
+
string?,
|
|
847
|
+
string?,
|
|
848
|
+
string?,
|
|
849
|
+
string?,
|
|
850
|
+
string?,
|
|
851
|
+
string?,
|
|
852
|
+
string?,
|
|
853
|
+
string?,
|
|
854
|
+
string?,
|
|
855
|
+
string?,
|
|
856
|
+
string?,
|
|
857
|
+
string?,
|
|
858
|
+
string?,
|
|
859
|
+
string?,
|
|
860
|
+
string?,
|
|
861
|
+
string?,
|
|
862
|
+
string?,
|
|
863
|
+
string?,
|
|
864
|
+
string?,
|
|
865
|
+
string?,
|
|
866
|
+
string?,
|
|
867
|
+
string?,
|
|
868
|
+
string?,
|
|
869
|
+
string?,
|
|
870
|
+
string?,
|
|
871
|
+
string?,
|
|
872
|
+
string?,
|
|
873
|
+
string?,
|
|
874
|
+
string?,
|
|
875
|
+
string?,
|
|
876
|
+
string?,
|
|
877
|
+
string?,
|
|
878
|
+
string?,
|
|
879
|
+
string?,
|
|
880
|
+
string?,
|
|
881
|
+
string?,
|
|
882
|
+
string?,
|
|
883
|
+
string?,
|
|
884
|
+
string?,
|
|
885
|
+
string?,
|
|
886
|
+
string?,
|
|
887
|
+
string?,
|
|
888
|
+
string?,
|
|
889
|
+
string?,
|
|
890
|
+
string?,
|
|
891
|
+
string?,
|
|
892
|
+
string?,
|
|
893
|
+
string?,
|
|
894
|
+
string?,
|
|
895
|
+
string?,
|
|
896
|
+
string?,
|
|
897
|
+
string?,
|
|
898
|
+
string?,
|
|
899
|
+
string?,
|
|
900
|
+
string?,
|
|
901
|
+
string?,
|
|
902
|
+
string?,
|
|
903
|
+
string?,
|
|
904
|
+
string?,
|
|
905
|
+
string?,
|
|
906
|
+
string?,
|
|
907
|
+
string?,
|
|
908
|
+
string?,
|
|
909
|
+
string?,
|
|
910
|
+
string?,
|
|
911
|
+
string?,
|
|
912
|
+
string?,
|
|
913
|
+
string?,
|
|
914
|
+
string?,
|
|
915
|
+
string?,
|
|
916
|
+
string?,
|
|
917
|
+
string?,
|
|
918
|
+
string?,
|
|
919
|
+
string?,
|
|
920
|
+
string?,
|
|
921
|
+
string?,
|
|
922
|
+
string?,
|
|
923
|
+
string?,
|
|
924
|
+
string?,
|
|
925
|
+
string?,
|
|
926
|
+
string?,
|
|
927
|
+
string?,
|
|
928
|
+
string?,
|
|
929
|
+
string?,
|
|
930
|
+
string?,
|
|
931
|
+
string?,
|
|
932
|
+
string?,
|
|
933
|
+
string?,
|
|
934
|
+
string?,
|
|
935
|
+
string?,
|
|
936
|
+
string?,
|
|
937
|
+
string?,
|
|
938
|
+
string?,
|
|
939
|
+
string?,
|
|
940
|
+
string?,
|
|
941
|
+
string?,
|
|
942
|
+
string?,
|
|
943
|
+
string?,
|
|
944
|
+
string?,
|
|
945
|
+
string?,
|
|
946
|
+
string?,
|
|
947
|
+
string?,
|
|
948
|
+
string?,
|
|
949
|
+
string?,
|
|
950
|
+
string?,
|
|
951
|
+
string?,
|
|
952
|
+
string?,
|
|
953
|
+
string?,
|
|
954
|
+
string?,
|
|
955
|
+
string?,
|
|
956
|
+
string?,
|
|
957
|
+
string?,
|
|
958
|
+
string?,
|
|
959
|
+
string?,
|
|
960
|
+
string?,
|
|
961
|
+
string?,
|
|
962
|
+
string?,
|
|
963
|
+
string?,
|
|
964
|
+
string?,
|
|
965
|
+
string?,
|
|
966
|
+
string?,
|
|
967
|
+
string?,
|
|
968
|
+
string?,
|
|
969
|
+
string?,
|
|
970
|
+
string?,
|
|
971
|
+
string?,
|
|
972
|
+
string?,
|
|
973
|
+
string?,
|
|
974
|
+
string?,
|
|
975
|
+
string?,
|
|
976
|
+
string?,
|
|
977
|
+
string?,
|
|
978
|
+
string?
|
|
979
|
+
];
|
|
980
|
+
/**
|
|
981
|
+
* Include busy inputs in addition to out-of-office absence. Defaults to false.
|
|
982
|
+
*/
|
|
983
|
+
include_busy?: boolean;
|
|
984
|
+
}
|
|
985
|
+
export type Sensitivity = "normal" | "personal" | "private" | "confidential";
|
|
986
|
+
export interface ShareEventBody {
|
|
987
|
+
/**
|
|
988
|
+
* epilot user id (same organization) to grant view-only access to this event
|
|
989
|
+
*/
|
|
990
|
+
user_id: string;
|
|
991
|
+
}
|
|
992
|
+
}
|
|
993
|
+
}
|
|
994
|
+
declare namespace Paths {
|
|
995
|
+
namespace AddOutlookCalendar {
|
|
996
|
+
export type RequestBody = Components.Schemas.AddOutlookCalendarRequest;
|
|
997
|
+
namespace Responses {
|
|
998
|
+
export type $201 = Components.Schemas.Calendar;
|
|
999
|
+
export type $400 = Components.Schemas.Error;
|
|
1000
|
+
export type $404 = Components.Schemas.Error;
|
|
1001
|
+
}
|
|
1002
|
+
}
|
|
1003
|
+
namespace CreateAbsenceAdjustment {
|
|
1004
|
+
namespace Parameters {
|
|
1005
|
+
export type UserId = string;
|
|
1006
|
+
}
|
|
1007
|
+
export interface PathParameters {
|
|
1008
|
+
user_id: Parameters.UserId;
|
|
1009
|
+
}
|
|
1010
|
+
export type RequestBody = Components.Schemas.CreateAbsenceAdjustmentBody;
|
|
1011
|
+
namespace Responses {
|
|
1012
|
+
export type $201 = Components.Schemas.AbsenceAdjustment;
|
|
1013
|
+
export type $400 = Components.Schemas.Error;
|
|
1014
|
+
}
|
|
1015
|
+
}
|
|
1016
|
+
namespace CreateCalendar {
|
|
1017
|
+
export type RequestBody = Components.Schemas.CalendarCreateBody;
|
|
1018
|
+
namespace Responses {
|
|
1019
|
+
export type $201 = Components.Schemas.Calendar;
|
|
1020
|
+
export type $400 = Components.Schemas.Error;
|
|
1021
|
+
}
|
|
1022
|
+
}
|
|
1023
|
+
namespace CreateEvent {
|
|
1024
|
+
export type RequestBody = Components.Schemas.CalendarEventCreateBody;
|
|
1025
|
+
namespace Responses {
|
|
1026
|
+
export type $201 = Components.Schemas.CalendarEvent;
|
|
1027
|
+
export type $400 = Components.Schemas.Error;
|
|
1028
|
+
export type $403 = Components.Schemas.Error;
|
|
1029
|
+
export type $404 = Components.Schemas.Error;
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1032
|
+
namespace DeleteAbsenceAdjustment {
|
|
1033
|
+
namespace Parameters {
|
|
1034
|
+
export type AdjustmentId = string;
|
|
1035
|
+
export type UserId = string;
|
|
1036
|
+
}
|
|
1037
|
+
export interface PathParameters {
|
|
1038
|
+
user_id: Parameters.UserId;
|
|
1039
|
+
adjustment_id: Parameters.AdjustmentId;
|
|
1040
|
+
}
|
|
1041
|
+
namespace Responses {
|
|
1042
|
+
export interface $204 {
|
|
1043
|
+
}
|
|
1044
|
+
export type $404 = Components.Schemas.Error;
|
|
1045
|
+
}
|
|
1046
|
+
}
|
|
1047
|
+
namespace DeleteCalendar {
|
|
1048
|
+
namespace Parameters {
|
|
1049
|
+
export type CalendarId = string;
|
|
1050
|
+
}
|
|
1051
|
+
export interface PathParameters {
|
|
1052
|
+
calendar_id: Parameters.CalendarId;
|
|
1053
|
+
}
|
|
1054
|
+
namespace Responses {
|
|
1055
|
+
export interface $204 {
|
|
1056
|
+
}
|
|
1057
|
+
export type $403 = Components.Schemas.Error;
|
|
1058
|
+
export type $404 = Components.Schemas.Error;
|
|
1059
|
+
}
|
|
1060
|
+
}
|
|
1061
|
+
namespace DeleteEvent {
|
|
1062
|
+
namespace Parameters {
|
|
1063
|
+
export type EventId = string;
|
|
1064
|
+
}
|
|
1065
|
+
export interface PathParameters {
|
|
1066
|
+
event_id: Parameters.EventId;
|
|
1067
|
+
}
|
|
1068
|
+
namespace Responses {
|
|
1069
|
+
export interface $204 {
|
|
1070
|
+
}
|
|
1071
|
+
export type $403 = Components.Schemas.Error;
|
|
1072
|
+
export type $404 = Components.Schemas.Error;
|
|
1073
|
+
}
|
|
1074
|
+
}
|
|
1075
|
+
namespace DeleteOutlookCalendar {
|
|
1076
|
+
namespace Parameters {
|
|
1077
|
+
export type CalendarId = string;
|
|
1078
|
+
}
|
|
1079
|
+
export interface PathParameters {
|
|
1080
|
+
calendar_id: Parameters.CalendarId;
|
|
1081
|
+
}
|
|
1082
|
+
namespace Responses {
|
|
1083
|
+
export interface $204 {
|
|
1084
|
+
}
|
|
1085
|
+
export type $404 = Components.Schemas.Error;
|
|
1086
|
+
export type $502 = Components.Schemas.Error;
|
|
1087
|
+
}
|
|
1088
|
+
}
|
|
1089
|
+
namespace GetAbsenceAdjustment {
|
|
1090
|
+
namespace Parameters {
|
|
1091
|
+
export type AdjustmentId = string;
|
|
1092
|
+
export type UserId = string;
|
|
1093
|
+
}
|
|
1094
|
+
export interface PathParameters {
|
|
1095
|
+
user_id: Parameters.UserId;
|
|
1096
|
+
adjustment_id: Parameters.AdjustmentId;
|
|
1097
|
+
}
|
|
1098
|
+
namespace Responses {
|
|
1099
|
+
export type $200 = Components.Schemas.AbsenceAdjustment;
|
|
1100
|
+
export type $404 = Components.Schemas.Error;
|
|
1101
|
+
}
|
|
1102
|
+
}
|
|
1103
|
+
namespace GetCalendar {
|
|
1104
|
+
namespace Parameters {
|
|
1105
|
+
export type CalendarId = string;
|
|
1106
|
+
}
|
|
1107
|
+
export interface PathParameters {
|
|
1108
|
+
calendar_id: Parameters.CalendarId;
|
|
1109
|
+
}
|
|
1110
|
+
namespace Responses {
|
|
1111
|
+
export type $200 = Components.Schemas.Calendar;
|
|
1112
|
+
export type $404 = Components.Schemas.Error;
|
|
1113
|
+
}
|
|
1114
|
+
}
|
|
1115
|
+
namespace GetEvent {
|
|
1116
|
+
namespace Parameters {
|
|
1117
|
+
export type EventId = string;
|
|
1118
|
+
}
|
|
1119
|
+
export interface PathParameters {
|
|
1120
|
+
event_id: Parameters.EventId;
|
|
1121
|
+
}
|
|
1122
|
+
namespace Responses {
|
|
1123
|
+
export type $200 = Components.Schemas.CalendarEvent;
|
|
1124
|
+
export type $404 = Components.Schemas.Error;
|
|
1125
|
+
}
|
|
1126
|
+
}
|
|
1127
|
+
namespace GetUserAbsence {
|
|
1128
|
+
namespace Parameters {
|
|
1129
|
+
/**
|
|
1130
|
+
* Start of the time window (inclusive). Maximum window: 31 days.
|
|
1131
|
+
*/
|
|
1132
|
+
export type From = string; // date-time
|
|
1133
|
+
/**
|
|
1134
|
+
* Include busy inputs in addition to out-of-office absence. Defaults to false.
|
|
1135
|
+
*/
|
|
1136
|
+
export type IncludeBusy = boolean;
|
|
1137
|
+
/**
|
|
1138
|
+
* End of the time window (exclusive). Must be after from.
|
|
1139
|
+
*/
|
|
1140
|
+
export type To = string; // date-time
|
|
1141
|
+
export type UserId = string;
|
|
1142
|
+
}
|
|
1143
|
+
export interface PathParameters {
|
|
1144
|
+
user_id: Parameters.UserId;
|
|
1145
|
+
}
|
|
1146
|
+
export interface QueryParameters {
|
|
1147
|
+
from: /* Start of the time window (inclusive). Maximum window: 31 days. */ Parameters.From /* date-time */;
|
|
1148
|
+
to: /* End of the time window (exclusive). Must be after from. */ Parameters.To /* date-time */;
|
|
1149
|
+
include_busy?: /* Include busy inputs in addition to out-of-office absence. Defaults to false. */ Parameters.IncludeBusy;
|
|
1150
|
+
}
|
|
1151
|
+
namespace Responses {
|
|
1152
|
+
export interface $200 {
|
|
1153
|
+
absent: boolean;
|
|
1154
|
+
absence_intervals: Components.Schemas.AbsenceInterval[];
|
|
1155
|
+
from: string; // date-time
|
|
1156
|
+
to: string; // date-time
|
|
1157
|
+
user_id: string;
|
|
1158
|
+
/**
|
|
1159
|
+
* The user's connected external calendars (Outlook/Google), if any.
|
|
1160
|
+
*/
|
|
1161
|
+
external_calendars?: Components.Schemas.ExternalCalendar[];
|
|
1162
|
+
}
|
|
1163
|
+
export type $400 = Components.Schemas.Error;
|
|
1164
|
+
}
|
|
1165
|
+
}
|
|
1166
|
+
namespace ListAbsenceAdjustments {
|
|
1167
|
+
namespace Parameters {
|
|
1168
|
+
/**
|
|
1169
|
+
* Start of the time window (inclusive). Maximum window: 90 days.
|
|
1170
|
+
*/
|
|
1171
|
+
export type From = string; // date-time
|
|
1172
|
+
/**
|
|
1173
|
+
* End of the time window (exclusive). Must be after from.
|
|
1174
|
+
*/
|
|
1175
|
+
export type To = string; // date-time
|
|
1176
|
+
export type UserId = string;
|
|
1177
|
+
}
|
|
1178
|
+
export interface PathParameters {
|
|
1179
|
+
user_id: Parameters.UserId;
|
|
1180
|
+
}
|
|
1181
|
+
export interface QueryParameters {
|
|
1182
|
+
from: /* Start of the time window (inclusive). Maximum window: 90 days. */ Parameters.From /* date-time */;
|
|
1183
|
+
to: /* End of the time window (exclusive). Must be after from. */ Parameters.To /* date-time */;
|
|
1184
|
+
}
|
|
1185
|
+
namespace Responses {
|
|
1186
|
+
export interface $200 {
|
|
1187
|
+
from: string; // date-time
|
|
1188
|
+
to: string; // date-time
|
|
1189
|
+
results: Components.Schemas.AbsenceAdjustment[];
|
|
1190
|
+
}
|
|
1191
|
+
export type $400 = Components.Schemas.Error;
|
|
1192
|
+
}
|
|
1193
|
+
}
|
|
1194
|
+
namespace ListCalendars {
|
|
1195
|
+
namespace Parameters {
|
|
1196
|
+
/**
|
|
1197
|
+
* Opaque cursor from a previous response
|
|
1198
|
+
*/
|
|
1199
|
+
export type Cursor = string;
|
|
1200
|
+
export type Size = number;
|
|
1201
|
+
}
|
|
1202
|
+
export interface QueryParameters {
|
|
1203
|
+
size?: Parameters.Size;
|
|
1204
|
+
cursor?: /* Opaque cursor from a previous response */ Parameters.Cursor;
|
|
1205
|
+
}
|
|
1206
|
+
namespace Responses {
|
|
1207
|
+
export interface $200 {
|
|
1208
|
+
results: Components.Schemas.Calendar[];
|
|
1209
|
+
next_cursor?: string | null;
|
|
1210
|
+
}
|
|
1211
|
+
}
|
|
1212
|
+
}
|
|
1213
|
+
namespace ListEvents {
|
|
1214
|
+
namespace Parameters {
|
|
1215
|
+
/**
|
|
1216
|
+
* Filter to a single calendar. Omit to query across all accessible calendars.
|
|
1217
|
+
*/
|
|
1218
|
+
export type CalendarId = string;
|
|
1219
|
+
export type Cursor = string;
|
|
1220
|
+
/**
|
|
1221
|
+
* Start of the time window (inclusive)
|
|
1222
|
+
*/
|
|
1223
|
+
export type From = string; // date-time
|
|
1224
|
+
export type Size = number;
|
|
1225
|
+
/**
|
|
1226
|
+
* End of the time window (exclusive)
|
|
1227
|
+
*/
|
|
1228
|
+
export type To = string; // date-time
|
|
1229
|
+
}
|
|
1230
|
+
export interface QueryParameters {
|
|
1231
|
+
from: /* Start of the time window (inclusive) */ Parameters.From /* date-time */;
|
|
1232
|
+
to: /* End of the time window (exclusive) */ Parameters.To /* date-time */;
|
|
1233
|
+
calendar_id?: /* Filter to a single calendar. Omit to query across all accessible calendars. */ Parameters.CalendarId;
|
|
1234
|
+
size?: Parameters.Size;
|
|
1235
|
+
cursor?: Parameters.Cursor;
|
|
1236
|
+
}
|
|
1237
|
+
namespace Responses {
|
|
1238
|
+
export interface $200 {
|
|
1239
|
+
results: Components.Schemas.CalendarEvent[];
|
|
1240
|
+
next_cursor?: string | null;
|
|
1241
|
+
}
|
|
1242
|
+
export type $400 = Components.Schemas.Error;
|
|
1243
|
+
}
|
|
1244
|
+
}
|
|
1245
|
+
namespace ListOutlookCalendars {
|
|
1246
|
+
namespace Responses {
|
|
1247
|
+
export interface $200 {
|
|
1248
|
+
calendars: Components.Schemas.AvailableOutlookCalendar[];
|
|
1249
|
+
}
|
|
1250
|
+
export type $404 = Components.Schemas.Error;
|
|
1251
|
+
}
|
|
1252
|
+
}
|
|
1253
|
+
namespace ListUsersAbsence {
|
|
1254
|
+
namespace Parameters {
|
|
1255
|
+
/**
|
|
1256
|
+
* Start of the time window (inclusive). Maximum window: 31 days.
|
|
1257
|
+
*/
|
|
1258
|
+
export type From = string; // date-time
|
|
1259
|
+
/**
|
|
1260
|
+
* Include busy inputs in addition to out-of-office absence. Defaults to false.
|
|
1261
|
+
*/
|
|
1262
|
+
export type IncludeBusy = boolean;
|
|
1263
|
+
/**
|
|
1264
|
+
* Maximum users to return.
|
|
1265
|
+
*/
|
|
1266
|
+
export type Limit = number;
|
|
1267
|
+
/**
|
|
1268
|
+
* User directory offset.
|
|
1269
|
+
*/
|
|
1270
|
+
export type Offset = number;
|
|
1271
|
+
/**
|
|
1272
|
+
* Optional user directory search query.
|
|
1273
|
+
*/
|
|
1274
|
+
export type Query = string;
|
|
1275
|
+
/**
|
|
1276
|
+
* End of the time window (exclusive). Must be after from.
|
|
1277
|
+
*/
|
|
1278
|
+
export type To = string; // date-time
|
|
1279
|
+
}
|
|
1280
|
+
export interface QueryParameters {
|
|
1281
|
+
from: /* Start of the time window (inclusive). Maximum window: 31 days. */ Parameters.From /* date-time */;
|
|
1282
|
+
to: /* End of the time window (exclusive). Must be after from. */ Parameters.To /* date-time */;
|
|
1283
|
+
include_busy?: /* Include busy inputs in addition to out-of-office absence. Defaults to false. */ Parameters.IncludeBusy;
|
|
1284
|
+
query?: /* Optional user directory search query. */ Parameters.Query;
|
|
1285
|
+
limit?: /* Maximum users to return. */ Parameters.Limit;
|
|
1286
|
+
offset?: /* User directory offset. */ Parameters.Offset;
|
|
1287
|
+
}
|
|
1288
|
+
namespace Responses {
|
|
1289
|
+
export interface $200 {
|
|
1290
|
+
from: string; // date-time
|
|
1291
|
+
to: string; // date-time
|
|
1292
|
+
hits: number;
|
|
1293
|
+
results: {
|
|
1294
|
+
absent: boolean;
|
|
1295
|
+
absence_intervals: Components.Schemas.AbsenceInterval[];
|
|
1296
|
+
user_id: string;
|
|
1297
|
+
display_name?: string | null;
|
|
1298
|
+
email?: string | null; // email
|
|
1299
|
+
status?: string | null;
|
|
1300
|
+
}[];
|
|
1301
|
+
}
|
|
1302
|
+
export type $400 = Components.Schemas.Error;
|
|
1303
|
+
}
|
|
1304
|
+
}
|
|
1305
|
+
namespace OutlookWebhook {
|
|
1306
|
+
namespace Parameters {
|
|
1307
|
+
/**
|
|
1308
|
+
* Set by Graph on the subscription-validation handshake; echoed back verbatim.
|
|
1309
|
+
*/
|
|
1310
|
+
export type ValidationToken = string;
|
|
1311
|
+
}
|
|
1312
|
+
export interface QueryParameters {
|
|
1313
|
+
validationToken?: /* Set by Graph on the subscription-validation handshake; echoed back verbatim. */ Parameters.ValidationToken;
|
|
1314
|
+
}
|
|
1315
|
+
namespace Responses {
|
|
1316
|
+
export type $200 = string;
|
|
1317
|
+
export interface $202 {
|
|
1318
|
+
}
|
|
1319
|
+
}
|
|
1320
|
+
}
|
|
1321
|
+
namespace PatchAbsenceAdjustment {
|
|
1322
|
+
namespace Parameters {
|
|
1323
|
+
export type AdjustmentId = string;
|
|
1324
|
+
export type UserId = string;
|
|
1325
|
+
}
|
|
1326
|
+
export interface PathParameters {
|
|
1327
|
+
user_id: Parameters.UserId;
|
|
1328
|
+
adjustment_id: Parameters.AdjustmentId;
|
|
1329
|
+
}
|
|
1330
|
+
export type RequestBody = Components.Schemas.PatchAbsenceAdjustmentBody;
|
|
1331
|
+
namespace Responses {
|
|
1332
|
+
export type $200 = Components.Schemas.AbsenceAdjustment;
|
|
1333
|
+
export type $400 = Components.Schemas.Error;
|
|
1334
|
+
export type $404 = Components.Schemas.Error;
|
|
1335
|
+
}
|
|
1336
|
+
}
|
|
1337
|
+
namespace SearchAbsence {
|
|
1338
|
+
export type RequestBody = Components.Schemas.SearchAbsenceBody;
|
|
1339
|
+
namespace Responses {
|
|
1340
|
+
export interface $200 {
|
|
1341
|
+
from: string; // date-time
|
|
1342
|
+
to: string; // date-time
|
|
1343
|
+
users: {
|
|
1344
|
+
[name: string]: {
|
|
1345
|
+
absent: boolean;
|
|
1346
|
+
absence_intervals: Components.Schemas.AbsenceInterval[];
|
|
1347
|
+
};
|
|
1348
|
+
};
|
|
1349
|
+
}
|
|
1350
|
+
export type $400 = Components.Schemas.Error;
|
|
1351
|
+
}
|
|
1352
|
+
}
|
|
1353
|
+
namespace SearchNowAbsence {
|
|
1354
|
+
export type RequestBody = Components.Schemas.SearchNowAbsenceBody;
|
|
1355
|
+
namespace Responses {
|
|
1356
|
+
export interface $200 {
|
|
1357
|
+
from: string; // date-time
|
|
1358
|
+
to: string; // date-time
|
|
1359
|
+
users: {
|
|
1360
|
+
[name: string]: {
|
|
1361
|
+
absent: boolean;
|
|
1362
|
+
absence_intervals: Components.Schemas.AbsenceInterval[];
|
|
1363
|
+
/**
|
|
1364
|
+
* End of the currently active absence interval, or null when the user is not absent.
|
|
1365
|
+
*/
|
|
1366
|
+
absent_until: string | null; // date-time
|
|
1367
|
+
};
|
|
1368
|
+
};
|
|
1369
|
+
}
|
|
1370
|
+
export type $400 = Components.Schemas.Error;
|
|
1371
|
+
}
|
|
1372
|
+
}
|
|
1373
|
+
namespace ShareEvent {
|
|
1374
|
+
namespace Parameters {
|
|
1375
|
+
export type EventId = string;
|
|
1376
|
+
}
|
|
1377
|
+
export interface PathParameters {
|
|
1378
|
+
event_id: Parameters.EventId;
|
|
1379
|
+
}
|
|
1380
|
+
export type RequestBody = Components.Schemas.ShareEventBody;
|
|
1381
|
+
namespace Responses {
|
|
1382
|
+
export interface $204 {
|
|
1383
|
+
}
|
|
1384
|
+
export type $400 = Components.Schemas.Error;
|
|
1385
|
+
export type $403 = Components.Schemas.Error;
|
|
1386
|
+
export type $404 = Components.Schemas.Error;
|
|
1387
|
+
}
|
|
1388
|
+
}
|
|
1389
|
+
namespace UnshareEvent {
|
|
1390
|
+
namespace Parameters {
|
|
1391
|
+
export type EventId = string;
|
|
1392
|
+
export type UserId = string;
|
|
1393
|
+
}
|
|
1394
|
+
export interface PathParameters {
|
|
1395
|
+
event_id: Parameters.EventId;
|
|
1396
|
+
user_id: Parameters.UserId;
|
|
1397
|
+
}
|
|
1398
|
+
namespace Responses {
|
|
1399
|
+
export interface $204 {
|
|
1400
|
+
}
|
|
1401
|
+
export type $403 = Components.Schemas.Error;
|
|
1402
|
+
export type $404 = Components.Schemas.Error;
|
|
1403
|
+
}
|
|
1404
|
+
}
|
|
1405
|
+
namespace UpdateCalendar {
|
|
1406
|
+
namespace Parameters {
|
|
1407
|
+
export type CalendarId = string;
|
|
1408
|
+
}
|
|
1409
|
+
export interface PathParameters {
|
|
1410
|
+
calendar_id: Parameters.CalendarId;
|
|
1411
|
+
}
|
|
1412
|
+
export type RequestBody = Components.Schemas.CalendarPatchBody;
|
|
1413
|
+
namespace Responses {
|
|
1414
|
+
export type $200 = Components.Schemas.Calendar;
|
|
1415
|
+
export type $400 = Components.Schemas.Error;
|
|
1416
|
+
export type $403 = Components.Schemas.Error;
|
|
1417
|
+
export type $404 = Components.Schemas.Error;
|
|
1418
|
+
}
|
|
1419
|
+
}
|
|
1420
|
+
namespace UpdateEvent {
|
|
1421
|
+
namespace Parameters {
|
|
1422
|
+
export type EventId = string;
|
|
1423
|
+
}
|
|
1424
|
+
export interface PathParameters {
|
|
1425
|
+
event_id: Parameters.EventId;
|
|
1426
|
+
}
|
|
1427
|
+
export type RequestBody = Components.Schemas.CalendarEventPatchBody;
|
|
1428
|
+
namespace Responses {
|
|
1429
|
+
export type $200 = Components.Schemas.CalendarEvent;
|
|
1430
|
+
export type $400 = Components.Schemas.Error;
|
|
1431
|
+
export type $403 = Components.Schemas.Error;
|
|
1432
|
+
export type $404 = Components.Schemas.Error;
|
|
1433
|
+
}
|
|
1434
|
+
}
|
|
1435
|
+
}
|
|
1436
|
+
|
|
1437
|
+
|
|
1438
|
+
interface OperationMethods {
|
|
1439
|
+
/**
|
|
1440
|
+
* listUsersAbsence - listUsersAbsence
|
|
1441
|
+
*
|
|
1442
|
+
* List organization users with known absence metadata in the requested time window.
|
|
1443
|
+
*/
|
|
1444
|
+
'listUsersAbsence'(
|
|
1445
|
+
parameters?: Parameters<Paths.ListUsersAbsence.QueryParameters> | null,
|
|
1446
|
+
data?: any,
|
|
1447
|
+
config?: AxiosRequestConfig
|
|
1448
|
+
): OperationResponse<Paths.ListUsersAbsence.Responses.$200>
|
|
1449
|
+
/**
|
|
1450
|
+
* searchAbsence - searchAbsence
|
|
1451
|
+
*
|
|
1452
|
+
* Search known absence for candidate users in the requested time window.
|
|
1453
|
+
*/
|
|
1454
|
+
'searchAbsence'(
|
|
1455
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1456
|
+
data?: Paths.SearchAbsence.RequestBody,
|
|
1457
|
+
config?: AxiosRequestConfig
|
|
1458
|
+
): OperationResponse<Paths.SearchAbsence.Responses.$200>
|
|
1459
|
+
/**
|
|
1460
|
+
* searchNowAbsence - searchNowAbsence
|
|
1461
|
+
*
|
|
1462
|
+
* Search known absence for candidate users at the current server time.
|
|
1463
|
+
*/
|
|
1464
|
+
'searchNowAbsence'(
|
|
1465
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1466
|
+
data?: Paths.SearchNowAbsence.RequestBody,
|
|
1467
|
+
config?: AxiosRequestConfig
|
|
1468
|
+
): OperationResponse<Paths.SearchNowAbsence.Responses.$200>
|
|
1469
|
+
/**
|
|
1470
|
+
* listAbsenceAdjustments - listAbsenceAdjustments
|
|
1471
|
+
*
|
|
1472
|
+
* List absence adjustments for a user in a time window.
|
|
1473
|
+
*/
|
|
1474
|
+
'listAbsenceAdjustments'(
|
|
1475
|
+
parameters?: Parameters<Paths.ListAbsenceAdjustments.QueryParameters & Paths.ListAbsenceAdjustments.PathParameters> | null,
|
|
1476
|
+
data?: any,
|
|
1477
|
+
config?: AxiosRequestConfig
|
|
1478
|
+
): OperationResponse<Paths.ListAbsenceAdjustments.Responses.$200>
|
|
1479
|
+
/**
|
|
1480
|
+
* createAbsenceAdjustment - createAbsenceAdjustment
|
|
1481
|
+
*
|
|
1482
|
+
* Create a time-bound absence adjustment for a user in the caller organization.
|
|
1483
|
+
*/
|
|
1484
|
+
'createAbsenceAdjustment'(
|
|
1485
|
+
parameters?: Parameters<Paths.CreateAbsenceAdjustment.PathParameters> | null,
|
|
1486
|
+
data?: Paths.CreateAbsenceAdjustment.RequestBody,
|
|
1487
|
+
config?: AxiosRequestConfig
|
|
1488
|
+
): OperationResponse<Paths.CreateAbsenceAdjustment.Responses.$201>
|
|
1489
|
+
/**
|
|
1490
|
+
* getAbsenceAdjustment - getAbsenceAdjustment
|
|
1491
|
+
*
|
|
1492
|
+
* Get an absence adjustment by ID.
|
|
1493
|
+
*/
|
|
1494
|
+
'getAbsenceAdjustment'(
|
|
1495
|
+
parameters?: Parameters<Paths.GetAbsenceAdjustment.PathParameters> | null,
|
|
1496
|
+
data?: any,
|
|
1497
|
+
config?: AxiosRequestConfig
|
|
1498
|
+
): OperationResponse<Paths.GetAbsenceAdjustment.Responses.$200>
|
|
1499
|
+
/**
|
|
1500
|
+
* patchAbsenceAdjustment - patchAbsenceAdjustment
|
|
1501
|
+
*
|
|
1502
|
+
* Update an absence adjustment in the caller organization.
|
|
1503
|
+
*/
|
|
1504
|
+
'patchAbsenceAdjustment'(
|
|
1505
|
+
parameters?: Parameters<Paths.PatchAbsenceAdjustment.PathParameters> | null,
|
|
1506
|
+
data?: Paths.PatchAbsenceAdjustment.RequestBody,
|
|
1507
|
+
config?: AxiosRequestConfig
|
|
1508
|
+
): OperationResponse<Paths.PatchAbsenceAdjustment.Responses.$200>
|
|
1509
|
+
/**
|
|
1510
|
+
* deleteAbsenceAdjustment - deleteAbsenceAdjustment
|
|
1511
|
+
*
|
|
1512
|
+
* Delete an absence adjustment.
|
|
1513
|
+
*/
|
|
1514
|
+
'deleteAbsenceAdjustment'(
|
|
1515
|
+
parameters?: Parameters<Paths.DeleteAbsenceAdjustment.PathParameters> | null,
|
|
1516
|
+
data?: any,
|
|
1517
|
+
config?: AxiosRequestConfig
|
|
1518
|
+
): OperationResponse<Paths.DeleteAbsenceAdjustment.Responses.$204>
|
|
1519
|
+
/**
|
|
1520
|
+
* getUserAbsence - getUserAbsence
|
|
1521
|
+
*
|
|
1522
|
+
* Get known absence for a user in a time window. absent=false means no known absence, not guaranteed availability.
|
|
1523
|
+
*/
|
|
1524
|
+
'getUserAbsence'(
|
|
1525
|
+
parameters?: Parameters<Paths.GetUserAbsence.QueryParameters & Paths.GetUserAbsence.PathParameters> | null,
|
|
1526
|
+
data?: any,
|
|
1527
|
+
config?: AxiosRequestConfig
|
|
1528
|
+
): OperationResponse<Paths.GetUserAbsence.Responses.$200>
|
|
1529
|
+
/**
|
|
1530
|
+
* listCalendars - listCalendars
|
|
1531
|
+
*
|
|
1532
|
+
* List calendars visible to the caller.
|
|
1533
|
+
*/
|
|
1534
|
+
'listCalendars'(
|
|
1535
|
+
parameters?: Parameters<Paths.ListCalendars.QueryParameters> | null,
|
|
1536
|
+
data?: any,
|
|
1537
|
+
config?: AxiosRequestConfig
|
|
1538
|
+
): OperationResponse<Paths.ListCalendars.Responses.$200>
|
|
1539
|
+
/**
|
|
1540
|
+
* createCalendar - createCalendar
|
|
1541
|
+
*
|
|
1542
|
+
* Create a native epilot calendar.
|
|
1543
|
+
*/
|
|
1544
|
+
'createCalendar'(
|
|
1545
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1546
|
+
data?: Paths.CreateCalendar.RequestBody,
|
|
1547
|
+
config?: AxiosRequestConfig
|
|
1548
|
+
): OperationResponse<Paths.CreateCalendar.Responses.$201>
|
|
1549
|
+
/**
|
|
1550
|
+
* addOutlookCalendar - addOutlookCalendar
|
|
1551
|
+
*
|
|
1552
|
+
* Registers one of the caller's Outlook calendars as an epilot calendar.
|
|
1553
|
+
*
|
|
1554
|
+
* The returned calendar resource carries `source.provider=outlook` and the
|
|
1555
|
+
* provider calendar id, so subsequent reads through `GET /v1/calendar` /
|
|
1556
|
+
* `GET /v1/calendar/events` route through the sync provider.
|
|
1557
|
+
*/
|
|
1558
|
+
'addOutlookCalendar'(
|
|
1559
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1560
|
+
data?: Paths.AddOutlookCalendar.RequestBody,
|
|
1561
|
+
config?: AxiosRequestConfig
|
|
1562
|
+
): OperationResponse<Paths.AddOutlookCalendar.Responses.$201>
|
|
1563
|
+
/**
|
|
1564
|
+
* listOutlookCalendars - listOutlookCalendars
|
|
1565
|
+
*
|
|
1566
|
+
* Lists the calling user's Outlook calendars available to import as epilot calendars.
|
|
1567
|
+
*
|
|
1568
|
+
* Requires the caller to have a personal Outlook calendar connection (created via the
|
|
1569
|
+
* OAuth flow on email-settings: `POST /v2/outlook/connect { "calendar": true }`).
|
|
1570
|
+
*/
|
|
1571
|
+
'listOutlookCalendars'(
|
|
1572
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1573
|
+
data?: any,
|
|
1574
|
+
config?: AxiosRequestConfig
|
|
1575
|
+
): OperationResponse<Paths.ListOutlookCalendars.Responses.$200>
|
|
1576
|
+
/**
|
|
1577
|
+
* deleteOutlookCalendar - deleteOutlookCalendar
|
|
1578
|
+
*
|
|
1579
|
+
* Disconnects a previously registered Outlook calendar.
|
|
1580
|
+
*
|
|
1581
|
+
* Deletes the Microsoft Graph subscription, removes the backing `calendar`
|
|
1582
|
+
* entity, and drops the local subscription record. Idempotent: a 404 from
|
|
1583
|
+
* Graph (subscription already gone) is treated as success.
|
|
1584
|
+
*/
|
|
1585
|
+
'deleteOutlookCalendar'(
|
|
1586
|
+
parameters?: Parameters<Paths.DeleteOutlookCalendar.PathParameters> | null,
|
|
1587
|
+
data?: any,
|
|
1588
|
+
config?: AxiosRequestConfig
|
|
1589
|
+
): OperationResponse<Paths.DeleteOutlookCalendar.Responses.$204>
|
|
1590
|
+
/**
|
|
1591
|
+
* outlookWebhook - outlookWebhook
|
|
1592
|
+
*
|
|
1593
|
+
* Public Microsoft Graph webhook receiver for per-user Outlook calendar
|
|
1594
|
+
* subscriptions. Unauthenticated by design (API Gateway `Authorizer: NONE`):
|
|
1595
|
+
* Graph calls it with no epilot token.
|
|
1596
|
+
*
|
|
1597
|
+
* Handles both the subscription-validation handshake (echoes the
|
|
1598
|
+
* `validationToken` query param as `text/plain`) and change notifications.
|
|
1599
|
+
* Each notification is trusted only after its HMAC-signed `clientState` is
|
|
1600
|
+
* verified and matched against the stored subscription — identity is never
|
|
1601
|
+
* read from the request body.
|
|
1602
|
+
*/
|
|
1603
|
+
'outlookWebhook'(
|
|
1604
|
+
parameters?: Parameters<Paths.OutlookWebhook.QueryParameters> | null,
|
|
1605
|
+
data?: any,
|
|
1606
|
+
config?: AxiosRequestConfig
|
|
1607
|
+
): OperationResponse<Paths.OutlookWebhook.Responses.$200 | Paths.OutlookWebhook.Responses.$202>
|
|
1608
|
+
/**
|
|
1609
|
+
* getCalendar - getCalendar
|
|
1610
|
+
*
|
|
1611
|
+
* Get a single calendar by its epilot ID.
|
|
1612
|
+
*/
|
|
1613
|
+
'getCalendar'(
|
|
1614
|
+
parameters?: Parameters<Paths.GetCalendar.PathParameters> | null,
|
|
1615
|
+
data?: any,
|
|
1616
|
+
config?: AxiosRequestConfig
|
|
1617
|
+
): OperationResponse<Paths.GetCalendar.Responses.$200>
|
|
1618
|
+
/**
|
|
1619
|
+
* updateCalendar - updateCalendar
|
|
1620
|
+
*
|
|
1621
|
+
* Update fields on a calendar.
|
|
1622
|
+
*/
|
|
1623
|
+
'updateCalendar'(
|
|
1624
|
+
parameters?: Parameters<Paths.UpdateCalendar.PathParameters> | null,
|
|
1625
|
+
data?: Paths.UpdateCalendar.RequestBody,
|
|
1626
|
+
config?: AxiosRequestConfig
|
|
1627
|
+
): OperationResponse<Paths.UpdateCalendar.Responses.$200>
|
|
1628
|
+
/**
|
|
1629
|
+
* deleteCalendar - deleteCalendar
|
|
1630
|
+
*
|
|
1631
|
+
* Delete a native epilot calendar and its events.
|
|
1632
|
+
*/
|
|
1633
|
+
'deleteCalendar'(
|
|
1634
|
+
parameters?: Parameters<Paths.DeleteCalendar.PathParameters> | null,
|
|
1635
|
+
data?: any,
|
|
1636
|
+
config?: AxiosRequestConfig
|
|
1637
|
+
): OperationResponse<Paths.DeleteCalendar.Responses.$204>
|
|
1638
|
+
/**
|
|
1639
|
+
* listEvents - listEvents
|
|
1640
|
+
*
|
|
1641
|
+
* List events in a time window. Recurring events are returned as expanded occurrences – each instance appears as its own event.
|
|
1642
|
+
*/
|
|
1643
|
+
'listEvents'(
|
|
1644
|
+
parameters?: Parameters<Paths.ListEvents.QueryParameters> | null,
|
|
1645
|
+
data?: any,
|
|
1646
|
+
config?: AxiosRequestConfig
|
|
1647
|
+
): OperationResponse<Paths.ListEvents.Responses.$200>
|
|
1648
|
+
/**
|
|
1649
|
+
* createEvent - createEvent
|
|
1650
|
+
*
|
|
1651
|
+
* Create a native epilot calendar event.
|
|
1652
|
+
*/
|
|
1653
|
+
'createEvent'(
|
|
1654
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1655
|
+
data?: Paths.CreateEvent.RequestBody,
|
|
1656
|
+
config?: AxiosRequestConfig
|
|
1657
|
+
): OperationResponse<Paths.CreateEvent.Responses.$201>
|
|
1658
|
+
/**
|
|
1659
|
+
* getEvent - getEvent
|
|
1660
|
+
*
|
|
1661
|
+
* Get a single event by its epilot ID.
|
|
1662
|
+
*/
|
|
1663
|
+
'getEvent'(
|
|
1664
|
+
parameters?: Parameters<Paths.GetEvent.PathParameters> | null,
|
|
1665
|
+
data?: any,
|
|
1666
|
+
config?: AxiosRequestConfig
|
|
1667
|
+
): OperationResponse<Paths.GetEvent.Responses.$200>
|
|
1668
|
+
/**
|
|
1669
|
+
* updateEvent - updateEvent
|
|
1670
|
+
*
|
|
1671
|
+
* Update a native epilot calendar event.
|
|
1672
|
+
*/
|
|
1673
|
+
'updateEvent'(
|
|
1674
|
+
parameters?: Parameters<Paths.UpdateEvent.PathParameters> | null,
|
|
1675
|
+
data?: Paths.UpdateEvent.RequestBody,
|
|
1676
|
+
config?: AxiosRequestConfig
|
|
1677
|
+
): OperationResponse<Paths.UpdateEvent.Responses.$200>
|
|
1678
|
+
/**
|
|
1679
|
+
* deleteEvent - deleteEvent
|
|
1680
|
+
*
|
|
1681
|
+
* Delete a native epilot calendar event.
|
|
1682
|
+
*/
|
|
1683
|
+
'deleteEvent'(
|
|
1684
|
+
parameters?: Parameters<Paths.DeleteEvent.PathParameters> | null,
|
|
1685
|
+
data?: any,
|
|
1686
|
+
config?: AxiosRequestConfig
|
|
1687
|
+
): OperationResponse<Paths.DeleteEvent.Responses.$204>
|
|
1688
|
+
/**
|
|
1689
|
+
* shareEvent - shareEvent
|
|
1690
|
+
*
|
|
1691
|
+
* Share a calendar event with another user of the same organization, view-only. Owner-only: recipients of a share cannot re-share. Sharing an already-shared event is a no-op.
|
|
1692
|
+
*/
|
|
1693
|
+
'shareEvent'(
|
|
1694
|
+
parameters?: Parameters<Paths.ShareEvent.PathParameters> | null,
|
|
1695
|
+
data?: Paths.ShareEvent.RequestBody,
|
|
1696
|
+
config?: AxiosRequestConfig
|
|
1697
|
+
): OperationResponse<Paths.ShareEvent.Responses.$204>
|
|
1698
|
+
/**
|
|
1699
|
+
* unshareEvent - unshareEvent
|
|
1700
|
+
*
|
|
1701
|
+
* Revoke a per-event share. The recipient loses access immediately. Owner-only.
|
|
1702
|
+
*/
|
|
1703
|
+
'unshareEvent'(
|
|
1704
|
+
parameters?: Parameters<Paths.UnshareEvent.PathParameters> | null,
|
|
1705
|
+
data?: any,
|
|
1706
|
+
config?: AxiosRequestConfig
|
|
1707
|
+
): OperationResponse<Paths.UnshareEvent.Responses.$204>
|
|
1708
|
+
}
|
|
1709
|
+
|
|
1710
|
+
interface PathsDictionary {
|
|
1711
|
+
['/v1/calendar/absence/users']: {
|
|
1712
|
+
/**
|
|
1713
|
+
* listUsersAbsence - listUsersAbsence
|
|
1714
|
+
*
|
|
1715
|
+
* List organization users with known absence metadata in the requested time window.
|
|
1716
|
+
*/
|
|
1717
|
+
'get'(
|
|
1718
|
+
parameters?: Parameters<Paths.ListUsersAbsence.QueryParameters> | null,
|
|
1719
|
+
data?: any,
|
|
1720
|
+
config?: AxiosRequestConfig
|
|
1721
|
+
): OperationResponse<Paths.ListUsersAbsence.Responses.$200>
|
|
1722
|
+
}
|
|
1723
|
+
['/v1/calendar/absence:search']: {
|
|
1724
|
+
/**
|
|
1725
|
+
* searchAbsence - searchAbsence
|
|
1726
|
+
*
|
|
1727
|
+
* Search known absence for candidate users in the requested time window.
|
|
1728
|
+
*/
|
|
1729
|
+
'post'(
|
|
1730
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1731
|
+
data?: Paths.SearchAbsence.RequestBody,
|
|
1732
|
+
config?: AxiosRequestConfig
|
|
1733
|
+
): OperationResponse<Paths.SearchAbsence.Responses.$200>
|
|
1734
|
+
}
|
|
1735
|
+
['/v1/calendar/absence:search-now']: {
|
|
1736
|
+
/**
|
|
1737
|
+
* searchNowAbsence - searchNowAbsence
|
|
1738
|
+
*
|
|
1739
|
+
* Search known absence for candidate users at the current server time.
|
|
1740
|
+
*/
|
|
1741
|
+
'post'(
|
|
1742
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1743
|
+
data?: Paths.SearchNowAbsence.RequestBody,
|
|
1744
|
+
config?: AxiosRequestConfig
|
|
1745
|
+
): OperationResponse<Paths.SearchNowAbsence.Responses.$200>
|
|
1746
|
+
}
|
|
1747
|
+
['/v1/calendar/absence/users/{user_id}/adjustments']: {
|
|
1748
|
+
/**
|
|
1749
|
+
* listAbsenceAdjustments - listAbsenceAdjustments
|
|
1750
|
+
*
|
|
1751
|
+
* List absence adjustments for a user in a time window.
|
|
1752
|
+
*/
|
|
1753
|
+
'get'(
|
|
1754
|
+
parameters?: Parameters<Paths.ListAbsenceAdjustments.QueryParameters & Paths.ListAbsenceAdjustments.PathParameters> | null,
|
|
1755
|
+
data?: any,
|
|
1756
|
+
config?: AxiosRequestConfig
|
|
1757
|
+
): OperationResponse<Paths.ListAbsenceAdjustments.Responses.$200>
|
|
1758
|
+
/**
|
|
1759
|
+
* createAbsenceAdjustment - createAbsenceAdjustment
|
|
1760
|
+
*
|
|
1761
|
+
* Create a time-bound absence adjustment for a user in the caller organization.
|
|
1762
|
+
*/
|
|
1763
|
+
'post'(
|
|
1764
|
+
parameters?: Parameters<Paths.CreateAbsenceAdjustment.PathParameters> | null,
|
|
1765
|
+
data?: Paths.CreateAbsenceAdjustment.RequestBody,
|
|
1766
|
+
config?: AxiosRequestConfig
|
|
1767
|
+
): OperationResponse<Paths.CreateAbsenceAdjustment.Responses.$201>
|
|
1768
|
+
}
|
|
1769
|
+
['/v1/calendar/absence/users/{user_id}/adjustments/{adjustment_id}']: {
|
|
1770
|
+
/**
|
|
1771
|
+
* getAbsenceAdjustment - getAbsenceAdjustment
|
|
1772
|
+
*
|
|
1773
|
+
* Get an absence adjustment by ID.
|
|
1774
|
+
*/
|
|
1775
|
+
'get'(
|
|
1776
|
+
parameters?: Parameters<Paths.GetAbsenceAdjustment.PathParameters> | null,
|
|
1777
|
+
data?: any,
|
|
1778
|
+
config?: AxiosRequestConfig
|
|
1779
|
+
): OperationResponse<Paths.GetAbsenceAdjustment.Responses.$200>
|
|
1780
|
+
/**
|
|
1781
|
+
* patchAbsenceAdjustment - patchAbsenceAdjustment
|
|
1782
|
+
*
|
|
1783
|
+
* Update an absence adjustment in the caller organization.
|
|
1784
|
+
*/
|
|
1785
|
+
'patch'(
|
|
1786
|
+
parameters?: Parameters<Paths.PatchAbsenceAdjustment.PathParameters> | null,
|
|
1787
|
+
data?: Paths.PatchAbsenceAdjustment.RequestBody,
|
|
1788
|
+
config?: AxiosRequestConfig
|
|
1789
|
+
): OperationResponse<Paths.PatchAbsenceAdjustment.Responses.$200>
|
|
1790
|
+
/**
|
|
1791
|
+
* deleteAbsenceAdjustment - deleteAbsenceAdjustment
|
|
1792
|
+
*
|
|
1793
|
+
* Delete an absence adjustment.
|
|
1794
|
+
*/
|
|
1795
|
+
'delete'(
|
|
1796
|
+
parameters?: Parameters<Paths.DeleteAbsenceAdjustment.PathParameters> | null,
|
|
1797
|
+
data?: any,
|
|
1798
|
+
config?: AxiosRequestConfig
|
|
1799
|
+
): OperationResponse<Paths.DeleteAbsenceAdjustment.Responses.$204>
|
|
1800
|
+
}
|
|
1801
|
+
['/v1/calendar/absence/users/{user_id}']: {
|
|
1802
|
+
/**
|
|
1803
|
+
* getUserAbsence - getUserAbsence
|
|
1804
|
+
*
|
|
1805
|
+
* Get known absence for a user in a time window. absent=false means no known absence, not guaranteed availability.
|
|
1806
|
+
*/
|
|
1807
|
+
'get'(
|
|
1808
|
+
parameters?: Parameters<Paths.GetUserAbsence.QueryParameters & Paths.GetUserAbsence.PathParameters> | null,
|
|
1809
|
+
data?: any,
|
|
1810
|
+
config?: AxiosRequestConfig
|
|
1811
|
+
): OperationResponse<Paths.GetUserAbsence.Responses.$200>
|
|
1812
|
+
}
|
|
1813
|
+
['/v1/calendar']: {
|
|
1814
|
+
/**
|
|
1815
|
+
* listCalendars - listCalendars
|
|
1816
|
+
*
|
|
1817
|
+
* List calendars visible to the caller.
|
|
1818
|
+
*/
|
|
1819
|
+
'get'(
|
|
1820
|
+
parameters?: Parameters<Paths.ListCalendars.QueryParameters> | null,
|
|
1821
|
+
data?: any,
|
|
1822
|
+
config?: AxiosRequestConfig
|
|
1823
|
+
): OperationResponse<Paths.ListCalendars.Responses.$200>
|
|
1824
|
+
/**
|
|
1825
|
+
* createCalendar - createCalendar
|
|
1826
|
+
*
|
|
1827
|
+
* Create a native epilot calendar.
|
|
1828
|
+
*/
|
|
1829
|
+
'post'(
|
|
1830
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1831
|
+
data?: Paths.CreateCalendar.RequestBody,
|
|
1832
|
+
config?: AxiosRequestConfig
|
|
1833
|
+
): OperationResponse<Paths.CreateCalendar.Responses.$201>
|
|
1834
|
+
}
|
|
1835
|
+
['/v1/calendar/sources/outlook']: {
|
|
1836
|
+
/**
|
|
1837
|
+
* addOutlookCalendar - addOutlookCalendar
|
|
1838
|
+
*
|
|
1839
|
+
* Registers one of the caller's Outlook calendars as an epilot calendar.
|
|
1840
|
+
*
|
|
1841
|
+
* The returned calendar resource carries `source.provider=outlook` and the
|
|
1842
|
+
* provider calendar id, so subsequent reads through `GET /v1/calendar` /
|
|
1843
|
+
* `GET /v1/calendar/events` route through the sync provider.
|
|
1844
|
+
*/
|
|
1845
|
+
'post'(
|
|
1846
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1847
|
+
data?: Paths.AddOutlookCalendar.RequestBody,
|
|
1848
|
+
config?: AxiosRequestConfig
|
|
1849
|
+
): OperationResponse<Paths.AddOutlookCalendar.Responses.$201>
|
|
1850
|
+
}
|
|
1851
|
+
['/v1/calendar/sources/outlook/available']: {
|
|
1852
|
+
/**
|
|
1853
|
+
* listOutlookCalendars - listOutlookCalendars
|
|
1854
|
+
*
|
|
1855
|
+
* Lists the calling user's Outlook calendars available to import as epilot calendars.
|
|
1856
|
+
*
|
|
1857
|
+
* Requires the caller to have a personal Outlook calendar connection (created via the
|
|
1858
|
+
* OAuth flow on email-settings: `POST /v2/outlook/connect { "calendar": true }`).
|
|
1859
|
+
*/
|
|
1860
|
+
'get'(
|
|
1861
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1862
|
+
data?: any,
|
|
1863
|
+
config?: AxiosRequestConfig
|
|
1864
|
+
): OperationResponse<Paths.ListOutlookCalendars.Responses.$200>
|
|
1865
|
+
}
|
|
1866
|
+
['/v1/calendar/sources/outlook/{calendar_id}']: {
|
|
1867
|
+
/**
|
|
1868
|
+
* deleteOutlookCalendar - deleteOutlookCalendar
|
|
1869
|
+
*
|
|
1870
|
+
* Disconnects a previously registered Outlook calendar.
|
|
1871
|
+
*
|
|
1872
|
+
* Deletes the Microsoft Graph subscription, removes the backing `calendar`
|
|
1873
|
+
* entity, and drops the local subscription record. Idempotent: a 404 from
|
|
1874
|
+
* Graph (subscription already gone) is treated as success.
|
|
1875
|
+
*/
|
|
1876
|
+
'delete'(
|
|
1877
|
+
parameters?: Parameters<Paths.DeleteOutlookCalendar.PathParameters> | null,
|
|
1878
|
+
data?: any,
|
|
1879
|
+
config?: AxiosRequestConfig
|
|
1880
|
+
): OperationResponse<Paths.DeleteOutlookCalendar.Responses.$204>
|
|
1881
|
+
}
|
|
1882
|
+
['/v1/calendar/outlook/webhook']: {
|
|
1883
|
+
/**
|
|
1884
|
+
* outlookWebhook - outlookWebhook
|
|
1885
|
+
*
|
|
1886
|
+
* Public Microsoft Graph webhook receiver for per-user Outlook calendar
|
|
1887
|
+
* subscriptions. Unauthenticated by design (API Gateway `Authorizer: NONE`):
|
|
1888
|
+
* Graph calls it with no epilot token.
|
|
1889
|
+
*
|
|
1890
|
+
* Handles both the subscription-validation handshake (echoes the
|
|
1891
|
+
* `validationToken` query param as `text/plain`) and change notifications.
|
|
1892
|
+
* Each notification is trusted only after its HMAC-signed `clientState` is
|
|
1893
|
+
* verified and matched against the stored subscription — identity is never
|
|
1894
|
+
* read from the request body.
|
|
1895
|
+
*/
|
|
1896
|
+
'post'(
|
|
1897
|
+
parameters?: Parameters<Paths.OutlookWebhook.QueryParameters> | null,
|
|
1898
|
+
data?: any,
|
|
1899
|
+
config?: AxiosRequestConfig
|
|
1900
|
+
): OperationResponse<Paths.OutlookWebhook.Responses.$200 | Paths.OutlookWebhook.Responses.$202>
|
|
1901
|
+
}
|
|
1902
|
+
['/v1/calendar/{calendar_id}']: {
|
|
1903
|
+
/**
|
|
1904
|
+
* getCalendar - getCalendar
|
|
1905
|
+
*
|
|
1906
|
+
* Get a single calendar by its epilot ID.
|
|
1907
|
+
*/
|
|
1908
|
+
'get'(
|
|
1909
|
+
parameters?: Parameters<Paths.GetCalendar.PathParameters> | null,
|
|
1910
|
+
data?: any,
|
|
1911
|
+
config?: AxiosRequestConfig
|
|
1912
|
+
): OperationResponse<Paths.GetCalendar.Responses.$200>
|
|
1913
|
+
/**
|
|
1914
|
+
* updateCalendar - updateCalendar
|
|
1915
|
+
*
|
|
1916
|
+
* Update fields on a calendar.
|
|
1917
|
+
*/
|
|
1918
|
+
'patch'(
|
|
1919
|
+
parameters?: Parameters<Paths.UpdateCalendar.PathParameters> | null,
|
|
1920
|
+
data?: Paths.UpdateCalendar.RequestBody,
|
|
1921
|
+
config?: AxiosRequestConfig
|
|
1922
|
+
): OperationResponse<Paths.UpdateCalendar.Responses.$200>
|
|
1923
|
+
/**
|
|
1924
|
+
* deleteCalendar - deleteCalendar
|
|
1925
|
+
*
|
|
1926
|
+
* Delete a native epilot calendar and its events.
|
|
1927
|
+
*/
|
|
1928
|
+
'delete'(
|
|
1929
|
+
parameters?: Parameters<Paths.DeleteCalendar.PathParameters> | null,
|
|
1930
|
+
data?: any,
|
|
1931
|
+
config?: AxiosRequestConfig
|
|
1932
|
+
): OperationResponse<Paths.DeleteCalendar.Responses.$204>
|
|
1933
|
+
}
|
|
1934
|
+
['/v1/calendar/events']: {
|
|
1935
|
+
/**
|
|
1936
|
+
* listEvents - listEvents
|
|
1937
|
+
*
|
|
1938
|
+
* List events in a time window. Recurring events are returned as expanded occurrences – each instance appears as its own event.
|
|
1939
|
+
*/
|
|
1940
|
+
'get'(
|
|
1941
|
+
parameters?: Parameters<Paths.ListEvents.QueryParameters> | null,
|
|
1942
|
+
data?: any,
|
|
1943
|
+
config?: AxiosRequestConfig
|
|
1944
|
+
): OperationResponse<Paths.ListEvents.Responses.$200>
|
|
1945
|
+
/**
|
|
1946
|
+
* createEvent - createEvent
|
|
1947
|
+
*
|
|
1948
|
+
* Create a native epilot calendar event.
|
|
1949
|
+
*/
|
|
1950
|
+
'post'(
|
|
1951
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
1952
|
+
data?: Paths.CreateEvent.RequestBody,
|
|
1953
|
+
config?: AxiosRequestConfig
|
|
1954
|
+
): OperationResponse<Paths.CreateEvent.Responses.$201>
|
|
1955
|
+
}
|
|
1956
|
+
['/v1/calendar/events/{event_id}']: {
|
|
1957
|
+
/**
|
|
1958
|
+
* getEvent - getEvent
|
|
1959
|
+
*
|
|
1960
|
+
* Get a single event by its epilot ID.
|
|
1961
|
+
*/
|
|
1962
|
+
'get'(
|
|
1963
|
+
parameters?: Parameters<Paths.GetEvent.PathParameters> | null,
|
|
1964
|
+
data?: any,
|
|
1965
|
+
config?: AxiosRequestConfig
|
|
1966
|
+
): OperationResponse<Paths.GetEvent.Responses.$200>
|
|
1967
|
+
/**
|
|
1968
|
+
* updateEvent - updateEvent
|
|
1969
|
+
*
|
|
1970
|
+
* Update a native epilot calendar event.
|
|
1971
|
+
*/
|
|
1972
|
+
'patch'(
|
|
1973
|
+
parameters?: Parameters<Paths.UpdateEvent.PathParameters> | null,
|
|
1974
|
+
data?: Paths.UpdateEvent.RequestBody,
|
|
1975
|
+
config?: AxiosRequestConfig
|
|
1976
|
+
): OperationResponse<Paths.UpdateEvent.Responses.$200>
|
|
1977
|
+
/**
|
|
1978
|
+
* deleteEvent - deleteEvent
|
|
1979
|
+
*
|
|
1980
|
+
* Delete a native epilot calendar event.
|
|
1981
|
+
*/
|
|
1982
|
+
'delete'(
|
|
1983
|
+
parameters?: Parameters<Paths.DeleteEvent.PathParameters> | null,
|
|
1984
|
+
data?: any,
|
|
1985
|
+
config?: AxiosRequestConfig
|
|
1986
|
+
): OperationResponse<Paths.DeleteEvent.Responses.$204>
|
|
1987
|
+
}
|
|
1988
|
+
['/v1/calendar/events/{event_id}/share']: {
|
|
1989
|
+
/**
|
|
1990
|
+
* shareEvent - shareEvent
|
|
1991
|
+
*
|
|
1992
|
+
* Share a calendar event with another user of the same organization, view-only. Owner-only: recipients of a share cannot re-share. Sharing an already-shared event is a no-op.
|
|
1993
|
+
*/
|
|
1994
|
+
'post'(
|
|
1995
|
+
parameters?: Parameters<Paths.ShareEvent.PathParameters> | null,
|
|
1996
|
+
data?: Paths.ShareEvent.RequestBody,
|
|
1997
|
+
config?: AxiosRequestConfig
|
|
1998
|
+
): OperationResponse<Paths.ShareEvent.Responses.$204>
|
|
1999
|
+
}
|
|
2000
|
+
['/v1/calendar/events/{event_id}/share/{user_id}']: {
|
|
2001
|
+
/**
|
|
2002
|
+
* unshareEvent - unshareEvent
|
|
2003
|
+
*
|
|
2004
|
+
* Revoke a per-event share. The recipient loses access immediately. Owner-only.
|
|
2005
|
+
*/
|
|
2006
|
+
'delete'(
|
|
2007
|
+
parameters?: Parameters<Paths.UnshareEvent.PathParameters> | null,
|
|
2008
|
+
data?: any,
|
|
2009
|
+
config?: AxiosRequestConfig
|
|
2010
|
+
): OperationResponse<Paths.UnshareEvent.Responses.$204>
|
|
2011
|
+
}
|
|
2012
|
+
}
|
|
2013
|
+
|
|
2014
|
+
type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
2015
|
+
|
|
2016
|
+
|
|
2017
|
+
type AbsenceAdjustment = Components.Schemas.AbsenceAdjustment;
|
|
2018
|
+
type AbsenceInterval = Components.Schemas.AbsenceInterval;
|
|
2019
|
+
type AbsenceIntervalSource = Components.Schemas.AbsenceIntervalSource;
|
|
2020
|
+
type AbsenceStatus = Components.Schemas.AbsenceStatus;
|
|
2021
|
+
type AbsenceType = Components.Schemas.AbsenceType;
|
|
2022
|
+
type AddOutlookCalendarRequest = Components.Schemas.AddOutlookCalendarRequest;
|
|
2023
|
+
type Attendee = Components.Schemas.Attendee;
|
|
2024
|
+
type AvailableOutlookCalendar = Components.Schemas.AvailableOutlookCalendar;
|
|
2025
|
+
type Calendar = Components.Schemas.Calendar;
|
|
2026
|
+
type CalendarCreateBody = Components.Schemas.CalendarCreateBody;
|
|
2027
|
+
type CalendarEvent = Components.Schemas.CalendarEvent;
|
|
2028
|
+
type CalendarEventCreateBody = Components.Schemas.CalendarEventCreateBody;
|
|
2029
|
+
type CalendarEventPatchBody = Components.Schemas.CalendarEventPatchBody;
|
|
2030
|
+
type CalendarPatchBody = Components.Schemas.CalendarPatchBody;
|
|
2031
|
+
type CalendarSource = Components.Schemas.CalendarSource;
|
|
2032
|
+
type CreateAbsenceAdjustmentBody = Components.Schemas.CreateAbsenceAdjustmentBody;
|
|
2033
|
+
type Error = Components.Schemas.Error;
|
|
2034
|
+
type EventSource = Components.Schemas.EventSource;
|
|
2035
|
+
type EventStatus = Components.Schemas.EventStatus;
|
|
2036
|
+
type EventType = Components.Schemas.EventType;
|
|
2037
|
+
type ExternalCalendar = Components.Schemas.ExternalCalendar;
|
|
2038
|
+
type Importance = Components.Schemas.Importance;
|
|
2039
|
+
type PatchAbsenceAdjustmentBody = Components.Schemas.PatchAbsenceAdjustmentBody;
|
|
2040
|
+
type Provider = Components.Schemas.Provider;
|
|
2041
|
+
type ResponseStatus = Components.Schemas.ResponseStatus;
|
|
2042
|
+
type SearchAbsenceBody = Components.Schemas.SearchAbsenceBody;
|
|
2043
|
+
type SearchNowAbsenceBody = Components.Schemas.SearchNowAbsenceBody;
|
|
2044
|
+
type Sensitivity = Components.Schemas.Sensitivity;
|
|
2045
|
+
type ShareEventBody = Components.Schemas.ShareEventBody;
|
|
2046
|
+
|
|
2047
|
+
export { type AbsenceAdjustment as A, type Client as C, type Error as E, type Importance as I, type OperationMethods as O, Paths as P, type ResponseStatus as R, type SearchAbsenceBody as S, Components as a, type PathsDictionary as b, type AbsenceInterval as c, type AbsenceIntervalSource as d, type AbsenceStatus as e, type AbsenceType as f, type AddOutlookCalendarRequest as g, type Attendee as h, type AvailableOutlookCalendar as i, type Calendar as j, type CalendarCreateBody as k, type CalendarEvent as l, type CalendarEventCreateBody as m, type CalendarEventPatchBody as n, type CalendarPatchBody as o, type CalendarSource as p, type CreateAbsenceAdjustmentBody as q, type EventSource as r, type EventStatus as s, type EventType as t, type ExternalCalendar as u, type PatchAbsenceAdjustmentBody as v, type Provider as w, type SearchNowAbsenceBody as x, type Sensitivity as y, type ShareEventBody as z };
|