@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,94 @@
|
|
|
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 GetCalendarRecordingRequest = {
|
|
12
|
+
/**
|
|
13
|
+
* ID of the connection
|
|
14
|
+
*/
|
|
15
|
+
connectionId: string;
|
|
16
|
+
/**
|
|
17
|
+
* Comma-delimited fields to return
|
|
18
|
+
*/
|
|
19
|
+
fields?: Array<string> | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* ID of the Recording
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
/** @internal */
|
|
27
|
+
export const GetCalendarRecordingRequest$inboundSchema: z.ZodType<
|
|
28
|
+
GetCalendarRecordingRequest,
|
|
29
|
+
z.ZodTypeDef,
|
|
30
|
+
unknown
|
|
31
|
+
> = z.object({
|
|
32
|
+
connection_id: z.string(),
|
|
33
|
+
fields: z.array(z.string()).optional(),
|
|
34
|
+
id: z.string(),
|
|
35
|
+
}).transform((v) => {
|
|
36
|
+
return remap$(v, {
|
|
37
|
+
"connection_id": "connectionId",
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
/** @internal */
|
|
42
|
+
export type GetCalendarRecordingRequest$Outbound = {
|
|
43
|
+
connection_id: string;
|
|
44
|
+
fields?: Array<string> | undefined;
|
|
45
|
+
id: string;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
/** @internal */
|
|
49
|
+
export const GetCalendarRecordingRequest$outboundSchema: z.ZodType<
|
|
50
|
+
GetCalendarRecordingRequest$Outbound,
|
|
51
|
+
z.ZodTypeDef,
|
|
52
|
+
GetCalendarRecordingRequest
|
|
53
|
+
> = z.object({
|
|
54
|
+
connectionId: z.string(),
|
|
55
|
+
fields: z.array(z.string()).optional(),
|
|
56
|
+
id: z.string(),
|
|
57
|
+
}).transform((v) => {
|
|
58
|
+
return remap$(v, {
|
|
59
|
+
connectionId: "connection_id",
|
|
60
|
+
});
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* @internal
|
|
65
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
66
|
+
*/
|
|
67
|
+
export namespace GetCalendarRecordingRequest$ {
|
|
68
|
+
/** @deprecated use `GetCalendarRecordingRequest$inboundSchema` instead. */
|
|
69
|
+
export const inboundSchema = GetCalendarRecordingRequest$inboundSchema;
|
|
70
|
+
/** @deprecated use `GetCalendarRecordingRequest$outboundSchema` instead. */
|
|
71
|
+
export const outboundSchema = GetCalendarRecordingRequest$outboundSchema;
|
|
72
|
+
/** @deprecated use `GetCalendarRecordingRequest$Outbound` instead. */
|
|
73
|
+
export type Outbound = GetCalendarRecordingRequest$Outbound;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function getCalendarRecordingRequestToJSON(
|
|
77
|
+
getCalendarRecordingRequest: GetCalendarRecordingRequest,
|
|
78
|
+
): string {
|
|
79
|
+
return JSON.stringify(
|
|
80
|
+
GetCalendarRecordingRequest$outboundSchema.parse(
|
|
81
|
+
getCalendarRecordingRequest,
|
|
82
|
+
),
|
|
83
|
+
);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export function getCalendarRecordingRequestFromJSON(
|
|
87
|
+
jsonString: string,
|
|
88
|
+
): SafeParseResult<GetCalendarRecordingRequest, SDKValidationError> {
|
|
89
|
+
return safeParse(
|
|
90
|
+
jsonString,
|
|
91
|
+
(x) => GetCalendarRecordingRequest$inboundSchema.parse(JSON.parse(x)),
|
|
92
|
+
`Failed to parse 'GetCalendarRecordingRequest' from JSON`,
|
|
93
|
+
);
|
|
94
|
+
}
|
|
@@ -140,6 +140,16 @@ export const Scopes = {
|
|
|
140
140
|
RepoPullrequestWrite: "repo_pullrequest_write",
|
|
141
141
|
MetadataMetadataRead: "metadata_metadata_read",
|
|
142
142
|
MetadataMetadataWrite: "metadata_metadata_write",
|
|
143
|
+
CalendarCalendarRead: "calendar_calendar_read",
|
|
144
|
+
CalendarCalendarWrite: "calendar_calendar_write",
|
|
145
|
+
CalendarEventRead: "calendar_event_read",
|
|
146
|
+
CalendarEventWrite: "calendar_event_write",
|
|
147
|
+
CalendarBusyRead: "calendar_busy_read",
|
|
148
|
+
CalendarBusyWrite: "calendar_busy_write",
|
|
149
|
+
CalendarLinkRead: "calendar_link_read",
|
|
150
|
+
CalendarLinkWrite: "calendar_link_write",
|
|
151
|
+
CalendarRecordingRead: "calendar_recording_read",
|
|
152
|
+
CalendarRecordingWrite: "calendar_recording_write",
|
|
143
153
|
} as const;
|
|
144
154
|
export type Scopes = ClosedEnum<typeof Scopes>;
|
|
145
155
|
|
|
@@ -16,6 +16,9 @@ export * from "./createatsdocument.js";
|
|
|
16
16
|
export * from "./createatsinterview.js";
|
|
17
17
|
export * from "./createatsjob.js";
|
|
18
18
|
export * from "./createatsscorecard.js";
|
|
19
|
+
export * from "./createcalendarcalendar.js";
|
|
20
|
+
export * from "./createcalendarevent.js";
|
|
21
|
+
export * from "./createcalendarlink.js";
|
|
19
22
|
export * from "./createcommercecollection.js";
|
|
20
23
|
export * from "./createcommerceinventory.js";
|
|
21
24
|
export * from "./createcommerceitem.js";
|
|
@@ -79,6 +82,10 @@ export * from "./getatsdocument.js";
|
|
|
79
82
|
export * from "./getatsinterview.js";
|
|
80
83
|
export * from "./getatsjob.js";
|
|
81
84
|
export * from "./getatsscorecard.js";
|
|
85
|
+
export * from "./getcalendarcalendar.js";
|
|
86
|
+
export * from "./getcalendarevent.js";
|
|
87
|
+
export * from "./getcalendarlink.js";
|
|
88
|
+
export * from "./getcalendarrecording.js";
|
|
82
89
|
export * from "./getcommercecollection.js";
|
|
83
90
|
export * from "./getcommerceinventory.js";
|
|
84
91
|
export * from "./getcommerceitem.js";
|
|
@@ -149,6 +156,11 @@ export * from "./listatsdocuments.js";
|
|
|
149
156
|
export * from "./listatsinterviews.js";
|
|
150
157
|
export * from "./listatsjobs.js";
|
|
151
158
|
export * from "./listatsscorecards.js";
|
|
159
|
+
export * from "./listcalendarbusies.js";
|
|
160
|
+
export * from "./listcalendarcalendars.js";
|
|
161
|
+
export * from "./listcalendarevents.js";
|
|
162
|
+
export * from "./listcalendarlinks.js";
|
|
163
|
+
export * from "./listcalendarrecordings.js";
|
|
152
164
|
export * from "./listcommercecollections.js";
|
|
153
165
|
export * from "./listcommerceinventories.js";
|
|
154
166
|
export * from "./listcommerceitems.js";
|
|
@@ -222,6 +234,9 @@ export * from "./patchatsdocument.js";
|
|
|
222
234
|
export * from "./patchatsinterview.js";
|
|
223
235
|
export * from "./patchatsjob.js";
|
|
224
236
|
export * from "./patchatsscorecard.js";
|
|
237
|
+
export * from "./patchcalendarcalendar.js";
|
|
238
|
+
export * from "./patchcalendarevent.js";
|
|
239
|
+
export * from "./patchcalendarlink.js";
|
|
225
240
|
export * from "./patchcommercecollection.js";
|
|
226
241
|
export * from "./patchcommerceinventory.js";
|
|
227
242
|
export * from "./patchcommerceitem.js";
|
|
@@ -284,6 +299,9 @@ export * from "./removeatsdocument.js";
|
|
|
284
299
|
export * from "./removeatsinterview.js";
|
|
285
300
|
export * from "./removeatsjob.js";
|
|
286
301
|
export * from "./removeatsscorecard.js";
|
|
302
|
+
export * from "./removecalendarcalendar.js";
|
|
303
|
+
export * from "./removecalendarevent.js";
|
|
304
|
+
export * from "./removecalendarlink.js";
|
|
287
305
|
export * from "./removecommercecollection.js";
|
|
288
306
|
export * from "./removecommerceinventory.js";
|
|
289
307
|
export * from "./removecommerceitem.js";
|
|
@@ -344,6 +362,9 @@ export * from "./updateatsdocument.js";
|
|
|
344
362
|
export * from "./updateatsinterview.js";
|
|
345
363
|
export * from "./updateatsjob.js";
|
|
346
364
|
export * from "./updateatsscorecard.js";
|
|
365
|
+
export * from "./updatecalendarcalendar.js";
|
|
366
|
+
export * from "./updatecalendarevent.js";
|
|
367
|
+
export * from "./updatecalendarlink.js";
|
|
347
368
|
export * from "./updatecommercecollection.js";
|
|
348
369
|
export * from "./updatecommerceinventory.js";
|
|
349
370
|
export * from "./updatecommerceitem.js";
|
|
@@ -0,0 +1,136 @@
|
|
|
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 ListCalendarBusiesRequest = {
|
|
12
|
+
calendarId?: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* ID of the connection
|
|
15
|
+
*/
|
|
16
|
+
connectionId: string;
|
|
17
|
+
endLe?: 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 ListCalendarBusiesRequest$inboundSchema: z.ZodType<
|
|
39
|
+
ListCalendarBusiesRequest,
|
|
40
|
+
z.ZodTypeDef,
|
|
41
|
+
unknown
|
|
42
|
+
> = z.object({
|
|
43
|
+
calendar_id: z.string().optional(),
|
|
44
|
+
connection_id: z.string(),
|
|
45
|
+
end_le: 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
|
+
"calendar_id": "calendarId",
|
|
58
|
+
"connection_id": "connectionId",
|
|
59
|
+
"end_le": "endLe",
|
|
60
|
+
"start_gte": "startGte",
|
|
61
|
+
"updated_gte": "updatedGte",
|
|
62
|
+
});
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
/** @internal */
|
|
66
|
+
export type ListCalendarBusiesRequest$Outbound = {
|
|
67
|
+
calendar_id?: string | undefined;
|
|
68
|
+
connection_id: string;
|
|
69
|
+
end_le?: 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 ListCalendarBusiesRequest$outboundSchema: z.ZodType<
|
|
82
|
+
ListCalendarBusiesRequest$Outbound,
|
|
83
|
+
z.ZodTypeDef,
|
|
84
|
+
ListCalendarBusiesRequest
|
|
85
|
+
> = z.object({
|
|
86
|
+
calendarId: z.string().optional(),
|
|
87
|
+
connectionId: z.string(),
|
|
88
|
+
endLe: 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
|
+
calendarId: "calendar_id",
|
|
100
|
+
connectionId: "connection_id",
|
|
101
|
+
endLe: "end_le",
|
|
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 ListCalendarBusiesRequest$ {
|
|
112
|
+
/** @deprecated use `ListCalendarBusiesRequest$inboundSchema` instead. */
|
|
113
|
+
export const inboundSchema = ListCalendarBusiesRequest$inboundSchema;
|
|
114
|
+
/** @deprecated use `ListCalendarBusiesRequest$outboundSchema` instead. */
|
|
115
|
+
export const outboundSchema = ListCalendarBusiesRequest$outboundSchema;
|
|
116
|
+
/** @deprecated use `ListCalendarBusiesRequest$Outbound` instead. */
|
|
117
|
+
export type Outbound = ListCalendarBusiesRequest$Outbound;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export function listCalendarBusiesRequestToJSON(
|
|
121
|
+
listCalendarBusiesRequest: ListCalendarBusiesRequest,
|
|
122
|
+
): string {
|
|
123
|
+
return JSON.stringify(
|
|
124
|
+
ListCalendarBusiesRequest$outboundSchema.parse(listCalendarBusiesRequest),
|
|
125
|
+
);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export function listCalendarBusiesRequestFromJSON(
|
|
129
|
+
jsonString: string,
|
|
130
|
+
): SafeParseResult<ListCalendarBusiesRequest, SDKValidationError> {
|
|
131
|
+
return safeParse(
|
|
132
|
+
jsonString,
|
|
133
|
+
(x) => ListCalendarBusiesRequest$inboundSchema.parse(JSON.parse(x)),
|
|
134
|
+
`Failed to parse 'ListCalendarBusiesRequest' from JSON`,
|
|
135
|
+
);
|
|
136
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
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 ListCalendarCalendarsRequest = {
|
|
12
|
+
/**
|
|
13
|
+
* ID of the connection
|
|
14
|
+
*/
|
|
15
|
+
connectionId: string;
|
|
16
|
+
/**
|
|
17
|
+
* Comma-delimited fields to return
|
|
18
|
+
*/
|
|
19
|
+
fields?: Array<string> | undefined;
|
|
20
|
+
limit?: number | undefined;
|
|
21
|
+
offset?: number | undefined;
|
|
22
|
+
order?: string | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* Query string to search. eg. email address or name
|
|
25
|
+
*/
|
|
26
|
+
query?: string | undefined;
|
|
27
|
+
sort?: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* Return only results whose updated date is equal or greater to this value
|
|
30
|
+
*/
|
|
31
|
+
updatedGte?: Date | undefined;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/** @internal */
|
|
35
|
+
export const ListCalendarCalendarsRequest$inboundSchema: z.ZodType<
|
|
36
|
+
ListCalendarCalendarsRequest,
|
|
37
|
+
z.ZodTypeDef,
|
|
38
|
+
unknown
|
|
39
|
+
> = z.object({
|
|
40
|
+
connection_id: z.string(),
|
|
41
|
+
fields: z.array(z.string()).optional(),
|
|
42
|
+
limit: z.number().optional(),
|
|
43
|
+
offset: z.number().optional(),
|
|
44
|
+
order: z.string().optional(),
|
|
45
|
+
query: z.string().optional(),
|
|
46
|
+
sort: z.string().optional(),
|
|
47
|
+
updated_gte: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
48
|
+
.optional(),
|
|
49
|
+
}).transform((v) => {
|
|
50
|
+
return remap$(v, {
|
|
51
|
+
"connection_id": "connectionId",
|
|
52
|
+
"updated_gte": "updatedGte",
|
|
53
|
+
});
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
/** @internal */
|
|
57
|
+
export type ListCalendarCalendarsRequest$Outbound = {
|
|
58
|
+
connection_id: string;
|
|
59
|
+
fields?: Array<string> | undefined;
|
|
60
|
+
limit?: number | undefined;
|
|
61
|
+
offset?: number | undefined;
|
|
62
|
+
order?: string | undefined;
|
|
63
|
+
query?: string | undefined;
|
|
64
|
+
sort?: string | undefined;
|
|
65
|
+
updated_gte?: string | undefined;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
/** @internal */
|
|
69
|
+
export const ListCalendarCalendarsRequest$outboundSchema: z.ZodType<
|
|
70
|
+
ListCalendarCalendarsRequest$Outbound,
|
|
71
|
+
z.ZodTypeDef,
|
|
72
|
+
ListCalendarCalendarsRequest
|
|
73
|
+
> = z.object({
|
|
74
|
+
connectionId: z.string(),
|
|
75
|
+
fields: z.array(z.string()).optional(),
|
|
76
|
+
limit: z.number().optional(),
|
|
77
|
+
offset: z.number().optional(),
|
|
78
|
+
order: z.string().optional(),
|
|
79
|
+
query: z.string().optional(),
|
|
80
|
+
sort: z.string().optional(),
|
|
81
|
+
updatedGte: z.date().transform(v => v.toISOString()).optional(),
|
|
82
|
+
}).transform((v) => {
|
|
83
|
+
return remap$(v, {
|
|
84
|
+
connectionId: "connection_id",
|
|
85
|
+
updatedGte: "updated_gte",
|
|
86
|
+
});
|
|
87
|
+
});
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
92
|
+
*/
|
|
93
|
+
export namespace ListCalendarCalendarsRequest$ {
|
|
94
|
+
/** @deprecated use `ListCalendarCalendarsRequest$inboundSchema` instead. */
|
|
95
|
+
export const inboundSchema = ListCalendarCalendarsRequest$inboundSchema;
|
|
96
|
+
/** @deprecated use `ListCalendarCalendarsRequest$outboundSchema` instead. */
|
|
97
|
+
export const outboundSchema = ListCalendarCalendarsRequest$outboundSchema;
|
|
98
|
+
/** @deprecated use `ListCalendarCalendarsRequest$Outbound` instead. */
|
|
99
|
+
export type Outbound = ListCalendarCalendarsRequest$Outbound;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export function listCalendarCalendarsRequestToJSON(
|
|
103
|
+
listCalendarCalendarsRequest: ListCalendarCalendarsRequest,
|
|
104
|
+
): string {
|
|
105
|
+
return JSON.stringify(
|
|
106
|
+
ListCalendarCalendarsRequest$outboundSchema.parse(
|
|
107
|
+
listCalendarCalendarsRequest,
|
|
108
|
+
),
|
|
109
|
+
);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export function listCalendarCalendarsRequestFromJSON(
|
|
113
|
+
jsonString: string,
|
|
114
|
+
): SafeParseResult<ListCalendarCalendarsRequest, SDKValidationError> {
|
|
115
|
+
return safeParse(
|
|
116
|
+
jsonString,
|
|
117
|
+
(x) => ListCalendarCalendarsRequest$inboundSchema.parse(JSON.parse(x)),
|
|
118
|
+
`Failed to parse 'ListCalendarCalendarsRequest' from JSON`,
|
|
119
|
+
);
|
|
120
|
+
}
|
|
@@ -0,0 +1,136 @@
|
|
|
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 ListCalendarEventsRequest = {
|
|
12
|
+
calendarId?: string | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* ID of the connection
|
|
15
|
+
*/
|
|
16
|
+
connectionId: string;
|
|
17
|
+
endLe?: 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 ListCalendarEventsRequest$inboundSchema: z.ZodType<
|
|
39
|
+
ListCalendarEventsRequest,
|
|
40
|
+
z.ZodTypeDef,
|
|
41
|
+
unknown
|
|
42
|
+
> = z.object({
|
|
43
|
+
calendar_id: z.string().optional(),
|
|
44
|
+
connection_id: z.string(),
|
|
45
|
+
end_le: 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
|
+
"calendar_id": "calendarId",
|
|
58
|
+
"connection_id": "connectionId",
|
|
59
|
+
"end_le": "endLe",
|
|
60
|
+
"start_gte": "startGte",
|
|
61
|
+
"updated_gte": "updatedGte",
|
|
62
|
+
});
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
/** @internal */
|
|
66
|
+
export type ListCalendarEventsRequest$Outbound = {
|
|
67
|
+
calendar_id?: string | undefined;
|
|
68
|
+
connection_id: string;
|
|
69
|
+
end_le?: 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 ListCalendarEventsRequest$outboundSchema: z.ZodType<
|
|
82
|
+
ListCalendarEventsRequest$Outbound,
|
|
83
|
+
z.ZodTypeDef,
|
|
84
|
+
ListCalendarEventsRequest
|
|
85
|
+
> = z.object({
|
|
86
|
+
calendarId: z.string().optional(),
|
|
87
|
+
connectionId: z.string(),
|
|
88
|
+
endLe: 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
|
+
calendarId: "calendar_id",
|
|
100
|
+
connectionId: "connection_id",
|
|
101
|
+
endLe: "end_le",
|
|
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 ListCalendarEventsRequest$ {
|
|
112
|
+
/** @deprecated use `ListCalendarEventsRequest$inboundSchema` instead. */
|
|
113
|
+
export const inboundSchema = ListCalendarEventsRequest$inboundSchema;
|
|
114
|
+
/** @deprecated use `ListCalendarEventsRequest$outboundSchema` instead. */
|
|
115
|
+
export const outboundSchema = ListCalendarEventsRequest$outboundSchema;
|
|
116
|
+
/** @deprecated use `ListCalendarEventsRequest$Outbound` instead. */
|
|
117
|
+
export type Outbound = ListCalendarEventsRequest$Outbound;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export function listCalendarEventsRequestToJSON(
|
|
121
|
+
listCalendarEventsRequest: ListCalendarEventsRequest,
|
|
122
|
+
): string {
|
|
123
|
+
return JSON.stringify(
|
|
124
|
+
ListCalendarEventsRequest$outboundSchema.parse(listCalendarEventsRequest),
|
|
125
|
+
);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export function listCalendarEventsRequestFromJSON(
|
|
129
|
+
jsonString: string,
|
|
130
|
+
): SafeParseResult<ListCalendarEventsRequest, SDKValidationError> {
|
|
131
|
+
return safeParse(
|
|
132
|
+
jsonString,
|
|
133
|
+
(x) => ListCalendarEventsRequest$inboundSchema.parse(JSON.parse(x)),
|
|
134
|
+
`Failed to parse 'ListCalendarEventsRequest' from JSON`,
|
|
135
|
+
);
|
|
136
|
+
}
|
|
@@ -0,0 +1,118 @@
|
|
|
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 ListCalendarLinksRequest = {
|
|
12
|
+
/**
|
|
13
|
+
* ID of the connection
|
|
14
|
+
*/
|
|
15
|
+
connectionId: string;
|
|
16
|
+
/**
|
|
17
|
+
* Comma-delimited fields to return
|
|
18
|
+
*/
|
|
19
|
+
fields?: Array<string> | undefined;
|
|
20
|
+
limit?: number | undefined;
|
|
21
|
+
offset?: number | undefined;
|
|
22
|
+
order?: string | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* Query string to search. eg. email address or name
|
|
25
|
+
*/
|
|
26
|
+
query?: string | undefined;
|
|
27
|
+
sort?: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* Return only results whose updated date is equal or greater to this value
|
|
30
|
+
*/
|
|
31
|
+
updatedGte?: Date | undefined;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/** @internal */
|
|
35
|
+
export const ListCalendarLinksRequest$inboundSchema: z.ZodType<
|
|
36
|
+
ListCalendarLinksRequest,
|
|
37
|
+
z.ZodTypeDef,
|
|
38
|
+
unknown
|
|
39
|
+
> = z.object({
|
|
40
|
+
connection_id: z.string(),
|
|
41
|
+
fields: z.array(z.string()).optional(),
|
|
42
|
+
limit: z.number().optional(),
|
|
43
|
+
offset: z.number().optional(),
|
|
44
|
+
order: z.string().optional(),
|
|
45
|
+
query: z.string().optional(),
|
|
46
|
+
sort: z.string().optional(),
|
|
47
|
+
updated_gte: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
48
|
+
.optional(),
|
|
49
|
+
}).transform((v) => {
|
|
50
|
+
return remap$(v, {
|
|
51
|
+
"connection_id": "connectionId",
|
|
52
|
+
"updated_gte": "updatedGte",
|
|
53
|
+
});
|
|
54
|
+
});
|
|
55
|
+
|
|
56
|
+
/** @internal */
|
|
57
|
+
export type ListCalendarLinksRequest$Outbound = {
|
|
58
|
+
connection_id: string;
|
|
59
|
+
fields?: Array<string> | undefined;
|
|
60
|
+
limit?: number | undefined;
|
|
61
|
+
offset?: number | undefined;
|
|
62
|
+
order?: string | undefined;
|
|
63
|
+
query?: string | undefined;
|
|
64
|
+
sort?: string | undefined;
|
|
65
|
+
updated_gte?: string | undefined;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
/** @internal */
|
|
69
|
+
export const ListCalendarLinksRequest$outboundSchema: z.ZodType<
|
|
70
|
+
ListCalendarLinksRequest$Outbound,
|
|
71
|
+
z.ZodTypeDef,
|
|
72
|
+
ListCalendarLinksRequest
|
|
73
|
+
> = z.object({
|
|
74
|
+
connectionId: z.string(),
|
|
75
|
+
fields: z.array(z.string()).optional(),
|
|
76
|
+
limit: z.number().optional(),
|
|
77
|
+
offset: z.number().optional(),
|
|
78
|
+
order: z.string().optional(),
|
|
79
|
+
query: z.string().optional(),
|
|
80
|
+
sort: z.string().optional(),
|
|
81
|
+
updatedGte: z.date().transform(v => v.toISOString()).optional(),
|
|
82
|
+
}).transform((v) => {
|
|
83
|
+
return remap$(v, {
|
|
84
|
+
connectionId: "connection_id",
|
|
85
|
+
updatedGte: "updated_gte",
|
|
86
|
+
});
|
|
87
|
+
});
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* @internal
|
|
91
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
92
|
+
*/
|
|
93
|
+
export namespace ListCalendarLinksRequest$ {
|
|
94
|
+
/** @deprecated use `ListCalendarLinksRequest$inboundSchema` instead. */
|
|
95
|
+
export const inboundSchema = ListCalendarLinksRequest$inboundSchema;
|
|
96
|
+
/** @deprecated use `ListCalendarLinksRequest$outboundSchema` instead. */
|
|
97
|
+
export const outboundSchema = ListCalendarLinksRequest$outboundSchema;
|
|
98
|
+
/** @deprecated use `ListCalendarLinksRequest$Outbound` instead. */
|
|
99
|
+
export type Outbound = ListCalendarLinksRequest$Outbound;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export function listCalendarLinksRequestToJSON(
|
|
103
|
+
listCalendarLinksRequest: ListCalendarLinksRequest,
|
|
104
|
+
): string {
|
|
105
|
+
return JSON.stringify(
|
|
106
|
+
ListCalendarLinksRequest$outboundSchema.parse(listCalendarLinksRequest),
|
|
107
|
+
);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export function listCalendarLinksRequestFromJSON(
|
|
111
|
+
jsonString: string,
|
|
112
|
+
): SafeParseResult<ListCalendarLinksRequest, SDKValidationError> {
|
|
113
|
+
return safeParse(
|
|
114
|
+
jsonString,
|
|
115
|
+
(x) => ListCalendarLinksRequest$inboundSchema.parse(JSON.parse(x)),
|
|
116
|
+
`Failed to parse 'ListCalendarLinksRequest' from JSON`,
|
|
117
|
+
);
|
|
118
|
+
}
|