From 883436d27881f335944d59b576cff85438833f6a Mon Sep 17 00:00:00 2001 From: Ivan Hil Date: Wed, 14 Jul 2021 16:57:58 +0300 Subject: [PATCH] FE - add rawResponse --- src/ext/process-response.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ext/process-response.ts b/src/ext/process-response.ts index 56c140f..32cc9a4 100755 --- a/src/ext/process-response.ts +++ b/src/ext/process-response.ts @@ -31,11 +31,13 @@ export class Response { images?: Images lowLvlResponse: LowLvlResponse + rawResponse: ProcessResponse constructor(original: ProcessResponse) { const lowLvlResponse = new LowLvlResponse(original) this.lowLvlResponse = lowLvlResponse + this.rawResponse = original this.status = lowLvlResponse.statusResult()?.Status const textResult = lowLvlResponse.textResult() @@ -111,6 +113,7 @@ export class LowLvlResponse implements ProcessResponse { ChipPage: RfidLocation log?: string passBackObject?: { [key: string]: any; }; + morePagesAvailable?: number; constructor(original: ProcessResponse) { this.ContainerList = original.ContainerList @@ -119,6 +122,7 @@ export class LowLvlResponse implements ProcessResponse { this.ChipPage = original.ChipPage this.log = original.log this.passBackObject = original.passBackObject + this.morePagesAvailable = original.morePagesAvailable } public statusResult(): StatusResult | undefined {