@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
|
@@ -5,13 +5,109 @@
|
|
|
5
5
|
|
|
6
6
|
### Available Operations
|
|
7
7
|
|
|
8
|
+
* [createCalendarEvent](#createcalendarevent) - Create an event
|
|
8
9
|
* [createCrmEvent](#createcrmevent) - Create an event
|
|
10
|
+
* [getCalendarEvent](#getcalendarevent) - Retrieve an event
|
|
9
11
|
* [getCrmEvent](#getcrmevent) - Retrieve an event
|
|
12
|
+
* [listCalendarEvents](#listcalendarevents) - List all events
|
|
10
13
|
* [listCrmEvents](#listcrmevents) - List all events
|
|
14
|
+
* [patchCalendarEvent](#patchcalendarevent) - Update an event
|
|
11
15
|
* [patchCrmEvent](#patchcrmevent) - Update an event
|
|
16
|
+
* [removeCalendarEvent](#removecalendarevent) - Remove an event
|
|
12
17
|
* [removeCrmEvent](#removecrmevent) - Remove an event
|
|
18
|
+
* [updateCalendarEvent](#updatecalendarevent) - Update an event
|
|
13
19
|
* [updateCrmEvent](#updatecrmevent) - Update an event
|
|
14
20
|
|
|
21
|
+
## createCalendarEvent
|
|
22
|
+
|
|
23
|
+
Create an event
|
|
24
|
+
|
|
25
|
+
### Example Usage
|
|
26
|
+
|
|
27
|
+
```typescript
|
|
28
|
+
import { UnifiedTo } from "@unified-api/typescript-sdk";
|
|
29
|
+
|
|
30
|
+
const unifiedTo = new UnifiedTo({
|
|
31
|
+
security: {
|
|
32
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
33
|
+
},
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
async function run() {
|
|
37
|
+
const result = await unifiedTo.event.createCalendarEvent({
|
|
38
|
+
calendarEvent: {
|
|
39
|
+
endAt: "<value>",
|
|
40
|
+
startAt: "<value>",
|
|
41
|
+
subject: "<value>",
|
|
42
|
+
},
|
|
43
|
+
connectionId: "<id>",
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
// Handle the result
|
|
47
|
+
console.log(result);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
run();
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
### Standalone function
|
|
54
|
+
|
|
55
|
+
The standalone function version of this method:
|
|
56
|
+
|
|
57
|
+
```typescript
|
|
58
|
+
import { UnifiedToCore } from "@unified-api/typescript-sdk/core.js";
|
|
59
|
+
import { eventCreateCalendarEvent } from "@unified-api/typescript-sdk/funcs/eventCreateCalendarEvent.js";
|
|
60
|
+
|
|
61
|
+
// Use `UnifiedToCore` for best tree-shaking performance.
|
|
62
|
+
// You can create one instance of it to use across an application.
|
|
63
|
+
const unifiedTo = new UnifiedToCore({
|
|
64
|
+
security: {
|
|
65
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
66
|
+
},
|
|
67
|
+
});
|
|
68
|
+
|
|
69
|
+
async function run() {
|
|
70
|
+
const res = await eventCreateCalendarEvent(unifiedTo, {
|
|
71
|
+
calendarEvent: {
|
|
72
|
+
endAt: "<value>",
|
|
73
|
+
startAt: "<value>",
|
|
74
|
+
subject: "<value>",
|
|
75
|
+
},
|
|
76
|
+
connectionId: "<id>",
|
|
77
|
+
});
|
|
78
|
+
|
|
79
|
+
if (!res.ok) {
|
|
80
|
+
throw res.error;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
const { value: result } = res;
|
|
84
|
+
|
|
85
|
+
// Handle the result
|
|
86
|
+
console.log(result);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
run();
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### Parameters
|
|
93
|
+
|
|
94
|
+
| Parameter | Type | Required | Description |
|
|
95
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
96
|
+
| `request` | [operations.CreateCalendarEventRequest](../../sdk/models/operations/createcalendareventrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
97
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
98
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
99
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
100
|
+
|
|
101
|
+
### Response
|
|
102
|
+
|
|
103
|
+
**Promise\<[shared.CalendarEvent](../../sdk/models/shared/calendarevent.md)\>**
|
|
104
|
+
|
|
105
|
+
### Errors
|
|
106
|
+
|
|
107
|
+
| Error Type | Status Code | Content Type |
|
|
108
|
+
| --------------- | --------------- | --------------- |
|
|
109
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
110
|
+
|
|
15
111
|
## createCrmEvent
|
|
16
112
|
|
|
17
113
|
Create an event
|
|
@@ -94,6 +190,88 @@ run();
|
|
|
94
190
|
| --------------- | --------------- | --------------- |
|
|
95
191
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
96
192
|
|
|
193
|
+
## getCalendarEvent
|
|
194
|
+
|
|
195
|
+
Retrieve an event
|
|
196
|
+
|
|
197
|
+
### Example Usage
|
|
198
|
+
|
|
199
|
+
```typescript
|
|
200
|
+
import { UnifiedTo } from "@unified-api/typescript-sdk";
|
|
201
|
+
|
|
202
|
+
const unifiedTo = new UnifiedTo({
|
|
203
|
+
security: {
|
|
204
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
205
|
+
},
|
|
206
|
+
});
|
|
207
|
+
|
|
208
|
+
async function run() {
|
|
209
|
+
const result = await unifiedTo.event.getCalendarEvent({
|
|
210
|
+
connectionId: "<id>",
|
|
211
|
+
id: "<id>",
|
|
212
|
+
});
|
|
213
|
+
|
|
214
|
+
// Handle the result
|
|
215
|
+
console.log(result);
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
run();
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
### Standalone function
|
|
222
|
+
|
|
223
|
+
The standalone function version of this method:
|
|
224
|
+
|
|
225
|
+
```typescript
|
|
226
|
+
import { UnifiedToCore } from "@unified-api/typescript-sdk/core.js";
|
|
227
|
+
import { eventGetCalendarEvent } from "@unified-api/typescript-sdk/funcs/eventGetCalendarEvent.js";
|
|
228
|
+
|
|
229
|
+
// Use `UnifiedToCore` for best tree-shaking performance.
|
|
230
|
+
// You can create one instance of it to use across an application.
|
|
231
|
+
const unifiedTo = new UnifiedToCore({
|
|
232
|
+
security: {
|
|
233
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
234
|
+
},
|
|
235
|
+
});
|
|
236
|
+
|
|
237
|
+
async function run() {
|
|
238
|
+
const res = await eventGetCalendarEvent(unifiedTo, {
|
|
239
|
+
connectionId: "<id>",
|
|
240
|
+
id: "<id>",
|
|
241
|
+
});
|
|
242
|
+
|
|
243
|
+
if (!res.ok) {
|
|
244
|
+
throw res.error;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
const { value: result } = res;
|
|
248
|
+
|
|
249
|
+
// Handle the result
|
|
250
|
+
console.log(result);
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
run();
|
|
254
|
+
```
|
|
255
|
+
|
|
256
|
+
### Parameters
|
|
257
|
+
|
|
258
|
+
| Parameter | Type | Required | Description |
|
|
259
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
260
|
+
| `request` | [operations.GetCalendarEventRequest](../../sdk/models/operations/getcalendareventrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
261
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
262
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
263
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
264
|
+
|
|
265
|
+
### Response
|
|
266
|
+
|
|
267
|
+
**Promise\<[shared.CalendarEvent](../../sdk/models/shared/calendarevent.md)\>**
|
|
268
|
+
|
|
269
|
+
### Errors
|
|
270
|
+
|
|
271
|
+
| Error Type | Status Code | Content Type |
|
|
272
|
+
| --------------- | --------------- | --------------- |
|
|
273
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
274
|
+
|
|
97
275
|
## getCrmEvent
|
|
98
276
|
|
|
99
277
|
Retrieve an event
|
|
@@ -176,6 +354,86 @@ run();
|
|
|
176
354
|
| --------------- | --------------- | --------------- |
|
|
177
355
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
178
356
|
|
|
357
|
+
## listCalendarEvents
|
|
358
|
+
|
|
359
|
+
List all events
|
|
360
|
+
|
|
361
|
+
### Example Usage
|
|
362
|
+
|
|
363
|
+
```typescript
|
|
364
|
+
import { UnifiedTo } from "@unified-api/typescript-sdk";
|
|
365
|
+
|
|
366
|
+
const unifiedTo = new UnifiedTo({
|
|
367
|
+
security: {
|
|
368
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
369
|
+
},
|
|
370
|
+
});
|
|
371
|
+
|
|
372
|
+
async function run() {
|
|
373
|
+
const result = await unifiedTo.event.listCalendarEvents({
|
|
374
|
+
connectionId: "<id>",
|
|
375
|
+
});
|
|
376
|
+
|
|
377
|
+
// Handle the result
|
|
378
|
+
console.log(result);
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
run();
|
|
382
|
+
```
|
|
383
|
+
|
|
384
|
+
### Standalone function
|
|
385
|
+
|
|
386
|
+
The standalone function version of this method:
|
|
387
|
+
|
|
388
|
+
```typescript
|
|
389
|
+
import { UnifiedToCore } from "@unified-api/typescript-sdk/core.js";
|
|
390
|
+
import { eventListCalendarEvents } from "@unified-api/typescript-sdk/funcs/eventListCalendarEvents.js";
|
|
391
|
+
|
|
392
|
+
// Use `UnifiedToCore` for best tree-shaking performance.
|
|
393
|
+
// You can create one instance of it to use across an application.
|
|
394
|
+
const unifiedTo = new UnifiedToCore({
|
|
395
|
+
security: {
|
|
396
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
397
|
+
},
|
|
398
|
+
});
|
|
399
|
+
|
|
400
|
+
async function run() {
|
|
401
|
+
const res = await eventListCalendarEvents(unifiedTo, {
|
|
402
|
+
connectionId: "<id>",
|
|
403
|
+
});
|
|
404
|
+
|
|
405
|
+
if (!res.ok) {
|
|
406
|
+
throw res.error;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
const { value: result } = res;
|
|
410
|
+
|
|
411
|
+
// Handle the result
|
|
412
|
+
console.log(result);
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
run();
|
|
416
|
+
```
|
|
417
|
+
|
|
418
|
+
### Parameters
|
|
419
|
+
|
|
420
|
+
| Parameter | Type | Required | Description |
|
|
421
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
422
|
+
| `request` | [operations.ListCalendarEventsRequest](../../sdk/models/operations/listcalendareventsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
423
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
424
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
425
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
426
|
+
|
|
427
|
+
### Response
|
|
428
|
+
|
|
429
|
+
**Promise\<[shared.CalendarEvent[]](../../models/.md)\>**
|
|
430
|
+
|
|
431
|
+
### Errors
|
|
432
|
+
|
|
433
|
+
| Error Type | Status Code | Content Type |
|
|
434
|
+
| --------------- | --------------- | --------------- |
|
|
435
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
436
|
+
|
|
179
437
|
## listCrmEvents
|
|
180
438
|
|
|
181
439
|
List all events
|
|
@@ -256,6 +514,98 @@ run();
|
|
|
256
514
|
| --------------- | --------------- | --------------- |
|
|
257
515
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
258
516
|
|
|
517
|
+
## patchCalendarEvent
|
|
518
|
+
|
|
519
|
+
Update an event
|
|
520
|
+
|
|
521
|
+
### Example Usage
|
|
522
|
+
|
|
523
|
+
```typescript
|
|
524
|
+
import { UnifiedTo } from "@unified-api/typescript-sdk";
|
|
525
|
+
|
|
526
|
+
const unifiedTo = new UnifiedTo({
|
|
527
|
+
security: {
|
|
528
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
529
|
+
},
|
|
530
|
+
});
|
|
531
|
+
|
|
532
|
+
async function run() {
|
|
533
|
+
const result = await unifiedTo.event.patchCalendarEvent({
|
|
534
|
+
calendarEvent: {
|
|
535
|
+
endAt: "<value>",
|
|
536
|
+
startAt: "<value>",
|
|
537
|
+
subject: "<value>",
|
|
538
|
+
},
|
|
539
|
+
connectionId: "<id>",
|
|
540
|
+
id: "<id>",
|
|
541
|
+
});
|
|
542
|
+
|
|
543
|
+
// Handle the result
|
|
544
|
+
console.log(result);
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
run();
|
|
548
|
+
```
|
|
549
|
+
|
|
550
|
+
### Standalone function
|
|
551
|
+
|
|
552
|
+
The standalone function version of this method:
|
|
553
|
+
|
|
554
|
+
```typescript
|
|
555
|
+
import { UnifiedToCore } from "@unified-api/typescript-sdk/core.js";
|
|
556
|
+
import { eventPatchCalendarEvent } from "@unified-api/typescript-sdk/funcs/eventPatchCalendarEvent.js";
|
|
557
|
+
|
|
558
|
+
// Use `UnifiedToCore` for best tree-shaking performance.
|
|
559
|
+
// You can create one instance of it to use across an application.
|
|
560
|
+
const unifiedTo = new UnifiedToCore({
|
|
561
|
+
security: {
|
|
562
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
563
|
+
},
|
|
564
|
+
});
|
|
565
|
+
|
|
566
|
+
async function run() {
|
|
567
|
+
const res = await eventPatchCalendarEvent(unifiedTo, {
|
|
568
|
+
calendarEvent: {
|
|
569
|
+
endAt: "<value>",
|
|
570
|
+
startAt: "<value>",
|
|
571
|
+
subject: "<value>",
|
|
572
|
+
},
|
|
573
|
+
connectionId: "<id>",
|
|
574
|
+
id: "<id>",
|
|
575
|
+
});
|
|
576
|
+
|
|
577
|
+
if (!res.ok) {
|
|
578
|
+
throw res.error;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
const { value: result } = res;
|
|
582
|
+
|
|
583
|
+
// Handle the result
|
|
584
|
+
console.log(result);
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
run();
|
|
588
|
+
```
|
|
589
|
+
|
|
590
|
+
### Parameters
|
|
591
|
+
|
|
592
|
+
| Parameter | Type | Required | Description |
|
|
593
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
594
|
+
| `request` | [operations.PatchCalendarEventRequest](../../sdk/models/operations/patchcalendareventrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
595
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
596
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
597
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
598
|
+
|
|
599
|
+
### Response
|
|
600
|
+
|
|
601
|
+
**Promise\<[shared.CalendarEvent](../../sdk/models/shared/calendarevent.md)\>**
|
|
602
|
+
|
|
603
|
+
### Errors
|
|
604
|
+
|
|
605
|
+
| Error Type | Status Code | Content Type |
|
|
606
|
+
| --------------- | --------------- | --------------- |
|
|
607
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
608
|
+
|
|
259
609
|
## patchCrmEvent
|
|
260
610
|
|
|
261
611
|
Update an event
|
|
@@ -340,6 +690,88 @@ run();
|
|
|
340
690
|
| --------------- | --------------- | --------------- |
|
|
341
691
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
342
692
|
|
|
693
|
+
## removeCalendarEvent
|
|
694
|
+
|
|
695
|
+
Remove an event
|
|
696
|
+
|
|
697
|
+
### Example Usage
|
|
698
|
+
|
|
699
|
+
```typescript
|
|
700
|
+
import { UnifiedTo } from "@unified-api/typescript-sdk";
|
|
701
|
+
|
|
702
|
+
const unifiedTo = new UnifiedTo({
|
|
703
|
+
security: {
|
|
704
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
705
|
+
},
|
|
706
|
+
});
|
|
707
|
+
|
|
708
|
+
async function run() {
|
|
709
|
+
const result = await unifiedTo.event.removeCalendarEvent({
|
|
710
|
+
connectionId: "<id>",
|
|
711
|
+
id: "<id>",
|
|
712
|
+
});
|
|
713
|
+
|
|
714
|
+
// Handle the result
|
|
715
|
+
console.log(result);
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
run();
|
|
719
|
+
```
|
|
720
|
+
|
|
721
|
+
### Standalone function
|
|
722
|
+
|
|
723
|
+
The standalone function version of this method:
|
|
724
|
+
|
|
725
|
+
```typescript
|
|
726
|
+
import { UnifiedToCore } from "@unified-api/typescript-sdk/core.js";
|
|
727
|
+
import { eventRemoveCalendarEvent } from "@unified-api/typescript-sdk/funcs/eventRemoveCalendarEvent.js";
|
|
728
|
+
|
|
729
|
+
// Use `UnifiedToCore` for best tree-shaking performance.
|
|
730
|
+
// You can create one instance of it to use across an application.
|
|
731
|
+
const unifiedTo = new UnifiedToCore({
|
|
732
|
+
security: {
|
|
733
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
734
|
+
},
|
|
735
|
+
});
|
|
736
|
+
|
|
737
|
+
async function run() {
|
|
738
|
+
const res = await eventRemoveCalendarEvent(unifiedTo, {
|
|
739
|
+
connectionId: "<id>",
|
|
740
|
+
id: "<id>",
|
|
741
|
+
});
|
|
742
|
+
|
|
743
|
+
if (!res.ok) {
|
|
744
|
+
throw res.error;
|
|
745
|
+
}
|
|
746
|
+
|
|
747
|
+
const { value: result } = res;
|
|
748
|
+
|
|
749
|
+
// Handle the result
|
|
750
|
+
console.log(result);
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
run();
|
|
754
|
+
```
|
|
755
|
+
|
|
756
|
+
### Parameters
|
|
757
|
+
|
|
758
|
+
| Parameter | Type | Required | Description |
|
|
759
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
760
|
+
| `request` | [operations.RemoveCalendarEventRequest](../../sdk/models/operations/removecalendareventrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
761
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
762
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
763
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
764
|
+
|
|
765
|
+
### Response
|
|
766
|
+
|
|
767
|
+
**Promise\<[operations.RemoveCalendarEventResponse](../../sdk/models/operations/removecalendareventresponse.md)\>**
|
|
768
|
+
|
|
769
|
+
### Errors
|
|
770
|
+
|
|
771
|
+
| Error Type | Status Code | Content Type |
|
|
772
|
+
| --------------- | --------------- | --------------- |
|
|
773
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
774
|
+
|
|
343
775
|
## removeCrmEvent
|
|
344
776
|
|
|
345
777
|
Remove an event
|
|
@@ -422,6 +854,98 @@ run();
|
|
|
422
854
|
| --------------- | --------------- | --------------- |
|
|
423
855
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
424
856
|
|
|
857
|
+
## updateCalendarEvent
|
|
858
|
+
|
|
859
|
+
Update an event
|
|
860
|
+
|
|
861
|
+
### Example Usage
|
|
862
|
+
|
|
863
|
+
```typescript
|
|
864
|
+
import { UnifiedTo } from "@unified-api/typescript-sdk";
|
|
865
|
+
|
|
866
|
+
const unifiedTo = new UnifiedTo({
|
|
867
|
+
security: {
|
|
868
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
869
|
+
},
|
|
870
|
+
});
|
|
871
|
+
|
|
872
|
+
async function run() {
|
|
873
|
+
const result = await unifiedTo.event.updateCalendarEvent({
|
|
874
|
+
calendarEvent: {
|
|
875
|
+
endAt: "<value>",
|
|
876
|
+
startAt: "<value>",
|
|
877
|
+
subject: "<value>",
|
|
878
|
+
},
|
|
879
|
+
connectionId: "<id>",
|
|
880
|
+
id: "<id>",
|
|
881
|
+
});
|
|
882
|
+
|
|
883
|
+
// Handle the result
|
|
884
|
+
console.log(result);
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
run();
|
|
888
|
+
```
|
|
889
|
+
|
|
890
|
+
### Standalone function
|
|
891
|
+
|
|
892
|
+
The standalone function version of this method:
|
|
893
|
+
|
|
894
|
+
```typescript
|
|
895
|
+
import { UnifiedToCore } from "@unified-api/typescript-sdk/core.js";
|
|
896
|
+
import { eventUpdateCalendarEvent } from "@unified-api/typescript-sdk/funcs/eventUpdateCalendarEvent.js";
|
|
897
|
+
|
|
898
|
+
// Use `UnifiedToCore` for best tree-shaking performance.
|
|
899
|
+
// You can create one instance of it to use across an application.
|
|
900
|
+
const unifiedTo = new UnifiedToCore({
|
|
901
|
+
security: {
|
|
902
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
903
|
+
},
|
|
904
|
+
});
|
|
905
|
+
|
|
906
|
+
async function run() {
|
|
907
|
+
const res = await eventUpdateCalendarEvent(unifiedTo, {
|
|
908
|
+
calendarEvent: {
|
|
909
|
+
endAt: "<value>",
|
|
910
|
+
startAt: "<value>",
|
|
911
|
+
subject: "<value>",
|
|
912
|
+
},
|
|
913
|
+
connectionId: "<id>",
|
|
914
|
+
id: "<id>",
|
|
915
|
+
});
|
|
916
|
+
|
|
917
|
+
if (!res.ok) {
|
|
918
|
+
throw res.error;
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
const { value: result } = res;
|
|
922
|
+
|
|
923
|
+
// Handle the result
|
|
924
|
+
console.log(result);
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
run();
|
|
928
|
+
```
|
|
929
|
+
|
|
930
|
+
### Parameters
|
|
931
|
+
|
|
932
|
+
| Parameter | Type | Required | Description |
|
|
933
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
934
|
+
| `request` | [operations.UpdateCalendarEventRequest](../../sdk/models/operations/updatecalendareventrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
935
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
936
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
937
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
938
|
+
|
|
939
|
+
### Response
|
|
940
|
+
|
|
941
|
+
**Promise\<[shared.CalendarEvent](../../sdk/models/shared/calendarevent.md)\>**
|
|
942
|
+
|
|
943
|
+
### Errors
|
|
944
|
+
|
|
945
|
+
| Error Type | Status Code | Content Type |
|
|
946
|
+
| --------------- | --------------- | --------------- |
|
|
947
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
948
|
+
|
|
425
949
|
## updateCrmEvent
|
|
426
950
|
|
|
427
951
|
Update an event
|