@unified-api/typescript-sdk 2.18.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/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 +10 -0
- package/sdk/models/shared/index.d.ts.map +1 -1
- package/sdk/models/shared/index.js +10 -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/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 +10 -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,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
|
+
}
|
|
@@ -0,0 +1,246 @@
|
|
|
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
|
+
import {
|
|
12
|
+
CalendarAttendee,
|
|
13
|
+
CalendarAttendee$inboundSchema,
|
|
14
|
+
CalendarAttendee$Outbound,
|
|
15
|
+
CalendarAttendee$outboundSchema,
|
|
16
|
+
} from "./calendarattendee.js";
|
|
17
|
+
import {
|
|
18
|
+
PropertyCalendarEventOrganizer,
|
|
19
|
+
PropertyCalendarEventOrganizer$inboundSchema,
|
|
20
|
+
PropertyCalendarEventOrganizer$Outbound,
|
|
21
|
+
PropertyCalendarEventOrganizer$outboundSchema,
|
|
22
|
+
} from "./propertycalendareventorganizer.js";
|
|
23
|
+
|
|
24
|
+
export type CalendarEventRaw = {};
|
|
25
|
+
|
|
26
|
+
export const CalendarEventStatus = {
|
|
27
|
+
Canceled: "CANCELED",
|
|
28
|
+
Confirmed: "CONFIRMED",
|
|
29
|
+
Tentative: "TENTATIVE",
|
|
30
|
+
} as const;
|
|
31
|
+
export type CalendarEventStatus = ClosedEnum<typeof CalendarEventStatus>;
|
|
32
|
+
|
|
33
|
+
export type CalendarEvent = {
|
|
34
|
+
attendees?: Array<CalendarAttendee> | undefined;
|
|
35
|
+
calendarId?: string | undefined;
|
|
36
|
+
createdAt?: string | undefined;
|
|
37
|
+
endAt: string;
|
|
38
|
+
id?: string | undefined;
|
|
39
|
+
isAllDay?: boolean | undefined;
|
|
40
|
+
isFree?: boolean | undefined;
|
|
41
|
+
isPrivate?: boolean | undefined;
|
|
42
|
+
location?: string | undefined;
|
|
43
|
+
notes?: string | undefined;
|
|
44
|
+
organizer?: PropertyCalendarEventOrganizer | undefined;
|
|
45
|
+
raw?: CalendarEventRaw | undefined;
|
|
46
|
+
startAt: string;
|
|
47
|
+
status?: CalendarEventStatus | undefined;
|
|
48
|
+
subject: string;
|
|
49
|
+
timezone?: string | undefined;
|
|
50
|
+
updatedAt?: string | undefined;
|
|
51
|
+
webUrl?: string | undefined;
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
/** @internal */
|
|
55
|
+
export const CalendarEventRaw$inboundSchema: z.ZodType<
|
|
56
|
+
CalendarEventRaw,
|
|
57
|
+
z.ZodTypeDef,
|
|
58
|
+
unknown
|
|
59
|
+
> = z.object({});
|
|
60
|
+
|
|
61
|
+
/** @internal */
|
|
62
|
+
export type CalendarEventRaw$Outbound = {};
|
|
63
|
+
|
|
64
|
+
/** @internal */
|
|
65
|
+
export const CalendarEventRaw$outboundSchema: z.ZodType<
|
|
66
|
+
CalendarEventRaw$Outbound,
|
|
67
|
+
z.ZodTypeDef,
|
|
68
|
+
CalendarEventRaw
|
|
69
|
+
> = z.object({});
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* @internal
|
|
73
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
74
|
+
*/
|
|
75
|
+
export namespace CalendarEventRaw$ {
|
|
76
|
+
/** @deprecated use `CalendarEventRaw$inboundSchema` instead. */
|
|
77
|
+
export const inboundSchema = CalendarEventRaw$inboundSchema;
|
|
78
|
+
/** @deprecated use `CalendarEventRaw$outboundSchema` instead. */
|
|
79
|
+
export const outboundSchema = CalendarEventRaw$outboundSchema;
|
|
80
|
+
/** @deprecated use `CalendarEventRaw$Outbound` instead. */
|
|
81
|
+
export type Outbound = CalendarEventRaw$Outbound;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export function calendarEventRawToJSON(
|
|
85
|
+
calendarEventRaw: CalendarEventRaw,
|
|
86
|
+
): string {
|
|
87
|
+
return JSON.stringify(
|
|
88
|
+
CalendarEventRaw$outboundSchema.parse(calendarEventRaw),
|
|
89
|
+
);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export function calendarEventRawFromJSON(
|
|
93
|
+
jsonString: string,
|
|
94
|
+
): SafeParseResult<CalendarEventRaw, SDKValidationError> {
|
|
95
|
+
return safeParse(
|
|
96
|
+
jsonString,
|
|
97
|
+
(x) => CalendarEventRaw$inboundSchema.parse(JSON.parse(x)),
|
|
98
|
+
`Failed to parse 'CalendarEventRaw' from JSON`,
|
|
99
|
+
);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/** @internal */
|
|
103
|
+
export const CalendarEventStatus$inboundSchema: z.ZodNativeEnum<
|
|
104
|
+
typeof CalendarEventStatus
|
|
105
|
+
> = z.nativeEnum(CalendarEventStatus);
|
|
106
|
+
|
|
107
|
+
/** @internal */
|
|
108
|
+
export const CalendarEventStatus$outboundSchema: z.ZodNativeEnum<
|
|
109
|
+
typeof CalendarEventStatus
|
|
110
|
+
> = CalendarEventStatus$inboundSchema;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* @internal
|
|
114
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
115
|
+
*/
|
|
116
|
+
export namespace CalendarEventStatus$ {
|
|
117
|
+
/** @deprecated use `CalendarEventStatus$inboundSchema` instead. */
|
|
118
|
+
export const inboundSchema = CalendarEventStatus$inboundSchema;
|
|
119
|
+
/** @deprecated use `CalendarEventStatus$outboundSchema` instead. */
|
|
120
|
+
export const outboundSchema = CalendarEventStatus$outboundSchema;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/** @internal */
|
|
124
|
+
export const CalendarEvent$inboundSchema: z.ZodType<
|
|
125
|
+
CalendarEvent,
|
|
126
|
+
z.ZodTypeDef,
|
|
127
|
+
unknown
|
|
128
|
+
> = z.object({
|
|
129
|
+
attendees: z.array(CalendarAttendee$inboundSchema).optional(),
|
|
130
|
+
calendar_id: z.string().optional(),
|
|
131
|
+
created_at: z.string().optional(),
|
|
132
|
+
end_at: z.string(),
|
|
133
|
+
id: z.string().optional(),
|
|
134
|
+
is_all_day: z.boolean().optional(),
|
|
135
|
+
is_free: z.boolean().optional(),
|
|
136
|
+
is_private: z.boolean().optional(),
|
|
137
|
+
location: z.string().optional(),
|
|
138
|
+
notes: z.string().optional(),
|
|
139
|
+
organizer: PropertyCalendarEventOrganizer$inboundSchema.optional(),
|
|
140
|
+
raw: z.lazy(() => CalendarEventRaw$inboundSchema).optional(),
|
|
141
|
+
start_at: z.string(),
|
|
142
|
+
status: CalendarEventStatus$inboundSchema.optional(),
|
|
143
|
+
subject: z.string(),
|
|
144
|
+
timezone: z.string().optional(),
|
|
145
|
+
updated_at: z.string().optional(),
|
|
146
|
+
web_url: z.string().optional(),
|
|
147
|
+
}).transform((v) => {
|
|
148
|
+
return remap$(v, {
|
|
149
|
+
"calendar_id": "calendarId",
|
|
150
|
+
"created_at": "createdAt",
|
|
151
|
+
"end_at": "endAt",
|
|
152
|
+
"is_all_day": "isAllDay",
|
|
153
|
+
"is_free": "isFree",
|
|
154
|
+
"is_private": "isPrivate",
|
|
155
|
+
"start_at": "startAt",
|
|
156
|
+
"updated_at": "updatedAt",
|
|
157
|
+
"web_url": "webUrl",
|
|
158
|
+
});
|
|
159
|
+
});
|
|
160
|
+
|
|
161
|
+
/** @internal */
|
|
162
|
+
export type CalendarEvent$Outbound = {
|
|
163
|
+
attendees?: Array<CalendarAttendee$Outbound> | undefined;
|
|
164
|
+
calendar_id?: string | undefined;
|
|
165
|
+
created_at?: string | undefined;
|
|
166
|
+
end_at: string;
|
|
167
|
+
id?: string | undefined;
|
|
168
|
+
is_all_day?: boolean | undefined;
|
|
169
|
+
is_free?: boolean | undefined;
|
|
170
|
+
is_private?: boolean | undefined;
|
|
171
|
+
location?: string | undefined;
|
|
172
|
+
notes?: string | undefined;
|
|
173
|
+
organizer?: PropertyCalendarEventOrganizer$Outbound | undefined;
|
|
174
|
+
raw?: CalendarEventRaw$Outbound | undefined;
|
|
175
|
+
start_at: string;
|
|
176
|
+
status?: string | undefined;
|
|
177
|
+
subject: string;
|
|
178
|
+
timezone?: string | undefined;
|
|
179
|
+
updated_at?: string | undefined;
|
|
180
|
+
web_url?: string | undefined;
|
|
181
|
+
};
|
|
182
|
+
|
|
183
|
+
/** @internal */
|
|
184
|
+
export const CalendarEvent$outboundSchema: z.ZodType<
|
|
185
|
+
CalendarEvent$Outbound,
|
|
186
|
+
z.ZodTypeDef,
|
|
187
|
+
CalendarEvent
|
|
188
|
+
> = z.object({
|
|
189
|
+
attendees: z.array(CalendarAttendee$outboundSchema).optional(),
|
|
190
|
+
calendarId: z.string().optional(),
|
|
191
|
+
createdAt: z.string().optional(),
|
|
192
|
+
endAt: z.string(),
|
|
193
|
+
id: z.string().optional(),
|
|
194
|
+
isAllDay: z.boolean().optional(),
|
|
195
|
+
isFree: z.boolean().optional(),
|
|
196
|
+
isPrivate: z.boolean().optional(),
|
|
197
|
+
location: z.string().optional(),
|
|
198
|
+
notes: z.string().optional(),
|
|
199
|
+
organizer: PropertyCalendarEventOrganizer$outboundSchema.optional(),
|
|
200
|
+
raw: z.lazy(() => CalendarEventRaw$outboundSchema).optional(),
|
|
201
|
+
startAt: z.string(),
|
|
202
|
+
status: CalendarEventStatus$outboundSchema.optional(),
|
|
203
|
+
subject: z.string(),
|
|
204
|
+
timezone: z.string().optional(),
|
|
205
|
+
updatedAt: z.string().optional(),
|
|
206
|
+
webUrl: z.string().optional(),
|
|
207
|
+
}).transform((v) => {
|
|
208
|
+
return remap$(v, {
|
|
209
|
+
calendarId: "calendar_id",
|
|
210
|
+
createdAt: "created_at",
|
|
211
|
+
endAt: "end_at",
|
|
212
|
+
isAllDay: "is_all_day",
|
|
213
|
+
isFree: "is_free",
|
|
214
|
+
isPrivate: "is_private",
|
|
215
|
+
startAt: "start_at",
|
|
216
|
+
updatedAt: "updated_at",
|
|
217
|
+
webUrl: "web_url",
|
|
218
|
+
});
|
|
219
|
+
});
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* @internal
|
|
223
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
224
|
+
*/
|
|
225
|
+
export namespace CalendarEvent$ {
|
|
226
|
+
/** @deprecated use `CalendarEvent$inboundSchema` instead. */
|
|
227
|
+
export const inboundSchema = CalendarEvent$inboundSchema;
|
|
228
|
+
/** @deprecated use `CalendarEvent$outboundSchema` instead. */
|
|
229
|
+
export const outboundSchema = CalendarEvent$outboundSchema;
|
|
230
|
+
/** @deprecated use `CalendarEvent$Outbound` instead. */
|
|
231
|
+
export type Outbound = CalendarEvent$Outbound;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
export function calendarEventToJSON(calendarEvent: CalendarEvent): string {
|
|
235
|
+
return JSON.stringify(CalendarEvent$outboundSchema.parse(calendarEvent));
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
export function calendarEventFromJSON(
|
|
239
|
+
jsonString: string,
|
|
240
|
+
): SafeParseResult<CalendarEvent, SDKValidationError> {
|
|
241
|
+
return safeParse(
|
|
242
|
+
jsonString,
|
|
243
|
+
(x) => CalendarEvent$inboundSchema.parse(JSON.parse(x)),
|
|
244
|
+
`Failed to parse 'CalendarEvent' from JSON`,
|
|
245
|
+
);
|
|
246
|
+
}
|
|
@@ -0,0 +1,167 @@
|
|
|
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 CalendarLinkRaw = {};
|
|
12
|
+
|
|
13
|
+
export type CalendarLink = {
|
|
14
|
+
createdAt?: string | undefined;
|
|
15
|
+
description?: string | undefined;
|
|
16
|
+
duration?: number | undefined;
|
|
17
|
+
id?: string | undefined;
|
|
18
|
+
isActive?: boolean | undefined;
|
|
19
|
+
name?: string | undefined;
|
|
20
|
+
priceAmount?: number | undefined;
|
|
21
|
+
priceCurrency?: string | undefined;
|
|
22
|
+
raw?: CalendarLinkRaw | undefined;
|
|
23
|
+
updatedAt?: string | undefined;
|
|
24
|
+
url: string;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
/** @internal */
|
|
28
|
+
export const CalendarLinkRaw$inboundSchema: z.ZodType<
|
|
29
|
+
CalendarLinkRaw,
|
|
30
|
+
z.ZodTypeDef,
|
|
31
|
+
unknown
|
|
32
|
+
> = z.object({});
|
|
33
|
+
|
|
34
|
+
/** @internal */
|
|
35
|
+
export type CalendarLinkRaw$Outbound = {};
|
|
36
|
+
|
|
37
|
+
/** @internal */
|
|
38
|
+
export const CalendarLinkRaw$outboundSchema: z.ZodType<
|
|
39
|
+
CalendarLinkRaw$Outbound,
|
|
40
|
+
z.ZodTypeDef,
|
|
41
|
+
CalendarLinkRaw
|
|
42
|
+
> = z.object({});
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* @internal
|
|
46
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
47
|
+
*/
|
|
48
|
+
export namespace CalendarLinkRaw$ {
|
|
49
|
+
/** @deprecated use `CalendarLinkRaw$inboundSchema` instead. */
|
|
50
|
+
export const inboundSchema = CalendarLinkRaw$inboundSchema;
|
|
51
|
+
/** @deprecated use `CalendarLinkRaw$outboundSchema` instead. */
|
|
52
|
+
export const outboundSchema = CalendarLinkRaw$outboundSchema;
|
|
53
|
+
/** @deprecated use `CalendarLinkRaw$Outbound` instead. */
|
|
54
|
+
export type Outbound = CalendarLinkRaw$Outbound;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function calendarLinkRawToJSON(
|
|
58
|
+
calendarLinkRaw: CalendarLinkRaw,
|
|
59
|
+
): string {
|
|
60
|
+
return JSON.stringify(CalendarLinkRaw$outboundSchema.parse(calendarLinkRaw));
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function calendarLinkRawFromJSON(
|
|
64
|
+
jsonString: string,
|
|
65
|
+
): SafeParseResult<CalendarLinkRaw, SDKValidationError> {
|
|
66
|
+
return safeParse(
|
|
67
|
+
jsonString,
|
|
68
|
+
(x) => CalendarLinkRaw$inboundSchema.parse(JSON.parse(x)),
|
|
69
|
+
`Failed to parse 'CalendarLinkRaw' from JSON`,
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/** @internal */
|
|
74
|
+
export const CalendarLink$inboundSchema: z.ZodType<
|
|
75
|
+
CalendarLink,
|
|
76
|
+
z.ZodTypeDef,
|
|
77
|
+
unknown
|
|
78
|
+
> = z.object({
|
|
79
|
+
created_at: z.string().optional(),
|
|
80
|
+
description: z.string().optional(),
|
|
81
|
+
duration: z.number().optional(),
|
|
82
|
+
id: z.string().optional(),
|
|
83
|
+
is_active: z.boolean().optional(),
|
|
84
|
+
name: z.string().optional(),
|
|
85
|
+
price_amount: z.number().optional(),
|
|
86
|
+
price_currency: z.string().optional(),
|
|
87
|
+
raw: z.lazy(() => CalendarLinkRaw$inboundSchema).optional(),
|
|
88
|
+
updated_at: z.string().optional(),
|
|
89
|
+
url: z.string(),
|
|
90
|
+
}).transform((v) => {
|
|
91
|
+
return remap$(v, {
|
|
92
|
+
"created_at": "createdAt",
|
|
93
|
+
"is_active": "isActive",
|
|
94
|
+
"price_amount": "priceAmount",
|
|
95
|
+
"price_currency": "priceCurrency",
|
|
96
|
+
"updated_at": "updatedAt",
|
|
97
|
+
});
|
|
98
|
+
});
|
|
99
|
+
|
|
100
|
+
/** @internal */
|
|
101
|
+
export type CalendarLink$Outbound = {
|
|
102
|
+
created_at?: string | undefined;
|
|
103
|
+
description?: string | undefined;
|
|
104
|
+
duration?: number | undefined;
|
|
105
|
+
id?: string | undefined;
|
|
106
|
+
is_active?: boolean | undefined;
|
|
107
|
+
name?: string | undefined;
|
|
108
|
+
price_amount?: number | undefined;
|
|
109
|
+
price_currency?: string | undefined;
|
|
110
|
+
raw?: CalendarLinkRaw$Outbound | undefined;
|
|
111
|
+
updated_at?: string | undefined;
|
|
112
|
+
url: string;
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
/** @internal */
|
|
116
|
+
export const CalendarLink$outboundSchema: z.ZodType<
|
|
117
|
+
CalendarLink$Outbound,
|
|
118
|
+
z.ZodTypeDef,
|
|
119
|
+
CalendarLink
|
|
120
|
+
> = z.object({
|
|
121
|
+
createdAt: z.string().optional(),
|
|
122
|
+
description: z.string().optional(),
|
|
123
|
+
duration: z.number().optional(),
|
|
124
|
+
id: z.string().optional(),
|
|
125
|
+
isActive: z.boolean().optional(),
|
|
126
|
+
name: z.string().optional(),
|
|
127
|
+
priceAmount: z.number().optional(),
|
|
128
|
+
priceCurrency: z.string().optional(),
|
|
129
|
+
raw: z.lazy(() => CalendarLinkRaw$outboundSchema).optional(),
|
|
130
|
+
updatedAt: z.string().optional(),
|
|
131
|
+
url: z.string(),
|
|
132
|
+
}).transform((v) => {
|
|
133
|
+
return remap$(v, {
|
|
134
|
+
createdAt: "created_at",
|
|
135
|
+
isActive: "is_active",
|
|
136
|
+
priceAmount: "price_amount",
|
|
137
|
+
priceCurrency: "price_currency",
|
|
138
|
+
updatedAt: "updated_at",
|
|
139
|
+
});
|
|
140
|
+
});
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* @internal
|
|
144
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
145
|
+
*/
|
|
146
|
+
export namespace CalendarLink$ {
|
|
147
|
+
/** @deprecated use `CalendarLink$inboundSchema` instead. */
|
|
148
|
+
export const inboundSchema = CalendarLink$inboundSchema;
|
|
149
|
+
/** @deprecated use `CalendarLink$outboundSchema` instead. */
|
|
150
|
+
export const outboundSchema = CalendarLink$outboundSchema;
|
|
151
|
+
/** @deprecated use `CalendarLink$Outbound` instead. */
|
|
152
|
+
export type Outbound = CalendarLink$Outbound;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
export function calendarLinkToJSON(calendarLink: CalendarLink): string {
|
|
156
|
+
return JSON.stringify(CalendarLink$outboundSchema.parse(calendarLink));
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export function calendarLinkFromJSON(
|
|
160
|
+
jsonString: string,
|
|
161
|
+
): SafeParseResult<CalendarLink, SDKValidationError> {
|
|
162
|
+
return safeParse(
|
|
163
|
+
jsonString,
|
|
164
|
+
(x) => CalendarLink$inboundSchema.parse(JSON.parse(x)),
|
|
165
|
+
`Failed to parse 'CalendarLink' from JSON`,
|
|
166
|
+
);
|
|
167
|
+
}
|