@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,87 @@
|
|
|
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 GetCalendarRoomQueryParamFields = {
|
|
10
|
+
Id: "id",
|
|
11
|
+
Name: "name",
|
|
12
|
+
Capacity: "capacity",
|
|
13
|
+
LocationId: "location_id",
|
|
14
|
+
Raw: "raw",
|
|
15
|
+
CreatedAt: "created_at",
|
|
16
|
+
UpdatedAt: "updated_at",
|
|
17
|
+
Description: "description",
|
|
18
|
+
Type: "type",
|
|
19
|
+
Email: "email",
|
|
20
|
+
CalendarId: "calendar_id",
|
|
21
|
+
Floor: "floor",
|
|
22
|
+
Timezone: "timezone",
|
|
23
|
+
WebUrl: "web_url",
|
|
24
|
+
IsActive: "is_active",
|
|
25
|
+
IsBookable: "is_bookable",
|
|
26
|
+
Features: "features",
|
|
27
|
+
Metadata: "metadata",
|
|
28
|
+
} as const;
|
|
29
|
+
export type GetCalendarRoomQueryParamFields = ClosedEnum<
|
|
30
|
+
typeof GetCalendarRoomQueryParamFields
|
|
31
|
+
>;
|
|
32
|
+
|
|
33
|
+
export type GetCalendarRoomRequest = {
|
|
34
|
+
/**
|
|
35
|
+
* ID of the connection
|
|
36
|
+
*/
|
|
37
|
+
connectionId: string;
|
|
38
|
+
/**
|
|
39
|
+
* Fields to return
|
|
40
|
+
*/
|
|
41
|
+
fields?: Array<GetCalendarRoomQueryParamFields> | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* ID of the Room
|
|
44
|
+
*/
|
|
45
|
+
id: string;
|
|
46
|
+
/**
|
|
47
|
+
* 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
|
|
48
|
+
*/
|
|
49
|
+
raw?: string | undefined;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
/** @internal */
|
|
53
|
+
export const GetCalendarRoomQueryParamFields$outboundSchema: z.ZodNativeEnum<
|
|
54
|
+
typeof GetCalendarRoomQueryParamFields
|
|
55
|
+
> = z.nativeEnum(GetCalendarRoomQueryParamFields);
|
|
56
|
+
|
|
57
|
+
/** @internal */
|
|
58
|
+
export type GetCalendarRoomRequest$Outbound = {
|
|
59
|
+
connection_id: string;
|
|
60
|
+
fields?: Array<string> | undefined;
|
|
61
|
+
id: string;
|
|
62
|
+
raw?: string | undefined;
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
/** @internal */
|
|
66
|
+
export const GetCalendarRoomRequest$outboundSchema: z.ZodType<
|
|
67
|
+
GetCalendarRoomRequest$Outbound,
|
|
68
|
+
z.ZodTypeDef,
|
|
69
|
+
GetCalendarRoomRequest
|
|
70
|
+
> = z.object({
|
|
71
|
+
connectionId: z.string(),
|
|
72
|
+
fields: z.array(GetCalendarRoomQueryParamFields$outboundSchema).optional(),
|
|
73
|
+
id: z.string(),
|
|
74
|
+
raw: z.string().optional(),
|
|
75
|
+
}).transform((v) => {
|
|
76
|
+
return remap$(v, {
|
|
77
|
+
connectionId: "connection_id",
|
|
78
|
+
});
|
|
79
|
+
});
|
|
80
|
+
|
|
81
|
+
export function getCalendarRoomRequestToJSON(
|
|
82
|
+
getCalendarRoomRequest: GetCalendarRoomRequest,
|
|
83
|
+
): string {
|
|
84
|
+
return JSON.stringify(
|
|
85
|
+
GetCalendarRoomRequest$outboundSchema.parse(getCalendarRoomRequest),
|
|
86
|
+
);
|
|
87
|
+
}
|
|
@@ -216,7 +216,9 @@ export * from "./getatsscorecard.js";
|
|
|
216
216
|
export * from "./getcalendarcalendar.js";
|
|
217
217
|
export * from "./getcalendarevent.js";
|
|
218
218
|
export * from "./getcalendarlink.js";
|
|
219
|
+
export * from "./getcalendarlocation.js";
|
|
219
220
|
export * from "./getcalendarrecording.js";
|
|
221
|
+
export * from "./getcalendarroom.js";
|
|
220
222
|
export * from "./getcalendarwebinar.js";
|
|
221
223
|
export * from "./getcdpactivation.js";
|
|
222
224
|
export * from "./getcdpdestination.js";
|
|
@@ -430,7 +432,9 @@ export * from "./listcalendarbusies.js";
|
|
|
430
432
|
export * from "./listcalendarcalendars.js";
|
|
431
433
|
export * from "./listcalendarevents.js";
|
|
432
434
|
export * from "./listcalendarlinks.js";
|
|
435
|
+
export * from "./listcalendarlocations.js";
|
|
433
436
|
export * from "./listcalendarrecordings.js";
|
|
437
|
+
export * from "./listcalendarrooms.js";
|
|
434
438
|
export * from "./listcalendarwebinars.js";
|
|
435
439
|
export * from "./listcdpactivations.js";
|
|
436
440
|
export * from "./listcdpdestinations.js";
|
|
@@ -742,6 +746,7 @@ export * from "./patchuccontact.js";
|
|
|
742
746
|
export * from "./patchucrecording.js";
|
|
743
747
|
export * from "./patchunifiedconnection.js";
|
|
744
748
|
export * from "./patchunifiedwebhook.js";
|
|
749
|
+
export * from "./patchunifiedwebhookresume.js";
|
|
745
750
|
export * from "./patchunifiedwebhooktrigger.js";
|
|
746
751
|
export * from "./patchverificationrequest.js";
|
|
747
752
|
export * from "./removeaccountingaccount.js";
|
|
@@ -1039,5 +1044,6 @@ export * from "./updateuccontact.js";
|
|
|
1039
1044
|
export * from "./updateucrecording.js";
|
|
1040
1045
|
export * from "./updateunifiedconnection.js";
|
|
1041
1046
|
export * from "./updateunifiedwebhook.js";
|
|
1047
|
+
export * from "./updateunifiedwebhookresume.js";
|
|
1042
1048
|
export * from "./updateunifiedwebhooktrigger.js";
|
|
1043
1049
|
export * from "./updateverificationrequest.js";
|
|
@@ -47,6 +47,10 @@ export type ListCalendarBusiesRequest = {
|
|
|
47
47
|
* 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
|
|
48
48
|
*/
|
|
49
49
|
raw?: string | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* The room ID to get availability for.
|
|
52
|
+
*/
|
|
53
|
+
roomId?: string | undefined;
|
|
50
54
|
sort?: string | undefined;
|
|
51
55
|
/**
|
|
52
56
|
* The start date to filter by (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
|
|
@@ -78,6 +82,7 @@ export type ListCalendarBusiesRequest$Outbound = {
|
|
|
78
82
|
order?: string | undefined;
|
|
79
83
|
query?: string | undefined;
|
|
80
84
|
raw?: string | undefined;
|
|
85
|
+
room_id?: string | undefined;
|
|
81
86
|
sort?: string | undefined;
|
|
82
87
|
start_gte?: string | undefined;
|
|
83
88
|
updated_gte?: string | undefined;
|
|
@@ -99,6 +104,7 @@ export const ListCalendarBusiesRequest$outboundSchema: z.ZodType<
|
|
|
99
104
|
order: z.string().optional(),
|
|
100
105
|
query: z.string().optional(),
|
|
101
106
|
raw: z.string().optional(),
|
|
107
|
+
roomId: z.string().optional(),
|
|
102
108
|
sort: z.string().optional(),
|
|
103
109
|
startGte: z.string().optional(),
|
|
104
110
|
updatedGte: z.string().optional(),
|
|
@@ -108,6 +114,7 @@ export const ListCalendarBusiesRequest$outboundSchema: z.ZodType<
|
|
|
108
114
|
calendarId: "calendar_id",
|
|
109
115
|
connectionId: "connection_id",
|
|
110
116
|
endLt: "end_lt",
|
|
117
|
+
roomId: "room_id",
|
|
111
118
|
startGte: "start_gte",
|
|
112
119
|
updatedGte: "updated_gte",
|
|
113
120
|
userId: "user_id",
|
|
@@ -33,6 +33,7 @@ export const ListCalendarEventsQueryParamFields = {
|
|
|
33
33
|
MatterId: "matter_id",
|
|
34
34
|
Metadata: "metadata",
|
|
35
35
|
Raw: "raw",
|
|
36
|
+
RoomIds: "room_ids",
|
|
36
37
|
} as const;
|
|
37
38
|
export type ListCalendarEventsQueryParamFields = ClosedEnum<
|
|
38
39
|
typeof ListCalendarEventsQueryParamFields
|
|
@@ -74,6 +75,10 @@ export type ListCalendarEventsRequest = {
|
|
|
74
75
|
* 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
|
|
75
76
|
*/
|
|
76
77
|
raw?: string | undefined;
|
|
78
|
+
/**
|
|
79
|
+
* The room ID to filter by. Returns the events that booked this room.
|
|
80
|
+
*/
|
|
81
|
+
roomId?: string | undefined;
|
|
77
82
|
sort?: string | undefined;
|
|
78
83
|
/**
|
|
79
84
|
* The start date to filter by (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
|
|
@@ -103,6 +108,7 @@ export type ListCalendarEventsRequest$Outbound = {
|
|
|
103
108
|
order?: string | undefined;
|
|
104
109
|
query?: string | undefined;
|
|
105
110
|
raw?: string | undefined;
|
|
111
|
+
room_id?: string | undefined;
|
|
106
112
|
sort?: string | undefined;
|
|
107
113
|
start_gte?: string | undefined;
|
|
108
114
|
updated_gte?: string | undefined;
|
|
@@ -125,6 +131,7 @@ export const ListCalendarEventsRequest$outboundSchema: z.ZodType<
|
|
|
125
131
|
order: z.string().optional(),
|
|
126
132
|
query: z.string().optional(),
|
|
127
133
|
raw: z.string().optional(),
|
|
134
|
+
roomId: z.string().optional(),
|
|
128
135
|
sort: z.string().optional(),
|
|
129
136
|
startGte: z.string().optional(),
|
|
130
137
|
updatedGte: z.string().optional(),
|
|
@@ -134,6 +141,7 @@ export const ListCalendarEventsRequest$outboundSchema: z.ZodType<
|
|
|
134
141
|
connectionId: "connection_id",
|
|
135
142
|
endLt: "end_lt",
|
|
136
143
|
matterId: "matter_id",
|
|
144
|
+
roomId: "room_id",
|
|
137
145
|
startGte: "start_gte",
|
|
138
146
|
updatedGte: "updated_gte",
|
|
139
147
|
});
|
|
@@ -0,0 +1,109 @@
|
|
|
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 ListCalendarLocationsQueryParamFields = {
|
|
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 ListCalendarLocationsQueryParamFields = ClosedEnum<
|
|
22
|
+
typeof ListCalendarLocationsQueryParamFields
|
|
23
|
+
>;
|
|
24
|
+
|
|
25
|
+
export type ListCalendarLocationsRequest = {
|
|
26
|
+
/**
|
|
27
|
+
* ID of the connection
|
|
28
|
+
*/
|
|
29
|
+
connectionId: string;
|
|
30
|
+
/**
|
|
31
|
+
* Fields to return
|
|
32
|
+
*/
|
|
33
|
+
fields?: Array<ListCalendarLocationsQueryParamFields> | undefined;
|
|
34
|
+
limit?: number | undefined;
|
|
35
|
+
offset?: number | undefined;
|
|
36
|
+
order?: string | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* The parent ID to filter by
|
|
39
|
+
*/
|
|
40
|
+
parentId?: string | undefined;
|
|
41
|
+
/**
|
|
42
|
+
* Query string to search. eg. email address or name
|
|
43
|
+
*/
|
|
44
|
+
query?: string | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* 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
|
|
47
|
+
*/
|
|
48
|
+
raw?: string | undefined;
|
|
49
|
+
sort?: string | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
|
|
52
|
+
*/
|
|
53
|
+
updatedGte?: string | undefined;
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
/** @internal */
|
|
57
|
+
export const ListCalendarLocationsQueryParamFields$outboundSchema:
|
|
58
|
+
z.ZodNativeEnum<typeof ListCalendarLocationsQueryParamFields> = z.nativeEnum(
|
|
59
|
+
ListCalendarLocationsQueryParamFields,
|
|
60
|
+
);
|
|
61
|
+
|
|
62
|
+
/** @internal */
|
|
63
|
+
export type ListCalendarLocationsRequest$Outbound = {
|
|
64
|
+
connection_id: string;
|
|
65
|
+
fields?: Array<string> | undefined;
|
|
66
|
+
limit?: number | undefined;
|
|
67
|
+
offset?: number | undefined;
|
|
68
|
+
order?: string | undefined;
|
|
69
|
+
parent_id?: string | undefined;
|
|
70
|
+
query?: string | undefined;
|
|
71
|
+
raw?: string | undefined;
|
|
72
|
+
sort?: string | undefined;
|
|
73
|
+
updated_gte?: string | undefined;
|
|
74
|
+
};
|
|
75
|
+
|
|
76
|
+
/** @internal */
|
|
77
|
+
export const ListCalendarLocationsRequest$outboundSchema: z.ZodType<
|
|
78
|
+
ListCalendarLocationsRequest$Outbound,
|
|
79
|
+
z.ZodTypeDef,
|
|
80
|
+
ListCalendarLocationsRequest
|
|
81
|
+
> = z.object({
|
|
82
|
+
connectionId: z.string(),
|
|
83
|
+
fields: z.array(ListCalendarLocationsQueryParamFields$outboundSchema)
|
|
84
|
+
.optional(),
|
|
85
|
+
limit: z.number().optional(),
|
|
86
|
+
offset: z.number().optional(),
|
|
87
|
+
order: z.string().optional(),
|
|
88
|
+
parentId: z.string().optional(),
|
|
89
|
+
query: z.string().optional(),
|
|
90
|
+
raw: z.string().optional(),
|
|
91
|
+
sort: z.string().optional(),
|
|
92
|
+
updatedGte: z.string().optional(),
|
|
93
|
+
}).transform((v) => {
|
|
94
|
+
return remap$(v, {
|
|
95
|
+
connectionId: "connection_id",
|
|
96
|
+
parentId: "parent_id",
|
|
97
|
+
updatedGte: "updated_gte",
|
|
98
|
+
});
|
|
99
|
+
});
|
|
100
|
+
|
|
101
|
+
export function listCalendarLocationsRequestToJSON(
|
|
102
|
+
listCalendarLocationsRequest: ListCalendarLocationsRequest,
|
|
103
|
+
): string {
|
|
104
|
+
return JSON.stringify(
|
|
105
|
+
ListCalendarLocationsRequest$outboundSchema.parse(
|
|
106
|
+
listCalendarLocationsRequest,
|
|
107
|
+
),
|
|
108
|
+
);
|
|
109
|
+
}
|
|
@@ -0,0 +1,119 @@
|
|
|
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 ListCalendarRoomsQueryParamFields = {
|
|
10
|
+
Id: "id",
|
|
11
|
+
Name: "name",
|
|
12
|
+
Capacity: "capacity",
|
|
13
|
+
LocationId: "location_id",
|
|
14
|
+
Raw: "raw",
|
|
15
|
+
CreatedAt: "created_at",
|
|
16
|
+
UpdatedAt: "updated_at",
|
|
17
|
+
Description: "description",
|
|
18
|
+
Type: "type",
|
|
19
|
+
Email: "email",
|
|
20
|
+
CalendarId: "calendar_id",
|
|
21
|
+
Floor: "floor",
|
|
22
|
+
Timezone: "timezone",
|
|
23
|
+
WebUrl: "web_url",
|
|
24
|
+
IsActive: "is_active",
|
|
25
|
+
IsBookable: "is_bookable",
|
|
26
|
+
Features: "features",
|
|
27
|
+
Metadata: "metadata",
|
|
28
|
+
} as const;
|
|
29
|
+
export type ListCalendarRoomsQueryParamFields = ClosedEnum<
|
|
30
|
+
typeof ListCalendarRoomsQueryParamFields
|
|
31
|
+
>;
|
|
32
|
+
|
|
33
|
+
export type ListCalendarRoomsRequest = {
|
|
34
|
+
/**
|
|
35
|
+
* ID of the connection
|
|
36
|
+
*/
|
|
37
|
+
connectionId: string;
|
|
38
|
+
/**
|
|
39
|
+
* Fields to return
|
|
40
|
+
*/
|
|
41
|
+
fields?: Array<ListCalendarRoomsQueryParamFields> | undefined;
|
|
42
|
+
limit?: number | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* The location ID to filter by
|
|
45
|
+
*/
|
|
46
|
+
locationId?: string | undefined;
|
|
47
|
+
offset?: number | undefined;
|
|
48
|
+
order?: string | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* Query string to search. eg. email address or name
|
|
51
|
+
*/
|
|
52
|
+
query?: string | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* 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
|
|
55
|
+
*/
|
|
56
|
+
raw?: string | undefined;
|
|
57
|
+
sort?: string | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* The room type to filter by (ROOM, DESK or OTHER)
|
|
60
|
+
*/
|
|
61
|
+
type?: string | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
|
|
64
|
+
*/
|
|
65
|
+
updatedGte?: string | undefined;
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
/** @internal */
|
|
69
|
+
export const ListCalendarRoomsQueryParamFields$outboundSchema: z.ZodNativeEnum<
|
|
70
|
+
typeof ListCalendarRoomsQueryParamFields
|
|
71
|
+
> = z.nativeEnum(ListCalendarRoomsQueryParamFields);
|
|
72
|
+
|
|
73
|
+
/** @internal */
|
|
74
|
+
export type ListCalendarRoomsRequest$Outbound = {
|
|
75
|
+
connection_id: string;
|
|
76
|
+
fields?: Array<string> | undefined;
|
|
77
|
+
limit?: number | undefined;
|
|
78
|
+
location_id?: string | undefined;
|
|
79
|
+
offset?: number | undefined;
|
|
80
|
+
order?: string | undefined;
|
|
81
|
+
query?: string | undefined;
|
|
82
|
+
raw?: string | undefined;
|
|
83
|
+
sort?: string | undefined;
|
|
84
|
+
type?: string | undefined;
|
|
85
|
+
updated_gte?: string | undefined;
|
|
86
|
+
};
|
|
87
|
+
|
|
88
|
+
/** @internal */
|
|
89
|
+
export const ListCalendarRoomsRequest$outboundSchema: z.ZodType<
|
|
90
|
+
ListCalendarRoomsRequest$Outbound,
|
|
91
|
+
z.ZodTypeDef,
|
|
92
|
+
ListCalendarRoomsRequest
|
|
93
|
+
> = z.object({
|
|
94
|
+
connectionId: z.string(),
|
|
95
|
+
fields: z.array(ListCalendarRoomsQueryParamFields$outboundSchema).optional(),
|
|
96
|
+
limit: z.number().optional(),
|
|
97
|
+
locationId: z.string().optional(),
|
|
98
|
+
offset: z.number().optional(),
|
|
99
|
+
order: z.string().optional(),
|
|
100
|
+
query: z.string().optional(),
|
|
101
|
+
raw: z.string().optional(),
|
|
102
|
+
sort: z.string().optional(),
|
|
103
|
+
type: z.string().optional(),
|
|
104
|
+
updatedGte: z.string().optional(),
|
|
105
|
+
}).transform((v) => {
|
|
106
|
+
return remap$(v, {
|
|
107
|
+
connectionId: "connection_id",
|
|
108
|
+
locationId: "location_id",
|
|
109
|
+
updatedGte: "updated_gte",
|
|
110
|
+
});
|
|
111
|
+
});
|
|
112
|
+
|
|
113
|
+
export function listCalendarRoomsRequestToJSON(
|
|
114
|
+
listCalendarRoomsRequest: ListCalendarRoomsRequest,
|
|
115
|
+
): string {
|
|
116
|
+
return JSON.stringify(
|
|
117
|
+
ListCalendarRoomsRequest$outboundSchema.parse(listCalendarRoomsRequest),
|
|
118
|
+
);
|
|
119
|
+
}
|
|
@@ -34,6 +34,7 @@ export const PatchCalendarEventQueryParamFields = {
|
|
|
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 PatchCalendarEventQueryParamFields = ClosedEnum<
|
|
39
40
|
typeof PatchCalendarEventQueryParamFields
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
|
|
7
|
+
export type PatchUnifiedWebhookResumeRequest = {
|
|
8
|
+
/**
|
|
9
|
+
* ID of the Webhook
|
|
10
|
+
*/
|
|
11
|
+
id: string;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
/** @internal */
|
|
15
|
+
export type PatchUnifiedWebhookResumeRequest$Outbound = {
|
|
16
|
+
id: string;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const PatchUnifiedWebhookResumeRequest$outboundSchema: z.ZodType<
|
|
21
|
+
PatchUnifiedWebhookResumeRequest$Outbound,
|
|
22
|
+
z.ZodTypeDef,
|
|
23
|
+
PatchUnifiedWebhookResumeRequest
|
|
24
|
+
> = z.object({
|
|
25
|
+
id: z.string(),
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
export function patchUnifiedWebhookResumeRequestToJSON(
|
|
29
|
+
patchUnifiedWebhookResumeRequest: PatchUnifiedWebhookResumeRequest,
|
|
30
|
+
): string {
|
|
31
|
+
return JSON.stringify(
|
|
32
|
+
PatchUnifiedWebhookResumeRequest$outboundSchema.parse(
|
|
33
|
+
patchUnifiedWebhookResumeRequest,
|
|
34
|
+
),
|
|
35
|
+
);
|
|
36
|
+
}
|
|
@@ -34,6 +34,7 @@ export const UpdateCalendarEventQueryParamFields = {
|
|
|
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 UpdateCalendarEventQueryParamFields = ClosedEnum<
|
|
39
40
|
typeof UpdateCalendarEventQueryParamFields
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
|
|
7
|
+
export type UpdateUnifiedWebhookResumeRequest = {
|
|
8
|
+
/**
|
|
9
|
+
* ID of the Webhook
|
|
10
|
+
*/
|
|
11
|
+
id: string;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
/** @internal */
|
|
15
|
+
export type UpdateUnifiedWebhookResumeRequest$Outbound = {
|
|
16
|
+
id: string;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
/** @internal */
|
|
20
|
+
export const UpdateUnifiedWebhookResumeRequest$outboundSchema: z.ZodType<
|
|
21
|
+
UpdateUnifiedWebhookResumeRequest$Outbound,
|
|
22
|
+
z.ZodTypeDef,
|
|
23
|
+
UpdateUnifiedWebhookResumeRequest
|
|
24
|
+
> = z.object({
|
|
25
|
+
id: z.string(),
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
export function updateUnifiedWebhookResumeRequestToJSON(
|
|
29
|
+
updateUnifiedWebhookResumeRequest: UpdateUnifiedWebhookResumeRequest,
|
|
30
|
+
): string {
|
|
31
|
+
return JSON.stringify(
|
|
32
|
+
UpdateUnifiedWebhookResumeRequest$outboundSchema.parse(
|
|
33
|
+
updateUnifiedWebhookResumeRequest,
|
|
34
|
+
),
|
|
35
|
+
);
|
|
36
|
+
}
|
|
@@ -88,6 +88,10 @@ export type CalendarEvent = {
|
|
|
88
88
|
* (reference to CalendarEvent)
|
|
89
89
|
*/
|
|
90
90
|
recurringEventId?: string | undefined;
|
|
91
|
+
/**
|
|
92
|
+
* pointers to Calendar Rooms booked for this event
|
|
93
|
+
*/
|
|
94
|
+
roomIds?: Array<string> | undefined;
|
|
91
95
|
sendNotifications?: boolean | undefined;
|
|
92
96
|
/**
|
|
93
97
|
* (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
|
|
@@ -141,6 +145,7 @@ export const CalendarEvent$inboundSchema: z.ZodType<
|
|
|
141
145
|
raw: z.record(z.any()).optional(),
|
|
142
146
|
recurrence: z.array(CalendarEventRecurrence$inboundSchema).optional(),
|
|
143
147
|
recurring_event_id: z.string().optional(),
|
|
148
|
+
room_ids: z.array(z.string()).optional(),
|
|
144
149
|
send_notifications: z.boolean().optional(),
|
|
145
150
|
start_at: z.string().optional(),
|
|
146
151
|
status: CalendarEventStatus$inboundSchema.optional(),
|
|
@@ -159,6 +164,7 @@ export const CalendarEvent$inboundSchema: z.ZodType<
|
|
|
159
164
|
"is_private": "isPrivate",
|
|
160
165
|
"matter_id": "matterId",
|
|
161
166
|
"recurring_event_id": "recurringEventId",
|
|
167
|
+
"room_ids": "roomIds",
|
|
162
168
|
"send_notifications": "sendNotifications",
|
|
163
169
|
"start_at": "startAt",
|
|
164
170
|
"updated_at": "updatedAt",
|
|
@@ -186,6 +192,7 @@ export type CalendarEvent$Outbound = {
|
|
|
186
192
|
raw?: { [k: string]: any } | undefined;
|
|
187
193
|
recurrence?: Array<CalendarEventRecurrence$Outbound> | undefined;
|
|
188
194
|
recurring_event_id?: string | undefined;
|
|
195
|
+
room_ids?: Array<string> | undefined;
|
|
189
196
|
send_notifications?: boolean | undefined;
|
|
190
197
|
start_at?: string | undefined;
|
|
191
198
|
status?: string | undefined;
|
|
@@ -220,6 +227,7 @@ export const CalendarEvent$outboundSchema: z.ZodType<
|
|
|
220
227
|
raw: z.record(z.any()).optional(),
|
|
221
228
|
recurrence: z.array(CalendarEventRecurrence$outboundSchema).optional(),
|
|
222
229
|
recurringEventId: z.string().optional(),
|
|
230
|
+
roomIds: z.array(z.string()).optional(),
|
|
223
231
|
sendNotifications: z.boolean().optional(),
|
|
224
232
|
startAt: z.string().optional(),
|
|
225
233
|
status: CalendarEventStatus$outboundSchema.optional(),
|
|
@@ -238,6 +246,7 @@ export const CalendarEvent$outboundSchema: z.ZodType<
|
|
|
238
246
|
isPrivate: "is_private",
|
|
239
247
|
matterId: "matter_id",
|
|
240
248
|
recurringEventId: "recurring_event_id",
|
|
249
|
+
roomIds: "room_ids",
|
|
241
250
|
sendNotifications: "send_notifications",
|
|
242
251
|
startAt: "start_at",
|
|
243
252
|
updatedAt: "updated_at",
|
|
@@ -0,0 +1,92 @@
|
|
|
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 { safeParse } from "../../../lib/schemas.js";
|
|
8
|
+
import * as openEnums from "../../types/enums.js";
|
|
9
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
10
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
11
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
12
|
+
import {
|
|
13
|
+
CalendarMetadata,
|
|
14
|
+
CalendarMetadata$inboundSchema,
|
|
15
|
+
} from "./calendarmetadata.js";
|
|
16
|
+
import {
|
|
17
|
+
PropertyCalendarLocationAddress,
|
|
18
|
+
PropertyCalendarLocationAddress$inboundSchema,
|
|
19
|
+
} from "./propertycalendarlocationaddress.js";
|
|
20
|
+
|
|
21
|
+
export const CalendarLocationType = {
|
|
22
|
+
Building: "BUILDING",
|
|
23
|
+
Floor: "FLOOR",
|
|
24
|
+
Campus: "CAMPUS",
|
|
25
|
+
City: "CITY",
|
|
26
|
+
Region: "REGION",
|
|
27
|
+
Country: "COUNTRY",
|
|
28
|
+
Other: "OTHER",
|
|
29
|
+
} as const;
|
|
30
|
+
export type CalendarLocationType = OpenEnum<typeof CalendarLocationType>;
|
|
31
|
+
|
|
32
|
+
export type CalendarLocation = {
|
|
33
|
+
address?: PropertyCalendarLocationAddress | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
|
|
36
|
+
*/
|
|
37
|
+
createdAt?: Date | undefined;
|
|
38
|
+
id?: string | undefined;
|
|
39
|
+
metadata?: Array<CalendarMetadata> | undefined;
|
|
40
|
+
name?: string | undefined;
|
|
41
|
+
parentId?: string | undefined;
|
|
42
|
+
raw?: { [k: string]: any } | undefined;
|
|
43
|
+
timezone?: string | undefined;
|
|
44
|
+
type?: CalendarLocationType | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
|
|
47
|
+
*/
|
|
48
|
+
updatedAt?: Date | undefined;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
/** @internal */
|
|
52
|
+
export const CalendarLocationType$inboundSchema: z.ZodType<
|
|
53
|
+
CalendarLocationType,
|
|
54
|
+
z.ZodTypeDef,
|
|
55
|
+
unknown
|
|
56
|
+
> = openEnums.inboundSchema(CalendarLocationType);
|
|
57
|
+
|
|
58
|
+
/** @internal */
|
|
59
|
+
export const CalendarLocation$inboundSchema: z.ZodType<
|
|
60
|
+
CalendarLocation,
|
|
61
|
+
z.ZodTypeDef,
|
|
62
|
+
unknown
|
|
63
|
+
> = z.object({
|
|
64
|
+
address: PropertyCalendarLocationAddress$inboundSchema.optional(),
|
|
65
|
+
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
66
|
+
.optional(),
|
|
67
|
+
id: z.string().optional(),
|
|
68
|
+
metadata: z.array(CalendarMetadata$inboundSchema).optional(),
|
|
69
|
+
name: z.string().optional(),
|
|
70
|
+
parent_id: z.string().optional(),
|
|
71
|
+
raw: z.record(z.any()).optional(),
|
|
72
|
+
timezone: z.string().optional(),
|
|
73
|
+
type: CalendarLocationType$inboundSchema.optional(),
|
|
74
|
+
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
75
|
+
.optional(),
|
|
76
|
+
}).transform((v) => {
|
|
77
|
+
return remap$(v, {
|
|
78
|
+
"created_at": "createdAt",
|
|
79
|
+
"parent_id": "parentId",
|
|
80
|
+
"updated_at": "updatedAt",
|
|
81
|
+
});
|
|
82
|
+
});
|
|
83
|
+
|
|
84
|
+
export function calendarLocationFromJSON(
|
|
85
|
+
jsonString: string,
|
|
86
|
+
): SafeParseResult<CalendarLocation, SDKValidationError> {
|
|
87
|
+
return safeParse(
|
|
88
|
+
jsonString,
|
|
89
|
+
(x) => CalendarLocation$inboundSchema.parse(JSON.parse(x)),
|
|
90
|
+
`Failed to parse 'CalendarLocation' from JSON`,
|
|
91
|
+
);
|
|
92
|
+
}
|