From 76a6e7b8f8f5b4023d336b1addaedcd2aa28b503 Mon Sep 17 00:00:00 2001 From: "communityaccommodationtypegen[bot]" Date: Wed, 18 Dec 2024 09:20:30 +0000 Subject: [PATCH] Updating hmpps-approved-premises-api models from OpenAPI specification --- server/@types/shared/index.d.ts | 2 ++ server/@types/shared/models/SeedFromExcelFileType.ts | 5 +++++ server/@types/shared/models/SeedFromExcelRequest.ts | 11 +++++++++++ 3 files changed, 18 insertions(+) create mode 100644 server/@types/shared/models/SeedFromExcelFileType.ts create mode 100644 server/@types/shared/models/SeedFromExcelRequest.ts diff --git a/server/@types/shared/index.d.ts b/server/@types/shared/index.d.ts index 17446bbe3..7d637145e 100644 --- a/server/@types/shared/index.d.ts +++ b/server/@types/shared/index.d.ts @@ -211,6 +211,8 @@ export type { Room } from './models/Room'; export type { RoshRisks } from './models/RoshRisks'; export type { RoshRisksEnvelope } from './models/RoshRisksEnvelope'; export type { SeedFileType } from './models/SeedFileType'; +export type { SeedFromExcelFileType } from './models/SeedFromExcelFileType'; +export type { SeedFromExcelRequest } from './models/SeedFromExcelRequest'; export type { SeedRequest } from './models/SeedRequest'; export type { SentenceTypeOption } from './models/SentenceTypeOption'; export type { ServiceName } from './models/ServiceName'; diff --git a/server/@types/shared/models/SeedFromExcelFileType.ts b/server/@types/shared/models/SeedFromExcelFileType.ts new file mode 100644 index 000000000..1693effe9 --- /dev/null +++ b/server/@types/shared/models/SeedFromExcelFileType.ts @@ -0,0 +1,5 @@ +/* generated using openapi-typescript-codegen -- do not edit */ +/* istanbul ignore file */ +/* tslint:disable */ +/* eslint-disable */ +export type SeedFromExcelFileType = 'approved_premises_room'; diff --git a/server/@types/shared/models/SeedFromExcelRequest.ts b/server/@types/shared/models/SeedFromExcelRequest.ts new file mode 100644 index 000000000..b79fb9678 --- /dev/null +++ b/server/@types/shared/models/SeedFromExcelRequest.ts @@ -0,0 +1,11 @@ +/* generated using openapi-typescript-codegen -- do not edit */ +/* istanbul ignore file */ +/* tslint:disable */ +/* eslint-disable */ +import type { SeedFromExcelFileType } from './SeedFromExcelFileType'; +export type SeedFromExcelRequest = { + seedType: SeedFromExcelFileType; + premisesId: string; + fileName: string; +}; +