From 13acf736831e1519f3c1299df922b6b1db3eb045 Mon Sep 17 00:00:00 2001 From: Supamiu Date: Sat, 1 Sep 2018 21:39:58 +0200 Subject: [PATCH] fix: update Character schema to follow api updates --- .../schema/character/character-response.ts | 36 +++++++++---------- 1 file changed, 16 insertions(+), 20 deletions(-) diff --git a/src/model/schema/character/character-response.ts b/src/model/schema/character/character-response.ts index 42d40fc..ea8d898 100644 --- a/src/model/schema/character/character-response.ts +++ b/src/model/schema/character/character-response.ts @@ -1,24 +1,20 @@ import { Character } from './character'; export interface CharacterResponse { - Payload: Character; - /** - * State | Number | Details - * --- | --- | --- - * STATE_ADDING | 1 | This state is returned when the character does not exist on the API - * and needs adding (the first ever request and sub-sequent requests until the character is added). - * The Payload should be empty if this state is provided. - * You are advised to inform your audience that a character add request has been performed. - * It should take 2 minutes or less to add your character. - * - * STATE_CACHED | 2 | This state is returned when the character exists in the system and you're being provided a cached response. - * The Payload will contain the character information which will include useful information such as LastUpdated - * which you can use to base on if a character update request is required - * STATE_NOT_FOUND | 3 | This state is returned when a character does not exist on The Lodestone. - * If a character is attempted to be added but the system does not find it then it will be registered as not found. - * The Payload will return empty. Characters in this state are checked every 24 hours, - * if the character continues to not be found after several tries then this entry will be deleted. - * You can also request a deletion of this entry via the /Delete endpoint. - */ - State: 1 | 2 | 3; + // TODO + Achievements: any; + + Character: Character; + + // TODO + FreeCompany: any; + + // TODO + FreeCompanyMembers: any; + + // TODO + Info: any; + + // TODO + PvPTeam: any; }