@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
|
@@ -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
|
|
@@ -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
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,113 @@
|
|
|
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
|
+
|
|
17
|
+
export const CalendarRoomType = {
|
|
18
|
+
Room: "ROOM",
|
|
19
|
+
Desk: "DESK",
|
|
20
|
+
Other: "OTHER",
|
|
21
|
+
} as const;
|
|
22
|
+
export type CalendarRoomType = OpenEnum<typeof CalendarRoomType>;
|
|
23
|
+
|
|
24
|
+
export type CalendarRoom = {
|
|
25
|
+
/**
|
|
26
|
+
* (reference to CalendarCalendar)
|
|
27
|
+
*/
|
|
28
|
+
calendarId?: string | undefined;
|
|
29
|
+
capacity?: number | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
|
|
32
|
+
*/
|
|
33
|
+
createdAt?: Date | undefined;
|
|
34
|
+
description?: string | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* the room's calendar/mailbox address, used to invite the room to an event
|
|
37
|
+
*/
|
|
38
|
+
email?: string | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* e.g. projector, whiteboard, video conferencing
|
|
41
|
+
*/
|
|
42
|
+
features?: Array<string> | undefined;
|
|
43
|
+
floor?: string | undefined;
|
|
44
|
+
id?: string | undefined;
|
|
45
|
+
isActive?: boolean | undefined;
|
|
46
|
+
isBookable?: boolean | undefined;
|
|
47
|
+
locationId?: string | undefined;
|
|
48
|
+
metadata?: Array<CalendarMetadata> | undefined;
|
|
49
|
+
name?: string | undefined;
|
|
50
|
+
raw?: { [k: string]: any } | undefined;
|
|
51
|
+
timezone?: string | undefined;
|
|
52
|
+
type?: CalendarRoomType | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
|
|
55
|
+
*/
|
|
56
|
+
updatedAt?: Date | undefined;
|
|
57
|
+
webUrl?: string | undefined;
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
/** @internal */
|
|
61
|
+
export const CalendarRoomType$inboundSchema: z.ZodType<
|
|
62
|
+
CalendarRoomType,
|
|
63
|
+
z.ZodTypeDef,
|
|
64
|
+
unknown
|
|
65
|
+
> = openEnums.inboundSchema(CalendarRoomType);
|
|
66
|
+
|
|
67
|
+
/** @internal */
|
|
68
|
+
export const CalendarRoom$inboundSchema: z.ZodType<
|
|
69
|
+
CalendarRoom,
|
|
70
|
+
z.ZodTypeDef,
|
|
71
|
+
unknown
|
|
72
|
+
> = z.object({
|
|
73
|
+
calendar_id: z.string().optional(),
|
|
74
|
+
capacity: z.number().optional(),
|
|
75
|
+
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
76
|
+
.optional(),
|
|
77
|
+
description: z.string().optional(),
|
|
78
|
+
email: z.string().optional(),
|
|
79
|
+
features: z.array(z.string()).optional(),
|
|
80
|
+
floor: z.string().optional(),
|
|
81
|
+
id: z.string().optional(),
|
|
82
|
+
is_active: z.boolean().optional(),
|
|
83
|
+
is_bookable: z.boolean().optional(),
|
|
84
|
+
location_id: z.string().optional(),
|
|
85
|
+
metadata: z.array(CalendarMetadata$inboundSchema).optional(),
|
|
86
|
+
name: z.string().optional(),
|
|
87
|
+
raw: z.record(z.any()).optional(),
|
|
88
|
+
timezone: z.string().optional(),
|
|
89
|
+
type: CalendarRoomType$inboundSchema.optional(),
|
|
90
|
+
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
91
|
+
.optional(),
|
|
92
|
+
web_url: z.string().optional(),
|
|
93
|
+
}).transform((v) => {
|
|
94
|
+
return remap$(v, {
|
|
95
|
+
"calendar_id": "calendarId",
|
|
96
|
+
"created_at": "createdAt",
|
|
97
|
+
"is_active": "isActive",
|
|
98
|
+
"is_bookable": "isBookable",
|
|
99
|
+
"location_id": "locationId",
|
|
100
|
+
"updated_at": "updatedAt",
|
|
101
|
+
"web_url": "webUrl",
|
|
102
|
+
});
|
|
103
|
+
});
|
|
104
|
+
|
|
105
|
+
export function calendarRoomFromJSON(
|
|
106
|
+
jsonString: string,
|
|
107
|
+
): SafeParseResult<CalendarRoom, SDKValidationError> {
|
|
108
|
+
return safeParse(
|
|
109
|
+
jsonString,
|
|
110
|
+
(x) => CalendarRoom$inboundSchema.parse(JSON.parse(x)),
|
|
111
|
+
`Failed to parse 'CalendarRoom' from JSON`,
|
|
112
|
+
);
|
|
113
|
+
}
|
|
@@ -124,10 +124,12 @@ export * from "./calendarconference.js";
|
|
|
124
124
|
export * from "./calendarevent.js";
|
|
125
125
|
export * from "./calendareventrecurrence.js";
|
|
126
126
|
export * from "./calendarlink.js";
|
|
127
|
+
export * from "./calendarlocation.js";
|
|
127
128
|
export * from "./calendarmetadata.js";
|
|
128
129
|
export * from "./calendarrecording.js";
|
|
129
130
|
export * from "./calendarrecordingmedia.js";
|
|
130
131
|
export * from "./calendarrecordingtranscript.js";
|
|
132
|
+
export * from "./calendarroom.js";
|
|
131
133
|
export * from "./calendarwebinar.js";
|
|
132
134
|
export * from "./calendarwebinarpanelist.js";
|
|
133
135
|
export * from "./calendarwebinarregistrant.js";
|
|
@@ -450,6 +452,7 @@ export * from "./propertyatscompanyaddress.js";
|
|
|
450
452
|
export * from "./propertyatsjobpostingaddress.js";
|
|
451
453
|
export * from "./propertycalendareventorganizer.js";
|
|
452
454
|
export * from "./propertycalendareventrecurrenceondays.js";
|
|
455
|
+
export * from "./propertycalendarlocationaddress.js";
|
|
453
456
|
export * from "./propertycalendarrecordingtranscriptattendee.js";
|
|
454
457
|
export * from "./propertycalendarwebinarorganizer.js";
|
|
455
458
|
export * from "./propertycdpprofileaddress.js";
|
|
@@ -633,5 +636,5 @@ export * from "./verificationparameterinput.js";
|
|
|
633
636
|
export * from "./verificationrequest.js";
|
|
634
637
|
export * from "./verificationresponsedetail.js";
|
|
635
638
|
export * from "./verificationtime.js";
|
|
636
|
-
export * from "./
|
|
639
|
+
export * from "./virtualwebhookcarrierid.js";
|
|
637
640
|
export * from "./webhook.js";
|
|
@@ -174,6 +174,8 @@ import {
|
|
|
174
174
|
ListRepoId$inboundSchema,
|
|
175
175
|
ListRoleId,
|
|
176
176
|
ListRoleId$inboundSchema,
|
|
177
|
+
ListRoomId,
|
|
178
|
+
ListRoomId$inboundSchema,
|
|
177
179
|
ListRootId,
|
|
178
180
|
ListRootId$inboundSchema,
|
|
179
181
|
ListSaleschannelId,
|
|
@@ -312,9 +314,14 @@ import {
|
|
|
312
314
|
VirtualWebhookCandidateId$inboundSchema,
|
|
313
315
|
VirtualWebhookCarrierId,
|
|
314
316
|
VirtualWebhookCarrierId$inboundSchema,
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
317
|
+
} from "./virtualwebhookcarrierid.js";
|
|
318
|
+
|
|
319
|
+
export const VirtualWebhookChannelId = {
|
|
320
|
+
SupportedRequired: "supported-required",
|
|
321
|
+
Supported: "supported",
|
|
322
|
+
NotSupported: "not-supported",
|
|
323
|
+
} as const;
|
|
324
|
+
export type VirtualWebhookChannelId = OpenEnum<typeof VirtualWebhookChannelId>;
|
|
318
325
|
|
|
319
326
|
export const VirtualWebhookCollectionId = {
|
|
320
327
|
SupportedRequired: "supported-required",
|
|
@@ -841,6 +848,7 @@ export type IntegrationSupport = {
|
|
|
841
848
|
listRegionId?: ListRegionId | undefined;
|
|
842
849
|
listRepoId?: ListRepoId | undefined;
|
|
843
850
|
listRoleId?: ListRoleId | undefined;
|
|
851
|
+
listRoomId?: ListRoomId | undefined;
|
|
844
852
|
listRootId?: ListRootId | undefined;
|
|
845
853
|
listSaleschannelId?: ListSaleschannelId | undefined;
|
|
846
854
|
listSegmentId?: ListSegmentId | undefined;
|
|
@@ -980,6 +988,13 @@ export type IntegrationSupport = {
|
|
|
980
988
|
webhookEvents?: PropertyIntegrationSupportWebhookEvents | undefined;
|
|
981
989
|
};
|
|
982
990
|
|
|
991
|
+
/** @internal */
|
|
992
|
+
export const VirtualWebhookChannelId$inboundSchema: z.ZodType<
|
|
993
|
+
VirtualWebhookChannelId,
|
|
994
|
+
z.ZodTypeDef,
|
|
995
|
+
unknown
|
|
996
|
+
> = openEnums.inboundSchema(VirtualWebhookChannelId);
|
|
997
|
+
|
|
983
998
|
/** @internal */
|
|
984
999
|
export const VirtualWebhookCollectionId$inboundSchema: z.ZodType<
|
|
985
1000
|
VirtualWebhookCollectionId,
|
|
@@ -1480,6 +1495,7 @@ export const IntegrationSupport$inboundSchema: z.ZodType<
|
|
|
1480
1495
|
list_region_id: ListRegionId$inboundSchema.optional(),
|
|
1481
1496
|
list_repo_id: ListRepoId$inboundSchema.optional(),
|
|
1482
1497
|
list_role_id: ListRoleId$inboundSchema.optional(),
|
|
1498
|
+
list_room_id: ListRoomId$inboundSchema.optional(),
|
|
1483
1499
|
list_root_id: ListRootId$inboundSchema.optional(),
|
|
1484
1500
|
list_saleschannel_id: ListSaleschannelId$inboundSchema.optional(),
|
|
1485
1501
|
list_segment_id: ListSegmentId$inboundSchema.optional(),
|
|
@@ -1720,6 +1736,7 @@ export const IntegrationSupport$inboundSchema: z.ZodType<
|
|
|
1720
1736
|
"list_region_id": "listRegionId",
|
|
1721
1737
|
"list_repo_id": "listRepoId",
|
|
1722
1738
|
"list_role_id": "listRoleId",
|
|
1739
|
+
"list_room_id": "listRoomId",
|
|
1723
1740
|
"list_root_id": "listRootId",
|
|
1724
1741
|
"list_saleschannel_id": "listSaleschannelId",
|
|
1725
1742
|
"list_segment_id": "listSegmentId",
|