@unified-api/typescript-sdk 2.86.3 → 2.86.4
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 +24 -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/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 +4 -0
- package/dist/commonjs/sdk/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/index.js +4 -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/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/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/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/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/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 +4 -0
- package/dist/esm/sdk/models/operations/index.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/index.js +4 -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/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/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/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/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/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 +4 -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/updatecalendarevent.ts +1 -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/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/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,182 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { UnifiedToCore } from "../core.js";
|
|
7
|
+
import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
|
|
8
|
+
import { matchStatusCode } from "../lib/http.js";
|
|
9
|
+
import * as M from "../lib/matchers.js";
|
|
10
|
+
import { compactMap } from "../lib/primitives.js";
|
|
11
|
+
import { safeParse } from "../lib/schemas.js";
|
|
12
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
13
|
+
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
14
|
+
import { pathToFunc } from "../lib/url.js";
|
|
15
|
+
import {
|
|
16
|
+
ConnectionError,
|
|
17
|
+
InvalidRequestError,
|
|
18
|
+
RequestAbortedError,
|
|
19
|
+
RequestTimeoutError,
|
|
20
|
+
UnexpectedClientError,
|
|
21
|
+
} from "../sdk/models/errors/httpclienterrors.js";
|
|
22
|
+
import { ResponseValidationError } from "../sdk/models/errors/responsevalidationerror.js";
|
|
23
|
+
import { SDKValidationError } from "../sdk/models/errors/sdkvalidationerror.js";
|
|
24
|
+
import { UnifiedToError } from "../sdk/models/errors/unifiedtoerror.js";
|
|
25
|
+
import * as operations from "../sdk/models/operations/index.js";
|
|
26
|
+
import * as shared from "../sdk/models/shared/index.js";
|
|
27
|
+
import { APICall, APIPromise } from "../sdk/types/async.js";
|
|
28
|
+
import { Result } from "../sdk/types/fp.js";
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* List all rooms
|
|
32
|
+
*
|
|
33
|
+
* @remarks
|
|
34
|
+
* 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.
|
|
35
|
+
*/
|
|
36
|
+
export function calendarListCalendarRooms(
|
|
37
|
+
client: UnifiedToCore,
|
|
38
|
+
request: operations.ListCalendarRoomsRequest,
|
|
39
|
+
options?: RequestOptions,
|
|
40
|
+
): APIPromise<
|
|
41
|
+
Result<
|
|
42
|
+
Array<shared.CalendarRoom>,
|
|
43
|
+
| UnifiedToError
|
|
44
|
+
| ResponseValidationError
|
|
45
|
+
| ConnectionError
|
|
46
|
+
| RequestAbortedError
|
|
47
|
+
| RequestTimeoutError
|
|
48
|
+
| InvalidRequestError
|
|
49
|
+
| UnexpectedClientError
|
|
50
|
+
| SDKValidationError
|
|
51
|
+
>
|
|
52
|
+
> {
|
|
53
|
+
return new APIPromise($do(
|
|
54
|
+
client,
|
|
55
|
+
request,
|
|
56
|
+
options,
|
|
57
|
+
));
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
async function $do(
|
|
61
|
+
client: UnifiedToCore,
|
|
62
|
+
request: operations.ListCalendarRoomsRequest,
|
|
63
|
+
options?: RequestOptions,
|
|
64
|
+
): Promise<
|
|
65
|
+
[
|
|
66
|
+
Result<
|
|
67
|
+
Array<shared.CalendarRoom>,
|
|
68
|
+
| UnifiedToError
|
|
69
|
+
| ResponseValidationError
|
|
70
|
+
| ConnectionError
|
|
71
|
+
| RequestAbortedError
|
|
72
|
+
| RequestTimeoutError
|
|
73
|
+
| InvalidRequestError
|
|
74
|
+
| UnexpectedClientError
|
|
75
|
+
| SDKValidationError
|
|
76
|
+
>,
|
|
77
|
+
APICall,
|
|
78
|
+
]
|
|
79
|
+
> {
|
|
80
|
+
const parsed = safeParse(
|
|
81
|
+
request,
|
|
82
|
+
(value) => operations.ListCalendarRoomsRequest$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
|
+
connection_id: encodeSimple("connection_id", payload.connection_id, {
|
|
93
|
+
explode: false,
|
|
94
|
+
charEncoding: "percent",
|
|
95
|
+
}),
|
|
96
|
+
};
|
|
97
|
+
const path = pathToFunc("/calendar/{connection_id}/room")(pathParams);
|
|
98
|
+
|
|
99
|
+
const query = encodeFormQuery({
|
|
100
|
+
"fields": payload.fields,
|
|
101
|
+
"limit": payload.limit,
|
|
102
|
+
"location_id": payload.location_id,
|
|
103
|
+
"offset": payload.offset,
|
|
104
|
+
"order": payload.order,
|
|
105
|
+
"query": payload.query,
|
|
106
|
+
"raw": payload.raw,
|
|
107
|
+
"sort": payload.sort,
|
|
108
|
+
"type": payload.type,
|
|
109
|
+
"updated_gte": payload.updated_gte,
|
|
110
|
+
});
|
|
111
|
+
|
|
112
|
+
const headers = new Headers(compactMap({
|
|
113
|
+
Accept: "application/json",
|
|
114
|
+
}));
|
|
115
|
+
|
|
116
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
117
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
118
|
+
|
|
119
|
+
const context = {
|
|
120
|
+
options: client._options,
|
|
121
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
122
|
+
operationID: "listCalendarRooms",
|
|
123
|
+
oAuth2Scopes: null,
|
|
124
|
+
|
|
125
|
+
resolvedSecurity: requestSecurity,
|
|
126
|
+
|
|
127
|
+
securitySource: client._options.security,
|
|
128
|
+
retryConfig: options?.retries
|
|
129
|
+
|| client._options.retryConfig
|
|
130
|
+
|| { strategy: "none" },
|
|
131
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
const requestRes = client._createRequest(context, {
|
|
135
|
+
security: requestSecurity,
|
|
136
|
+
method: "GET",
|
|
137
|
+
baseURL: options?.serverURL,
|
|
138
|
+
path: path,
|
|
139
|
+
headers: headers,
|
|
140
|
+
query: query,
|
|
141
|
+
body: body,
|
|
142
|
+
userAgent: client._options.userAgent,
|
|
143
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
144
|
+
}, options);
|
|
145
|
+
if (!requestRes.ok) {
|
|
146
|
+
return [requestRes, { status: "invalid" }];
|
|
147
|
+
}
|
|
148
|
+
const req = requestRes.value;
|
|
149
|
+
|
|
150
|
+
const doResult = await client._do(req, {
|
|
151
|
+
context,
|
|
152
|
+
isErrorStatusCode: (statusCode: number) =>
|
|
153
|
+
matchStatusCode({ status: statusCode } as Response, ["4XX", "5XX"]),
|
|
154
|
+
retryConfig: context.retryConfig,
|
|
155
|
+
retryCodes: context.retryCodes,
|
|
156
|
+
});
|
|
157
|
+
if (!doResult.ok) {
|
|
158
|
+
return [doResult, { status: "request-error", request: req }];
|
|
159
|
+
}
|
|
160
|
+
const response = doResult.value;
|
|
161
|
+
|
|
162
|
+
const [result] = await M.match<
|
|
163
|
+
Array<shared.CalendarRoom>,
|
|
164
|
+
| UnifiedToError
|
|
165
|
+
| ResponseValidationError
|
|
166
|
+
| ConnectionError
|
|
167
|
+
| RequestAbortedError
|
|
168
|
+
| RequestTimeoutError
|
|
169
|
+
| InvalidRequestError
|
|
170
|
+
| UnexpectedClientError
|
|
171
|
+
| SDKValidationError
|
|
172
|
+
>(
|
|
173
|
+
M.json(200, z.array(shared.CalendarRoom$inboundSchema)),
|
|
174
|
+
M.fail("4XX"),
|
|
175
|
+
M.fail("5XX"),
|
|
176
|
+
)(response, req);
|
|
177
|
+
if (!result.ok) {
|
|
178
|
+
return [result, { status: "complete", request: req, response }];
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
return [result, { status: "complete", request: req, response }];
|
|
182
|
+
}
|
|
@@ -32,7 +32,7 @@ import { Result } from "../sdk/types/fp.js";
|
|
|
32
32
|
* @remarks
|
|
33
33
|
* Retrieves a single ClubsLocation by its `id`. Obtain `id` values from the corresponding list endpoint. Use `fields` to return only the fields you need.
|
|
34
34
|
*/
|
|
35
|
-
export function
|
|
35
|
+
export function locationGetClubsLocation(
|
|
36
36
|
client: UnifiedToCore,
|
|
37
37
|
request: operations.GetClubsLocationRequest,
|
|
38
38
|
options?: RequestOptions,
|
|
@@ -33,7 +33,7 @@ import { Result } from "../sdk/types/fp.js";
|
|
|
33
33
|
* @remarks
|
|
34
34
|
* Returns a list of ClubsLocations. 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.
|
|
35
35
|
*/
|
|
36
|
-
export function
|
|
36
|
+
export function locationListClubsLocations(
|
|
37
37
|
client: UnifiedToCore,
|
|
38
38
|
request: operations.ListClubsLocationsRequest,
|
|
39
39
|
options?: RequestOptions,
|
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.4",
|
|
77
77
|
genVersion: "2.950.13",
|
|
78
78
|
userAgent:
|
|
79
|
-
"speakeasy-sdk/typescript 2.86.
|
|
79
|
+
"speakeasy-sdk/typescript 2.86.4 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
|
+
}
|
|
@@ -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";
|