From 85f3c8a8ac75bf10e48c47a8156cfa223ef56f03 Mon Sep 17 00:00:00 2001 From: Craig Broady <79261988+cb-cs@users.noreply.github.com> Date: Fri, 8 Nov 2024 09:59:53 +0000 Subject: [PATCH] patch(cb2-12692): added optional testStationCountry - implement types into cert-gen (#184) --- json-definitions/v1/test-station/index.json | 9 ++++++++- json-schemas/v1/test-station/index.json | 9 ++++++++- package.json | 2 +- types/v1/test-station/index.d.ts | 2 ++ 4 files changed, 19 insertions(+), 3 deletions(-) diff --git a/json-definitions/v1/test-station/index.json b/json-definitions/v1/test-station/index.json index b582ea3f..512785ca 100644 --- a/json-definitions/v1/test-station/index.json +++ b/json-definitions/v1/test-station/index.json @@ -46,6 +46,12 @@ }, "searchProperty": { "type": "string" + }, + "testStationCountry": { + "type": "string" + }, + "testStationStatus": { + "type": "string" } }, "required": [ @@ -61,7 +67,8 @@ "testStationLongitude", "testStationLatitude", "testStationType", - "testStationEmails" + "testStationEmails", + "testStationStatus" ], "additionalProperties": false } diff --git a/json-schemas/v1/test-station/index.json b/json-schemas/v1/test-station/index.json index 7c498f12..854f6589 100644 --- a/json-schemas/v1/test-station/index.json +++ b/json-schemas/v1/test-station/index.json @@ -46,6 +46,12 @@ }, "searchProperty": { "type": "string" + }, + "testStationCountry": { + "type": "string" + }, + "testStationStatus": { + "type": "string" } }, "required": [ @@ -61,7 +67,8 @@ "testStationLongitude", "testStationLatitude", "testStationType", - "testStationEmails" + "testStationEmails", + "testStationStatus" ], "additionalProperties": false } \ No newline at end of file diff --git a/package.json b/package.json index ffedbf20..03b6b527 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dvsa/cvs-type-definitions", - "version": "7.6.1", + "version": "7.6.2", "description": "type definitions for cvs vta and vtm applications", "main": "index.js", "repository": { diff --git a/types/v1/test-station/index.d.ts b/types/v1/test-station/index.d.ts index e1fc1804..74c2cb94 100644 --- a/types/v1/test-station/index.d.ts +++ b/types/v1/test-station/index.d.ts @@ -20,4 +20,6 @@ export interface TestStationSchema { testStationType: string; testStationEmails: string[]; searchProperty?: string; + testStationCountry?: string; + testStationStatus: string; }