UNPKG

mindee

Version:

Mindee Client Library for Node.js

20 lines (19 loc) 501 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CommonResponse = void 0; class CommonResponse { /** * @param serverResponse JSON response from the server. */ constructor(serverResponse) { this.rawHttp = serverResponse; } /** * Raw HTTP request sent from server, as a JSON-like structure * @returns The HTTP request */ getRawHttp() { return this.rawHttp; } } exports.CommonResponse = CommonResponse;