@unified-api/typescript-sdk 2.86.3 → 2.86.5
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/FUNCTIONS.md +2 -2
- package/README.md +28 -16
- package/dist/commonjs/funcs/calendarGetCalendarLocation.d.ts +18 -0
- package/dist/commonjs/funcs/calendarGetCalendarLocation.d.ts.map +1 -0
- package/dist/commonjs/funcs/calendarGetCalendarLocation.js +129 -0
- package/dist/commonjs/funcs/calendarGetCalendarLocation.js.map +1 -0
- package/dist/commonjs/funcs/calendarGetCalendarRoom.d.ts +18 -0
- package/dist/commonjs/funcs/{clubsListClubsLocations.d.ts.map → calendarGetCalendarRoom.d.ts.map} +1 -1
- package/dist/commonjs/funcs/calendarGetCalendarRoom.js +129 -0
- package/dist/commonjs/funcs/calendarGetCalendarRoom.js.map +1 -0
- package/dist/commonjs/funcs/calendarListCalendarBusies.js +1 -0
- package/dist/commonjs/funcs/calendarListCalendarBusies.js.map +1 -1
- package/dist/commonjs/funcs/calendarListCalendarLocations.d.ts +18 -0
- package/dist/commonjs/funcs/calendarListCalendarLocations.d.ts.map +1 -0
- package/dist/commonjs/funcs/calendarListCalendarLocations.js +133 -0
- package/dist/commonjs/funcs/calendarListCalendarLocations.js.map +1 -0
- package/dist/commonjs/funcs/calendarListCalendarRooms.d.ts +18 -0
- package/dist/commonjs/funcs/calendarListCalendarRooms.d.ts.map +1 -0
- package/dist/commonjs/funcs/calendarListCalendarRooms.js +134 -0
- package/dist/commonjs/funcs/calendarListCalendarRooms.js.map +1 -0
- package/dist/commonjs/funcs/eventListCalendarEvents.js +1 -0
- package/dist/commonjs/funcs/eventListCalendarEvents.js.map +1 -1
- package/dist/commonjs/funcs/{clubsGetClubsLocation.d.ts → locationGetClubsLocation.d.ts} +2 -2
- package/dist/commonjs/funcs/locationGetClubsLocation.d.ts.map +1 -0
- package/dist/commonjs/funcs/{clubsGetClubsLocation.js → locationGetClubsLocation.js} +3 -3
- package/dist/commonjs/funcs/locationGetClubsLocation.js.map +1 -0
- package/dist/commonjs/funcs/{clubsListClubsLocations.d.ts → locationListClubsLocations.d.ts} +2 -2
- package/dist/commonjs/funcs/locationListClubsLocations.d.ts.map +1 -0
- package/dist/commonjs/funcs/{clubsListClubsLocations.js → locationListClubsLocations.js} +3 -3
- package/dist/commonjs/funcs/locationListClubsLocations.js.map +1 -0
- package/dist/commonjs/funcs/unifiedPatchUnifiedWebhookResume.d.ts +18 -0
- package/dist/commonjs/funcs/unifiedPatchUnifiedWebhookResume.d.ts.map +1 -0
- package/dist/commonjs/funcs/unifiedPatchUnifiedWebhookResume.js +120 -0
- package/dist/commonjs/funcs/unifiedPatchUnifiedWebhookResume.js.map +1 -0
- package/dist/commonjs/funcs/unifiedUpdateUnifiedWebhookResume.d.ts +18 -0
- package/dist/commonjs/funcs/unifiedUpdateUnifiedWebhookResume.d.ts.map +1 -0
- package/dist/commonjs/funcs/unifiedUpdateUnifiedWebhookResume.js +120 -0
- package/dist/commonjs/funcs/unifiedUpdateUnifiedWebhookResume.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +2 -2
- package/dist/commonjs/lib/config.js +2 -2
- package/dist/commonjs/sdk/calendar.d.ts +28 -0
- package/dist/commonjs/sdk/calendar.d.ts.map +1 -1
- package/dist/commonjs/sdk/calendar.js +40 -0
- package/dist/commonjs/sdk/calendar.js.map +1 -1
- package/dist/commonjs/sdk/clubs.js +4 -4
- package/dist/commonjs/sdk/clubs.js.map +1 -1
- package/dist/commonjs/sdk/location.d.ts +14 -0
- package/dist/commonjs/sdk/location.d.ts.map +1 -1
- package/dist/commonjs/sdk/location.js +24 -4
- package/dist/commonjs/sdk/location.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/createcalendarevent.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/createcalendarevent.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/createcalendarevent.js +1 -0
- package/dist/commonjs/sdk/models/operations/createcalendarevent.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getcalendarevent.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/getcalendarevent.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/getcalendarevent.js +1 -0
- package/dist/commonjs/sdk/models/operations/getcalendarevent.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/getcalendarlocation.d.ts +46 -0
- package/dist/commonjs/sdk/models/operations/getcalendarlocation.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getcalendarlocation.js +72 -0
- package/dist/commonjs/sdk/models/operations/getcalendarlocation.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getcalendarroom.d.ts +54 -0
- package/dist/commonjs/sdk/models/operations/getcalendarroom.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getcalendarroom.js +79 -0
- package/dist/commonjs/sdk/models/operations/getcalendarroom.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/index.d.ts +6 -0
- package/dist/commonjs/sdk/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/index.js +6 -0
- package/dist/commonjs/sdk/models/operations/index.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/listcalendarbusies.d.ts +5 -0
- package/dist/commonjs/sdk/models/operations/listcalendarbusies.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/listcalendarbusies.js +2 -0
- package/dist/commonjs/sdk/models/operations/listcalendarbusies.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/listcalendarevents.d.ts +6 -0
- package/dist/commonjs/sdk/models/operations/listcalendarevents.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/listcalendarevents.js +3 -0
- package/dist/commonjs/sdk/models/operations/listcalendarevents.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/listcalendarlocations.d.ts +64 -0
- package/dist/commonjs/sdk/models/operations/listcalendarlocations.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/listcalendarlocations.js +80 -0
- package/dist/commonjs/sdk/models/operations/listcalendarlocations.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/listcalendarrooms.d.ts +77 -0
- package/dist/commonjs/sdk/models/operations/listcalendarrooms.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/listcalendarrooms.js +88 -0
- package/dist/commonjs/sdk/models/operations/listcalendarrooms.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/patchcalendarevent.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/patchcalendarevent.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/patchcalendarevent.js +1 -0
- package/dist/commonjs/sdk/models/operations/patchcalendarevent.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/patchunifiedwebhookresume.d.ts +15 -0
- package/dist/commonjs/sdk/models/operations/patchunifiedwebhookresume.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/patchunifiedwebhookresume.js +49 -0
- package/dist/commonjs/sdk/models/operations/patchunifiedwebhookresume.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/updatecalendarevent.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/updatecalendarevent.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/updatecalendarevent.js +1 -0
- package/dist/commonjs/sdk/models/operations/updatecalendarevent.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/updateunifiedwebhookresume.d.ts +15 -0
- package/dist/commonjs/sdk/models/operations/updateunifiedwebhookresume.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/updateunifiedwebhookresume.js +49 -0
- package/dist/commonjs/sdk/models/operations/updateunifiedwebhookresume.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/calendarevent.d.ts +5 -0
- package/dist/commonjs/sdk/models/shared/calendarevent.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/calendarevent.js +4 -0
- package/dist/commonjs/sdk/models/shared/calendarevent.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/calendarlocation.d.ts +42 -0
- package/dist/commonjs/sdk/models/shared/calendarlocation.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/calendarlocation.js +82 -0
- package/dist/commonjs/sdk/models/shared/calendarlocation.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/calendarroom.d.ts +54 -0
- package/dist/commonjs/sdk/models/shared/calendarroom.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/calendarroom.js +89 -0
- package/dist/commonjs/sdk/models/shared/calendarroom.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/crmcontact.d.ts +7 -1
- package/dist/commonjs/sdk/models/shared/crmcontact.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/crmcontact.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/enrichperson.d.ts +1 -1
- package/dist/commonjs/sdk/models/shared/index.d.ts +4 -1
- package/dist/commonjs/sdk/models/shared/index.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/index.js +4 -1
- package/dist/commonjs/sdk/models/shared/index.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/integrationsupport.d.ts +10 -1
- package/dist/commonjs/sdk/models/shared/integrationsupport.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/integrationsupport.js +163 -154
- package/dist/commonjs/sdk/models/shared/integrationsupport.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertycalendarlocationaddress.d.ts +20 -0
- package/dist/commonjs/sdk/models/shared/propertycalendarlocationaddress.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertycalendarlocationaddress.js +64 -0
- package/dist/commonjs/sdk/models/shared/propertycalendarlocationaddress.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.d.ts +2 -0
- package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.js +2 -0
- package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/{virtualwebhookchannelid.d.ts → virtualwebhookcarrierid.d.ts} +9 -9
- package/dist/commonjs/sdk/models/shared/virtualwebhookcarrierid.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/{virtualwebhookchannelid.js → virtualwebhookcarrierid.js} +12 -12
- package/dist/commonjs/sdk/models/shared/virtualwebhookcarrierid.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/webhook.d.ts +2 -0
- package/dist/commonjs/sdk/models/shared/webhook.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/webhook.js +2 -0
- package/dist/commonjs/sdk/models/shared/webhook.js.map +1 -1
- package/dist/commonjs/sdk/room.d.ts +20 -0
- package/dist/commonjs/sdk/room.d.ts.map +1 -0
- package/dist/commonjs/sdk/room.js +32 -0
- package/dist/commonjs/sdk/room.js.map +1 -0
- package/dist/commonjs/sdk/sdk.d.ts +5 -2
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +7 -3
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/commonjs/sdk/unified.d.ts +14 -0
- package/dist/commonjs/sdk/unified.d.ts.map +1 -1
- package/dist/commonjs/sdk/unified.js +20 -0
- package/dist/commonjs/sdk/unified.js.map +1 -1
- package/dist/commonjs/sdk/webhook.d.ts +14 -0
- package/dist/commonjs/sdk/webhook.d.ts.map +1 -1
- package/dist/commonjs/sdk/webhook.js +20 -0
- package/dist/commonjs/sdk/webhook.js.map +1 -1
- package/dist/esm/funcs/calendarGetCalendarLocation.d.ts +18 -0
- package/dist/esm/funcs/calendarGetCalendarLocation.d.ts.map +1 -0
- package/dist/esm/funcs/calendarGetCalendarLocation.js +93 -0
- package/dist/esm/funcs/calendarGetCalendarLocation.js.map +1 -0
- package/dist/esm/funcs/calendarGetCalendarRoom.d.ts +18 -0
- package/dist/esm/funcs/{clubsListClubsLocations.d.ts.map → calendarGetCalendarRoom.d.ts.map} +1 -1
- package/dist/esm/funcs/calendarGetCalendarRoom.js +93 -0
- package/dist/esm/funcs/calendarGetCalendarRoom.js.map +1 -0
- package/dist/esm/funcs/calendarListCalendarBusies.js +1 -0
- package/dist/esm/funcs/calendarListCalendarBusies.js.map +1 -1
- package/dist/esm/funcs/calendarListCalendarLocations.d.ts +18 -0
- package/dist/esm/funcs/calendarListCalendarLocations.d.ts.map +1 -0
- package/dist/esm/funcs/calendarListCalendarLocations.js +97 -0
- package/dist/esm/funcs/calendarListCalendarLocations.js.map +1 -0
- package/dist/esm/funcs/calendarListCalendarRooms.d.ts +18 -0
- package/dist/esm/funcs/calendarListCalendarRooms.d.ts.map +1 -0
- package/dist/esm/funcs/calendarListCalendarRooms.js +98 -0
- package/dist/esm/funcs/calendarListCalendarRooms.js.map +1 -0
- package/dist/esm/funcs/eventListCalendarEvents.js +1 -0
- package/dist/esm/funcs/eventListCalendarEvents.js.map +1 -1
- package/dist/esm/funcs/{clubsGetClubsLocation.d.ts → locationGetClubsLocation.d.ts} +2 -2
- package/dist/esm/funcs/locationGetClubsLocation.d.ts.map +1 -0
- package/dist/esm/funcs/{clubsGetClubsLocation.js → locationGetClubsLocation.js} +2 -2
- package/dist/esm/funcs/locationGetClubsLocation.js.map +1 -0
- package/dist/esm/funcs/{clubsListClubsLocations.d.ts → locationListClubsLocations.d.ts} +2 -2
- package/dist/esm/funcs/locationListClubsLocations.d.ts.map +1 -0
- package/dist/esm/funcs/{clubsListClubsLocations.js → locationListClubsLocations.js} +2 -2
- package/dist/esm/funcs/locationListClubsLocations.js.map +1 -0
- package/dist/esm/funcs/unifiedPatchUnifiedWebhookResume.d.ts +18 -0
- package/dist/esm/funcs/unifiedPatchUnifiedWebhookResume.d.ts.map +1 -0
- package/dist/esm/funcs/unifiedPatchUnifiedWebhookResume.js +84 -0
- package/dist/esm/funcs/unifiedPatchUnifiedWebhookResume.js.map +1 -0
- package/dist/esm/funcs/unifiedUpdateUnifiedWebhookResume.d.ts +18 -0
- package/dist/esm/funcs/unifiedUpdateUnifiedWebhookResume.d.ts.map +1 -0
- package/dist/esm/funcs/unifiedUpdateUnifiedWebhookResume.js +84 -0
- package/dist/esm/funcs/unifiedUpdateUnifiedWebhookResume.js.map +1 -0
- package/dist/esm/lib/config.d.ts +2 -2
- package/dist/esm/lib/config.js +2 -2
- package/dist/esm/sdk/calendar.d.ts +28 -0
- package/dist/esm/sdk/calendar.d.ts.map +1 -1
- package/dist/esm/sdk/calendar.js +40 -0
- package/dist/esm/sdk/calendar.js.map +1 -1
- package/dist/esm/sdk/clubs.js +4 -4
- package/dist/esm/sdk/clubs.js.map +1 -1
- package/dist/esm/sdk/location.d.ts +14 -0
- package/dist/esm/sdk/location.d.ts.map +1 -1
- package/dist/esm/sdk/location.js +24 -4
- package/dist/esm/sdk/location.js.map +1 -1
- package/dist/esm/sdk/models/operations/createcalendarevent.d.ts +1 -0
- package/dist/esm/sdk/models/operations/createcalendarevent.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/createcalendarevent.js +1 -0
- package/dist/esm/sdk/models/operations/createcalendarevent.js.map +1 -1
- package/dist/esm/sdk/models/operations/getcalendarevent.d.ts +1 -0
- package/dist/esm/sdk/models/operations/getcalendarevent.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/getcalendarevent.js +1 -0
- package/dist/esm/sdk/models/operations/getcalendarevent.js.map +1 -1
- package/dist/esm/sdk/models/operations/getcalendarlocation.d.ts +46 -0
- package/dist/esm/sdk/models/operations/getcalendarlocation.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getcalendarlocation.js +35 -0
- package/dist/esm/sdk/models/operations/getcalendarlocation.js.map +1 -0
- package/dist/esm/sdk/models/operations/getcalendarroom.d.ts +54 -0
- package/dist/esm/sdk/models/operations/getcalendarroom.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getcalendarroom.js +42 -0
- package/dist/esm/sdk/models/operations/getcalendarroom.js.map +1 -0
- package/dist/esm/sdk/models/operations/index.d.ts +6 -0
- package/dist/esm/sdk/models/operations/index.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/index.js +6 -0
- package/dist/esm/sdk/models/operations/index.js.map +1 -1
- package/dist/esm/sdk/models/operations/listcalendarbusies.d.ts +5 -0
- package/dist/esm/sdk/models/operations/listcalendarbusies.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/listcalendarbusies.js +2 -0
- package/dist/esm/sdk/models/operations/listcalendarbusies.js.map +1 -1
- package/dist/esm/sdk/models/operations/listcalendarevents.d.ts +6 -0
- package/dist/esm/sdk/models/operations/listcalendarevents.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/listcalendarevents.js +3 -0
- package/dist/esm/sdk/models/operations/listcalendarevents.js.map +1 -1
- package/dist/esm/sdk/models/operations/listcalendarlocations.d.ts +64 -0
- package/dist/esm/sdk/models/operations/listcalendarlocations.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/listcalendarlocations.js +43 -0
- package/dist/esm/sdk/models/operations/listcalendarlocations.js.map +1 -0
- package/dist/esm/sdk/models/operations/listcalendarrooms.d.ts +77 -0
- package/dist/esm/sdk/models/operations/listcalendarrooms.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/listcalendarrooms.js +51 -0
- package/dist/esm/sdk/models/operations/listcalendarrooms.js.map +1 -0
- package/dist/esm/sdk/models/operations/patchcalendarevent.d.ts +1 -0
- package/dist/esm/sdk/models/operations/patchcalendarevent.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/patchcalendarevent.js +1 -0
- package/dist/esm/sdk/models/operations/patchcalendarevent.js.map +1 -1
- package/dist/esm/sdk/models/operations/patchunifiedwebhookresume.d.ts +15 -0
- package/dist/esm/sdk/models/operations/patchunifiedwebhookresume.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/patchunifiedwebhookresume.js +12 -0
- package/dist/esm/sdk/models/operations/patchunifiedwebhookresume.js.map +1 -0
- package/dist/esm/sdk/models/operations/updatecalendarevent.d.ts +1 -0
- package/dist/esm/sdk/models/operations/updatecalendarevent.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/updatecalendarevent.js +1 -0
- package/dist/esm/sdk/models/operations/updatecalendarevent.js.map +1 -1
- package/dist/esm/sdk/models/operations/updateunifiedwebhookresume.d.ts +15 -0
- package/dist/esm/sdk/models/operations/updateunifiedwebhookresume.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/updateunifiedwebhookresume.js +12 -0
- package/dist/esm/sdk/models/operations/updateunifiedwebhookresume.js.map +1 -0
- package/dist/esm/sdk/models/shared/calendarevent.d.ts +5 -0
- package/dist/esm/sdk/models/shared/calendarevent.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/calendarevent.js +4 -0
- package/dist/esm/sdk/models/shared/calendarevent.js.map +1 -1
- package/dist/esm/sdk/models/shared/calendarlocation.d.ts +42 -0
- package/dist/esm/sdk/models/shared/calendarlocation.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/calendarlocation.js +45 -0
- package/dist/esm/sdk/models/shared/calendarlocation.js.map +1 -0
- package/dist/esm/sdk/models/shared/calendarroom.d.ts +54 -0
- package/dist/esm/sdk/models/shared/calendarroom.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/calendarroom.js +52 -0
- package/dist/esm/sdk/models/shared/calendarroom.js.map +1 -0
- package/dist/esm/sdk/models/shared/crmcontact.d.ts +7 -1
- package/dist/esm/sdk/models/shared/crmcontact.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/crmcontact.js.map +1 -1
- package/dist/esm/sdk/models/shared/enrichperson.d.ts +1 -1
- package/dist/esm/sdk/models/shared/index.d.ts +4 -1
- package/dist/esm/sdk/models/shared/index.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/index.js +4 -1
- package/dist/esm/sdk/models/shared/index.js.map +1 -1
- package/dist/esm/sdk/models/shared/integrationsupport.d.ts +10 -1
- package/dist/esm/sdk/models/shared/integrationsupport.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/integrationsupport.js +10 -1
- package/dist/esm/sdk/models/shared/integrationsupport.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertycalendarlocationaddress.d.ts +20 -0
- package/dist/esm/sdk/models/shared/propertycalendarlocationaddress.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/propertycalendarlocationaddress.js +27 -0
- package/dist/esm/sdk/models/shared/propertycalendarlocationaddress.js.map +1 -0
- package/dist/esm/sdk/models/shared/propertyconnectionpermissions.d.ts +2 -0
- package/dist/esm/sdk/models/shared/propertyconnectionpermissions.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertyconnectionpermissions.js +2 -0
- package/dist/esm/sdk/models/shared/propertyconnectionpermissions.js.map +1 -1
- package/dist/esm/sdk/models/shared/{virtualwebhookchannelid.d.ts → virtualwebhookcarrierid.d.ts} +9 -9
- package/dist/esm/sdk/models/shared/virtualwebhookcarrierid.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/{virtualwebhookchannelid.js → virtualwebhookcarrierid.js} +8 -8
- package/dist/esm/sdk/models/shared/virtualwebhookcarrierid.js.map +1 -0
- package/dist/esm/sdk/models/shared/webhook.d.ts +2 -0
- package/dist/esm/sdk/models/shared/webhook.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/webhook.js +2 -0
- package/dist/esm/sdk/models/shared/webhook.js.map +1 -1
- package/dist/esm/sdk/room.d.ts +20 -0
- package/dist/esm/sdk/room.d.ts.map +1 -0
- package/dist/esm/sdk/room.js +28 -0
- package/dist/esm/sdk/room.js.map +1 -0
- package/dist/esm/sdk/sdk.d.ts +5 -2
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +7 -3
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/dist/esm/sdk/unified.d.ts +14 -0
- package/dist/esm/sdk/unified.d.ts.map +1 -1
- package/dist/esm/sdk/unified.js +20 -0
- package/dist/esm/sdk/unified.js.map +1 -1
- package/dist/esm/sdk/webhook.d.ts +14 -0
- package/dist/esm/sdk/webhook.d.ts.map +1 -1
- package/dist/esm/sdk/webhook.js +20 -0
- package/dist/esm/sdk/webhook.js.map +1 -1
- package/examples/accountingCreateAccountingAccount.example.ts +2 -2
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/calendarGetCalendarLocation.ts +180 -0
- package/src/funcs/calendarGetCalendarRoom.ts +177 -0
- package/src/funcs/calendarListCalendarBusies.ts +1 -0
- package/src/funcs/calendarListCalendarLocations.ts +182 -0
- package/src/funcs/calendarListCalendarRooms.ts +182 -0
- package/src/funcs/eventListCalendarEvents.ts +1 -0
- package/src/funcs/{clubsGetClubsLocation.ts → locationGetClubsLocation.ts} +1 -1
- package/src/funcs/{clubsListClubsLocations.ts → locationListClubsLocations.ts} +1 -1
- package/src/funcs/unifiedPatchUnifiedWebhookResume.ts +168 -0
- package/src/funcs/unifiedUpdateUnifiedWebhookResume.ts +168 -0
- package/src/lib/config.ts +2 -2
- package/src/sdk/calendar.ts +72 -0
- package/src/sdk/clubs.ts +4 -4
- package/src/sdk/location.ts +40 -4
- package/src/sdk/models/operations/createcalendarevent.ts +1 -0
- package/src/sdk/models/operations/getcalendarevent.ts +1 -0
- package/src/sdk/models/operations/getcalendarlocation.ts +81 -0
- package/src/sdk/models/operations/getcalendarroom.ts +87 -0
- package/src/sdk/models/operations/index.ts +6 -0
- package/src/sdk/models/operations/listcalendarbusies.ts +7 -0
- package/src/sdk/models/operations/listcalendarevents.ts +8 -0
- package/src/sdk/models/operations/listcalendarlocations.ts +109 -0
- package/src/sdk/models/operations/listcalendarrooms.ts +119 -0
- package/src/sdk/models/operations/patchcalendarevent.ts +1 -0
- package/src/sdk/models/operations/patchunifiedwebhookresume.ts +36 -0
- package/src/sdk/models/operations/updatecalendarevent.ts +1 -0
- package/src/sdk/models/operations/updateunifiedwebhookresume.ts +36 -0
- package/src/sdk/models/shared/calendarevent.ts +9 -0
- package/src/sdk/models/shared/calendarlocation.ts +92 -0
- package/src/sdk/models/shared/calendarroom.ts +113 -0
- package/src/sdk/models/shared/crmcontact.ts +7 -1
- package/src/sdk/models/shared/enrichperson.ts +1 -1
- package/src/sdk/models/shared/index.ts +4 -1
- package/src/sdk/models/shared/integrationsupport.ts +20 -3
- package/src/sdk/models/shared/propertycalendarlocationaddress.ts +55 -0
- package/src/sdk/models/shared/propertyconnectionpermissions.ts +2 -0
- package/src/sdk/models/shared/{virtualwebhookchannelid.ts → virtualwebhookcarrierid.ts} +14 -14
- package/src/sdk/models/shared/webhook.ts +2 -0
- package/src/sdk/room.ts +46 -0
- package/src/sdk/sdk.ts +11 -5
- package/src/sdk/unified.ts +36 -0
- package/src/sdk/webhook.ts +36 -0
- package/dist/commonjs/funcs/clubsGetClubsLocation.d.ts.map +0 -1
- package/dist/commonjs/funcs/clubsGetClubsLocation.js.map +0 -1
- package/dist/commonjs/funcs/clubsListClubsLocations.js.map +0 -1
- package/dist/commonjs/sdk/models/shared/virtualwebhookchannelid.d.ts.map +0 -1
- package/dist/commonjs/sdk/models/shared/virtualwebhookchannelid.js.map +0 -1
- package/dist/esm/funcs/clubsGetClubsLocation.d.ts.map +0 -1
- package/dist/esm/funcs/clubsGetClubsLocation.js.map +0 -1
- package/dist/esm/funcs/clubsListClubsLocations.js.map +0 -1
- package/dist/esm/sdk/models/shared/virtualwebhookchannelid.d.ts.map +0 -1
- package/dist/esm/sdk/models/shared/virtualwebhookchannelid.js.map +0 -1
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { UnifiedToCore } from "../core.js";
|
|
6
|
+
import { encodeSimple } from "../lib/encodings.js";
|
|
7
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
8
|
+
import * as M from "../lib/matchers.js";
|
|
9
|
+
import { compactMap } from "../lib/primitives.js";
|
|
10
|
+
import { safeParse } from "../lib/schemas.js";
|
|
11
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
12
|
+
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
13
|
+
import { pathToFunc } from "../lib/url.js";
|
|
14
|
+
import {
|
|
15
|
+
ConnectionError,
|
|
16
|
+
InvalidRequestError,
|
|
17
|
+
RequestAbortedError,
|
|
18
|
+
RequestTimeoutError,
|
|
19
|
+
UnexpectedClientError,
|
|
20
|
+
} from "../sdk/models/errors/httpclienterrors.js";
|
|
21
|
+
import { ResponseValidationError } from "../sdk/models/errors/responsevalidationerror.js";
|
|
22
|
+
import { SDKValidationError } from "../sdk/models/errors/sdkvalidationerror.js";
|
|
23
|
+
import { UnifiedToError } from "../sdk/models/errors/unifiedtoerror.js";
|
|
24
|
+
import * as operations from "../sdk/models/operations/index.js";
|
|
25
|
+
import * as shared from "../sdk/models/shared/index.js";
|
|
26
|
+
import { APICall, APIPromise } from "../sdk/types/async.js";
|
|
27
|
+
import { Result } from "../sdk/types/fp.js";
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Resume an unhealthy webhook subscription
|
|
31
|
+
*
|
|
32
|
+
* @remarks
|
|
33
|
+
* Sets is_healthy back to true and restarts the webhook. Fix the cause first (hook_url, connection auth); the connection must be healthy. Virtual: continues from where it stopped. A webhook that went unhealthy mid-initial-sync before resume was available restarts its initial sync, so deleting and recreating it is safer. Native: re-subscribes if the provider subscription is missing or expired. Events received while the webhook was unhealthy are not re-sent. Webhook sync (beta): continues from the stored sync token. Page cursors are not stored yet, so a resume can re-send some records. Virtual and initial-sync webhooks that have been unhealthy for more than 7 days cannot be resumed, because resuming would re-send every change since then; delete and recreate them instead. MCP Events subscriptions cannot be resumed; they are managed by their MCP client.
|
|
34
|
+
*/
|
|
35
|
+
export function unifiedPatchUnifiedWebhookResume(
|
|
36
|
+
client: UnifiedToCore,
|
|
37
|
+
request: operations.PatchUnifiedWebhookResumeRequest,
|
|
38
|
+
options?: RequestOptions,
|
|
39
|
+
): APIPromise<
|
|
40
|
+
Result<
|
|
41
|
+
shared.Webhook,
|
|
42
|
+
| UnifiedToError
|
|
43
|
+
| ResponseValidationError
|
|
44
|
+
| ConnectionError
|
|
45
|
+
| RequestAbortedError
|
|
46
|
+
| RequestTimeoutError
|
|
47
|
+
| InvalidRequestError
|
|
48
|
+
| UnexpectedClientError
|
|
49
|
+
| SDKValidationError
|
|
50
|
+
>
|
|
51
|
+
> {
|
|
52
|
+
return new APIPromise($do(
|
|
53
|
+
client,
|
|
54
|
+
request,
|
|
55
|
+
options,
|
|
56
|
+
));
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
async function $do(
|
|
60
|
+
client: UnifiedToCore,
|
|
61
|
+
request: operations.PatchUnifiedWebhookResumeRequest,
|
|
62
|
+
options?: RequestOptions,
|
|
63
|
+
): Promise<
|
|
64
|
+
[
|
|
65
|
+
Result<
|
|
66
|
+
shared.Webhook,
|
|
67
|
+
| UnifiedToError
|
|
68
|
+
| ResponseValidationError
|
|
69
|
+
| ConnectionError
|
|
70
|
+
| RequestAbortedError
|
|
71
|
+
| RequestTimeoutError
|
|
72
|
+
| InvalidRequestError
|
|
73
|
+
| UnexpectedClientError
|
|
74
|
+
| SDKValidationError
|
|
75
|
+
>,
|
|
76
|
+
APICall,
|
|
77
|
+
]
|
|
78
|
+
> {
|
|
79
|
+
const parsed = safeParse(
|
|
80
|
+
request,
|
|
81
|
+
(value) =>
|
|
82
|
+
operations.PatchUnifiedWebhookResumeRequest$outboundSchema.parse(value),
|
|
83
|
+
"Input validation failed",
|
|
84
|
+
);
|
|
85
|
+
if (!parsed.ok) {
|
|
86
|
+
return [parsed, { status: "invalid" }];
|
|
87
|
+
}
|
|
88
|
+
const payload = parsed.value;
|
|
89
|
+
const body = null;
|
|
90
|
+
|
|
91
|
+
const pathParams = {
|
|
92
|
+
id: encodeSimple("id", payload.id, {
|
|
93
|
+
explode: false,
|
|
94
|
+
charEncoding: "percent",
|
|
95
|
+
}),
|
|
96
|
+
};
|
|
97
|
+
const path = pathToFunc("/unified/webhook/{id}/resume")(pathParams);
|
|
98
|
+
|
|
99
|
+
const headers = new Headers(compactMap({
|
|
100
|
+
Accept: "application/json",
|
|
101
|
+
}));
|
|
102
|
+
|
|
103
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
104
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
105
|
+
|
|
106
|
+
const context = {
|
|
107
|
+
options: client._options,
|
|
108
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
109
|
+
operationID: "patchUnifiedWebhookResume",
|
|
110
|
+
oAuth2Scopes: null,
|
|
111
|
+
|
|
112
|
+
resolvedSecurity: requestSecurity,
|
|
113
|
+
|
|
114
|
+
securitySource: client._options.security,
|
|
115
|
+
retryConfig: options?.retries
|
|
116
|
+
|| client._options.retryConfig
|
|
117
|
+
|| { strategy: "none" },
|
|
118
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
const requestRes = client._createRequest(context, {
|
|
122
|
+
security: requestSecurity,
|
|
123
|
+
method: "PATCH",
|
|
124
|
+
baseURL: options?.serverURL,
|
|
125
|
+
path: path,
|
|
126
|
+
headers: headers,
|
|
127
|
+
body: body,
|
|
128
|
+
userAgent: client._options.userAgent,
|
|
129
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
130
|
+
}, options);
|
|
131
|
+
if (!requestRes.ok) {
|
|
132
|
+
return [requestRes, { status: "invalid" }];
|
|
133
|
+
}
|
|
134
|
+
const req = requestRes.value;
|
|
135
|
+
|
|
136
|
+
const doResult = await client._do(req, {
|
|
137
|
+
context,
|
|
138
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
139
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
140
|
+
retryConfig: context.retryConfig,
|
|
141
|
+
retryCodes: context.retryCodes,
|
|
142
|
+
});
|
|
143
|
+
if (!doResult.ok) {
|
|
144
|
+
return [doResult, { status: "request-error", request: req }];
|
|
145
|
+
}
|
|
146
|
+
const response = doResult.value;
|
|
147
|
+
|
|
148
|
+
const [result] = await M.match<
|
|
149
|
+
shared.Webhook,
|
|
150
|
+
| UnifiedToError
|
|
151
|
+
| ResponseValidationError
|
|
152
|
+
| ConnectionError
|
|
153
|
+
| RequestAbortedError
|
|
154
|
+
| RequestTimeoutError
|
|
155
|
+
| InvalidRequestError
|
|
156
|
+
| UnexpectedClientError
|
|
157
|
+
| SDKValidationError
|
|
158
|
+
>(
|
|
159
|
+
M.json(200, shared.Webhook$inboundSchema),
|
|
160
|
+
M.fail("4XX"),
|
|
161
|
+
M.fail("5XX"),
|
|
162
|
+
)(response, req);
|
|
163
|
+
if (!result.ok) {
|
|
164
|
+
return [result, { status: "complete", request: req, response }];
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
return [result, { status: "complete", request: req, response }];
|
|
168
|
+
}
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { UnifiedToCore } from "../core.js";
|
|
6
|
+
import { encodeSimple } from "../lib/encodings.js";
|
|
7
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
8
|
+
import * as M from "../lib/matchers.js";
|
|
9
|
+
import { compactMap } from "../lib/primitives.js";
|
|
10
|
+
import { safeParse } from "../lib/schemas.js";
|
|
11
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
12
|
+
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
13
|
+
import { pathToFunc } from "../lib/url.js";
|
|
14
|
+
import {
|
|
15
|
+
ConnectionError,
|
|
16
|
+
InvalidRequestError,
|
|
17
|
+
RequestAbortedError,
|
|
18
|
+
RequestTimeoutError,
|
|
19
|
+
UnexpectedClientError,
|
|
20
|
+
} from "../sdk/models/errors/httpclienterrors.js";
|
|
21
|
+
import { ResponseValidationError } from "../sdk/models/errors/responsevalidationerror.js";
|
|
22
|
+
import { SDKValidationError } from "../sdk/models/errors/sdkvalidationerror.js";
|
|
23
|
+
import { UnifiedToError } from "../sdk/models/errors/unifiedtoerror.js";
|
|
24
|
+
import * as operations from "../sdk/models/operations/index.js";
|
|
25
|
+
import * as shared from "../sdk/models/shared/index.js";
|
|
26
|
+
import { APICall, APIPromise } from "../sdk/types/async.js";
|
|
27
|
+
import { Result } from "../sdk/types/fp.js";
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Resume an unhealthy webhook subscription
|
|
31
|
+
*
|
|
32
|
+
* @remarks
|
|
33
|
+
* Sets is_healthy back to true and restarts the webhook. Fix the cause first (hook_url, connection auth); the connection must be healthy. Virtual: continues from where it stopped. A webhook that went unhealthy mid-initial-sync before resume was available restarts its initial sync, so deleting and recreating it is safer. Native: re-subscribes if the provider subscription is missing or expired. Events received while the webhook was unhealthy are not re-sent. Webhook sync (beta): continues from the stored sync token. Page cursors are not stored yet, so a resume can re-send some records. Virtual and initial-sync webhooks that have been unhealthy for more than 7 days cannot be resumed, because resuming would re-send every change since then; delete and recreate them instead. MCP Events subscriptions cannot be resumed; they are managed by their MCP client.
|
|
34
|
+
*/
|
|
35
|
+
export function unifiedUpdateUnifiedWebhookResume(
|
|
36
|
+
client: UnifiedToCore,
|
|
37
|
+
request: operations.UpdateUnifiedWebhookResumeRequest,
|
|
38
|
+
options?: RequestOptions,
|
|
39
|
+
): APIPromise<
|
|
40
|
+
Result<
|
|
41
|
+
shared.Webhook,
|
|
42
|
+
| UnifiedToError
|
|
43
|
+
| ResponseValidationError
|
|
44
|
+
| ConnectionError
|
|
45
|
+
| RequestAbortedError
|
|
46
|
+
| RequestTimeoutError
|
|
47
|
+
| InvalidRequestError
|
|
48
|
+
| UnexpectedClientError
|
|
49
|
+
| SDKValidationError
|
|
50
|
+
>
|
|
51
|
+
> {
|
|
52
|
+
return new APIPromise($do(
|
|
53
|
+
client,
|
|
54
|
+
request,
|
|
55
|
+
options,
|
|
56
|
+
));
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
async function $do(
|
|
60
|
+
client: UnifiedToCore,
|
|
61
|
+
request: operations.UpdateUnifiedWebhookResumeRequest,
|
|
62
|
+
options?: RequestOptions,
|
|
63
|
+
): Promise<
|
|
64
|
+
[
|
|
65
|
+
Result<
|
|
66
|
+
shared.Webhook,
|
|
67
|
+
| UnifiedToError
|
|
68
|
+
| ResponseValidationError
|
|
69
|
+
| ConnectionError
|
|
70
|
+
| RequestAbortedError
|
|
71
|
+
| RequestTimeoutError
|
|
72
|
+
| InvalidRequestError
|
|
73
|
+
| UnexpectedClientError
|
|
74
|
+
| SDKValidationError
|
|
75
|
+
>,
|
|
76
|
+
APICall,
|
|
77
|
+
]
|
|
78
|
+
> {
|
|
79
|
+
const parsed = safeParse(
|
|
80
|
+
request,
|
|
81
|
+
(value) =>
|
|
82
|
+
operations.UpdateUnifiedWebhookResumeRequest$outboundSchema.parse(value),
|
|
83
|
+
"Input validation failed",
|
|
84
|
+
);
|
|
85
|
+
if (!parsed.ok) {
|
|
86
|
+
return [parsed, { status: "invalid" }];
|
|
87
|
+
}
|
|
88
|
+
const payload = parsed.value;
|
|
89
|
+
const body = null;
|
|
90
|
+
|
|
91
|
+
const pathParams = {
|
|
92
|
+
id: encodeSimple("id", payload.id, {
|
|
93
|
+
explode: false,
|
|
94
|
+
charEncoding: "percent",
|
|
95
|
+
}),
|
|
96
|
+
};
|
|
97
|
+
const path = pathToFunc("/unified/webhook/{id}/resume")(pathParams);
|
|
98
|
+
|
|
99
|
+
const headers = new Headers(compactMap({
|
|
100
|
+
Accept: "application/json",
|
|
101
|
+
}));
|
|
102
|
+
|
|
103
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
104
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
105
|
+
|
|
106
|
+
const context = {
|
|
107
|
+
options: client._options,
|
|
108
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
109
|
+
operationID: "updateUnifiedWebhookResume",
|
|
110
|
+
oAuth2Scopes: null,
|
|
111
|
+
|
|
112
|
+
resolvedSecurity: requestSecurity,
|
|
113
|
+
|
|
114
|
+
securitySource: client._options.security,
|
|
115
|
+
retryConfig: options?.retries
|
|
116
|
+
|| client._options.retryConfig
|
|
117
|
+
|| { strategy: "none" },
|
|
118
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
const requestRes = client._createRequest(context, {
|
|
122
|
+
security: requestSecurity,
|
|
123
|
+
method: "PUT",
|
|
124
|
+
baseURL: options?.serverURL,
|
|
125
|
+
path: path,
|
|
126
|
+
headers: headers,
|
|
127
|
+
body: body,
|
|
128
|
+
userAgent: client._options.userAgent,
|
|
129
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
130
|
+
}, options);
|
|
131
|
+
if (!requestRes.ok) {
|
|
132
|
+
return [requestRes, { status: "invalid" }];
|
|
133
|
+
}
|
|
134
|
+
const req = requestRes.value;
|
|
135
|
+
|
|
136
|
+
const doResult = await client._do(req, {
|
|
137
|
+
context,
|
|
138
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
139
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
140
|
+
retryConfig: context.retryConfig,
|
|
141
|
+
retryCodes: context.retryCodes,
|
|
142
|
+
});
|
|
143
|
+
if (!doResult.ok) {
|
|
144
|
+
return [doResult, { status: "request-error", request: req }];
|
|
145
|
+
}
|
|
146
|
+
const response = doResult.value;
|
|
147
|
+
|
|
148
|
+
const [result] = await M.match<
|
|
149
|
+
shared.Webhook,
|
|
150
|
+
| UnifiedToError
|
|
151
|
+
| ResponseValidationError
|
|
152
|
+
| ConnectionError
|
|
153
|
+
| RequestAbortedError
|
|
154
|
+
| RequestTimeoutError
|
|
155
|
+
| InvalidRequestError
|
|
156
|
+
| UnexpectedClientError
|
|
157
|
+
| SDKValidationError
|
|
158
|
+
>(
|
|
159
|
+
M.json(200, shared.Webhook$inboundSchema),
|
|
160
|
+
M.fail("4XX"),
|
|
161
|
+
M.fail("5XX"),
|
|
162
|
+
)(response, req);
|
|
163
|
+
if (!result.ok) {
|
|
164
|
+
return [result, { status: "complete", request: req, response }];
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
return [result, { status: "complete", request: req, response }];
|
|
168
|
+
}
|
package/src/lib/config.ts
CHANGED
|
@@ -73,8 +73,8 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
73
73
|
export const SDK_METADATA = {
|
|
74
74
|
language: "typescript",
|
|
75
75
|
openapiDocVersion: "1.0",
|
|
76
|
-
sdkVersion: "2.86.
|
|
76
|
+
sdkVersion: "2.86.5",
|
|
77
77
|
genVersion: "2.950.13",
|
|
78
78
|
userAgent:
|
|
79
|
-
"speakeasy-sdk/typescript 2.86.
|
|
79
|
+
"speakeasy-sdk/typescript 2.86.5 2.950.13 1.0 @unified-api/typescript-sdk",
|
|
80
80
|
} as const;
|
package/src/sdk/calendar.ts
CHANGED
|
@@ -7,12 +7,16 @@ import { calendarCreateCalendarLink } from "../funcs/calendarCreateCalendarLink.
|
|
|
7
7
|
import { calendarCreateCalendarWebinar } from "../funcs/calendarCreateCalendarWebinar.js";
|
|
8
8
|
import { calendarGetCalendarCalendar } from "../funcs/calendarGetCalendarCalendar.js";
|
|
9
9
|
import { calendarGetCalendarLink } from "../funcs/calendarGetCalendarLink.js";
|
|
10
|
+
import { calendarGetCalendarLocation } from "../funcs/calendarGetCalendarLocation.js";
|
|
10
11
|
import { calendarGetCalendarRecording } from "../funcs/calendarGetCalendarRecording.js";
|
|
12
|
+
import { calendarGetCalendarRoom } from "../funcs/calendarGetCalendarRoom.js";
|
|
11
13
|
import { calendarGetCalendarWebinar } from "../funcs/calendarGetCalendarWebinar.js";
|
|
12
14
|
import { calendarListCalendarBusies } from "../funcs/calendarListCalendarBusies.js";
|
|
13
15
|
import { calendarListCalendarCalendars } from "../funcs/calendarListCalendarCalendars.js";
|
|
14
16
|
import { calendarListCalendarLinks } from "../funcs/calendarListCalendarLinks.js";
|
|
17
|
+
import { calendarListCalendarLocations } from "../funcs/calendarListCalendarLocations.js";
|
|
15
18
|
import { calendarListCalendarRecordings } from "../funcs/calendarListCalendarRecordings.js";
|
|
19
|
+
import { calendarListCalendarRooms } from "../funcs/calendarListCalendarRooms.js";
|
|
16
20
|
import { calendarListCalendarWebinars } from "../funcs/calendarListCalendarWebinars.js";
|
|
17
21
|
import { calendarPatchCalendarCalendar } from "../funcs/calendarPatchCalendarCalendar.js";
|
|
18
22
|
import { calendarPatchCalendarLink } from "../funcs/calendarPatchCalendarLink.js";
|
|
@@ -154,6 +158,23 @@ export class Calendar extends ClientSDK {
|
|
|
154
158
|
));
|
|
155
159
|
}
|
|
156
160
|
|
|
161
|
+
/**
|
|
162
|
+
* Retrieve a location
|
|
163
|
+
*
|
|
164
|
+
* @remarks
|
|
165
|
+
* Retrieves a single CalendarLocation by its `id`. Obtain `id` values from the corresponding list endpoint. Use `fields` to return only the fields you need.
|
|
166
|
+
*/
|
|
167
|
+
async getCalendarLocation(
|
|
168
|
+
request: operations.GetCalendarLocationRequest,
|
|
169
|
+
options?: RequestOptions,
|
|
170
|
+
): Promise<shared.CalendarLocation> {
|
|
171
|
+
return unwrapAsync(calendarGetCalendarLocation(
|
|
172
|
+
this,
|
|
173
|
+
request,
|
|
174
|
+
options,
|
|
175
|
+
));
|
|
176
|
+
}
|
|
177
|
+
|
|
157
178
|
/**
|
|
158
179
|
* Retrieve a recording
|
|
159
180
|
*
|
|
@@ -171,6 +192,23 @@ export class Calendar extends ClientSDK {
|
|
|
171
192
|
));
|
|
172
193
|
}
|
|
173
194
|
|
|
195
|
+
/**
|
|
196
|
+
* Retrieve a room
|
|
197
|
+
*
|
|
198
|
+
* @remarks
|
|
199
|
+
* Retrieves a single CalendarRoom by its `id`. Obtain `id` values from the corresponding list endpoint. Use `fields` to return only the fields you need.
|
|
200
|
+
*/
|
|
201
|
+
async getCalendarRoom(
|
|
202
|
+
request: operations.GetCalendarRoomRequest,
|
|
203
|
+
options?: RequestOptions,
|
|
204
|
+
): Promise<shared.CalendarRoom> {
|
|
205
|
+
return unwrapAsync(calendarGetCalendarRoom(
|
|
206
|
+
this,
|
|
207
|
+
request,
|
|
208
|
+
options,
|
|
209
|
+
));
|
|
210
|
+
}
|
|
211
|
+
|
|
174
212
|
/**
|
|
175
213
|
* Retrieve a webinar
|
|
176
214
|
*
|
|
@@ -256,6 +294,23 @@ export class Calendar extends ClientSDK {
|
|
|
256
294
|
));
|
|
257
295
|
}
|
|
258
296
|
|
|
297
|
+
/**
|
|
298
|
+
* List all locations
|
|
299
|
+
*
|
|
300
|
+
* @remarks
|
|
301
|
+
* Returns a list of CalendarLocations. Narrow the results with the query parameters before paging, then page through them with `limit` and `offset` (the default and maximum page size depend on the integration). Use `fields` to return only the fields you need and reduce the response size. When the integration supports a total count, it is returned in the `X-Total-Count` response header. Use each item's `id` to retrieve, update, or delete it where those operations are supported.
|
|
302
|
+
*/
|
|
303
|
+
async listCalendarLocations(
|
|
304
|
+
request: operations.ListCalendarLocationsRequest,
|
|
305
|
+
options?: RequestOptions,
|
|
306
|
+
): Promise<Array<shared.CalendarLocation>> {
|
|
307
|
+
return unwrapAsync(calendarListCalendarLocations(
|
|
308
|
+
this,
|
|
309
|
+
request,
|
|
310
|
+
options,
|
|
311
|
+
));
|
|
312
|
+
}
|
|
313
|
+
|
|
259
314
|
/**
|
|
260
315
|
* List all recordings
|
|
261
316
|
*
|
|
@@ -273,6 +328,23 @@ export class Calendar extends ClientSDK {
|
|
|
273
328
|
));
|
|
274
329
|
}
|
|
275
330
|
|
|
331
|
+
/**
|
|
332
|
+
* List all rooms
|
|
333
|
+
*
|
|
334
|
+
* @remarks
|
|
335
|
+
* Returns a list of CalendarRooms. Narrow the results with the query parameters before paging, then page through them with `limit` and `offset` (the default and maximum page size depend on the integration). Use `fields` to return only the fields you need and reduce the response size. When the integration supports a total count, it is returned in the `X-Total-Count` response header. Use each item's `id` to retrieve, update, or delete it where those operations are supported.
|
|
336
|
+
*/
|
|
337
|
+
async listCalendarRooms(
|
|
338
|
+
request: operations.ListCalendarRoomsRequest,
|
|
339
|
+
options?: RequestOptions,
|
|
340
|
+
): Promise<Array<shared.CalendarRoom>> {
|
|
341
|
+
return unwrapAsync(calendarListCalendarRooms(
|
|
342
|
+
this,
|
|
343
|
+
request,
|
|
344
|
+
options,
|
|
345
|
+
));
|
|
346
|
+
}
|
|
347
|
+
|
|
276
348
|
/**
|
|
277
349
|
* List all webinars
|
|
278
350
|
*
|
package/src/sdk/clubs.ts
CHANGED
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import { activityGetClubsActivity } from "../funcs/activityGetClubsActivity.js";
|
|
6
6
|
import { activityListClubsActivities } from "../funcs/activityListClubsActivities.js";
|
|
7
|
-
import { clubsGetClubsLocation } from "../funcs/clubsGetClubsLocation.js";
|
|
8
7
|
import { clubsGetClubsMember } from "../funcs/clubsGetClubsMember.js";
|
|
9
|
-
import { clubsListClubsLocations } from "../funcs/clubsListClubsLocations.js";
|
|
10
8
|
import { clubsListClubsMembers } from "../funcs/clubsListClubsMembers.js";
|
|
11
9
|
import { eventGetClubsEvent } from "../funcs/eventGetClubsEvent.js";
|
|
12
10
|
import { eventListClubsEvents } from "../funcs/eventListClubsEvents.js";
|
|
13
11
|
import { groupGetClubsGroup } from "../funcs/groupGetClubsGroup.js";
|
|
14
12
|
import { groupListClubsGroups } from "../funcs/groupListClubsGroups.js";
|
|
13
|
+
import { locationGetClubsLocation } from "../funcs/locationGetClubsLocation.js";
|
|
14
|
+
import { locationListClubsLocations } from "../funcs/locationListClubsLocations.js";
|
|
15
15
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
16
16
|
import * as operations from "./models/operations/index.js";
|
|
17
17
|
import * as shared from "./models/shared/index.js";
|
|
@@ -79,7 +79,7 @@ export class Clubs extends ClientSDK {
|
|
|
79
79
|
request: operations.GetClubsLocationRequest,
|
|
80
80
|
options?: RequestOptions,
|
|
81
81
|
): Promise<shared.ClubsLocation> {
|
|
82
|
-
return unwrapAsync(
|
|
82
|
+
return unwrapAsync(locationGetClubsLocation(
|
|
83
83
|
this,
|
|
84
84
|
request,
|
|
85
85
|
options,
|
|
@@ -164,7 +164,7 @@ export class Clubs extends ClientSDK {
|
|
|
164
164
|
request: operations.ListClubsLocationsRequest,
|
|
165
165
|
options?: RequestOptions,
|
|
166
166
|
): Promise<Array<shared.ClubsLocation>> {
|
|
167
|
-
return unwrapAsync(
|
|
167
|
+
return unwrapAsync(locationListClubsLocations(
|
|
168
168
|
this,
|
|
169
169
|
request,
|
|
170
170
|
options,
|
package/src/sdk/location.ts
CHANGED
|
@@ -2,13 +2,15 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { calendarGetCalendarLocation } from "../funcs/calendarGetCalendarLocation.js";
|
|
6
|
+
import { calendarListCalendarLocations } from "../funcs/calendarListCalendarLocations.js";
|
|
7
7
|
import { locationCreateCommerceLocation } from "../funcs/locationCreateCommerceLocation.js";
|
|
8
8
|
import { locationCreateHrisLocation } from "../funcs/locationCreateHrisLocation.js";
|
|
9
|
+
import { locationGetClubsLocation } from "../funcs/locationGetClubsLocation.js";
|
|
9
10
|
import { locationGetCommerceLocation } from "../funcs/locationGetCommerceLocation.js";
|
|
10
11
|
import { locationGetHealthcareLocation } from "../funcs/locationGetHealthcareLocation.js";
|
|
11
12
|
import { locationGetHrisLocation } from "../funcs/locationGetHrisLocation.js";
|
|
13
|
+
import { locationListClubsLocations } from "../funcs/locationListClubsLocations.js";
|
|
12
14
|
import { locationListCommerceLocations } from "../funcs/locationListCommerceLocations.js";
|
|
13
15
|
import { locationListHealthcareLocations } from "../funcs/locationListHealthcareLocations.js";
|
|
14
16
|
import { locationListHrisLocations } from "../funcs/locationListHrisLocations.js";
|
|
@@ -58,6 +60,23 @@ export class Location extends ClientSDK {
|
|
|
58
60
|
));
|
|
59
61
|
}
|
|
60
62
|
|
|
63
|
+
/**
|
|
64
|
+
* Retrieve a location
|
|
65
|
+
*
|
|
66
|
+
* @remarks
|
|
67
|
+
* Retrieves a single CalendarLocation by its `id`. Obtain `id` values from the corresponding list endpoint. Use `fields` to return only the fields you need.
|
|
68
|
+
*/
|
|
69
|
+
async getCalendarLocation(
|
|
70
|
+
request: operations.GetCalendarLocationRequest,
|
|
71
|
+
options?: RequestOptions,
|
|
72
|
+
): Promise<shared.CalendarLocation> {
|
|
73
|
+
return unwrapAsync(calendarGetCalendarLocation(
|
|
74
|
+
this,
|
|
75
|
+
request,
|
|
76
|
+
options,
|
|
77
|
+
));
|
|
78
|
+
}
|
|
79
|
+
|
|
61
80
|
/**
|
|
62
81
|
* Retrieve a location
|
|
63
82
|
*
|
|
@@ -68,7 +87,7 @@ export class Location extends ClientSDK {
|
|
|
68
87
|
request: operations.GetClubsLocationRequest,
|
|
69
88
|
options?: RequestOptions,
|
|
70
89
|
): Promise<shared.ClubsLocation> {
|
|
71
|
-
return unwrapAsync(
|
|
90
|
+
return unwrapAsync(locationGetClubsLocation(
|
|
72
91
|
this,
|
|
73
92
|
request,
|
|
74
93
|
options,
|
|
@@ -126,6 +145,23 @@ export class Location extends ClientSDK {
|
|
|
126
145
|
));
|
|
127
146
|
}
|
|
128
147
|
|
|
148
|
+
/**
|
|
149
|
+
* List all locations
|
|
150
|
+
*
|
|
151
|
+
* @remarks
|
|
152
|
+
* Returns a list of CalendarLocations. Narrow the results with the query parameters before paging, then page through them with `limit` and `offset` (the default and maximum page size depend on the integration). Use `fields` to return only the fields you need and reduce the response size. When the integration supports a total count, it is returned in the `X-Total-Count` response header. Use each item's `id` to retrieve, update, or delete it where those operations are supported.
|
|
153
|
+
*/
|
|
154
|
+
async listCalendarLocations(
|
|
155
|
+
request: operations.ListCalendarLocationsRequest,
|
|
156
|
+
options?: RequestOptions,
|
|
157
|
+
): Promise<Array<shared.CalendarLocation>> {
|
|
158
|
+
return unwrapAsync(calendarListCalendarLocations(
|
|
159
|
+
this,
|
|
160
|
+
request,
|
|
161
|
+
options,
|
|
162
|
+
));
|
|
163
|
+
}
|
|
164
|
+
|
|
129
165
|
/**
|
|
130
166
|
* List all locations
|
|
131
167
|
*
|
|
@@ -136,7 +172,7 @@ export class Location extends ClientSDK {
|
|
|
136
172
|
request: operations.ListClubsLocationsRequest,
|
|
137
173
|
options?: RequestOptions,
|
|
138
174
|
): Promise<Array<shared.ClubsLocation>> {
|
|
139
|
-
return unwrapAsync(
|
|
175
|
+
return unwrapAsync(locationListClubsLocations(
|
|
140
176
|
this,
|
|
141
177
|
request,
|
|
142
178
|
options,
|
|
@@ -34,6 +34,7 @@ export const CreateCalendarEventQueryParamFields = {
|
|
|
34
34
|
MatterId: "matter_id",
|
|
35
35
|
Metadata: "metadata",
|
|
36
36
|
Raw: "raw",
|
|
37
|
+
RoomIds: "room_ids",
|
|
37
38
|
} as const;
|
|
38
39
|
export type CreateCalendarEventQueryParamFields = ClosedEnum<
|
|
39
40
|
typeof CreateCalendarEventQueryParamFields
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
|
|
9
|
+
export const GetCalendarLocationQueryParamFields = {
|
|
10
|
+
Id: "id",
|
|
11
|
+
Name: "name",
|
|
12
|
+
ParentId: "parent_id",
|
|
13
|
+
Type: "type",
|
|
14
|
+
Address: "address",
|
|
15
|
+
Raw: "raw",
|
|
16
|
+
CreatedAt: "created_at",
|
|
17
|
+
UpdatedAt: "updated_at",
|
|
18
|
+
Timezone: "timezone",
|
|
19
|
+
Metadata: "metadata",
|
|
20
|
+
} as const;
|
|
21
|
+
export type GetCalendarLocationQueryParamFields = ClosedEnum<
|
|
22
|
+
typeof GetCalendarLocationQueryParamFields
|
|
23
|
+
>;
|
|
24
|
+
|
|
25
|
+
export type GetCalendarLocationRequest = {
|
|
26
|
+
/**
|
|
27
|
+
* ID of the connection
|
|
28
|
+
*/
|
|
29
|
+
connectionId: string;
|
|
30
|
+
/**
|
|
31
|
+
* Fields to return
|
|
32
|
+
*/
|
|
33
|
+
fields?: Array<GetCalendarLocationQueryParamFields> | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* ID of the Location
|
|
36
|
+
*/
|
|
37
|
+
id: string;
|
|
38
|
+
/**
|
|
39
|
+
* Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
|
|
40
|
+
*/
|
|
41
|
+
raw?: string | undefined;
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
/** @internal */
|
|
45
|
+
export const GetCalendarLocationQueryParamFields$outboundSchema:
|
|
46
|
+
z.ZodNativeEnum<typeof GetCalendarLocationQueryParamFields> = z.nativeEnum(
|
|
47
|
+
GetCalendarLocationQueryParamFields,
|
|
48
|
+
);
|
|
49
|
+
|
|
50
|
+
/** @internal */
|
|
51
|
+
export type GetCalendarLocationRequest$Outbound = {
|
|
52
|
+
connection_id: string;
|
|
53
|
+
fields?: Array<string> | undefined;
|
|
54
|
+
id: string;
|
|
55
|
+
raw?: string | undefined;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
/** @internal */
|
|
59
|
+
export const GetCalendarLocationRequest$outboundSchema: z.ZodType<
|
|
60
|
+
GetCalendarLocationRequest$Outbound,
|
|
61
|
+
z.ZodTypeDef,
|
|
62
|
+
GetCalendarLocationRequest
|
|
63
|
+
> = z.object({
|
|
64
|
+
connectionId: z.string(),
|
|
65
|
+
fields: z.array(GetCalendarLocationQueryParamFields$outboundSchema)
|
|
66
|
+
.optional(),
|
|
67
|
+
id: z.string(),
|
|
68
|
+
raw: z.string().optional(),
|
|
69
|
+
}).transform((v) => {
|
|
70
|
+
return remap$(v, {
|
|
71
|
+
connectionId: "connection_id",
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
|
|
75
|
+
export function getCalendarLocationRequestToJSON(
|
|
76
|
+
getCalendarLocationRequest: GetCalendarLocationRequest,
|
|
77
|
+
): string {
|
|
78
|
+
return JSON.stringify(
|
|
79
|
+
GetCalendarLocationRequest$outboundSchema.parse(getCalendarLocationRequest),
|
|
80
|
+
);
|
|
81
|
+
}
|