@unified-api/typescript-sdk 2.18.0 → 2.22.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 +64 -0
- package/sdk/models/shared/calendarcalendar.d.ts.map +1 -0
- package/sdk/models/shared/calendarcalendar.js +109 -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 +157 -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
package/docs/sdks/link/README.md
CHANGED
|
@@ -5,13 +5,105 @@
|
|
|
5
5
|
|
|
6
6
|
### Available Operations
|
|
7
7
|
|
|
8
|
+
* [createCalendarLink](#createcalendarlink) - Create a link
|
|
8
9
|
* [createPaymentLink](#createpaymentlink) - Create a link
|
|
10
|
+
* [getCalendarLink](#getcalendarlink) - Retrieve a link
|
|
9
11
|
* [getPaymentLink](#getpaymentlink) - Retrieve a link
|
|
12
|
+
* [listCalendarLinks](#listcalendarlinks) - List all links
|
|
10
13
|
* [listPaymentLinks](#listpaymentlinks) - List all links
|
|
14
|
+
* [patchCalendarLink](#patchcalendarlink) - Update a link
|
|
11
15
|
* [patchPaymentLink](#patchpaymentlink) - Update a link
|
|
16
|
+
* [removeCalendarLink](#removecalendarlink) - Remove a link
|
|
12
17
|
* [removePaymentLink](#removepaymentlink) - Remove a link
|
|
18
|
+
* [updateCalendarLink](#updatecalendarlink) - Update a link
|
|
13
19
|
* [updatePaymentLink](#updatepaymentlink) - Update a link
|
|
14
20
|
|
|
21
|
+
## createCalendarLink
|
|
22
|
+
|
|
23
|
+
Create a link
|
|
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.link.createCalendarLink({
|
|
38
|
+
calendarLink: {
|
|
39
|
+
url: "https://sturdy-begonia.biz/",
|
|
40
|
+
},
|
|
41
|
+
connectionId: "<id>",
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
// Handle the result
|
|
45
|
+
console.log(result);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
run();
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### Standalone function
|
|
52
|
+
|
|
53
|
+
The standalone function version of this method:
|
|
54
|
+
|
|
55
|
+
```typescript
|
|
56
|
+
import { UnifiedToCore } from "@unified-api/typescript-sdk/core.js";
|
|
57
|
+
import { linkCreateCalendarLink } from "@unified-api/typescript-sdk/funcs/linkCreateCalendarLink.js";
|
|
58
|
+
|
|
59
|
+
// Use `UnifiedToCore` for best tree-shaking performance.
|
|
60
|
+
// You can create one instance of it to use across an application.
|
|
61
|
+
const unifiedTo = new UnifiedToCore({
|
|
62
|
+
security: {
|
|
63
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
64
|
+
},
|
|
65
|
+
});
|
|
66
|
+
|
|
67
|
+
async function run() {
|
|
68
|
+
const res = await linkCreateCalendarLink(unifiedTo, {
|
|
69
|
+
calendarLink: {
|
|
70
|
+
url: "https://sturdy-begonia.biz/",
|
|
71
|
+
},
|
|
72
|
+
connectionId: "<id>",
|
|
73
|
+
});
|
|
74
|
+
|
|
75
|
+
if (!res.ok) {
|
|
76
|
+
throw res.error;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
const { value: result } = res;
|
|
80
|
+
|
|
81
|
+
// Handle the result
|
|
82
|
+
console.log(result);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
run();
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
### Parameters
|
|
89
|
+
|
|
90
|
+
| Parameter | Type | Required | Description |
|
|
91
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
92
|
+
| `request` | [operations.CreateCalendarLinkRequest](../../sdk/models/operations/createcalendarlinkrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
93
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
94
|
+
| `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. |
|
|
95
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
96
|
+
|
|
97
|
+
### Response
|
|
98
|
+
|
|
99
|
+
**Promise\<[shared.CalendarLink](../../sdk/models/shared/calendarlink.md)\>**
|
|
100
|
+
|
|
101
|
+
### Errors
|
|
102
|
+
|
|
103
|
+
| Error Type | Status Code | Content Type |
|
|
104
|
+
| --------------- | --------------- | --------------- |
|
|
105
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
106
|
+
|
|
15
107
|
## createPaymentLink
|
|
16
108
|
|
|
17
109
|
Create a link
|
|
@@ -94,6 +186,88 @@ run();
|
|
|
94
186
|
| --------------- | --------------- | --------------- |
|
|
95
187
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
96
188
|
|
|
189
|
+
## getCalendarLink
|
|
190
|
+
|
|
191
|
+
Retrieve a link
|
|
192
|
+
|
|
193
|
+
### Example Usage
|
|
194
|
+
|
|
195
|
+
```typescript
|
|
196
|
+
import { UnifiedTo } from "@unified-api/typescript-sdk";
|
|
197
|
+
|
|
198
|
+
const unifiedTo = new UnifiedTo({
|
|
199
|
+
security: {
|
|
200
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
201
|
+
},
|
|
202
|
+
});
|
|
203
|
+
|
|
204
|
+
async function run() {
|
|
205
|
+
const result = await unifiedTo.link.getCalendarLink({
|
|
206
|
+
connectionId: "<id>",
|
|
207
|
+
id: "<id>",
|
|
208
|
+
});
|
|
209
|
+
|
|
210
|
+
// Handle the result
|
|
211
|
+
console.log(result);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
run();
|
|
215
|
+
```
|
|
216
|
+
|
|
217
|
+
### Standalone function
|
|
218
|
+
|
|
219
|
+
The standalone function version of this method:
|
|
220
|
+
|
|
221
|
+
```typescript
|
|
222
|
+
import { UnifiedToCore } from "@unified-api/typescript-sdk/core.js";
|
|
223
|
+
import { linkGetCalendarLink } from "@unified-api/typescript-sdk/funcs/linkGetCalendarLink.js";
|
|
224
|
+
|
|
225
|
+
// Use `UnifiedToCore` for best tree-shaking performance.
|
|
226
|
+
// You can create one instance of it to use across an application.
|
|
227
|
+
const unifiedTo = new UnifiedToCore({
|
|
228
|
+
security: {
|
|
229
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
230
|
+
},
|
|
231
|
+
});
|
|
232
|
+
|
|
233
|
+
async function run() {
|
|
234
|
+
const res = await linkGetCalendarLink(unifiedTo, {
|
|
235
|
+
connectionId: "<id>",
|
|
236
|
+
id: "<id>",
|
|
237
|
+
});
|
|
238
|
+
|
|
239
|
+
if (!res.ok) {
|
|
240
|
+
throw res.error;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
const { value: result } = res;
|
|
244
|
+
|
|
245
|
+
// Handle the result
|
|
246
|
+
console.log(result);
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
run();
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
### Parameters
|
|
253
|
+
|
|
254
|
+
| Parameter | Type | Required | Description |
|
|
255
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
256
|
+
| `request` | [operations.GetCalendarLinkRequest](../../sdk/models/operations/getcalendarlinkrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
257
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
258
|
+
| `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. |
|
|
259
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
260
|
+
|
|
261
|
+
### Response
|
|
262
|
+
|
|
263
|
+
**Promise\<[shared.CalendarLink](../../sdk/models/shared/calendarlink.md)\>**
|
|
264
|
+
|
|
265
|
+
### Errors
|
|
266
|
+
|
|
267
|
+
| Error Type | Status Code | Content Type |
|
|
268
|
+
| --------------- | --------------- | --------------- |
|
|
269
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
270
|
+
|
|
97
271
|
## getPaymentLink
|
|
98
272
|
|
|
99
273
|
Retrieve a link
|
|
@@ -176,6 +350,86 @@ run();
|
|
|
176
350
|
| --------------- | --------------- | --------------- |
|
|
177
351
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
178
352
|
|
|
353
|
+
## listCalendarLinks
|
|
354
|
+
|
|
355
|
+
List all links
|
|
356
|
+
|
|
357
|
+
### Example Usage
|
|
358
|
+
|
|
359
|
+
```typescript
|
|
360
|
+
import { UnifiedTo } from "@unified-api/typescript-sdk";
|
|
361
|
+
|
|
362
|
+
const unifiedTo = new UnifiedTo({
|
|
363
|
+
security: {
|
|
364
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
365
|
+
},
|
|
366
|
+
});
|
|
367
|
+
|
|
368
|
+
async function run() {
|
|
369
|
+
const result = await unifiedTo.link.listCalendarLinks({
|
|
370
|
+
connectionId: "<id>",
|
|
371
|
+
});
|
|
372
|
+
|
|
373
|
+
// Handle the result
|
|
374
|
+
console.log(result);
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
run();
|
|
378
|
+
```
|
|
379
|
+
|
|
380
|
+
### Standalone function
|
|
381
|
+
|
|
382
|
+
The standalone function version of this method:
|
|
383
|
+
|
|
384
|
+
```typescript
|
|
385
|
+
import { UnifiedToCore } from "@unified-api/typescript-sdk/core.js";
|
|
386
|
+
import { linkListCalendarLinks } from "@unified-api/typescript-sdk/funcs/linkListCalendarLinks.js";
|
|
387
|
+
|
|
388
|
+
// Use `UnifiedToCore` for best tree-shaking performance.
|
|
389
|
+
// You can create one instance of it to use across an application.
|
|
390
|
+
const unifiedTo = new UnifiedToCore({
|
|
391
|
+
security: {
|
|
392
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
393
|
+
},
|
|
394
|
+
});
|
|
395
|
+
|
|
396
|
+
async function run() {
|
|
397
|
+
const res = await linkListCalendarLinks(unifiedTo, {
|
|
398
|
+
connectionId: "<id>",
|
|
399
|
+
});
|
|
400
|
+
|
|
401
|
+
if (!res.ok) {
|
|
402
|
+
throw res.error;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
const { value: result } = res;
|
|
406
|
+
|
|
407
|
+
// Handle the result
|
|
408
|
+
console.log(result);
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
run();
|
|
412
|
+
```
|
|
413
|
+
|
|
414
|
+
### Parameters
|
|
415
|
+
|
|
416
|
+
| Parameter | Type | Required | Description |
|
|
417
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
418
|
+
| `request` | [operations.ListCalendarLinksRequest](../../sdk/models/operations/listcalendarlinksrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
419
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
420
|
+
| `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. |
|
|
421
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
422
|
+
|
|
423
|
+
### Response
|
|
424
|
+
|
|
425
|
+
**Promise\<[shared.CalendarLink[]](../../models/.md)\>**
|
|
426
|
+
|
|
427
|
+
### Errors
|
|
428
|
+
|
|
429
|
+
| Error Type | Status Code | Content Type |
|
|
430
|
+
| --------------- | --------------- | --------------- |
|
|
431
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
432
|
+
|
|
179
433
|
## listPaymentLinks
|
|
180
434
|
|
|
181
435
|
List all links
|
|
@@ -256,6 +510,94 @@ run();
|
|
|
256
510
|
| --------------- | --------------- | --------------- |
|
|
257
511
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
258
512
|
|
|
513
|
+
## patchCalendarLink
|
|
514
|
+
|
|
515
|
+
Update a link
|
|
516
|
+
|
|
517
|
+
### Example Usage
|
|
518
|
+
|
|
519
|
+
```typescript
|
|
520
|
+
import { UnifiedTo } from "@unified-api/typescript-sdk";
|
|
521
|
+
|
|
522
|
+
const unifiedTo = new UnifiedTo({
|
|
523
|
+
security: {
|
|
524
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
525
|
+
},
|
|
526
|
+
});
|
|
527
|
+
|
|
528
|
+
async function run() {
|
|
529
|
+
const result = await unifiedTo.link.patchCalendarLink({
|
|
530
|
+
calendarLink: {
|
|
531
|
+
url: "https://curly-skyline.biz/",
|
|
532
|
+
},
|
|
533
|
+
connectionId: "<id>",
|
|
534
|
+
id: "<id>",
|
|
535
|
+
});
|
|
536
|
+
|
|
537
|
+
// Handle the result
|
|
538
|
+
console.log(result);
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
run();
|
|
542
|
+
```
|
|
543
|
+
|
|
544
|
+
### Standalone function
|
|
545
|
+
|
|
546
|
+
The standalone function version of this method:
|
|
547
|
+
|
|
548
|
+
```typescript
|
|
549
|
+
import { UnifiedToCore } from "@unified-api/typescript-sdk/core.js";
|
|
550
|
+
import { linkPatchCalendarLink } from "@unified-api/typescript-sdk/funcs/linkPatchCalendarLink.js";
|
|
551
|
+
|
|
552
|
+
// Use `UnifiedToCore` for best tree-shaking performance.
|
|
553
|
+
// You can create one instance of it to use across an application.
|
|
554
|
+
const unifiedTo = new UnifiedToCore({
|
|
555
|
+
security: {
|
|
556
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
557
|
+
},
|
|
558
|
+
});
|
|
559
|
+
|
|
560
|
+
async function run() {
|
|
561
|
+
const res = await linkPatchCalendarLink(unifiedTo, {
|
|
562
|
+
calendarLink: {
|
|
563
|
+
url: "https://curly-skyline.biz/",
|
|
564
|
+
},
|
|
565
|
+
connectionId: "<id>",
|
|
566
|
+
id: "<id>",
|
|
567
|
+
});
|
|
568
|
+
|
|
569
|
+
if (!res.ok) {
|
|
570
|
+
throw res.error;
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
const { value: result } = res;
|
|
574
|
+
|
|
575
|
+
// Handle the result
|
|
576
|
+
console.log(result);
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
run();
|
|
580
|
+
```
|
|
581
|
+
|
|
582
|
+
### Parameters
|
|
583
|
+
|
|
584
|
+
| Parameter | Type | Required | Description |
|
|
585
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
586
|
+
| `request` | [operations.PatchCalendarLinkRequest](../../sdk/models/operations/patchcalendarlinkrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
587
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
588
|
+
| `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. |
|
|
589
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
590
|
+
|
|
591
|
+
### Response
|
|
592
|
+
|
|
593
|
+
**Promise\<[shared.CalendarLink](../../sdk/models/shared/calendarlink.md)\>**
|
|
594
|
+
|
|
595
|
+
### Errors
|
|
596
|
+
|
|
597
|
+
| Error Type | Status Code | Content Type |
|
|
598
|
+
| --------------- | --------------- | --------------- |
|
|
599
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
600
|
+
|
|
259
601
|
## patchPaymentLink
|
|
260
602
|
|
|
261
603
|
Update a link
|
|
@@ -340,6 +682,88 @@ run();
|
|
|
340
682
|
| --------------- | --------------- | --------------- |
|
|
341
683
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
342
684
|
|
|
685
|
+
## removeCalendarLink
|
|
686
|
+
|
|
687
|
+
Remove a link
|
|
688
|
+
|
|
689
|
+
### Example Usage
|
|
690
|
+
|
|
691
|
+
```typescript
|
|
692
|
+
import { UnifiedTo } from "@unified-api/typescript-sdk";
|
|
693
|
+
|
|
694
|
+
const unifiedTo = new UnifiedTo({
|
|
695
|
+
security: {
|
|
696
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
697
|
+
},
|
|
698
|
+
});
|
|
699
|
+
|
|
700
|
+
async function run() {
|
|
701
|
+
const result = await unifiedTo.link.removeCalendarLink({
|
|
702
|
+
connectionId: "<id>",
|
|
703
|
+
id: "<id>",
|
|
704
|
+
});
|
|
705
|
+
|
|
706
|
+
// Handle the result
|
|
707
|
+
console.log(result);
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
run();
|
|
711
|
+
```
|
|
712
|
+
|
|
713
|
+
### Standalone function
|
|
714
|
+
|
|
715
|
+
The standalone function version of this method:
|
|
716
|
+
|
|
717
|
+
```typescript
|
|
718
|
+
import { UnifiedToCore } from "@unified-api/typescript-sdk/core.js";
|
|
719
|
+
import { linkRemoveCalendarLink } from "@unified-api/typescript-sdk/funcs/linkRemoveCalendarLink.js";
|
|
720
|
+
|
|
721
|
+
// Use `UnifiedToCore` for best tree-shaking performance.
|
|
722
|
+
// You can create one instance of it to use across an application.
|
|
723
|
+
const unifiedTo = new UnifiedToCore({
|
|
724
|
+
security: {
|
|
725
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
726
|
+
},
|
|
727
|
+
});
|
|
728
|
+
|
|
729
|
+
async function run() {
|
|
730
|
+
const res = await linkRemoveCalendarLink(unifiedTo, {
|
|
731
|
+
connectionId: "<id>",
|
|
732
|
+
id: "<id>",
|
|
733
|
+
});
|
|
734
|
+
|
|
735
|
+
if (!res.ok) {
|
|
736
|
+
throw res.error;
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
const { value: result } = res;
|
|
740
|
+
|
|
741
|
+
// Handle the result
|
|
742
|
+
console.log(result);
|
|
743
|
+
}
|
|
744
|
+
|
|
745
|
+
run();
|
|
746
|
+
```
|
|
747
|
+
|
|
748
|
+
### Parameters
|
|
749
|
+
|
|
750
|
+
| Parameter | Type | Required | Description |
|
|
751
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
752
|
+
| `request` | [operations.RemoveCalendarLinkRequest](../../sdk/models/operations/removecalendarlinkrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
753
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
754
|
+
| `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. |
|
|
755
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
756
|
+
|
|
757
|
+
### Response
|
|
758
|
+
|
|
759
|
+
**Promise\<[operations.RemoveCalendarLinkResponse](../../sdk/models/operations/removecalendarlinkresponse.md)\>**
|
|
760
|
+
|
|
761
|
+
### Errors
|
|
762
|
+
|
|
763
|
+
| Error Type | Status Code | Content Type |
|
|
764
|
+
| --------------- | --------------- | --------------- |
|
|
765
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
766
|
+
|
|
343
767
|
## removePaymentLink
|
|
344
768
|
|
|
345
769
|
Remove a link
|
|
@@ -422,6 +846,94 @@ run();
|
|
|
422
846
|
| --------------- | --------------- | --------------- |
|
|
423
847
|
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
424
848
|
|
|
849
|
+
## updateCalendarLink
|
|
850
|
+
|
|
851
|
+
Update a link
|
|
852
|
+
|
|
853
|
+
### Example Usage
|
|
854
|
+
|
|
855
|
+
```typescript
|
|
856
|
+
import { UnifiedTo } from "@unified-api/typescript-sdk";
|
|
857
|
+
|
|
858
|
+
const unifiedTo = new UnifiedTo({
|
|
859
|
+
security: {
|
|
860
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
861
|
+
},
|
|
862
|
+
});
|
|
863
|
+
|
|
864
|
+
async function run() {
|
|
865
|
+
const result = await unifiedTo.link.updateCalendarLink({
|
|
866
|
+
calendarLink: {
|
|
867
|
+
url: "https://quiet-coordination.name",
|
|
868
|
+
},
|
|
869
|
+
connectionId: "<id>",
|
|
870
|
+
id: "<id>",
|
|
871
|
+
});
|
|
872
|
+
|
|
873
|
+
// Handle the result
|
|
874
|
+
console.log(result);
|
|
875
|
+
}
|
|
876
|
+
|
|
877
|
+
run();
|
|
878
|
+
```
|
|
879
|
+
|
|
880
|
+
### Standalone function
|
|
881
|
+
|
|
882
|
+
The standalone function version of this method:
|
|
883
|
+
|
|
884
|
+
```typescript
|
|
885
|
+
import { UnifiedToCore } from "@unified-api/typescript-sdk/core.js";
|
|
886
|
+
import { linkUpdateCalendarLink } from "@unified-api/typescript-sdk/funcs/linkUpdateCalendarLink.js";
|
|
887
|
+
|
|
888
|
+
// Use `UnifiedToCore` for best tree-shaking performance.
|
|
889
|
+
// You can create one instance of it to use across an application.
|
|
890
|
+
const unifiedTo = new UnifiedToCore({
|
|
891
|
+
security: {
|
|
892
|
+
jwt: "<YOUR_API_KEY_HERE>",
|
|
893
|
+
},
|
|
894
|
+
});
|
|
895
|
+
|
|
896
|
+
async function run() {
|
|
897
|
+
const res = await linkUpdateCalendarLink(unifiedTo, {
|
|
898
|
+
calendarLink: {
|
|
899
|
+
url: "https://quiet-coordination.name",
|
|
900
|
+
},
|
|
901
|
+
connectionId: "<id>",
|
|
902
|
+
id: "<id>",
|
|
903
|
+
});
|
|
904
|
+
|
|
905
|
+
if (!res.ok) {
|
|
906
|
+
throw res.error;
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
const { value: result } = res;
|
|
910
|
+
|
|
911
|
+
// Handle the result
|
|
912
|
+
console.log(result);
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
run();
|
|
916
|
+
```
|
|
917
|
+
|
|
918
|
+
### Parameters
|
|
919
|
+
|
|
920
|
+
| Parameter | Type | Required | Description |
|
|
921
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
922
|
+
| `request` | [operations.UpdateCalendarLinkRequest](../../sdk/models/operations/updatecalendarlinkrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
923
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
924
|
+
| `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. |
|
|
925
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
926
|
+
|
|
927
|
+
### Response
|
|
928
|
+
|
|
929
|
+
**Promise\<[shared.CalendarLink](../../sdk/models/shared/calendarlink.md)\>**
|
|
930
|
+
|
|
931
|
+
### Errors
|
|
932
|
+
|
|
933
|
+
| Error Type | Status Code | Content Type |
|
|
934
|
+
| --------------- | --------------- | --------------- |
|
|
935
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
936
|
+
|
|
425
937
|
## updatePaymentLink
|
|
426
938
|
|
|
427
939
|
Update a link
|