@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,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
|
+
|
|
11
|
+
export type AtsCandidateEducation = {
|
|
12
|
+
degree?: string | undefined;
|
|
13
|
+
endAt?: Date | undefined;
|
|
14
|
+
fieldOfStudy?: string | undefined;
|
|
15
|
+
institution?: string | undefined;
|
|
16
|
+
level?: string | undefined;
|
|
17
|
+
startAt?: Date | undefined;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const AtsCandidateEducation$inboundSchema: z.ZodType<
|
|
22
|
+
AtsCandidateEducation,
|
|
23
|
+
z.ZodTypeDef,
|
|
24
|
+
unknown
|
|
25
|
+
> = z.object({
|
|
26
|
+
degree: z.string().optional(),
|
|
27
|
+
end_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
28
|
+
.optional(),
|
|
29
|
+
field_of_study: z.string().optional(),
|
|
30
|
+
institution: z.string().optional(),
|
|
31
|
+
level: z.string().optional(),
|
|
32
|
+
start_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
33
|
+
.optional(),
|
|
34
|
+
}).transform((v) => {
|
|
35
|
+
return remap$(v, {
|
|
36
|
+
"end_at": "endAt",
|
|
37
|
+
"field_of_study": "fieldOfStudy",
|
|
38
|
+
"start_at": "startAt",
|
|
39
|
+
});
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
/** @internal */
|
|
43
|
+
export type AtsCandidateEducation$Outbound = {
|
|
44
|
+
degree?: string | undefined;
|
|
45
|
+
end_at?: string | undefined;
|
|
46
|
+
field_of_study?: string | undefined;
|
|
47
|
+
institution?: string | undefined;
|
|
48
|
+
level?: string | undefined;
|
|
49
|
+
start_at?: string | undefined;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
/** @internal */
|
|
53
|
+
export const AtsCandidateEducation$outboundSchema: z.ZodType<
|
|
54
|
+
AtsCandidateEducation$Outbound,
|
|
55
|
+
z.ZodTypeDef,
|
|
56
|
+
AtsCandidateEducation
|
|
57
|
+
> = z.object({
|
|
58
|
+
degree: z.string().optional(),
|
|
59
|
+
endAt: z.date().transform(v => v.toISOString()).optional(),
|
|
60
|
+
fieldOfStudy: z.string().optional(),
|
|
61
|
+
institution: z.string().optional(),
|
|
62
|
+
level: z.string().optional(),
|
|
63
|
+
startAt: z.date().transform(v => v.toISOString()).optional(),
|
|
64
|
+
}).transform((v) => {
|
|
65
|
+
return remap$(v, {
|
|
66
|
+
endAt: "end_at",
|
|
67
|
+
fieldOfStudy: "field_of_study",
|
|
68
|
+
startAt: "start_at",
|
|
69
|
+
});
|
|
70
|
+
});
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
75
|
+
*/
|
|
76
|
+
export namespace AtsCandidateEducation$ {
|
|
77
|
+
/** @deprecated use `AtsCandidateEducation$inboundSchema` instead. */
|
|
78
|
+
export const inboundSchema = AtsCandidateEducation$inboundSchema;
|
|
79
|
+
/** @deprecated use `AtsCandidateEducation$outboundSchema` instead. */
|
|
80
|
+
export const outboundSchema = AtsCandidateEducation$outboundSchema;
|
|
81
|
+
/** @deprecated use `AtsCandidateEducation$Outbound` instead. */
|
|
82
|
+
export type Outbound = AtsCandidateEducation$Outbound;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export function atsCandidateEducationToJSON(
|
|
86
|
+
atsCandidateEducation: AtsCandidateEducation,
|
|
87
|
+
): string {
|
|
88
|
+
return JSON.stringify(
|
|
89
|
+
AtsCandidateEducation$outboundSchema.parse(atsCandidateEducation),
|
|
90
|
+
);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export function atsCandidateEducationFromJSON(
|
|
94
|
+
jsonString: string,
|
|
95
|
+
): SafeParseResult<AtsCandidateEducation, SDKValidationError> {
|
|
96
|
+
return safeParse(
|
|
97
|
+
jsonString,
|
|
98
|
+
(x) => AtsCandidateEducation$inboundSchema.parse(JSON.parse(x)),
|
|
99
|
+
`Failed to parse 'AtsCandidateEducation' from JSON`,
|
|
100
|
+
);
|
|
101
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
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 AtsCandidateExperience = {
|
|
12
|
+
companyName?: string | undefined;
|
|
13
|
+
endAt?: Date | undefined;
|
|
14
|
+
startAt?: Date | undefined;
|
|
15
|
+
title?: string | undefined;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const AtsCandidateExperience$inboundSchema: z.ZodType<
|
|
20
|
+
AtsCandidateExperience,
|
|
21
|
+
z.ZodTypeDef,
|
|
22
|
+
unknown
|
|
23
|
+
> = z.object({
|
|
24
|
+
company_name: z.string().optional(),
|
|
25
|
+
end_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
26
|
+
.optional(),
|
|
27
|
+
start_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
28
|
+
.optional(),
|
|
29
|
+
title: z.string().optional(),
|
|
30
|
+
}).transform((v) => {
|
|
31
|
+
return remap$(v, {
|
|
32
|
+
"company_name": "companyName",
|
|
33
|
+
"end_at": "endAt",
|
|
34
|
+
"start_at": "startAt",
|
|
35
|
+
});
|
|
36
|
+
});
|
|
37
|
+
|
|
38
|
+
/** @internal */
|
|
39
|
+
export type AtsCandidateExperience$Outbound = {
|
|
40
|
+
company_name?: string | undefined;
|
|
41
|
+
end_at?: string | undefined;
|
|
42
|
+
start_at?: string | undefined;
|
|
43
|
+
title?: string | undefined;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
/** @internal */
|
|
47
|
+
export const AtsCandidateExperience$outboundSchema: z.ZodType<
|
|
48
|
+
AtsCandidateExperience$Outbound,
|
|
49
|
+
z.ZodTypeDef,
|
|
50
|
+
AtsCandidateExperience
|
|
51
|
+
> = z.object({
|
|
52
|
+
companyName: z.string().optional(),
|
|
53
|
+
endAt: z.date().transform(v => v.toISOString()).optional(),
|
|
54
|
+
startAt: z.date().transform(v => v.toISOString()).optional(),
|
|
55
|
+
title: z.string().optional(),
|
|
56
|
+
}).transform((v) => {
|
|
57
|
+
return remap$(v, {
|
|
58
|
+
companyName: "company_name",
|
|
59
|
+
endAt: "end_at",
|
|
60
|
+
startAt: "start_at",
|
|
61
|
+
});
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
67
|
+
*/
|
|
68
|
+
export namespace AtsCandidateExperience$ {
|
|
69
|
+
/** @deprecated use `AtsCandidateExperience$inboundSchema` instead. */
|
|
70
|
+
export const inboundSchema = AtsCandidateExperience$inboundSchema;
|
|
71
|
+
/** @deprecated use `AtsCandidateExperience$outboundSchema` instead. */
|
|
72
|
+
export const outboundSchema = AtsCandidateExperience$outboundSchema;
|
|
73
|
+
/** @deprecated use `AtsCandidateExperience$Outbound` instead. */
|
|
74
|
+
export type Outbound = AtsCandidateExperience$Outbound;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function atsCandidateExperienceToJSON(
|
|
78
|
+
atsCandidateExperience: AtsCandidateExperience,
|
|
79
|
+
): string {
|
|
80
|
+
return JSON.stringify(
|
|
81
|
+
AtsCandidateExperience$outboundSchema.parse(atsCandidateExperience),
|
|
82
|
+
);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export function atsCandidateExperienceFromJSON(
|
|
86
|
+
jsonString: string,
|
|
87
|
+
): SafeParseResult<AtsCandidateExperience, SDKValidationError> {
|
|
88
|
+
return safeParse(
|
|
89
|
+
jsonString,
|
|
90
|
+
(x) => AtsCandidateExperience$inboundSchema.parse(JSON.parse(x)),
|
|
91
|
+
`Failed to parse 'AtsCandidateExperience' from JSON`,
|
|
92
|
+
);
|
|
93
|
+
}
|
|
@@ -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 { ClosedEnum } from "../../types/enums.js";
|
|
9
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
10
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
11
|
+
|
|
12
|
+
export const CalendarAttendeeStatus = {
|
|
13
|
+
Accepted: "ACCEPTED",
|
|
14
|
+
Rejected: "REJECTED",
|
|
15
|
+
Tentative: "TENTATIVE",
|
|
16
|
+
} as const;
|
|
17
|
+
export type CalendarAttendeeStatus = ClosedEnum<typeof CalendarAttendeeStatus>;
|
|
18
|
+
|
|
19
|
+
export type CalendarAttendee = {
|
|
20
|
+
email?: string | undefined;
|
|
21
|
+
name?: string | undefined;
|
|
22
|
+
required?: boolean | undefined;
|
|
23
|
+
status?: CalendarAttendeeStatus | undefined;
|
|
24
|
+
userId?: string | undefined;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
/** @internal */
|
|
28
|
+
export const CalendarAttendeeStatus$inboundSchema: z.ZodNativeEnum<
|
|
29
|
+
typeof CalendarAttendeeStatus
|
|
30
|
+
> = z.nativeEnum(CalendarAttendeeStatus);
|
|
31
|
+
|
|
32
|
+
/** @internal */
|
|
33
|
+
export const CalendarAttendeeStatus$outboundSchema: z.ZodNativeEnum<
|
|
34
|
+
typeof CalendarAttendeeStatus
|
|
35
|
+
> = CalendarAttendeeStatus$inboundSchema;
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @internal
|
|
39
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
40
|
+
*/
|
|
41
|
+
export namespace CalendarAttendeeStatus$ {
|
|
42
|
+
/** @deprecated use `CalendarAttendeeStatus$inboundSchema` instead. */
|
|
43
|
+
export const inboundSchema = CalendarAttendeeStatus$inboundSchema;
|
|
44
|
+
/** @deprecated use `CalendarAttendeeStatus$outboundSchema` instead. */
|
|
45
|
+
export const outboundSchema = CalendarAttendeeStatus$outboundSchema;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/** @internal */
|
|
49
|
+
export const CalendarAttendee$inboundSchema: z.ZodType<
|
|
50
|
+
CalendarAttendee,
|
|
51
|
+
z.ZodTypeDef,
|
|
52
|
+
unknown
|
|
53
|
+
> = z.object({
|
|
54
|
+
email: z.string().optional(),
|
|
55
|
+
name: z.string().optional(),
|
|
56
|
+
required: z.boolean().optional(),
|
|
57
|
+
status: CalendarAttendeeStatus$inboundSchema.optional(),
|
|
58
|
+
user_id: z.string().optional(),
|
|
59
|
+
}).transform((v) => {
|
|
60
|
+
return remap$(v, {
|
|
61
|
+
"user_id": "userId",
|
|
62
|
+
});
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
/** @internal */
|
|
66
|
+
export type CalendarAttendee$Outbound = {
|
|
67
|
+
email?: string | undefined;
|
|
68
|
+
name?: string | undefined;
|
|
69
|
+
required?: boolean | undefined;
|
|
70
|
+
status?: string | undefined;
|
|
71
|
+
user_id?: string | undefined;
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
/** @internal */
|
|
75
|
+
export const CalendarAttendee$outboundSchema: z.ZodType<
|
|
76
|
+
CalendarAttendee$Outbound,
|
|
77
|
+
z.ZodTypeDef,
|
|
78
|
+
CalendarAttendee
|
|
79
|
+
> = z.object({
|
|
80
|
+
email: z.string().optional(),
|
|
81
|
+
name: z.string().optional(),
|
|
82
|
+
required: z.boolean().optional(),
|
|
83
|
+
status: CalendarAttendeeStatus$outboundSchema.optional(),
|
|
84
|
+
userId: z.string().optional(),
|
|
85
|
+
}).transform((v) => {
|
|
86
|
+
return remap$(v, {
|
|
87
|
+
userId: "user_id",
|
|
88
|
+
});
|
|
89
|
+
});
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
94
|
+
*/
|
|
95
|
+
export namespace CalendarAttendee$ {
|
|
96
|
+
/** @deprecated use `CalendarAttendee$inboundSchema` instead. */
|
|
97
|
+
export const inboundSchema = CalendarAttendee$inboundSchema;
|
|
98
|
+
/** @deprecated use `CalendarAttendee$outboundSchema` instead. */
|
|
99
|
+
export const outboundSchema = CalendarAttendee$outboundSchema;
|
|
100
|
+
/** @deprecated use `CalendarAttendee$Outbound` instead. */
|
|
101
|
+
export type Outbound = CalendarAttendee$Outbound;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export function calendarAttendeeToJSON(
|
|
105
|
+
calendarAttendee: CalendarAttendee,
|
|
106
|
+
): string {
|
|
107
|
+
return JSON.stringify(
|
|
108
|
+
CalendarAttendee$outboundSchema.parse(calendarAttendee),
|
|
109
|
+
);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export function calendarAttendeeFromJSON(
|
|
113
|
+
jsonString: string,
|
|
114
|
+
): SafeParseResult<CalendarAttendee, SDKValidationError> {
|
|
115
|
+
return safeParse(
|
|
116
|
+
jsonString,
|
|
117
|
+
(x) => CalendarAttendee$inboundSchema.parse(JSON.parse(x)),
|
|
118
|
+
`Failed to parse 'CalendarAttendee' from JSON`,
|
|
119
|
+
);
|
|
120
|
+
}
|
|
@@ -0,0 +1,141 @@
|
|
|
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 CalendarBusyRaw = {};
|
|
12
|
+
|
|
13
|
+
export type CalendarBusy = {
|
|
14
|
+
description?: string | undefined;
|
|
15
|
+
endAt: Date;
|
|
16
|
+
id?: string | undefined;
|
|
17
|
+
raw?: CalendarBusyRaw | undefined;
|
|
18
|
+
startAt: Date;
|
|
19
|
+
timezone?: string | undefined;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
/** @internal */
|
|
23
|
+
export const CalendarBusyRaw$inboundSchema: z.ZodType<
|
|
24
|
+
CalendarBusyRaw,
|
|
25
|
+
z.ZodTypeDef,
|
|
26
|
+
unknown
|
|
27
|
+
> = z.object({});
|
|
28
|
+
|
|
29
|
+
/** @internal */
|
|
30
|
+
export type CalendarBusyRaw$Outbound = {};
|
|
31
|
+
|
|
32
|
+
/** @internal */
|
|
33
|
+
export const CalendarBusyRaw$outboundSchema: z.ZodType<
|
|
34
|
+
CalendarBusyRaw$Outbound,
|
|
35
|
+
z.ZodTypeDef,
|
|
36
|
+
CalendarBusyRaw
|
|
37
|
+
> = z.object({});
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* @internal
|
|
41
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
42
|
+
*/
|
|
43
|
+
export namespace CalendarBusyRaw$ {
|
|
44
|
+
/** @deprecated use `CalendarBusyRaw$inboundSchema` instead. */
|
|
45
|
+
export const inboundSchema = CalendarBusyRaw$inboundSchema;
|
|
46
|
+
/** @deprecated use `CalendarBusyRaw$outboundSchema` instead. */
|
|
47
|
+
export const outboundSchema = CalendarBusyRaw$outboundSchema;
|
|
48
|
+
/** @deprecated use `CalendarBusyRaw$Outbound` instead. */
|
|
49
|
+
export type Outbound = CalendarBusyRaw$Outbound;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function calendarBusyRawToJSON(
|
|
53
|
+
calendarBusyRaw: CalendarBusyRaw,
|
|
54
|
+
): string {
|
|
55
|
+
return JSON.stringify(CalendarBusyRaw$outboundSchema.parse(calendarBusyRaw));
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function calendarBusyRawFromJSON(
|
|
59
|
+
jsonString: string,
|
|
60
|
+
): SafeParseResult<CalendarBusyRaw, SDKValidationError> {
|
|
61
|
+
return safeParse(
|
|
62
|
+
jsonString,
|
|
63
|
+
(x) => CalendarBusyRaw$inboundSchema.parse(JSON.parse(x)),
|
|
64
|
+
`Failed to parse 'CalendarBusyRaw' from JSON`,
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/** @internal */
|
|
69
|
+
export const CalendarBusy$inboundSchema: z.ZodType<
|
|
70
|
+
CalendarBusy,
|
|
71
|
+
z.ZodTypeDef,
|
|
72
|
+
unknown
|
|
73
|
+
> = z.object({
|
|
74
|
+
description: z.string().optional(),
|
|
75
|
+
end_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
76
|
+
id: z.string().optional(),
|
|
77
|
+
raw: z.lazy(() => CalendarBusyRaw$inboundSchema).optional(),
|
|
78
|
+
start_at: z.string().datetime({ offset: true }).transform(v => new Date(v)),
|
|
79
|
+
timezone: z.string().optional(),
|
|
80
|
+
}).transform((v) => {
|
|
81
|
+
return remap$(v, {
|
|
82
|
+
"end_at": "endAt",
|
|
83
|
+
"start_at": "startAt",
|
|
84
|
+
});
|
|
85
|
+
});
|
|
86
|
+
|
|
87
|
+
/** @internal */
|
|
88
|
+
export type CalendarBusy$Outbound = {
|
|
89
|
+
description?: string | undefined;
|
|
90
|
+
end_at: string;
|
|
91
|
+
id?: string | undefined;
|
|
92
|
+
raw?: CalendarBusyRaw$Outbound | undefined;
|
|
93
|
+
start_at: string;
|
|
94
|
+
timezone?: string | undefined;
|
|
95
|
+
};
|
|
96
|
+
|
|
97
|
+
/** @internal */
|
|
98
|
+
export const CalendarBusy$outboundSchema: z.ZodType<
|
|
99
|
+
CalendarBusy$Outbound,
|
|
100
|
+
z.ZodTypeDef,
|
|
101
|
+
CalendarBusy
|
|
102
|
+
> = z.object({
|
|
103
|
+
description: z.string().optional(),
|
|
104
|
+
endAt: z.date().transform(v => v.toISOString()),
|
|
105
|
+
id: z.string().optional(),
|
|
106
|
+
raw: z.lazy(() => CalendarBusyRaw$outboundSchema).optional(),
|
|
107
|
+
startAt: z.date().transform(v => v.toISOString()),
|
|
108
|
+
timezone: z.string().optional(),
|
|
109
|
+
}).transform((v) => {
|
|
110
|
+
return remap$(v, {
|
|
111
|
+
endAt: "end_at",
|
|
112
|
+
startAt: "start_at",
|
|
113
|
+
});
|
|
114
|
+
});
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* @internal
|
|
118
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
119
|
+
*/
|
|
120
|
+
export namespace CalendarBusy$ {
|
|
121
|
+
/** @deprecated use `CalendarBusy$inboundSchema` instead. */
|
|
122
|
+
export const inboundSchema = CalendarBusy$inboundSchema;
|
|
123
|
+
/** @deprecated use `CalendarBusy$outboundSchema` instead. */
|
|
124
|
+
export const outboundSchema = CalendarBusy$outboundSchema;
|
|
125
|
+
/** @deprecated use `CalendarBusy$Outbound` instead. */
|
|
126
|
+
export type Outbound = CalendarBusy$Outbound;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
export function calendarBusyToJSON(calendarBusy: CalendarBusy): string {
|
|
130
|
+
return JSON.stringify(CalendarBusy$outboundSchema.parse(calendarBusy));
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export function calendarBusyFromJSON(
|
|
134
|
+
jsonString: string,
|
|
135
|
+
): SafeParseResult<CalendarBusy, SDKValidationError> {
|
|
136
|
+
return safeParse(
|
|
137
|
+
jsonString,
|
|
138
|
+
(x) => CalendarBusy$inboundSchema.parse(JSON.parse(x)),
|
|
139
|
+
`Failed to parse 'CalendarBusy' from JSON`,
|
|
140
|
+
);
|
|
141
|
+
}
|
|
@@ -0,0 +1,153 @@
|
|
|
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 CalendarCalendarRaw = {};
|
|
12
|
+
|
|
13
|
+
export type CalendarCalendar = {
|
|
14
|
+
createdAt?: Date | undefined;
|
|
15
|
+
description?: string | undefined;
|
|
16
|
+
id?: string | undefined;
|
|
17
|
+
name: string;
|
|
18
|
+
raw?: CalendarCalendarRaw | undefined;
|
|
19
|
+
timezone?: string | undefined;
|
|
20
|
+
updatedAt?: Date | undefined;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
/** @internal */
|
|
24
|
+
export const CalendarCalendarRaw$inboundSchema: z.ZodType<
|
|
25
|
+
CalendarCalendarRaw,
|
|
26
|
+
z.ZodTypeDef,
|
|
27
|
+
unknown
|
|
28
|
+
> = z.object({});
|
|
29
|
+
|
|
30
|
+
/** @internal */
|
|
31
|
+
export type CalendarCalendarRaw$Outbound = {};
|
|
32
|
+
|
|
33
|
+
/** @internal */
|
|
34
|
+
export const CalendarCalendarRaw$outboundSchema: z.ZodType<
|
|
35
|
+
CalendarCalendarRaw$Outbound,
|
|
36
|
+
z.ZodTypeDef,
|
|
37
|
+
CalendarCalendarRaw
|
|
38
|
+
> = z.object({});
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* @internal
|
|
42
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
43
|
+
*/
|
|
44
|
+
export namespace CalendarCalendarRaw$ {
|
|
45
|
+
/** @deprecated use `CalendarCalendarRaw$inboundSchema` instead. */
|
|
46
|
+
export const inboundSchema = CalendarCalendarRaw$inboundSchema;
|
|
47
|
+
/** @deprecated use `CalendarCalendarRaw$outboundSchema` instead. */
|
|
48
|
+
export const outboundSchema = CalendarCalendarRaw$outboundSchema;
|
|
49
|
+
/** @deprecated use `CalendarCalendarRaw$Outbound` instead. */
|
|
50
|
+
export type Outbound = CalendarCalendarRaw$Outbound;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function calendarCalendarRawToJSON(
|
|
54
|
+
calendarCalendarRaw: CalendarCalendarRaw,
|
|
55
|
+
): string {
|
|
56
|
+
return JSON.stringify(
|
|
57
|
+
CalendarCalendarRaw$outboundSchema.parse(calendarCalendarRaw),
|
|
58
|
+
);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function calendarCalendarRawFromJSON(
|
|
62
|
+
jsonString: string,
|
|
63
|
+
): SafeParseResult<CalendarCalendarRaw, SDKValidationError> {
|
|
64
|
+
return safeParse(
|
|
65
|
+
jsonString,
|
|
66
|
+
(x) => CalendarCalendarRaw$inboundSchema.parse(JSON.parse(x)),
|
|
67
|
+
`Failed to parse 'CalendarCalendarRaw' from JSON`,
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
/** @internal */
|
|
72
|
+
export const CalendarCalendar$inboundSchema: z.ZodType<
|
|
73
|
+
CalendarCalendar,
|
|
74
|
+
z.ZodTypeDef,
|
|
75
|
+
unknown
|
|
76
|
+
> = z.object({
|
|
77
|
+
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
78
|
+
.optional(),
|
|
79
|
+
description: z.string().optional(),
|
|
80
|
+
id: z.string().optional(),
|
|
81
|
+
name: z.string(),
|
|
82
|
+
raw: z.lazy(() => CalendarCalendarRaw$inboundSchema).optional(),
|
|
83
|
+
timezone: z.string().optional(),
|
|
84
|
+
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
85
|
+
.optional(),
|
|
86
|
+
}).transform((v) => {
|
|
87
|
+
return remap$(v, {
|
|
88
|
+
"created_at": "createdAt",
|
|
89
|
+
"updated_at": "updatedAt",
|
|
90
|
+
});
|
|
91
|
+
});
|
|
92
|
+
|
|
93
|
+
/** @internal */
|
|
94
|
+
export type CalendarCalendar$Outbound = {
|
|
95
|
+
created_at?: string | undefined;
|
|
96
|
+
description?: string | undefined;
|
|
97
|
+
id?: string | undefined;
|
|
98
|
+
name: string;
|
|
99
|
+
raw?: CalendarCalendarRaw$Outbound | undefined;
|
|
100
|
+
timezone?: string | undefined;
|
|
101
|
+
updated_at?: string | undefined;
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
/** @internal */
|
|
105
|
+
export const CalendarCalendar$outboundSchema: z.ZodType<
|
|
106
|
+
CalendarCalendar$Outbound,
|
|
107
|
+
z.ZodTypeDef,
|
|
108
|
+
CalendarCalendar
|
|
109
|
+
> = z.object({
|
|
110
|
+
createdAt: z.date().transform(v => v.toISOString()).optional(),
|
|
111
|
+
description: z.string().optional(),
|
|
112
|
+
id: z.string().optional(),
|
|
113
|
+
name: z.string(),
|
|
114
|
+
raw: z.lazy(() => CalendarCalendarRaw$outboundSchema).optional(),
|
|
115
|
+
timezone: z.string().optional(),
|
|
116
|
+
updatedAt: z.date().transform(v => v.toISOString()).optional(),
|
|
117
|
+
}).transform((v) => {
|
|
118
|
+
return remap$(v, {
|
|
119
|
+
createdAt: "created_at",
|
|
120
|
+
updatedAt: "updated_at",
|
|
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 CalendarCalendar$ {
|
|
129
|
+
/** @deprecated use `CalendarCalendar$inboundSchema` instead. */
|
|
130
|
+
export const inboundSchema = CalendarCalendar$inboundSchema;
|
|
131
|
+
/** @deprecated use `CalendarCalendar$outboundSchema` instead. */
|
|
132
|
+
export const outboundSchema = CalendarCalendar$outboundSchema;
|
|
133
|
+
/** @deprecated use `CalendarCalendar$Outbound` instead. */
|
|
134
|
+
export type Outbound = CalendarCalendar$Outbound;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
export function calendarCalendarToJSON(
|
|
138
|
+
calendarCalendar: CalendarCalendar,
|
|
139
|
+
): string {
|
|
140
|
+
return JSON.stringify(
|
|
141
|
+
CalendarCalendar$outboundSchema.parse(calendarCalendar),
|
|
142
|
+
);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export function calendarCalendarFromJSON(
|
|
146
|
+
jsonString: string,
|
|
147
|
+
): SafeParseResult<CalendarCalendar, SDKValidationError> {
|
|
148
|
+
return safeParse(
|
|
149
|
+
jsonString,
|
|
150
|
+
(x) => CalendarCalendar$inboundSchema.parse(JSON.parse(x)),
|
|
151
|
+
`Failed to parse 'CalendarCalendar' from JSON`,
|
|
152
|
+
);
|
|
153
|
+
}
|