@unified-api/typescript-sdk 2.16.0 → 2.20.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/README.md +36 -0
- package/docs/sdks/busy/README.md +88 -0
- package/docs/sdks/calendar/README.md +1800 -0
- package/docs/sdks/event/README.md +524 -0
- package/docs/sdks/link/README.md +512 -0
- package/docs/sdks/recording/README.md +171 -0
- package/funcs/busyListCalendarBusies.d.ts +14 -0
- package/funcs/busyListCalendarBusies.d.ts.map +1 -0
- package/funcs/busyListCalendarBusies.js +118 -0
- package/funcs/busyListCalendarBusies.js.map +1 -0
- package/funcs/calendarCreateCalendarCalendar.d.ts +14 -0
- package/funcs/calendarCreateCalendarCalendar.d.ts.map +1 -0
- package/funcs/calendarCreateCalendarCalendar.js +109 -0
- package/funcs/calendarCreateCalendarCalendar.js.map +1 -0
- package/funcs/calendarCreateCalendarEvent.d.ts +14 -0
- package/funcs/calendarCreateCalendarEvent.d.ts.map +1 -0
- package/funcs/calendarCreateCalendarEvent.js +109 -0
- package/funcs/calendarCreateCalendarEvent.js.map +1 -0
- package/funcs/calendarCreateCalendarLink.d.ts +14 -0
- package/funcs/calendarCreateCalendarLink.d.ts.map +1 -0
- package/funcs/calendarCreateCalendarLink.js +109 -0
- package/funcs/calendarCreateCalendarLink.js.map +1 -0
- package/funcs/calendarGetCalendarCalendar.d.ts +14 -0
- package/funcs/calendarGetCalendarCalendar.d.ts.map +1 -0
- package/funcs/calendarGetCalendarCalendar.js +112 -0
- package/funcs/calendarGetCalendarCalendar.js.map +1 -0
- package/funcs/calendarGetCalendarEvent.d.ts +14 -0
- package/funcs/calendarGetCalendarEvent.d.ts.map +1 -0
- package/funcs/calendarGetCalendarEvent.js +112 -0
- package/funcs/calendarGetCalendarEvent.js.map +1 -0
- package/funcs/calendarGetCalendarLink.d.ts +14 -0
- package/funcs/calendarGetCalendarLink.d.ts.map +1 -0
- package/funcs/calendarGetCalendarLink.js +112 -0
- package/funcs/calendarGetCalendarLink.js.map +1 -0
- package/funcs/calendarGetCalendarRecording.d.ts +14 -0
- package/funcs/calendarGetCalendarRecording.d.ts.map +1 -0
- package/funcs/calendarGetCalendarRecording.js +112 -0
- package/funcs/calendarGetCalendarRecording.js.map +1 -0
- package/funcs/calendarListCalendarBusies.d.ts +14 -0
- package/funcs/calendarListCalendarBusies.d.ts.map +1 -0
- package/funcs/calendarListCalendarBusies.js +118 -0
- package/funcs/calendarListCalendarBusies.js.map +1 -0
- package/funcs/calendarListCalendarCalendars.d.ts +14 -0
- package/funcs/calendarListCalendarCalendars.d.ts.map +1 -0
- package/funcs/calendarListCalendarCalendars.js +115 -0
- package/funcs/calendarListCalendarCalendars.js.map +1 -0
- package/funcs/calendarListCalendarEvents.d.ts +14 -0
- package/funcs/calendarListCalendarEvents.d.ts.map +1 -0
- package/funcs/calendarListCalendarEvents.js +118 -0
- package/funcs/calendarListCalendarEvents.js.map +1 -0
- package/funcs/calendarListCalendarLinks.d.ts +14 -0
- package/funcs/calendarListCalendarLinks.d.ts.map +1 -0
- package/funcs/calendarListCalendarLinks.js +115 -0
- package/funcs/calendarListCalendarLinks.js.map +1 -0
- package/funcs/calendarListCalendarRecordings.d.ts +14 -0
- package/funcs/calendarListCalendarRecordings.d.ts.map +1 -0
- package/funcs/calendarListCalendarRecordings.js +118 -0
- package/funcs/calendarListCalendarRecordings.js.map +1 -0
- package/funcs/calendarPatchCalendarCalendar.d.ts +14 -0
- package/funcs/calendarPatchCalendarCalendar.d.ts.map +1 -0
- package/funcs/calendarPatchCalendarCalendar.js +113 -0
- package/funcs/calendarPatchCalendarCalendar.js.map +1 -0
- package/funcs/calendarPatchCalendarEvent.d.ts +14 -0
- package/funcs/calendarPatchCalendarEvent.d.ts.map +1 -0
- package/funcs/calendarPatchCalendarEvent.js +113 -0
- package/funcs/calendarPatchCalendarEvent.js.map +1 -0
- package/funcs/calendarPatchCalendarLink.d.ts +14 -0
- package/funcs/calendarPatchCalendarLink.d.ts.map +1 -0
- package/funcs/calendarPatchCalendarLink.js +113 -0
- package/funcs/calendarPatchCalendarLink.js.map +1 -0
- package/funcs/calendarRemoveCalendarCalendar.d.ts +13 -0
- package/funcs/calendarRemoveCalendarCalendar.d.ts.map +1 -0
- package/funcs/calendarRemoveCalendarCalendar.js +110 -0
- package/funcs/calendarRemoveCalendarCalendar.js.map +1 -0
- package/funcs/calendarRemoveCalendarEvent.d.ts +13 -0
- package/funcs/calendarRemoveCalendarEvent.d.ts.map +1 -0
- package/funcs/calendarRemoveCalendarEvent.js +110 -0
- package/funcs/calendarRemoveCalendarEvent.js.map +1 -0
- package/funcs/calendarRemoveCalendarLink.d.ts +13 -0
- package/funcs/calendarRemoveCalendarLink.d.ts.map +1 -0
- package/funcs/calendarRemoveCalendarLink.js +110 -0
- package/funcs/calendarRemoveCalendarLink.js.map +1 -0
- package/funcs/calendarUpdateCalendarCalendar.d.ts +14 -0
- package/funcs/calendarUpdateCalendarCalendar.d.ts.map +1 -0
- package/funcs/calendarUpdateCalendarCalendar.js +113 -0
- package/funcs/calendarUpdateCalendarCalendar.js.map +1 -0
- package/funcs/calendarUpdateCalendarEvent.d.ts +14 -0
- package/funcs/calendarUpdateCalendarEvent.d.ts.map +1 -0
- package/funcs/calendarUpdateCalendarEvent.js +113 -0
- package/funcs/calendarUpdateCalendarEvent.js.map +1 -0
- package/funcs/calendarUpdateCalendarLink.d.ts +14 -0
- package/funcs/calendarUpdateCalendarLink.d.ts.map +1 -0
- package/funcs/calendarUpdateCalendarLink.js +113 -0
- package/funcs/calendarUpdateCalendarLink.js.map +1 -0
- package/funcs/eventCreateCalendarEvent.d.ts +14 -0
- package/funcs/eventCreateCalendarEvent.d.ts.map +1 -0
- package/funcs/eventCreateCalendarEvent.js +109 -0
- package/funcs/eventCreateCalendarEvent.js.map +1 -0
- package/funcs/eventGetCalendarEvent.d.ts +14 -0
- package/funcs/eventGetCalendarEvent.d.ts.map +1 -0
- package/funcs/eventGetCalendarEvent.js +112 -0
- package/funcs/eventGetCalendarEvent.js.map +1 -0
- package/funcs/eventListCalendarEvents.d.ts +14 -0
- package/funcs/eventListCalendarEvents.d.ts.map +1 -0
- package/funcs/eventListCalendarEvents.js +118 -0
- package/funcs/eventListCalendarEvents.js.map +1 -0
- package/funcs/eventPatchCalendarEvent.d.ts +14 -0
- package/funcs/eventPatchCalendarEvent.d.ts.map +1 -0
- package/funcs/eventPatchCalendarEvent.js +113 -0
- package/funcs/eventPatchCalendarEvent.js.map +1 -0
- package/funcs/eventRemoveCalendarEvent.d.ts +13 -0
- package/funcs/eventRemoveCalendarEvent.d.ts.map +1 -0
- package/funcs/eventRemoveCalendarEvent.js +110 -0
- package/funcs/eventRemoveCalendarEvent.js.map +1 -0
- package/funcs/eventUpdateCalendarEvent.d.ts +14 -0
- package/funcs/eventUpdateCalendarEvent.d.ts.map +1 -0
- package/funcs/eventUpdateCalendarEvent.js +113 -0
- package/funcs/eventUpdateCalendarEvent.js.map +1 -0
- package/funcs/linkCreateCalendarLink.d.ts +14 -0
- package/funcs/linkCreateCalendarLink.d.ts.map +1 -0
- package/funcs/linkCreateCalendarLink.js +109 -0
- package/funcs/linkCreateCalendarLink.js.map +1 -0
- package/funcs/linkGetCalendarLink.d.ts +14 -0
- package/funcs/linkGetCalendarLink.d.ts.map +1 -0
- package/funcs/linkGetCalendarLink.js +112 -0
- package/funcs/linkGetCalendarLink.js.map +1 -0
- package/funcs/linkListCalendarLinks.d.ts +14 -0
- package/funcs/linkListCalendarLinks.d.ts.map +1 -0
- package/funcs/linkListCalendarLinks.js +115 -0
- package/funcs/linkListCalendarLinks.js.map +1 -0
- package/funcs/linkPatchCalendarLink.d.ts +14 -0
- package/funcs/linkPatchCalendarLink.d.ts.map +1 -0
- package/funcs/linkPatchCalendarLink.js +113 -0
- package/funcs/linkPatchCalendarLink.js.map +1 -0
- package/funcs/linkRemoveCalendarLink.d.ts +13 -0
- package/funcs/linkRemoveCalendarLink.d.ts.map +1 -0
- package/funcs/linkRemoveCalendarLink.js +110 -0
- package/funcs/linkRemoveCalendarLink.js.map +1 -0
- package/funcs/linkUpdateCalendarLink.d.ts +14 -0
- package/funcs/linkUpdateCalendarLink.d.ts.map +1 -0
- package/funcs/linkUpdateCalendarLink.js +113 -0
- package/funcs/linkUpdateCalendarLink.js.map +1 -0
- package/funcs/recordingGetCalendarRecording.d.ts +14 -0
- package/funcs/recordingGetCalendarRecording.d.ts.map +1 -0
- package/funcs/recordingGetCalendarRecording.js +112 -0
- package/funcs/recordingGetCalendarRecording.js.map +1 -0
- package/funcs/recordingListCalendarRecordings.d.ts +14 -0
- package/funcs/recordingListCalendarRecordings.d.ts.map +1 -0
- package/funcs/recordingListCalendarRecordings.js +118 -0
- package/funcs/recordingListCalendarRecordings.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +2 -2
- package/lib/config.js +2 -2
- package/package.json +1 -1
- package/sdk/busy.d.ts +10 -0
- package/sdk/busy.d.ts.map +1 -0
- package/sdk/busy.js +19 -0
- package/sdk/busy.js.map +1 -0
- package/sdk/calendar.d.ts +90 -0
- package/sdk/calendar.d.ts.map +1 -0
- package/sdk/calendar.js +159 -0
- package/sdk/calendar.js.map +1 -0
- package/sdk/event.d.ts +24 -0
- package/sdk/event.d.ts.map +1 -1
- package/sdk/event.js +42 -0
- package/sdk/event.js.map +1 -1
- package/sdk/link.d.ts +24 -0
- package/sdk/link.d.ts.map +1 -1
- package/sdk/link.js +42 -0
- package/sdk/link.js.map +1 -1
- package/sdk/models/operations/createcalendarcalendar.d.ts +40 -0
- package/sdk/models/operations/createcalendarcalendar.d.ts.map +1 -0
- package/sdk/models/operations/createcalendarcalendar.js +75 -0
- package/sdk/models/operations/createcalendarcalendar.js.map +1 -0
- package/sdk/models/operations/createcalendarevent.d.ts +40 -0
- package/sdk/models/operations/createcalendarevent.d.ts.map +1 -0
- package/sdk/models/operations/createcalendarevent.js +75 -0
- package/sdk/models/operations/createcalendarevent.js.map +1 -0
- package/sdk/models/operations/createcalendarlink.d.ts +40 -0
- package/sdk/models/operations/createcalendarlink.d.ts.map +1 -0
- package/sdk/models/operations/createcalendarlink.js +75 -0
- package/sdk/models/operations/createcalendarlink.js.map +1 -0
- package/sdk/models/operations/getcalendarcalendar.d.ts +42 -0
- package/sdk/models/operations/getcalendarcalendar.d.ts.map +1 -0
- package/sdk/models/operations/getcalendarcalendar.js +72 -0
- package/sdk/models/operations/getcalendarcalendar.js.map +1 -0
- package/sdk/models/operations/getcalendarevent.d.ts +42 -0
- package/sdk/models/operations/getcalendarevent.d.ts.map +1 -0
- package/sdk/models/operations/getcalendarevent.js +72 -0
- package/sdk/models/operations/getcalendarevent.js.map +1 -0
- package/sdk/models/operations/getcalendarlink.d.ts +42 -0
- package/sdk/models/operations/getcalendarlink.d.ts.map +1 -0
- package/sdk/models/operations/getcalendarlink.js +72 -0
- package/sdk/models/operations/getcalendarlink.js.map +1 -0
- package/sdk/models/operations/getcalendarrecording.d.ts +42 -0
- package/sdk/models/operations/getcalendarrecording.d.ts.map +1 -0
- package/sdk/models/operations/getcalendarrecording.js +72 -0
- package/sdk/models/operations/getcalendarrecording.js.map +1 -0
- package/sdk/models/operations/getunifiedintegrationauth.d.ts +30 -0
- package/sdk/models/operations/getunifiedintegrationauth.d.ts.map +1 -1
- package/sdk/models/operations/getunifiedintegrationauth.js +10 -0
- package/sdk/models/operations/getunifiedintegrationauth.js.map +1 -1
- package/sdk/models/operations/index.d.ts +21 -0
- package/sdk/models/operations/index.d.ts.map +1 -1
- package/sdk/models/operations/index.js +21 -0
- package/sdk/models/operations/index.js.map +1 -1
- package/sdk/models/operations/listcalendarbusies.d.ts +61 -0
- package/sdk/models/operations/listcalendarbusies.d.ts.map +1 -0
- package/sdk/models/operations/listcalendarbusies.js +97 -0
- package/sdk/models/operations/listcalendarbusies.js.map +1 -0
- package/sdk/models/operations/listcalendarcalendars.d.ts +55 -0
- package/sdk/models/operations/listcalendarcalendars.d.ts.map +1 -0
- package/sdk/models/operations/listcalendarcalendars.js +85 -0
- package/sdk/models/operations/listcalendarcalendars.js.map +1 -0
- package/sdk/models/operations/listcalendarevents.d.ts +61 -0
- package/sdk/models/operations/listcalendarevents.d.ts.map +1 -0
- package/sdk/models/operations/listcalendarevents.js +97 -0
- package/sdk/models/operations/listcalendarevents.js.map +1 -0
- package/sdk/models/operations/listcalendarlinks.d.ts +55 -0
- package/sdk/models/operations/listcalendarlinks.d.ts.map +1 -0
- package/sdk/models/operations/listcalendarlinks.js +85 -0
- package/sdk/models/operations/listcalendarlinks.js.map +1 -0
- package/sdk/models/operations/listcalendarrecordings.d.ts +61 -0
- package/sdk/models/operations/listcalendarrecordings.d.ts.map +1 -0
- package/sdk/models/operations/listcalendarrecordings.js +97 -0
- package/sdk/models/operations/listcalendarrecordings.js.map +1 -0
- package/sdk/models/operations/listunifiedconnections.d.ts +3 -0
- package/sdk/models/operations/listunifiedconnections.d.ts.map +1 -1
- package/sdk/models/operations/listunifiedconnections.js +1 -0
- package/sdk/models/operations/listunifiedconnections.js.map +1 -1
- package/sdk/models/operations/listunifiedintegrations.d.ts +3 -0
- package/sdk/models/operations/listunifiedintegrations.d.ts.map +1 -1
- package/sdk/models/operations/listunifiedintegrations.js +1 -0
- package/sdk/models/operations/listunifiedintegrations.js.map +1 -1
- package/sdk/models/operations/listunifiedintegrationworkspaces.d.ts +3 -0
- package/sdk/models/operations/listunifiedintegrationworkspaces.d.ts.map +1 -1
- package/sdk/models/operations/listunifiedintegrationworkspaces.js +1 -0
- package/sdk/models/operations/listunifiedintegrationworkspaces.js.map +1 -1
- package/sdk/models/operations/patchcalendarcalendar.d.ts +45 -0
- package/sdk/models/operations/patchcalendarcalendar.d.ts.map +1 -0
- package/sdk/models/operations/patchcalendarcalendar.js +77 -0
- package/sdk/models/operations/patchcalendarcalendar.js.map +1 -0
- package/sdk/models/operations/patchcalendarevent.d.ts +45 -0
- package/sdk/models/operations/patchcalendarevent.d.ts.map +1 -0
- package/sdk/models/operations/patchcalendarevent.js +77 -0
- package/sdk/models/operations/patchcalendarevent.js.map +1 -0
- package/sdk/models/operations/patchcalendarlink.d.ts +45 -0
- package/sdk/models/operations/patchcalendarlink.d.ts.map +1 -0
- package/sdk/models/operations/patchcalendarlink.js +77 -0
- package/sdk/models/operations/patchcalendarlink.js.map +1 -0
- package/sdk/models/operations/removecalendarcalendar.d.ts +66 -0
- package/sdk/models/operations/removecalendarcalendar.d.ts.map +1 -0
- package/sdk/models/operations/removecalendarcalendar.js +105 -0
- package/sdk/models/operations/removecalendarcalendar.js.map +1 -0
- package/sdk/models/operations/removecalendarevent.d.ts +66 -0
- package/sdk/models/operations/removecalendarevent.d.ts.map +1 -0
- package/sdk/models/operations/removecalendarevent.js +105 -0
- package/sdk/models/operations/removecalendarevent.js.map +1 -0
- package/sdk/models/operations/removecalendarlink.d.ts +66 -0
- package/sdk/models/operations/removecalendarlink.d.ts.map +1 -0
- package/sdk/models/operations/removecalendarlink.js +105 -0
- package/sdk/models/operations/removecalendarlink.js.map +1 -0
- package/sdk/models/operations/updatecalendarcalendar.d.ts +45 -0
- package/sdk/models/operations/updatecalendarcalendar.d.ts.map +1 -0
- package/sdk/models/operations/updatecalendarcalendar.js +77 -0
- package/sdk/models/operations/updatecalendarcalendar.js.map +1 -0
- package/sdk/models/operations/updatecalendarevent.d.ts +45 -0
- package/sdk/models/operations/updatecalendarevent.d.ts.map +1 -0
- package/sdk/models/operations/updatecalendarevent.js +77 -0
- package/sdk/models/operations/updatecalendarevent.js.map +1 -0
- package/sdk/models/operations/updatecalendarlink.d.ts +45 -0
- package/sdk/models/operations/updatecalendarlink.d.ts.map +1 -0
- package/sdk/models/operations/updatecalendarlink.js +77 -0
- package/sdk/models/operations/updatecalendarlink.js.map +1 -0
- package/sdk/models/shared/atscandidate.d.ts +8 -0
- package/sdk/models/shared/atscandidate.d.ts.map +1 -1
- package/sdk/models/shared/atscandidate.js +8 -0
- package/sdk/models/shared/atscandidate.js.map +1 -1
- package/sdk/models/shared/atscandidateeducation.d.ts +39 -0
- package/sdk/models/shared/atscandidateeducation.d.ts.map +1 -0
- package/sdk/models/shared/atscandidateeducation.js +84 -0
- package/sdk/models/shared/atscandidateeducation.js.map +1 -0
- package/sdk/models/shared/atscandidateexperience.d.ts +35 -0
- package/sdk/models/shared/atscandidateexperience.d.ts.map +1 -0
- package/sdk/models/shared/atscandidateexperience.js +80 -0
- package/sdk/models/shared/atscandidateexperience.js.map +1 -0
- package/sdk/models/shared/calendarattendee.d.ts +66 -0
- package/sdk/models/shared/calendarattendee.d.ts.map +1 -0
- package/sdk/models/shared/calendarattendee.js +96 -0
- package/sdk/models/shared/calendarattendee.js.map +1 -0
- package/sdk/models/shared/calendarbusy.d.ts +60 -0
- package/sdk/models/shared/calendarbusy.d.ts.map +1 -0
- package/sdk/models/shared/calendarbusy.js +103 -0
- package/sdk/models/shared/calendarbusy.js.map +1 -0
- package/sdk/models/shared/calendarcalendar.d.ts +62 -0
- package/sdk/models/shared/calendarcalendar.d.ts.map +1 -0
- package/sdk/models/shared/calendarcalendar.js +107 -0
- package/sdk/models/shared/calendarcalendar.js.map +1 -0
- package/sdk/models/shared/calendarevent.d.ts +115 -0
- package/sdk/models/shared/calendarevent.d.ts.map +1 -0
- package/sdk/models/shared/calendarevent.js +163 -0
- package/sdk/models/shared/calendarevent.js.map +1 -0
- package/sdk/models/shared/calendarlink.d.ts +70 -0
- package/sdk/models/shared/calendarlink.d.ts.map +1 -0
- package/sdk/models/shared/calendarlink.js +119 -0
- package/sdk/models/shared/calendarlink.js.map +1 -0
- package/sdk/models/shared/calendarrecording.d.ts +69 -0
- package/sdk/models/shared/calendarrecording.d.ts.map +1 -0
- package/sdk/models/shared/calendarrecording.js +127 -0
- package/sdk/models/shared/calendarrecording.js.map +1 -0
- package/sdk/models/shared/calendarrecordingmedia.d.ts +43 -0
- package/sdk/models/shared/calendarrecordingmedia.d.ts.map +1 -0
- package/sdk/models/shared/calendarrecordingmedia.js +90 -0
- package/sdk/models/shared/calendarrecordingmedia.js.map +1 -0
- package/sdk/models/shared/calendarrecordingtranscript.d.ts +38 -0
- package/sdk/models/shared/calendarrecordingtranscript.d.ts.map +1 -0
- package/sdk/models/shared/calendarrecordingtranscript.js +83 -0
- package/sdk/models/shared/calendarrecordingtranscript.js.map +1 -0
- package/sdk/models/shared/index.d.ts +12 -0
- package/sdk/models/shared/index.d.ts.map +1 -1
- package/sdk/models/shared/index.js +12 -0
- package/sdk/models/shared/index.js.map +1 -1
- package/sdk/models/shared/integrationsupport.d.ts +60 -0
- package/sdk/models/shared/integrationsupport.d.ts.map +1 -1
- package/sdk/models/shared/integrationsupport.js +55 -6
- package/sdk/models/shared/integrationsupport.js.map +1 -1
- package/sdk/models/shared/propertycalendareventorganizer.d.ts +66 -0
- package/sdk/models/shared/propertycalendareventorganizer.d.ts.map +1 -0
- package/sdk/models/shared/propertycalendareventorganizer.js +96 -0
- package/sdk/models/shared/propertycalendareventorganizer.js.map +1 -0
- package/sdk/models/shared/propertycalendarrecordingtranscriptattendee.d.ts +66 -0
- package/sdk/models/shared/propertycalendarrecordingtranscriptattendee.d.ts.map +1 -0
- package/sdk/models/shared/propertycalendarrecordingtranscriptattendee.js +99 -0
- package/sdk/models/shared/propertycalendarrecordingtranscriptattendee.js.map +1 -0
- package/sdk/models/shared/propertyconnectionauth.d.ts +2 -0
- package/sdk/models/shared/propertyconnectionauth.d.ts.map +1 -1
- package/sdk/models/shared/propertyconnectionauth.js +4 -0
- package/sdk/models/shared/propertyconnectionauth.js.map +1 -1
- package/sdk/models/shared/propertyconnectioncategories.d.ts +3 -0
- package/sdk/models/shared/propertyconnectioncategories.d.ts.map +1 -1
- package/sdk/models/shared/propertyconnectioncategories.js +1 -0
- package/sdk/models/shared/propertyconnectioncategories.js.map +1 -1
- package/sdk/models/shared/propertyconnectionpermissions.d.ts +30 -0
- package/sdk/models/shared/propertyconnectionpermissions.d.ts.map +1 -1
- package/sdk/models/shared/propertyconnectionpermissions.js +10 -0
- package/sdk/models/shared/propertyconnectionpermissions.js.map +1 -1
- package/sdk/models/shared/propertyintegrationcategories.d.ts +3 -0
- package/sdk/models/shared/propertyintegrationcategories.d.ts.map +1 -1
- package/sdk/models/shared/propertyintegrationcategories.js +1 -0
- package/sdk/models/shared/propertyintegrationcategories.js.map +1 -1
- package/sdk/models/shared/webhook.d.ts +15 -0
- package/sdk/models/shared/webhook.d.ts.map +1 -1
- package/sdk/models/shared/webhook.js +5 -0
- package/sdk/models/shared/webhook.js.map +1 -1
- package/sdk/recording.d.ts +14 -0
- package/sdk/recording.d.ts.map +1 -0
- package/sdk/recording.js +26 -0
- package/sdk/recording.js.map +1 -0
- package/sdk/sdk.d.ts +13 -4
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +18 -6
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/busyListCalendarBusies.ts +172 -0
- package/src/funcs/calendarCreateCalendarCalendar.ts +164 -0
- package/src/funcs/calendarCreateCalendarEvent.ts +164 -0
- package/src/funcs/calendarCreateCalendarLink.ts +163 -0
- package/src/funcs/calendarGetCalendarCalendar.ts +169 -0
- package/src/funcs/calendarGetCalendarEvent.ts +166 -0
- package/src/funcs/calendarGetCalendarLink.ts +166 -0
- package/src/funcs/calendarGetCalendarRecording.ts +169 -0
- package/src/funcs/calendarListCalendarBusies.ts +172 -0
- package/src/funcs/calendarListCalendarCalendars.ts +170 -0
- package/src/funcs/calendarListCalendarEvents.ts +172 -0
- package/src/funcs/calendarListCalendarLinks.ts +169 -0
- package/src/funcs/calendarListCalendarRecordings.ts +173 -0
- package/src/funcs/calendarPatchCalendarCalendar.ts +170 -0
- package/src/funcs/calendarPatchCalendarEvent.ts +167 -0
- package/src/funcs/calendarPatchCalendarLink.ts +167 -0
- package/src/funcs/calendarRemoveCalendarCalendar.ts +175 -0
- package/src/funcs/calendarRemoveCalendarEvent.ts +170 -0
- package/src/funcs/calendarRemoveCalendarLink.ts +169 -0
- package/src/funcs/calendarUpdateCalendarCalendar.ts +170 -0
- package/src/funcs/calendarUpdateCalendarEvent.ts +168 -0
- package/src/funcs/calendarUpdateCalendarLink.ts +167 -0
- package/src/funcs/eventCreateCalendarEvent.ts +164 -0
- package/src/funcs/eventGetCalendarEvent.ts +166 -0
- package/src/funcs/eventListCalendarEvents.ts +172 -0
- package/src/funcs/eventPatchCalendarEvent.ts +167 -0
- package/src/funcs/eventRemoveCalendarEvent.ts +170 -0
- package/src/funcs/eventUpdateCalendarEvent.ts +168 -0
- package/src/funcs/linkCreateCalendarLink.ts +163 -0
- package/src/funcs/linkGetCalendarLink.ts +166 -0
- package/src/funcs/linkListCalendarLinks.ts +169 -0
- package/src/funcs/linkPatchCalendarLink.ts +167 -0
- package/src/funcs/linkRemoveCalendarLink.ts +169 -0
- package/src/funcs/linkUpdateCalendarLink.ts +167 -0
- package/src/funcs/recordingGetCalendarRecording.ts +169 -0
- package/src/funcs/recordingListCalendarRecordings.ts +173 -0
- package/src/lib/config.ts +2 -2
- package/src/sdk/busy.ts +25 -0
- package/src/sdk/calendar.ts +325 -0
- package/src/sdk/event.ts +90 -0
- package/src/sdk/link.ts +90 -0
- package/src/sdk/models/operations/createcalendarcalendar.ts +94 -0
- package/src/sdk/models/operations/createcalendarevent.ts +92 -0
- package/src/sdk/models/operations/createcalendarlink.ts +92 -0
- package/src/sdk/models/operations/getcalendarcalendar.ts +92 -0
- package/src/sdk/models/operations/getcalendarevent.ts +92 -0
- package/src/sdk/models/operations/getcalendarlink.ts +92 -0
- package/src/sdk/models/operations/getcalendarrecording.ts +94 -0
- package/src/sdk/models/operations/getunifiedintegrationauth.ts +10 -0
- package/src/sdk/models/operations/index.ts +21 -0
- package/src/sdk/models/operations/listcalendarbusies.ts +136 -0
- package/src/sdk/models/operations/listcalendarcalendars.ts +120 -0
- package/src/sdk/models/operations/listcalendarevents.ts +136 -0
- package/src/sdk/models/operations/listcalendarlinks.ts +118 -0
- package/src/sdk/models/operations/listcalendarrecordings.ts +138 -0
- package/src/sdk/models/operations/listunifiedconnections.ts +1 -0
- package/src/sdk/models/operations/listunifiedintegrations.ts +1 -0
- package/src/sdk/models/operations/listunifiedintegrationworkspaces.ts +1 -0
- package/src/sdk/models/operations/patchcalendarcalendar.ts +101 -0
- package/src/sdk/models/operations/patchcalendarevent.ts +99 -0
- package/src/sdk/models/operations/patchcalendarlink.ts +99 -0
- package/src/sdk/models/operations/removecalendarcalendar.ts +155 -0
- package/src/sdk/models/operations/removecalendarevent.ts +153 -0
- package/src/sdk/models/operations/removecalendarlink.ts +151 -0
- package/src/sdk/models/operations/updatecalendarcalendar.ts +101 -0
- package/src/sdk/models/operations/updatecalendarevent.ts +99 -0
- package/src/sdk/models/operations/updatecalendarlink.ts +99 -0
- package/src/sdk/models/shared/atscandidate.ts +24 -0
- package/src/sdk/models/shared/atscandidateeducation.ts +101 -0
- package/src/sdk/models/shared/atscandidateexperience.ts +93 -0
- package/src/sdk/models/shared/calendarattendee.ts +120 -0
- package/src/sdk/models/shared/calendarbusy.ts +141 -0
- package/src/sdk/models/shared/calendarcalendar.ts +153 -0
- package/src/sdk/models/shared/calendarevent.ts +246 -0
- package/src/sdk/models/shared/calendarlink.ts +167 -0
- package/src/sdk/models/shared/calendarrecording.ts +184 -0
- package/src/sdk/models/shared/calendarrecordingmedia.ts +119 -0
- package/src/sdk/models/shared/calendarrecordingtranscript.ts +105 -0
- package/src/sdk/models/shared/index.ts +12 -0
- package/src/sdk/models/shared/integrationsupport.ts +66 -0
- package/src/sdk/models/shared/propertycalendareventorganizer.ts +127 -0
- package/src/sdk/models/shared/propertycalendarrecordingtranscriptattendee.ts +139 -0
- package/src/sdk/models/shared/propertyconnectionauth.ts +6 -0
- package/src/sdk/models/shared/propertyconnectioncategories.ts +1 -0
- package/src/sdk/models/shared/propertyconnectionpermissions.ts +10 -0
- package/src/sdk/models/shared/propertyintegrationcategories.ts +1 -0
- package/src/sdk/models/shared/webhook.ts +5 -0
- package/src/sdk/recording.ts +40 -0
- package/src/sdk/sdk.ts +28 -10
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type ListCalendarRecordingsRequest = {
|
|
12
|
+
/**
|
|
13
|
+
* ID of the connection
|
|
14
|
+
*/
|
|
15
|
+
connectionId: string;
|
|
16
|
+
endLe?: string | undefined;
|
|
17
|
+
eventId?: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* Comma-delimited fields to return
|
|
20
|
+
*/
|
|
21
|
+
fields?: Array<string> | undefined;
|
|
22
|
+
limit?: number | undefined;
|
|
23
|
+
offset?: number | undefined;
|
|
24
|
+
order?: string | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* Query string to search. eg. email address or name
|
|
27
|
+
*/
|
|
28
|
+
query?: string | undefined;
|
|
29
|
+
sort?: string | undefined;
|
|
30
|
+
startGte?: string | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* Return only results whose updated date is equal or greater to this value
|
|
33
|
+
*/
|
|
34
|
+
updatedGte?: Date | undefined;
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
/** @internal */
|
|
38
|
+
export const ListCalendarRecordingsRequest$inboundSchema: z.ZodType<
|
|
39
|
+
ListCalendarRecordingsRequest,
|
|
40
|
+
z.ZodTypeDef,
|
|
41
|
+
unknown
|
|
42
|
+
> = z.object({
|
|
43
|
+
connection_id: z.string(),
|
|
44
|
+
end_le: z.string().optional(),
|
|
45
|
+
event_id: z.string().optional(),
|
|
46
|
+
fields: z.array(z.string()).optional(),
|
|
47
|
+
limit: z.number().optional(),
|
|
48
|
+
offset: z.number().optional(),
|
|
49
|
+
order: z.string().optional(),
|
|
50
|
+
query: z.string().optional(),
|
|
51
|
+
sort: z.string().optional(),
|
|
52
|
+
start_gte: z.string().optional(),
|
|
53
|
+
updated_gte: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
54
|
+
.optional(),
|
|
55
|
+
}).transform((v) => {
|
|
56
|
+
return remap$(v, {
|
|
57
|
+
"connection_id": "connectionId",
|
|
58
|
+
"end_le": "endLe",
|
|
59
|
+
"event_id": "eventId",
|
|
60
|
+
"start_gte": "startGte",
|
|
61
|
+
"updated_gte": "updatedGte",
|
|
62
|
+
});
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
/** @internal */
|
|
66
|
+
export type ListCalendarRecordingsRequest$Outbound = {
|
|
67
|
+
connection_id: string;
|
|
68
|
+
end_le?: string | undefined;
|
|
69
|
+
event_id?: string | undefined;
|
|
70
|
+
fields?: Array<string> | undefined;
|
|
71
|
+
limit?: number | undefined;
|
|
72
|
+
offset?: number | undefined;
|
|
73
|
+
order?: string | undefined;
|
|
74
|
+
query?: string | undefined;
|
|
75
|
+
sort?: string | undefined;
|
|
76
|
+
start_gte?: string | undefined;
|
|
77
|
+
updated_gte?: string | undefined;
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
/** @internal */
|
|
81
|
+
export const ListCalendarRecordingsRequest$outboundSchema: z.ZodType<
|
|
82
|
+
ListCalendarRecordingsRequest$Outbound,
|
|
83
|
+
z.ZodTypeDef,
|
|
84
|
+
ListCalendarRecordingsRequest
|
|
85
|
+
> = z.object({
|
|
86
|
+
connectionId: z.string(),
|
|
87
|
+
endLe: z.string().optional(),
|
|
88
|
+
eventId: z.string().optional(),
|
|
89
|
+
fields: z.array(z.string()).optional(),
|
|
90
|
+
limit: z.number().optional(),
|
|
91
|
+
offset: z.number().optional(),
|
|
92
|
+
order: z.string().optional(),
|
|
93
|
+
query: z.string().optional(),
|
|
94
|
+
sort: z.string().optional(),
|
|
95
|
+
startGte: z.string().optional(),
|
|
96
|
+
updatedGte: z.date().transform(v => v.toISOString()).optional(),
|
|
97
|
+
}).transform((v) => {
|
|
98
|
+
return remap$(v, {
|
|
99
|
+
connectionId: "connection_id",
|
|
100
|
+
endLe: "end_le",
|
|
101
|
+
eventId: "event_id",
|
|
102
|
+
startGte: "start_gte",
|
|
103
|
+
updatedGte: "updated_gte",
|
|
104
|
+
});
|
|
105
|
+
});
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* @internal
|
|
109
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
110
|
+
*/
|
|
111
|
+
export namespace ListCalendarRecordingsRequest$ {
|
|
112
|
+
/** @deprecated use `ListCalendarRecordingsRequest$inboundSchema` instead. */
|
|
113
|
+
export const inboundSchema = ListCalendarRecordingsRequest$inboundSchema;
|
|
114
|
+
/** @deprecated use `ListCalendarRecordingsRequest$outboundSchema` instead. */
|
|
115
|
+
export const outboundSchema = ListCalendarRecordingsRequest$outboundSchema;
|
|
116
|
+
/** @deprecated use `ListCalendarRecordingsRequest$Outbound` instead. */
|
|
117
|
+
export type Outbound = ListCalendarRecordingsRequest$Outbound;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export function listCalendarRecordingsRequestToJSON(
|
|
121
|
+
listCalendarRecordingsRequest: ListCalendarRecordingsRequest,
|
|
122
|
+
): string {
|
|
123
|
+
return JSON.stringify(
|
|
124
|
+
ListCalendarRecordingsRequest$outboundSchema.parse(
|
|
125
|
+
listCalendarRecordingsRequest,
|
|
126
|
+
),
|
|
127
|
+
);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
export function listCalendarRecordingsRequestFromJSON(
|
|
131
|
+
jsonString: string,
|
|
132
|
+
): SafeParseResult<ListCalendarRecordingsRequest, SDKValidationError> {
|
|
133
|
+
return safeParse(
|
|
134
|
+
jsonString,
|
|
135
|
+
(x) => ListCalendarRecordingsRequest$inboundSchema.parse(JSON.parse(x)),
|
|
136
|
+
`Failed to parse 'ListCalendarRecordingsRequest' from JSON`,
|
|
137
|
+
);
|
|
138
|
+
}
|
|
@@ -31,6 +31,7 @@ export const ListUnifiedIntegrationsQueryParamCategories = {
|
|
|
31
31
|
Lms: "lms",
|
|
32
32
|
Repo: "repo",
|
|
33
33
|
Metadata: "metadata",
|
|
34
|
+
Calendar: "calendar",
|
|
34
35
|
} as const;
|
|
35
36
|
export type ListUnifiedIntegrationsQueryParamCategories = ClosedEnum<
|
|
36
37
|
typeof ListUnifiedIntegrationsQueryParamCategories
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import * as shared from "../shared/index.js";
|
|
11
|
+
|
|
12
|
+
export type PatchCalendarCalendarRequest = {
|
|
13
|
+
calendarCalendar: shared.CalendarCalendar;
|
|
14
|
+
/**
|
|
15
|
+
* ID of the connection
|
|
16
|
+
*/
|
|
17
|
+
connectionId: string;
|
|
18
|
+
/**
|
|
19
|
+
* Comma-delimited fields to return
|
|
20
|
+
*/
|
|
21
|
+
fields?: Array<string> | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* ID of the Calendar
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const PatchCalendarCalendarRequest$inboundSchema: z.ZodType<
|
|
30
|
+
PatchCalendarCalendarRequest,
|
|
31
|
+
z.ZodTypeDef,
|
|
32
|
+
unknown
|
|
33
|
+
> = z.object({
|
|
34
|
+
CalendarCalendar: shared.CalendarCalendar$inboundSchema,
|
|
35
|
+
connection_id: z.string(),
|
|
36
|
+
fields: z.array(z.string()).optional(),
|
|
37
|
+
id: z.string(),
|
|
38
|
+
}).transform((v) => {
|
|
39
|
+
return remap$(v, {
|
|
40
|
+
"CalendarCalendar": "calendarCalendar",
|
|
41
|
+
"connection_id": "connectionId",
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export type PatchCalendarCalendarRequest$Outbound = {
|
|
47
|
+
CalendarCalendar: shared.CalendarCalendar$Outbound;
|
|
48
|
+
connection_id: string;
|
|
49
|
+
fields?: Array<string> | undefined;
|
|
50
|
+
id: string;
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
/** @internal */
|
|
54
|
+
export const PatchCalendarCalendarRequest$outboundSchema: z.ZodType<
|
|
55
|
+
PatchCalendarCalendarRequest$Outbound,
|
|
56
|
+
z.ZodTypeDef,
|
|
57
|
+
PatchCalendarCalendarRequest
|
|
58
|
+
> = z.object({
|
|
59
|
+
calendarCalendar: shared.CalendarCalendar$outboundSchema,
|
|
60
|
+
connectionId: z.string(),
|
|
61
|
+
fields: z.array(z.string()).optional(),
|
|
62
|
+
id: z.string(),
|
|
63
|
+
}).transform((v) => {
|
|
64
|
+
return remap$(v, {
|
|
65
|
+
calendarCalendar: "CalendarCalendar",
|
|
66
|
+
connectionId: "connection_id",
|
|
67
|
+
});
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
73
|
+
*/
|
|
74
|
+
export namespace PatchCalendarCalendarRequest$ {
|
|
75
|
+
/** @deprecated use `PatchCalendarCalendarRequest$inboundSchema` instead. */
|
|
76
|
+
export const inboundSchema = PatchCalendarCalendarRequest$inboundSchema;
|
|
77
|
+
/** @deprecated use `PatchCalendarCalendarRequest$outboundSchema` instead. */
|
|
78
|
+
export const outboundSchema = PatchCalendarCalendarRequest$outboundSchema;
|
|
79
|
+
/** @deprecated use `PatchCalendarCalendarRequest$Outbound` instead. */
|
|
80
|
+
export type Outbound = PatchCalendarCalendarRequest$Outbound;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function patchCalendarCalendarRequestToJSON(
|
|
84
|
+
patchCalendarCalendarRequest: PatchCalendarCalendarRequest,
|
|
85
|
+
): string {
|
|
86
|
+
return JSON.stringify(
|
|
87
|
+
PatchCalendarCalendarRequest$outboundSchema.parse(
|
|
88
|
+
patchCalendarCalendarRequest,
|
|
89
|
+
),
|
|
90
|
+
);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export function patchCalendarCalendarRequestFromJSON(
|
|
94
|
+
jsonString: string,
|
|
95
|
+
): SafeParseResult<PatchCalendarCalendarRequest, SDKValidationError> {
|
|
96
|
+
return safeParse(
|
|
97
|
+
jsonString,
|
|
98
|
+
(x) => PatchCalendarCalendarRequest$inboundSchema.parse(JSON.parse(x)),
|
|
99
|
+
`Failed to parse 'PatchCalendarCalendarRequest' from JSON`,
|
|
100
|
+
);
|
|
101
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import * as shared from "../shared/index.js";
|
|
11
|
+
|
|
12
|
+
export type PatchCalendarEventRequest = {
|
|
13
|
+
calendarEvent: shared.CalendarEvent;
|
|
14
|
+
/**
|
|
15
|
+
* ID of the connection
|
|
16
|
+
*/
|
|
17
|
+
connectionId: string;
|
|
18
|
+
/**
|
|
19
|
+
* Comma-delimited fields to return
|
|
20
|
+
*/
|
|
21
|
+
fields?: Array<string> | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* ID of the Event
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const PatchCalendarEventRequest$inboundSchema: z.ZodType<
|
|
30
|
+
PatchCalendarEventRequest,
|
|
31
|
+
z.ZodTypeDef,
|
|
32
|
+
unknown
|
|
33
|
+
> = z.object({
|
|
34
|
+
CalendarEvent: shared.CalendarEvent$inboundSchema,
|
|
35
|
+
connection_id: z.string(),
|
|
36
|
+
fields: z.array(z.string()).optional(),
|
|
37
|
+
id: z.string(),
|
|
38
|
+
}).transform((v) => {
|
|
39
|
+
return remap$(v, {
|
|
40
|
+
"CalendarEvent": "calendarEvent",
|
|
41
|
+
"connection_id": "connectionId",
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export type PatchCalendarEventRequest$Outbound = {
|
|
47
|
+
CalendarEvent: shared.CalendarEvent$Outbound;
|
|
48
|
+
connection_id: string;
|
|
49
|
+
fields?: Array<string> | undefined;
|
|
50
|
+
id: string;
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
/** @internal */
|
|
54
|
+
export const PatchCalendarEventRequest$outboundSchema: z.ZodType<
|
|
55
|
+
PatchCalendarEventRequest$Outbound,
|
|
56
|
+
z.ZodTypeDef,
|
|
57
|
+
PatchCalendarEventRequest
|
|
58
|
+
> = z.object({
|
|
59
|
+
calendarEvent: shared.CalendarEvent$outboundSchema,
|
|
60
|
+
connectionId: z.string(),
|
|
61
|
+
fields: z.array(z.string()).optional(),
|
|
62
|
+
id: z.string(),
|
|
63
|
+
}).transform((v) => {
|
|
64
|
+
return remap$(v, {
|
|
65
|
+
calendarEvent: "CalendarEvent",
|
|
66
|
+
connectionId: "connection_id",
|
|
67
|
+
});
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
73
|
+
*/
|
|
74
|
+
export namespace PatchCalendarEventRequest$ {
|
|
75
|
+
/** @deprecated use `PatchCalendarEventRequest$inboundSchema` instead. */
|
|
76
|
+
export const inboundSchema = PatchCalendarEventRequest$inboundSchema;
|
|
77
|
+
/** @deprecated use `PatchCalendarEventRequest$outboundSchema` instead. */
|
|
78
|
+
export const outboundSchema = PatchCalendarEventRequest$outboundSchema;
|
|
79
|
+
/** @deprecated use `PatchCalendarEventRequest$Outbound` instead. */
|
|
80
|
+
export type Outbound = PatchCalendarEventRequest$Outbound;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function patchCalendarEventRequestToJSON(
|
|
84
|
+
patchCalendarEventRequest: PatchCalendarEventRequest,
|
|
85
|
+
): string {
|
|
86
|
+
return JSON.stringify(
|
|
87
|
+
PatchCalendarEventRequest$outboundSchema.parse(patchCalendarEventRequest),
|
|
88
|
+
);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export function patchCalendarEventRequestFromJSON(
|
|
92
|
+
jsonString: string,
|
|
93
|
+
): SafeParseResult<PatchCalendarEventRequest, SDKValidationError> {
|
|
94
|
+
return safeParse(
|
|
95
|
+
jsonString,
|
|
96
|
+
(x) => PatchCalendarEventRequest$inboundSchema.parse(JSON.parse(x)),
|
|
97
|
+
`Failed to parse 'PatchCalendarEventRequest' from JSON`,
|
|
98
|
+
);
|
|
99
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
import * as shared from "../shared/index.js";
|
|
11
|
+
|
|
12
|
+
export type PatchCalendarLinkRequest = {
|
|
13
|
+
calendarLink: shared.CalendarLink;
|
|
14
|
+
/**
|
|
15
|
+
* ID of the connection
|
|
16
|
+
*/
|
|
17
|
+
connectionId: string;
|
|
18
|
+
/**
|
|
19
|
+
* Comma-delimited fields to return
|
|
20
|
+
*/
|
|
21
|
+
fields?: Array<string> | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* ID of the Link
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
/** @internal */
|
|
29
|
+
export const PatchCalendarLinkRequest$inboundSchema: z.ZodType<
|
|
30
|
+
PatchCalendarLinkRequest,
|
|
31
|
+
z.ZodTypeDef,
|
|
32
|
+
unknown
|
|
33
|
+
> = z.object({
|
|
34
|
+
CalendarLink: shared.CalendarLink$inboundSchema,
|
|
35
|
+
connection_id: z.string(),
|
|
36
|
+
fields: z.array(z.string()).optional(),
|
|
37
|
+
id: z.string(),
|
|
38
|
+
}).transform((v) => {
|
|
39
|
+
return remap$(v, {
|
|
40
|
+
"CalendarLink": "calendarLink",
|
|
41
|
+
"connection_id": "connectionId",
|
|
42
|
+
});
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
/** @internal */
|
|
46
|
+
export type PatchCalendarLinkRequest$Outbound = {
|
|
47
|
+
CalendarLink: shared.CalendarLink$Outbound;
|
|
48
|
+
connection_id: string;
|
|
49
|
+
fields?: Array<string> | undefined;
|
|
50
|
+
id: string;
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
/** @internal */
|
|
54
|
+
export const PatchCalendarLinkRequest$outboundSchema: z.ZodType<
|
|
55
|
+
PatchCalendarLinkRequest$Outbound,
|
|
56
|
+
z.ZodTypeDef,
|
|
57
|
+
PatchCalendarLinkRequest
|
|
58
|
+
> = z.object({
|
|
59
|
+
calendarLink: shared.CalendarLink$outboundSchema,
|
|
60
|
+
connectionId: z.string(),
|
|
61
|
+
fields: z.array(z.string()).optional(),
|
|
62
|
+
id: z.string(),
|
|
63
|
+
}).transform((v) => {
|
|
64
|
+
return remap$(v, {
|
|
65
|
+
calendarLink: "CalendarLink",
|
|
66
|
+
connectionId: "connection_id",
|
|
67
|
+
});
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
73
|
+
*/
|
|
74
|
+
export namespace PatchCalendarLinkRequest$ {
|
|
75
|
+
/** @deprecated use `PatchCalendarLinkRequest$inboundSchema` instead. */
|
|
76
|
+
export const inboundSchema = PatchCalendarLinkRequest$inboundSchema;
|
|
77
|
+
/** @deprecated use `PatchCalendarLinkRequest$outboundSchema` instead. */
|
|
78
|
+
export const outboundSchema = PatchCalendarLinkRequest$outboundSchema;
|
|
79
|
+
/** @deprecated use `PatchCalendarLinkRequest$Outbound` instead. */
|
|
80
|
+
export type Outbound = PatchCalendarLinkRequest$Outbound;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function patchCalendarLinkRequestToJSON(
|
|
84
|
+
patchCalendarLinkRequest: PatchCalendarLinkRequest,
|
|
85
|
+
): string {
|
|
86
|
+
return JSON.stringify(
|
|
87
|
+
PatchCalendarLinkRequest$outboundSchema.parse(patchCalendarLinkRequest),
|
|
88
|
+
);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export function patchCalendarLinkRequestFromJSON(
|
|
92
|
+
jsonString: string,
|
|
93
|
+
): SafeParseResult<PatchCalendarLinkRequest, SDKValidationError> {
|
|
94
|
+
return safeParse(
|
|
95
|
+
jsonString,
|
|
96
|
+
(x) => PatchCalendarLinkRequest$inboundSchema.parse(JSON.parse(x)),
|
|
97
|
+
`Failed to parse 'PatchCalendarLinkRequest' from JSON`,
|
|
98
|
+
);
|
|
99
|
+
}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type RemoveCalendarCalendarRequest = {
|
|
12
|
+
/**
|
|
13
|
+
* ID of the connection
|
|
14
|
+
*/
|
|
15
|
+
connectionId: string;
|
|
16
|
+
/**
|
|
17
|
+
* ID of the Calendar
|
|
18
|
+
*/
|
|
19
|
+
id: string;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export type RemoveCalendarCalendarResponse = {
|
|
23
|
+
headers: { [k: string]: Array<string> };
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
/** @internal */
|
|
27
|
+
export const RemoveCalendarCalendarRequest$inboundSchema: z.ZodType<
|
|
28
|
+
RemoveCalendarCalendarRequest,
|
|
29
|
+
z.ZodTypeDef,
|
|
30
|
+
unknown
|
|
31
|
+
> = z.object({
|
|
32
|
+
connection_id: z.string(),
|
|
33
|
+
id: z.string(),
|
|
34
|
+
}).transform((v) => {
|
|
35
|
+
return remap$(v, {
|
|
36
|
+
"connection_id": "connectionId",
|
|
37
|
+
});
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
/** @internal */
|
|
41
|
+
export type RemoveCalendarCalendarRequest$Outbound = {
|
|
42
|
+
connection_id: string;
|
|
43
|
+
id: string;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
/** @internal */
|
|
47
|
+
export const RemoveCalendarCalendarRequest$outboundSchema: z.ZodType<
|
|
48
|
+
RemoveCalendarCalendarRequest$Outbound,
|
|
49
|
+
z.ZodTypeDef,
|
|
50
|
+
RemoveCalendarCalendarRequest
|
|
51
|
+
> = z.object({
|
|
52
|
+
connectionId: z.string(),
|
|
53
|
+
id: z.string(),
|
|
54
|
+
}).transform((v) => {
|
|
55
|
+
return remap$(v, {
|
|
56
|
+
connectionId: "connection_id",
|
|
57
|
+
});
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @internal
|
|
62
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
63
|
+
*/
|
|
64
|
+
export namespace RemoveCalendarCalendarRequest$ {
|
|
65
|
+
/** @deprecated use `RemoveCalendarCalendarRequest$inboundSchema` instead. */
|
|
66
|
+
export const inboundSchema = RemoveCalendarCalendarRequest$inboundSchema;
|
|
67
|
+
/** @deprecated use `RemoveCalendarCalendarRequest$outboundSchema` instead. */
|
|
68
|
+
export const outboundSchema = RemoveCalendarCalendarRequest$outboundSchema;
|
|
69
|
+
/** @deprecated use `RemoveCalendarCalendarRequest$Outbound` instead. */
|
|
70
|
+
export type Outbound = RemoveCalendarCalendarRequest$Outbound;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function removeCalendarCalendarRequestToJSON(
|
|
74
|
+
removeCalendarCalendarRequest: RemoveCalendarCalendarRequest,
|
|
75
|
+
): string {
|
|
76
|
+
return JSON.stringify(
|
|
77
|
+
RemoveCalendarCalendarRequest$outboundSchema.parse(
|
|
78
|
+
removeCalendarCalendarRequest,
|
|
79
|
+
),
|
|
80
|
+
);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function removeCalendarCalendarRequestFromJSON(
|
|
84
|
+
jsonString: string,
|
|
85
|
+
): SafeParseResult<RemoveCalendarCalendarRequest, SDKValidationError> {
|
|
86
|
+
return safeParse(
|
|
87
|
+
jsonString,
|
|
88
|
+
(x) => RemoveCalendarCalendarRequest$inboundSchema.parse(JSON.parse(x)),
|
|
89
|
+
`Failed to parse 'RemoveCalendarCalendarRequest' from JSON`,
|
|
90
|
+
);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/** @internal */
|
|
94
|
+
export const RemoveCalendarCalendarResponse$inboundSchema: z.ZodType<
|
|
95
|
+
RemoveCalendarCalendarResponse,
|
|
96
|
+
z.ZodTypeDef,
|
|
97
|
+
unknown
|
|
98
|
+
> = z.object({
|
|
99
|
+
Headers: z.record(z.array(z.string())),
|
|
100
|
+
}).transform((v) => {
|
|
101
|
+
return remap$(v, {
|
|
102
|
+
"Headers": "headers",
|
|
103
|
+
});
|
|
104
|
+
});
|
|
105
|
+
|
|
106
|
+
/** @internal */
|
|
107
|
+
export type RemoveCalendarCalendarResponse$Outbound = {
|
|
108
|
+
Headers: { [k: string]: Array<string> };
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
/** @internal */
|
|
112
|
+
export const RemoveCalendarCalendarResponse$outboundSchema: z.ZodType<
|
|
113
|
+
RemoveCalendarCalendarResponse$Outbound,
|
|
114
|
+
z.ZodTypeDef,
|
|
115
|
+
RemoveCalendarCalendarResponse
|
|
116
|
+
> = z.object({
|
|
117
|
+
headers: z.record(z.array(z.string())),
|
|
118
|
+
}).transform((v) => {
|
|
119
|
+
return remap$(v, {
|
|
120
|
+
headers: "Headers",
|
|
121
|
+
});
|
|
122
|
+
});
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* @internal
|
|
126
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
127
|
+
*/
|
|
128
|
+
export namespace RemoveCalendarCalendarResponse$ {
|
|
129
|
+
/** @deprecated use `RemoveCalendarCalendarResponse$inboundSchema` instead. */
|
|
130
|
+
export const inboundSchema = RemoveCalendarCalendarResponse$inboundSchema;
|
|
131
|
+
/** @deprecated use `RemoveCalendarCalendarResponse$outboundSchema` instead. */
|
|
132
|
+
export const outboundSchema = RemoveCalendarCalendarResponse$outboundSchema;
|
|
133
|
+
/** @deprecated use `RemoveCalendarCalendarResponse$Outbound` instead. */
|
|
134
|
+
export type Outbound = RemoveCalendarCalendarResponse$Outbound;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
export function removeCalendarCalendarResponseToJSON(
|
|
138
|
+
removeCalendarCalendarResponse: RemoveCalendarCalendarResponse,
|
|
139
|
+
): string {
|
|
140
|
+
return JSON.stringify(
|
|
141
|
+
RemoveCalendarCalendarResponse$outboundSchema.parse(
|
|
142
|
+
removeCalendarCalendarResponse,
|
|
143
|
+
),
|
|
144
|
+
);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export function removeCalendarCalendarResponseFromJSON(
|
|
148
|
+
jsonString: string,
|
|
149
|
+
): SafeParseResult<RemoveCalendarCalendarResponse, SDKValidationError> {
|
|
150
|
+
return safeParse(
|
|
151
|
+
jsonString,
|
|
152
|
+
(x) => RemoveCalendarCalendarResponse$inboundSchema.parse(JSON.parse(x)),
|
|
153
|
+
`Failed to parse 'RemoveCalendarCalendarResponse' from JSON`,
|
|
154
|
+
);
|
|
155
|
+
}
|