@withone/platform-calendly 0.0.0-stage → 0.1.0

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/dist/index.mjs ADDED
@@ -0,0 +1,694 @@
1
+ // src/index.ts
2
+ import { Action as __Action, routeInput as __routeInput } from "@withone/sdk/codegen";
3
+ var __getEventsRouting = { "routes": [["connectionKey", "body"], ["count", "body"], ["group", "body"], ["invitee_email", "body"], ["max_start_time", "body"], ["min_start_time", "body"], ["organization", "body"], ["page_token", "body"], ["sort", "body"], ["status", "body"], ["user", "body"]], "requiredParts": ["body"] };
4
+ function getEvents(input) {
5
+ return new __Action({
6
+ systemId: "conn_mod_def::GHODGvcVoYw::8chebFlURWCH0HsM9vTjgg",
7
+ method: "POST",
8
+ path: "/v1/calendly/get-events",
9
+ ...__routeInput(input, __getEventsRouting, { "headers": { "Content-Type": "application/json" } })
10
+ });
11
+ }
12
+ var __getEventRouting = { "routes": [["connectionKey", "body"], ["uuid", "body"]], "requiredParts": ["body"] };
13
+ function getEvent(input) {
14
+ return new __Action({
15
+ systemId: "conn_mod_def::GHODd0kU4BI::rFKrP-WNQIqQXP8ALrYp5w",
16
+ method: "POST",
17
+ path: "/v1/calendly/get-event",
18
+ ...__routeInput(input, __getEventRouting, { "headers": { "Content-Type": "application/json" } })
19
+ });
20
+ }
21
+ var __getEventInviteesRouting = { "routes": [["connectionKey", "body"], ["count", "body"], ["email", "body"], ["page_token", "body"], ["sort", "body"], ["status", "body"], ["uuid", "body"]], "requiredParts": ["body"] };
22
+ function getEventInvitees(input) {
23
+ return new __Action({
24
+ systemId: "conn_mod_def::GHODfiRlNS4::bqLVXq6fRpS5s5ePCIdPaQ",
25
+ method: "POST",
26
+ path: "/v1/calendly/get-event-invitees",
27
+ ...__routeInput(input, __getEventInviteesRouting, { "headers": { "Content-Type": "application/json" } })
28
+ });
29
+ }
30
+ var __getEventInviteeRouting = { "routes": [["connectionKey", "body"], ["event_uuid", "body"], ["invitee_uuid", "body"]], "requiredParts": ["body"] };
31
+ function getEventInvitee(input) {
32
+ return new __Action({
33
+ systemId: "conn_mod_def::GHODg_9Cyx0::QF8xXp4CQ_Om9BnuOc3DPg",
34
+ method: "POST",
35
+ path: "/v1/calendly/get-event-invitee",
36
+ ...__routeInput(input, __getEventInviteeRouting, { "headers": { "Content-Type": "application/json" } })
37
+ });
38
+ }
39
+ var __getOrganizationInvitationRouting = { "routes": [["orgUuid", "path"], ["uuid", "path"]], "requiredParts": ["path"] };
40
+ function getOrganizationInvitation(input) {
41
+ return new __Action({
42
+ systemId: "conn_mod_def::GJ1CrYetXLc::IB0jwOCVQe6rjZaFj-1C1g",
43
+ method: "GET",
44
+ path: "/organizations/{{orgUuid}}/invitations/{{uuid}}",
45
+ ...__routeInput(input, __getOrganizationInvitationRouting, { "headers": { "Accept": "application/json" } })
46
+ });
47
+ }
48
+ var __getOrganizationMembershipRouting = { "routes": [["uuid", "path"]], "requiredParts": ["path"] };
49
+ function getOrganizationMembership(input) {
50
+ return new __Action({
51
+ systemId: "conn_mod_def::GJ1CrfQugyo::0XAFAprySO2L4Px8ZYQMjA",
52
+ method: "GET",
53
+ path: "/organization_memberships/{{uuid}}",
54
+ ...__routeInput(input, __getOrganizationMembershipRouting, { "headers": { "Accept": "application/json" } })
55
+ });
56
+ }
57
+ var __inviteUserOrganizationRouting = { "routes": [["email", "body"], ["uuid", "path"]], "requiredParts": ["body", "path"] };
58
+ function inviteUserOrganization(input) {
59
+ return new __Action({
60
+ systemId: "conn_mod_def::GJ1CrpRp6-A::M5q92EMJTAS-9z7JHLlnpw",
61
+ method: "POST",
62
+ path: "/organizations/{{uuid}}/invitations",
63
+ ...__routeInput(input, __inviteUserOrganizationRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
64
+ });
65
+ }
66
+ var __listOrganizationsInvitationsRouting = { "routes": [["uuid", "path"], ["count", "query"], ["email", "query"], ["page_token", "query"], ["sort", "query"], ["status", "query"]], "requiredParts": ["path"] };
67
+ function listOrganizationsInvitations(input) {
68
+ return new __Action({
69
+ systemId: "conn_mod_def::GJ1CrwGVGPc::iCSSDkL-TDCJM1l0f50MmA",
70
+ method: "GET",
71
+ path: "/organizations/{{uuid}}/invitations",
72
+ ...__routeInput(input, __listOrganizationsInvitationsRouting, { "headers": { "Accept": "application/json" } })
73
+ });
74
+ }
75
+ var __listOrganizationMembershipsRouting = { "routes": [["count", "query"], ["email", "query"], ["organization", "query"], ["page_token", "query"], ["role", "query"], ["user", "query"]], "requiredParts": [] };
76
+ function listOrganizationMemberships(input) {
77
+ return new __Action({
78
+ systemId: "conn_mod_def::GJ1Cr4r8rq8::YAUK1kD2Qzumu3B456Vd5g",
79
+ method: "GET",
80
+ path: "/organization_memberships",
81
+ ...__routeInput(input, __listOrganizationMembershipsRouting, { "headers": { "Accept": "application/json" } })
82
+ });
83
+ }
84
+ var __listOutgoingCommunicationsRouting = { "routes": [["count", "query"], ["max_created_at", "query"], ["min_created_at", "query"], ["organization", "query"], ["page_token", "query"]], "requiredParts": ["query"] };
85
+ function listOutgoingCommunications(input) {
86
+ return new __Action({
87
+ systemId: "conn_mod_def::GJ1CsSVGpG8::br6rNtsmR6iCEM41ZeblrA",
88
+ method: "GET",
89
+ path: "/outgoing_communications",
90
+ ...__routeInput(input, __listOutgoingCommunicationsRouting, { "headers": { "Accept": "application/json" } })
91
+ });
92
+ }
93
+ var __getRoutingFormRouting = { "routes": [["uuid", "path"]], "requiredParts": ["path"] };
94
+ function getRoutingForm(input) {
95
+ return new __Action({
96
+ systemId: "conn_mod_def::GJ1CsZT1sg0::-Q0FzyDhS5WQdbZwIO1jrw",
97
+ method: "GET",
98
+ path: "/routing_forms/{{uuid}}",
99
+ ...__routeInput(input, __getRoutingFormRouting, { "headers": { "Accept": "application/json" } })
100
+ });
101
+ }
102
+ var __getRoutingFormSubmissionRouting = { "routes": [["uuid", "path"]], "requiredParts": ["path"] };
103
+ function getRoutingFormSubmission(input) {
104
+ return new __Action({
105
+ systemId: "conn_mod_def::GJ1CsfjsWpk::_PunOXueTwaxNIgt9iJJcg",
106
+ method: "GET",
107
+ path: "/routing_form_submissions/{{uuid}}",
108
+ ...__routeInput(input, __getRoutingFormSubmissionRouting, { "headers": { "Accept": "application/json" } })
109
+ });
110
+ }
111
+ var __listActivityLogEntriesEnterpriseRouting = { "routes": [["action", "query"], ["actor", "query"], ["count", "query"], ["max_occurred_at", "query"], ["min_occurred_at", "query"], ["namespace", "query"], ["organization", "query"], ["page_token", "query"], ["search_term", "query"], ["sort", "query"]], "requiredParts": ["query"] };
112
+ function listActivityLogEntriesEnterprise(input) {
113
+ return new __Action({
114
+ systemId: "conn_mod_def::GJ1ColBY1Ao::cBDk1M3xTM-YQvMgoKL57A",
115
+ method: "GET",
116
+ path: "/activity_log_entries",
117
+ ...__routeInput(input, __listActivityLogEntriesEnterpriseRouting, { "headers": { "Accept": "application/json" } })
118
+ });
119
+ }
120
+ var __listEventTypeAvailabilitySchedulesRouting = { "routes": [["event_type", "query"]], "requiredParts": ["query"] };
121
+ function listEventTypeAvailabilitySchedules(input) {
122
+ return new __Action({
123
+ systemId: "conn_mod_def::GJ1Co1GCO9s::no4shBakTOer-R-GrJMA1A",
124
+ method: "GET",
125
+ path: "/event_type_availability_schedules",
126
+ ...__routeInput(input, __listEventTypeAvailabilitySchedulesRouting, { "headers": { "Accept": "application/json" } })
127
+ });
128
+ }
129
+ var __listUsersAvailabilitySchedulesRouting = { "routes": [["user", "query"]], "requiredParts": ["query"] };
130
+ function listUsersAvailabilitySchedules(input) {
131
+ return new __Action({
132
+ systemId: "conn_mod_def::GJ1Co_Efz7c::Lv7iYB6kRfmbKVZ7DPX7Hw",
133
+ method: "GET",
134
+ path: "/user_availability_schedules",
135
+ ...__routeInput(input, __listUsersAvailabilitySchedulesRouting, { "headers": { "Accept": "application/json" } })
136
+ });
137
+ }
138
+ var __listUsersBusyTimesRouting = { "routes": [["end_time", "query"], ["start_time", "query"], ["user", "query"]], "requiredParts": ["query"] };
139
+ function listUsersBusyTimes(input) {
140
+ return new __Action({
141
+ systemId: "conn_mod_def::GJ1CpK9QsPs::CJBtwzzASTuvA6EZ2c-hHQ",
142
+ method: "GET",
143
+ path: "/user_busy_times",
144
+ ...__routeInput(input, __listUsersBusyTimesRouting, { "headers": { "Accept": "application/json" } })
145
+ });
146
+ }
147
+ var __updateEventTypeAvailabilityScheduleRouting = { "routes": [["availability_rule", "body"], ["availability_setting", "body"], ["user", "body"], ["event_type", "query"]], "requiredParts": ["body", "query"] };
148
+ function updateEventTypeAvailabilitySchedule(input) {
149
+ return new __Action({
150
+ systemId: "conn_mod_def::GJ1CpTERmXM::Aw3-N2DmQ_u6zjH5gsHayg",
151
+ method: "PATCH",
152
+ path: "/event_type_availability_schedules",
153
+ ...__routeInput(input, __updateEventTypeAvailabilityScheduleRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
154
+ });
155
+ }
156
+ var __createOneOffEventTypeRouting = { "routes": [["co_hosts", "body"], ["date_setting", "body"], ["duration", "body"], ["host", "body"], ["location", "body"], ["name", "body"], ["timezone", "body"]], "requiredParts": ["body"] };
157
+ function createOneOffEventType(input) {
158
+ return new __Action({
159
+ systemId: "conn_mod_def::GJ1CpwOLsrU::PIbLJ4AGSYeaPd7mI1rg_Q",
160
+ method: "POST",
161
+ path: "/one_off_event_types",
162
+ ...__routeInput(input, __createOneOffEventTypeRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
163
+ });
164
+ }
165
+ var __getEventTypeRouting = { "routes": [["uuid", "path"]], "requiredParts": ["path"] };
166
+ function getEventType(input) {
167
+ return new __Action({
168
+ systemId: "conn_mod_def::GJ1Cp55vpos::83I-hRC3SbmS-toxdNhBFA",
169
+ method: "GET",
170
+ path: "/event_types/{{uuid}}",
171
+ ...__routeInput(input, __getEventTypeRouting, { "headers": { "Accept": "application/json" } })
172
+ });
173
+ }
174
+ var __listEventTypesAvailableTimesRouting = { "routes": [["end_time", "query"], ["event_type", "query"], ["start_time", "query"]], "requiredParts": ["query"] };
175
+ function listEventTypesAvailableTimes(input) {
176
+ return new __Action({
177
+ systemId: "conn_mod_def::GJ1CqCc6SUg::370RziS-S6yHQGawV39fRg",
178
+ method: "GET",
179
+ path: "/event_type_available_times",
180
+ ...__routeInput(input, __listEventTypesAvailableTimesRouting, { "headers": { "Accept": "application/json" } })
181
+ });
182
+ }
183
+ var __listUsersEventTypesRouting = { "routes": [["query", "query", null]], "requiredParts": [] };
184
+ function listUsersEventTypes(input) {
185
+ return new __Action({
186
+ systemId: "conn_mod_def::GJ1CqXgQaDM::Axz-At86SF-Z9PH0cP-x7Q",
187
+ method: "GET",
188
+ path: "/event_types",
189
+ ...__routeInput(input, __listUsersEventTypesRouting, { "headers": { "Accept": "application/json" } })
190
+ });
191
+ }
192
+ var __updateEventTypeRouting = { "routes": [["active", "body"], ["color", "body"], ["description", "body"], ["duration", "body"], ["duration_options", "body"], ["locale", "body"], ["locations", "body"], ["name", "body"], ["uuid", "path"]], "requiredParts": ["body", "path"] };
193
+ function updateEventType(input) {
194
+ return new __Action({
195
+ systemId: "conn_mod_def::GJ1CqezM_nY::U6YKcUUsThSMt0DrlqKzJQ",
196
+ method: "PATCH",
197
+ path: "/event_types/{{uuid}}",
198
+ ...__routeInput(input, __updateEventTypeRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
199
+ });
200
+ }
201
+ var __getGroupRouting = { "routes": [["uuid", "path"]], "requiredParts": ["path"] };
202
+ function getGroup(input) {
203
+ return new __Action({
204
+ systemId: "conn_mod_def::GJ1CqmANPAg::3JgeMHbRQuG5vZJIPa7RJQ",
205
+ method: "GET",
206
+ path: "/groups/{{uuid}}",
207
+ ...__routeInput(input, __getGroupRouting, { "headers": { "Accept": "application/json" } })
208
+ });
209
+ }
210
+ var __listRoutingFormSubmissionsRouting = { "routes": [["count", "query"], ["form", "query"], ["page_token", "query"], ["sort", "query"]], "requiredParts": ["query"] };
211
+ function listRoutingFormSubmissions(input) {
212
+ return new __Action({
213
+ systemId: "conn_mod_def::GJ1CsnYWyK0::KN7FKUJAT6CYPRn2KSTqeg",
214
+ method: "GET",
215
+ path: "/routing_form_submissions",
216
+ ...__routeInput(input, __listRoutingFormSubmissionsRouting, { "headers": { "Accept": "application/json" } })
217
+ });
218
+ }
219
+ var __listOrganizationsRoutingFormsRouting = { "routes": [["count", "query"], ["organization", "query"], ["page_token", "query"], ["sort", "query"]], "requiredParts": ["query"] };
220
+ function listOrganizationsRoutingForms(input) {
221
+ return new __Action({
222
+ systemId: "conn_mod_def::GJ1CswXpwJg::TmSe5P6iSS6FH8oLqLgoGg",
223
+ method: "GET",
224
+ path: "/routing_forms",
225
+ ...__routeInput(input, __listOrganizationsRoutingFormsRouting, { "headers": { "Accept": "application/json" } })
226
+ });
227
+ }
228
+ var __cancelScheduledEventCreateCancellationRouting = { "routes": [["reason", "body"], ["uuid", "path"]], "requiredParts": ["body", "path"] };
229
+ function cancelScheduledEventCreateCancellation(input) {
230
+ return new __Action({
231
+ systemId: "conn_mod_def::GJ1Cs6oD7tM::ESurb0t5QuSN6iUjkbEqpQ",
232
+ method: "POST",
233
+ path: "/scheduled_events/{{uuid}}/cancellation",
234
+ ...__routeInput(input, __cancelScheduledEventCreateCancellationRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
235
+ });
236
+ }
237
+ var __createEventInviteeRouting = { "routes": [["booking_source", "body"], ["event_guests", "body"], ["event_type", "body"], ["invitee", "body"], ["location", "body"], ["questions_and_answers", "body"], ["start_time", "body"], ["tracking", "body"]], "requiredParts": ["body"] };
238
+ function createEventInvitee(input) {
239
+ return new __Action({
240
+ systemId: "conn_mod_def::GJ1CtE8F3hM::zxTv83Y0Tdi7FFCPiRtdGw",
241
+ method: "POST",
242
+ path: "/invitees",
243
+ ...__routeInput(input, __createEventInviteeRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
244
+ });
245
+ }
246
+ var __createInviteeNoShowRouting = { "routes": [["invitee", "body"], ["headers", "headers", null]], "requiredParts": ["body"] };
247
+ function createInviteeNoShow(input) {
248
+ return new __Action({
249
+ systemId: "conn_mod_def::GJ1CtM_7S6o::sp-T-q1RS0is_jtSaMt94g",
250
+ method: "POST",
251
+ path: "/invitee_no_shows",
252
+ ...__routeInput(input, __createInviteeNoShowRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
253
+ });
254
+ }
255
+ var __deleteInviteeNoShowRouting = { "routes": [["uuid", "path"]], "requiredParts": ["path"] };
256
+ function deleteInviteeNoShow(input) {
257
+ return new __Action({
258
+ systemId: "conn_mod_def::GJ1CtTc4ADA::4ZXqIYCzSfewN96AAerxLg",
259
+ method: "DELETE",
260
+ path: "/invitee_no_shows/{{uuid}}",
261
+ ...__routeInput(input, __deleteInviteeNoShowRouting, { "headers": { "Accept": "application/json" } })
262
+ });
263
+ }
264
+ var __getScheduledEventRouting = { "routes": [["uuid", "path"]], "requiredParts": ["path"] };
265
+ function getScheduledEvent(input) {
266
+ return new __Action({
267
+ systemId: "conn_mod_def::GJ1Ctcepuks::DIogTZzNQjSjelZ3uUNSuw",
268
+ method: "GET",
269
+ path: "/scheduled_events/{{uuid}}",
270
+ ...__routeInput(input, __getScheduledEventRouting, { "headers": { "Accept": "application/json" } })
271
+ });
272
+ }
273
+ var __getScheduledEventsInviteeRouting = { "routes": [["eventUuid", "path"], ["inviteeUuid", "path"]], "requiredParts": ["path"] };
274
+ function getScheduledEventsInvitee(input) {
275
+ return new __Action({
276
+ systemId: "conn_mod_def::GJ1CtnX_9gs::pghFL8D4R86kfXlL3_XygA",
277
+ method: "GET",
278
+ path: "/scheduled_events/{{eventUuid}}/invitees/{{inviteeUuid}}",
279
+ ...__routeInput(input, __getScheduledEventsInviteeRouting, { "headers": { "Accept": "application/json" } })
280
+ });
281
+ }
282
+ var __getInviteeNoShowRouting = { "routes": [["uuid", "path"]], "requiredParts": ["path"] };
283
+ function getInviteeNoShow(input) {
284
+ return new __Action({
285
+ systemId: "conn_mod_def::GJ1CtuhVU2c::RyvmXnGkRhCDvrwF2qNdlw",
286
+ method: "GET",
287
+ path: "/invitee_no_shows/{{uuid}}",
288
+ ...__routeInput(input, __getInviteeNoShowRouting, { "headers": { "Accept": "application/json" } })
289
+ });
290
+ }
291
+ var __listScheduledEventsInviteesRouting = { "routes": [["uuid", "path"], ["count", "query"], ["email", "query"], ["page_token", "query"], ["sort", "query"], ["status", "query"]], "requiredParts": ["path"] };
292
+ function listScheduledEventsInvitees(input) {
293
+ return new __Action({
294
+ systemId: "conn_mod_def::GJ1Ct14BaDw::_7gdhEnERJe0AltyvEanUA",
295
+ method: "GET",
296
+ path: "/scheduled_events/{{uuid}}/invitees",
297
+ ...__routeInput(input, __listScheduledEventsInviteesRouting, { "headers": { "Accept": "application/json" } })
298
+ });
299
+ }
300
+ var __listScheduledEventsRouting = { "routes": [["count", "query"], ["group", "query"], ["invitee_email", "query"], ["max_start_time", "query"], ["min_start_time", "query"], ["organization", "query"], ["page_token", "query"], ["sort", "query"], ["status", "query"], ["user", "query"]], "requiredParts": [] };
301
+ function listScheduledEvents(input) {
302
+ return new __Action({
303
+ systemId: "conn_mod_def::GJ1Ct_k8rnk::drsZp-rYRNutesYvaXyxMQ",
304
+ method: "GET",
305
+ path: "/scheduled_events",
306
+ ...__routeInput(input, __listScheduledEventsRouting, { "headers": { "Accept": "application/json" } })
307
+ });
308
+ }
309
+ var __createSingleUseSchedulingLinkRouting = { "routes": [["owner", "body"], ["owner_type", "body"]], "requiredParts": ["body"] };
310
+ function createSingleUseSchedulingLink(input) {
311
+ return new __Action({
312
+ systemId: "conn_mod_def::GJ1CuHLdNd0::r6IHyGt4TUS4iad52JivEg",
313
+ method: "POST",
314
+ path: "/scheduling_links",
315
+ ...__routeInput(input, __createSingleUseSchedulingLinkRouting, { "body": { "max_event_count": 1 }, "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
316
+ });
317
+ }
318
+ var __createShareCustomizeOnceShareRouting = { "routes": [["availability_rule", "body"], ["duration", "body"], ["duration_options", "body"], ["end_date", "body"], ["event_type", "body"], ["hide_location", "body"], ["location_configurations", "body"], ["max_booking_time", "body"], ["name", "body"], ["period_type", "body"], ["start_date", "body"]], "requiredParts": ["body"] };
319
+ function createShareCustomizeOnceShare(input) {
320
+ return new __Action({
321
+ systemId: "conn_mod_def::GJ1CuONAy7s::QsvlUs0mQYqV7TxEFJei0w",
322
+ method: "POST",
323
+ path: "/shares",
324
+ ...__routeInput(input, __createShareCustomizeOnceShareRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
325
+ });
326
+ }
327
+ var __getCurrentUserRouting = { "routes": [], "requiredParts": [] };
328
+ function getCurrentUser(input) {
329
+ return new __Action({
330
+ systemId: "conn_mod_def::GJ1CuU4b8Vc::7IQskt_KTzKutFpBIR2Uwg",
331
+ method: "GET",
332
+ path: "/users/me",
333
+ ...__routeInput(input, __getCurrentUserRouting, { "headers": { "Accept": "application/json" } })
334
+ });
335
+ }
336
+ var __getUserRouting = { "routes": [["uuid", "path"]], "requiredParts": ["path"] };
337
+ function getUser(input) {
338
+ return new __Action({
339
+ systemId: "conn_mod_def::GJ1CubXkK_M::pP-mC7yDSA-F5AimYD0Y3Q",
340
+ method: "GET",
341
+ path: "/users/{{uuid}}",
342
+ ...__routeInput(input, __getUserRouting, { "headers": { "Accept": "application/json" } })
343
+ });
344
+ }
345
+ var __createWebhookSubscriptionRouting = { "routes": [["events", "body"], ["group", "body"], ["organization", "body"], ["scope", "body"], ["signing_key", "body"], ["url", "body"], ["user", "body"]], "requiredParts": ["body"] };
346
+ function createWebhookSubscription(input) {
347
+ return new __Action({
348
+ systemId: "conn_mod_def::GJ1Cui4-9r4::CdpG264lRFiyw1BO2XSeIg",
349
+ method: "POST",
350
+ path: "/webhook_subscriptions",
351
+ ...__routeInput(input, __createWebhookSubscriptionRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
352
+ });
353
+ }
354
+ var __deleteWebhookSubscriptionRouting = { "routes": [["webhookUuid", "path"]], "requiredParts": ["path"] };
355
+ function deleteWebhookSubscription(input) {
356
+ return new __Action({
357
+ systemId: "conn_mod_def::GJ1CuqczQGk::-WMp0d0TRzOOyLXP34xKyA",
358
+ method: "DELETE",
359
+ path: "/webhook_subscriptions/{{webhookUuid}}",
360
+ ...__routeInput(input, __deleteWebhookSubscriptionRouting, { "headers": { "Accept": "application/json" } })
361
+ });
362
+ }
363
+ var __getSampleWebhookDataRouting = { "routes": [["event", "query"], ["group", "query"], ["organization", "query"], ["scope", "query"], ["user", "query"]], "requiredParts": ["query"] };
364
+ function getSampleWebhookData(input) {
365
+ return new __Action({
366
+ systemId: "conn_mod_def::GJ1Cuzindbs::VrYzSPP_THaaHD4iMjKpLQ",
367
+ method: "GET",
368
+ path: "/sample_webhook_data",
369
+ ...__routeInput(input, __getSampleWebhookDataRouting, { "headers": { "Accept": "application/json" } })
370
+ });
371
+ }
372
+ var __getWebhookSubscriptionRouting = { "routes": [["webhookUuid", "path"]], "requiredParts": ["path"] };
373
+ function getWebhookSubscription(input) {
374
+ return new __Action({
375
+ systemId: "conn_mod_def::GJ1Cu7eKMu8::5F7w7A86QXe2U54MGsbwEw",
376
+ method: "GET",
377
+ path: "/webhook_subscriptions/{{webhookUuid}}",
378
+ ...__routeInput(input, __getWebhookSubscriptionRouting, { "headers": { "Accept": "application/json" } })
379
+ });
380
+ }
381
+ var __listWebhookSubscriptionsRouting = { "routes": [["query", "query", null]], "requiredParts": [] };
382
+ function listWebhookSubscriptions(input) {
383
+ return new __Action({
384
+ systemId: "conn_mod_def::GJ1CvC9kza0::mNaO5hyxRgufjV9ngpJiwg",
385
+ method: "GET",
386
+ path: "/webhook_subscriptions",
387
+ ...__routeInput(input, __listWebhookSubscriptionsRouting, { "headers": { "Accept": "application/json" } })
388
+ });
389
+ }
390
+ var __deleteInviteeDataOrganizationWideRouting = { "routes": [["emails", "body"]], "requiredParts": ["body"] };
391
+ function deleteInviteeDataOrganizationWide(input) {
392
+ return new __Action({
393
+ systemId: "conn_mod_def::GJ1CpaySjns::xDQD0F2hRaWUUk1oFV9owA",
394
+ method: "POST",
395
+ path: "/data_compliance/deletion/invitees",
396
+ ...__routeInput(input, __deleteInviteeDataOrganizationWideRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
397
+ });
398
+ }
399
+ var __removeUserFromOrganizationMembershipUuidRouting = { "routes": [["uuid", "path"]], "requiredParts": ["path"] };
400
+ function removeUserFromOrganizationMembershipUuid(input) {
401
+ return new __Action({
402
+ systemId: "conn_mod_def::GJ1Cr_puMGc::XUf33mI6S-K9ZZZOqWZCqA",
403
+ method: "DELETE",
404
+ path: "/organization_memberships/{{uuid}}",
405
+ ...__routeInput(input, __removeUserFromOrganizationMembershipUuidRouting, { "headers": { "Accept": "application/json" } })
406
+ });
407
+ }
408
+ var __getUserAvailabilityScheduleRouting = { "routes": [["uuid", "path"]], "requiredParts": ["path"] };
409
+ function getUserAvailabilitySchedule(input) {
410
+ return new __Action({
411
+ systemId: "conn_mod_def::GJ1CosBOAfg::YN0iRMfKQquTscJy0r8ZwA",
412
+ method: "GET",
413
+ path: "/user_availability_schedules/{{uuid}}",
414
+ ...__routeInput(input, __getUserAvailabilityScheduleRouting, { "headers": { "Accept": "application/json" } })
415
+ });
416
+ }
417
+ var __deleteScheduledEventDataDataComplianceRouting = { "routes": [["end_time", "body"], ["start_time", "body"]], "requiredParts": ["body"] };
418
+ function deleteScheduledEventDataDataCompliance(input) {
419
+ return new __Action({
420
+ systemId: "conn_mod_def::GJ1CpiFZPjA::dxHlXcXGSMapKR2L4iWMPg",
421
+ method: "POST",
422
+ path: "/data_compliance/deletion/events",
423
+ ...__routeInput(input, __deleteScheduledEventDataDataComplianceRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
424
+ });
425
+ }
426
+ var __createEventTypeRouting = { "routes": [["active", "body"], ["color", "body"], ["description", "body"], ["duration", "body"], ["duration_options", "body"], ["locale", "body"], ["locations", "body"], ["name", "body"], ["owner", "body"]], "requiredParts": ["body"] };
427
+ function createEventType(input) {
428
+ return new __Action({
429
+ systemId: "conn_mod_def::GJ1CppwO9yE::rkpPoQD3QdyIqQds80y1jA",
430
+ method: "POST",
431
+ path: "/event_types",
432
+ ...__routeInput(input, __createEventTypeRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
433
+ });
434
+ }
435
+ var __listEventTypeHostsEventTypeMembershipsRouting = { "routes": [["count", "query"], ["event_type", "query"], ["page_token", "query"]], "requiredParts": ["query"] };
436
+ function listEventTypeHostsEventTypeMemberships(input) {
437
+ return new __Action({
438
+ systemId: "conn_mod_def::GJ1CqNWHm20::WDqcsuxLTLmsV8CWZgWndA",
439
+ method: "GET",
440
+ path: "/event_type_memberships",
441
+ ...__routeInput(input, __listEventTypeHostsEventTypeMembershipsRouting, { "headers": { "Accept": "application/json" } })
442
+ });
443
+ }
444
+ var __getGroupRelationshipRouting = { "routes": [["uuid", "path"]], "requiredParts": ["path"] };
445
+ function getGroupRelationship(input) {
446
+ return new __Action({
447
+ systemId: "conn_mod_def::GJ1Cqs9yKa8::KgfDQUBoSv2gVrRYi3GJEg",
448
+ method: "GET",
449
+ path: "/group_relationships/{{uuid}}",
450
+ ...__routeInput(input, __getGroupRelationshipRouting, { "headers": { "Accept": "application/json" } })
451
+ });
452
+ }
453
+ var __listGroupRelationshipsRouting = { "routes": [["count", "query"], ["group", "query"], ["organization", "query"], ["owner", "query"], ["page_token", "query"]], "requiredParts": [] };
454
+ function listGroupRelationships(input) {
455
+ return new __Action({
456
+ systemId: "conn_mod_def::GJ1Cq7S-ysE::Rhjo1vHYRiWnoMLwnKOPuQ",
457
+ method: "GET",
458
+ path: "/group_relationships",
459
+ ...__routeInput(input, __listGroupRelationshipsRouting, { "headers": { "Accept": "application/json" } })
460
+ });
461
+ }
462
+ var __listGroupsRouting = { "routes": [["count", "query"], ["organization", "query"], ["page_token", "query"]], "requiredParts": ["query"] };
463
+ function listGroups(input) {
464
+ return new __Action({
465
+ systemId: "conn_mod_def::GJ1CrChl3YM::xs-05bu6S3Og9p7OSViIcQ",
466
+ method: "GET",
467
+ path: "/groups",
468
+ ...__routeInput(input, __listGroupsRouting, { "headers": { "Accept": "application/json" } })
469
+ });
470
+ }
471
+ var __listUsersMeetingLocationsRouting = { "routes": [["user", "query"]], "requiredParts": ["query"] };
472
+ function listUsersMeetingLocations(input) {
473
+ return new __Action({
474
+ systemId: "conn_mod_def::GJ1CrJZyUIM::EY62Vum4SRmst40YOPw2Bw",
475
+ method: "GET",
476
+ path: "/locations",
477
+ ...__routeInput(input, __listUsersMeetingLocationsRouting, { "headers": { "Accept": "application/json" } })
478
+ });
479
+ }
480
+ var __getOrganizationRouting = { "routes": [["uuid", "path"]], "requiredParts": ["path"] };
481
+ function getOrganization(input) {
482
+ return new __Action({
483
+ systemId: "conn_mod_def::GJ1CrQ_lzFI::1kwd8uLtQMqwnl66vER7NA",
484
+ method: "GET",
485
+ path: "/organizations/{{uuid}}",
486
+ ...__routeInput(input, __getOrganizationRouting, { "headers": { "Accept": "application/json" } })
487
+ });
488
+ }
489
+ var __revokeOrganizationInvitationRouting = { "routes": [["orgUuid", "path"], ["uuid", "path"], ["headers", "headers", null]], "requiredParts": ["path"] };
490
+ function revokeOrganizationInvitation(input) {
491
+ return new __Action({
492
+ systemId: "conn_mod_def::GJ1CsHEZVAI::smguUEotThiTdixfTpzUSQ",
493
+ method: "DELETE",
494
+ path: "/organizations/{{orgUuid}}/invitations/{{uuid}}",
495
+ ...__routeInput(input, __revokeOrganizationInvitationRouting, { "headers": { "Accept": "application/json", "Content-Type": "application/json" } })
496
+ });
497
+ }
498
+ var __getTeamRouting = { "routes": [["teamUuid", "path"]], "requiredParts": ["path"] };
499
+ function getTeam(input) {
500
+ return new __Action({
501
+ systemId: "conn_mod_def::GOR8h__UWiA::_FnhWAO0Ti6XSdtLHbK3cw",
502
+ method: "GET",
503
+ path: "/teams/{{teamUuid}}",
504
+ ...__routeInput(input, __getTeamRouting)
505
+ });
506
+ }
507
+ var __getContactRouting = { "routes": [["uuid", "path"], ["exclude", "query"]], "requiredParts": ["path"] };
508
+ function getContact(input) {
509
+ return new __Action({
510
+ systemId: "conn_mod_def::GOR8ht3LNOA::9LkdNOgGQOCZmVZxxhrv5A",
511
+ method: "GET",
512
+ path: "/contacts/{{uuid}}",
513
+ ...__routeInput(input, __getContactRouting)
514
+ });
515
+ }
516
+ var __listContactCustomFieldDefinitionsRouting = { "routes": [], "requiredParts": [] };
517
+ function listContactCustomFieldDefinitions(input) {
518
+ return new __Action({
519
+ systemId: "conn_mod_def::GOR8hshNveA::d7TPMSZdROq8qhpLZ6QIiw",
520
+ method: "GET",
521
+ path: "/contacts/custom_field_definitions",
522
+ ...__routeInput(input, __listContactCustomFieldDefinitionsRouting)
523
+ });
524
+ }
525
+ var __getMeetingRecapRouting = { "routes": [["uuid", "path"]], "requiredParts": ["path"] };
526
+ function getMeetingRecap(input) {
527
+ return new __Action({
528
+ systemId: "conn_mod_def::GOR8h3LSjvg::V5ObQx_1SrqgpqT37JFHsg",
529
+ method: "GET",
530
+ path: "/meeting_recaps/{{uuid}}",
531
+ ...__routeInput(input, __getMeetingRecapRouting)
532
+ });
533
+ }
534
+ var __getContactCustomFieldDefinitionRouting = { "routes": [["uuid", "path"]], "requiredParts": ["path"] };
535
+ function getContactCustomFieldDefinition(input) {
536
+ return new __Action({
537
+ systemId: "conn_mod_def::GOR8huDei3g::KJ6zAQe_R1iQu2QaNJvShQ",
538
+ method: "GET",
539
+ path: "/contacts/custom_field_definitions/{{uuid}}",
540
+ ...__routeInput(input, __getContactCustomFieldDefinitionRouting)
541
+ });
542
+ }
543
+ var __getMeetingRecapTranscriptRouting = { "routes": [["uuid", "path"]], "requiredParts": ["path"] };
544
+ function getMeetingRecapTranscript(input) {
545
+ return new __Action({
546
+ systemId: "conn_mod_def::GOR8h30pfEA::icA9lHxTTmCSi3XlBaNvdw",
547
+ method: "GET",
548
+ path: "/meeting_recaps/{{uuid}}/transcript",
549
+ ...__routeInput(input, __getMeetingRecapTranscriptRouting)
550
+ });
551
+ }
552
+ var __createContactRouting = { "routes": [["city", "body"], ["company", "body"], ["country", "body"], ["custom_fields", "body"], ["emails", "body"], ["job_title", "body"], ["linkedin", "body"], ["name", "body"], ["phone_numbers", "body"], ["state", "body"], ["timezone", "body"]], "requiredParts": ["body"] };
553
+ function createContact(input) {
554
+ return new __Action({
555
+ systemId: "conn_mod_def::GOR8hshHMhg::1i_hmoc3SoCPD-OYVZREbQ",
556
+ method: "POST",
557
+ path: "/contacts",
558
+ ...__routeInput(input, __createContactRouting, { "headers": { "Content-Type": "application/json" } })
559
+ });
560
+ }
561
+ var __deleteMeetingRecapRouting = { "routes": [["uuid", "path"]], "requiredParts": ["path"] };
562
+ function deleteMeetingRecap(input) {
563
+ return new __Action({
564
+ systemId: "conn_mod_def::GOR8h3gM8-A::wRst5oALRXC5XzVMrhzM6g",
565
+ method: "DELETE",
566
+ path: "/meeting_recaps/{{uuid}}",
567
+ ...__routeInput(input, __deleteMeetingRecapRouting)
568
+ });
569
+ }
570
+ var __deleteContactRouting = { "routes": [["uuid", "path"]], "requiredParts": ["path"] };
571
+ function deleteContact(input) {
572
+ return new __Action({
573
+ systemId: "conn_mod_def::GOR8hvnhNYA::yrOUOirlTEW2IF8X-3B_3g",
574
+ method: "DELETE",
575
+ path: "/contacts/{{uuid}}",
576
+ ...__routeInput(input, __deleteContactRouting)
577
+ });
578
+ }
579
+ var __updateContactRouting = { "routes": [["city", "body"], ["company", "body"], ["country", "body"], ["custom_fields", "body"], ["emails", "body"], ["job_title", "body"], ["linkedin", "body"], ["name", "body"], ["phone_numbers", "body"], ["state", "body"], ["timezone", "body"], ["uuid", "path"]], "requiredParts": ["body", "path"] };
580
+ function updateContact(input) {
581
+ return new __Action({
582
+ systemId: "conn_mod_def::GOR8h34PvZA::Wa0QDaX9QbSjOudDaM0-_g",
583
+ method: "PATCH",
584
+ path: "/contacts/{{uuid}}",
585
+ ...__routeInput(input, __updateContactRouting, { "headers": { "Content-Type": "application/json" } })
586
+ });
587
+ }
588
+ var __listContactsRouting = { "routes": [["city", "query"], ["company", "query"], ["count", "query"], ["country", "query"], ["email", "query"], ["exclude", "query"], ["job_title", "query"], ["name", "query"], ["page_token", "query"], ["phone_number", "query"], ["sort", "query"], ["state", "query"], ["timezone", "query"]], "requiredParts": [] };
589
+ function listContacts(input) {
590
+ return new __Action({
591
+ systemId: "conn_mod_def::GOR8h4jpDcA::ckixgkgySKeNqAUonZV0Xw",
592
+ method: "GET",
593
+ path: "/contacts",
594
+ ...__routeInput(input, __listContactsRouting)
595
+ });
596
+ }
597
+ var __listTeamsRouting = { "routes": [["count", "query"], ["page_token", "query"], ["user", "query"]], "requiredParts": [] };
598
+ function listTeams(input) {
599
+ return new __Action({
600
+ systemId: "conn_mod_def::GOR8iA1HaAA::jDmqa7swSGKmJ7KYXBrabw",
601
+ method: "GET",
602
+ path: "/teams",
603
+ ...__routeInput(input, __listTeamsRouting)
604
+ });
605
+ }
606
+ var __updateMeetingRecapRouting = { "routes": [["action_items_md", "body"], ["discussion_md", "body"], ["summary_md", "body"], ["uuid", "path"]], "requiredParts": ["body", "path"] };
607
+ function updateMeetingRecap(input) {
608
+ return new __Action({
609
+ systemId: "conn_mod_def::GOR8h__C3ZA::8X03zC2VRE63pUeh4yBFvA",
610
+ method: "PATCH",
611
+ path: "/meeting_recaps/{{uuid}}",
612
+ ...__routeInput(input, __updateMeetingRecapRouting, { "headers": { "Content-Type": "application/json" } })
613
+ });
614
+ }
615
+ var __listMeetingRecapsRouting = { "routes": [["attendee", "query"], ["count", "query"], ["end_time", "query"], ["event", "query"], ["page_token", "query"], ["start_time", "query"], ["status", "query"]], "requiredParts": [] };
616
+ function listMeetingRecaps(input) {
617
+ return new __Action({
618
+ systemId: "conn_mod_def::GOR8iClwPPA::J2dlvve8QzeiDIc9Yi5SIA",
619
+ method: "GET",
620
+ path: "/meeting_recaps",
621
+ ...__routeInput(input, __listMeetingRecapsRouting)
622
+ });
623
+ }
624
+ export {
625
+ cancelScheduledEventCreateCancellation,
626
+ createContact,
627
+ createEventInvitee,
628
+ createEventType,
629
+ createInviteeNoShow,
630
+ createOneOffEventType,
631
+ createShareCustomizeOnceShare,
632
+ createSingleUseSchedulingLink,
633
+ createWebhookSubscription,
634
+ deleteContact,
635
+ deleteInviteeDataOrganizationWide,
636
+ deleteInviteeNoShow,
637
+ deleteMeetingRecap,
638
+ deleteScheduledEventDataDataCompliance,
639
+ deleteWebhookSubscription,
640
+ getContact,
641
+ getContactCustomFieldDefinition,
642
+ getCurrentUser,
643
+ getEvent,
644
+ getEventInvitee,
645
+ getEventInvitees,
646
+ getEventType,
647
+ getEvents,
648
+ getGroup,
649
+ getGroupRelationship,
650
+ getInviteeNoShow,
651
+ getMeetingRecap,
652
+ getMeetingRecapTranscript,
653
+ getOrganization,
654
+ getOrganizationInvitation,
655
+ getOrganizationMembership,
656
+ getRoutingForm,
657
+ getRoutingFormSubmission,
658
+ getSampleWebhookData,
659
+ getScheduledEvent,
660
+ getScheduledEventsInvitee,
661
+ getTeam,
662
+ getUser,
663
+ getUserAvailabilitySchedule,
664
+ getWebhookSubscription,
665
+ inviteUserOrganization,
666
+ listActivityLogEntriesEnterprise,
667
+ listContactCustomFieldDefinitions,
668
+ listContacts,
669
+ listEventTypeAvailabilitySchedules,
670
+ listEventTypeHostsEventTypeMemberships,
671
+ listEventTypesAvailableTimes,
672
+ listGroupRelationships,
673
+ listGroups,
674
+ listMeetingRecaps,
675
+ listOrganizationMemberships,
676
+ listOrganizationsInvitations,
677
+ listOrganizationsRoutingForms,
678
+ listOutgoingCommunications,
679
+ listRoutingFormSubmissions,
680
+ listScheduledEvents,
681
+ listScheduledEventsInvitees,
682
+ listTeams,
683
+ listUsersAvailabilitySchedules,
684
+ listUsersBusyTimes,
685
+ listUsersEventTypes,
686
+ listUsersMeetingLocations,
687
+ listWebhookSubscriptions,
688
+ removeUserFromOrganizationMembershipUuid,
689
+ revokeOrganizationInvitation,
690
+ updateContact,
691
+ updateEventType,
692
+ updateEventTypeAvailabilitySchedule,
693
+ updateMeetingRecap
694
+ };