Skip to content

Commit

Permalink
version: 1.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Jun 23, 2023
1 parent 00ebeec commit 7677cef
Show file tree
Hide file tree
Showing 270 changed files with 13,120 additions and 2,267 deletions.
100 changes: 99 additions & 1 deletion .openapi-generator/FILES
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.babelrc
.gitignore
.openapi-generator-ignore
.travis.yml
README.md
docs/AnalyticsApi.md
Expand Down Expand Up @@ -44,15 +43,48 @@ docs/InlineResponse20024Data.md
docs/InlineResponse20025.md
docs/InlineResponse20026.md
docs/InlineResponse20026Data.md
docs/InlineResponse20027.md
docs/InlineResponse20028.md
docs/InlineResponse20029.md
docs/InlineResponse20029Categories.md
docs/InlineResponse2003.md
docs/InlineResponse20030.md
docs/InlineResponse20031.md
docs/InlineResponse20032.md
docs/InlineResponse20033.md
docs/InlineResponse20034.md
docs/InlineResponse20035.md
docs/InlineResponse20036.md
docs/InlineResponse20037.md
docs/InlineResponse20038.md
docs/InlineResponse20039.md
docs/InlineResponse2004.md
docs/InlineResponse20040.md
docs/InlineResponse20041.md
docs/InlineResponse20042.md
docs/InlineResponse2005.md
docs/InlineResponse2006.md
docs/InlineResponse2007.md
docs/InlineResponse2008.md
docs/InlineResponse2009.md
docs/Instance.md
docs/Lecturer.md
docs/LibCalApi.md
docs/LibcalBooking.md
docs/LibcalCategory.md
docs/LibcalForm.md
docs/LibcalFormField.md
docs/LibcalLocation.md
docs/LibcalLocationBase.md
docs/LibcalPersonalSeatBooking.md
docs/LibcalReserveRequest.md
docs/LibcalReserveRequestBooking.md
docs/LibcalSeat.md
docs/LibcalSeatBooking.md
docs/LibcalSpaceBase.md
docs/LibcalUtilisationSeatSummary.md
docs/LibcalUtilisationSpaceSummary.md
docs/LibcalZone.md
docs/Location.md
docs/LocationCoordinates.md
docs/Map.md
Expand Down Expand Up @@ -90,6 +122,7 @@ mocha.opts
package.json
src/ApiClient.js
src/api/AnalyticsApi.js
src/api/LibCalApi.js
src/api/OAuthApi.js
src/api/ResourcesApi.js
src/api/RoomBookingsApi.js
Expand Down Expand Up @@ -137,15 +170,47 @@ src/model/InlineResponse20024Data.js
src/model/InlineResponse20025.js
src/model/InlineResponse20026.js
src/model/InlineResponse20026Data.js
src/model/InlineResponse20027.js
src/model/InlineResponse20028.js
src/model/InlineResponse20029.js
src/model/InlineResponse20029Categories.js
src/model/InlineResponse2003.js
src/model/InlineResponse20030.js
src/model/InlineResponse20031.js
src/model/InlineResponse20032.js
src/model/InlineResponse20033.js
src/model/InlineResponse20034.js
src/model/InlineResponse20035.js
src/model/InlineResponse20036.js
src/model/InlineResponse20037.js
src/model/InlineResponse20038.js
src/model/InlineResponse20039.js
src/model/InlineResponse2004.js
src/model/InlineResponse20040.js
src/model/InlineResponse20041.js
src/model/InlineResponse20042.js
src/model/InlineResponse2005.js
src/model/InlineResponse2006.js
src/model/InlineResponse2007.js
src/model/InlineResponse2008.js
src/model/InlineResponse2009.js
src/model/Instance.js
src/model/Lecturer.js
src/model/LibcalBooking.js
src/model/LibcalCategory.js
src/model/LibcalForm.js
src/model/LibcalFormField.js
src/model/LibcalLocation.js
src/model/LibcalLocationBase.js
src/model/LibcalPersonalSeatBooking.js
src/model/LibcalReserveRequest.js
src/model/LibcalReserveRequestBooking.js
src/model/LibcalSeat.js
src/model/LibcalSeatBooking.js
src/model/LibcalSpaceBase.js
src/model/LibcalUtilisationSeatSummary.js
src/model/LibcalUtilisationSpaceSummary.js
src/model/LibcalZone.js
src/model/Location.js
src/model/LocationCoordinates.js
src/model/Map.js
Expand Down Expand Up @@ -173,6 +238,7 @@ src/model/TeachingPeriods.js
src/model/Timetable.js
src/model/UserData.js
test/api/AnalyticsApi.spec.js
test/api/LibCalApi.spec.js
test/api/OAuthApi.spec.js
test/api/ResourcesApi.spec.js
test/api/RoomBookingsApi.spec.js
Expand Down Expand Up @@ -219,15 +285,47 @@ test/model/InlineResponse20024Data.spec.js
test/model/InlineResponse20025.spec.js
test/model/InlineResponse20026.spec.js
test/model/InlineResponse20026Data.spec.js
test/model/InlineResponse20027.spec.js
test/model/InlineResponse20028.spec.js
test/model/InlineResponse20029.spec.js
test/model/InlineResponse20029Categories.spec.js
test/model/InlineResponse2003.spec.js
test/model/InlineResponse20030.spec.js
test/model/InlineResponse20031.spec.js
test/model/InlineResponse20032.spec.js
test/model/InlineResponse20033.spec.js
test/model/InlineResponse20034.spec.js
test/model/InlineResponse20035.spec.js
test/model/InlineResponse20036.spec.js
test/model/InlineResponse20037.spec.js
test/model/InlineResponse20038.spec.js
test/model/InlineResponse20039.spec.js
test/model/InlineResponse2004.spec.js
test/model/InlineResponse20040.spec.js
test/model/InlineResponse20041.spec.js
test/model/InlineResponse20042.spec.js
test/model/InlineResponse2005.spec.js
test/model/InlineResponse2006.spec.js
test/model/InlineResponse2007.spec.js
test/model/InlineResponse2008.spec.js
test/model/InlineResponse2009.spec.js
test/model/Instance.spec.js
test/model/Lecturer.spec.js
test/model/LibcalBooking.spec.js
test/model/LibcalCategory.spec.js
test/model/LibcalForm.spec.js
test/model/LibcalFormField.spec.js
test/model/LibcalLocation.spec.js
test/model/LibcalLocationBase.spec.js
test/model/LibcalPersonalSeatBooking.spec.js
test/model/LibcalReserveRequest.spec.js
test/model/LibcalReserveRequestBooking.spec.js
test/model/LibcalSeat.spec.js
test/model/LibcalSeatBooking.spec.js
test/model/LibcalSpaceBase.spec.js
test/model/LibcalUtilisationSeatSummary.spec.js
test/model/LibcalUtilisationSpaceSummary.spec.js
test/model/LibcalZone.spec.js
test/model/Location.spec.js
test/model/LocationCoordinates.spec.js
test/model/Map.spec.js
Expand Down
65 changes: 62 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ See the main UCL API Documentation at <https://uclapi.com/docs>.

This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 1.0.3
- Package version: 1.0.3
- API version: 1.4.2
- Package version: 1.4.2
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen

## Installation
Expand Down Expand Up @@ -95,6 +95,22 @@ Class | Method | HTTP request | Description
*uclapi.AnalyticsApi* | [**dashboardApiAnalyticsQuotaGet**](docs/AnalyticsApi.md#dashboardApiAnalyticsQuotaGet) | **GET** /dashboard/api/analytics/quota | Gets the remaining daily quota for a given token
*uclapi.AnalyticsApi* | [**dashboardApiAnalyticsServicesGet**](docs/AnalyticsApi.md#dashboardApiAnalyticsServicesGet) | **GET** /dashboard/api/analytics/services | Gets all services and their popularity
*uclapi.AnalyticsApi* | [**dashboardApiAnalyticsTotalGet**](docs/AnalyticsApi.md#dashboardApiAnalyticsTotalGet) | **GET** /dashboard/api/analytics/total | Gets the total number of requests made from a given token
*uclapi.LibCalApi* | [**libcalSpaceBookingsGet**](docs/LibCalApi.md#libcalSpaceBookingsGet) | **GET** /libcal/space/bookings | Get all LibCal bookings
*uclapi.LibCalApi* | [**libcalSpaceCancelPost**](docs/LibCalApi.md#libcalSpaceCancelPost) | **POST** /libcal/space/cancel | Cancel one or more LibCal bookings
*uclapi.LibCalApi* | [**libcalSpaceCategoriesGet**](docs/LibCalApi.md#libcalSpaceCategoriesGet) | **GET** /libcal/space/categories | Returns the categories of spaces available in the given location(s)
*uclapi.LibCalApi* | [**libcalSpaceCategoryGet**](docs/LibCalApi.md#libcalSpaceCategoryGet) | **GET** /libcal/space/category | Get all spaces corresponding to the specified categories
*uclapi.LibCalApi* | [**libcalSpaceFormGet**](docs/LibCalApi.md#libcalSpaceFormGet) | **GET** /libcal/space/form | Get all forms (including fields) corresponding to the given LibCal form ID(s)
*uclapi.LibCalApi* | [**libcalSpaceItemGet**](docs/LibCalApi.md#libcalSpaceItemGet) | **GET** /libcal/space/item | Get the spaces corresponding to the given LibCal space ID(s)
*uclapi.LibCalApi* | [**libcalSpaceLocationsGet**](docs/LibCalApi.md#libcalSpaceLocationsGet) | **GET** /libcal/space/locations | Gets all LibCal locations
*uclapi.LibCalApi* | [**libcalSpaceNicknameGet**](docs/LibCalApi.md#libcalSpaceNicknameGet) | **GET** /libcal/space/nickname | Get the nicknames asssigned to certain LibCal bookings
*uclapi.LibCalApi* | [**libcalSpacePersonalBookingsGet**](docs/LibCalApi.md#libcalSpacePersonalBookingsGet) | **GET** /libcal/space/personal_bookings | Get all LibCal bookings
*uclapi.LibCalApi* | [**libcalSpaceQuestionGet**](docs/LibCalApi.md#libcalSpaceQuestionGet) | **GET** /libcal/space/question | Get the questions corresponding to the given LibCal field/question ID(s)
*uclapi.LibCalApi* | [**libcalSpaceReservePost**](docs/LibCalApi.md#libcalSpaceReservePost) | **POST** /libcal/space/reserve | Reserve one or more LibCal spaces/seats
*uclapi.LibCalApi* | [**libcalSpaceSeatGet**](docs/LibCalApi.md#libcalSpaceSeatGet) | **GET** /libcal/space/seat | Get LibCal seat by ID
*uclapi.LibCalApi* | [**libcalSpaceSeatsGet**](docs/LibCalApi.md#libcalSpaceSeatsGet) | **GET** /libcal/space/seats | Get all LibCal seats in a given location
*uclapi.LibCalApi* | [**libcalSpaceUtilizationGet**](docs/LibCalApi.md#libcalSpaceUtilizationGet) | **GET** /libcal/space/utilization | Get utilisation stats for a particular location
*uclapi.LibCalApi* | [**libcalSpaceZoneGet**](docs/LibCalApi.md#libcalSpaceZoneGet) | **GET** /libcal/space/zone | Get LibCal zone by ID
*uclapi.LibCalApi* | [**libcalSpaceZonesGet**](docs/LibCalApi.md#libcalSpaceZonesGet) | **GET** /libcal/space/zones | Get LibCal zones by location
*uclapi.OAuthApi* | [**oauthAuthoriseGet**](docs/OAuthApi.md#oauthAuthoriseGet) | **GET** /oauth/authorise | Authorises a user against the API
*uclapi.OAuthApi* | [**oauthTokenGet**](docs/OAuthApi.md#oauthTokenGet) | **GET** /oauth/token | A token will be generated which your app can use to get user’s personal data in JSON format from the OAuthSecurity/user/data.
*uclapi.OAuthApi* | [**oauthUserDataGet**](docs/OAuthApi.md#oauthUserDataGet) | **GET** /oauth/user/data | Returns personal data on a student at UCL.
Expand Down Expand Up @@ -165,15 +181,47 @@ Class | Method | HTTP request | Description
- [uclapi.InlineResponse20025](docs/InlineResponse20025.md)
- [uclapi.InlineResponse20026](docs/InlineResponse20026.md)
- [uclapi.InlineResponse20026Data](docs/InlineResponse20026Data.md)
- [uclapi.InlineResponse20027](docs/InlineResponse20027.md)
- [uclapi.InlineResponse20028](docs/InlineResponse20028.md)
- [uclapi.InlineResponse20029](docs/InlineResponse20029.md)
- [uclapi.InlineResponse20029Categories](docs/InlineResponse20029Categories.md)
- [uclapi.InlineResponse2003](docs/InlineResponse2003.md)
- [uclapi.InlineResponse20030](docs/InlineResponse20030.md)
- [uclapi.InlineResponse20031](docs/InlineResponse20031.md)
- [uclapi.InlineResponse20032](docs/InlineResponse20032.md)
- [uclapi.InlineResponse20033](docs/InlineResponse20033.md)
- [uclapi.InlineResponse20034](docs/InlineResponse20034.md)
- [uclapi.InlineResponse20035](docs/InlineResponse20035.md)
- [uclapi.InlineResponse20036](docs/InlineResponse20036.md)
- [uclapi.InlineResponse20037](docs/InlineResponse20037.md)
- [uclapi.InlineResponse20038](docs/InlineResponse20038.md)
- [uclapi.InlineResponse20039](docs/InlineResponse20039.md)
- [uclapi.InlineResponse2004](docs/InlineResponse2004.md)
- [uclapi.InlineResponse20040](docs/InlineResponse20040.md)
- [uclapi.InlineResponse20041](docs/InlineResponse20041.md)
- [uclapi.InlineResponse20042](docs/InlineResponse20042.md)
- [uclapi.InlineResponse2005](docs/InlineResponse2005.md)
- [uclapi.InlineResponse2006](docs/InlineResponse2006.md)
- [uclapi.InlineResponse2007](docs/InlineResponse2007.md)
- [uclapi.InlineResponse2008](docs/InlineResponse2008.md)
- [uclapi.InlineResponse2009](docs/InlineResponse2009.md)
- [uclapi.Instance](docs/Instance.md)
- [uclapi.Lecturer](docs/Lecturer.md)
- [uclapi.LibcalBooking](docs/LibcalBooking.md)
- [uclapi.LibcalCategory](docs/LibcalCategory.md)
- [uclapi.LibcalForm](docs/LibcalForm.md)
- [uclapi.LibcalFormField](docs/LibcalFormField.md)
- [uclapi.LibcalLocation](docs/LibcalLocation.md)
- [uclapi.LibcalLocationBase](docs/LibcalLocationBase.md)
- [uclapi.LibcalPersonalSeatBooking](docs/LibcalPersonalSeatBooking.md)
- [uclapi.LibcalReserveRequest](docs/LibcalReserveRequest.md)
- [uclapi.LibcalReserveRequestBooking](docs/LibcalReserveRequestBooking.md)
- [uclapi.LibcalSeat](docs/LibcalSeat.md)
- [uclapi.LibcalSeatBooking](docs/LibcalSeatBooking.md)
- [uclapi.LibcalSpaceBase](docs/LibcalSpaceBase.md)
- [uclapi.LibcalUtilisationSeatSummary](docs/LibcalUtilisationSeatSummary.md)
- [uclapi.LibcalUtilisationSpaceSummary](docs/LibcalUtilisationSpaceSummary.md)
- [uclapi.LibcalZone](docs/LibcalZone.md)
- [uclapi.Location](docs/Location.md)
- [uclapi.LocationCoordinates](docs/LocationCoordinates.md)
- [uclapi.Map](docs/Map.md)
Expand Down Expand Up @@ -206,15 +254,26 @@ Class | Method | HTTP request | Description



### ApiToken


- **Type**: API key
- **API key parameter name**: token
- **Location**: URL query string



### OAuthSecurity


- **Type**: OAuth
- **Flow**: accessCode
- **Authorization URL**: /authorise
- **Authorization URL**: /oauth/authorise
- **Scopes**:
- personal_timetable: read user&#39;s timetable
- student_number: read user&#39;s student number
- libcal_read: read user&#39;s LibCal bookings
- libcal_write: reserve/cancel user&#39;s LibCal bookings



Expand Down
10 changes: 10 additions & 0 deletions docs/InlineResponse20027.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# uclapi.InlineResponse20027

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ok** | **Boolean** | | [optional]
**data** | [**[LibcalLocation]**](LibcalLocation.md) | | [optional]


10 changes: 10 additions & 0 deletions docs/InlineResponse20028.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# uclapi.InlineResponse20028

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ok** | **Boolean** | | [optional]
**categories** | [**[LibcalLocationBase]**](LibcalLocationBase.md) | | [optional]


10 changes: 10 additions & 0 deletions docs/InlineResponse20029.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# uclapi.InlineResponse20029

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ok** | **Boolean** | | [optional]
**categories** | [**[InlineResponse20029Categories]**](InlineResponse20029Categories.md) | | [optional]


12 changes: 12 additions & 0 deletions docs/InlineResponse20029Categories.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# uclapi.InlineResponse20029Categories

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**cid** | **Number** | LibCal category ID denoting a category assigned to a particular space | [optional]
**formid** | **Number** | LibCal booking form ID | [optional]
**_public** | **Number** | 1 if the category of spaces is publicly-bookable, 0 if it is not | [optional]
**items** | **[Number]** | | [optional]


10 changes: 10 additions & 0 deletions docs/InlineResponse20030.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# uclapi.InlineResponse20030

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ok** | **Boolean** | | [optional]
**forms** | [**[LibcalForm]**](LibcalForm.md) | | [optional]


10 changes: 10 additions & 0 deletions docs/InlineResponse20031.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# uclapi.InlineResponse20031

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ok** | **Boolean** | | [optional]
**questions** | [**[LibcalFormField]**](LibcalFormField.md) | | [optional]


10 changes: 10 additions & 0 deletions docs/InlineResponse20032.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# uclapi.InlineResponse20032

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ok** | **Boolean** | | [optional]
**questions** | [**[LibcalSpaceBase]**](LibcalSpaceBase.md) | | [optional]


10 changes: 10 additions & 0 deletions docs/InlineResponse20033.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# uclapi.InlineResponse20033

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ok** | **Boolean** | | [optional]
**categories** | **[Object]** | | [optional]


10 changes: 10 additions & 0 deletions docs/InlineResponse20034.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# uclapi.InlineResponse20034

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ok** | **Boolean** | | [optional]
**data** | **Object** | | [optional]


10 changes: 10 additions & 0 deletions docs/InlineResponse20035.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# uclapi.InlineResponse20035

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**ok** | **Boolean** | | [optional]
**seats** | [**[LibcalSeat]**](LibcalSeat.md) | | [optional]


Loading

0 comments on commit 7677cef

Please sign in to comment.