-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating hmpps-approved-premises-api models from OpenAPI specification
- Loading branch information
1 parent
232b4b0
commit e27b01f
Showing
4 changed files
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* generated using openapi-typescript-codegen -- do no edit */ | ||
/* istanbul ignore file */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
|
||
import type { DateCapacity } from './DateCapacity'; | ||
import type { PremisesBooking } from './PremisesBooking'; | ||
|
||
export type ExtendedPremisesSummary = { | ||
id?: string; | ||
name?: string; | ||
apCode?: string; | ||
postcode?: string; | ||
bedCount?: number; | ||
availableBedsForToday?: number; | ||
bookings?: Array<PremisesBooking>; | ||
dateCapacities?: Array<DateCapacity>; | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* generated using openapi-typescript-codegen -- do no edit */ | ||
/* istanbul ignore file */ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
|
||
import type { Bed } from './Bed'; | ||
import type { Person } from './Person'; | ||
|
||
export type PremisesBooking = { | ||
id?: string; | ||
arrivalDate?: string; | ||
departureDate?: string; | ||
person?: Person; | ||
bed?: Bed; | ||
}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters